Preprint / Working Paper2026

SecondOpinion: Anatomy-Aware Gated Reasoning for Efficient Medical Image Analysis

Siam Tahsin Bhuiyan, Rashedur Rahman, Sefatul Wasi, Riyadul Islam, Syoji Kobashi, Ashraful Islam, Saadia Binte Alam

arXiv (Cornell University)

Cornell University, ISBN: 2331-8422

  • Good Health and Well-being — Relevance: 91%

Abstract

Deep learning models for medical image analysis typically apply a fixed amount of computation to every input, regardless of case difficulty. Anatomy-guided dual-stream architectures have been shown to improve diagnostic performance, but they evaluate both streams unconditionally, even on cases a single stream could already resolve confidently. We propose SecondOpinion, a framework in which a fast primary stream processes every case, while a second, anatomy-guided stream is invoked only when GateKeeper, a gating mechanism trained explicitly as a binary correctness classifier, judges that the primary stream's prediction needs additional scrutiny, much as a clinician might seek a second opinion on a difficult case. When activated, the two streams are combined through a lightweight cross-attention fusion module. We evaluate SecondOpinion on a unified five-class chest X-ray dataset and a pelvic fracture dataset, the latter including a held-out, harder subset of fractures that are invisible on X-ray but confirmed via CT. SecondOpinion matches or exceeds prior state-of-the-art performance on both tasks, while activating its anatomy-guided stream on only 9.23% of chest X-ray cases, rising to 24.12% on visible fractures and 45.71% on invisible fractures, an activation rate that tracks task difficulty directly. These results suggest that supervising a gating signal toward correctness, rather than relying on unsupervised confidence, allows a model to allocate anatomical reasoning where it is actually needed.

Keywords

  • cross-attention fusion
  • chest X-ray classification
  • dual-stream architecture
  • gating mechanism
  • task difficulty
  • confidence calibration

CCDS Authors

Siam Tahsin Bhuiyan
Siam Tahsin Bhuiyan

Siam Tahsin Bhuiyan

  • Intern, CCDS
  • Bachelors

    Independent University, Bangladesh (IUB)

Published at

Scientific Reports

Md Rashedur Rahman, D. Eng.
Md. Rashedur Rahman, D. Eng.

Md Rashedur Rahman, D. Eng.

  • Co-Director, MIRA & NEST Wings
  • Assistant Professor

    Department of Computer Science and Engineering

    Independent University, Bangladesh (IUB)

Published at

CHI, HCII, Scientific Reports, Cognitive Computation, Neural Computing and Applications

Riyadul Islam
Riyadul Islam

Riyadul Islam

  • Intern, CCDS
  • Bachelors

    Daffodil International University, Bangladesh

Published at

Scientific Reports

Ashraful Islam, PhD
Ashraful Islam

Ashraful Islam, PhD

  • Center Director, CCDS
  • Director, HCI Wing

Published at

CHI, UIST, UbiComp, IJCNN, ICIP, HCII, ICDMW, BLP, Pattern Recognition, IEEE Internet of Things Journal, JMIR, JMIR Human Factors, JMIR Formative Research, IEEE Access, Smart Agricultural Technology, Diabetes Research and Clinical Practice, PLOS ONE

Saadia Binte Alam, PhD
Saadia Binte Alam, PhD

Saadia Binte Alam, PhD

  • Director, MIRA & WiSE Wings
  • Associate Professor

    Department of Computer Science and Engineering

    Independent University, Bangladesh (IUB)

Published at

HCII, Scientific Reports, Cognitive Computation, Neural Computing and Applications