ShifaMind
Concept-grounded clinical AI · MIMIC-IV top-50

A multiplicative concept bottleneck for interpretable ICD-10 coding.

ShifaMind routes every diagnosis through a concept-grounded representation, so each prediction can be inspected by the concepts that drove it, without trading away predictive capacity. It matches the strongest baseline on MIMIC-IV top-50 while being the only model in the comparison that produces concept-mediated explanations.

Macro-F1 0.712 Statistically tied with LAAT (p=0.452) 160 clinical concepts BioClinical ModernBERT · 8,192 ctx
Prediction pathway: diagnoses depend only on the concept-grounded representation
Discharge summary Encoder ModernBERT Concept grounding p_c (cross-attn) Encoder summary p_t (gate input) g ⊙ p_c Diagnosis head ICD-10 multi-label signal modulator only · no bypass
01

Change the form of the bottleneck, not its width

Concept Bottleneck Models make predictions auditable by routing them through human-readable concepts, but squeezing a rich clinical representation through a narrow scalar concept layer chokes capacity. Prior variants fix this by widening the bottleneck, which costs the inspectable interface. ShifaMind keeps the scalar concept interface and instead changes the bottleneck's form.

Concept grounding

Learnable concept queries attend to the note, producing a full-dimensional concept-grounded representation that is concept-relevant, but not compressed to 160 scalars.

Multiplicative gate

A learned gate g = σ(·) modulates that representation element-wise. The encoder summary can only steer which concept dimensions matter; it never bypasses them.

No-bypass guarantee

There is no direct path from the encoder to the diagnosis head. If the concept representation is zero, the output collapses to a constant, so prediction is structurally concept-mediated.

02

Results on MIMIC-IV top-50

Seven models on the same MIMIC-IV v3.1 top-50 split (79,742 / 17,088 / 17,088, seed 42), one shared global threshold τ = 0.5, no per-model tuning. Best per column in brass; ShifaMind row highlighted.

ModelMac-F1Mic-F1Mac-AUCMic-AUC P@5P@8P@15R@5R@8R@15
CAML0.6740.7160.9390.9540.6330.5080.3250.6980.8330.942
LAAT0.7110.7460.9470.9610.6540.5210.3290.7180.8500.950
PLM-ICD0.6500.6990.9290.9470.6230.4950.3170.6860.8140.925
KEPT0.6870.7270.9410.9570.6430.5080.3230.7060.8330.939
GKI-ICD0.6490.7000.9300.9490.6260.4960.3180.6890.8160.928
Vanilla CBM0.1640.3720.6990.7790.3740.3170.2350.3960.5280.708
ShifaMind0.7120.7350.9420.9590.6470.5170.3270.7110.8450.947
Gemini 2.5 Prozero-shot*0.4350.547n/an/an/an/an/an/an/an/a
GPT-5.4zero-shot*0.4170.561n/an/an/an/an/an/an/an/a
Claude Sonnet 4.6zero-shot*0.3430.475n/an/an/an/an/an/an/an/a
* Zero-shot prompt evaluation on the same MIMIC-IV top-50 test set, with no fine-tuning. Reported for context only: these models are not optimized on the task, so this is not an apples-to-apples comparison with the trained models above. AUC and ranking metrics (P@K, R@K) do not apply to a zero-shot prompt that returns a code set rather than calibrated probabilities or a ranked list. 95% CIs on Macro-F1: Gemini 2.5 Pro [0.370, 0.455], GPT-5.4 [0.364, 0.441], Claude Sonnet 4.6 [0.300, 0.367].
ShifaMind (ours) Best in column Zero-shot LLM (context)
Statistical significance: paired bootstrap on Macro-F1
ComparisonF1 (ours)F1 (other)Δ95% CIp
vs. LAAT0.7120.711+0.001[−0.001, +0.003]0.452
vs. KEPT0.7120.687+0.025[+0.022, +0.028]<10⁻⁴
vs. CAML0.7120.674+0.038[+0.036, +0.041]<10⁻⁴
vs. PLM-ICD0.7120.650+0.062[+0.059, +0.065]<10⁻⁴
vs. GKI-ICD0.7120.649+0.064[+0.060, +0.067]<10⁻⁴
vs. Vanilla CBM0.7120.164+0.548[+0.545, +0.552]<10⁻⁴
Statistically indistinguishable from LAAT (the strongest baseline) on point accuracy, and significantly ahead of every other model, while being the only one that produces concept-mediated explanations.
Performance across code frequency: HEAD / MID / TAIL
ModelHEAD (16)MID (16)TAIL (18)Overall
CAML0.7110.6710.6440.674
LAAT0.7400.7150.6820.711
PLM-ICD0.6990.6580.6000.650
KEPT0.7220.6990.6450.687
GKI-ICD0.6960.6580.5980.649
Vanilla CBM0.3410.1240.0420.164
ShifaMind0.7420.7220.6770.712
Best on HEAD and MID codes, competitive on the rare TAIL. the gain is not driven only by frequent labels.
Ablation: what each component contributes
ConfigurationMacro-F1Macro-AUCΔ F1
ShifaMind (full)0.7120.942ref.
w/o alignment loss0.7150.945+0.003
w/o cross-attention (p_c ← p_t)0.6890.936−0.023
Vanilla CBM (additive bottleneck)0.1640.699−0.548
Removing concept grounding (cross-attention) costs real performance; the multiplicative form vs. a matched additive bottleneck is the difference between 0.712 and 0.164.
Precision / recall at τ = 0.5
ModelMacro-PMacro-RMicro-PMicro-R
LAAT0.7570.6830.7780.716
KEPT0.7340.6580.7610.696
CAML0.7250.6530.7480.686
GKI-ICD0.7190.6100.7520.654
PLM-ICD0.7100.6150.7460.657
Vanilla CBM0.3480.1620.4150.338
ShifaMind0.6740.7610.6800.800
Gemini 2.5 Pro*0.4760.487n/an/a
GPT-5.4*0.4110.517n/an/a
Claude Sonnet 4.6*0.3090.450n/an/a
At a shared threshold, ShifaMind sits at a recall-favoring operating point; LAAT at a precision-favoring one. * zero-shot macro precision / recall (micro not computed).
03

Interpretability isn't a claim, it's measured

Against a capacity-matched Vanilla CBM (same backbone, context, optimizer, loss, where only the bottleneck differs), ShifaMind wins on three behavioral metrics with non-overlapping bootstrap 95% confidence intervals.

CSTPR
Concept-Supported True Positive Rate: are correct diagnoses backed by relevant concepts?
ShifaMind0.704
Vanilla CBM0.147
4.8× higher
CIM
Concept Influence Magnitude: how strongly the concept representation drives the output.
ShifaMind1.314
Vanilla CBM0.645
2.0× at the diagnosis head
CCR
Concept-Conditioned Recall: when a relevant concept is present, is the diagnosis recovered?
ShifaMind0.836
Vanilla CBM0.361
83.6% vs 36.1%

A complementary behavioral test confirms it: masking the token spans of a diagnosis's top concepts drops that diagnosis's probability by 0.114 more than other diagnoses in the same note (95% CI [0.103, 0.127]). Predictions are sensitive to the concepts the model points to.

04

The architecture, end to end

A discharge summary becomes an inspectable, concept-mediated set of ICD-10 codes in four stages.

1

Long-context encoding

BioClinical ModernBERT-base encodes the full discharge summary (up to 8,192 tokens) into token representations and a p_t summary.

2

Concept grounding

160 learnable concept queries cross-attend to the note, producing a full-dimensional concept-grounded representation p_c, one query initialized per named clinical concept.

3

Multiplicative bottleneck

A gate conditioned on p_t and p_c modulates p_c element-wise: z = LN(g ⊙ p_c). No path bypasses the concept representation.

4

Diagnosis + inspection

The diagnosis head predicts multi-label ICD-10 codes from z. A separate concept head exposes scalar concept activations for clinician inspection, supervised via NegEx pseudo-labels.

05

What we don't claim

ShifaMind is positioned as decision support for clinical coders, not a replacement. The honest boundaries:

Single seed. Results are from one training seed per configuration; the ShifaMind-LAAT gap is a statistical tie at this seed.
Single dataset. Evaluation is limited to MIMIC-IV. External validation on other clinical corpora is needed before deployment.
Weak concept labels. The concept head is trained on NegEx pseudo-labels, not expert annotations; residual label noise remains.
Vocabulary scope. The 160-concept vocabulary was designed for the top-50 setting; broader ICD coverage needs a larger vocabulary.
06

Cite & explore

SHIFAMIND: A Multiplicative Concept Bottleneck for Interpretable ICD-10 Coding · Mohammed Sameer Syed, Xuan Lu · College of Information Science, University of Arizona.

BibTeX
@article{syed2026shifamind,
  title   = {ShifaMind: A Multiplicative Concept Bottleneck for Interpretable ICD-10 Coding},
  author  = {Syed, Mohammed Sameer and Lu, Xuan},
  journal = {arXiv preprint arXiv:2605.08482},
  year    = {2026}
}