Papers › AGRO: Adversarial Discovery of Error-prone groups for Robust Optimization

AGRO: Adversarial Discovery of Error-prone groups for Robust Optimization

2 Dec 2022arXiv:2212.00921archive 2025-07-28

Bhargavi Paranjape, Pradeep Dasigi, Vivek Srikumar, Luke Zettlemoyer, Hannaneh Hajishirzi

Models trained via empirical risk minimization (ERM) are known to rely on spurious correlations between labels and task-independent input features, resulting in poor generalization to distributional shifts. Group distributionally robust optimization (G-DRO) can alleviate this problem by minimizing the worst-case loss over a set of pre-defined groups over training data. G-DRO successfully improves performance of the worst-group, where the correlation does not hold. However, G-DRO assumes that the spurious correlations and associated worst groups are known in advance, making it challenging to apply it to new tasks with potentially multiple unknown spurious correlations. We propose AGRO -- Adversarial Group discovery for Distributionally Robust Optimization -- an end-to-end approach that jointly identifies error-prone groups and improves accuracy on them. AGRO equips G-DRO with an adversarial slicing model to find a group assignment for training examples which maximizes worst-case loss over the discovered groups. On the WILDS benchmark, AGRO results in 8% higher model performance on average on known worst-groups, compared to prior group discovery approaches used with G-DRO. AGRO also improves out-of-distribution performance on SST2, QQP, and MS-COCO -- datasets where potential spurious correlations are as yet uncharacterized. Human evaluation of ARGO groups shows that they contain well-defined, yet previously unstudied spurious correlations that lead to model errors.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.00921")

Code

Syntology Ran 3 of 12 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 3 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bhargaviparanjape/robust-transformers officialmentioned in paperjaxApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 3 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran
9unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bhargaviparanjape/robust-transformers. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_number_comma bhargaviparanjape/robust-transformers/src/transformers/convert_slow_tokenizer.py official repository ran Apache-2.0 recorded; this copy not marked cleared · pointer only · a727df5fd2f5599a · report
ensure_valid_input bhargaviparanjape/robust-transformers/src/transformers/convert_graph_to_onnx.py official repository ran Apache-2.0 recorded; this copy not marked cleared · pointer only · d770e1dd1d799a47 · report
generate_identified_filename bhargaviparanjape/robust-transformers/src/transformers/convert_graph_to_onnx.py official repository ran Apache-2.0 recorded; this copy not marked cleared · pointer only · 7efe3db5c9e2f94d · report
convert_slow_tokenizer bhargaviparanjape/robust-transformers/src/transformers/convert_slow_tokenizer.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 303c695a12e16704 · report
deepspeed_reinit bhargaviparanjape/robust-transformers/src/transformers/deepspeed.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · e187e5429b112df7 · report
detect_overflow bhargaviparanjape/robust-transformers/src/transformers/debug_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · c551a79d5bb1b062 · report
gelu_fast bhargaviparanjape/robust-transformers/src/transformers/activations_tf.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 37a5eed2dbd663ca · report
get_abs_min_max bhargaviparanjape/robust-transformers/src/transformers/debug_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · b5db92a796ef38f1 · report
get_configuration_file bhargaviparanjape/robust-transformers/src/transformers/configuration_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · dd3166a87bc972ff · report
infer_shapes bhargaviparanjape/robust-transformers/src/transformers/convert_graph_to_onnx.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 3449d7d975edfb89 · report
mish bhargaviparanjape/robust-transformers/src/transformers/activations_tf.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · cc8c8c3ebf0c343f · report
quick_gelu bhargaviparanjape/robust-transformers/src/transformers/activations_tf.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · e2d56cb91f999bef · report

Tasks

QQP

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections