Fairness in Forecasting of Observations of Linear Dynamical Systems

Quan Zhou, Jakub Marecek, Robert Shorten

Abstract

Predictive models increasingly govern critical societal functions, yet they often suffer from a "majority rules" bias where under-represented subgroups are marginalized to minimize global error. While fairness in static classification is well-studied, time-series forecasting remains an underdeveloped area. This paper explores a framework for ensuring fairness in forecasting observations within Linear Dynamical Systems (LDS). By introducing Subgroup and Instantaneous Fairness metrics and utilizing non-commutative polynomial optimization, we demonstrate that models can be trained to protect minority group accuracy without necessarily compromising overall performance.

Introduction

Modern decision-making relies heavily on predictive engines for tasks ranging from credit scoring to recidivism risk assessment. However, these models frequently prioritize the patterns of majority groups to minimize aggregate loss, leading to significant inaccuracies for minority populations. This "under-representation bias" is particularly problematic in time-series forecasting, where observations evolve dynamically and biases can compound over time. This research addresses the challenge of fairness in Linear Dynamical Systems (LDS), providing a rigorous mathematical foundation for equitable forecasting.

Problem Statement: Under-Representation Bias

Standard machine learning objectives typically minimize the average loss across all training instances. In a dataset where one group (Group A) significantly outnumbers another (Group B), a model can achieve high overall accuracy by optimizing exclusively for Group A's dynamics. In dynamic systems, this means the unique trajectories of Group B are treated as noise. For example, in insurance pricing, a model trained on a 90% male demographic may fail to accurately forecast mortality or risk for female policyholders. The goal of this work is to integrate fairness directly into the optimization objective to ensure the model accounts for all subgroups.

Methodology

Linear Dynamical Systems (LDS)

The research models data using state-space representations where a hidden internal state evolves over time, producing observable outputs. The challenge lies in learning the parameters of these systems in a way that balances accuracy across disparate groups.

Fairness Metrics

Two distinct notions of fairness are proposed:

  1. Subgroup Fairness: This metric aims to equalize the average loss across different identified subgroups, ensuring that no single group bears a disproportionate share of the forecasting error.
  2. Instantaneous Fairness: A more stringent "minimax" approach, this seeks to minimize the maximum loss occurring at any specific time point for any group, preventing localized spikes in error that could lead to unfair individual outcomes.

Global Optimization via NCPOP

Learning LDS parameters is a non-convex problem, often resulting in local sub-optimal solutions when using standard gradient-descent methods. To guarantee fairness, the authors employ Non-Commutative Polynomial Optimization (NCPOP). This approach transforms the learning problem into a hierarchy of Semidefinite Programming (SDP) relaxations, allowing for the discovery of globally optimal solutions. To maintain computational feasibility, the TSSOS technique is utilized to exploit term-sparsity in the underlying mathematics, significantly accelerating the solver.

Experimental Evaluation

Synthetic Biased Data

The framework was tested on synthetic trajectories where data from one group was artificially restricted to simulate under-representation. This setup mirrored real-world scenarios such as personalized insurance pricing. The results indicated that while "unfair" models showed massive gaps in Normalized Root Mean Square Error (NRMSE) between groups, the fair models successfully narrowed these gaps.

COMPAS Dataset

The researchers applied their methods to the COMPAS dataset, treating "days before re-offending" as a time-series. The proposed fairness-aware LDS models outperformed standard industry benchmarks, such as the AI Fairness 360 toolkit, in terms of "Independence" and "Separation" metrics, proving that dynamic modeling can improve upon static post-processing tools.

Key Insights and Results

  • Fairness as Regularization: Interestingly, enforcing subgroup fairness sometimes improved overall model accuracy. This suggests that fairness constraints can act as a form of regularization, preventing the model from over-fitting to the majority group's specific noise.
  • Global vs. Local Optima: The use of NCPOP proved essential; standard methods often failed to find the truly "fair" parameter set because they became trapped in local minima that favored the majority.
  • Efficiency: Despite the complexity of global optimization, the TSSOS hierarchy allowed the researchers to solve these problems in a matter of seconds or minutes, demonstrating the practical viability of the approach.

Limitations and Future Work

While this framework provides a robust starting point, several challenges remain. The current model is limited to Linear Dynamical Systems, whereas many human behaviors are inherently non-linear. Additionally, while TSSOS aids efficiency, the computational cost still scales with the length of the observation window. Future research will focus on extending these fairness guarantees to non-linear regimes and longer-term historical datasets.

Conclusion

As automated decision-making becomes more pervasive, "fair-by-design" algorithms are critical for maintaining social trust. By framing fairness as a global optimization problem within the context of Linear Dynamical Systems, this research ensures that the "crystal ball" of forecasting remains equitable for all subgroups, regardless of their representation in the training data.

Summary updated

BibTeX
@article{zhou2023fairness,
  author = {Quan Zhou and Jakub Marecek and Robert Shorten},
  title = {{Fairness in Forecasting of Observations of Linear Dynamical Systems}},
  journal = {J. Artif. Intell. Res.},
  year = {2023},
  doi = {10.1613/jair.1.14050},
}
Figure