Machine Learning
New Framework Converts Speech to Compact Symbolic Tokens Using Self-Alignment
PairAlign shrinks audio into shorter, cleaner token sequences while preserving sound structure and enabling better retrieval and reasoning.
Most machine learning systems work with continuous vectors internally, but tasks like retrieval, reasoning, and storage often need symbolic representations. Language has tokens; audio needs to learn them. PairAlign is a new framework that tackles this by turning speech into compact, ordered token sequences through autoregressive self-alignment.
How It Works#
The approach pairs an encoder that converts speech into continuous vectors with an autoregressive decoder that generates tokens from start to finish. Rather than relying on local quantization or clustering, PairAlign uses two content-preserving views of the same audio. It derives a canonical target from these views and trains both to predict it, using unrelated audio examples in the same batch as competing sequences to sharpen the signal.
The training happens in two phases. First, it learns from vector-quantized targets as a bridge. Then it transitions to EMA-teacher self-alignment—a technique inspired by JEPA—with safeguards against collapse and grounding to prevent degeneracy.
Stronger Compression, Cleaner Structure#
On three-second speech samples, PairAlign produces significantly shorter sequences compared to earlier approaches while keeping them meaningful and non-degenerate. Testing on the TIMIT retrieval corpus, the method operates at 8.28 tokens per second, cutting the archive token count by over 70% and reducing edit-distance work by nearly 92% compared to baseline tokenizers.
Probe tests show strong separation between phonetically different, trigram-different, and temporally scrambled audio—evidence that the tokens capture real structure. Applying post-hoc byte-pair encoding compression cannot recover the same balance between brevity and consistency.
A Trade-Off Between Rate and Granularity#
The framework reveals a fundamental tension: PairAlign does not uniformly dominate denser tokenizers on every individual metric. Instead, it operates at a lower bit rate while preserving ordered and relational structure needed for symbolic reasoning and retrieval—a different point on the rate-granularity frontier. Conceptually, it predicts an abstract learned target rather than reconstructing the original signal, treating the target itself as a variable-length symbolic sequence.