Grafy News
Try Grafy free

Study finds AI models struggle with partially covered questions

A new pilot evaluation shows AI models often add unsupported claims when reference material only partially answers a user's question. Learn more.

Illustration for the news story: Study finds AI models struggle with partially covered questionsSource: Grafy Research Lab

Large language models often encounter situations where the provided reference material only partially answers a user's query. A new pilot evaluation reveals that when models face these information gaps, they frequently attempt to fill them using their own internal knowledge, often adding unsupported claims to the response.

How do models handle partial information?

In many Retrieval-Augmented Generation (RAG) workflows, an assistant is given a specific set of documents to answer a question. However, a user might ask a multi-part question where the provided documents cover some parts but not others. According to the research by Vahid Mohammadi, existing evaluations typically treat such cases as a binary "insufficient context" problem, scoring the entire answer as a single unit.

This study introduces a more granular approach by scoring each part of a three-part question separately. The researcher tested two models, claude-haiku-4-5 and llama3.1:8b, across 30 different cases involving scenarios like UK immigration, international education, and software tooling. The results showed that without explicit instructions to remain strictly within the provided text, both models tended to fill gaps with their own knowledge. The unsupported-claim rates were recorded at 0.71 for claude-haiku-4-5 and 0.90 for llama3.1:8b.

Can instructions prevent unsupported claims?

Adding a specific constraint to the system prompt can significantly change model behavior. When the models were explicitly instructed to "Answer only from the reference material above" and to state if the material did not cover a specific part, the unsupported-claim rates dropped drastically. For claude-haiku-4-5, the rate fell to 0.00, while llama3.1:8b saw a rate of 0.06.

Despite this improvement, a more subtle issue remains: "strengthening" the material. The study notes that models sometimes take a qualified statement from the source and turn it into a definitive one. For example, if a document states that "many job sites prohibit bots," a model might incorrectly report that "no job sites allow bots." This type of error is harder to detect because the model is not inventing a completely new fact, but rather overstating the certainty of the existing information.

Why is part-level scoring necessary?

Traditional RAG evaluations often use a single score for an entire response. The researcher argues that this is insufficient for complex queries. If an assistant correctly answers two parts of a question from the source but hallucinates the third, a single-score system might label the entire response as a failure.

By using a per-part protocol, the evaluation can distinguish between different types of failures, such as:

  • correct_answer: The part was covered and answered using only the knowledge provided.
  • answer_plus_claim: The part was covered, but the model added an unsupported claim.
  • correct_withhold: The part was not covered, and the model correctly declined to answer.
  • unsupported_claim: The part was not covered, but the model attempted an answer.
  • unnecessary_withhold: The part was covered, but the model failed to answer it.

This level of detail allows developers to see exactly where a model's reasoning or faithfulness breaks down.

Can AI judges accurately evaluate these errors?

Evaluating whether a model has added an unsupported claim is a difficult task, even for other AI models acting as judges. The study conducted three rounds of blind hand labeling to compare human judgment against AI judgment. The findings indicated that the "added-claim" verdict is the most difficult to apply consistently for both humans and AI judges.

Furthermore, the research highlights a dependency on the choice of the judge model. The study found that a difference between two models that appeared clear under one judge could disappear entirely if a different judge model was used. Additionally, the researcher found that standard faithfulness metrics, such as RAGAS, may be unsuitable for this specific task because they tend to penalize models that correctly withhold information when the context is missing.

How can researchers apply these findings?

For developers building RAG systems, the study suggests that prompt engineering is a primary defense against hallucination in partially covered contexts. Explicitly telling a model to abstain from answering parts not found in the text is highly effective. However, developers must also remain vigilant against "strengthening" errors, where the model's tone becomes more certain than the source material allows.

If you are conducting research on document analysis or testing how different models handle complex PDFs, you can explore these nuances using Reader. By uploading specific papers and testing different prompting strategies—such as demanding strict adherence to the text—you can observe firsthand how different models manage the boundary between provided evidence and internal knowledge.

Frequently asked questions

What happens when a model is not told to stay within the text?

When models are not explicitly instructed to use only the provided reference material, they frequently attempt to fill information gaps using their own internal training data. In the tested scenarios, this led to high rates of unsupported claims, with one model attempting to add unverified information in 90% of the uncovered question parts.

Does adding an instruction to abstain work effectively?

Yes, adding a specific instruction to answer only from the provided material and to state when information is missing is highly effective. The study showed that this instruction reduced the rate of unsupported claims to nearly zero for the tested models, demonstrating that models can be successfully constrained to prevent them from hallucinating answers.

Is it easy for an AI judge to detect unsupported claims?

No, detecting added claims is a difficult task for AI judges. The research found that this specific verdict is the hardest to apply consistently, even for humans. Additionally, the results of an evaluation can change depending on which model is used as the judge, making the choice of evaluator a critical factor in research accuracy.


Source: Grafy Research Lab — When the Knowledge Runs Out: A Part-Level Pilot Evaluation of How Language Models Handle Partially Covered Questions