Assembly Theory and the Smallest Grammar Problem

arXiv:2608.19228 2026 Architecture 1 ideas extracted · analyzed Sep 1, 2026

What the math gives to ML

The paper identifies the assembly index exactly with the minimum number of productions in a straight-line grammar, turning repeated-substring structure into an explicit optimization target rather than an informal compression heuristic. This suggests a neural sequence representation based on a corpus-level or document-level acyclic grammar whose nonterminals are reusable learned spans. The most practical transfer is grammar-aware tokenization or context compression: process each repeated span once, retain a compact expansion DAG, and reconstruct token-level outputs only where needed. The key falsifiable benefit is reduced effective sequence length and quadratic attention cost on highly repetitive inputs, while the grammar size provides a direct diagnostic of compression quality.

Ideas from this paper

Unverified 2026

Straight-Line Grammar Tokenizer

Replace repeated substrings in long sequences with nonterminal symbols from an acyclic straight-line grammar, then run the transformer on the compressed sequence. Unlike ordinary fixed tokenization, the compression objective explicitly minimizes the number of reusable binary productions, allowing repeated document-specific or corpus-level motifs to become single units. An expansion map lets the model recover token-level outputs for selected positions.

Useful6/10
Difficulty6/10
Novelty6/10
Paper: Assembly Theory and the Smallest Grammar Problem arXiv:2608.19228