When should an AI system say “I don’t know enough”?

Abstaining is easy to build and easy to get wrong. A useful hold depends on what the next action costs, and it names the fact that would unblock it.

AI Frontier India engineering6 min read
Contents
  1. 1.Abstaining is the easy part
  2. 2.It depends on the action
  3. 3.Weak evidence vs missing facts
  4. 4.A hold should name what is missing
  5. 5.Don't reason across the gap
  6. 6.Where the research is
  7. 7.The cost of saying no
  8. 8.A short checklist

Abstaining is the easy part

Machine learning has studied “I don't know” for a long time, usually under the name reject option or selective classification. Geifman and El-Yaniv showed in 2017 how to wrap a trained neural network so it declines some inputs, with the user choosing a target error rate. On ImageNet they could guarantee a 2% top-5 error with very high probability by letting the classifier refuse the cases it was least sure about.

That idea carries over to language models, and plenty of products now include some version of it. A confidence threshold, a prompt that says “answer only if you are sure,” a fallback message. These are easy to add, and on their own they don't help much in a workflow. A classifier that abstains hands the case back to a person, and the job is done. A workflow that stops has to say what happens next.

It depends on the action

The first thing we learned building an ENT documentation prototype is that “enough information” is not a property of the evidence alone. It depends on what you are about to do with it.

Suppose a doctor says “the drum looks a bit dull, hard to say.” That is plenty to show a suggestion on screen: maybe check for fluid behind the eardrum. It is not enough to write “middle ear effusion” into a record that the next doctor will read as an observation. Same words, two actions, two different bars.

Our code makes this explicit. The sufficiency check only gates one move, writing a finding into the record. Showing a suggestion is a lower bar and is decided elsewhere. The comment at the top of the module says that consequence sets the bar, rather than being one more factor inside a score.

ActionWho relies on itBar
Show a suggestion to the doctorThe doctor, right now, who can ignore itLow
Draft a line in the noteThe doctor, before signingMedium
Write a finding to the recordEvery later reader, as an observationHigh
One way to set the bar by consequence. Only the last row is gated by the sufficiency check today.

Weak evidence vs missing facts

The second lesson took us longer. There are two different reasons not to act, and they need different responses.

One is weak evidence. The doctor hedged, or the words contradict the proposed value. More information may help, but often the right move is to look again: repeat the examination, get a better view. The other is a missing fact. The words clearly support “perforated,” but the doctor never said which ear. The evidence is fine. It is just incomplete.

An early version of our prototype folded these together, because each claim had one piece of evidence and the support label was the whole answer. That hid exactly the case we cared about: a quote that supports the value and still leaves out something required. We now run a separate check after support, and it can hold a finding the support check was happy with.

A hold should name what is missing

A hold that only says “insufficient” is a slower error message. The doctor has to work out why, which is the work the system was supposed to save. So every hold in our pipeline carries a short, stable code for tests and a plain question for the person.

modules/governance/implementation/sufficiency.py
@dataclass(frozen=True)
class InformationNeed:
    """One missing fact, named so a clinician can supply it."""
    code: str   # stable, for reason codes and tests
    ask: str    # the useful next question, not a model prompt

For the missing side, the code is laterality_unspoken and the question asks whether the finding is for the left ear, the right ear or both. For a hedged quote, the question asks the doctor to repeat the examination until the view is reliable. For a partial match, it asks them to state the finding explicitly. The doctor answers in one sentence, and the finding moves on.

Don't reason across the gap

When a fact is missing, there is a strong temptation to let the model fill it in. A language model can usually infer the side from earlier in the conversation, and it will often be right. We decided against it. A guess that is right most of the time, written into a record, becomes an observation nobody made.

The code enforces this in a small way. If the cheap deterministic check has already found the evidence weak or contradictory, the pipeline skips the model's second opinion. Spending more tokens can't produce a fact the doctor never stated. The right move is to ask for it, which is cheaper and gives an answer you can trust.

Where the research is

Behind the prototype sits a longer research question: can you measure, in general, whether the information you have is enough for a given action? We are working on this under the name information sufficiency. One part of it already runs in the prototype as a research estimate. It ranks which question or examination would most reduce uncertainty about the task, using expected information gain over a small model of ENT conditions, and shows a sufficiency estimate per task.

The cost of saying no

Every hold costs the doctor a moment. If the system holds too often, people learn to click through, and a hold that gets clicked through protects nothing. This is the same problem as alert fatigue in clinical software, and it is the main way a careful design like this can fail in practice.

We haven't measured our hold rate on real consultations, because the prototype hasn't been used in a clinic. That number matters more than any of the design choices above. Until we have it, we treat every rule that can cause a hold as a cost we are choosing to pay, and we try to keep the list short.

A short checklist

  • Write down which actions need which bar. Don't use one threshold for everything.
  • Separate “the evidence is weak” from “a required fact is missing.”
  • Make every hold carry a question a person can answer in one sentence.
  • Don't let a model guess a missing fact into a record. Ask for it.
  • Count your holds. Too many will be ignored, and then they are worse than none.

References

  1. Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. arXiv:1705.08500, 2017. arxiv.org/abs/1705.08500
  2. Anthropic. Building effective agents. Engineering blog, 19 December 2024. www.anthropic.com/engineering/building-effective-agents

About the author

Written by the team building ENT Clinical OS. Code excerpts come from that repository, which is private for now. Where we have not measured something, the article says so.

ShareLinkedInXEmail