atlas

Research map / Optimization / Optimizers

Memory-Efficient Gradient Unrolling for Large-Scale Bi-level Optimization

NeurIPS 2024 · Optimization › Optimizers · approach: Hypergradient bilevel optimization · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes (FG)^2U, an unbiased forward-gradient-based unrolling method for large-scale bi-level optimization that keeps memory constant in meta-parameter dimension and unroll depth, evaluated on data condensation, meta-learning LM adaptation, and PDE discovery.

Problem

Gradient-based bi-level optimization is hard to scale: reverse gradient unrolling has non-constant memory in unroll depth and parameter dimension, while implicit-function and truncated/Hessian-free approximations introduce bias.

Approach

Combine forward-mode gradient unrolling (tracking Z_t v instead of the full Jacobian) with forward gradient estimation over random directions v, yielding an unbiased stochastic meta-gradient estimate with constant memory, which also extends to zeroth-order finite-difference variants for black-box inner solvers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use (FG)^2U instead of RGU for data condensation3-layer ConvNet data condensation · MNIST, IPC=1/10/50testing accuracy (%): 82.44 vs 92.32; 96.12 vs 96.79; 97.01 vs 97.72Hurt
Use (FG)^2U instead of RGU for data condensation3-layer ConvNet data condensation · CIFAR-10, IPC=1/10/50testing accuracy (%): 29.37 vs 34.08; 50.10 vs 53.15; 51.98 vs 56.37Hurt
Use (FG)^2U instead of RGU for data condensation3-layer ConvNet data condensation · CIFAR-100, IPC=1/10/50testing accuracy (%): 8.22 vs 15.61; 23.38 vs 25.42; 25.84 vs 28.52Hurt
Replace RGU with (FG)^2U in CaMeLSCaMeLS with GPT2-XL · StreamingQAEM: 7.93 -> 8.89Helped
Replace RGU with (FG)^2U in CaMeLSCaMeLS with GPT2-XL · StreamingQAF1: 12.94 -> 14.42Helped
Replace RGU with (FG)^2U in CaMeLSCaMeLS with GPT2-XL · SQuAD-SeqEM: 6.71 -> 7.37Helped
Replace RGU with (FG)^2U in CaMeLSCaMeLS with GPT2-XL · SQuAD-SeqF1: 9.65 -> 10.37Helped
Increase unrolled depth (ablation)CaMeLS online adaptation · StreamingQAF1Helped
Increase base-model size from DistilGPT2 to GPT2 (ablation)CaMeLS online adaptation · StreamingQA and SQuAD-SeqF1Helped
Use a numerical solver with (FG)^2U-ZO instead of a PINN solverPDE parameter discovery · Burgers, Allen-Cahn, and KdVrelative L2 errorHelped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CIFAR-10 CIFAR-100 StreamingQA SQuAD-Seq Burgers Allen-Cahn KdV

Benchmarks: MNIST CIFAR-10 CIFAR-100 StreamingQA SQuAD-Seq Burgers Allen-Cahn KdV

Metrics: testing accuracy exact match F1 relative L2 error GPU memory usage

Baselines: TRGU Hessian-Free Neumann series RGU CaMeLS + RGU PINN solver

Builds on: forward gradient learning reverse gradient unrolling CaMeLS truncated reverse gradient unrolling performance matching data condensation

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy