cs.CVSep 8, 2026

Medical AI Encodes a "Feeling of Error": Verifying Cancer Segmentation via Internal Concepts

Authors: Mengmeng MaYunxiang PengTang LiLu LinBinsheng ZhaoOguz AkinXi Peng

Organizations: University of Virginia, Charlottesville, VA, USA · University of Delaware, Newark, DE, USA · Memorial Sloan Kettering Cancer Center, New York City, NY, USA

Abstract

Cancer segmentation models can fail silently, generating plausible but incorrect masks that risk missed findings or unnecessary biopsies. A critical question arises: Do AI models "know" when they are wrong, and if so, can we use the signal to predict their own failures? Humans do have a "Feeling of Error" (FOE): a spontaneous sense of unease that flags a potential error during thinking. We investigate whether cancer segmentation models exhibit an analogous internal signal. Unlike output-level cues (e.g., prediction confidence or uncertainty), which offer no insight into why a failure occurs and suffer from a sensitivity-quality tradeoff where high detection sensitivity could degrade overall segmentation quality. We instead propose to capture the model's FOE from its inner workings. Using mechanistic interpretability tools, specifically Sparse Autoencoders, we decompose internal neural activations into a dictionary of human-interpretable concepts and show that failure cases exhibit a distinct latent signature: fewer active concepts with lower activation magnitudes compared to successful segmentation. By training a classifier on these concept activations, we achieve accurate failure detection along with explanations for the model's mistakes. Experiments on prostate, pancreatic, and brain cancer segmentation demonstrate that our approach outperforms output-based methods in failure detection while preserving segmentation quality.

Explore similar work

CardsList
  1. CB-SLICE: Concept-Based Interpretable Error Slice Discovery

    May 28, 2026Yael Konforti, Mateo Espinosa Zarlenga, Elaf Almahmoud +1Concept Bottleneck ModelsSlices