Skip to main content
QUICK REVIEW

[Paper Review] Supervising Feature Influence

Shayak Sen, Piotr Mardziel|arXiv (Cornell University)|Mar 28, 2018
Machine Learning and Data ClassificationComputer Science8 references6 citations
TL;DR

This paper introduces a novel active learning algorithm that constrains causal influence in machine learning models to address covariate shift in causal testing—where models with identical in-distribution performance differ drastically in feature influence. By using counterfactual queries and guided feature selection, the method trains models with causal influences close to a reference model, improving out-of-distribution generalization while preserving in-distribution accuracy.

ABSTRACT

Causal influence measures for machine learnt classifiers shed light on the reasons behind classification, and aid in identifying influential input features and revealing their biases. However, such analyses involve evaluating the classifier using datapoints that may be atypical of its training distribution. Standard methods for training classifiers that minimize empirical risk do not constrain the behavior of the classifier on such datapoints. As a result, training to minimize empirical risk does not distinguish among classifiers that agree on predictions in the training distribution but have wildly different causal influences. We term this problem covariate shift in causal testing and formally characterize conditions under which it arises. As a solution to this problem, we propose a novel active learning algorithm that constrains the influence measures of the trained model. We prove that any two predictors whose errors are close on both the original training distribution and the distribution of atypical points are guaranteed to have causal influences that are also close. Further, we empirically demonstrate with synthetic labelers that our algorithm trains models that (i) have similar causal influences as the labeler's model, and (ii) generalize better to out-of-distribution points while (iii) retaining their accuracy on in-distribution points.

Motivation & Objective

  • To identify and formalize the problem of covariate shift in causal testing, where models with identical in-distribution performance exhibit divergent causal influences.
  • To address this by designing an active learning framework that constrains feature influence through counterfactual queries.
  • To ensure models generalize better to out-of-distribution points while maintaining in-distribution accuracy.
  • To provide a mechanism for accountability in model development by enabling verification of feature influence against a trusted reference model.

Proposed method

  • The method employs a two-oracle setup: a feature selection oracle and a labeling oracle that generates counterfactual datapoints by perturbing features while holding others fixed.
  • It uses a guided active learning strategy that selects features with the highest discrepancy in influence between the base model and the current model.
  • The algorithm iteratively collects labels for counterfactual points and retrains the model to align its causal influence with that of a reference model.
  • It formally proves that if two models have similar errors on both the original and counterfactual distributions, their causal influences are also close.
  • The approach is evaluated using synthetic labelers and tested on adult, arrests, and lending club datasets with logistic regression, decision trees, and random forests.
  • The method includes a non-counterfactual baseline to contrast the impact of using out-of-distribution counterfactual points.

Experimental results

Research questions

  • RQ1Under what conditions does covariate shift in causal testing arise, such that models with identical in-distribution performance differ in causal influence?
  • RQ2Can active learning with counterfactual queries effectively align a model’s causal influence with a reference model’s influence?
  • RQ3Does constraining causal influence through counterfactual learning improve generalization to out-of-distribution data without sacrificing in-distribution accuracy?
  • RQ4How does guided feature selection compare to random or non-counterfactual selection in terms of convergence speed and influence alignment?

Key findings

  • The guided active learning approach achieved faster convergence in aligning causal influences with the reference model across all three datasets (adult, arrests, lending club).
  • The algorithm maintained in-distribution accuracy, as shown by stable or slightly improved test error on holdout sets from the original data distribution.
  • Out-of-distribution generalization improved, evidenced by decreasing error on a separate unbiased dataset $D$ even when parts of $D$ were not in the training set.
  • The random oracle baseline converged more slowly than the guided oracle, indicating that feature selection strategy significantly impacts efficiency.
  • The non-counterfactual baseline failed to influence causal measures, confirming that counterfactual queries are essential for shaping influence.
  • The method successfully reduced influence discrepancies between the base model and the reference model, demonstrating effective alignment of causal behavior.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.