atlas

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

Interchangeable Token Embeddings for Extendable Vocabulary and Alpha-Equivalence

ICML 2025 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 0 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 dual-part token embeddings (shared learnable part plus per-token random part, with normalization and AdaCos cosine loss) so Transformers can handle unseen interchangeable tokens such as atomic propositions, and introduces alpha-covariance to measure robustness to alpha-renaming.

Problem

Language models cannot handle interchangeable tokens (e.g., bound variables or atomic propositions) beyond the vocabulary seen in training, and are not robust to alpha-renaming, which preserves meaning.

Approach

Construct embeddings for interchangeable tokens on the fly as a concatenation of a shared learnable vector and a freshly randomized vector per token (resampled each training forward pass), tied with the output projection and combined with normalization and AdaCos; this lets the model accept arbitrarily many interchangeable tokens and encourages alpha-equivalence.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use dual-part token embeddings instead of fixed learned embeddingsLTL solver · LTL generalization to larger AP countsaccuracyHelped
Use dual-part token embeddings instead of fixed learned embeddingsPropositional logic assignment predictor · Propositional logic generalization to larger AP countsaccuracyHelped
Use dual-part token embeddings instead of fixed learned embeddingsLTL solver · LTLRandom35 perturbedcorrect: 34.13% -> 95.94%Helped
Use dual-part token embeddings instead of fixed learned embeddingsPropositional logic assignment predictor · PropRandom35 perturbedcorrect: 41.57% -> 93.25%Helped
Remove f_bn normalization (ablation)Proposed method · LTLcorrect: 90.76% to 29.53%Hurt
Remove f_bn normalization (ablation)Proposed method · Propositional logiccorrect: 77.70% to 14.12%Hurt
Remove AdaCos (ablation)Proposed method · LTLcorrect: 90.76% vs. 81.45%Hurt
Remove AdaCos and f_fn (ablation)Proposed method · Propositional logiccorrectNo clear effect
Add f_fn normalization (ablation)Copying model with dual-part embeddings · Copying hyperparameter searchedit distance: -0.29 correlationHurt
Add AdaCos loss (ablation)Copying model with dual-part embeddings · Copying hyperparameter searchedit distance: -0.41 correlationHurt
Use Neighboring Points random vectors instead of other random-vector methods (ablation)Copying model with dual-part embeddings · Copying hyperparameter searchedit distance: -0.14 correlationHelped
Use alpha-renaming augmentation instead of ordinary baseline trainingLTL solver · LTLRandom35 perturbedalpha-covariance, 5 AP: 40.91% -> 98.86%Helped

Surprising findings

Limitations

Experimental setup

Datasets: LTLRandom35 PropRandom35 synthetic copying strings

Benchmarks: LTLRandom35 test set PropRandom35 test set copying with extendable vocabulary test set

Metrics: correct ratio exact match alpha-covariance edit distance

Baselines: Full vocabulary baseline Alpha-renaming baseline Llama 3.2 3B DeepLTL baseline

Builds on: DeepLTL AdaCos RoPE tree-positional encoding weight tying

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