When to trust the answer: question-aligned semantic nearest neighbor entropy for safer surgical VQA
PURPOSE: Future human-in-the-loop surgical visual question answering (VQA) requires detecting unreliable answers before use. In this preclinical methodological study, we distinguish answer consistency from question validity: A model may generate mutually consistent answers that still fail to address the clinical question. METHODS: We propose question-aligned semantic nearest neighbor entropy (QA-SNNE), a black-box failure-detection score that adds question-answer alignment to semantic entropy through bilateral gating. QA-SNNE modulates pairwise similarities among sampled answers by their question relevance, using embedding, entailment, or cross-encoder alignment. To assess robustness under language variation, we construct an out-of-template rephrased version of a benchmark surgical VQA dataset, in which only the question wording is modified while images and ground-truth answers remain unchanged. RESULTS: We evaluate QA-SNNE on five VQA models across two benchmark surgical VQA datasets, considering both zero-shot and parameter-efficient fine-tuned settings, including out-of-template questions. QA-SNNE improves AUROC on EndoVis18-VQA for two of three zero-shot models in-template (e.g., +15% for Llama3.2 and +21% for Qwen2.5) and achieves up to +8% AUROC relative improvement among zero-shot models under out-of-template rephrasing, with mixed results on external validation. CONCLUSION: By making uncertainty estimation explicitly question-aware, QA-SNNE provides a practical and model-agnostic safeguard for preclinical surgical VQA evaluation. Linking semantic uncertainty to question relevance enables more reliable failure detection under variation in question phrasing.
Authors
- Cesare Hassan (ORCID: https://orcid.org/0000-0001-7167-1459)
- Chiara Lena (ORCID: https://orcid.org/0009-0003-0326-0342)
- Sophia Bano (ORCID: https://orcid.org/0000-0003-1329-4565)
- Danail Stoyanov (ORCID: https://orcid.org/0000-0002-0980-3227)
- Luca Carlini
- Mauro Orazio Drago
- Dennis Pierantozzi
Institutions
- University of Manchester (GB)
- The London College (GB)
- IRCCS Humanitas Research Hospital (IT)
- University College London (GB)
- Politecnico di Milano (IT)
Publication Details
- Journal
- International Journal of Computer Assisted Radiology and Surgery
- Published
- 2026-07-17
- DOI
- https://doi.org/10.1007/s11548-026-03750-9
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- UK Research and Innovation
- Royal Academy of Engineering
- European Commission
- Politecnico di Milano
- Engineering and Physical Sciences Research Council