Causal Strategic Classification: A Tale of Two Shifts

Guy Horowitz, Nir Rosenfeld

TL;DR

Traditional strategic classification assumes users "game" the system by changing their features without changing their true underlying state. This paper introduces a framework where user responses can causally change the ground-truth outcome, requiring a new learning approach that balances two distinct types of distribution shifts to maintain predictive accuracy.

What Problem Does This Paper Address?

In many machine learning applications—like loan approvals, university admissions, or spam detection—users are not passive. They strategically modify their features (e.g., opening new credit lines or changing keywords) to obtain a favorable prediction from a classifier.

Standard strategic classification assumes these modifications are purely "gaming": the features change, but the true label $y$ (e.g., whether the user will actually default on a loan) remains fixed. However, in reality, actions taken to change a prediction often have causal effects on the outcome. Improving one's credit score might actually make them less likely to default.

The authors tackle the challenge of training accurate models when the ground truth itself is a moving target, influenced by the classifier’s own decisions. This creates a complex environment with two interwoven distribution shifts: one in the features (strategic) and one in the labels (causal).

Methods

The authors propose a structural framework that partitions features into two types:

  1. Causal features ($x_c$): Features that directly affect the outcome $y$.
  2. Correlative features ($x_r$): Features that don't affect $y$ but are correlated with unobserved causes $u$.
Figure 1: (a) The true causal graph over user features and labels. Solid lines represent direct causal effects, dashed lines depict correlation (whose source is abstracted away). (b) The causal graph, as perceived by the system. Note that u is unobserved, but its relation to y carries over to xr, making it predictively informative of y. (c) The causal graph, as perceived by users, who seek positive predictions ˆy = 1.

To handle this, they introduce CSERM (Causal Strategic Empirical Risk Minimization), an algorithm designed for temporal learning:

  • Label Estimation: It learns a differentiable estimate $h$ of the true labeling function.
  • Soft Movement Indicator: Since user response is a non-differentiable "argmax" operation, the authors use a sigmoid-based "soft" indicator to allow for end-to-end gradient-based training.
  • Handling "Dirty" Data: As the model retrains over time, it collects strategically modified ("dirty") data. CSERM uses density estimation (KDE) to "reconstruct" the original correlative features, preventing the model from becoming biased by user gaming.
  • Exploration Regularization: A novel term encourages the classifier to occasionally incentivize users to move into low-density feature regions, helping the model learn the causal labeling function $h$ more effectively across the entire space.

Datasets

The authors evaluate their approach using:

  • Synthetic Data: Custom-designed tasks like a non-linearly separable XOR classification to demonstrate how baselines fail when they ignore causal shifts.
  • Card Fraud: Based on a Kaggle dataset of European credit card transactions.
  • Spam: A social network spammer detection dataset.

Since real-world datasets don't typically include causal ground-truth labels for counterfactual actions, the authors augmented the real data with simulated causal labeling functions ($h^*$) to create a "semi-synthetic" benchmark.

Key Insights and Ideas

  • Causality "Cancels Out" Gaming: The authors prove that in a purely causal setting (where all features are causal and independent of unobserved noise), strategic classification reduces to a simpler covariate shift problem. The difficulty arises specifically from the presence of correlative features.
  • The Accuracy-Improvement Tradeoff: A classifier that maximizes "improvement" (getting users to actually become better) is not necessarily the most accurate one. The authors argue that understanding accuracy is a prerequisite for more complex goals like incentivizing social good.
  • The Role of Time: Unlike standard strategic classification, which often converges in one step, causal strategic learning requires multiple rounds of retraining to "discover" how labels change in response to different incentives.
Figure 3: Results on synthetic experiments (A,B,C) for ERM, strategic ERM (SERM), and our approach (CSERM) (acc. in parentheses). Here x1=xc (x-axis) and x2=xr=u (y-axis). Hollow circles show pre-modified (‘clean’) data, filled cir- cles show strategically-modified (‘dirty’) data. Colored re- gions depict h∗; red lines show learned f, dashed lines mark regions of movement for ∆f, blue lines show learned h.

Key Results

In experiments on the Card Fraud dataset, CSERM significantly outperformed baselines:

  • Accuracy: CSERM achieved 87.8% accuracy, compared to 78.4% for a strategically-aware but causally-oblivious baseline (SERM) and 66.7% for standard ERM.
  • Improvement: CSERM successfully incentivized users to move to regions where their true labels became positive, resulting in a 12.2% improvement rate, whereas other methods saw less than 1% improvement.

On the Spam dataset, CSERM avoided "pitfalls" where other models were fooled by features that looked predictive in-domain but reversed their meaning when users modified them.

Table 1: Results on real data.

Limitations and Future Work

  • Feature Partitioning: The current method requires the learner to know which features are causal and which are correlative, which may be difficult in practice.
  • Cost Functions: The model assumes the cost function for user feature modification is known.
  • Social Welfare: While CSERM improves accuracy and outcomes, the authors note it can sometimes reduce user "welfare" (utility minus cost), suggesting a need for future work that balances system accuracy with user burden.
  • Causal Discovery: Integrating automated causal discovery to identify $x_c$ and $x_r$ directly from data is a promising next step.

Summary updated

BibTeX
@inproceedings{horowitz2023causal,
  author = {Guy Horowitz and Nir Rosenfeld},
  title = {{Causal Strategic Classification: A Tale of Two Shifts}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=R3d0HoKznc},
}
Figure