ALL INTELLIGENCE
Apple Machine Learning ResearchT1·Models

TIDE Injects Token Identity Into Every Transformer Layer

Original title: TIDE: Every Layer Knows the Token Beneath the Context
62AI Score

The paper argues that modern LLMs look up each token index only once at the input embedding layer and then discard it, causing under-trained rare tokens and contextual collapse. TIDE addresses both by computing context-free semantic vectors from K independent memory blocks and injecting them into every layer via a depth-conditioned softmax router, with theoretical and empirical gains on language modeling and downstream tasks.

Full Report

We revisit a universally accepted but under-examined design choice in every modern LLM: a token index is looked up once at the input embedding layer and then permanently discarded. This single-injection assumption induces two structural failures: (i) the Rare Token Problem, where a Zipf-type distribution of vocabulary causes rare-token embeddings are chronically under-trained due to receiving a fraction of the cumulative gradient signal compared to common tokens; and (ii) the Contextual Collapse Problem, where limited parameters models map distributionally similar tokens to indistinguishable hidden states. As an attempt toaddress both, we propose TIDE, which augments the standard transformer with EMBEDDINGMEMORY: an ensemble of K independent MEMORYBLOCKs that map token indices to context-free semantic vectors, computed once and injected into every layer through a depth-conditioned softmax router with a learnable null bank. We theoretically and empirically establish the benefits of TIDE in addressing the issues associated with single-token identity injection as well as _improve performance _across multiple language modeling and downstream tasks.

### VideoFlexTok: Flexible-Length Coarse-to-Fine Video Tokenization

July 2, 2026research area Computer Visionconference ICML

Visual tokenizers map high-dimensional raw pixels into a compressed representation for downstream modeling. Beyond compression, tokenizers dictate what information is preserved and how it is organized. A de facto standard approach to video tokenization is to represent a video as a spatiotemporal 3D grid of tokens, each capturing the corresponding local information in the original signal. This requires the downstream model that consumes the…

Read more### FlexTok: Resampling Images into 1D Token Sequences of Flexible Length

February 19, 2025research area Computer Vision

This work was done in collaboration with Swiss Federal Institute of Technology Lausanne (EPFL).

Image tokenization has enabled major advances in autoregressive image generation by providing compressed, discrete representations that are more efficient to process than raw pixels. While traditional approaches use 2D grid tokenization, recent methods like TiTok have shown that 1D tokenization can achieve high generation quality by eliminating grid…