A fully fine-tuned discriminative model based on microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext on the MedMCQA dataset — 182K medical multiple-choice questions covering 21 subjects from Indian medical entrance exams (AIIMS/PG style).
Fine-tuned as part of an SUTD Master's deep learning course project comparing zero-shot, LoRA, and full SFT approaches on medical MCQ benchmarks.
Model Details
Developed by: James Oon (@jamezoon), SUTD MSTR-DAIE Deep Learning Project
Model type: Encoder-only (BERT-style) + linear classification head (discriminative MCQ)
Base model:microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext (110M parameters, 768 hidden dim)
Medical multiple-choice question answering. Given a clinical question and 4 options (A–D), the model scores each [context | question + option] pair independently and selects the highest-scoring option. Subjects covered include Physiology, Anatomy, Biochemistry, Pathology, Pharmacology, Surgery, Medicine, Dental, Gynaecology, Paediatrics, and more.
Not intended for real clinical decision-making. This is a research/educational model.
How It Works
Unlike generative models, this is a discriminative approach: each of the 4 options is scored individually by encoding [question + option_i] (optionally prepending the context/explanation from the exp field), and the option with the highest logit wins.
Val acc figures above are as logged by the PyTorch Lightning trainer. Due to a known tensor aggregation behaviour in the old EvalResult API (logit tensors averaged across batches instead of concatenated), these slightly overstate the true accuracy. See final inference results below.
Final MCQ Accuracy (Dev Split, 4,183 samples)
Computed from the best-checkpoint predictions saved in dev_results.csv:
Metric
Value
Overall accuracy
29.74% (1,244 / 4,183)
Macro-averaged accuracy
31.60%
Random-chance baseline
25.00%
Per-Subject Accuracy (Dev Split)
Subject
Accuracy
n
Forensic Medicine
43.3%
67
Radiology
42.0%
69
Pediatrics
37.2%
234
Physiology
35.7%
171
Pharmacology
34.2%
243
ENT
34.0%
53
Anaesthesia
32.4%
34
Social & Preventive Medicine
31.8%
129
Gynaecology & Obstetrics
31.7%
224
Psychiatry
31.2%
16
Pathology
29.4%
337
Surgery
29.0%
369
Anatomy
28.2%
234
Ophthalmology
27.6%
58
Dental
27.4%
1,318
Biochemistry
26.9%
171
Medicine
26.1%
295
Orthopaedics
25.0%
20
Microbiology
23.0%
122
Skin
17.6%
17
Best subjects: Forensic Medicine (43.3%), Radiology (42.0%). Weakest: Skin (17.6%), Microbiology (23.0%). Dental dominates the eval set (1,318 / 4,183 = 31.5%), and its 27.4% accuracy pulls the overall figure close to random chance. The model beats random chance (25%) in 16 of 20 subjects.
Note on comparability: PubMedBERT accuracy is computed as direct argmax accuracy over 4 option logits (discriminative). The generative LoRA models produce free-form text and accuracy is measured by extracting the final A/B/C/D answer. Token accuracy reported during LoRA training (77–79%) is a next-token prediction metric and is not directly comparable to MCQ answer accuracy.
Comparison with Other MedMCQA Models in this Project
If you use this model, please cite the MedMCQA dataset:
bibtex
1@inproceedings{pmlr-v174-pal22a,
2 title = {MedMCQA: A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answering},
3 author = {Pal, Ankit and Umapathi, Logesh Kumar and Sankarasubbu, Malaikannan},
4 booktitle = {Proceedings of the Conference on Health, Inference, and Learning},
5 year = {2022},
6 publisher = {PMLR}
7}