[Paper Review] REPAIR: Removing Representation Bias by Dataset Resampling
This paper proposes REPAIR, a differentiable dataset resampling method that reduces representation bias by formulating bias minimization as a minimax optimization problem. By iteratively updating classifier weights and example sampling weights via stochastic gradient descent, REPAIR reduces static bias in video datasets, leading to improved model generalization—demonstrated by a 2% mAP gain on Kinetics and increased temporal structure scores in I3D models.
Modern machine learning datasets can have biases for certain representations that are leveraged by algorithms to achieve high performance without learning to solve the underlying task. This problem is referred to as "representation bias". The question of how to reduce the representation biases of a dataset is investigated and a new dataset REPresentAtion bIas Removal (REPAIR) procedure is proposed. This formulates bias minimization as an optimization problem, seeking a weight distribution that penalizes examples easy for a classifier built on a given feature representation. Bias reduction is then equated to maximizing the ratio between the classification loss on the reweighted dataset and the uncertainty of the ground-truth class labels. This is a minimax problem that REPAIR solves by alternatingly updating classifier parameters and dataset resampling weights, using stochastic gradient descent. An experimental set-up is also introduced to measure the bias of any dataset for a given representation, and the impact of this bias on the performance of recognition models. Experiments with synthetic and action recognition data show that dataset REPAIR can significantly reduce representation bias, and lead to improved generalization of models trained on REPAIRed datasets. The tools used for characterizing representation bias, and the proposed dataset REPAIR algorithm, are available at https://github.com/JerryYLi/Dataset-REPAIR/.
Motivation & Objective
- To address the problem of representation bias in machine learning datasets, where models overfit to spurious cues like static frames or backgrounds instead of learning task-relevant dynamics.
- To develop a method for measuring and quantifying representation bias in datasets for a given feature representation.
- To propose a differentiable, optimization-based resampling strategy that minimizes representation bias while preserving task-relevant information.
- To evaluate the impact of bias reduction on model generalization and fairness across different datasets and architectures.
- To provide a reproducible experimental framework for assessing the effect of dataset bias on model performance and generalization.
Proposed method
- Formulates representation bias minimization as a minimax problem: maximize the ratio of classification loss on the reweighted dataset to the uncertainty of ground-truth labels.
- Uses a deep neural network as a feature extractor for the representation of interest, followed by a linear classifier to compute example-level losses.
- Alternates between updating the classifier parameters and the dataset resampling weights using stochastic gradient descent (SGD) to solve the minimax problem.
- Employs a differentiable reweighting scheme that penalizes examples that are easily classified by the current model, thus reducing reliance on biased representations.
- Introduces a temporal structure score to measure model dependence on video dynamics, computed as the average Euclidean distance between feature vectors of original and time-reversed clips.
- Applies the REPAIR procedure to real-world datasets like Kinetics, HMDB51, and UCF101, and compares results with random subsampling and baseline training.
Experimental results
Research questions
- RQ1To what extent can representation bias in video datasets be quantified and measured using a differentiable, end-to-end framework?
- RQ2How does REPAIR-based resampling affect the generalization performance of models trained on biased datasets compared to random subsampling?
- RQ3Does reducing static bias in video datasets lead to models that rely more on temporal dynamics rather than frame-level cues?
- RQ4How does representation bias influence the fairness and comparability of model evaluation across different datasets?
- RQ5Can REPAIR improve model performance on downstream datasets where bias mismatch is a known issue?
Key findings
- REPAIR reduced representation bias in synthetic Colored MNIST and real-world action recognition datasets, with statistically significant improvements over random subsampling.
- On Kinetics, the mean average precision (mAP) of I3D models trained on REPAIRed datasets increased by approximately 2% compared to models trained on the original dataset.
- For the 12 common classes between Kinetics and HMDB51, 7 out of 12 showed a strong negative correlation between static bias and generalization performance, indicating that bias reduction improves generalization.
- I3D models trained on REPAIRed datasets exhibited higher temporal structure scores—indicating greater reliance on video dynamics—especially as more biased examples were removed.
- The increase in temporal structure scores was specific to REPAIR and not observed with random subsampling, proving that bias removal, not just data reduction, drives improved temporal modeling.
- The experimental setup demonstrated that representation bias significantly affects model generalization and fairness, and that REPAIR effectively mitigates these issues across multiple benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.