Hospitals that want to run a medical vision-language model (a network that places images and clinical text in one shared embedding space so it can score an X-ray against a sentence like "pneumothorax") increasingly shrink it first. They store weights in 4 bits instead of 16 (quantization) or delete half of them (pruning), then deploy it at a site whose scanners and patient mix differ from the training data. Both steps move the model's embeddings. Neither step has been checked for its effect on the demographic fairness that methods like FairCLIP work to build in. This proposal treats the compressed encoder as a new "domain": the full-precision model is the source, and its quantized copy running at a new hospital is the target. We then ask whether a small classification head, fit in seconds on the frozen compressed features, can restore the fairness that compression and site shift together destroy.
The concrete claim has two parts. The first is empirical: fairness loss from compression is not additive with site shift but interacts with it, so the same 4-bit model that looks fair in-site loses more subgroup performance out-of-site than either perturbation alone predicts. The second is methodological: most of that loss lives in a low-dimensional drift of the embedding that a closed-form head can undo. The head does this by matching each demographic group's score distribution to the full-precision fair model, with no retraining of the backbone. If the second part fails and only backbone retraining recovers fairness, that is also a clear and useful result. It would tell practitioners that fair medical VLMs cannot be compressed with off-the-shelf tools.
What exists and what is missing
Three studies show that compression is not neutral for fairness in text models. They disagree on the direction. Decoding Compressed Trust quantizes and prunes Llama-2 across DecodingTrust. It finds that 4-bit quantization stays within 5 points of original trustworthiness and even reduces Equalized Odds Difference by over 0.2 in few-shot settings, while 3-bit GPTQ and 50% pruning collapse safety. Does Compression Exacerbate Large Language Models' Social Bias? finds that aggregate bias can look stable while specific axes such as Age and Nationality get worse, and that bias rises most on out-of-distribution "nonce" descriptors. Can Model Compression Improve NLP Fairness finds that distillation lowers toxicity and WinoBias gender bias. These papers motivate our interaction hypothesis. Compression looks harmless or even helpful in-distribution and harmful on shifted inputs. None of them touches images, clinical tasks, or cross-site transfer.
On the multimodal side, Mechanistically Interpreting Compression in Vision-Language Models shows that Wanda pruning rotates and weakens internal features. INT4/NF4 quantization instead rewires circuits but keeps surviving features aligned. Safety behavior is spread across mid-to-late layers and the vision projector, so targeted component ablations did no more damage than random ones. This finding constrains our design. If fairness-relevant structure is similarly spread out, protecting a few "fairness weights" during compression is unlikely to work, and a correction applied to the output embedding is more plausible. That paper measures refusal, not subgroup performance.
Medical fairness work supplies both the benchmarks and the strongest competing methods. FairCLIP introduces Harvard-FairVLMed and trains CLIP with a Sinkhorn (entropy-smoothed optimal transport) penalty that pulls each demographic group's feature distribution toward the population's. RobustFairCLIP adds mining of bad image-text pairs to the same objective. Both run at full precision within one institution. We reuse their Sinkhorn term, but apply it to a head on a compressed, shifted backbone rather than to full training.
Fairness and Robustness of CLIP-Based Models for Chest X-Rays plays two roles. It motivates the work, because it shows CLIP models exploit chest drains as a pneumothorax shortcut and that protected attributes are decodable from embeddings. It also supplies our evaluation code (clip_cxr_fairness). Few-shot Adaptation of Medical Vision-Language Models supplies our head: LP+text, a linear probe initialized from text embeddings and solved in about 4 seconds with 800MB of memory. Its authors state that it was not evaluated for fairness or institutional shift.
Core Claim and Method
Let $f_{fp}$ be a fair full-precision encoder, such as a reproduced FairCLIP, and $f_q$ its compressed copy. At a target site we have a small labeled set $L$, an unlabeled set $U$, and group labels $g$ for fitting only; they are not needed at inference. We fit a head $w$ on compressed features $z = f_q(x)$, producing a disease score $s_w(z)$, by minimizing
$$\mathcal{L}(w) = \mathrm{CE}_L(w) + \lambda \sum_g W_\epsilon\big(p_w(s \mid g),\, p_w(s)\big) + \mu \sum_g D\big(p_w(s \mid g, U),\, p_{fp}(s \mid g, U)\big).$$
Here $\mathrm{CE}_L$ is the LP+text cross-entropy on labeled shots, and $W_\epsilon$ is the Sinkhorn distance between one group's score distribution and the overall one, as in FairCLIP. $p_{fp}(s \mid g, U)$ is the full-precision fair model's per-group score distribution on the same unlabeled target images, and $D$ is a one-dimensional distribution distance. $\lambda$ and $\mu$ are weights.
The third term is the new ingredient. It treats the uncompressed fair model as a teacher per group. The head therefore learns to map compressed features back to the teacher's group-wise behavior, which uses unlabeled target data that hospitals do have. Because the correction operates on score rankings within each group, it can change per-group AUC. Threshold-only post-processing cannot do that.
Research Program
The first stage is a factorial audit. It crosses three backbones (CLIP, FairCLIP, and a RobustFairCLIP-style model on Harvard-FairVLMed; CLIP-based CXR models from Sourget et al. on MIMIC-CXR) with six compression settings. The settings are FP16, INT8, 4-bit AWQ, 4-bit GPTQ, NF4, 3-bit GPTQ, and Wanda at 50% sparsity, applied to both the image and text towers and, for BLIP-2, to its language model. Each combination is evaluated in-site and cross-site.
We should say plainly that the 4-bit "sweet spot" and 3-bit cliff were measured on 7B+ LLMs. ViT-B-scale CLIP encoders may be more fragile, so the cliff location is itself a measurement, not an assumption. We fit a two-way model of subgroup metric drop as a function of compression and site, and test the interaction term.
The second stage is a drift analysis. We compute principal angles between the $f_{fp}$ and $f_q$ embeddings. Following Sourget et al., we train MLP probes for age, sex, and race and measure how much of the compression drift aligns with directions that predict those attributes. We also check whether drain reliance on NEATX grows after compression. This stage tests the "low-dimensional drift" premise that the head method depends on.
The third stage fits the head above and compares it against the baselines below under identical calibration data.
Baselines
The do-nothing reference is the compressed fair model used as-is. That means FairCLIP quantized with AWQ or GPTQ using default calibration data and the original zero-shot text prompts. It measures how much fairness the standard deployment path loses. Its full-precision counterpart is the reference ceiling. On Harvard-FairVLMed, FairCLIP reports race Demographic Parity Difference falling from 15.35% to 6.07% and overall AUC rising from 67.84% to 70.08%. RobustFairCLIP reports total AUC of 70.84% against 63.68% for CLIP and an 8.6% gain in Equity-Scaled AUC. We will reproduce these at full precision before compressing; if our reproduction misses them by more than a couple of points, all later comparisons are made against our own reproduction. For any compressed medical VLM's fairness on these benchmarks we found no reported result on Lacuna, so the compressed numbers will be new.
The strongest cheap competitor is plain LP+text from Few-shot Adaptation of Medical Vision-Language Models, fit on the same compressed features, shots, and solver. It reports 55.6% 1-shot accuracy on NCT-CRC against 46.05% for CoOp and 52.05% for a plain linear probe. We found no reported result on Lacuna for it on our CXR cross-site transfer or with fairness metrics.
The strongest expensive competitor is quantization-aware LoRA or full fine-tuning of the compressed backbone with FairCLIP's Sinkhorn loss on the target site. It uses the same labeled and unlabeled data, and its hyperparameter search is capped at the same number of trials as our head. We treat it as an upper bound on what backbone access buys.
A calibration baseline runs GPTQ/AWQ with a calibration set balanced across demographic groups and drawn from the target site. The ablations remove the teacher term ($\mu = 0$), remove the Sinkhorn term ($\lambda = 0$), and swap the teacher from FairCLIP to plain CLIP. The last swap tests whether the fairness comes from the teacher's fairness or merely from anchoring.
Beating the field means three things. At 4-bit, the head must recover at least half of the gap in ES-AUC and in worst-group AUC between the compressed and full-precision fair model, both in-site and cross-site. It must stay within one point of plain LP+text in overall AUC. It must come within the fine-tuning upper bound's confidence interval at under one percent of its compute.
Why not just…?
Why not just quantize FairCLIP with standard 4-bit tools? Text-model evidence says aggregate numbers hide axis-level damage. Does Compression Exacerbate Large Language Models' Social Bias? finds bias rising on Age and Nationality while aggregates stay flat. Decoding Compressed Trust finds 4-bit models fine but 3-bit ones collapsing. It is entirely possible that 4-bit FairCLIP stays fair in-site. The audit reports that honestly, and the proposal's value then rests on the cross-site and sub-4-bit cells of the grid.
Why not just fit LP+text on the compressed features? It adapts to the new site cheaply, but its objective has no term for subgroups. Sourget et al. show that probes on frozen CLIP embeddings inherit shortcut features and decodable demographic signal. Plain LP+text is run as a baseline with identical data. The ablation with $\lambda = \mu = 0$ is exactly this method, so the comparison isolates the fairness terms.
Why not just fine-tune with LoRA and a fairness loss? The Trade-off between Performance, Efficiency, and Fairness in Adapter Modules shows that adapters amplify existing bias in text classifiers, for example a 2.7% Equalized Odds drop for race on Jigsaw with GPT-2 plus LoRA. That result had no fairness loss, though. LoRA with a Sinkhorn term is a real threat, and it is our upper-bound baseline. Our argument for the head is cost and backbone-free deployment, not superior fairness. If LoRA wins by a wide margin, we report that the drift is not low-dimensional.
Why not just calibrate quantization on group-balanced target data? This is the cheapest competitor and might work, because GPTQ and AWQ choose quantization parameters from calibration activations. We run it directly. If it matches the head, the contribution reduces to a calibration recipe, and we would say so.
Why not just set per-group decision thresholds? Thresholds can shrink demographic parity gaps but cannot change the ranking within any group. They therefore leave per-group AUC and ES-AUC untouched, and they require group labels at inference. We include threshold adjustment as a reference on the parity metrics only.
Proposed Experiments
The in-site setting is Harvard-FairVLMed glaucoma diagnosis across race, gender, ethnicity, and language, reporting AUC, ES-AUC, Demographic Parity Difference, and Equalized Odds. The cross-site setting fits on MIMIC-CXR and tests on NIH-CXR14 for age and sex, with race evaluated on MIMIC only. Pneumothorax drain reliance is measured on NEATX as the difference in adjusted AUPRC with and without drains; Sourget et al. report +0.09 to +0.30 for uncompressed models. Fundus utility transfer to MESSIDOR and FIVES is reported without fairness, since demographic labels there are not documented in our file. Heads are fit with 1 to 16 shots per class, and all results are averaged over five seeds.
Three checks decide the proposal. The first is whether the interaction term in the audit is significant, meaning compression hurts worst-group AUC more cross-site than in-site. If it is not, the "compression as domain shift" framing is wrong. The second is whether compression drift aligns measurably with attribute-probe directions and with increased drain reliance. If drift is isotropic, a linear head should not repair fairness and we would expect the LoRA baseline to dominate. The third is whether the full head beats both the no-teacher ablation and balanced-calibration PTQ on worst-group AUC at 4 bits and below. Only a yes on all three supports recommending the head as the default way to deploy a compressed fair medical VLM at a new site.
References
- Decoding Compressed Trust: Scrutinizing the Trustworthiness of Efficient LLMs Under Compression
- Does Compression Exacerbate Large Language Models' Social Bias?
- Can Model Compression Improve NLP Fairness
- Mechanistically Interpreting Compression in Vision-Language Models
- FairCLIP: Harnessing Fairness in Vision-Language Learning
- Robust Fairness Vision-Language Learning for Medical Image Analysis
- Fairness and Robustness of CLIP-Based Models for Chest X-Rays
- Few-Shot Adaptation of Medical Vision-Language Models
- The Trade-off between Performance, Efficiency, and Fairness in Adapter Modules for Text Classification