Skip to content

FairMedAgent: stochastic noise floor in fairness audits of clinical LLM agentsInstability Floors: Separating Bias from Noise in Fairness Audits of Clinical LLM Agents with FairMedAgent

Paper Tracker· arXiv:2609.03221· Rohith Reddy Bellibatlu, Manpreet Singh, Deepak Parashar, Rahul Joshi·Indexed by this site · 2026-10-03· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

Using FairMedAgent, the authors measured that clinical agents still change actions when input is unchanged, and this instability floor must be interpreted before demographic flip rates.

Questions
Counterfactual fairness audits of clinical language model agents use flip rates to measure whether actions change when demographic descriptors change, but random sampling itself changes actions even when input is unchanged. Without first measuring this instability floor, flip rates cannot distinguish demographic effects from self-inconsistency.
Methods
FairMedAgent freezes the clinical narrative, changes only a single fixed-syntax descriptor line, and runs the six-stage trajectory. It repeatedly samples on the reference condition and estimates the floor for each binary action using the pairwise reproduction inconsistency rate; for binary actions, under no demographic effect the expected flip rate equals the floor, and an effect adds only its square.
Experiments and results
The main model haiku-4.5 across 16 synthetic vignettes, default sampling, ten repetitions has an aggregate floor of 8.7% (374/4320), with six models ranging from 2.5% to 23.7%. The authors state that in this panel, vendor, size, and deployment method do not order floors. Five-way majority voting removes 39% of the main model's floor; three of four local models have floor 0 at temperature 0, while the hosted endpoint retains a residual.
Limitations and future work
The authors note: synthetic vignettes cannot be extrapolated; decoding of hosted endpoints is undocumented and identity not independently verified; acceptable action bands lack completed clinical adjudication, and this paper does not report gap estimates. Measurements cover six models and 16 vignettes, and the demographic comparison is only a single-sample descriptive pilot.
Experimental setupclaude-haiku-4-5、claude-sonnet-5 et al. · FairMedAgent、16 synthetic clinical vignettes et al. · instability floor、counterfactual flip rate (CFR) et al.
Evaluated models
claude-haiku-4-5claude-sonnet-5llama3.1:8b-instructmistral:7b-instructqwen3:4bphi3:miniopenai/gpt-oss-20b
Benchmarks
FairMedAgent16 synthetic clinical vignettessix-stage clinical trajectory
Metrics
instability floorcounterfactual flip rate (CFR)Spearman ρ
AI summaryThe researchers propose FairMedAgent, a testing framework for measuring the stochastic flip floor in counterfactual fairness audits of clinical LLM agents. Under default sampling, running the same condition ten times on 16 synthetic vignettes, agent actions change in 8.7% of repetition pairs, ranging from 2.2% for intensive care escalation to 17.9% for controlled substance caution prompts. Across six models from five vendors, the pooled floor ranges from 2.5% to 23.7%, with no ordering relationship by model size, vendor, or hosting method. The floor is affected by decoding configuration; majority voting over five samples eliminates 39% of it (95% CI 18 to 64); with temperature set to 0, three of four locally deployed models no longer show disagreement, but one hosted model still does. The authors note that under the no-demographic-effect hypothesis, the expected flip rate for binary actions equals this floor, and true effects contribute only its square, so flip rates within the floor cannot serve as evidence of fairness, and direction requires a signed paired test.

The researchers propose FairMedAgent, a testing framework for measuring the stochastic flip floor in counterfactual fairness audits of clinical LLM agents. Under default sampling, running the same condition ten times on 16 synthetic vignettes, agent actions change in 8.7% of repetition pairs, ranging from 2.2% for intensive care escalation to 17.9% for controlled substance caution prompts. Across six models from five vendors, the pooled floor ranges from 2.5% to 23.7%, with no ordering relationship by model size, vendor, or hosting method. The floor is affected by decoding configuration; majority voting over five samples eliminates 39% of it (95% CI 18 to 64); with temperature set to 0, three of four locally deployed models no longer show disagreement, but one hosted model still does. The authors note that under the no-demographic-effect hypothesis, the expected flip rate for binary actions equals this floor, and true effects contribute only its square, so flip rates within the floor cannot serve as evidence of fairness, and direction requires a signed paired test.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The flip rate is contaminated by the agent's self-inconsistency on the same input; this lower bound must be measured before auditing.

    When counterfactual fairness audits of clinical language model agents report flip rates, part of those flips come from self-inconsistency on unchanged inputs, not from demographic descriptors.

    • Scenario: The authors note that clinical AI is moving from single-turn answers to agents that plan, call tools, and act sequentially; harm lands on actions (triage, tests, medications, disposition), and one-step deviations can propagate to later steps. Existing fairness audits evaluate single-turn responses, and clinical agent benchmarks measure capability; neither has an acceptable-action band separating defensible choices from wrong ones.
    • Existing gap: Counterfactual audits replace demographic descriptors while clinical content is fixed, then check whether actions change. The authors argue that under default sampling, agents also change actions on identical inputs; without measuring this baseline first, flips in descriptor contrasts cannot separate demographic effects from self-inconsistency. Stable aggregate distributions can coexist with frequent case-level flips.
    • Core observation: For binary actions, under no demographic effect the expected flip rate equals the instability floor measured under the compared conditions, and a true effect adds only its square (Eq. 2). A flip rate within the floor is not evidence of "no effect"; direction must be tested with a signed paired test.
    • What is proposed: The authors measure per-action floors on six models, give a four-step reporting procedure, and release the evaluation suite FairMedAgent (protocol, vignettes, and analysis scripts). The authors state that this paper reports no gap estimates; the floor is a prerequisite for interpreting subsequent estimators.
  2. What related research exists?

    Existing audits measure flips or capability, but none report the per-action self-inconsistency rate alongside the flip rate.

    Bias in clinical language models

    • Omiye et al. [7], Zack et al. [8], Adam et al. [12], Pfohl et al.'s EquityMedQA [13], Hastings [14], Yang et al. [15]: document racial medical misconceptions, stereotyped assessments and plans, race identification from de-identified records, fairness harms in adversarial medical QA, and persistent bias in reasoning models.
    • CLIMB [16], counterfactual patient variants for diagnosis [17], EQUITRIAGE [18]: fix clinical content and vary protected attributes. Omar et al. [9] vary 31 sociodemographic labels across 1,000 emergency cases and report systematic differences in acuity, imaging, and mental health referrals; the main analysis evaluates only one generated recommendation or decision per case. They also rerun 100 vignettes five times on nine models, finding no significant differences between repetitions on four questions. The authors argue that a stable distribution can still coexist with frequent per-case flips, and the flip rate is what is compared against the latter.

    Agents and benchmark infrastructure

    • AgentClinic [19], MedAgentBench [20], DRAGON [21], MedS-Bench [22], MedHELM [23]: measure clinical capability or accuracy. The authors argue that demographic gaps in actions are not within their design goals.
    • AgentFairBench [31]: the authors' own general agent action fairness benchmark, sharing no vignettes, runs, or reported numbers with this paper. The authors argue that neither it nor the capability benchmarks above have acceptable action bands, and the floor and Eq. 2 do not depend on such bands.

    Run-to-run variation

    • Atil et al. [24], Ouyang et al. [25], Yuan et al. [26], Mizrahi et al. [27], Shyr et al. [28]: accuracy swings under repeated runs, code generation uncertainty, floating-point reduction and batch composition, prompt templates, and reproducibility frameworks in medicine. The authors explicitly state that this paper is not about discovering such instability.
    • Same-team same-input rerun study [30]: replays MedAgentBench with fixed inputs, comparing agent-submitted orders across five runs, noting that action-level divergence can go unrecorded by benchmark scores. It shares no runs, tasks, or measurements with this paper, and targets capability benchmarks rather than fairness audits. Majority-vote aggregation comes from Wang et al.'s [29] self-consistency, used here to characterize variance rather than improve accuracy.

    Baselines and positioning

    • Table 1 compares AgentFairBench, same-input reruns, Omar et al., EQUITRIAGE, EquityMedQA, and the capability benchmarks above, with axes of multi-step agents, counterfactual demographic design, LEP, intersectionality, real patients, and whether per-action floor is reported. The authors state that no listed audit reports per-action floor alongside flip rates.
    • The authors position the contribution as: reporting, on the same system being audited, the rate at which discrete actions change when nothing changes, and writing out its relationship to demographic inconsistency (Eq. 2); not the observation itself that "language models are stochastic."
  3. How does the paper address this problem?

    Freeze clinical content, repeatedly run the reference condition, estimate the floor with pairwise disagreement rate, then interpret flip rates per Eq. 2.

    FairMedAgent is a metamorphic descriptor-replacement audit: the clinical narrative is frozen, tool-result fixtures do not depend on the condition, and descriptors are the only designed difference between conditions. What this paper actually measures is the per-action instability floor on the reference condition and what it means as a reference for flip rates.

    Trajectory and conditions

    • Six stages: each vignette goes through (i) triage (ESI acuity, urgency), (ii) ordering, (iii) an environment step with no model calls, (iv) reassessment (admission, ICU upgrade), (v) prescribing (analgesia tier, controlled-substance caution), (vi) documentation (referral, follow-up). Each vignette–condition has five model calls; the stage order is fixed, and the model does not choose the path.
    • Attribution: before the environment step, inputs are identical except for descriptors. After it, the fixed-result fixture ρ(v) depends only on ordered items and the vignette, not on the condition; conditions see identical results only when ordering matches. When ordering itself flips, later information differs, and the authors call this path a propagation channel rather than a confounder to remove. Floors at later stages measure cumulative trajectory instability, not conditional instability at that stage.
    • Descriptors: each condition changes only one line, with fixed syntax and matched word count. Attributes follow PROGRESS-Plus: a combined race-and-ethnicity slot, sex, age, insurance, limited English proficiency (LEP), plus two specified intersectional cells. The authors state this is a test of string invariance, not a causal counterfactual on a structural causal model. Clinically confounded attribute×task pairs are prespecified and excluded from bias claims.
    • Control arms: identical re-rendering, a sham-attribute arm, and a rare-token arm. The authors state their purpose is to upper-bound residual surface-form sensitivity.

    Outcomes, floor, and Eq. 2

    • Six binary outcomes (Table 2): ICU upgrade, admission, high acuity (ESI ≤ 2), any opioid (analgesia tier ≥ 2), controlled-substance caution, referral. Missing or unparseable fields are marked missing, and pairwise comparisons containing missing reproductions are dropped. Ordinal and continuous outputs do not enter the reported flip rates.
    • CFR: the counterfactual flip rate for contrast (c0,c) is the proportion of vignettes where the binary action differs (Eq. 1). The floor is the mean of that indicator over all reproduction pairs on the reference condition; at R=10 each vignette–action cell contributes 45 comparisons. If k of R samples are positive, the estimate is k(R-k)/\binom{R}{2}, unbiased for 2p(1−p).
    • Eq. 2: write dv=1/2[fv(c0)+fv(c)]+δv2, where δv is the difference in action probabilities between the two conditions. The authors give three conclusions: under zero effect, the floor of either condition is the expected flip rate, but the excess equals δv2 only when the floor is averaged over both conditions; the excess is quadratic, so a probability shift of 0.1 adds only 0.01 to the expected flip rate, and falling within the floor is not evidence of no effect; estimating case-level effects requires repeated sampling per condition, while aggregate directional differences can be tested with an exact McNemar test using one sample per condition. This paper's floor is measured only on the reference condition, and all comparisons with demographic contrasts are descriptive.
    • Quantities not computed: the suite implements mean absolute score difference, signed action-rate gaps, and WCFR, which is computed only when both actions fall within the acceptable band. The authors state that none of these quantities are computed in this paper; without a band, the suite refuses to compute WCFR rather than substituting an unadjudicated band.

    Sample, models, and statistics

    • Vignettes: 300 synthetic vignettes cover four action domains; the floor study uses 16 of them, selected by design rather than screened for instability: one original draft per domain, plus one clear, one intermediate, and one borderline case per domain. The authors state that inference is conditional on these fixed cases and cannot be extrapolated without a sampling process.
    • Models: A is claude-haiku-4-5 (main model), B is claude-sonnet-5 as reported by the invocation layer; C–F are locally served Ollama models llama3.1:8b-instruct, mistral:7b-instruct, qwen3:4b, phi3:mini. A seventh local model, glm-4.7-flash, was discarded because completions were unavailable. openai/gpt-oss-20b is used only for the decoding check in Sec. IV-D. All six models use provider default sampling; A and B are invoked through the Claude Code runtime, which does not expose sampling parameters, so decoding is neither set nor recorded. The authors report A and B results as endpoint observations under unrecorded decoding, not as verified properties of the named models.
    • Statistics: confidence intervals are nonparametric percentile bootstrap clustered by vignette (5000 resamples, fixed seed), with N counting independent vignettes rather than API calls. Cross-model ranking agreement uses Spearman correlation on median ranks with exact permutation p-values; the 15 pairwise p-values are not corrected, and the authors call them descriptive. Majority voting prespecifies R=5. Local models retry once at temperature 0.2 if output does not match the step schema, otherwise mark missing; these retries are not recorded in default-sampling runs, and their frequency is unknown.

    Reporting procedure

    • Four steps (Sec. V-A): measure the floor on the decoding configuration actually run in the audit; report per action rather than only one aggregate number; interpret demographic contrasts alongside the floor measured under the same configuration, and do not treat flip rates within the floor as evidence of no effect; test direction with signed tests rather than flip counts.
    • The authors plan to release a pip-installable suite containing the trajectory, floor protocol, and analysis scripts behind this paper's numbers. Reporting follows an adapted TRIPOD-LLM.
  4. What experiments did the paper conduct?

    Six-model aggregate floor ranges from 2.5% to 23.7%; after changing decoding configuration the floor drops substantially, with residual floor remaining at hosted endpoints.

    Experimental setup

    • Models: Main panel is claude-haiku-4-5 (A), claude-sonnet-5 (B), llama3.1:8b-instruct (C), mistral:7b-instruct (D), qwen3:4b (E), phi3:mini (F). gpt-oss-20b appears only in the temperature 0 control. glm-4.7-flash was discarded.
    • Cases and repetitions: The floor uses 16 synthetic vignettes and six binary actions. A, C, D, E use R=10 (45 pairs, 720 comparisons per action); F also uses R=10, but controlled-substance caution has 702 comparisons (one missing reproduction in each of two vignettes); B uses R=6 due to hosting cost limits (240 per action). The demographic pilot uses four vignettes, one sample per cell.
    • Metrics: Aggregate and per-action instability floor; 95% vignette-clustered bootstrap intervals; Spearman ρ for action rankings. The authors state explicitly that this paper claims no gap estimates.
    • Decoding: Six models use provider default sampling. Local models run on Ollama 0.34.3 on one RTX 4050, with no temperature set in the Modelfile. Sampling parameters for A and B are not recorded.

    Main results

    From Table 3 (same aggregate floors as Figure 2):

    Swipe horizontally to read the table

    ModelRAggregate floor [95% CI]Most unstable action
    qwen3:4b100.025 [0.004, 0.055]CS caution
    sonnet60.067 [0.037, 0.096]CS caution
    haiku-4.5100.087 [0.056, 0.117]CS caution
    mistral:7b100.095 [0.068, 0.126]high acuity
    llama3.1:8b100.215 [0.181, 0.248]high acuity
    phi3:mini100.237 [0.194, 0.284]referral
    • The main model's aggregate floor is 0.087 (374/4320). The authors state that per-action point estimates differ by roughly eightfold: ICU upgrade about once in fifty comparisons (2.2%), controlled-substance caution close to once in five (17.9%); the difference is 0.157 (95% CI [0.051, 0.269]). Removing controlled-substance caution, the main model's aggregate floor is 0.068 ([0.036, 0.101]), and the six-model ranking is unchanged.
    • The authors state that in this panel, public size, vendor, and deployment method do not monotonically order floors: the smallest public models, qwen3:4b (4B) and phi3:mini (3.8B), sit at opposite ends. This is an observation about this panel, not a test of whether attributes generally predict floors. Paired bootstrap intervals separate 12 of 15 model differences from zero; those not separated are haiku vs. mistral, sonnet vs. mistral, and llama3.1 vs. phi3.
    • The authors consider that controlled-substance caution has no operational standard, and its high floor may partly come from construct ambiguity; this reading cannot be separated from "genuinely contested judgment." It is the most unstable action for three of six models. The authors therefore report its floor as the reproducibility of an underspecified output.

    Cross-model ranking by action

    • The two-cluster structure seen at six repetitions no longer holds after four more repetitions on five of the models. At the final repetition count, the only nominal p<0.05 ranking correlation is haiku-4.5 vs. sonnet (ρ=0.94, p=0.017); this p is not corrected for 15 comparisons and is no longer significant after Benjamini–Hochberg adjustment. The authors do not claim this is a vendor effect.
    • llama3.1:8b vs. phi3:mini ρ drops from 0.89 (p=0.033) to 0.83 (p=0.058). llama3.1:8b's most unstable action changes from referral at six repetitions to high acuity at ten.
    • Across 16 vignettes, only admission ([0.051, 0.242]) and CS caution ([0.064, 0.296]) intervals exclude 0 for the main model; sonnet only has CS caution ([0.067, 0.333]). The authors state that what holds at this point is the aggregate magnitude per model, the separation of the most and least stable actions on the main model, and cross-model comparison of aggregate floors; they make no claims about exact ranks of intermediate actions.

    How much floor decoding configuration removes

    • Four local models at temperature 0, R=5: llama3.1:8b, mistral:7b, and qwen3:4b have floor 0 (0/400 calls retried); phi3:mini drops from 0.238 to 0.027 (95% CI 0.000–0.058) on the 15 vignettes complete in both rounds, an 89% reduction (Table S13). The authors state they have no explanation for the residual.
    • gpt-oss-20b via the Groq API (low reasoning effort, temperature 0, R=5) is still inconsistent in 22/960 comparisons (floor 0.023, 95% CI 0.000–0.052), appearing only in referral and admission; 400 calls report 48 distinct system fingerprints. On the same 15 complete vignettes, the floor at temperature 1.0 is 0.100 and drops to 0.024 at temperature 0, a 76% reduction (95% CI 43–100%).
    • Main model majority voting: floor goes from 0.087 with single sampling to 0.063 at R=3 and 0.053 at R=5, removing 39% (95% CI 18–64%; Figure 4). Removing CS caution gives a 53% reduction; on four local models, 8%–47%. The authors state that the remainder is consistent with fitted ordinary sampling noise, and this is a model check rather than independent validation; at R=5 most of the floor remains, and three aggregation depths do not support extrapolation to zero.

    Other ablations and analyses

    • Demographic pilot: four vignettes, one sample per cell; the zero-contrast with identical descriptors flips 5/24 cells. Four of five demographic contrasts flip less than that arm, two less than a quarter of it, and the largest exceeds it by only one cell. The smallest two-sided exact McNemar p among the four inconsistent pairs is 0.125. The authors state that without the zero arm, the Black-woman-on-Medicaid row at 6/24 would be read as the first demographic finding; the reference arm's defect means those two cells that had looked different no longer hold. The authors claim no effect.
    • Prevalence normalization: ratio to 2p̄(1−p̄), the main model ranges from 0.05 for any-opioid to 0.42 for CS caution; A and B agree on who ranks first. 75/96 vignette–action cells give the same conclusion each time.
    • Four-vignette early results: aggregate floor 0.136 ([0.063, 0.209], G=4), with a different ranking from Figure 3. The authors state that the 16-vignette estimate fluctuates less but has not converged.
    • Continuous proxy: a discrete proxy tracking urgency for acuity flips across four vignettes reverses direction on 16 vignettes. The authors state they found no mechanism that still holds and make no case-difficulty claims.
  5. What are some points that can be further explored?

    The authors state that synthetic cases cannot be extrapolated, the decoding and identity of the hosted endpoint were not verified, and gap estimates have not yet been computed.

    Limitations and future directions noted by the authors

    • Extrapolation (Sec. V-B): inferences are conditional on these fixed synthetic vignettes; without a defined sampling process, extrapolation to a broader population is not possible. The authors plan to release real-case segments after clinical review.
    • Endpoint identity and decoding (Sec. V-B): the hosted identities of A and B are not independently verified, and decoding parameters are undocumented; whether temperature 0 via vendor APIs eliminates their floor has not been tested. The schema retry frequency for local models is unknown.
    • Adjudication and uncomputed quantities (Sec. III-C, V-B): one geriatrician reviewed four draft action bands, but signed attestation has not been returned, and each band remains the authors' own; no number in this paper depends on it. WCFR, signed gaps, LEP and intersectional axes, and cross-step propagation are all defined in the suite but not computed, except for a descriptive LEP comparison from a single-sample pilot.
    • Evidence scope (Sec. V-B): every measurement is a bare-model, component-level audit. The authors believe that assurance claims about deployed systems refer to the infrastructure released in this paper, not to things already proven by this paper's results.
    • Magnitude and methods (Sec. V-B, Conclusion): with 16 vignettes, per-action intervals are wide, and intermediate rankings do not hold. The authors believe future work is to estimate per-case effects on a larger case set and to combine the floor with acceptable action bands. Three reasoning scaffolds are implemented, but no result in this paper distinguishes them.

    Experimental coverage

    • The main panel is six models from five vendors, plus gpt-oss-20b used only for decoding checks; measurements use 16 synthetic vignettes, and the remaining ones of the 300 are not used for this paper's numbers (Sec. III-C, IV).
    • Demographic data is only a descriptive pilot with four vignettes and one sample per cell; the authors report zero-contrast flips of 5/24 and state that at this point no test can detect or rule out effects (Sec. IV-E).
    • Decoding interventions cover temperature 0 for four local models, majority voting for the main models, and a gpt-oss-20b comparison at temperature 0 and 1.0; temperature 0 for A and B via vendor APIs is untested (Sec. IV-D).
    • The paper reports bootstrap resampling counts (5000) and fixed seeds; the number of schema retries for local models in default sampling runs is not recorded (Sec. III-C).
    • The suite defines acceptable action bands, WCFR, LEP and intersectional estimates, and propagation comparisons; the authors state these capabilities are released but not computed in this paper, marked with hollow circles in Table 1 (Sec. II, III-B).
  6. Summarize the main content of the paper

    First measure the action disagreement rate under the same input, then use it to interpret demographic flip rates; this paper measures this floor, not the gap.

    FairMedAgent isolates the sampling noise in clinical agent fairness audits: actions still change when the input is unchanged, and this rate is the lower bound for interpreting flip rates.

    • Problem: Counterfactual audits use flip rates to measure "how much actions change when only demographic descriptors change." A stochastic agent also changes actions when nothing changes. Without measuring this baseline first, a single flip cannot distinguish descriptor effects, self-inconsistency, or both.
    • Approach: Freeze the clinical narrative, fix the six-stage trajectory, and repeatedly sample on the reference condition. For six binary actions, estimate the floor using the pairwise reproduction inconsistency rate. For binary actions, under no demographic effect the expected flip rate equals the floor under the compared conditions, and an effect adds only its square; falling within the floor is not evidence of no effect, and direction requires a signed paired test.
    • Results: haiku-4.5 across 16 vignettes, default sampling, ten repetitions has an aggregate floor of 8.7% (374/4320), ranging across actions from 2.2% for ICU upgrade to 17.9% for controlled-substance caution. Across six models, floors range from qwen3:4b's 2.5% to phi3:mini's 23.7%; the authors state that public size, vendor, and deployment method do not order this column. Five-way majority voting removes 39% of the main model's floor (95% CI 18–64%). Three local models have floor 0 at temperature 0, and phi3:mini drops 89%; gpt-oss-20b remains at 0.023 at temperature 0.
    • Authors' conclusions: The floor describes a model under a given decoding configuration; audits must measure it on the configuration actually run and report per action. A floor or ranking on one system does not substitute for another. This paper does not report demographic gaps; in a single-sample pilot, one row looked like a demographic finding but did not hold up without a control arm with identical re-rendering.
Read originalarxiv.org