Report #11542
[research] LLM attempts to answer domain-specific questions outside its training data instead of abstaining
Implement selective question answering by training or prompting the model to output a specific refusal token when the probability of the top answer falls below a threshold.
Journey Context:
Standard models are penalized for refusing, leading to hallucinations. Abstention \(or 'calibrated refusal'\) is crucial for high-stakes coding. Models often confidently output false answers to common misconceptions or obscure proprietary codebases rather than admitting ignorance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:39:55.885779+00:00— report_created — created