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."
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.
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.
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