atlas

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

Overcoming Vocabulary Mismatch: Vocabulary-agnostic Teacher Guided Language Modeling

ICML 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation

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 VocAgnoLM, which aligns student and teacher tokens across different vocabularies via character offsets and reweights student tokens by teacher token loss, enabling continual pretraining of TinyLlama 1.1B with 7B math teachers that have different vocabularies.

Problem

Knowledge-guided language modeling assumes teacher and student share a vocabulary; vocabulary mismatch causes divergent token sequences and logit distributions, which blocks using stronger teachers (e.g., Qwen2.5-Math) for a small student.

Approach

Token-level Lexical Alignment maps each student token to the minimal range of teacher tokens covering its character span (one-to-many, via binary search), and a Teacher Guided Loss selects student tokens by the difference between student and aggregated mapped-teacher token losses instead of matching logit distributions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use VocAgnoLM instead of ULD with Qwen2.5-Math-Instruct as teacherTinyLlama 1.1B continual pretraining · Math evaluation suiteAVG: 22.4 -> 29.9Helped
use VocAgnoLM instead of ULD with Mistral-ProXMath as teacherTinyLlama 1.1B continual pretraining · Math evaluation suiteAVG: 21.7 -> 24.2Helped
use VocAgnoLM instead of KLD with Llemma as teacherTinyLlama 1.1B continual pretraining · Math evaluation suiteAVG: 21.4 -> 24.1Helped
replace token-level lexical alignment with chunk alignment (ablation)Teacher-guided training on 5B OpenWebMath tokens · Math evaluation suiteAVG: 20.2 -> 18.9Hurt
include unmapped student tokens rather than exclude them (ablation)Teacher-guided training on 2B tokens · Math evaluation suiteAVG: 6.8 -> 16.6Helped
include unmapped student tokens rather than use batch Mean guidance (ablation)Teacher-guided training on 2B tokens · Math evaluation suiteAVG: 16.3 -> 16.6No clear effect
aggregate multi-mapped teacher token losses with Max instead of Mean (ablation)Teacher-guided training on 2B tokens · Math evaluation suiteAVG: 16.6 -> 16.5No clear effect
aggregate multi-mapped teacher token losses with Max instead of Mean (ablation)Teacher-guided training on 15B tokens · Math evaluation suiteAVG: 24.3 -> 24.2No clear effect
use a stronger teacher modelVocAgnoLM · Math evaluation suiteAVG: 24.1 -> 24.2; 24.1 -> 25.9; 26.9 -> 29.9Mixed

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebMath

Benchmarks: GSM8K MATH SVAMP ASDiv MAWPS TabMWP MathQA MMLU-STEM SAT

Metrics: accuracy average accuracy

Baselines: KLD ULD Rho-1 TinyLlama-CPT

Builds on: Rho-1 Universal Logit Distillation LitGPT TinyLlama

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