Skip to main content
QUICK REVIEW

[Paper Review] Decorrelate Irrelevant, Purify Relevant: Overcome Textual Spurious Correlations from a Feature Perspective

Shihan Dou, Rui Zheng|arXiv (Cornell University)|Feb 16, 2022
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

This paper proposes DePro, an end-to-end framework that mitigates textual spurious correlations by decorrelating irrelevant features via Random Fourier Features (RFF) and purifying the resulting features using a mutual-information-based method to enhance task-relevant representation learning. The approach achieves state-of-the-art performance on out-of-distribution generalization in NLU tasks, outperforming prior debiasing methods on MNLI and FEVER benchmarks.

ABSTRACT

Natural language understanding (NLU) models tend to rely on spurious correlations (i.e., dataset bias) to achieve high performance on in-distribution datasets but poor performance on out-of-distribution ones. Most of the existing debiasing methods often identify and weaken these samples with biased features (i.e., superficial surface features that cause such spurious correlations). However, down-weighting these samples obstructs the model in learning from the non-biased parts of these samples. To tackle this challenge, in this paper, we propose to eliminate spurious correlations in a fine-grained manner from a feature space perspective. Specifically, we introduce Random Fourier Features and weighted re-sampling to decorrelate the dependencies between features to mitigate spurious correlations. After obtaining decorrelated features, we further design a mutual-information-based method to purify them, which forces the model to learn features that are more relevant to tasks. Extensive experiments on two well-studied NLU tasks demonstrate that our method is superior to other comparative approaches.

Motivation & Objective

  • To address the limitation of existing debiasing methods that weaken entire samples with biased features, obstructing learning from non-biased parts.
  • To mitigate spurious correlations at the feature level by decorrelating dependencies between irrelevant and relevant features in the representation space.
  • To improve model generalization on out-of-distribution (OOD) datasets by purifying decorrelated features to emphasize task-relevant local features.
  • To develop an end-to-end, computationally efficient framework that avoids complex, non-differentiable training procedures common in prior approaches.

Proposed method

  • Uses Random Fourier Features (RFF) to map input features into a high-dimensional space where both linear and nonlinear feature dependencies can be decorrelated.
  • Applies weighted re-sampling in the RFF-transformed space to reduce cross-covariance between features, effectively decorrelating them.
  • Introduces a saliency-map-based method to identify useful local features (e.g., tokens relevant to prediction) in each input sample.
  • Employs a mutual-information-based strategy to purify the global sentence representation by aligning it with the most relevant local features.
  • Combines feature decorrelation and purification in a single end-to-end training pipeline, enabling joint optimization without external bias models.
  • Uses RFF instead of VAE-based methods to preserve feature information and avoid compression-induced performance loss.

Experimental results

Research questions

  • RQ1Can decorrelating features in a high-dimensional space effectively reduce spurious correlations without compromising useful information?
  • RQ2How does feature purification based on mutual information improve model generalization on OOD data?
  • RQ3Does combining feature decorrelation and purification lead to synergistic gains in performance over individual components?
  • RQ4How do hyperparameters like RFF dimension and purification ratio affect the model’s ability to eliminate spurious correlations?
  • RQ5Is RFF-based decorrelation more effective than VAE-based methods for preserving generalization capacity in NLU models?

Key findings

  • DePro achieves state-of-the-art performance on OOD generalization, outperforming existing methods on both MNLI and FEVER benchmarks.
  • The use of RFF for feature decorrelation reduces cross-covariance between features significantly more than baseline methods, demonstrating effective dependency removal.
  • Feature purification with mutual information improves model focus on task-relevant features, reducing noise from irrelevant components.
  • RFF-based decorrelation outperforms β-VAE in both ID and OOD settings, confirming that preserving unprocessed representations enhances generalization.
  • The ablation study shows that both decorrelation and purification are necessary for optimal performance, with their synergy yielding the best results.
  • Optimal performance is achieved at a moderate RFF dimension and purification ratio; further increases degrade performance due to computational overhead or information loss.

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.