Seong Oh, Byoung-Tak Zhang, Jin-Hwa Kim, Inwoo Hwang, Sangjun Lee, Yunhyeok Kwak, Damien Teney
We lifted 1 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| iwhwang/SelecMix | — | 1 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| SupConLoss | Ran | iwhwang/SelecMix/module/loss.py code served (permissive licence) · get_code("25ed84e39a91b560") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Neural networks trained with ERM (empirical risk minimization) sometimes learn unintended decision rules, in particular when their training data is biased, i.e., when training labels are strongly correlated with undesirable features. To prevent a network from learning such features, recent methods augment training data such that examples displaying spurious correlations (i.e., bias-aligned examples) become a minority, whereas the other, bias-conflicting examples become prevalent. However, these approaches are sometimes difficult to train and scale to real-world data because they rely on generative models or disentangled representations. We propose an alternative based on mixup, a popular augmentation that creates convex combinations of training examples. Our method, coined SelecMix, applies mixup to contradicting pairs of examples, defined as showing either (i) the same label but dissimilar biased features, or (ii) different labels but similar biased features. Identifying such pairs requires comparing examples with respect to unknown biased features. For this, we utilize an auxiliary contrastive model with the popular heuristic that biased features are learned preferentially during training. Experiments on standard benchmarks demonstrate the effectiveness of the method, in particular when label noise complicates the identification of bias-conflicting examples.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2211.02291")
get_code_for_paper("2211.02291")
have("2211.02291")
Connect an agent — have() is free.