1. Home
  2. Turing Post

Oct 30

How AI models learn to read without tokenizers

14 min → 2:02

Overview

Ksenia explains how traditional AI tokenization works, the limits of Byte Pair Encoding, and how new architectures let models learn directly from raw bytes.

3 things to know

Ksenia: New AI reads raw bytes without preset dictionaries

Hierarchical Networks skip preset dictionaries and read raw bytes directly, Ksenia explains, using a small encoder to group information into flexible chunks on the fly while preserving fine details.

More

This architecture allows the main transformer network to run on highly compressed, context-dependent representations while a bypass preserves fine-grained detail.

▶ Watch at 2:01

Ksenia says AI groups repeating new words without retraining

An H-Net model adjusts how it splits text based on what it has already read, Ksenia notes, grouping a repeating new word into fewer, larger chunks without needing retraining.

More

Unlike static tokenizers, an H-Net model can adjust where its chunk boundaries fall based on the surrounding context it has already read.

▶ Watch at 6:23

AI found human DNA patterns without genetics training, says Ksenia

Tested on human DNA, the raw-byte H-Net model automatically lined up its chunks with biological codons without any genetics training, Ksenia explains, finding natural structures purely through statistical patterns.

More

Because H-Nets operate on raw bytes rather than human language rules, they can naturally adapt to other data types.

▶ Watch at 12:11

Also in this episode

Ksenia says rigid AI text rules raise API costs

Fixed AI text splitters force foreign languages and computer code to break into too many tiny pieces, which Ksenia says quickly eats up the model's memory and increases API costs.

More

This setup often causes foreign languages or computer code to bloat into too many tiny token fragments, which rapidly consumes the model's context window and increases API costs.

Ksenia: Modern AI relies on 1994 data compression

Ksenia explains that modern AI text splitters are built on Byte Pair Encoding, a 1994 data compression method that struggles with rare words, custom code variables, and less common languages.

More

Traditional language models do not read raw text. Instead, a separate system called a tokenizer breaks down text into chunks called tokens, assigning each a numerical ID.

Quotes

“So when researchers say tokenizer-free, they don't mean the model processes text without structure... it just learns those boundaries itself instead of inheriting human rules.”

▶ Watch at 6:23

“The model picked up statistical patterns that directly mirror biological structure without anyone pointing out where the codons were.”

▶ Watch at 12:11

“One influential method behind this is called Byte Pair Encoding, or BPE.”

▶ Watch at 2:01

Full summary

Episode Overview

  • Ksenia from Turing Post explains how traditional AI tokenization works, why Byte Pair Encoding has limitations, and how Hierarchical Networks can allow AI models to learn directly from raw bytes.
  • The episode traces the history of data compression in machine learning from its 1994 origins to modern tokenizer free architectures.
  • It highlights recent breakthroughs in in-context tokenization, showing how models can dynamically adapt their reading structure to unfamiliar words, programming code, and even DNA sequences.
  • This content is highly relevant to AI researchers, software engineers, and tech enthusiasts interested in the next generation of language models and multi-modal AI architectures.

Key Concepts

  • Traditional Tokenization and Byte Pair Encoding: Traditional language models do not read raw text. Instead, a separate system called a tokenizer breaks down text into chunks called tokens, assigning each a numerical ID. Byte Pair Encoding, originally a 1994 data compression technique, serves as the foundation for modern tokenizers but struggles with rare words, custom code variables, and underrepresented languages.
  • The Pitfalls of Fixed Tokenizers: Because tokenizers are trained separately from the main language model and then fixed, they impose rigid, human-designed rules. This setup often causes foreign languages or computer code to bloat into too many tiny token fragments, which rapidly consumes the model's context window and increases API costs.
  • Hierarchical Networks (H-Nets): Instead of relying on a pre-determined dictionary, H-Nets process raw bytes directly using a small encoder that groups information into dynamic chunks on the fly. This architecture allows the main transformer network to run on highly compressed, context-dependent representations while a bypass preserves fine-grained detail.
  • In-Context Tokenization: Unlike static tokenizers, an H-Net model can adjust where its chunk boundaries fall based on the surrounding context it has already read. As a novel word or sequence repeats, the model dynamically groups it into fewer, larger chunks without needing any dictionary updates or retraining.
  • Universal Application to DNA and Audio: Because H-Nets operate on raw bytes rather than human language rules, they can naturally adapt to other data types. When tested on human DNA, the model automatically aligned its chunk boundaries with biological codons without any prior training in genetics, demonstrating that machine learning can discover natural structures purely through statistical patterns.

Quotes

  • At 2:01 - "One influential method behind this is called Byte Pair Encoding, or BPE." - Explaining the historical compression technique that transitioned from data storage into the foundational architecture of modern AI tokenization.
  • At 6:23 - "So when researchers say tokenizer-free, they don't mean the model processes text without structure... it just learns those boundaries itself instead of inheriting human rules." - Clarifying a common misconception about tokenizer-free models by emphasizing that they still structure data but do so dynamically.
  • At 12:11 - "The model picked up statistical patterns that directly mirror biological structure without anyone pointing out where the codons were." - Highlighting the power of raw byte models to uncover genuine, underlying scientific structures like DNA codons purely through pattern recognition.

Takeaways

  • Evaluate the hidden costs of fixed tokenization when deploying models for coding tasks or underrepresented languages, as token bloat can unnecessarily exhaust your context window and increase runtime bills.
  • Consider transitioning to byte-level or tokenizer-free architectures like H-Nets when building AI systems for non-textual data such as genomics, raw audio, or sensor streams to avoid forcing arbitrary human-designed structures onto the data.
  • Embrace the philosophy of the Bitter Lesson by designing systems that rely on general, learning-based methods rather than hardcoded human rules, allowing the model's performance to scale directly with available computation.

Watch the full episode 14 min

Read along with the audio summary

Ksenia from Turing Post points out that traditional language models do not actually read raw text, raising the question of how AI can learn directly from raw bytes instead. In this Turing Post episode released on October 30, 2026, Ksenia explores the mechanics of AI reading. You will learn how tokenization works, why fixed rules fail, and how new architectures adapt to everything from code to DNA.

Why AI relies on a 1994 compression trick to read. The foundation for modern tokenizers is Byte Pair Encoding, a 1994 data compression technique that struggles when facing rare words, custom code variables, and underrepresented languages.

How rigid rules drive up your computing bills. This setup often causes computer code or foreign languages to bloat into too many tiny token fragments, rapidly consuming the model's context window and increasing API costs.

Letting models group raw bytes on the fly. Hierarchical Networks, or H Nets, skip the pre determined dictionary entirely. They use a small encoder to group raw bytes into dynamic chunks on the fly, letting the main transformer network run on highly compressed, context dependent representations while a bypass preserves fine grained detail.

How AI learns new words as it reads them. As a novel word or sequence repeats, the model dynamically groups it into fewer, larger chunks without needing dictionary updates or retraining.

Discovering the building blocks of life without a biology lesson. Tested on human DNA, the model automatically aligned its chunk boundaries with biological codons without any prior genetics training.

Moving beyond hardcoded human rules lets AI discover natural structures purely through statistical patterns. The model picked up statistical patterns that directly mirror biological structure without anyone pointing out where the codons were.

More from Turing Post

Related Episodes