Curing a model’s guilty bias
The prediction model receives the facts of a criminal case and a charge and answers whether the charge is established. The authors study guilty bias: the model keeps “guilty” when a decisive condition has been changed and the charge is no longer established, although under in dubio pro reo doubt is resolved in favor of the accused. To test this they built CAIL-MC in two parts. The first is built on CAIL2018: from 20,055 selected cases DeepSeek-V4-Flash cleaned the facts of the court’s conclusions and wrote a paired case in which one condition changes - an element of the offense, unlawfulness (for example, self-defense or necessity) or culpability (for example, mental incapacity or being below the age of criminal responsibility), while the remaining facts are kept. All 12,564 pairs that passed automatic checks were reviewed by two independent annotators, master’s students in criminal law, with disputes settled by a law professor with 13 years of experience; 11,478 pairs across 261 charges remained (91.36%), split 9,181/1,147/1,150. The second part tests transfer to other corpora: 70 cases from LeCaRD and 200 from Criminal-S, each in four variants - full facts, shortened facts with sufficient support, shortened facts without the decisive facts, and the accusation alone without facts.
First the authors checked whether the model itself holds a signal for the correction. The difference between the hidden states of the two cases in a pair, averaged over correctly resolved training pairs, shifts the answer toward “not established” when added to held-out wrong cases, most clearly around layer 22 in Qwen3-8B; the desired answer is reached this way in 70.6-83.2% of cases. But the same shift weakens the verdict on the paired case where guilt is established. PROSE handles this in two steps. For each training pair it builds a bounded target: the reconstructed pair difference is mixed with the gradient of the verdict margin, components that affect correct guilty verdicts are attenuated, and the smallest shift across the decision boundary is searched for. The targets are then turned into a low-rank weight update of one layer (layer 22 in Qwen3-8B, layer 20 in GLM-4-9B) via a closed-form ridge regression solution with a penalty on changing answers for correctly resolved cases. After the edit the model answers with an ordinary single pass.
The base Qwen3-8B gives false guilty verdicts on 53.91% of cases where the charge is not established. After PROSE, on the CAIL2018 test macro-F1 is 91.48 for Qwen3-8B and 87.17 for GLM-4-9B; the rates of false guilty and false non-guilty answers are no higher than 8.61% for Qwen3-8B and no higher than 15.04% for GLM-4-9B. On the share of pairs repaired without harming the paired case (76.34% and 62.16%), PROSE beats judgment prediction methods (Self-Refine, Debate, OBJECTION, LJPIV) and model editing methods (MEMIT, AlphaEdit) and trails only LoRA fine-tuning. But the fine-tuned model answers “guilty” almost always on the second part: accuracy 49.64-51.00%, false guilty verdicts 94.29-97.25%. With PROSE the verdict margin is positive with sufficient facts, near the boundary with insufficient ones, and negative when only the accusation is present. At the same repair rate, a uniform shift of all answers toward acquittal spoils 17.5% and 24.3% of correct guilty verdicts, PROSE 8.5% and 7.1%. Without the penalty on changing correct answers, the share of safely repaired pairs drops to 21.39% and 2.70%. The edit costs 1.1 and 2.1 GPU-hours on one RTX 4080 SUPER, 3.1-8.1 times less than fine-tuning and LJPIV, while methods that reason at answer time (Self-Refine, Debate, OBJECTION) are 47-467 times slower.
The authors name the limitations themselves: only Chinese criminal law, two models, and verification of a single charge rather than a whole court decision. The paired cases were written by an LLM; legal review reduces but does not eliminate artifacts, and the case selection does not reflect the distribution of real criminal cases. The second part measures the sufficiency of facts in the text, not the credibility of evidence or the standard of proof, and is built on a small sample. Preservation of correct answers is achieved empirically and is not guaranteed; the authors state plainly that PROSE is meant for research, not for decisions on criminal responsibility. For court analytics the paper shows that reducing one error rate means little without the other: fewer false guilty verdicts can be obtained by a plain shift toward acquittal, and high accuracy on pairs (as with fine-tuning) does not carry over to cases where the completeness of facts changes.
Paper: PROSE: Preservation-Constrained Selective Editing for Guilty Bias in Legal Judgment Prediction. Yimeng Wang, Zeyuan Tian, Xinyu Wang et al.