Lune

ICLR2026Top-tier venue

LLMS ON TRIAL: Evaluating Judicial Fairness For Large Language Models

Yiran Hu, Zongyue Xue, Haitao Li, Siyuan Zheng, Qingjing Chen, Shaochun Wang, Xihan Zhang, Ning Zheng, Yun Liu, Qingyao Ai, Yiqun Liu, Charles L. A. Clarke, Weixing Shen

Abstract

Large Language Models (LLMs) are increasingly used in high-stakes fields where their decisions impact rights and equity. However, LLMs'judicial fairness and implications for social justice remain underexplored. When LLMs act as judges, the ability to fairly resolve judicial issues is a prerequisite to ensure their trustworthiness. Based on theories of judicial fairness, we construct a comprehensive framework to measure LLM fairness, leading to a selection of 65 labels and 161 corresponding values. Applying this framework to the judicial system, we compile an extensive dataset, JudiFair, comprising 177,100 unique case facts. To achieve robust statistical inference, we develop three evaluation metrics, inconsistency, bias, and imbalanced inaccuracy, and introduce a method to assess the overall fairness of multiple LLMs across various labels. Through experiments with 16 LLMs, we uncover pervasive inconsistency, bias, and imbalanced inaccuracy across models, underscoring severe LLM judicial unfairness. Particularly, LLMs display notably more pronounced biases on demographic labels, with slightly less bias on substance labels compared to procedure ones. Interestingly, increased inconsistency correlates with reduced biases, but more accurate predictions exacerbate biases. While we find that adjusting the temperature parameter can influence LLM fairness, model size, release date, and country of origin do not exhibit significant effects on judicial fairness. Accordingly, we introduce a publicly available toolkit containing all datasets and code, designed to support future research in evaluating and improving LLM fairness.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Perturbation Augmentation for Fairer NLP cites BBQ: A hand-built bias benchmark for question answering
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. BBQ: A hand-built bias benchmark for question answeringAlicia Parrish, Angelica Chen, Nikita Nangia, Vishakh Padmakumar et al.ACL Findings 2022 · 186 citations
  2. Perturbation Augmentation for Fairer NLPRebecca Qian, Candace Ross, Jude Fernandes, Eric Michael Smith et al.EMNLP 2022 · 54 citations
  3. Open Models, Closed Minds? On Agents Capabilities in Mimicking Human Personalities through Open Large Language ModelsLucio La Cava, Andrea TagarelliAAAI 2025 · 36 citations
  4. Measuring Political Bias in Large Language Models: What Is Said and How It Is SaidYejin Bang, Delong Chen, Nayeon Lee, Pascale FungACL 2024 · 21 citations
  5. Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and BiasRongwu Xu, Zi'an Zhou, Tianwei Zhang, Zehan Qi et al.EMNLP 2024 · 2 citations

Related papers

  1. The Lawyer That Never Thinks: Consistency and Fairness as Keys to Reliable AIDana R. Alsagheer, Abdulrahman Kamal, Mohammad Kamal, Cosmo Yang Wu et al.ACL 2025
  2. Fairness Testing of Large Language Models in Role-PlayingXinyue Li, Zhenpeng Chen, Jie M. Zhang, Ying Xiao et al.FSE 2026 · 5 citations
  3. Let The Jury Decide: Fair Demonstration Selection for In-Context Learning through Incremental Greedy EvaluationSadaf Md. Halim, Chen Zhao, Xintao Wu, Latifur Khan et al.ACL Findings 2025
  4. The Impossibility of Fair LLMsJacy Reese Anthis, Kristian Lum, Michael D. Ekstrand, Avi Feller et al.ACL 2025
  5. LRBench and Judge-R1: Principled Evaluation and Training of LLM-Based Judges for Long-Context ReasoningXinyi Zhao, Haoqi Hu, Ziyu Wang, Jinfeng XiaoACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines