AgentFairBench: Do LLM Agents Discriminate When They Act?

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, quick

Summary

AgentFairBench is introduced as a new, multi-domain benchmark designed to measure demographic disparity in the actions of large language model (LLM) agents, moving beyond traditional fairness assessments based solely on answers. Grounded in the Bias Conduction Framework, it evaluates LLM agents across three regulator-anchored domains: hiring, lending, and medical triage. The benchmark uses synthetic, demographic-neutral profiles in counterfactual matched sets, varying only name-coded race and gender signals. It supports four agent scaffolds (direct, chain-of-thought, multi-agent deliberation, tool-augmented) and computes metrics like counterfactual flip rate and action-rate disparity using a NumPy-only harness, costing single-digit dollars per model. A pilot study involving 864 decisions found claude haiku 4 5 exhibited no demographic effect above sampling noise, with a planted-bias test confirming the instrument's detection capability. The contribution includes a sound, sensitive instrument and an arity matched null methodology, with all code and data openly released.

Key takeaway

For AI Scientists and Machine Learning Engineers developing or deploying LLM agents in sensitive domains like hiring or lending, you must move beyond grading answers to assess fairness in agent actions. AgentFairBench provides a robust, cost-effective instrument for detecting demographic disparity through counterfactual testing. You should integrate such action-based benchmarks into your development lifecycle to ensure your LLM agents do not inadvertently discriminate, utilizing its open-source tools and arity matched null methodology for accurate bias detection.

Key insights

AgentFairBench measures LLM agent action-based discrimination using counterfactual demographic signals across key domains.

Principles

Method

AgentFairBench evaluates LLM agent actions using synthetic, demographic-neutral profiles with name-coded race x gender variations across hiring, lending, and medical triage. It computes disparity metrics with a NumPy-only harness.

In practice

Topics

Best for: Research Scientist, AI Architect, AI Engineer, AI Scientist, AI Ethicist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.