English

Quantifying Fairness in LLMs Beyond Tokens: A Semantic and Statistical Perspective

Computation and Language 2025-10-13 v5 Artificial Intelligence Computers and Society

Abstract

Large Language Models (LLMs) often generate responses with inherent biases, undermining their reliability in real-world applications. Existing evaluation methods often overlook biases in long-form responses and the intrinsic variability of LLM outputs. To address these challenges, we propose FiSCo (Fine-grained Semantic Comparison), a novel statistical framework to evaluate group-level fairness in LLMs by detecting subtle semantic differences in long-form responses across demographic groups. Unlike prior work focusing on sentiment or token-level comparisons, FiSCo goes beyond surface-level analysis by operating at the claim level, leveraging entailment checks to assess the consistency of meaning across responses. We decompose model outputs into semantically distinct claims and apply statistical hypothesis testing to compare inter- and intra-group similarities, enabling robust detection of subtle biases. We formalize a new group counterfactual fairness definition and validate FiSCo on both synthetic and human-annotated datasets spanning gender, race, and age. Experiments show that FiSCo more reliably identifies nuanced biases while reducing the impact of stochastic LLM variability, outperforming various evaluation metrics.

Keywords

Cite

@article{arxiv.2506.19028,
  title  = {Quantifying Fairness in LLMs Beyond Tokens: A Semantic and Statistical Perspective},
  author = {Weijie Xu and Yiwen Wang and Chi Xue and Xiangkun Hu and Xi Fang and Guimin Dong and Chandan K. Reddy},
  journal= {arXiv preprint arXiv:2506.19028},
  year   = {2025}
}

Comments

29 pages, 9 figures, 15 tables

R2 v1 2026-07-01T03:30:11.068Z