Learning the Robustness Mechanism with Bilevel Optimization

Yiyang Shen, Qihang Lin, Weiran Wang
9/28/2026
cs.LG

No confident code implementation found for this paper.

Abstract

We propose a distributionally robust learning framework where parameters defining the robustness mechanism are learned from held-out data instead of extensively tuned. Using bilevel optimization with both upper and lower level minimax problems, we create two instances of our framework to tackle setups with and without group labels in the training set.

Show full abstract

Theoretically, we provide sample complexity analysis for our robustness mechanism learning paradigm, showing that it achieves generalization guarantees comparable to exhaustive grid search while being more computationally efficient. Empirically, we evaluate our framework under a challenging setup when both intra-group and inter-group test distribution shifts occur at the same time, thereby demonstrating the efficacy and scalability of our method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2026learning,
  title  = {Learning the Robustness Mechanism with Bilevel Optimization},
  author = {Yiyang Shen and Qihang Lin and Weiran Wang},
  year   = {2026},
  eprint = {2609.35541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.35541v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.35541.svg)](https://codeofpaper.com/paper/2609.35541)

Discussion