Causally Fair Generation with Large Language Models
Abstract
Large language models (LLMs) are increasingly used to generate, complete, and transform information in settings where their outputs can shape consequential decisions, raising concerns about their impact on demographic disparities. In this context, causal inference provides a principled basis for assessing fairness, because it attributes observed disparities to the mechanisms that generated them, which a purely statistical approach cannot do even with infinite data. In LLM generation, a query may request several causally related variables, each of which is both an outcome of interest and a possible cause of other outputs, and the information supplied in the prompt need not follow a topological or a temporal order. This calls for methods that can analyze and selectively remove disparities from such a flexible generation process. In this paper we introduce Causally Fair Generation with LLMs (CFG, for short). CFG extracts relevant concepts, grounds generation in a reference population and causal diagram, and removes user-selected causal effects. CFG also allows pathways deemed justifiable for the task's utility to be retained, which is known in legal literature as business necessity. Further, we provide formal guarantees for our method when eliminating all discriminatory causal effects in the adapted population model, under appropriate causal assumptions. We evaluate CFG with four LLMs in three real-world settings based on population data and on a synthetic dataset with a known causal ground truth.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, stat.ML
Related papers
CVE2AP: Automated Generation of PDDL-Encoded Attack Paths via Large Language Models
Shared title terminologycs.AILin Cui, Vincenzo Scotti, Raffaela Mirandola
LimoBench: How Street Smart Are Large Language Models?
Shared title terminologycs.AIGautam Choudhary, Jack Peng, Udesh Kumarasinghe et al.
Learning Heterogeneous Reasoning in Large Language Models: From Mode Compatibility to Local Bottlenecks
Shared title terminologycs.AISunbowen Li, Dandan Song, Shengkun Ma et al.
CodeForge-MA: Execution-Verified Multi-Agent Learning with Language-Conditioned LoRA for Multilingual Code Generation
Shared title terminologycs.AIZhizhou Gu, Xianting Wu, Siyu Gu et al.
Hallucination Across the Reasoning Lifecycle: Interface Visibility, Causal Evidence, and Release Control in Large Reasoning Models
Shared title terminologycs.AIZhe Yu, Mohan Li, Lei Yu et al.
EmoRSS: Mitigating Emotion-Induced Over-Refusal in Large Language Models
Shared title terminologycs.AIShuyi Miao, Yaojin Ma, Chenhang Cui et al.