cs.LGNov 20, 2026

The Cross-Context Threshold Test: Detecting Discrimination Under Environmental Shifts

Authors: Jun Yuan, Xinyue Ye

Organizations: Digital Technology for Democracy Lab, University of Virginia · Department of Geography and the Environment, University of Alabama

Abstract

We study how threshold tests for detecting discrimination under environmental shifts, focusing on the Veil-of-Darkness (VoD) setting where visibility changes between daylight and darkness. We show that standard threshold tests, when applied separately to daylight and darkness data, violate key assumptions: risk distributions drift across contexts and thresholds fluctuate arbitrarily. We propose a cross-context threshold test that enforces distributional invariance and monotonic threshold decay. Using New York City stop-and-frisk data and synthetic experiments, we demonstrate that this model yields more reliable thresholds, improves bias detection, and aligns with the counterfactual logic of the VoD test. Our framework generalizes to fairness auditing whenever environmental context influences decisions.

Figures & tables

Explore similar work

CardsList
  1. Tolerance-Based Fairness Auditing: Violation Certification and Sensitivity Screening

    Oct 1, 2026Jie Tang, Chuanlong Xie, Lixing ZhuAlgorithmic AuditingAlgorithmic Fairness

  2. When Post-Processing Fairness Constraints Help and When They Harm: Evidence from Eight Cross-Domain Evaluations

    Sep 22, 2026Nithin Raghava Ramachandra NarlaAlgorithmic AuditingAlgorithmic Fairness

  3. Sequential Fairness Auditing with Limited Output Access

    Jun 29, 2026Ioannis Pitsiorlas, Martha V. Sourla, Marios KountourisAlgorithmic FairnessGroup Fairness