Skip to main navigation Skip to search Skip to main content

A First-order Generative Bilevel Optimization Framework for Diffusion Models

  • Quan Xiao
  • , Hui Yuan
  • , A. F.M. Saif
  • , Gaowen Liu
  • , Ramana Kompella
  • , Mengdi Wang
  • , Tianyi Chen

Research output: Contribution to journalConference articlepeer-review

Abstract

Diffusion models, which iteratively denoise data samples to synthesize high-quality outputs, have achieved empirical success across domains. However, optimizing these models for downstream tasks often involves nested bilevel structures, such as tuning hyperparameters for fine-tuning tasks or noise schedules in training dynamics, where traditional bilevel methods fail due to the infinite-dimensional probability space and prohibitive sampling costs. We formalize this challenge as a generative bilevel optimization problem and address two key scenarios: (1) finetuning pre-trained models via an inference-only lower-level solver paired with a sample-efficient gradient estimator for the upper level, and (2) training diffusion model from scratch with noise schedule optimization by reparameterizing the lower-level problem and designing a computationally tractable gradient estimator. Our first-order bilevel framework overcomes the incompatibility of conventional bilevel methods with diffusion processes, offering theoretical grounding and computational practicality. Experiments demonstrate that our method outperforms existing finetuning and hyperparameter search baselines. Our code has been released at https://github.com/afmsaif/bilevel_diffusion.

Original languageEnglish (US)
Pages (from-to)68535-68558
Number of pages24
JournalProceedings of Machine Learning Research
Volume267
StatePublished - 2025
Externally publishedYes
Event42nd International Conference on Machine Learning, ICML 2025 - Vancouver, Canada
Duration: Jul 13 2025Jul 19 2025

All Science Journal Classification (ASJC) codes

  • Software
  • Control and Systems Engineering
  • Statistics and Probability
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'A First-order Generative Bilevel Optimization Framework for Diffusion Models'. Together they form a unique fingerprint.

Cite this