Same Model, Different People: Numerical Execution Contracts and the Reproducibility of Fairness Audits

Erzheng Zhang, Agnes ChuarXiv 2026 · arXiv

TL;DR

Fairness audits often treat machine learning models as fixed mathematical functions, but this paper reveals that the underlying arithmetic—determined by hardware, software stacks, and numerical precision—is a hidden variable that can flip decisions and alter audit verdicts. By varying "numerical execution contracts" across different GPUs and precisions, the authors demonstrate that while standard precision changes rarely reverse audit conclusions, reduced-precision deployment (like FP8) can significantly shift fairness metrics, sometimes even turning a "fail" into a "pass."

What Problem Does This Paper Address?

In a fairness audit, a model's scores are compared against a threshold to make binary decisions (e.g., "approve loan" or "flag for readmission"). Because these thresholds are sharp, tiny changes in a score can change the outcome for an individual.

The authors argue that a model is not just its weights; it is the combination of weights and the numerical execution contract—the specific way arithmetic (rounding, precision, order of operations) is performed. Current auditing standards ignore this. If an auditor validates a model on their local workstation using FP32 but the model is deployed on a cloud server using FP8 or TF32, the "same" model might produce different decisions for people near the decision boundary, potentially invalidating the original fairness guarantees.

Methods

The study introduces a two-tier framework to isolate these effects:

  • Tier 1 (Causal Test of Arithmetic): Keeps model weights byte-identical but varies how products and sums are computed (e.g., comparing strict IEEE FP32 vs. NVIDIA’s TF32).
  • Tier 2 (Configuration Test): Uses common deployment configurations like BF16, FP8, and 8-bit quantization. These involve rounding weights and changing computational kernels, representing the "real-world" shift from development to production.

The authors audited three tabular model families (Logistic Regression, MLP, Gradient-Boosted Trees) and two large language models (Qwen 4B and Mistral 24B) across hardware from NVIDIA, AMD, and Apple. They evaluated these models using a variety of fairness metrics, including demographic parity, equalized odds, and the "four-fifths rule."

Table 1. Execution contracts. Every contract ran twice, in separate processes (the 4B model’s FP64 reference twice on one task and the 24B model’s strict FP32 reference on two, once on the others). Both language models’ weights are stored in BF16, so their BF16 contracts keep them unchanged; they also change the attention kernel (SDPA or vLLM’s own), where Tier 1 uses eager attention.

Datasets

The study utilizes four public tasks commonly used in fairness research:

  • ACSIncome & ACSEmployment: Derived from US Census Bureau data (Folktables), predicting income levels and employment status.
  • HMDA: California home-purchase loan records, reproducing past lending decisions.
  • Diabetes 130-US: A clinical dataset predicting 30-day hospital readmission.
Table 2. Tasks and frozen models. Positive: the test base rate. Test AUC is computed from FP64 reference scores. Thresholds are frozen before test scoring: ACS uses 0.5, and from FP64 training scores HMDA approves the training approval share and Diabetes flags the top 10%. LLM: the 4B model’s AUC and the share of test records it selects at the prespecified threshold under FP64.

Key Insights and Ideas

  • Individual-Level Arbitrariness: Even in Tier 1 (pure arithmetic changes), decisions flipped for individuals near the threshold. Interestingly, which individuals flipped depended on the specific GPU and its software stack. For example, TF32 on an NVIDIA H100 flipped a different set of people than TF32 on an RTX 4090.
  • Quantization as an Unintentional "Fairness Hack": In Tier 2, serving the 24B Mistral model with vLLM FP8 actually caused it to pass an employment-status audit that it failed in strict FP32. Its demographic-parity gap dropped from 0.0567 to 0.0417. This wasn't because FP8 is "fairer," but because the numerical shift happened to move group statistics in a favorable direction.
  • The Stability Protocol: The authors propose that auditors should declare their "admissible contracts" (hardware/precision settings) upfront and report a stability interval—the range of a fairness statistic across different execution environments—rather than a single point estimate.

Key Results

  • Decision Flips: For the 4B LLM, moving from FP64 to TF32 on NVIDIA GPUs changed approximately 40 decisions out of ~204,000. In contrast, Tier 2 configurations (like FP8) changed thousands of decisions (up to 4.1% of the dataset in some cases).
  • Verdict Changes: While Tier 1 arithmetic changes rarely reversed pass/fail verdicts under standard unweighted tests, Tier 2 deployment configurations changed 6 out of 17 pass-fail verdicts that were near the diagnostic threshold.
  • Hardware Divergence: The study found a pooled Jaccard index of only 0.38 for decision flips between different NVIDIA GPU generations, highlighting that numerical nondeterminism is deeply tied to specific hardware architectures.
Table 3. Decisions changed against FP64 at the prespecified threshold, run 1 (run 2 changed the same records in every cell). LLM: the 4B classifier; BF16 and vLLM on the H100; MI350X: PyTorch’s TF32 setting, BF16 and FP8 on the AMD GPU. MLP: the tabular MLP, with the same TF32 counts on the three NVIDIA GPUs; the MI350X’s TF32 setting changed none. Strict FP32 changed none for any model. 24B: the second model on the H100, four tasks pooled, against its strict FP32 reference.

Limitations and Future Work

The authors acknowledge several limitations:

  • Scope: The census and lending tasks were limited to one state and one year.
  • Model Size: While they included LLMs, the tabular models were relatively small.
  • Zero-Shot LLMs: The LLMs were used as zero-shot classifiers; results might differ for fine-tuned models.
  • Clinical Realism: The Diabetes task used coarse race categories and lacked clinical deployment data.

Future work could explore how these numerical effects interact with model training (e.g., "numerical noise" during backpropagation) and whether certain model architectures are inherently more robust to execution-contract shifts.

Summary updated

Abstract

Fairness audits treat a trained model as a fixed decision function, but the arithmetic that evaluates it is part of that function. This study holds the model, records, threshold and audit code fixed and varies the numerical execution contract in two tiers. Tier 1 changes only how products and sums are computed, with the serialized weights byte-identical, and is the causal test of arithmetic. Tier 2 runs reduced-precision deployment configurations (BF16 compute, FP8 and 8-bit weights), which can also round weights and change engines and kernels, so its effects belong to the configuration. It audits three tabular model families and two open-weight language models (4B and 24B parameters) on four public tasks, including hospital readmission, on CPUs and GPUs from NVIDIA, AMD and Apple. Tier 1 changed decisions near the threshold, and which ones depended on the GPU and its software stack, but no verdict under the prespecified, unweighted tests. Tier 2 configurations changed more decisions and some diagnostic verdicts, but no four-fifths verdict. Serving the 24B model with vLLM FP8 selected 54% of people rather than 45% and passed an employment-status audit by sex that its strict FP32 reference failed: its demographic-parity and equalized-odds gaps fell from 0.0567 and 0.0515 to 0.0417 and 0.0394, against a diagnostic tolerance of 0.05. At the reference's selection count FP8 failed demographic parity, and no reading gave its equalized-odds change a paired interval excluding zero. The declared audit depends on the configuration; FP8 is not shown to be fairer. At the frozen thresholds, every pass-fail verdict a configuration changed had a sampling interval containing its criterion. It proposes an audit stability protocol in which the auditor declares contracts, groups, weights and tests before scoring and records each verdict's range over them apart from its sampling uncertainty.
BibTeX
@misc{zhang2026same,
  author = {Erzheng Zhang and Agnes Chu},
  title = {{Same Model, Different People: Numerical Execution Contracts and the Reproducibility of Fairness Audits}},
  year = {2026},
  eprint = {2611.23657},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23657},
}
Figure