Traditional algorithmic fairness metrics—such as demographic parity or equalized odds—were originally designed for static classification tasks, like predicting loan defaults or recidivism. In these settings, data points are typically treated as independent and identically distributed (i.i.d.). However, as argued by Cheryl Brooks et al., this i.i.d. assumption creates massive blind spots when applied to physical, ubiquitous systems like ride-hailing, bike-sharing, or predictive policing.
In urban environments, data is inherently bound to space and time. A ride-hailing pricing algorithm or a police patrol allocation model operates over complex geographical networks and shifting temporal patterns. As Nripsuta Ani Saxena et al. point out, standard fairness metrics fail to capture how spatial location interacts with economic necessity and infrastructure availability, leading to unintended penalties for marginalized communities. To achieve true equity in ubiquitous computing, fairness must be re-engineered to account for spatio-temporal dependencies.
The Illusion of Global Averages
Why exactly do traditional metrics fail in a spatial context? The core issue lies in spatial autocorrelation and temporal volatility. If you evaluate a model's fairness by averaging its predictions across an entire city over a month, the model might appear perfectly equitable. However, this global view masks severe localized disparities.
Yiqi Zhao et al. demonstrate that algorithmic bias in smart cities is highly dynamic, fluctuating dramatically across specific hours and neighborhoods. A predictive model for bike-sharing might be fair on average, yet exhibit extreme bias during morning rush hours in lower-income neighborhoods. Because traditional metrics smooth out these micro-level variations, they fail to detect what Cheryl Brooks et al. describe as "black holes"—localized pockets of persistent, unaddressed bias that perpetuate historical inequities through feedback loops.
Redefining Fairness in Space and Time
To resolve this, researchers are moving away from absolute, static definitions of equity toward context-aware, relative metrics. This requires addressing two distinct dimensions: how demographics are distributed across geography, and how physical constraints limit service delivery.
Region vs. Individual Demographics
When demographics are tied to geography, evaluating fairness requires defining the appropriate granularity. An Yan et al. address this by proposing two distinct metrics:
- Region-based Fairness Gap (RFG): This measures disparities based on the dominant demographic attribute of a geographic zone.
- Individual-based Fairness Gap (IFG): This accounts for the continuous distribution of sensitive attributes within those zones, preventing the flattening of regional diversity.
By incorporating per-capita demand alongside these metrics, the authors provide a mathematical framework to quantify whether a model allocates mobility resources equitably across heterogeneous urban populations.
Relative Benchmarks over Absolute Equality
In physical systems, demanding absolute equality in service metrics (such as identical ride-hailing wait times across an entire territory) is often mathematically and operationally impossible due to structural constraints. For example, forcing equal wait times between a sprawling suburb and a dense downtown ignores the physical reality of driver supply.
To solve this, Lin Jiang 0007 et al. propose benchmarking fairness relative to local supply-demand ratios rather than aiming for uniform service metrics. By anchoring fairness to the underlying spatial infrastructure and real-time demand dynamics, the system ensures equitable distribution without forcing unrealistic operational inefficiencies or overriding driver preferences.
Enforcing Fairness Across High-Dimensional Models
Detecting bias is only half the battle; mitigating it requires architectures that can handle high-dimensional dependencies. Traditional resource allocation frameworks often rely on rigid, low-dimensional statistical assumptions that cannot accommodate these complexities, as noted by Isabella Rodas Arango et al.. Modern approaches integrate fairness directly into deep learning, control frameworks, and database queries.
Spatio-Temporal Regularization
An Yan et al. embed custom spatio-temporal fairness regularizers directly into 3D Convolutional Neural Networks (3D CNNs) designed for demand prediction. Because 3D CNNs naturally capture spatial proximity and temporal progression via their kernels, the regularizer can penalize demographic prediction gaps across both dimensions simultaneously. Interestingly, the authors find that guiding the model with these structural constraints can actually improve overall prediction accuracy, as it prevents the network from overfitting to biased historical anomalies.
[3D Historical Data] ---> [3D CNN Layers] ---> [Demand Prediction]
^
| (Joint Optimization)
[Spatio-Temporal Regularizer]
^
[RFG / IFG Fairness Metrics]
Dynamic Logic Monitoring
For real-time systems where conditions shift rapidly, static data adjustments are insufficient. Yiqi Zhao et al. utilize Signal Temporal Logic (STL) within a teacher-student monitoring framework. STL provides a formal mathematical language to express time-varying fairness rules (e.g., "the resource gap between Region A and Region B must never exceed X% for more than 2 consecutive hours"). This allows smart city infrastructure to dynamically monitor and adjust resource allocation on the fly as real-time conditions fluctuate.
Spatial Query Fairness
Fairness must also be guaranteed at the foundational data-retrieval level. Sina Shaham et al. introduce "fair polynomials" as a mechanism to ensure equity during spatial queries. By modifying the underlying mathematical building blocks of location-aware queries, they ensure that downstream applications—such as localized advertising or service dispatching—do not inherit structurally biased spatial data.
As ubiquitous computing continues to integrate into daily life (Sofia Yfantidou et al.), treating fairness as a static checkbox is no longer viable. By redesigning metrics and optimization tools to respect spatial autocorrelation and temporal dynamics, these frameworks ensure that the algorithms managing our physical world distribute resources equitably, neighborhood by neighborhood, moment by moment.
Key Foundational Work
FairST: Equitable Spatial and Temporal Demand Prediction for New Mobility Systems (2019) — contributed 3 concept elements to this direction.
Fairness-Aware Demand Prediction for New Mobility (2020) — contributed 1 concept elements to this direction.