potentialpaper

BROS: Bias-Corrected Randomized Subspaces for Memory-Efficient Single-Loop Bilevel Optimization

Hengrui Zhang, Boao Kong, Engao Zhang, Kun Yuan

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. BROS reduces memory in stochastic bilevel optimization by running lower and auxiliary updates in randomized subspaces, while preserving convergence guarantees and matching full-space baselines in neural and language-model experiments.

Abstract. Stochastic bilevel optimization (SBO) has become a standard framework for hyperparameter learning, data reweighting, representation learning, and data-mixture optimization in deep learning. Existing exact single-loop SBO methods and memory-efficient surrogate SBO methods either create severe memory pressure for large lower-level neural networks or lack competitive convergence guarantees under standard assumptions. In this paper, we propose BROS, a memory-efficient single-loop SBO method with the same convergence rate order as exact single-loop SBO methods. BROS performs lower and auxiliary updates in randomized subspaces with a Rademacher bi-probe correction that recovers an unbiased Hessian-action estimator. We prove that BROS preserves the O(ε−2)\mathcal O(\varepsilon^{-2}) sample complexity of MA-SOBA for finding an ε\varepsilon-stationary point under only standard assumptions. Experiments on hyper-data cleaning, data-mixture learning, hyper-representation learning, and ViT sample reweighting show that BROS reduces peak memory by up to 44.9% while closely matching full-space baseline performance.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
15 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposed a memory-efficient single-loop Stochastic Bilevel Optimization (SBO) method based on randomized subspaces, which has the same convergence rate order as exact single-loop SBO methods. Currently, all reviewers point some concerns of this paper. Thus, the authors should deal with these concerns. For example, how sensitive is the method to the projection ratio and projector refresh frequency? Are there cases where the increased variance from projection outweighs the memory savings?

Final justification

The authors have well dealt with concerns of all reviewers. So I recommend accepting this paper.

Area Chair Dmvj · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposed a memory-efficient single-loop Stochastic Bilevel Optimization (SBO) method based on randomized subspaces, which has the same convergence rate order as exact single-loop SBO methods. Currently, all reviewers point some concerns of this paper. Thus, the authors should deal with these concerns. For example, how sensitive is the method to the projection ratio and projector refresh frequency? Are there cases where the increased variance from projection outweighs the memory savings?

Final justification

The authors have well dealt with concerns of all reviewers. So I recommend accepting this paper.

1 comment
Authors · CommentOpenReview ↗

Response to the Meta-Reviewer

Thank you for the careful meta-review. We first address the central concern highlighted in the meta-review.

Projection ratio, projector refresh, and the quality-memory boundary. We added 60M language-model and three-seed MNIST ablations. On 60M, rank ratio 0.33 matches full-space loss while reducing peak memory by 26.1%, whereas ratio 0.10 saves only another 6.6% relative to 0.33 but substantially worsens the loss. On MNIST, ratio 0.25 trails full space by only 0.197 percentage points, while ratio 0.01 trails it by 7.033 points. Refreshing every 20 steps matches per-step refresh, degradation becomes material between intervals 500 and 1000, and a fixed projector reduces accuracy by 5.390 points. Thus, moderate compression and reuse preserve quality, while aggressive compression or stale subspaces produce an unfavorable trade-off.

In addition, we have addressed the following concerns raised by the reviewers:

1. Bias source and oracle notation. We derive the source of the sketch-and-lift bias using the projector fourth-moment identity and explain how the two Rademacher bi-probes cancel the transpose-like and trace-like nuisance terms. We also provide a compact mapping between Equation (5), the projected stochastic oracles, and Algorithm 1, and specify where these definitions will be introduced in the main text.

2. Explicit task formulations. We provide the explicit bilevel objectives and variable definitions for MNIST hyper-data cleaning, 280M data-mixture learning, CIFAR-10 hyper-representation learning, and CIFAR-100 ViT sample reweighting. We also clarify the scope of DoReMi and define the original Pile-mixture baseline used in the data-mixture experiment.

3. SGD-based theory and practical optimizers. We clarify that the convergence analysis follows the SGD-based MA-SOBA framework and preserves its convergence order. BROS can supply its projected and corrected directions as gradient-like inputs to momentum or adaptive optimizers at the implementation interface. We also specify the optimizer used for each variable in the data-mixture and ViT experiments.

4. Wall-clock overhead and hardware dependence. We provide a component-level wall-clock profile on both an RTX PRO 6000 and an A100-80G, together with an end-to-end comparison among full-space MA-SOBA, an uncorrected projected-and-lift variant, and canonical BROS. We also report a no-bi-probe ablation across three label-noise rates. These results quantify both the projector and bi-probe overhead and show that the correction becomes increasingly beneficial as the data-cleaning task becomes more challenging.

5. Direct peak-memory accounting. We supplement the analytical memory accounting with direct 280M proxy-stage measurements under both PyTorch-allocated and nvidia-smi accounting. The direct profile includes optimizer states, mixed-precision buffers, activation checkpointing, and CUDA allocator overhead, thereby addressing the implementation-dependent components highlighted in the meta-review.

Following the rebuttal, Reviewer EAoV raised the rating from 4 to 5 and stated that the additional experiments adequately addressed the reviewer's concerns. Reviewer B651 and AF23 also indicated that the questions were mostly addressed and would maintain a positive score. We hope that the combined clarifications, direct profiling, and sensitivity experiments provide comprehensive evidence for the practical benefits, efficiency, and robustness of BROS. Please let us know if any further questions or aspects would benefit from clarification.

Reviewer AF23OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies memory-efficient stochastic bilevel optimization for large lower-level neural networks. The proposed method, BROS, performs lower-level and auxiliary-level updates in randomized subspaces and introduces a Rademacher bi-probe correction to debias the projected Hessian-vector product estimator. The paper claims that BROS preserves the same O(ϵ−2)O(\epsilon^{-2}) sample complexity order as exact single-loop SBO methods such as MA-SOBA, while reducing peak memory in practical bilevel learning tasks.

The empirical evaluation covers MNIST hyper-data cleaning, data-mixture learning with 280M GPT-style proxy/main models, CIFAR-10 hyper-representation learning, and CIFAR-100 ViT sample reweighting. The results suggest that BROS can closely match full-space MA-SOBA performance while substantially reducing memory usage.

Strengths and weaknesses

Strengths

The paper addresses an important practical bottleneck in bilevel optimization. Existing exact hypergradient-based single-loop methods are difficult to scale to large lower-level models because they require full-space auxiliary variables and HVP/JVP computations. The proposed randomized-subspace formulation is therefore well motivated.

Weaknesses

The memory analysis is useful but somewhat idealized. The paper provides a peak-memory proxy and separates the HVP/JVP query scale, but actual peak memory can depend strongly on the autodiff backend, activation checkpointing, optimizer states, mixed precision, CUDA memory allocation, and implementation details. Since memory reduction is one of the central claims, more direct profiling details would make the empirical evidence stronger.

Questions
  1. What optimizer is used in each experiment, especially the data-mixture and ViT experiments? If Adam or AdamW is used, how should readers interpret the SGD-based theory?
  2. How much additional wall-clock overhead does the Rademacher bi-probe correction introduce relative to naive projected HVP and full-space MA-SOBA?
  3. Can the authors include an empirical ablation without the Rademacher correction?
  4. Does the reported peak memory include optimizer states, mixed-precision buffers, activation checkpointing, and CUDA allocator overhead?
  5. How sensitive is the method to the projection ratio and projector refresh frequency? Are there cases where the increased variance from projection outweighs the memory savings?
Limitations

See queations

Final justification

My questions are mostly addressed, and I would like to keep my positive score.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer AF23

Thank you for recognizing the practical importance of the memory bottleneck in bilevel optimization and the motivation for our randomized-subspace formulation. We address each point of your concerns below.

W1/Q4. Practical peak-memory accounting

Appendix Table 9 includes PyTorch-managed optimizer states and mixed-precision buffers, but it does not include CUDA allocator overhead. We present below a new nvidia-smi profile using the same checkpointing setup and including optimizer states, mixed-precision buffers, and CUDA allocator overhead, thereby covering all items mentioned in Q4.

Table R3-1. Peak GPU memory for the 280M data-mixture proxy stage under two accounting scopes (MB).

Measurement DoReMi MA-SOBA Penalty FdeHBO ZOFO BROS
PyTorch allocated 9,447.0 13,496.9 10,190.5 12,896.3 10,047.1 7,436.0
nvidia-smi 10,795.1 17,587.8 11,212.4 14,783.9 11,866.7 8,582.6

The first row reproduces the values reported in Table 9 in the Appendix and the second row includes the optimizer states, mixed-precision buffers, activation checkpointing, and CUDA allocator overhead mentioned in Q4.

Q1. Optimizers and the scope of the SGD-based theory

The optimizer used for BROS depends on the task and variable:

  • MNIST hyper-data cleaning: Y\boldsymbol Y and Z\boldsymbol Z use SGD-like unpreconditioned updates, xx uses an unpreconditioned step driven by hh, and hh is a separate EMA hypergradient tracker.
  • CIFAR-10 hyper-representation: Y\boldsymbol Y, Z\boldsymbol Z, xx, and hh follow the same update roles as in MNIST.
  • Data-mixture: during the BROS proxy stage that learns the domain weights, Y\boldsymbol Y and Z\boldsymbol Z use SGD-like unpreconditioned updates, xx uses an unpreconditioned step driven by the EMA tracker hh, and hh is updated by EMA. After the learned domain mixture is fixed, a separate single-level main model is trained with AdamW.
  • CIFAR-100 ViT: the lower/model parameters Y\boldsymbol Y use AdamW, the upper sample-weight logits xx use Adam, the auxiliary variable Z\boldsymbol Z uses an SGD-like unpreconditioned residual update, and the upper hypergradient direction is smoothed by an EMA tracker.

The SGD-based theory should be interpreted as a controlled analysis of BROS's core subspace mechanism, not as a claim that SGD is the only choice for every application. Our convergence analysis follows the SGD-based MA-SOBA framework and uses unpreconditioned SGD-like updates for Y\boldsymbol Y and Z\boldsymbol Z to separate the effects of randomized projection and the bi-probe correction from either optimizer momentum or adaptive preconditioning. Within this framework, our analysis verifies that the BROS randomized-subspace mechanism is orthogonal to the underlying MA-SOBA single-loop scheme and preserves its O(K−1/2)\mathcal O(K^{-1/2}) convergence order. But this does not mean that BROS cannot be combined with other optimizers.

In fact, at the implementation interface, the projected lower direction and corrected auxiliary direction can be supplied as gradient-like inputs to momentum SGD, Adam-family, or Muon-family optimizers. However, a formal convergence guarantee requires a separate analysis. We view optimizer-specific extensions of the BROS theoretical analysis to these optimizers as future work.

Q2. Wall-clock overhead of the Rademacher bi-probe correction

We compare full-space MA-SOBA, a projection-only BROS variant without bi-probes, and the Rademacher-corrected canonical BROS variant. We used an MNIST data-cleaning setting with 6,000 steps, batch size 128, seed 42, and a single NVIDIA A100-80G.

Table R3-2. Projection-and-probe wall-clock ablation.

Method Per-step time (ms) Time increase vs. MA-SOBA
Full-space MA-SOBA 7.170 -
Naive projected-and-lift 7.694 +7.31%
Naive projected-and-lift + Rademacher correction 8.798 +22.70%

The Naive projected-and-lift row samples the projector and performs projection/lift but omits the Rademacher bi-probe queries and correction contractions. It is therefore the requested naive projected HVP baseline. Relative to this baseline, the Rademacher-corrected variant adds 1.104 ms per step (8.798 vs. 7.694 ms), corresponding to a 14.35% increase. Relative to full-space MA-SOBA baseline, it adds 1.628 ms per step (8.798 vs. 7.170 ms), corresponding to a 22.70% increase.

Q3. Ablation without the Rademacher correction

Yes. We additionally evaluate the projection-only, no-bi-probe ablation across three label-noise rates. We use the MNIST data-cleaning setting with 12,000 steps, batch size 128, per-step projector refresh, seed 42, and a single RTX PRO 6000. The noise rate denotes the fraction of training examples with corrupted labels, with higher values representing a more challenging data-cleaning problem.

Table R3-3. Validation accuracy and per-step time with and without the Rademacher correction across label-noise rates.

Noise rate Naive val. acc. (%) Naive per-step time (ms) Corrected val. acc. (%) Corrected per-step time (ms) Relative accuracy gain over Naive (%)
0.50 84.020 9.606 84.480 10.521 +0.55%
0.65 82.240 9.026 83.320 10.012 +1.31%
0.80 76.500 9.313 79.980 10.304 +4.55%

As the noise rate increases, validation accuracy decreases for both variants, but Corrected degrades less: its advantage over Naive increases from 0.46, 1.08 to 3.48 percentage points at noise rates 0.50, 0.65, and 0.80, respectively. The corresponding relative gains are 0.55%, 1.31%, and 4.55%.

At noise rate 0.80, using Naive's endpoint accuracy of 76.5% as a post-hoc common validation target, Corrected (Probe) first reaches it at the evaluated step 6,600, whereas Naive first reaches it at step 12,000. The corresponding end-to-end wall-clock times are 70.270 s and 117.055 s, so Corrected saves 46.785 s (39.97%) in reaching this target, despite its higher per-step cost. This provides empirical evidence for the effectiveness of the Rademacher correction in this more challenging high-noise setting.

Q5. Projection-ratio and projector-refresh sensitivity

Moderate compression and less frequent projector refresh can reduce peak memory and computation overhead, while largely preserving accuracy. However, aggressive compression or extremely infrequent refresh causes a material accuracy loss. We characterize the quality-memory boundary using complementary 60M data-mixture and MNIST rank ablations, and the quality-refresh boundary using a separate MNIST refresh-frequency ablation.

The 60M language-model data-mixture ablation follows the submitted 280M pipeline with the model size changed to a 60M LLaMA model. We compare full-space MA-SOBA with BROS at r/n∈{0.50,0.33,0.10}r/n\in\{0.50,0.33,0.10\} and evaluate the final main model over all 17 domains.

Table R3-4. Projection-ratio sensitivity and peak memory in the 60M LLaMA data-mixture experiment.

Method Projected ratio r/nr/n Maximum domain weight Avg. Loss Peak Memory (MB)
Full-space MA-SOBA - 0.2519 3.0308 4751.649
BROS 0.50 0.2134 3.0190 3695.183
BROS 0.33 0.2343 3.0337 3512.806
BROS 0.10 0.5885 3.6311 3280.373

BROS at r/n=0.50r/n=0.50 and 0.330.33 obtains Avg. Loss values close to full-space MA-SOBA while using less peak memory. From r/n=0.33r/n=0.33 to 0.100.10, peak memory decreases by 232.433 MB (6.62%), whereas Avg. Loss rises from 3.03373.0337 to 3.63113.6311 and the maximum domain weight from 0.23430.2343 to 0.58850.5885. Thus, r/n=0.10r/n=0.10 is a concrete setting in which the marginal quality cost is disproportionate to the additional memory savings, while 0.500.50 and 0.330.33 are more favorable empirical operating points in this setting.

The MNIST rank sweep used 6,000 steps and seeds 42/43/44. Test accuracy is reported as the mean ±\pm sample SD.

Table R3-5. MNIST projection-ratio sensitivity.

Method Projected ratio r/nr/n Test acc. (%)
Full-space MA-SOBA - 84.483 ±\pm 0.035
BROS 0.50 84.417 ±\pm 0.045
BROS 0.33 84.360 ±\pm 0.017
BROS 0.25 84.287 ±\pm 0.047
BROS 0.10 83.840 ±\pm 0.080
BROS 0.05 82.830 ±\pm 0.227
BROS 0.01 77.450 ±\pm 0.536

Ratios from 0.25 to 0.50 are nearly indistinguishable on MNIST. The ratio 0.25 trails full-space MA-SOBA by only 0.197 percentage points in test accuracy. The loss grows to 0.643 percentage points at 0.10 and 7.033 percentage points at 0.01, showing that sufficiently aggressive compression can lead to a critical accuracy cost.

Finally, a separate MNIST refresh-frequency ablation fixes r/n=0.25r/n=0.25 and uses the same 6,000-step, three-seed protocol.

Table R3-6. MNIST projector-refresh sensitivity at r/n=0.25r/n=0.25.

Refresh interval KrefK_{\mathrm{ref}} (steps) Projectors sampled Test acc. (%)
1 6000 84.287 ±\pm 0.047
20 300 84.320 ±\pm 0.095
500 12 83.997 ±\pm 0.040
1000 6 83.450 ±\pm 0.334
6000 (fixed projector) 1 78.897 ±\pm 0.705

Kref=20K_{\mathrm{ref}}=20 matches per-step refresh, whereas the accuracy decline becomes material between 500 and 1000 steps. Keeping one projector fixed for all 6,000 steps reduces test accuracy by 5.390 percentage points.

Across the two tasks, moderate projection ratios and moderate projector reuse preserve quality, whereas aggressive compression or a fixed subspace produces a clearly unfavorable tradeoff. These experiments locate the operational quality-memory and quality-refresh boundaries requested by the reviewer.

We sincerely appreciate your thoughtful comments once again. We hope the responses address the concerns raised and would be happy to provide further clarification if needed.

Reviewer AF23 · CommentOpenReview ↗

Thank you for the detailed response. My questions are mostly addressed, and I would like to keep my positive score.

Authors · CommentOpenReview ↗

Thank you for your reply. We also sincerely appreciate your continued positive assessment of BROS.

Reviewer B651OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes BROS, a memory-efficient single-loop method for stochastic bilevel optimization. The key idea is to perform lower-level and auxiliary-level updates in randomized subspaces, while using a Rademacher bi-probe correction to remove projection-induced bias in the auxiliary Hessian action. The authors prove that BROS preserves the standard O(ϵ−2)O(\epsilon^{-2}) sample complexity of exact single-loop SBO methods under standard assumptions. Experiments on hyper-data cleaning, data-mixture learning, hyper-representation learning, and ViT sample reweighting show that BROS reduces peak memory while closely matching full-space baselines.

Strengths and weaknesses

Strengths

1、The application of randomized subspace optimization to SBO is highly novel. Specifically, the authors elegantly solve the unique issue of biased lifted auxiliary Hessian-vector products (HVPs) using a Rademacher bi-probe correction.

2、 The claims of the paper are supported by robust theoretical guarantees. Proving that BROS matches the convergence rate of full-space methods like MA-SOBA without relying on stricter structural assumptions is a significant achievement.

Weaknesses

1、The theoretical convergence bounds are strictly analyzed for SGD-style updates. However, practical LLM and ViT training heavily relies on adaptive optimizers like AdamW.

2、While memory savings are thoroughly profiled, the wall-clock time overhead of repeatedly sampling Haar projectors and computing the bi-probes at every step could be analyzed more deeply across varying hardware setups.

3、The ablation studies test projection ratios down to 0.01 on MNIST, but it is unclear if extremely low projection ratios will cause training instability in much larger, highly non-convex language models.

Questions

1、Theorem 1 relies on SGD. Can the theoretical guarantees be extended to momentum or Adam-based updates, which were necessary for the empirical ViT experiments?

2、Could you provide a more detailed breakdown of the wall-clock time overhead introduced specifically by the Rademacher bi-probe queries compared to a naive (uncorrected) subspace update?

3、How sensitive is the training stability to the choice of the projection ratio r/nr/n tested in the data-mixture experiment?

4、Does the random projector resampling frequency strictly need to be every step, or could the subspace be held constant for a few iterations to save compute without breaking the convergence guarantees?

Limitations

See weakness and questions.

Formatting concerns

None noted.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer B651

Thank you for recognizing the novelty of applying randomized-subspace optimization to SBO, the Rademacher bi-probe correction, and the strength of the theoretical guarantees of BROS. We address each point of your concerns below.

W1/Q1. SGD-based theory and adaptive optimizers

Our convergence analysis follows the SGD-based MA-SOBA framework. We introduce BROS into this framework and analyze its convergence to show that BROS is orthogonal to existing mainstream single-loop methods and does not alter MA-SOBA's O(K−1/2)\mathcal O(K^{-1/2}) convergence order. Moreover, because the main contribution of this paper is a memory-efficient randomized-subspace single-loop bilevel algorithm, we use unpreconditioned SGD updates for Y\boldsymbol Y and Z\boldsymbol Z to provide a clear setting for presenting the algorithm and make it easier for readers to understand. But this does not mean that BROS cannot be combined with other optimizers.

In fact, at the implementation interface, the projected lower direction and corrected auxiliary direction may be supplied as gradient-like inputs to optimizers such as momentum SGD, Adam, AdamW, and Muon. In particular, Appendix B.2 explicitly provides the corresponding momentum and Adam-like BROS update rules for Y\boldsymbol Y and Z\boldsymbol Z. A formal convergence guarantee, however, requires a separate analysis. Momentum introduces additional velocity states. AdamW introduces history-dependent coordinatewise preconditioners and decoupled weight decay. Muon-family methods introduce matrix-valued normalization or orthogonalization. These mechanisms alter the coupled tracking dynamics and require augmented states, additional stability conditions, and a new Lyapunov analysis. We view optimizer-specific extensions of the BROS analysis to momentum, AdamW, and Muon-family optimizers as future work.

Moreover, recent large-model BO studies exhibit a similar separation between theoretical recursions and experimental optimizers. ScaleBiO [1] analyzes randomized block-coordinate stochastic-gradient updates for uu and ww in a penalty reformulation, while its LLM experiments use AdamW. Bilevel Data Curation [2] analyzes deterministic full-gradient penalty descent for offline BDS with a one-layer softmax Transformer, while its LLM experiments use Adam for LoRA θ\theta and the question-level selector ω\omega. Bilevel ZOFO [3] pairs first-order PEFT with zeroth-order backbone updates, while its LLM experiments use Adam at both levels. Its proof instead studies a fixed-step non-Adam recursion with zeroth-order updates for both θ\theta and pp. These precedents do not establish that their convergence guarantees extend to the practical Adam-family updates, but their large-model results provide empirical evidence that the corresponding BO recursions can be implemented effectively with Adam-family optimizers.

[1]. Pan, R., Zhang, D., Zhang, H., Pan, X., Xu, M., Zhang, J., Pi, R., Wang, X., & Zhang, T. (2025). ScaleBiO: Scalable bilevel optimization for LLM data reweighting. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics.

[2]. Xiao, Q., Xuan, Y., Liu, G., Kompella, R. R., & Chen, T. (2025). Bilevel data curation for LLM fine-tuning: Offline selection and online self-refining generation. arXiv preprint arXiv:2511.21056.

[3]. Shirkavand, R., Yu, P., He, Q., & Huang, H. (2025). Bilevel ZOFO: Efficient LLM fine-tuning and meta-training. Advances in Neural Information Processing Systems, 38.

W2. Cross-hardware wall-clock overhead of projectors and bi-probes

We profiled the projector and bi-probe components executed within a full BROS step on an NVIDIA RTX PRO 6000 and an NVIDIA A100-80G. Both profiles use the MNIST data-cleaning task, a batch size of 128 and a seed of 42.

Table R2-1. Cross-hardware component-level CUDA-event profile within BROS (percentages in parentheses are relative to the measured full BROS step on the same GPU, 10.521 ms on the RTX PRO 6000 and 8.798 ms on the A100).

Component RTX PRO 6000 time (ms/step, % of BROS step) A100 time (ms/step, % of BROS step)
Haar-projector sampling 0.343 (3.26%) 0.116 (1.32%)
Projection and lifting 0.447 (4.25%) 0.328 (3.73%)
Bi-probe correction 0.987 (9.38%) 0.740 (8.41%)

The bi-probe correction accounts for a similar fraction of a BROS step in the two profiles, 9.38% on the RTX PRO 6000 and 8.41% on the A100.

Q2. Wall-clock overhead of the Rademacher bi-probe correction

We directly compare full-space MA-SOBA, a naive projection-and-lift variant without bi-probes, and the Rademacher-corrected variant on a single NVIDIA A100-80G. We use the same A100 MNIST data-cleaning setting as in Table R2-1, with a batch size of 128 and seed 42.

Table R2-2. Projection-and-probe wall-clock ablation.

Method Per-step time (ms) Time increase vs. MA-SOBA (%)
Full-space MA-SOBA 7.170 -
Naive projected-and-lift 7.694 +7.31%
Naive projected-and-lift + Rademacher correction 8.798 +22.70%

The Naive projected-and-lift row includes projector sampling and projection/lift but omits both the additional Rademacher probe HVP and the correction contractions, so it provides the naive uncorrected subspace update baseline. Based on the measured per-step times in Table R2-2, enabling the bi-probe correction adds 1.104 ms/step over the uncorrected variant, corresponding to a 14.35% increase relative to its per-step time.

W3/Q3. Projection-ratio sensitivity

In an additional 60M language-model data-mixture ablation experiment, BROS at r/n=0.50r/n=0.50 and 0.330.33 achieves an average loss comparable to full-space MA-SOBA while using less peak memory, whereas r/n=0.10r/n=0.10 saves more memory but substantially degrades average loss. We follow the submitted 280M data-mixture pipeline with the model size changed to a 60M LLaMA model, and compare full-space MA-SOBA with BROS at r/n∈{0.50,0.33,0.10}r/n\in\{0.50,0.33,0.10\}. The final main model is evaluated over all 17 domains.

Table R2-3. Projection-ratio sensitivity and peak memory in the 60M LLaMA data-mixture experiment.

Method r/nr/n Maximum domain weight Avg. Loss Peak Memory (MB)
Full-space MA-SOBA - 0.2519 3.0308 4751.649
BROS 0.50 0.2134 3.0190 3695.183
BROS 0.33 0.2343 3.0337 3512.806
BROS 0.10 0.5885 3.6311 3280.373

Full-space MA-SOBA obtains an Avg. Loss of 3.03083.0308 with 4751.6494751.649 MB peak memory. BROS at r/n=0.50r/n=0.50 and 0.330.33 obtains comparable Avg. Loss values of 3.01903.0190 and 3.03373.0337 while using 3695.1833695.183 and 3512.8063512.806 MB, respectively. Reducing r/nr/n to 0.100.10 further lowers peak memory to 3280.3733280.373 MB, but increases Avg. Loss to 3.63113.6311 and the maximum domain weight to 0.58850.5885, indicating substantially stronger domain concentration. Thus, this 60M experiment supports r/n=0.50r/n=0.50 and 0.330.33 as more favorable quality-memory operating points than r/n=0.10r/n=0.10 in this setting, rather than establishing a universal stability threshold.

Q4. Projector refresh frequency

Although our current theorem requires per-step resampling, empirically we find that the projector need not be refreshed at every step when the reuse interval is moderate. In MNIST data cleaning, we fixed 6,000 steps, a batch size of 128, and r/n=0.25r/n=0.25 (r=196r=196), and varied only KrefK_{\mathrm{ref}} (steps per projector). We report the mean ±\pm sample SD over seeds 42/43/44.

Table R2-4. Projector-refresh ablation.

Projector reuse interval KrefK_{\mathrm{ref}} (steps) Number of sampled projectors Final test acc. (%)
1 6000 84.287 ±\pm 0.047
20 300 84.320 ±\pm 0.095
500 12 83.997 ±\pm 0.040
1000 6 83.450 ±\pm 0.334
6000 (fixed projector) 1 78.897 ±\pm 0.705

Thus, Kref=20K_{\mathrm{ref}}=20 matches Kref=1K_{\mathrm{ref}}=1 accuracy while reducing the number of projector constructions by 20×20\times. However, an extremely low refresh frequency, such as one refresh over 6,000 steps, may reduce test accuracy. We view the convergence analysis of interval projector refresh and characterizing the conditions under which it can be guaranteed as future theoretical work.

We sincerely appreciate your thoughtful comments once again. We hope the responses address the concerns raised and would be happy to provide further clarification if needed.

Reviewer B651 · CommentOpenReview ↗

Thank you for the response. My questions are mostly addressed.

Authors · CommentOpenReview ↗

Thank you for your reply. We also sincerely appreciate your continued positive assessment of BROS.

Reviewer EAoVOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper focuses on stochastic bilevel optimization problems where the inner function is twice differentiable and strongly convex, and the outer function is differentiable. The authors propose BROS, a stochastic single-loop AID-based algorithm that leverages a randomized-subspace approach to lower the memory burden of the computation involved in the hypergradient approximation. The HVP estimation is debiased using a Rademacher bi-probe correction. Under standard assumptions, the BROS algorithm is shown to have a complexity in O(ϵ−2)\mathcal{O}(\epsilon^{-2}). Experiments on data cleaning, data-mixture learning, hyper-representation learning, and sample reweighting are provided to compare the practical performance of BROS with competitors.

Strengths and weaknesses

Strengths and Weaknesses

Strengths

  • S1: The paper introduces a procedure that reduces the memory burden by leveraging subspaces.

  • S2: The bias introduced by the randomized-subspace technique is corrected by the introduction of the Rademacher bi-probe correction.

  • S3: The introduced algorithm is theoretically grounded, and the complexity matches complexities of usual full-space methods, that is O(ϵ−2)\mathcal{O}(\epsilon^{-2}).

  • S4: Experiments show the effectiveness of the method, with reduced memory peak while maintaining competitive performance with full-space baselines.

Weaknesses

Clarity

My main concern regards the clarity of the paper, which needs to be addressed to make it more understandable.

  • W1: The source of the bias of the sketch-and-lift estimator is not explained. Therefore, the reader does not get the intuition of why Rademacher variables are used to correct this bias. The explanation provided at lines 175-176 — "they estimate the trace-like and transpose-like nuisance components induced by the vanilla lifted HVP" — is not sufficient, since these "trace-like and transpose-like nuisance components" are not introduced anywhere before.

  • W2: The relationship between equation (5) and Algorithm 1 line 9 is not explained in the main text. In particular, V~k+1\tilde{V}^{k+1} is only defined in Appendix B.1. More generally, the notations U~xk+1\tilde{U}^{k+1}_x, U~Yk+1\tilde{U}^{k+1}_Y, V~k+1\tilde{V}^{k+1} and the concept of "projected stochastic oracle" (Algorithm 1, Assumption 2) are used in the main text and cannot be properly understood without Appendix B.1. The clarification should be in the main text, before their use.

  • W3: The paragraph "Compatibility with momentum and adaptive optimizers" (lines 192–193) calls Algorithm 1 "SGD-style", yet the algorithm already uses an exponential moving average for hkh^k (line 11), following the MA-SOBA template. This makes the "SGD-style" label misleading and the compatibility paragraph confusing.

Experiments

  • W4: In the description of the experiments, the bilevel problem associated to each task should be written explicitly. This means that the equations defining the inner and the outer function should be present. Otherwise, it is hard to understand the link between the downstream task and the bilevel optimization problem that is solved.

  • W5: In Figures 1 and 2, results in wall-time instead of iterations would be more meaningful. Since the per-iteration cost of each algorithm differs, using iterations as the x-axis can be misleading.

  • W6: It is not clear why the DoReMi baseline is only present in the Data-mixture experiment. Moreover, in Figure 2, it is not clear what is the baseline called "Baseline".

Minor/Typo

  • Line 20-21: "The lower-level problem, however, consistently trains a neural network with multilayer matrix parameters." -> "The lower-level problem, however, consistently involves training a neural network with multilayer matrix parameters."

  • Line 253: The two equations on line 253 are the same. Keeping only one of them would be as informative, without blurring the message.

  • Line 164: The filtration Fk\mathcal{F}_k is used at line 164 but only defined in Section 3.

  • Lines 150, 233: The terms "Haar-uniform" and "Stiefel manifold" are used without definition. A brief explanation or pointer would help ML readers unfamiliar with random matrix theory, even though the practical sampling recipe (Gaussian + QR) is provided.

Questions

See "Weaknesses" section of the review.

Limitations
  • L1: The strong-convexity assumption of the inner problem is not mentioned as a limitation. This is a standard assumption in bilevel optimization and thus it does not affect my score. However, the paper is motivated by cases where the inner problem involves a neural network (cf line 20-21 ""The lower-level problem, however, consistently trains a neural network with multilayer matrix parameters."). Therefore, it might be clearer to mention the mismatch between the theoretical assumptions and the practical applicability as a limitation of the analysis.
Final justification

The paper introduces a theoretically grounded and more scalable algorithm for solving bilevel optimization problems.

The authors have adequately addressed my concerns and added new ablation studies to respond to the questions raised by the other reviewers. I now believe the paper merits acceptance, and I encourage the authors to include these new ablation results in the final version of the paper.

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Reviewer EAoV

Thank you for recognizing the motivation, theoretical grounding, and empirical memory reduction of BROS. We address each point of your concerns below.

W1. Bias source and Rademacher correction

For each self-layer (diagonal-layer) Hessian block, the relevant bias comes from the expected difference between the vanilla lifted HVP PP⊤H[PP⊤Z]PP^\top\mathcal H[PP^\top Z] and the exact full-space HVP H[Z]\mathcal H[Z]. Conditioning on Fk\mathcal F_k and letting Q=PP⊤Q=PP^\top, the vanilla lifted HVP in Equation (7) is P∇BB2g~k(xk,0)[P⊤Z]=QH[QZ]P\nabla_{BB}^2\widetilde g_k(x^k,0)[P^\top Z]=Q\mathcal H[QZ]. Because the same sketch appears on both sides of the Hessian, E[Q∣Fk]=I\mathbb E[Q\mid\mathcal F_k]=I alone does not make QH[QZ]Q\mathcal H[QZ] an unbiased estimate of H[Z]\mathcal H[Z].

In fact, applying the projector fourth-moment identity in Appendix Equation (29) blockwise to each HijH_{ij} gives E[QH[QZ]∣Fk]=(a−b)X+bX♯+bC\mathbb E[Q\mathcal H[QZ]\mid\mathcal F_k]=(a-b)X+bX^\sharp+bC. Here, a,ba,b are the single-layer specialization of aℓ,bℓa_\ell,b_\ell in Appendix Equation (28), X:=H[Z]X:=\mathcal H[Z], (X♯):,i:=∑jHij⊤zj(X^\sharp)_{:,i}:=\sum_jH_{ij}^\top z_j, and C=ZTC=ZT with Tij:=tr⁡(Hij)T_{ij}:=\operatorname{tr}(H_{ij}).

Accordingly, after normalizing the coefficient of XX, the bias is E[(a−b)−1QH[QZ]∣Fk]−X=ba−b(X♯+C)\mathbb E[(a-b)^{-1}Q\mathcal H[QZ]\mid\mathcal F_k]-X=\frac{b}{a-b}(X^\sharp+C). The Rademacher bi-probes in Equation (8) provide the two additional moment equations needed for correction: Appendix Equation (36) gives E[C^∣Fk]=C\mathbb E[\widehat C\mid\mathcal F_k]=C, whereas Appendix Equation (38) gives E[B^♯∣Fk]=bX+(a−b)X♯+bC\mathbb E[\widehat B_\sharp\mid\mathcal F_k]=bX+(a-b)X^\sharp+bC. Combining these terms with the lifted HVP as in Equation (9) cancels the nuisance components and yields the unbiased estimator established in Appendix Equation (39).

We will add this bias derivation in the main text before presenting the estimator and make these equation cross-references explicit.

W2. Equation (5), Algorithm 1, and oracle notation

Equation (5) defines the randomized-subspace auxiliary function g~k(x,B):=g(x,Yk+PkB)\widetilde g_k(x,B):=g(x,Y^k+P^kB), where BB parameterizes perturbations in the subspace spanned by PkP^k. The stochastic oracle V~k+1\widetilde V^{k+1} is used to estimate the projected gradient ∇Bg~k(xk,0)\nabla_B\widetilde g_k(x^k,0), so the full-space unpreconditioned update is Yk+1=Yk−βkPkV~k+1Y^{k+1}=Y^k-\beta_kP^k\widetilde V^{k+1}. Its multilayer counterpart is V~k+1\widetilde{\boldsymbol V}^{k+1}, yielding line 9 in Algorithm 1: Yk+1=Yk−βkPkV~k+1\boldsymbol Y^{k+1}=\boldsymbol Y^k-\beta_k\boldsymbol P^k\widetilde{\boldsymbol V}^{k+1}. Defining f~k\widetilde f_k analogously, the remaining oracles (U~xk+1,U~Yk+1,H~k+1,J~k+1)(\widetilde U_x^{k+1},\widetilde{\boldsymbol U}_Y^{k+1},\widetilde{\mathcal H}^{k+1},\widetilde{\mathcal J}^{k+1}) are conditionally unbiased estimates of (∇xf~k,∇Bf~k,∇BB2g~k,∇xB2g~k)(\nabla_x\widetilde f_k,\nabla_{\boldsymbol B}\widetilde f_k,\nabla^2_{\boldsymbol B\boldsymbol B}\widetilde g_k,\nabla^2_{x\boldsymbol B}\widetilde g_k) at (xk,0)(x^k,\mathbf 0), respectively.

We will introduce the notation for these stochastic oracles used to estimate subspace gradients or Hessians before Algorithm 1.

W3. Meaning of "SGD-style"

The term "SGD-style" was intended only to describe the unpreconditioned SGD-like updates performed on Y\boldsymbol Y and Z\boldsymbol Z, i.e., once a stochastic gradient estimate is obtained, it is applied directly in the corresponding gradient update. This term was not intended to describe Algorithm 1 as an SGD update as a whole. The iterate hkh^k is updated by the MA-SOBA exponential moving-average tracker. We will remove this ambiguous description and revise the compatibility paragraph to state explicitly that Algorithm 1 applies unpreconditioned SGD-like updates to Y\boldsymbol Y and Z\boldsymbol Z while maintaining hkh^k with an exponential moving average.

W4. Explicit objectives

Below, we provide the explicit bilevel objectives and variable definitions for each experimental task:

MNIST cleaning. The upper variable λi\lambda_i sets wi=σ(λi)w_i=\sigma(\lambda_i), and the lower variable θ\theta is a logistic-regression model: g=Ntr−1∑iwiℓ(θ,ui,y~i)+(Cr/2)∥θ∥2g=N_{\mathrm{tr}}^{-1}\sum_iw_i\ell(\theta,u_i,\widetilde y_i)+(C_r/2)\|\theta\|^2, f=Nval−1∑jℓ(θ,ujval,yjval)f=N_{\mathrm{val}}^{-1}\sum_j\ell(\theta,u_j^{\mathrm{val}},y_j^{\mathrm{val}}).

Data mixture. The upper variable a∈R17a\in\mathbb R^{17} gives π=softmax⁡(a)\pi=\operatorname{softmax}(a), and the lower variable θ\theta is the 280M proxy model: g=∑dπdLdtr(θ)+(Cr/2)∥θ∥2g=\sum_d\pi_dL_d^{\mathrm{tr}}(\theta)+(C_r/2)\|\theta\|^2, f=max⁡d{Ldout(θ)−Ldref}f=\max_d\{L_d^{\mathrm{out}}(\theta)-L_d^{\mathrm{ref}}\}. Here, dd indexes the 17 Pile domains. The quantities LdtrL_d^{\mathrm{tr}} and LdoutL_d^{\mathrm{out}} are their mean next-token losses on separate same-stream minibatches, and LdrefL_d^{\mathrm{ref}} is fixed from a reference model.

CIFAR-10 representation. The upper variable ϕ\phi is the ResNet-18 backbone, and the lower variable θ=(W,b)\theta=(W,b) is the linear head (correcting the current text): g=Ntr−1∑iℓ(Whϕ(ui)+b,yi)+(Cr/2)∥θ∥2g=N_{\mathrm{tr}}^{-1}\sum_i\ell(Wh_\phi(u_i)+b,y_i)+(C_r/2)\|\theta\|^2, f=Nval−1∑jℓ(Whϕ(ujval)+b,yjval)f=N_{\mathrm{val}}^{-1}\sum_j\ell(Wh_\phi(u_j^{\mathrm{val}})+b,y_j^{\mathrm{val}}). Here, hϕ(u)h_\phi(u) is the backbone feature.

CIFAR-100 ViT reweighting. The upper variable aia_i sets wi=0.05+0.95σ(ai/2)w_i=0.05+0.95\sigma(a_i/2), and the lower variable θ\theta is the trainable subset of the ViT parameters, with the other parameters fixed: gB=∣B∣−1∑i∈BwˉiBℓLS(hθ(A(ui)),y~i)g_B=|B|^{-1}\sum_{i\in B}\bar w_i^B\ell_{\mathrm{LS}}(h_\theta(\mathcal A(u_i)),\widetilde y_i), f=Nval−1∑jℓ(hθ(ujval),yjval)f=N_{\mathrm{val}}^{-1}\sum_j\ell(h_\theta(u_j^{\mathrm{val}}),y_j^{\mathrm{val}}). Here, BB is a training minibatch. The normalized weight is wˉiB=wi/mean⁡q∈Bwq\bar w_i^B=w_i/\operatorname{mean}_{q\in B}w_q, hθh_\theta gives the ViT logits, A\mathcal A denotes augmentation, and ℓLS\ell_{\mathrm{LS}} is label-smoothed cross-entropy. We use Nval=2,500N_{\mathrm{val}}=2{,}500 for outer updates and another 2,500 clean examples for model selection.

We will place these four formulations in Section 5 (Experiments) of the main text, at the start of the corresponding Hyper-data cleaning, Data-mixture learning, Hyper-representation learning, and ViT sample reweighting task paragraphs, before any performance claim, baseline comparison, or figure reference.

W5. Wall-clock comparison

For the MNIST experiment in Figure 1, we report test accuracy against wall-clock time in the same task setting as in the main text. At each labeled time, we report the nearest recorded checkpoint at or before that time.

Table R1-1. MNIST test accuracy (%) versus training wall-clock time.

Wall-clock (s) MA-SOBA Penalty FdeHBO ZOFO BROS
13.85 82.61 80.96 80.98 80.95 82.58
26.39 83.56 82.05 82.34 82.06 83.38
38.92 84.00 82.87 82.91 82.69 83.72
51.46 84.44 83.37 83.25 83.28 84.06
63.99 84.45 83.60 83.56 83.56 84.58

At 63.99 s, BROS reaches 84.58%84.58\% test accuracy, compared with 84.45%84.45\% for MA-SOBA and at most 83.60%83.60\% for the other methods. Thus, BROS remains competitive under a shared wall-clock budget.

For the 280M data-mixture experiment in Figure 2, we report average evaluation loss against wall-clock time in the same task setting as in the main text. At each labeled time, we report the nearest recorded checkpoint at or before that time, with evaluations performed every 5,000 steps over the full 200K-step run.

Table R1-2. 280M main-model average evaluation loss versus training wall-clock time.

Wall-clock (h) Original Pile Mixture MA-SOBA DoReMi Penalty FdeHBO ZOFO BROS
4 3.1354 3.1330 3.3925 3.1128 3.1362 3.0975 3.1090
6 3.0487 3.0369 3.2955 3.0138 3.0224 3.0312 3.0265
8 2.9406 2.9036 3.1798 2.9334 2.9036 2.9063 2.8963

At the same 8 h wall-clock budget, BROS obtains an average evaluation loss of 2.8963, which is 0.0073 lower than MA-SOBA's 2.9036. Thus, after accounting for differences in per-step computational cost, BROS remains competitive with the strongest full-space baselines.

W6. DoReMi and "Baseline"

DoReMi [1] is an application-specific data-mixture method, not a task-generic SBO optimizer. It requires predefined domains and reference losses and updates domain weights using per-domain excess losses. The other three tasks do not provide this domain-mixture interface, so DoReMi is not directly applicable as a matched baseline in those settings.

[1]. Xie, S. M., Pham, H., Dong, X., Du, N., Liu, H., Lu, Y., Liang, P. S., Le, Q. V., Ma, T., & Yu, A. W. (2023). DoReMi: Optimizing data mixtures speeds up language model pretraining. Advances in Neural Information Processing Systems, 36, 69798-69818.

"Baseline" denotes a 280M main model trained from scratch using the original Pile-domain proportions, without a proxy-learned mixture. We will rename this entry "Original Pile Mixture" consistently in the Figure 2 legend and caption and add this definition to the corresponding data-mixture experimental protocol.

L1. Scope of the strong-convexity assumption

Our guarantee requires g(x,⋅)g(x,\cdot) to be μg\mu_g-strongly convex for each fixed xx, which is a standard assumption in bilevel optimization but does not cover general neural-network lower-level training. We will state this limitation after Assumption 1 and narrow the corresponding Introduction claim.

Minor comments and typos

We will address all minor comments and typos as requested in the revised manuscript.

We sincerely appreciate your thoughtful comments once again. We hope the responses address the concerns raised and would be happy to provide further clarification if needed.

Reviewer EAoV · CommentOpenReview ↗

I thank the authors for their rebuttal and the additional experiments. They adequately addressed my concerns, and I have updated my score accordingly.

Authors · CommentOpenReview ↗

Thanks for your reply and the update for the score to 5. And we also appreciate the reviewer for the recommendation for BROS.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…