acceptodds
Published as a conference paper at NeurIPS 2026

SimReg: Achieving Higher Performance in the Pretraining via Embedding Similarity Regularization

Yan Sun, Guoxia Wang, Jinle Zeng, Jiabin Yang, Shuai Li, Li Shen, Dacheng Tao, Dianhai Yu, Haifeng Wang

Abstract

Pretraining large language models (LLMs) with next-token prediction has led to remarkable advances, yet the context-dependent nature of token embeddings in such models results in high intra-class variance and inter-class similarity, thus hindering the efficiency of representation learning. While similarity-based regularization has demonstrated benefit in supervised fine-tuning and classification tasks, its application and efficacy in large-scale LLM pretraining remains underexplored. In this work, we propose the SimReg, an embedding similarity regularization loss that explicitly encourages token representations with the same ground-truth label within each sequence to be more similar, while enforcing separation from different-label tokens via a contrastive loss. Our analysis reveals that this mechanism introduces gains by enlarging multi-classification margins, thereby enabling more efficient classification. Extensive experiments across dense and Mixture-of-Experts (MoE) architectures demonstrate that SimReg consistently accelerates training convergence by over 30% and improves average zero-shot downstream performance by over 1% across standard benchmarks. Further ablation studies and analyses offer practical insights into hyperparameter tuning and loss effectiveness.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_TdxQOpenReview ↗
Rating
2
Clarity
3
Confidence
4
Originality
2
Quality
2
Significance
2
Read review
Summary

This paper proposes a contrastive learning based regularization technique that can be added, as a regularization term, to a standard cross-entropy loss function. The authors argue that although the effectiveness of contrastive learning based regularization has been empirically demonstrated in finetuning and classification tasks, it remains underexplored in large scale LLM pretraining, which normally rely on training with a cross-entropy loss function alone. The authors find that their method, SimREG, makes stable performance gains and speeds up training convergence compared to a plain cross-entropy loss and other chosen baselines.

Strengths and weaknesses

Strengths:

The paper is easy to read, and the layout and presentation of the experiments are fairly good. The main results are kept in a big wide table, which compares their method against a chosen set of baselines on more than one architecture over multiple downstream tasks. They provide comparisons of the runtime and memory consumption of SimREG and standard cross-entropy, in addition to showing some figures to get a better understanding of SimREG. LLMs are quite expensive to train right now and are becoming more important for several real applications in AI. This works tries to make the training more efficient so that one can accelerate training convergence and improve downstream performance.

Weaknesses:

Contrastive similarity-based regularization and extra loss term techniques are well-known tricks that have been used before in pretraining, for example in RELIC [1], Self-Reg [2], and SCE [3]. Although this paper proposes to use it in large-scale LLM pretraining, I still think the idea has been explored before and that it may seem like a straightforward application to adapt this idea to LLM pretraining. For example, while the authors use a standard classification cross-entropy loss, if one replaces the raw classification logits in softmax with pairwise affinities as done in the SimCLR and InfoNCE variants, then it becomes conceptually very similar to previous work, such as RELIC [1], which complements a cross-entropy-based loss function with a contrastive based regularization or extra loss term. There are also existing studies [4, 5, 6, 7, 8], that have explored to simply add a contrastive objective to a plain classification cross-entropy loss, and I think these methods on a conceptual level are similar to SimREG. The authors note that similarity-based regularization has demonstrated benefit in supervised fine-tuning and classification tasks, and it seems that LLMs such as Llama and [4] have used contrastive learning as a post-training step. I think you could show experiments of training in a two-step procedure vs training jointly with a plain classification cross-entropy and contrastive learning.

Although the authors find that SimREG accelerates training convergence and makes improvements in downstream tasks, in some way it is not that strange because it relies on two extra hyperparameters, which may give it an unfair edge. For example, SimCLR empirically demonstrated that lower temperatures often resulted with faster training convergence. It is nice that you adapted one baseline SCE, which was first proposed in the computer vision domain, but I think you could add more baselines and do a similar grid-search over optimal temperature values as you do in Figure 4, Table 6 and Table 7 for these baselines as well. LLM pretraining is supposed to learn broad and general knowledge that can work for a diverse range of tasks. In addition, it is very costly to do and can take a long time so one will probably want to make sure that one does not mess up the learning procedure and rather do more specific training techniques afterwards as post-training steps. I think that you need to do a bit more comprehensive experiments and evaluations over a broader range of tasks and datasets, see for reference the Llama papers, to fully verify the gains. The authors aim to improve large scale LLM pretraining, however, they only demonstrate gains over the baselines with relatively light models such as Llama-350M and Llama-1.3B, in Table 1, but omit many baselines with bigger architectures in Table 2. It seems that you have copied the results of their own method and plain cross-entropy from Table 1 of the lighter models to Table 2 but omitted the results of the other baselines for bigger models. I think you should copy over all the results from Table 1 to Table 2 and add the results of all the baselines with bigger models in Table 2.

[1] Jovana Mitrovic, Brian McWilliams, and Melanie Rey. Less can be more in contrastive learning. In Jessica Zosa Forde, Francisco Ruiz, Melanie F. Pradier, and Aaron Schein, editors, Proceedings on ”I Can’t Believe It’s Not Better!” at NeurIPS Workshops, volume 137 of Proceedings of Machine Learning Research, pages 70–75. PMLR, 12 Dec 2020. URL https: //proceedings.mlr.press/v137/mitrovic20a.html.

[2] Daehee Kim, Youngjun Yoo, Seunghyun Park, Jinkyu Kim, and Jaekoo Lee. Selfreg: Self-supervised contrastive regularization for domain generalization. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9619–9628, 2021.

[3] Julien Denize, Jaonary Rabarisoa, Astrid Orcesi, Romain H´erault, and St´ephane Canu. Similarity contrastive estimation for self-supervised soft contrastive learning. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 2706–2716, 2023.

[4] Beliz Gunel, Jingfei Du, Alexis Conneau, and Ves Stoyanov. Supervised contrastive learning for pre-trained language model fine-tuning. arXiv preprint arXiv:2011.01403, 2020.

[5] Hao Liu and Pieter Abbeel. Hybrid discriminative-generative training via contrastive learning. arXiv preprint arXiv:2007.09070, 2020.

[6] Rahaf Aljundi, Yash Patel, Milan Sulc, Nikolay Chumerin, and Daniel Olmeda Reino. Contrastive classification and representation learning with probabilistic interpretation. In Proceedings of the AAAI conference on artificial intelligence, volume 37, pages 6675–6683, 2023.

[7] Peng Wang, Kai Han, Xiu-Shen Wei, Lei Zhang, and Lei Wang. Contrastive learning based hybrid networks for long-tailed image classification. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 943–952, 2021.

[8] Xiangyun Zhao, Raviteja Vemulapalli, Philip Andrew Mansfield, Boqing Gong, Bradley Green, Lior Shapira, and Ying Wu. Contrastive learning for label efficient semantic segmentation. In Proceedings of the IEEE/CVF international conference on computer vision, pages 10623–10633, 2021.

Questions

Since many contrastive similarity based regularization techniques have been first proposed in the computer vision domain, I think it would be useful if you did some benchmarks on ImageNet as well, preferably with a ResNet50 in SimCLR style SSL setups, to get a full benchmark on different domains. Some of the CL regularization techniques in computer vision, such as RELIC was proposed to enable training with fewer negative samples and lower batch sizes. Right now, SimREG seems more as a hyperparameter trick rather than a remedy to a particular problem, which means that there are many other things one could try to do such as regularization of the model architecture or leaning rate schedulers, etc. I think you could try to highlight a specific scenario where SimREG overcomes a specific problem.

There should be some other recommendations in the Weaknesses section above.

Limitations

yes

Paper formatting concerns

N/A

Final justification

See my last comment in my review explaining the score. I still think intuition and comprehensive comparisons to related work are important when designing new learning systems. The claim of improving large-scale LLM pretraining is also not entirely correct. In my review, I recommended seeing the Llama papers for more comprehensive experiments and broader evaluations. The evaluations there and in the open versions cover broader tasks, the backbones are usually much bigger, and the results from the zero-shot experiments are often much higher than an equivalent sized model in this work can achieve.

Reviewer_zGPmOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper points out the issue that in the pretraining of large language models (LLMs), relying solely on next-token prediction fails to impose strong consistency on token embeddings, and proposes a novel loss function called SIMREG. This method improves the generalization and training efficiency of LLMs with minimal additional computational cost. SIMREG enhances the efficiency of representation learning by introducing an embedding similarity regularization that pulls together token representations with the same ground-truth label and pushes them away from tokens with different labels. Experiments demonstrate that across both dense and Mixture-of-Experts (MoE) architectures, SIMREG accelerates training convergence by over 30% and improves accuracy on downstream tasks. Furthermore, the authors introduced a chunk-wise computation method to reduce computational overhead, and explored optimal hyperparameter scaling according to the model size.

Strengths and weaknesses

Strengths

  • Novelty of extending contrastive learning to large-scale pretraining: It adapts "Consistency Regularization / Contrastive Learning," previously utilized primarily for fine-tuning, small-scale tasks, and the vision domain, to the pretraining of large language models (next-token prediction) and demonstrates its effectiveness.
  • Highly reliable evaluation results: It conducted extensive experiments using models of various architectures and scales, such as LLaMA (350M to 7B) and Mixtral-8x1B (Mixture-of-Experts), providing robust empirical evidence.
  • Practical guidelines for practitioners: It provides practical guidelines for readers and developers to actually apply the method, including hyperparameter sensitivity analysis, scaling laws based on model dimensionality, and the optimal network position for applying the loss function.

Weaknesses

  • Lack of evaluation on deployed systems: It focuses strictly on foundational theoretical frameworks and does not include evaluations of its impact or practicality in actual deployed systems or end-user applications.
  • Marginal absolute performance gains: Although it demonstrates consistent performance improvements across downstream tasks, the average margin of improvement remains at just over 1%.
  • Absence of theoretical analysis on optimal chunk size: While experimental results empirically show that an excessively large chunk (Full SIMREG) is not necessarily optimal, there is no theoretical analysis provided regarding the optimal chunk size.
Questions

Regarding the evaluation results on the downstream tasks presented in Table 1, while the proposed method demonstrates superior performance on average, the results are inverted on certain specific tasks (e.g., BoolQ and MMLU for the 350M model, and OBQA for the 1.3B model), where the proposed method underperforms compared to some baselines. Could you provide any potential reasons or explanations for this phenomenon?

Limitations

yes.

Paper formatting concerns

NA

Final justification

In formulating my final assessment, I re-evaluated the reliability of the experimental results presented in this paper, the insights they offer for future research and development, and the overall academic novelty of the work. I have also carefully considered the Area Chair's meta-review, the comments from other reviewers, and the authors' rebuttals and supplementary materials.

While performance metrics can naturally fluctuate due to various factors such as hyperparameters, tasks, and model architectures, I believe that identifying consistent trends in response to these variations is far more important than merely hunting for peak performance values under specific conditions. Grasping these consistent trends enhances the reliability of the experimental results and provides valuable implications for subsequent research and development.

From this perspective, I judge that the experimental results presented in the original manuscript, as well as those provided during the rebuttal phase, are sufficiently robust to warrant acceptance. Furthermore, the observations and discussions accompanying Figures 6, 7, and 8 are highly relevant and hold substantial value for publication.

Regarding academic novelty, as Reviewer TdxQ pointed out, similar methods have already been proposed in the context of contrastive similarity-based regularization, and empirical comparisons with these existing methods are lacking. However, on this point, I am willing to accept the authors' argument that "the central practical contribution of SimReg is its ability to improve pretraining convergence and downstream generalization at almost no additional computational or memory cost." The experimental results presented in this paper cannot be dismissed as entirely trivial or obvious a priori, and I conclude that the empirical findings and the resulting conclusions carry genuine merit.

On the other hand, the core idea and the experimental results lack the kind of surprising novelty that would truly impress the reader, leaving the paper feeling slightly lacking in decisive impact (sharpness).

Taking all of the above into consideration, I have decided on a rating of 4: Borderline accept.

Reviewer_1k8uOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper provides evidence for including a token similarity loss during pretraining. This loss function penalizes large distances between representations of the same token and small distances between representations of different tokens. A study of typical training processes shows that contrastive similarity does not decrease after an early point of training. The paper argues that this separability is important to justify their additional loss term, and a theoretical analysis of the approach shows that the changes to the representation space should induce larger classification margins. Experiments over models ranging from 350M to 8B across dense and MoE architectures show training speedups, absolute perplexity improvements, and small gains on downstream tasks. Additional analysis of runtime, memory, layer position, chunk wise vs full, and hyper parameter sensitivity are included.

Strengths and weaknesses

This seems to be a strong, focused contribution. There are some small clarity issued but otherwise the paper is very legible. Whether this method produces general gains should be studied further, but it opens some interesting questions regarding representation separability.

It might seem counter-intuitive that aligning high-level representations of the same token would improve modeling performance, as it is the powerful contextualization that large models provide which gives them discriminatory power. However, since this information is available at intermediate representations, perhaps these higher layers are underutilized and can store the extra information required to reduce the similarity loss.

The paper provides compelling evidence in the form of training curves. I recommend noting validation perplexity in the main paper as well. The large tables showing one point improvements on zero-shot downstream tasks are not strong evidence for the value of this method.

Talking about regularizing “embeddings” is confusing because the most benefit appears when the regularization is applied at the final layers of the model, and model layers after the so-called embedding layer are typically not called embeddings, though I agree that everything that isn’t a logit is an embedding. Perhaps it’s better to adopt the terminology “token representations” as used in 5.3 throughout the paper for clarity.

Questions

What about applying SimReg to multiple layers? I wonder how far the final layer representations are from the actual token embeddings. An analysis of the change in gradients with and without SimReg loss might shed more light on what the objective does inside the model.

Limitations

yes

Paper formatting concerns

None

Final justification

I have read the rebuttal and discussion and keep my score. I believe that the empirical contribution and the additional evidence provided in the rebuttal are sufficiently strong to outweigh concerns about the narrowed scope of theoretical claims.

Comments on the paper

1 comment
Meta-review

The reviewers are sharply divided, with assessments ranging from optimistic to harsh. Some favorable comments seem to place too much confidence in the experimental results, while the negative review includes some requests that are peripheral to the paper.

Please address the following points in priority order in the rebuttal so that the paper's claims can be assessed more reliably.

1. Adaptation of competing methods and fairness of hyperparameter tuning

Please explain how each competing method was adapted to LLM pretraining and whether comparable hyperparameter search budgets were used across methods.

Reviewer TdxQ:

Although the authors find that SimREG accelerates training convergence and makes improvements in downstream tasks, in some way it is not that strange because it relies on two extra hyperparameters, which may give it an unfair edge.

I think you could add more baselines and do a similar grid-search over optimal temperature values as you do in Figure 4, Table 6 and Table 7 for these baselines as well.

2.

The reviewers question the evidential strength of the approximately one-point improvement. I would additionally like the authors to quantify its statistical uncertainty or provide alternative evidence of robustness.

Reviewer 1k8u:

The large tables showing one point improvements on zero-shot downstream tasks are not strong evidence for the value of this method.

Reviewer zGPm:

Marginal absolute performance gains: Although it demonstrates consistent performance improvements across downstream tasks, the average margin of improvement remains at just over 1%.

3. Scope of the generality claims

Please clarify whether terms such as "consistent" and "broadly applicable" are intended to extend beyond the models, data, and tasks actually evaluated.

Reviewer 1k8u:

Whether this method produces general gains should be studied further, [...]

Reviewer TdxQ:

LLM pretraining is supposed to learn broad and general knowledge that can work for a diverse range of tasks.

I think that you need to do a bit more comprehensive experiments and evaluations over a broader range of tasks and datasets, [...] to fully verify the gains.

The authors aim to improve large scale LLM pretraining, however, they only demonstrate gains over the baselines with relatively light models such as Llama-350M and Llama-1.3B, in Table 1, but omit many baselines with bigger architectures in Table 2.

Reviewer zGPm:

Regarding the evaluation results on the downstream tasks presented in Table 1, while the proposed method demonstrates superior performance on average, the results are inverted on certain specific tasks (e.g., BoolQ and MMLU for the 350M model, and OBQA for the 1.3B model), where the proposed method underperforms compared to some baselines.


As the meta-reviewer, I also have two concerns that were not explicitly raised by the reviewers.

A. Contribution of positive attraction and negative repulsion

The positive set is restricted to the same sequence. For a singleton label, this may leave the example itself as the only positive, in which case same-class attraction may contribute little. Please explain how often this condition occurs and whether the improvement comes primarily from positive attraction or negative repulsion.

B. Scope of the theoretical guarantees

The analysis appears to require an additional assumption to guarantee an increase in the positive-center margin. Moreover, an improvement in a lower bound on the margin does not necessarily imply an improvement in the actual margin. Likewise, a reduction in an upper bound on cross-entropy does not necessarily imply a reduction in the actual loss. Please state the assumptions under which the claims hold and the precise scope of the resulting guarantees.


My final assessment will depend on whether the rebuttal adequately addresses the concerns above and provides sufficient support for the paper's claims.

From my perspective as the meta-reviewer, these concerns take priority over those not listed here.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.