atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Once Read is Enough: Domain-specific Pretraining-free Language Models with Cluster-guided Sparse Experts for Long-tail Domain Knowledge

NeurIPS 2024 · Label-efficient and robust learning › Recognition and long-tail · approach: Contrastive learning for imbalanced data · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

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

Proposes Cluster-guided Sparse Experts (CSE) layers that cluster sequence embeddings online during pretraining and dispatch long-tail domain data to extra experts, so a single pass over general corpus can match domain-pretrained LMs.

Problem

Pretrained LMs fail to memorize rare, long-tail domain knowledge in general corpora, so domain-specific pretraining is needed, which is costly and can cause catastrophic forgetting.

Approach

A Cluster-guided Sparse Expert layer, placed in the last deep layers, runs online clustering (DBSCAN-initialized, Gaussian random projection, centers updated with an EMA) on sequence embeddings and routes each sequence to the expert of its nearest cluster, so long-tail domain data gets dedicated parameters and less gradient conflict.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply CSE to the FFNBERT · GADaccuracy: 67.09 -> 71.65Helped
Apply CSE to AttentionBERT · EUADRaccuracy: 84.79 -> 90.09Helped
Apply CSE to the FFNBERT · averageaccuracy: 71.07 ± 0.22 -> 74.16 ± 0.20Helped
Apply CSE to the FFNGPT · averageaccuracy: 73.91 ± 0.12 -> 75.90 ± 0.19Helped
Apply CSE to Attention rather than the FFNGPT · EUADRaccuracy: 84.23 -> 85.91Helped
Use CSE on both Attention and FFN instead of Attention only (ablation)BERT · averageaccuracy: 73.43 -> 75.82Helped
Use CSE on both Attention and FFN instead of FFN only (ablation)BERT · averageaccuracy: 74.16 -> 75.82Helped
Use CSE on Attention rather than the FFN (ablation)BERT · averageaccuracy: 74.16 -> 73.43Hurt
Use CSE on Attention rather than the FFN (ablation)GPT · averageaccuracy: 75.90 -> 74.93Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia Harvard legal case law dataset PubMed Overruling CaseHOLD GAD EUADR SST2 COLA QNLI MRPC QQP

Benchmarks: Overruling CaseHOLD GAD EUADR SST2 chem-prot MAG rct-20k climate detection climate sentiment FPB COLA

Metrics: accuracy test perplexity

Baselines: BERT/med BERT/legal GPT/med GPT/legal Switch-MoE (BERT and GPT)

Builds on: Switch Transformer DAPT BioBERT DBSCAN

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