When a large language model writes training explanations for a small, specialized model, it passes on more than domain knowledge. It also passes on the way it talks about people. This proposal measures that second channel with a simple word-counting tool. For each demographic group, we ask which words the teacher's explanations use unusually often, and whether real expert text about the same group uses them too. Words that are distinctive in the teacher's writing but not in the human domain text are what we call imported markedness: framing the teacher brought in from its general web training rather than from the domain. We then test whether a distilled student amplifies this imported framing, whether its decisions become less fair as a result, and whether removing only the imported part does better than the usual fixes.
Indian court judgment prediction is a good place to test this. On that task a fine-tuned small model beats a general LLM, so distillation is actually worth doing. The teacher's legal explanations are also measurably more gendered than human legal writing. LLMs - the Good, the Bad or the Indispensable? reports a male-to-female word ratio of 2.62 in LLM explanations against 1.80 in human legal text. It also finds that LLM performance drops on cases involving gender-specific or religious statutes. The problem is that in law, demographic language is sometimes legitimate. Dowry and certain religious statutes are about gender and religion. A filter that removes all group-associated language would damage exactly the cases where models already struggle. The contribution here is a scoring rule that separates the teacher's added framing from the domain's legitimate demographic content.
Core Claim
We make two claims. First, rationale-based distillation from an LLM teacher into a one-to-seven-billion-parameter legal student amplifies imported markedness. The student's explanations should carry group-distinctive framing at least as strong as the teacher's, and the size of that framing should predict the student's counterfactual decision flips when case names are swapped across religion or gender. Second, a domain-anchored double contrast reduces those flips while preserving accuracy on gender- and religion-specific statute cases. This contrast scores each word by how much more group-distinctive it is in synthetic text than in human text about the same group. Two cheaper approaches should fail to preserve that accuracy: single-contrast filtering against a general-English background, and name-swap augmentation.
The scoring tool is the log-odds ratio with an informative Dirichlet prior. In plain terms, this is a smoothed comparison of how often a word appears in one corpus versus another. Small pseudo-counts drawn from a background corpus keep one-off rare words from looking maximally distinctive.
Let $z_w(C, g)$ be the prior-smoothed log-odds z-score of word $w$ for group $g$ against all other groups within corpus $C$. Imported markedness is then
$$M_g(w) = z_w(\text{synthetic}, g) - z_w(\text{human}, g).$$
Here "synthetic" means teacher- or student-written explanations of training cases, and "human" means the corresponding human judgments. A word like "dowry" that is equally distinctive for a group in both corpora scores near zero. An evaluative term the teacher attaches to women, but that judges do not, scores high.
We summarize amplification in a single ratio. Let $S_g$ be the sum of positive $M_g(w)$ over the top-$k$ words, computed on student outputs, and let $T_g$ be the same quantity on teacher outputs. Amplification is
$$A = \frac{\sum_g S_g}{\sum_g T_g}.$$
A value $A>1$ means the student concentrates the teacher's imported framing.
Prior Work and Where This Sits
The scoring method. Lexical dominance scoring comes from sociolinguistic audits. Gendered Conversation in a Social Game-Streaming Platform uses Dirichlet-prior log-odds to stabilize noisy live-chat counts. Understanding the Effect of Gender and Stance in Opinion Expression in Debates on "Abortion" uses the same tool to separate stance from identity. Automatically Inferring Gender Associations from Language adds a Beta-Binomial correction so that one prolific author cannot dominate a group profile. We reuse that correction at the case level, so a single long judgment cannot drive a group's word list.
Evidence of framing without numerical imbalance. The closest methodological relative is More of the Same. It calibrates "marked words" against the Brown Corpus and shows that GPT-4o-mini frames women with terms like "inspirational" even while over-representing them numerically. That work only evaluates foundation models, and its background is general English. Our design differs in both respects. We track framing through a distillation step, and we anchor it to human text from the same domain. That anchoring is what lets us keep legitimate legal demographic content.
Evidence that synthetic domain data imports narratives. Towards Algorithmic Fidelity finds that GPT-3 mental-health posts inject narratives absent from clinical text, such as police violence attributed to male personas. The authors call this an "imagination gap." They did not train a student on this data and did not use the lexical scores to intervene. Our $M_g$ is essentially a word-level operationalization of their imagination gap. Examining risks of racial biases in NLP tools for child protective services applies the same log-odds audit to human caseworker notes. It also warns that the tools used to assign group labels are themselves biased, with named-entity recall up to 11.3% lower for Black names. This constrains how we assign groups (see the Research Program).
Evidence about feedback loops and constructive amplification. Fairness Feedback Loops shows that training on synthetic data amplifies disparities and can erase minority groups, and it proposes stratified resampling (STAR). All of that work is on vision benchmarks and all of it is numerical. We test whether its resampling fix transfers to text framing; More of the Same gives reason to doubt it. Diffusing DeBias deliberately amplifies bias in synthetic images to build a detector of bias-conflicting examples. We borrow its logic in one diagnostic, described in the Research Program. We do not claim to extend it.
The filtering pipeline. Distillation pipelines already filter teacher outputs. Referee filters for entailment, length and context, but it never audits social framing. Our intervention slots into that same filtering stage.
The domain gap. ILDC for CJPE shows machine explanations align poorly with expert rationales, at about 0.44 ROUGE-L. Are Models Trained on Indian Legal Data Fair? shows name swaps flip bail decisions, with a demographic parity gap of 0.237. Together these show that the legal domain gap and demographic shortcuts are intertwined. That is why we evaluate framing and decisions jointly.
Research Program
Generation and training. We generate teacher explanations for ILDC training cases using an open 70B-class instruction model; Llama-3.1-70b appears in More of the Same. The teacher is prompted with the case facts and the gold outcome, which is standard rationale distillation. We then fine-tune students at 1B and 7B scale to output a verdict and an explanation.
Group labels. Following the warning in Field et al., we avoid name-recognition tools for group assignment. Gender comes from pronouns and honorifics in the style of More of the Same. Religion is assigned only where invoked statutes or explicit case text establish it. We hand-audit a sample of these assignments.
Scoring details. Scoring is done at the word level after the model's subword tokens are merged back into words. We report the vocabulary lists at several prior strengths, because the file flags prior choice as a known source of instability.
The intervention. We do not drop whole examples. For each high-$M_g$ span, the teacher is asked to rewrite the explanation with that span neutralized, and the rewrite must still entail the original verdict. Entailment is checked with an NLI model, following Referee. Rewriting instead of dropping keeps gender- and religion-specific cases in the training set.
The amplifier diagnostic. In the style of Diffusing DeBias, we train a small classifier to predict group membership from teacher explanations alone. Its accuracy gives a second, non-lexical estimate of how much group information the rationales leak. This lets us check whether $M_g$ captures that leakage or misses framing that works through syntax rather than word choice.
Baselines
Do nothing: human labels only. The naive reference point is a student fine-tuned on ILDC human labels with no synthetic explanations. This isolates whether distillation adds anything at all. The strongest reported fine-tuned result is from LLMs - the Good, the Bad or the Indispensable?: XLNet-large reaches an F1 of 0.6913 on 256 ILDC cases, versus 0.5649 for text-davinci-003. We re-run XLNet-large on our exact splits and treat 0.6913 only as a sanity anchor, not a target. For the explanation side, the hierarchical model in ILDC for CJPE reports 78% accuracy and 0.44 ROUGE-L against expert rationales.
Uncorrected distillation. The second baseline is plain rationale distillation with the same teacher data and no bias intervention. It defines the markedness and flip-rate levels that every fix must beat.
Existing fixes. The strongest existing method competitors are two. The first is stratified group-balanced resampling of the synthetic set, adapted from CLA-STAR in Fairness Feedback Loops. The second is counterfactual name-swap augmentation of the synthetic cases, mirroring the probe in Are Models Trained on Indian Legal Data Fair?. No reported result was found on Lacuna for either method on legal text distillation.
Ablations. The key ablation is single-contrast marked-word rewriting against the Brown Corpus, as in More of the Same. It is identical to our method except for the human domain anchor, so it isolates whether the anchor matters. A second ablation removes the Beta-Binomial case-level correction. A third applies random span rewriting at a matched rate, so that any gain cannot be credited merely to the rewriting itself.
Fairness of comparison. All variants use the same teacher generations, the same student architecture, and the same number of training tokens; rewritten sets are padded to match. They also get the same hyperparameter search budget, selected on a validation split by verdict F1 alone.
What counts as beating the strongest competitor. We require three things of the domain-anchored method relative to name-swap augmentation. It must lower the counterfactual flip rate. It must retain verdict F1 on the gender- and religion-specific statute subset within noise across three seeds. It must also lower $A$. A win on flip rate paired with a loss on that subset would not count.
Why not just…?
Why not just use counts, TF-IDF or stop-word lists? Raw frequency ratios blow up on words that appear once in the target corpus and never in the control. The framing we care about also consists of ordinary content words that no stop-word list removes; "passionate" and "advocate" are the examples in More of the Same. We still include TF-IDF-ranked span rewriting as a cheap variant. If it matches the double contrast on every metric, we will report that the smoothed prior is unnecessary.
Why not just swap names in the synthetic data? This is the real threat. On flip rate alone it may match or beat us, because flip rate is literally what it trains against. It has two limits. It cannot touch framing in cases where the demographic fact is legally relevant, since swapping a party's gender in a dowry case changes the law that applies. It also leaves evaluative vocabulary in the explanations, and that vocabulary is itself a harm when a judge or clerk reads the output. Our experiments therefore report flip rate, subset accuracy and $A$ separately. If name-swap wins on all three, the proposal's intervention claim fails, and the paper becomes a measurement study of amplification.
Why not just balance demographics by prompting or resampling? More of the Same finds that numerical balance coexists with stronger qualitative stereotyping. Fairness Feedback Loops reports that parity-oriented resampling can worsen equalized odds. Our STAR baseline tests directly whether this carries over to legal text. We expect it to change group counts while leaving $A$ largely unchanged.
Why not just distill labels and skip explanations? If explanations carry the bias, dropping them is the simplest cure. The label-only student is exactly our do-nothing baseline. LLMs - the Good, the Bad or the Indispensable? reports that explanations improved statute-prediction precision, which suggests explanations add something. If label-only matches rationale distillation on both accuracy and fairness, we will say so. In that case explanation-based distillation is not worth its bias cost in this domain.
Proposed Experiments
Datasets and metrics. The primary benchmark is ILDC judgment prediction, reported as verdict F1 overall and on a gender- and religion-statute subset. Explanation quality is measured by ROUGE-L against expert rationales, supplemented by the 45 expert-annotated cases from Vats et al.. We also recompute their male-to-female word ratio on the teacher, the student and each fix. Fairness is probed with counterfactual religion and gender name swaps on ILDC. We add an HLDC bail task following Are Models Trained on Indian Legal Data Fair?, reporting flip rate and demographic parity gap. As a secondary domain, if access allows, we would repeat the measurement on HEADROOM against UMD-ODH, using the setup in Towards Algorithmic Fidelity.
First decisive check: amplification. Is $A>1$ for uncorrected students at both scales? Does per-group markedness correlate with per-group flip rate across groups and seeds? If $A\le 1$ and there is no correlation, the amplification claim fails.
Second decisive check: the anchor. Does the domain-anchored rewrite beat the Brown-anchored ablation specifically on the statute subset? The anchor's only purpose is to spare legitimate demographic content, so a gap should show up there and not elsewhere.
Third decisive check: coverage of the lexical measure. Does the amplifier classifier's group-prediction accuracy fall after our rewriting? If it stays high while $A$ drops, framing is surviving through channels the word-level measure cannot see. That result would bound what lexical scoring can claim.
References
- LLMs - the Good, the Bad or the Indispensable?: A Use Case on Legal Statute Prediction and Legal Judgment Prediction on Indian Court Cases
- Gendered Conversation in a Social Game-Streaming Platform
- Understanding the Effect of Gender and Stance in Opinion Expression in Debates on "Abortion"
- Automatically Inferring Gender Associations from Language
- More of the Same: Persistent Representational Harms Under Increased Representation
- Towards Algorithmic Fidelity: Mental Health Representation across Demographics in Synthetic vs. Human-generated Data
- Examining risks of racial biases in NLP tools for child protective services
- Fairness Feedback Loops: Training on Synthetic Data Amplifies Bias
- Diffusing DeBias: Synthetic Bias Amplification for Model Debiasing
- Referee: Reference-Free Sentence Summarization with Sharper Controllability through Symbolic Knowledge Distillation
- ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanation
- Are Models Trained on Indian Legal Data Fair?