← Latest papers
💬 NLP

Improved Evidence Extraction and Metrics for Document Inconsistency Detection with LLMs

This paper addresses the limited research on LLM-based document inconsistency detection by introducing a redact-and-retry framework with constrained filtering and new comprehensive metrics, which significantly improve evidence extraction performance and are validated using a newly released semi-synthetic dataset.

Original authors: Nelvin Tan, Yaowen Zhang, James Asikin Cheung, Fusheng Liu, Yu-Ching Shih, Dong Yang

Published 2026-04-09
📖 5 min read🧠 Deep dive

Original authors: Nelvin Tan, Yaowen Zhang, James Asikin Cheung, Fusheng Liu, Yu-Ching Shih, Dong Yang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a senior editor at a busy newsroom. Your job is to read long, complex reports and find the one sentence that contradicts another. Maybe the report says, "The CEO retired in 2020," and three pages later, it says, "The CEO is currently leading the team."

For a human, finding these "glitches" in a short email is easy. But in a 50-page document where the contradictions are miles apart? It's exhausting. We often miss them.

This paper is about teaching AI (specifically Large Language Models or LLMs) to be that super-editor. The researchers from American Express realized that while AI is great at saying "There is a mistake," it's often terrible at showing you exactly where the mistake is.

Here is the story of how they fixed it, using some creative analogies.

1. The Problem: The "Lazy Detective"

Imagine you hire a detective (the AI) to find a stolen cookie in a house.

  • The Old Way: You ask the detective, "Is there a cookie missing?" They say, "Yes!" But when you ask, "Where is the evidence?" they just point to the whole house and say, "It's somewhere in here."
  • The Result: You know something is wrong, but you have no idea where to look. The AI is technically "correct" about the problem existing, but useless for actually fixing it.

The paper argues that for AI to be truly helpful, it needs to do two things:

  1. Classify: Say "Yes, there is a contradiction."
  2. Extract: Point to the exact sentences that are fighting each other.

2. The New Ruler: Measuring "Good" Evidence

The researchers realized that previous ways of grading AI were like grading a student only on whether they raised their hand, not whether they gave the right answer.

They introduced a new set of "report cards" (metrics) to see how well the AI actually finds the specific sentences:

  • The "All or Nothing" Test: Did the AI find every single contradictory sentence? (If it missed one, it fails).
  • The "Precision" Test: Did the AI find the right sentences without accidentally accusing innocent sentences? (Don't flag the whole paragraph just because of one bad sentence).
  • The "Recall" Test: Did the AI find most of the bad sentences, even if it wasn't perfect?

3. The Solution: The "Redact-and-Retry" Game

The researchers invented a clever new strategy called Redact-and-Retry. Think of this like playing a game of "Hot and Cold" or a game of "Whac-A-Mole."

Here is how the Redact-and-Retry framework works:

  1. Round 1: You show the AI the whole document. It finds the first contradiction (e.g., "The CEO retired in 2020").
  2. Redact (The Eraser): The AI takes those specific sentences and erases them from the document. It's like crossing them out with a red marker.
  3. Retry (The Second Look): You show the rest of the document (with the first contradiction gone) to the AI again.
    • Why does this help? By removing the first distraction, the AI can focus its "brain power" on finding the next contradiction, which might have been hidden in the noise before.
  4. Repeat: The AI keeps finding contradictions, erasing them, and looking again until it says, "I can't find any more."

4. The "Filter": The Strict Manager

Sometimes, the AI gets too excited. In its eagerness to find errors, it might flag sentences that are actually fine.

To fix this, the researchers added a Filter. Imagine a strict manager who reviews the detective's list of suspects.

  • Unconstrained Filter: The manager can say, "Actually, there are no suspects at all," and cancel the whole investigation.
  • Constrained Filter (The Winner): The manager says, "You found some suspects. I'm going to cross out the ones that look innocent, but you must keep at least one suspect on the list."

The researchers found that this Constrained Filter was the sweet spot. It cleaned up the AI's mistakes without making it too scared to find real errors.

5. The New Dataset: "The Two-Cookie Test"

To test their new system, they needed a better test. The old test (ContraDoc) only had documents with one contradiction. It was like testing a detective who only ever had to find one cookie.

The researchers built a new dataset called ContraDocPaired. They took two documents with one contradiction each and glued them together. Now, the AI had to find two contradictions in one long document. It was like asking the detective to find two different stolen cookies in the same house. This proved that their "Redact-and-Retry" method was actually good at finding multiple problems, not just one.

The Big Takeaway

The paper shows that if you want an AI to find inconsistencies in long documents, you shouldn't just ask it once. Instead, you should:

  1. Ask it to find a problem.
  2. Cross it out.
  3. Ask it to find the next problem in the remaining text.
  4. Have a strict manager review the list to remove false alarms.

This approach makes the AI much more reliable, turning it from a "vague alarmist" into a "precise editor" that you can actually trust to do the heavy lifting.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →