Issue 18 · Nov 30 – Dec 6, 2026Agent Age home · Agent Age News magazine · Other editions · Search · Method · HU / ENG

Code

“Every line a machine writes still waits for someone willing to answer for it.”

Essay

When can we rely on an AI's answer?

A decision can be built on an AI answer only if it can be traced, claim by claim, which source supports what and what remains open. For the team building the system, this is a measurement and design task: errors of retrieval, of interpretation and of uncertainty can be examined separately.

Edited by Zoltán Varga · 2026-11-21 · 11 min read

How this was made: this essay was written by the author's own research and analysis system from the cited sources; Zoltán Varga edited the topic, structure and final text. The cited works are the source of its factual claims.

A corporate assistant summarises in a few seconds when a customer is entitled to a refund. The answer is polished, cites three documents, and ends with a firm conclusion. The employee opens the first source and does find the word 'refund' in it, yet several questions remain open. Does the rule apply to that product? Is the document still in force? Does it imply an unconditional refund, or does the text merely describe an exceptional case? I consider this imagined scene a good starting point because it is the employee's questions that decide whether the answer becomes a basis for a decision or remains merely persuasive text. Handling evidence is a far more complex task than placing a citation at the end of a paragraph.

The quality of AI-supported knowledge work is therefore decided claim by claim. A sentence can be correct while the accompanying source is weak, and a source can be credible while the inference drawn from it is too strong. A usable answer makes both relationships visible. For the team building the system, this is a design decision, because it depends on them whether the data behind the answer, which reveals which text segment supports which sentence, is retained.

A citation makes two separate promises

Tianyu Gao and colleagues' 2023 study, Enabling Large Language Models to Generate Text with Citations, created ALCE, an evaluation framework for assessing language-model answers that contain citations. The work treated text fluency, factual correctness and citation quality separately. The results for the systems examined showed that readable text and verifiable support are distinct dimensions of performance. The scores of the models of that time have since lost their significance, but the measurement distinction remains one of the study's useful lessons 1.

Citation accuracy asks whether the indicated source supports the associated claim. Coverage examines whether substantive claims receive the necessary support. An excellent source at the end of a long paragraph may justify the first sentence, while the following three may be the assistant's own conclusions. Therefore, many footnotes alone provide little information about the quality of the answer 1.

For the editor, a simple working rule follows from this: they take apart a sentence that packs several claims together, and show which part is supported by data, which by a rule, and which by the author's argument. A clearer sentence structure also makes for better verifiability. For the developer, the same thing is a question of data structure. If the system stores citations per paragraph, the interface cannot show a finer link than that, and the evaluation cannot hold the system to account sentence by sentence either. I consider tracking accuracy and coverage as separate metrics to be the first step, because a single aggregated score hides which promise has been broken.

Search can find the topic while missing the answer

Between document retrieval and answer generation lies a distinct decision task. In the refund example, a general customer service guide may be textually very close to the question, while the decisive condition may appear in the contract's appendix. If the assistant sees only the former, the detailed answer may become misleading precisely due to the missing information.

Retrieval-augmented generation, or RAG for short, means that the model searches for documents before writing the answer and relies on them. Akari Asai and colleagues' work, Self-RAG, presented at ICLR 2024, introduced an approach that links retrieval and the evaluation of the generated text through learned special tokens. The system retrieves as needed, then assesses individual properties of the retrieved text and of the answer. On its own tasks, the study showed improvement over the systems of the time that it was compared against. The significance of this line of research is that the use of the source itself becomes an operation to be evaluated 2.

The weight of the search step is demonstrated on a large sample by Mahe Chen and Nick Koudas's 2026 preprint, What Drives AI Citations? Content, Retrieval and Model Knowledge in Generative Engine Optimization (GEO). The authors collected the answers of generative search engines to commercial queries in two different markets over ninety days, a total of 158,099 answers with 468,037 citations. When they re-ran the queries through the engines' APIs, they found that every page cited by ChatGPT came from the results of its own search. Which pages this search brings up explained a far larger share of the variation between pages than the pages' own attributes: 32 per cent versus 2.8 per cent. The model rewrites its search queries for every answer, and its own knowledge also shapes the outcome, since it writes the brands it knows into its searches and names a brand even with no page to support it 3. I interpret the result to mean that the quality of citations becomes intelligible once the search step is logged, while a name that appears in the answer without a source deserves a separate marker.

In a practical knowledge base, retrieval errors and interpretation errors accordingly need to be examined separately. If the required document was left out, the fix belongs in the retriever or the document store. If the document was included but the system ignored the exception, the summarisation and verification steps need to be changed. The same wrong final sentence can hide two quite different development tasks, so the bug report includes, besides the final answer, the query the model formulated and the list of retrieved results.

Error remains despite retrieval

Introducing retrieval can make errors rarer, but the measurements do not show that they disappear. Varun Magesh and colleagues' 2025 study, Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools, is, according to the authors, the first pre-registered empirical evaluation of AI tools supporting legal research. Some vendors advertised that a retrieval-based solution eliminates hallucination, that is, the output of made-up, false information. The study found these claims overstated. Hallucination was rarer than with a general-purpose chat system, yet the LexisNexis and Thomson Reuters tools examined each hallucinated in between 17 and 33 per cent of cases, and the systems also differed considerably from one another in responsiveness and accuracy 4. For me, this means that the team must measure on its own questions what the vendor promises, because the reliability of a closed system can only be judged from the outside in this way.

The lowest level of verification is the existence of the cited work. Diletta Abbonato's 2026 preprint, CheckIfExist: Detecting Citation Hallucinations in the Era of AI-Generated Content, starts from the observation that AI-fabricated citations have appeared in accepted papers at prestigious machine learning conferences. The open-source web tool it presents compares a citation against the CrossRef, Semantic Scholar and OpenAlex databases, gives a score for the reliability of the match, and accepts either a single item or a full BibTeX file 5. Such a layer is independent of the generating model and can be cheaply added to the publication process. Its scope is, however, narrow: it answers only whether the source exists, and leaves open whether the source supports the sentence attached to it. Of the two promises of a citation, this check fulfils neither, providing only their precondition.

Missing evidence is a result in its own right

James Thorne and colleagues' 2018 dataset, FEVER, used three labels for the claims examined. The available Wikipedia texts could support the claim, refute it, or be insufficient to decide it. For the first two categories, the annotators also marked the evidence sentences required. The task thus demanded finding the evidence in addition to the verdict 6.

This threefold division is particularly useful in a corporate environment. Suppose a product description promises multilingual customer support but gives no list. From this, the availability of Hungarian-language support remains an open question, because neither its availability nor its absence can be inferred from the missing list. The assistant helps when it precisely names what further document or answer would resolve the uncertainty.

Suspending the answer to the question can thus be a meaningful stage in the workflow. The system can take the user to the right contract version, put together a clarifying question, or separate the certain parts from the conditional ones. In the development team's language, this means that insufficient information is a fully fledged output state of the system, with its own field and its own presentation in the interface. Leading the user onward in this way is also part of the measure of usefulness. If the evaluation set scores only the questions answered, a system that produces a complete answer at all costs gains an advantage over a system that is more accurately uncertain, and the team tunes in this direction without intending to.

Uncertainty can also be measured at the level of meaning

Sebastian Farquhar and colleagues' 2024 Nature study, Detecting hallucinations in large language models using semantic entropy, used the variability in the meaning of answers to detect some erroneous generations. The method examines how much the content expressed differs across multiple answers, and treats formulations with the same meaning together. High semantic entropy can warn that the model is producing an arbitrary, unfounded answer 7.

The investigation focused on a specific subset of hallucinations: variable and erroneous confabulations. The limitation of the method is illustrated by consistently repeated errors. If the system returns the same false statement in every trial, low variability coincides with a factual error. The authors also distinguish this situation from the problem they address 7.

From an operational perspective, the cost of the method also matters. Jannik Kossen and colleagues' 2024 preprint, Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMs, starts from the premise that computing semantic entropy carries a five- to tenfold computational cost, which hinders practical adoption. The authors therefore train a simple estimator that approximates semantic entropy from the hidden states of a single generation, so that multiple sampling is no longer needed. According to their results, the estimator retains good performance in hallucination detection and generalises better to data that differ from the training data than earlier methods that predict accuracy directly 8. The solution presupposes that the team has access to the model's internal states, which is given with a self-hosted model and typically missing with an external service.

This leads to a verification solution that uses multiple signals. The variability of the answer can help select the sentences to be checked, while source verification can examine their content. The two answer different questions. A user interface will be understandable only if, alongside the indication of uncertainty, it also communicates what the uncertainty concerns.

A date can rewrite the entire conclusion

Evidence is tied to time and to scope of application. In the refund case, even an accurate summary of last year's policy may give the wrong answer for this year's contract. Similarly, a national regulation may differ from the rules of another country, and a company's general terms may be modified by the customer's individual agreement. These differences belong to the interpretation of the document's content.

In development work, the same error can occur daily. Imagine a coding assistant that suggests a function call by citing the documentation of an earlier major version of a library. The source exists, the cited paragraph really says this, yet the suggestion causes an error with the version used in the project. The citation was correct; the scope of application was wrong.

The cited excerpt is therefore accompanied by the version of the document, its period of validity, and the reason for applying it. The user can thus also see why this particular rule applies to them. A conflict between differing sources can meanwhile remain a visible conflict until a decision by someone competent to make it, or new evidence, resolves it. In his book Seeing What Others Don't, Gary Klein argues that noticing a contradiction is itself an insight, because it changes how we understand the situation even before the explanation comes together 9. A system that hides the clash between two sources for the sake of a smoother answer takes exactly this information away from the user.

The number of sources in this situation can easily be misleading. Five pages copying each other may still represent the further spread of a single original claim. The editor should therefore step back to the beginning of the citation chain and examine separately whether there is truly independent confirmation. A clear source relationship helps the decision more than a long list of links without explanation.

Verifiability is decided in the workflow

When introducing such an assistant, I would build a test set from difficult questions drawn from real usage. It includes changed rules, mutually contradictory documents and missing data, as well as questions that the knowledge base actually answers; each organisation adjusts the composition to its own risks. For the development team, the test set plays the role of regression tests: it runs again after every model swap, indexing change and prompt change, and shows which dimension has deteriorated.

The reviewer can record separately in every case whether the assistant found the decisive document, interpreted it correctly, drew a conclusion of appropriate strength, and indicated missing evidence. The time the user spends correcting also matters. An answer that is impressive at first glance can easily result in a more expensive workflow if the expert has to search for the source of every sentence again.

Correctability is likewise an observable property. When a colleague points out an exception, the assistant must re-evaluate the entire conclusion and make clear what has changed. Mere polite agreement yields little organisational learning. A good correction preserves the link between evidence and claim, so that the next colleague can also understand how the modified answer was reached.

A traceable evidence trail is a design requirement

An AI answer becomes a well-founded basis for a decision when the reader can follow the trail from the claim to the applicable source and check the evidential strength of that source. Verifiable grounding is thus added to the text's persuasive power. This quality depends at once on the model, the document store, the evaluation method, and the kinds of answers the organisation rewards.

For the team building the system, I conclude that the evidence trail is part of the specification, just like response time or access control. A system that stores the link between claim and source as data, measures retrieval errors and interpretation errors separately, and states missing evidence explicitly remains correctable even when it errs. Reliability stems from this correctability, and the confident tone of the answer adds nothing to it.

Recommended reading

Sources

  1. [1] Gao, T., Yen, H., Yu, J. and Chen, D (2023): Enabling Large Language Models to Generate Text with Citations. EMNLP, 6465–6488. DOI 10.18653/v1/2023.emnlp-main.398. https://aclanthology.org/2023.emnlp-main.398/.
  2. [2] Asai, A., Wu, Z., Wang, Y., Sil, A. and Hajishirzi, H (2024): Self-RAG. Learning to Retrieve, Generate, and Critique through Self-Reflection. ICLR. https://proceedings.iclr.cc/paper_files/paper/2024/hash/25f7be9694d7b32d5cc670927b8091e1-Abstract-Conference.html.
  3. [3] Mahe Chen, Nick Koudas (2026): What Drives AI Citations? Content, Retrieval and Model Knowledge in Generative Engine Optimization (GEO). arXiv (Cornell University). preprint, not yet peer-reviewed
  4. [4] Varun Magesh, Faiz Surani, Matthew Dahl, Mirac Süzgün et al. (2025): Hallucination‐Free? Assessing the Reliability of Leading AI Legal Research Tools. Journal of Empirical Legal Studies.
  5. [5] Diletta Abbonato (2026): CheckIfExist: Detecting Citation Hallucinations in the Era of AI-Generated Content. arXiv (Cornell University). preprint, not yet peer-reviewed
  6. [6] Thorne, J., Vlachos, A., Christodoulopoulos, C. and Mittal, A (2018): FEVER. A Large-scale Dataset for Fact Extraction and VERification. NAACL-HLT, 809–819. DOI 10.18653/v1/N18-1074. https://aclanthology.org/N18-1074/.
  7. [7] Farquhar, S., Kossen, J., Kuhn, L. and Gal, Y (2024): Detecting hallucinations in large language models using semantic entropy. Nature, 630, 625–630. DOI 10.1038/s41586-024-07421-0. https://www.nature.com/articles/s41586-024-07421-0.
  8. [8] Jannik Kossen, Jiatong Han, Muhammed Razzak, Lisa Schut et al. (2024): Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMs. arXiv (Cornell University). preprint, not yet peer-reviewed
  9. [9] Gary Klein (2013): Seeing What Others Don't: The Remarkable Ways We Gain Insights. PublicAffairs. book

Essays and reviews →

Weekly email

One email a week with the main stories from the Agent Age editions. You confirm by email and can unsubscribe in one click.

Almost done: we sent you an email. Open it and press the confirm link. If it does not arrive within a few minutes, check your spam folder.

↑