Brifing

The Importance of 'I Don't Know' Responses in RAG Systems

Why it's critical for AI systems to correctly say 'I cannot answer' to questions they don't know

Towards Data Science3 min

1The Challenge of RAG Systems

RAG (Retrieval-Augmented Generation) systems must learn to say 'I don't know' rather than providing incorrect answers to unfamiliar questions. Research shows AI models tend to respond to questions they don't actually know, which can lead to critical errors in enterprise environments. In the case of the World Bank's 2025 Commodity Markets Outlook report, the system needs to correctly respond 'this information is not in the document' when asked about AI's electricity consumption.

2User Experience Problem

When systems say 'I don't know', users can't determine if the response is trustworthy. They can't tell whether the system searched the entire document or just performed a superficial search. This uncertainty undermines user confidence. For example, an enterprise chatbot needs to explain what processes led to its 'no answer' response about electricity consumption.

3Four Evidence Types

The article argues RAG systems need to provide four types of evidence to make 'I don't know' responses reliable: complete document coverage analysis, scanning of text in images, verification of table data, and validation of cross-references. In the World Bank report example, the system should demonstrate it scanned all 63 pages, checked 426 image registrations, and validated 76 cross-references.

4Importance of Parsing

Correct document parsing is crucial for reliable 'I don't know' responses. The parse_pdf function creates a relational data model recording each text line's page number and position. While false positives (extracting noise) are recoverable, false negatives (missing actual tokens) create silent errors. For instance, a table cell containing '460 TWh' might be missed if nearby cells don't contain 'AI'.

5Scanning Visual Content

Text in charts is often embedded within images and may be missed by standard parsing. OCR (Optical Character Recognition) technology extracts this text and adds it to the line_df table. Scanning all 426 image registrations in the World Bank report increases confidence in 'I don't know' responses. The OCR process reveals missing text in images for comprehensive coverage.

6Verifying Table Data

Table data may not be detected through traditional text searches. The object_registry flags all tables, enabling column-aware searches during retrieval. For example, a table cell potentially answering 'AI electricity consumption' could be found even without nearby 'AI' text. This method prevents missing table data.

7Validating Cross-References

The cross_ref_df table lists all 'see annex B', 'figure 3.D' type cross-references. Any reference whose target isn't in object_registry indicates a parsing gap. Verifying all 76 cross-references in the World Bank report strengthens confidence in 'I don't know' responses. Missing references point to potential hiding spots for answers.

8Keyword Completeness

Retrieval effectiveness depends on comprehensive keyword coverage. While domain experts know key terms, they might miss variations like 'artificial intelligence' instead of 'AI'. The article proposes an algorithmic safety net to ensure keyword set completeness. This approach minimizes retrieval gaps from term variations.

9Role of Structured Output

Article 8 explains how structured outputs verify 'yes' answers by providing evidence like quotes or page numbers. The same logic applies to 'no' answers. In the World Bank report example, supporting 'I don't know' with four evidence types makes the response trustworthy to users.

10Expert Knowledge in Enterprise RAG

In enterprise RAG, domain experts nearly always know their field's keywords, covering most questions. However, an algorithmic safety net handles unknown variations or rare usages. The article details how this dual approach improves retrieval success, like simultaneously searching for 'AI' and 'artificial intelligence'.

11Establishing User Trust

Systems must present 'I don't know' as factual rather than failure by transparently showing the search process. For the World Bank report, declaring complete scanning of 63 pages plus checking all images and tables builds user confidence. This transparency reinforces system reliability.

12Future Applications

The article emphasizes that methods for reliable 'I don't know' responses aren't limited to the World Bank report. This approach applies to all enterprise document intelligence applications, especially in finance, healthcare and energy where wrong answers carry high costs. The four-evidence method could become a standard for critical applications requiring high reliability.

Original article: Towards Data Science — RAG Sistemlerinde 'Bilmiyorum' Yanıtının Önemi