Bilevel Optimization for Adversarial Learning Problems: Sharpness, Generation, and Beyond

Risheng Liu, Zhu Liu, Wei-Hao Mao, Wei Yao, Jin Zhang
1/1/2025

No confident code implementation found for this paper.

Abstract

Adversarial learning is a widely used paradigm in machine learning, often formulated as a min-max optimization problem where the inner maximization imposes adversarial constraints to guide the outer learner toward more robust solutions. This framework underlies methods such as Sharpness-Aware Minimization (SAM) and Generative Adversarial Networks (GANs).

Show full abstract

However, traditional gradient-based approaches to such problems often face challenges in balancing accuracy and efficiency due to second-order complexities. In this paper, we pro-pose a bilevel optimization framework that reformulates these adversarial learning problems by leveraging the tractability of the lower-level problem. The bilevel framework introduces no additional complexity and enables the use of advanced bilevel tools. We further develop a provably convergent single-loop stochastic algorithm that effectively balances learning accuracy and computational cost. Extensive experiments show that our method improves generation quality of GANs, and consistently achieves higher accuracy for SAM under label noise and across various backbones, while promoting flatter loss landscapes. Overall, this work provides a practical and theoretically grounded framework for solving adversarial learning tasks through bilevel optimization.

DOISemantic Scholar

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{liu2025bilevel,
  title  = {Bilevel Optimization for Adversarial Learning Problems: Sharpness, Generation, and Beyond},
  author = {Risheng Liu and Zhu Liu and Wei-Hao Mao and Wei Yao and Jin Zhang},
  year   = {2025},
  doi    = {10.52202/085713-0976},
  url    = {https://doi.org/10.52202/085713-0976},
  journal = {Neural Information Processing Systems}
}

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/28e571994c1fe9d9376273781ecc3f2b5fbe0ab2.svg)](https://codeofpaper.com/paper/28e571994c1fe9d9376273781ecc3f2b5fbe0ab2)

Discussion