SCCL-DT: Semantic-Conflict-Aware Contrastive Learning with Dual-Rule Teacher Distillation for Zero-Shot Chest X-Ray Diagnosis
Authors: Ting Liu, Haoran Lai, HaobinChen, Ming Liu, S Kevin Zhou
Organizations: School of Biomedical Engineering, Division of Life Sciences and Medicine, University of Science and Technology of China, Hefei, Anhui, 230026, P.R. China · Suzhou Institute for Advanced Research, University of Science and Technology of China, Suzhou, Jiangsu, 215123, P.R. China
Contrastive vision-language pre-training supports zero-shot chest X-ray diagnosis, but standard objectives treat every off-diagonal image-report pair in a batch as a negative. In radiology, recurring findings across patients mean that instance mismatch need not imply semantic incompatibility, creating false-negative supervision that we term a semantic conflict. A training-trace audit shows that pair-observations selected by the online mask used during training are enriched for report-derived finding agreement, although this proxy analysis does not establish clinical equivalence. Fixed thresholds can become miscalibrated as similarity distributions evolve, while soft reweighting leaves residual repulsive gradients. We therefore propose Semantic-Conflict-Aware Contrastive Learning (SCCL), which tracks modality-specific similarity distributions with exponential-moving-average (EMA) statistics, derives adaptive thresholds, and hard-masks flagged candidates before softmax normalization. Inclusive (OR) and consensus (AND) rules define two SCCL teachers, whose bidirectional cross-modal rankings are consolidated through standard distillation into a single deployable student, SCCL-DT. Across five public chest X-ray benchmarks, SCCL-DT achieves a mean zero-shot AUC of 0.850, compared with 0.837 for the strongest evaluated baseline in our comparison. Code will be made publicly available soon.
Figures & tables
Figure 1: Motivation and label-based analysis of candidate semantic conflicts. (a) Online inclusive masking excludes an off-diagonal candidate from the negative set when either its image–image or report–report similarity exceeds the adaptive threshold. (b) Anchor-level probability and expected count of cross-patient matches with identical present-label sets. (c) Exact present-label-set agreement for flagged versus all eligible pair-observations, overall and across training windows.
Figure 2: Overview of the two-stage SCCL-DT framework. Stage I trains inclusive and consensus teachers by hard-masking similarity-flagged off-diagonal candidates selected with modality-specific EMA thresholds. Stage II distills their image-to-text (i2t) and text-to-image (t2i) rankings into a single student using row- and column-wise Kullback–Leibler (KL) supervision. Only the student is retained for inference.
Method
Open-I
PadChest
ChestX-ray14
CheXpert
ChestXDet10
Mean
MedCLIP [ 30 ]
0.551
0.508
0.564
0.744
0.571
0.588
BiomedCLIP [ 34 ]
0.577
0.513
0.639
0.677
0.630
0.607
GLoRIA [ 12 ]
0.589
0.565
0.610
0.750
0.645
0.632
BioViL [ 2 ]
0.702
0.655
0.729
0.789
0.708
0.717
CheXzero [ 27 ]
0.726
0.648
0.712
0.889
0.640
0.723
MedKLIP [ 31 ]
0.759
0.629
0.726
0.879
0.713
0.741
Table 1: Zero-shot classification performance (AUC) on five chest X-ray benchmarks. Mean is the unweighted dataset average; higher is better. Bold and underline denote the best and second-best results in each column, respectively.
Figure 3: Qualitative zero-shot grounding on six ChestXDet10 cases. Rows show the unmasked Base model and SCCL-DT; green boxes are ground-truth lesions, white stars are Pointing Game maxima, and warmer colors indicate larger cross-attention weights. Each map is normalized independently.
Method
Mean
ATE
CALC
CONS
EFF
EMPH
FIB
FX
MASS
NOD
PTX
GLoRIA [ 12 ]
0.368
0.479
0.053
0.737
0.528
0.667
0.366
0.013
0.533
0.156
0.143
MedKLIP [ 31 ]
0.481
0.625
0.132
0.837
0.675
0.734
0.305
0.224
0.733
0.312
0.229
KAD [ 35 ]
0.391
0.646
0.132
0.699
0.618
0.644
0.244
0.199
0.267
0.316
0.143
CARZero [ 16 ]
0.543
0.604
0.184
0.824
0.782
0.846
0.561
0.184
0.700
0.286
0.457
RadZero (224 px) [ 24 ]
0.537
0.604
0.211
0.806
0.813
0.795
0.451
0.197
0.767
0.325
0.400
SCCL-DT (Ours)
0.583
0.667
0.184
0.855
0.802
0.821
0.524
0.263
0.767
0.351
0.600
Table 2: Zero-shot grounding on ChestXDet10, measured by per-finding and unweighted mean Pointing Game (PG) accuracy. ATE, CALC, CONS, EFF, EMPH, FIB, FX, MASS, NOD, and PTX denote Atelectasis, Calcification, Consolidation, Effusion, Emphysema, Fibrosis, Fracture, Mass, Nodule, and Pneumothorax, respectively. Bold and underline denote the best and second-best results in each column.
Components
PadChest
Cross-data
#
OR
AND
KD
AUC ↑
MCC ↑
F1 ↑
ACC ↑
mAUC ↑
(a)
0.810
0.156
0.143
0.991
0.836
(b)
✓
0.826
0.179
0.165
0.991
0.840
(c)
✓
0.825
0.173
0.159
0.991
0.846
(d)
✓
✓
0.823
0.178
0.162
0.991
0.846
(e)
✓
✓
0.822
0.169
0.155
0.991
0.844
Table 3: Rule-specific teacher and knowledge-distillation analysis. OR/AND denote the teacher(s), KD denotes student distillation, and the empty setting is the unmasked Base. Cross-data mAUC averages five benchmarks; bold and underline mark best and second-best; ACC ties after rounding.
Design choice
AUC ↑
MCC ↑
F1 ↑
ACC ↑
A. Threshold sensitivity
Fixed τ=0.85
0.807
0.147
0.130
0.991
Fixed τ=0.90
0.812
0.155
0.136
0.991
Fixed τ=0.95
0.814
0.156
0.138
0.991
Adaptive k=1.5
0.820
0.157
0.139
0.991
Adaptive k=2 (def.)
0.826
0.179
0.165
0.991
Table 4: Controlled PadChest analyses: (A) threshold sensitivity; (B) candidate-selection and logit-intervention controls. “def.” marks the prespecified default; bold and underline mark best and second-best within each block; ACC ties after rounding.
Similarity cue
AUC ↑
MCC ↑
F1 ↑
ACC ↑
Image only
0.814
0.158
0.141
0.991
Text only
0.816
0.157
0.138
0.991
Both (default)
0.826
0.179
0.165
0.991
Table 5: PadChest similarity-cue ablation under the default inclusive setting. Bold and underline mark the best and second-best AUC, MCC, and F1; ACC ties at 0.991 .
Figure 4: Adaptive image (solid) and text (dashed) thresholds ( k=2 ) for SCCL and the unmasked Base. Base values are logged but not applied; shading marks the fixed range 0.85 – 0.95 and the dotted line the cosine ceiling.
Vision-language alignment using chest X-rays and radiology reports has emerged as an advanced paradigm for zero-shot classification and grounding of chest X-ray findings. However, standard contrastive learning typically treats radiographs and reports from different patients simply as negative pairs. This assumption introduces noisy negatives, as different patients frequently exhibit similar findings. Such noisy negatives cause semantic ambiguity and degrade performance in zero-shot understanding tasks. To address this challenge, we propose CoNNS, a concept-guided noisy-negative suppression framework. To support the negative suppression mechanism, unlike previous methods that use raw reports or templatized texts, we construct a hierarchical concept ontology using large language models. The ontology structures 41 key clinical concepts by explicitly modeling presence, attributes (location and characteristics), and texts (evidential segment and presence statement). Leveraging this ontology, we implement a cross-patient pair relabeling strategy comprising three steps: (1) Fine-Grained Breakdown to categorize pairs based on finding presence; (2) Noisy Negative Filtering to resolve semantic conflicts by removing false negatives; and (3) Hard Negative Mining to identify subtle attribute discrepancies using a lightweight language model. Finally, we propose a Concept-Aware NCE loss to align visual features with text while suppressing the identified noisy negatives. Extensive experiments across multi-granularity zero-shot grounding tasks and five zero-shot classification datasets validate that CoNNS outperforms existing state-of-the-art models. The code is available at https://github.com/DopamineLcy/conns.
Chenyu Lian, Hong-Yu Zhou, Chun-Ka Wong +1
The Center for Smart Health, School of Nursing, the Hong Kong Polytechnic University, Hong Kong, China · Research Institute for Smart Ageing, the Hong Kong Polytechnic University,2026 Hong Kong, China · School of Biomedical Engineering, Tsinghua Medicine, Tsinghua University, Beijing, China +1
Zero-shot vision-language models (VLMs) have shown promise for chest radiograph classification, but their performance is often limited by confounding label co-occurrence, long-tail class imbalance, and transfer instability under domain shift. We propose ProtoCLIP, a refinement strategy for CLIP-style VLMs that improves zero-shot discrimination through targeted data curation and distilled anchor alignment. Specifically, we construct pathology-focused training subsets with curated negative samples to reduce co-occurrence bias. We also introduce a representation-preserving distillation objective to stabilize adaptation while maintaining semantic structure and improving discrimination of clinically relevant co-occurring pathologies. Evaluated on an unseen dataset VinDr-CXR, ProtoCLIP improves AUC by 2-10 percentage points over a strong CLIP-based baseline across multiple findings. For pneumothorax specifically, ProtoCLIP achieves a state-of-the-art AUC of 0.94. These results demonstrate that anchor-guided refinement, coupled with curated supervision and controlled adaptation, can mitigate common zero-shot transfer failures in medical VLMs without requiring large-scale retraining.
Florian Kittler, Sheethal Bhat, Andreas Maier
Friedrich-Alexander University Erlangen-Nuremberg, Erlangen 91054, Germany
Vision-language (VL) pretraining using paired chest X-ray (CXR) images and radiology reports has shown strong potential for medical image understanding. However, existing methods often remain dependent on task-specific finetuning because radiology reports are lengthy, clinically dense, and difficult to align with simple zero-shot prompts. Recent sentence-level approaches partially address this limitation using clinical phrases extracted by large language models (LLMs), but they largely overlook the intrinsic characteristics of radiology discourse. In particular, limited positive-pair diversity constrains further gains, while clinically equivalent sentences frequently recur across patients, creating false negatives in contrastive learning. To address these issues, we propose SentZero, an enhanced sentence-centric VL pretraining framework for zero-shot, multi-task CXR analysis. SentZero introduces LLM-based abstract-level sentence structuring and mapping to expand positive-pair diversity, together with an additional loss term to mitigate false negatives. We further introduce sentence-conditioned residual modulation of visual embeddings, enabling visual features to adapt to the semantic characteristics of each input sentence. Across diverse downstream tasks and datasets, SentZero improves zero-shot generalization and outperforms prior multi-task zero-shot methods.
Hangyul Yoon, Hyungyung Lee, Edward Choi +1
Kim Jaechul Graduate School of AI, Korea Advanced Institute of Science and Technology (KAIST)