scimeatlas

Research map / Large language models / Language, safety and interpretability

ContraCLM: Contrastive Learning For Causal Language Model

Nihal Jain, Dejiao Zhang, Wasi Uddin Ahmad, Zijian Wang, Feng Nan, Xiaopeng Li, Ming Tan, Ramesh Nallapati, Baishakhi Ray, Parminder Bhatia, Xiaofei Ma, Bing Xiang

ACL 2023Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach28 citations (OpenAlex)

Amazon

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
1no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

This paper tried a common change: Add a contrastive loss

add contrastive losses · Code-to-code search average · MAP (%): 6.32 -> 8.38 Improved

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add token- and sequence-level contrastive lossesGPT-2 CLM · STS averageSpearman correlation: 27.83 -> 45.32Improved
use ContraCLM temperature-based loss instead of SimCTGGPT-2 · STS averageSpearman correlation: 36.19 -> 45.32Improved
add token-level loss on top of sequence-level loss (ablation)ContraCLM-Seq · STS averageSpearman correlation: 37.04 -> 45.32Improved
add sequence-level loss on top of token-level loss (ablation)ContraCLM-Tok · STS averageSpearman correlation: 42.03 -> 45.32Improved
continue training GPT-2 with plain CLM on WikiText-103GPT-2 · STS averageSpearman correlation: 31.48 -> 27.83Hurt
add contrastive lossesCodeGen CLM · Code-to-code search averageMAP (%): 6.32 -> 8.38Improved
add token-level loss on top of sequence-level loss (ablation)ContraCLM-Seq · Code-to-code search averageMAP (%): 6.98 -> 8.38Improved
add contrastive lossesCodeGen CLM · HumanEvalpass@1: 13.42 -> 14.63Improved
use token-level or sequence-level loss alone (ablation)CodeGen CLM · HumanEvalpass@1: 12.96 and 13.64 vs 13.42No clear effect
add contrastive lossesGPT-2 CLM · WikiText-103 generationperplexity: 22.48 -> 23.01Hurt
add contrastive lossesGPT-2 CLM · WikiText-103 generationMAUVE: 0.945 -> 0.947Improved
use sequence-level loss alone for re-ranking (ablation)CodeGen CLM · HumanEvalranked pass@1: 15.38 -> 16.99Improved

Open problems in LLM pruning and scaling data

Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?

All 5 open problems and what was already tried →

Closest papers by meaning

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

Open scime draft

Get the next scime Dispatch and a monthly field update

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