← Latest papers
💬 NLP

Compositional Reasoning Depth Predicts Clinical AI Failure: Empirical Evidence Consistent with Transformer Compositionality Limits in Electronic Health Record Question Answering

This paper demonstrates that the number of inferential steps (hop count) required to answer clinical questions from electronic health records is a robust, theory-motivated predictor of large language model failure, showing a consistent monotonic decline in accuracy across multiple architectures as reasoning depth increases, a trend that persists even with extended thinking and is not attributable to context truncation.

Original authors: Sanjay Basu

Published 2026-06-16
📖 5 min read🧠 Deep dive

Original authors: Sanjay Basu

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 hiring a very smart, well-read intern to help you read a patient's medical file (a stack of papers called an Electronic Health Record, or EHR) and answer questions about it.

This paper is a report card on how that intern performs. The researchers found a surprising pattern: The more steps the intern has to take to find the answer, the more likely they are to fail.

Here is the breakdown of their findings using simple analogies:

1. The "Hop" Count: How Many Steps?

The researchers created a way to measure how hard a question is by counting the "hops" (steps) needed to answer it:

  • Hop 1 (The Easy Fetch): The question asks for one specific fact, like "What is the patient's blood pressure?" The intern just looks at one line and reads it.
  • Hop 2 (The Simple Comparison): The question asks, "Was the blood pressure high when they arrived?" The intern has to find the number and compare it to a standard.
  • Hop 3 (The Detective Work): The question asks, "Based on their age and family history, should they get a mammogram?" The intern has to find the age, find the family history, look up the medical rules, and combine them.
  • Hop 4 (The Master Chef): The question asks to summarize all specialist visits and flag any unresolved issues. The intern has to read many different sections, remember details from weeks ago, and synthesize a whole new story.

2. The Main Discovery: The "Step-Ladder" of Failure

The paper tested three different "super-interns" (AI models from companies like Anthropic and OpenAI). They found a consistent rule: As the number of steps increases, the accuracy drops like a stone.

  • Hop 1: The interns got about 30–38% of the answers right. (Not perfect, but decent).
  • Hop 4: The interns dropped to about 15–23% accuracy.

It's like a student who can easily solve a single math problem but completely falls apart when asked to solve a word problem that requires five different math concepts chained together. The more complex the chain, the more the AI gets lost.

3. The "Thinking Time" Experiment

The researchers wondered: What if we tell the intern to "think out loud" or give them more time to brainstorm before answering? This is called "Chain of Thought" or "Extended Thinking."

  • The Result: It didn't really help. Even when the AI was forced to write down its reasoning steps or given a massive budget of "thinking tokens" (mental energy), the accuracy still dropped as the questions got harder.
  • The Metaphor: Imagine giving a confused student a whiteboard to write down their thoughts. If the problem is too complex for their brain structure, writing it down doesn't magically make the solution appear. They still get stuck.

4. Why Does This Happen? (The "Brain" Limit)

The paper suggests this isn't because the AI is lazy or didn't read the file. It's a fundamental limit of how these AI "brains" (Transformers) are built.

  • The Analogy: Think of the AI's attention span like a flashlight. It can shine very brightly on one spot (Hop 1). But if it has to connect four different spots in a dark room to see a pattern (Hop 4), the flashlight isn't designed to hold all those beams in focus at once. The "light" gets too scattered to connect the dots.

5. The "Safety" Twist

Interestingly, when the AI got stuck on hard questions, it changed its behavior:

  • Before: It would sometimes guess wildly and make up facts (Hallucination).
  • After (with "thinking"): It stopped guessing. Instead, it often just said, "I don't know" or refused to answer (Omission).
  • Why this matters: In a hospital, it is safer for a system to say "I don't know" (so a human doctor can step in) than to confidently make up a fake diagnosis. The "thinking" mode made the AI more honest about its confusion, even if it didn't make it smarter.

6. What Didn't Cause the Failure?

The researchers checked to make sure the AI wasn't failing because the medical file was too long or cut off.

  • The Test: They checked if the answers were actually hidden in the parts of the file the AI could see. They found that the answers were there, even for the hardest questions.
  • The Conclusion: The problem wasn't missing information; it was the AI's inability to connect the information it had.

Summary

This paper tells us that current AI tools are great at finding single facts but struggle significantly when they have to connect multiple dots to solve a complex medical puzzle. Giving them more time or asking them to "think harder" doesn't fix this structural weakness.

The Takeaway: If you are using AI to read medical records, you need to know that it is much more likely to make mistakes on complex, multi-step questions than on simple ones. You can't just look at an "average" score; you have to look at how hard the questions were.

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 →