NeurIPS 2026QuestionsPapersAreasAboutMarkdown

TIDE: Every Layer Knows the Token Beneath the Context

AJAY JAISWAL, Lauren Hannah, Han-Byul Kim, Duc Hoang, Mehrdad Farajtabar, Minsik Cho

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Transformer Length and Memory Scaling · Type: new method · Keywords: token embedding, contextual collapse, rare token, transformer memory, language modeling

Areas: Memory › Memory mechanisms › Memory Augmentation; Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Memory and Reasoning

Summary

TIDE introduces EmbeddingMemory, an ensemble of token-specific context-free vectors injected into every transformer layer, to mitigate rare token under-training and contextual collapse.

Explained to a 5-year-old

In big computer brains, each word is given a special picture once at the start, then forgotten. This makes rare words not learn much and similar words look the same. The new idea keeps a small memory of each word that is added to every layer, so rare words get help and words stay different. This memory works like a tiny note that travels through the brain. It helps the brain understand language better.

Explained to a 5-year-old, longer

A big computer brain reads words and gives each word a picture at the very beginning. After that, the picture is usually ignored, so rare words get little practice and words that sound alike can become the same. To fix this, the researchers added a special memory that stores a simple note for every word, and this note is sent to every layer of the brain. The note is chosen by a tiny guide that knows which layer we are in, and there is also a placeholder for when no word is needed. By keeping the word notes alive throughout all layers, rare words get more help and similar words stay distinct. This helps the brain understand language more accurately and reduces mistakes. The memory works without changing how the brain normally processes information, making it easy to add to existing systems. It also works well on many different language tasks, like reading, writing, and answering questions. The idea is simple: remember each word everywhere, and the brain can learn better.

For a technical reader

The paper observes that token embeddings are injected only at the input of transformers and then discarded, causing rare tokens to receive insufficient gradients and causing similar tokens to collapse. To address this, the authors add a memory module that maps each token to a context-free vector once, and this vector is routed to every transformer layer via a depth-conditioned softmax with a learnable null bank. This allows each layer to retain token identity, improving gradient flow for rare tokens and preserving distinction among similar tokens. Empirical results show gains on language modeling and downstream tasks. The approach is validated both theoretically and experimentally.

Problem

Modern LLMs typically inject token embeddings only at the input layer and then discard token identity, causing rare tokens to receive insufficient gradient signal and similar tokens to collapse into indistinguishable representations.

Method

The approach adds an EmbeddingMemory consisting of K independent token-to-vector blocks that produce context-free semantic vectors for each token, which are injected into every transformer layer via a depth-conditioned router and a learnable null bank.

Results

The approach demonstrates improved performance on language modeling and downstream tasks, addressing rare token and contextual collapse issues.

Contributions

It introduces a memory-based token representation scheme that preserves token identity across layers and provides theoretical analysis of its benefits.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction