potentialpaper

Estimating Implicit Regularization in Deep Learning

Joseph H. Rudoler, Kevin Tan, Giles Hooker, Konrad Kording

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. We provide a practical way to empirically measure how training methods implicitly regularize deep networks.

Abstract. Deep learning systems are known to exhibit implicit regularization (alt. implicit bias), favoring simple solutions instead of merely minimizing the loss function. In some cases, we can analytically derive the implicit regularization -- connecting it to an equivalent penalty that augments the learning objective. However, modern deep learning systems are complex, carrying modifications to the training procedure and architecture (e.g. early stopping, minibatching, dropout) whose effects are not always directly interpretable. Although estimating the resulting implicit regularization could aid theorists in algorithm design and practitioners in interpreting their hyperparameter choices, this problem has received little direct attention. It is also tractable: regularization makes weight updates deviate from loss gradients, promising a signal for identifying implicit bias. Here we provide gradient matching methods that can be used to empirically estimate the implicit regularization. Our method works on networks with known regularization, recovering popular explicit penalties like ℓ1\ell_1 and ℓ2\ell_2. It also replicates known implicit effects, like the quadratic weight penalty induced by early stopping in gradient descent, demonstrating that it can be used to test theories of implicit regularization. Crucially, because our method is empirical, it can handle implicit regularization in arbitrary networks. We demonstrate this use by characterizing the implicit ℓ2\ell_2 effects of dropout in deep networks. Our work shows that practitioners can use gradient matching to understand regularization in networks with implicit biases that are too complicated to derive analytically.

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
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

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

The authors mathematically describe a method to quantify implicit regularisation and biases, and show that it can be used to empirically estimate their effects. They demonstrate the effectiveness of their method by using it to recover known regularisation effects such as early stopping. In short, the core of their method is to propose a gradient-matching framework that treats the learned parameters of a model as if they were the solution to an explicitly regularised empirical risk minimisation problem.

Strengths

  • Clear, novel theoretical framework
  • A neat idea, which works well on the present baseline

Minor weaknesses that could improve significantly the quality oft he paper

  • It would be of interest to identify whether the method can determine if a given regularisation is explained or not by the framework (in line with the remark on a "demonstration of novel implicit bias" from reviewer iMcK, or Weakness 1 from reviewer rnFp)
  • A simple justification for the scale of the experiments would be welcome, and why CNNs could not be considered
Final justification

The three reviewers were generally positive about the paper and its results, and all ultimately supported acceptance before the rebuttal, and particularly after the discussion. The rebuttal did an excellent job addressing their concerns, and I encourage the authors to incorporate the relevant clarifications and discussion into the final version. I therefore strongly recommend acceptance of this work, as the weaknesses I identified are relatively minor. Overall, I believe this is a valuable contribution to NeurIPS.

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

The authors mathematically describe a method to quantify implicit regularisation and biases, and show that it can be used to empirically estimate their effects. They demonstrate the effectiveness of their method by using it to recover known regularisation effects such as early stopping. In short, the core of their method is to propose a gradient-matching framework that treats the learned parameters of a model as if they were the solution to an explicitly regularised empirical risk minimisation problem.

Strengths

  • Clear, novel theoretical framework
  • A neat idea, which works well on the present baseline

Minor weaknesses that could improve significantly the quality oft he paper

  • It would be of interest to identify whether the method can determine if a given regularisation is explained or not by the framework (in line with the remark on a "demonstration of novel implicit bias" from reviewer iMcK, or Weakness 1 from reviewer rnFp)
  • A simple justification for the scale of the experiments would be welcome, and why CNNs could not be considered
Final justification

The three reviewers were generally positive about the paper and its results, and all ultimately supported acceptance before the rebuttal, and particularly after the discussion. The rebuttal did an excellent job addressing their concerns, and I encourage the authors to incorporate the relevant clarifications and discussion into the final version. I therefore strongly recommend acceptance of this work, as the weaknesses I identified are relatively minor. Overall, I believe this is a valuable contribution to NeurIPS.

Reviewer rnFpOpenReview ↗
Rating
5/6
Confidence
2/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 manuscript studies how to empirically estimate implicit regularization in deep learning systems. The manuscript proposes a gradient-matching framework that treats the learned parameters of a model as if they were the solution to an explicitly regularized empirical risk minimization problem.

Strengths and weaknesses

Strengths:

  1. Rather than deriving implicit regularization analytically in a highly simplified setting, the method allows the user to posit a family of regularizers and estimate its coefficients from gradients.
  2. The proposed method provides a practical bridge between theoretical models of implicit regularization and empirical deep learning systems.

Weakness:

  1. The method depends heavily on the choice of the candidate regularizer family. If the proposed family is misspecified, the method may still find a regularizer that partially matches the gradients or reproduces some endpoint behavior, but this does not necessarily identify the true mechanism behind the implicit bias. This is especially important in complex neural networks, where the actual implicit regularization may be path-dependent, data-dependent, non-additive, or not well captured by simple norm penalties.
  2. The empirical scope is limited relative to the ambition of the method. It would strengthen the manuscript to include larger-scale architectures and datasets, such as CNNs on CIFAR/ImageNet-style tasks or transformer-based models
Questions
  1. The framework requires the user to specify a candidate regularizer family before estimation. Could the authors provide clearer practical guidance on how to diagnose misspecification of this family?
  2. Can the authors test the stronger validation criterion discussed in the paper: removing dropout and retraining with the estimated explicit regularizer?
Limitations

Yes

Formatting concerns
  1. Some formulas do not have a period at the end.
  2. The terms "optima" and "minima" are not consistently used.
1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer rnFp for the positive assessment and for pinpointing a central methodological question — dependence on the candidate regularizer family. We address the weaknesses, questions, and formatting notes below.

Dependence on the candidate regularizer family / misspecification

We agree that the choice of regularizer family is important; but in order to be useful, that choice should also be informed by how it will be used. If we are looking for something that tells us more explicitly about model behavior, then the implications of a particular regularizer need to be intelligible to be useful.

We are not sure that you can coherently discuss a ``true mechanism'' behind implicit bias as opposed to the statement that there is a regularizer that has a very similar effect. The mechanism behind the effects of dropout is the way that algorithm is implemented, but the effect is also well approximated by a ridge penalty. The question is then whether we can find such a regularizer, and how dependent that is on all the features you specify.

Empirical scope relative to the method's ambition

We thank the reviewer and agree scaling to larger systems and architectures is an important direction for future work. We are adding a discussion of the challenges and considerations for scaling this work to large SOTA systems in the appendix, to better explain why it is outside our scope and provide guidance for the community to build on our work.

To briefly outline this appendix (as in our response to reviewer GHL1, who had similar questions), we will base our discussion around:

  • The complexity of modern training procedures, especially for large language models -- these often involve multiple datasets and varying objectives (for pre-training and post-training), in addition to complicated explicit regularization and many architecture and optimizer modifications that may implicitly regularize the system.
  • The steps required to disentangle the myriad regularization effects; these include accounting for explicit regularizing mechanisms during training, isolating a single data regime, and conducting ablation studies on mechanisms which may induce implicit regularization.
  • The current landscape of open-weight and open-source language models, and how varying degress of openness impact our ability to study implicit regularization outside of the companies training models.
  • The necessity of theoretical work to propose and develop mathematical models of regularization that capture the desired effects of training procedures. There nuance and skill in finding simple descriptions of complex phenomena.

Practical guidance for diagnosing misspecification

We appreciate reviewer's interest in this point, as evaluating quality of fit is central to the utility of the framework. In addition to misspecification error, it is also possible that a well-specified family of regularizers results in a poor fit due to noisy data (e.g. minibatch variability) or optimization failures in estimating the relevant parameters.

An intuitive diagnostic is the proportion of variance in the loss gradient that is explained by the estimated regularizer. Consider $R2=1−∥∇θL+∇θR^∥2∥∇θL∥2R^2 = 1 - \frac{\| \nabla_\theta \mathcal{L} + \nabla_\theta \hat{\mathcal{R}} \|^2}{\| \nabla_\theta \mathcal{L} \|^2}$ where R^\hat{\mathcal{R}} is the estimated regularizer. This quantity measures the proportion of the loss gradient that is explained by the estimated regularizer. A low value of R2R^2 indicates that the regularizer family is likely misspecified, while a high value suggests that the family is well-specified.

This is closely related to the canonical R2R^2 goodness-of-fit metric in linear regression, as indeed the simplest instantiation of our framework is a linear regression of the loss gradient on the candidate regularizer family. We have incorporated this diagnostic into the main text and added a more detailed discussion in the appendix. In our experiments we find that the R2R^2 values are generally high (> 0.9) for the regularizers we know to be well-specified (e.g. elastic net) and lower for those that are misspecified or under-specified (e.g. dropout, which we know to be more complex and data-adaptive).

Stronger validation: remove dropout and retrain with the estimated regularizer

It a very sensible request to validate the regularizers that we obtain by retraining models to find the global optimum when the implied penalty is added to the training objective. This should, if we have uncovered good regularization analogues, provide similar solutions to those found with implicit methods. This is a very natural experiment, which we have already done in some cases (Figure 4C in the manuscript for early stopping, as well as experiments on elastic net regularization which recover the original weights) and will extend to other cases in the revision.

Reviewer iMcKOpenReview ↗
Rating
5/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

Proposes a gradient-matching framework for empirically estimating the implicit regularizer a trained model effectively minimises, by fitting a parametric R(θ,Λ)\mathcal{R}(\theta, \Lambda) so that ∇R(θ^)≈−∇L(θ^)\nabla\mathcal{R}(\hat\theta) \approx -\nabla\mathcal{L}(\hat\theta). Identifiability and sample-size limits are mitigated via endpoint pooling, trajectory-deviation equations, and bootstrap resampling. Validated on four settings: elastic-net recovery in ReLU nets, the early-stopping quadratic in OLS, dropout-as-ℓ2\ell_2 on MNIST, and the ηp/4\eta p/4 scaling of implicit gradient regularization.

Strengths and weaknesses

Strength

  • Clean conceptual core. Treating the trained iterate as the stationary point of L+R\mathcal{L}+\mathcal{R} and solving ∇R=−∇L\nabla\mathcal{R} = -\nabla\mathcal{L} for Λ\Lambda is a simple, well-motivated viewpoint; endpoint pooling, bootstrap, and trajectory deviations all follow from it directly. Figure 1 delivers this in one diagram and §2–§3 follow it cleanly — the most readable of the five reviewed papers.
  • Four distinct validations. Elastic-net recovery on ReLU nets (Fig. 3), early-stopping ridge in OLS matching Ali et al.'s theoretical Λ(t)\Lambda^{(t)} (Fig. 4), dropout-as-ℓ2\ell_2 on MNIST (Fig. 5), and Barrett–Dherin's λ=ηp/4\lambda = \eta p/4 scaling (Fig. 6). Recovering both known explicit and known implicit biases on different model classes is the right way to build credibility.
  • Honest about identifiability. Section 2.2 names collinearity, the O(r/peff)O(\sqrt{r/p_{\text{eff}}}) error scaling, the regularizer-dimension limit p=dim⁡(θ)p = \dim(\theta), and the bootstrap remedy; Conclusions acknowledges that not every training technique admits an equivalent explicit regularizer.

Weakness

No substantial weakness that the paper has not already addressed. The remaining open directions — extending validation to unknown implicit regularizers (mixup, SWA, LR warmup) and to larger architectures (CIFAR / Transformer) — are follow-up scope rather than flaws in the present submission, and are surfaced as Questions below.

Questions
  1. One demonstration of novel implicit bias. Could the authors apply the framework to a setting where the implicit regularizer is not known a priori — for example, the effective regularization of mixup, of stochastic weight averaging, or of a learning-rate warmup schedule — even on a small architecture? A single such study would directly support the "interpretability tool" claim in the intro.

  2. CIFAR or Transformer demonstration. Is dropout-on-MNIST (Fig. 5) the largest setting because of the peffp_{\text{eff}} bottleneck, or for compute reasons? If the latter, a single CIFAR-10 ResNet/ViT-tiny experiment would substantially expand the credibility of the "modern deep learning" framing.

  3. Stability of Λ^\hat\Lambda along the trajectory. For at least one configuration in Fig. 5 (e.g., width 256, depth 3, fixed dropout rate), how does λ^\hat\lambda change as θ^\hat\theta is taken at {0.5,0.8,1.0}×\{0.5, 0.8, 1.0\}\times the training endpoint? A panel like Fig. 4E but for dropout would clarify how sensitive the estimator is to non-stationarity.

  4. When does the framework fail? The Conclusions note that some techniques may not admit an equivalent explicit regularizer. Is there a positive example in the paper's repertoire — a setting where the estimator visibly fails to converge, or returns a regularizer whose retrained model deviates from the original — that would help practitioners diagnose unsuitability?

  5. Bootstrap fix (Appendix F) in the main empirical results. Is the bootstrap remedy for collinearity actually used in Figures 3–6, or only theorised? A clarification of which estimator variant produced which figure would aid reproducibility.

Limitations

Yes.

Final justification

I appreciate the authors’ responses and clarifications. I think this is a solid piece of work that raises an interesting research direction and provides meaningful results despite the remaining limitations. The rebuttal helped clarify several aspects of the work, and overall I believe the paper is ready for publication and would be a valuable addition to the community. I support acceptance with the assigned score.

Formatting concerns

.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer iMcK for the positive assessment and the exceptionally clear summary of our contribution. We address each question below.

A demonstration on a novel implicit bias

Thank you for this suggestion. We conducted a preliminary study of stochastic weight averaging (SWA) on a depth-3, width-256 MNIST MLP across 10 seeds. We first trained each model for 100 epochs and saved the resulting checkpoint θ0\theta_0. Starting from this same checkpoint and optimizer state, we then compared: (i) an ordinary decayed-SGD tail, (ii) the final iterate of a 100-epoch constant-learning-rate (0.005) tail, and (iii) the equal average of the 100 end-of-epoch iterates from that constant-learning-rate tail. The branches used identical minibatch orders, allowing us to separate the effect of weight averaging from that of the modified learning-rate schedule.

Our estimator identified a checkpoint-centered quadratic:

RSWA(θ)=λ∥θ−θ0∥22.\mathcal{R}_{\mathrm{SWA}}(\theta) =\lambda\|\theta-\theta_0\|_2^2.

Unlike ordinary ℓ2\ell_2 weight decay, which pulls the weights toward zero, this penalty pulls them toward the weights θ0\theta_0 at which SWA averaging began. It therefore discourages the model from moving too far from the pre-SWA solution. At the averaged endpoint, this penalty explained 92.3%±0.5%92.3\%\pm0.5\% of the loss-gradient energy (cosine=0.961±0.002\text{cosine}=0.961\pm0.002), with λ^=0.006911±0.000015\hat\lambda=0.006911\pm0.000015. Ordinary origin-centered ℓ2\ell_2 explained only 27.7%±0.4%27.7\%\pm0.4\%.

We also directly examined the displacement from the final high-learning-rate iterate to its SWA average. The checkpoint-centered quadratic explained 99.7%99.7\% of this displacement, compared with 31.2%±0.5%31.2\%\pm0.5\% for ordinary ℓ2\ell_2. Finally, replacing averaging with the fitted explicit checkpoint-centered penalty recovered the SWA direction with cosine alignment 0.99931±0.000040.99931\pm0.00004, reduced normalized parameter distance to SWA from 0.878±0.0030.878\pm0.003 to 0.111±0.0010.111\pm0.001, and reproduced 100% of the SWA training predictions.

These results are preliminary and cover one dataset, architecture, and SWA schedule. They characterize the averaging operation conditional on its training trajectory, rather than establishing a universal static regularizer for the entire learning-rate-plus-averaging procedure. Nevertheless, they suggest that SWA averaging acts locally like ℓ2\ell_2 regularization toward the checkpoint where averaging begins, providing an example in which our framework identifies an effective regularizer that was not specified in advance.

Size/complexity limitations (no ResNet / transformers)

This is largely about the complexity of the model and the training techniques rather than purely a compute issue. Studying the implicit regularization of a ResNet or ViT would require disentangling the effects of multiple regularizing mechanisms, and each of these would need to be isolated and studied in a controlled manner. Each new architecture or training technique could easily be its own paper, and we plan to explore these directions in future work -- and hope that we can inspire others to do so as well by describing our framework clearly in this work. Our revision will include an appendix addressing the challenges and necessary steps for scaling to bigger and more complex systems.

Stability of the estimator along the trajectory (non-stationarity)

We appreciate the suggestion and will add a panel to the revision that shows how λ^\hat{\lambda} varies along the trajectory for dropout. Our initial results (table below) indicate that the estimated regularizer is relatively stable along the trajectory, converging to within 4% of its final value by 80% of the training endpoint. We will include a more polished version of this analysis in the revision to provide a clearer picture of the estimator's sensitivity to non-stationarity.

Checkpoint Median λ^\hat\lambda Paired ratio to endpoint
0.5T0.5T 4.587×10−54.587\times10^{-5} 1.277 [1.213, 1.359]
0.8T40.8T4 3.703×10−53.703\times10^{-5} 1.039 [1.031, 1.041]
TT 3.576×10−53.576\times10^{-5} 1.000

When does the framework fail?

We appreciate the reviewer's interest in understanding the limitations of our framework and agree that providing a concrete example of failure would be valuable. In our experiments, we observed that when the candidate regularizer family is misspecified, the estimator can fail to converge or return a regularizer that does not accurately capture the implicit regularization. For instance, in the case of dropout, which is known to have a complex and data-dependent effect (e.g. Wager 2013, Wei et al. 2020), our estimated regularizer did not fully capture the behavior of the original model. Though estimated regularizers can still provide insight into the training dynamics, they may not always lead to retrained models that match the original performance. We will expand our discussion of this example in the revision.

Is the bootstrap fix (Appendix F) used in the main results?

No — the bootstrap is not used in any of Figures 3–6. Every main-text figure gets its estimating equations either from a single training endpoint or from independent endpoints (fresh datasets, fresh ground-truth parameters, or independent training seeds). Bootstrap resampling appears only in Appendix F (Algorithm 1, Figure 7), which is the remedy for the case where only one dataset is available and independent redraws are therefore impossible: rows of a single (X,y)(X,y) are resampled with replacement to manufacture the extra approximate stationarity conditions. The word "resamples" in the Figure 3 caption means independent dataset draws (a fresh XX, θ\theta, ε\varepsilon, and train/test split per seed), not bootstrap resamples; we will reword it to "independent dataset draws" to remove exactly this ambiguity.

Figure Estimator variant Where the multiple endpoints / replicates come from
3 iterative gradient matching, 2-parameter elastic-net family, fit from a single endpoint 10 independent datasets per grid cell (fresh X,θ,εX,\theta,\varepsilon, split, and init per seed); each seed is its own independent fit and the 10 λ^\hat\lambda values give the mean ±1\pm 1 SE
4A none — closed-form theoretical Λ(t)\Lambda^{(t)} single dataset, single early-stopped run
4B full symmetric-matrix least squares over the p(p+1)/2p(p+1)/2 free parameters, m=10m=10 stacked endpoints 10 independent endpoints: new ground-truth θk\theta_k and new noise εk\varepsilon_k, shared XX, all evaluated at the same fixed t=500t=500
4C iterative gradient matching, Λ^\hat\Lambda constrained diagonal, single endpoint none — one dataset, one run
4D same symmetric-matrix least squares as 4B, refit for m=1,…,100m=1,\dots,100 100 independent endpoints per pool ×\times 10 independent pools (CI is across pools), with per-endpoint early stopping so tkt_k varies
4E scalar ridge Λt=λtI\Lambda_t=\lambda_t I: iterative gradient matching, plus the closed form and theory for comparison none — a single deterministic GD trajectory evaluated at 12 checkpoints
5 (dropout) iterative gradient matching, scalar ridge, single endpoint 10 independent training runs (seeds) per (depth, width, dropout) cell on the same fixed MNIST split; each plotted point is one run's own fit, not a pooled fit
6 (IGR) closed-form trajectory least squares for the scalar λ\lambda in (2λ/p)Hg≈T(2\lambda/p)Hg \approx \mathcal{T} — a different estimator variant from the iterative gradient-matching one used in Figs. 3–5 T=5T=5 consecutive full-batch probe steps along one trajectory per (width, η\eta) cell; one seed per cell
7 (Appendix F) full symmetric-matrix least squares, identical to 4B/4D bootstrap: rows of a single (X,y)(X,y) resampled with replacement, mm up to 100, 10 independent pools of resamples
Reviewer iMcK · CommentOpenReview ↗

I appreciate the authors’ responses and clarifications. After reading the rebuttal and considering the other reviews, my overall assessment remains positive, and I continue to support acceptance with the original score.

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

The authors highlight that our algorithm and model architecture choices often bias solutions in ways we aren’t aware of. When we are aware of how these decisions impact our models, we are empowered with the ability to craft full solutions. Thus, the authors mathematically describe a method to quantify regularisation / bias and show they can use it to empirically estimate these once obscured effects. They demonstrate their methods effectiveness by using it to derive known regularisation effects such as early stopping.

Strengths and weaknesses

The authors start by giving us an overview of previous work that estimates model bias and common ways that we bias our models. Since theoretical analysis of bias can be so complex, previous work focuses on rather simple settings that are far removed from our current environment. This motives their work to define an arbitrary empirical estimate of bias that can be used on more complex and contemporary models.

Thus, the authors define the regularisation (or bias) R as the explicit augmentation of a loss function L that is needed to mimic the optimisation of an implicitly biased model that is optimised on L alone.

For their first example of their method they show how they can recover the weight penalties for explicitly regularised lasso-, ridge-regression, and elastic net models. While their method is not entirely accurate across the full domain of these penalties, it seems to be accurate over regions commonly used in practice.

Next they demonstrate their method’s ability to estimate known regularisation terms for implicitly regularised early stopping, Dropout, and learning rate size / discrete gradient steps in Multi-Layer Perceptrons on synthetic data and MNIST.

This work shows good promise for such an early and novel idea. However, I am left somewhat confused whether it achieved its main goal and filled the gap it identified. I feel the authors need to add some more clarity here. More on this in the next section.

Questions

The authors identify that previous works are based on models that are quite far removed from our contemporary models. While they may make a step towards it, their experiments are also quite far from our current environment. I completely understand that this is the first step in a journey, but I found myself wondering if something like this could currently work on recent methods or if a lot of work would be needed for that.

I suggest the authors add some clarification on this. Would it be possible to use this method on a 8B parameter model, for example? If not, why not? They mention that a limitation is that there is a relationship between the data required and the model size. Help us understand this relationship. Tell us (and maybe plot) how much data it would take to use this on various sized models (1M 10M 100M 1B 10B 100B, for example).

It is ok if your method doesn’t completely fill the gap it set out to yet, it’s completely new. But help us understand how well it fits that gap and how much distance there is to travel before it does.

Similarly, I would have loved to see this method tested on unknown biases. For example, even if it is on small models, what bias does the transformer architecture provide over a MLP? That would be so interesting to start to get a grasp on!

It would also have been exciting if the authors demonstrated estimating an implicit bias and then augmented a model explicitly to see if they could add that bias to another model. For example, can we use the MLP architecture but add the transformer bias? What does that model’s performance and training dynamics look like? I feel this work can investigate so many interesting questions and would love to see the authors either try to tackle some of them, or simply mention some of the exciting things that might spawn from this work. Help us be as excited about your work as you are.

Those are my main suggestions. However, I do have a couple clarifying questions:

How exactly do you distinguish between explicit and implicit regularisation? It’s not clear to me from your description, can you please clarify? How can we be sure that R is the exact and exclusive effect of the model augmentation only and not some interaction between it and an existing aspect of the model? We know our models are extremely complex and tightly coupled. We also know that mechanisms interact to provide behaviour together that neither would give separately, or that some mask the effects of others. So, how can we be sure your method isolates only the augmentation and not interactions? My initial guess is that to be sure one would have to re-run the experiment with many different models each with and without the augmentation.

Limitations

yes

Final justification

I feel the authors provided a decent submission and worked hard on a decent rebuttal. Their research isn't perfect or final, but I don't feel any research ever is. I think this work is ready for publication and would be an interesting addition to the community. I am excited to see where this research goes.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer GHL1 for the careful and encouraging review, and in particular for recognizing the originality of the approach. Below we address their questions and comments by topic.

Applicability to contemporary / large models, and the data-vs-model-size relationship

We will add a section in the appendix describing the challenges and considerations for scaling this work to large SOTA systems, either CNNs or LLMs. Based on very preliminary work, a naive deployment of our approach on open-weight language models of tractable scale (less than 10B parameters) explains a relatively small percentage of the variation in the loss gradient. We expect that this is likely due to the interaction of multiple regularizing mechanisms being at play during training and disentangling these will likely require ablation studies and access to the training environment (not possible for most open-weight language models).

Briefly, we will base our dicussion around:

  • The complexity of modern training procedures, especially for large language models -- these often involve multiple datasets and varying objectives (for pre-training and post-training), in addition to complicated explicit regularization and many architecture and optimizer modifications that may implicitly regularize the system.
  • The steps required to disentangle the myriad regularization effects; these include accounting for explicit regularizing mechanisms during training, isolating a single data regime, and conducting ablation studies on mechanisms which may induce implicit regularization.
  • The current landscape of open-weight and open-source language models, and how varying degress of openness impact our ability to study implicit regularization outside of the companies training models.
  • The necessity of theoretical work to propose and develop mathematical models of regularization that capture the desired effects of training procedures. There nuance and skill in finding simple descriptions of complex phenomena.

Moreover, we would like to clarify that the size of a model, strictly speaking, is not the limiting factor for our method. The diffulty described above is more about the complexity of the model's architecture and training techniques than the sheer size. In fact, larger models may even be more amenable to our approach. The limiting factor is the dimension r of the regularizer family relative to that of the model p (not the size of the dataset). This is because our approach essentially regresses the loss gradient (a p-dimensional vector) on the candidate regularizer family (an r-dimensional vector). If r is too large relative to p, then the regression problem becomes ill-posed and the estimated regularizer may be unstable. For a regularizer family with fixed dimension r, the method is actually more likely to be successful for larger models (larger p). We derive an O(r/p)O(\sqrt{r/p}) scaling in Appendix B that quantifies this relationship.

Testing on unknown biases (e.g., transformer vs. MLP)

Demonstrating a novel implicit bias is indeed an exciting direction for future work, but involves quite a bit of care in choosing the candidate regularizer family and setting up experiments which isolate the effects of different regularizers. We will discuss this in the appendix, and we hope to explore this direction in future work.

Transplanting an estimated implicit bias into another model

Since we represent regularizers in terms of weights, this is challenging to translate between architectures (unless there is a clear map between weights); so asking what regularization would give a MLP the bias of a transformer isn't immediate. There are architecture choices that could be represented in this way, e.g. skip connections or pooling layers. A way to develop an implicit regularizer that is equivalent is to evaluate the loss gradient as though the architecture choices were not present. That's a very interesting modification of the procedure we currently discuss in the paper and will note the potential extension in the revision.

How do you distinguish explicit from implicit regularization?

In short, explicit regularization is that which is explicitly incorporated into the objective/loss function during training. Explicit regularization directly affects gradient updates by modifying the loss which gets differentiated to determine the direction of an update in weight space. Implicit regularization is anything else that modifies either (a) the actual weight updates or (b) the optima you reach at the end of training.

However, our thesis is essentially that explicit and implicit regularization are not so different -- we believe that the implicit regularization effects of various training procedures can be modeled as equivalent explicit regularizers that we can add to the objective function.

Disentangling interacting regularizers

We indeed expect that interactions between various model components can induce implicit regularization. As with studying any complex system (e.g. human behavior in economics and psychology) one must be explicit about disentangling these effects, or otherwise decide that the distinction is unimportant for their purposes. We agree with the referee's assessment that to be totally sure one must run ablation experiments in order to isolate these interacting effects. However, we will also note that our approach accomodates modeling interaction effects explicitly as in an economics or psychology study. The range of potential exploration for these techniques is enormous and we do not have space to do more than point to the possibilities.

We thank the reviewer for taking the time to engage with and improve our work, and ask that if they are satisfied with the above, they consider raising their score. We hope to see our paper accepted so that the community can build on our work.

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

Missing a submission?

Loading the discussion…