Abstract
Algorithmic Recourse (AR) aims to provide users with actionable steps to overturn unfavourable decisions made by machine learning predictors. However, these actions often take time to implement (e.g., getting a degree can take years), and their effects may vary as the world evolves. Thus, it is natural to ask for recourse that remains valid in a dynamic environment. In this paper, we study the robustness of algorithmic recourse over time by casting the problem through the lens of causality. We demonstrate theoretically and empirically that (even robust) causal AR methods can fail over time except in the -- unlikely -- case that the world is stationary. Even more critically, unless the world is fully deterministic, counterfactual AR cannot be solved optimally. To account for this, we propose a simple yet effective algorithm for temporal AR that explicitly accounts for time under the assumption of having access to an estimator approximating the stochastic process. Our simulations on synthetic and realistic datasets show how considering time produces more resilient solutions to potential trends in the data distribution.
Introduction
Imagine a scenario where a loan application is denied. The bank’s AI provides recourse: "If you obtain a Master’s degree, your application will be approved." However, earning a degree takes years. By the time the applicant reapplies, economic conditions, inflation, or the bank's internal models may have shifted. This "temporal gap" is often ignored in standard Algorithmic Recourse (AR) research, which typically assumes a stationary world.
This paper addresses the fragility of recourse in dynamic environments. We argue that because actions take time, the underlying data distribution may evolve, rendering static advice obsolete. We formalize this using causal models and propose a time-aware framework to ensure recourse remains valid even as the world changes.
Methodology
We frame the problem using Structural Causal Models (SCMs) to capture how features like income or education influence outcomes over time. We adapt the TiMINo (Time series Model with Independent Noise) framework to describe state evolution across discrete time steps.
Temporal Causal AR (T-SAR)
We define recourse as an intervention intended to be valid at a future time $t + \tau$. Our proposed algorithm, T-SAR, differs from standard robust methods. Instead of protecting against arbitrary small perturbations (e.g., using an epsilon-ball), T-SAR uses an estimator to forecast the user’s future state. It then identifies an intervention robust to that specific forecasted region.
Experimental Setup
We evaluated our approach on synthetic Additive Noise Models (ANMs) and modified real-world benchmarks: Adult, COMPAS, and Loan. These datasets were augmented with synthetic temporal trends to simulate aging and shifting economic conditions.
Key Insights
Our analysis reveals several critical points:
- Robustness vs. Resilience: Static robustness is insufficient against consistent trends. If the world moves steadily (e.g., rising cost of living), a static "safe zone" will eventually be bypassed.
- The Impossibility of Perfect Individual Recourse: In a non-deterministic world, predicting future random "noise" perfectly is impossible. Thus, we can only provide optimal recourse for sub-populations rather than guaranteed individual outcomes.
- Time as a Causal Factor: Time is not just a timestamp; it influences the causal impact of actions. The effect of an intervention depends on the time it is completed.
Key Results
We compared T-SAR against standard methods: Counterfactual AR (CAR), Sub-population AR (SAR), and Independent Manipulable Features (IMF).
As shown in Figure 5, the validity of standard methods decays significantly in non-stationary environments. In the "Loan" dataset, the success rate of the SAR method plummeted to approximately 39% over time. In contrast, our proposed T-SAR maintained a validity of approximately 72% after 100 time steps by correctly accounting for trends in variables like income.
Conclusion
The passage of time is a fundamental challenge in algorithmic recourse. While T-SAR offers a more resilient solution by forecasting trends, it remains dependent on the accuracy of its underlying estimator. Future work should address data scarcity for temporal modeling and explore scenarios where both the world and the decision-making models evolve simultaneously.
Summary updated