George Fountzoulas
6 min
This paper extends the 'Kathleen' series of attention-free, byte-level architectures to the task of autoregressive text generation. The author investigates whether a model built from a wavetable encoder and a multi-scale reverberant state—previously successful in classification—can effectively model and generate raw UTF-8 text without tokenization or pretraining. The study focuses on three pillars: data scaling, a novel evaluation instrument for text quality, and the attribution of generation performance to specific model components.
The research demonstrates that the attention-free architecture is highly data-efficient. Across five dataset scales (2 MB to 512 MB), the reverberant model consistently outperformed a parameter-matched transformer in bits-per-byte. While the transformer showed a steeper learning slope, both models converged toward a similar capacity ceiling, suggesting that the attention-free model is superior within the targeted on-device, low-parameter regime.
To address the limitations of perplexity, the author introduces 'FORM DISTANCE,' a non-parametric, gaming-resistant instrument that evaluates text based on nine statistical axes of human language. Using this tool, the study finds that generation quality is primarily driven by decoding policy and retrieval-augmented decoding rather than architectural modifications. Specifically, widening the sampler and interleaving retrieved phrases from the model's own training corpus significantly improved text quality, reducing the distance to human-like text without requiring additional training steps.
This work provides a viable path for high-performance, offline language modeling on commodity hardware. By demonstrating that generation quality can be significantly improved through inference-time strategies—such as retrieval and optimized sampling—the paper challenges the necessity of massive, attention-heavy architectures for specific on-device applications. It also highlights the importance of developing robust, non-parametric metrics for evaluating generative models independently of large-scale, proprietary LLMs.
Papers 1-2 of the Kathleen series showed that a byte-level, attention-free architecture built from a wavetable encoder and multi-scale reverberant state can match strong baselines on classification at ~450-700K parameters, without pretraining. We ask whether the same ingredients can generate. (1) Scaling: on byte-level language modeling (WikiText-103, raw UTF-8, no tokenizer), the reverberant model beats a parameter-matched transformer at every dataset scale measured (2-512 MB), e.g. 1.84 vs 2.04 bits/byte at 512 MB with ~0.5M parameters; the transformer needs more than 512 MB to match what the attention-free model learns from 32 MB. (2) Measurement: we introduce FORM DISTANCE, a non-parametric, gaming-resistant instrument for "reads like text": nine statistical axes of human text define a reference cloud, and five constructed fakes are all rejected. (3) Generation: decoding policy dominates architecture -- widening the sampler halves the same model's distance (3.17 to 1.52), and a retrieval-augmented decoding scheme takes the frozen model further (1.52 to 1.14) with no training step involved; the ablation attributes the gain to the sparse phrase dose itself, not the selection gate. The gain has a sharp boundary condition: the phrases must come from the model's own training corpus -- a 40x larger foreign library helps not at all, an effect the attention twin shares, consistent with in-context integration being a capability of scale. We also report four architectural additions that did not help, and a computed lexicon reaching 94% of a learned table's top-1 accuracy at one fifth of the parameters. Everything runs offline; all experiments are reproducible on a free Kaggle T4.
Alex: You mentioned working with "raw bytes." Why does that matter for a small device?
Sam: The systems that turn text into chunks before processing add complexity and memory overhead. By working with raw bytes—the most fundamental building blocks of digital text—the model takes a cleaner, more direct approach. That fits perfectly into the goal of running on a small chip.
Alex: Efficiency is clearly the main goal. But how do we know if the text the model generates is actually good?
Sam: That's a critical question. They couldn't use a large language model to judge their output, because that would defeat the purpose of building an independent, small system. So they created a new evaluation tool called "FORM DISTANCE."
Alex: "FORM DISTANCE"—so it's a way to measure the quality or feel of the writing?
Sam: Exactly. It's a set of nine statistical rules—things like how rich the vocabulary is, or whether the text repeats itself too much. It compares the model's output to a large collection of human-written text. If the model's writing falls within the range of that human writing, it's considered to be producing natural-sounding output.
Alex: And does it hold up? Can you trick it?
Sam: They tried—feeding it things like random word salad or repetitive phrases—and the instrument correctly rejected all of them. They even had a moment where they thought they'd fooled it, but realized they were missing a specific axis of measurement. They patched it, and it's been robust since.
Alex: So they have an efficient architecture and a way to measure whether the output is actually readable. What's the final piece?
Sam: The final piece is something they call "retrieval-augmented decoding." Even with a well-designed architecture, small models often struggle with repetition. To address this, they allow the model to look up phrases from its own training data while it's writing—and weave those retrieved phrases into the text it generates.
Alex: So it's like giving the model a cheat sheet drawn from its own notes?
Sam: That's a fair comparison. It interleaves those retrieved phrases with its own generated words, which meaningfully improves the quality of the text without requiring any extra training. It's a way to boost performance using what the model already knows.
Alex: But does it work with any data? Could you feed it a massive library of new books and expect it to get smarter?
Sam: That's the most important limitation. It only works if the phrases come from the model's own training data. Feed it material from an outside source, and it doesn't help at all. The model isn't learning new facts from the retrieval—it's just getting better at expressing what it already understands.
Alex: So this isn't a fix for intelligence. It's more a tool for better expression.
Sam: Precisely. And it shows that at this scale, the quality of the writing is driven more by how the model chooses its words during generation than by the architecture itself.
Alex: This feels like a very practical, grounded step for local AI. Not trying to be a massive, all-knowing system—just a highly efficient one that fits on a small chip.
Sam: That's the core takeaway. It's a study in doing more with less—using careful design and smart decoding to achieve results that were previously thought to require much heavier machinery. Whether this approach scales or remains a niche tool for constrained devices is still an open question, but the results at this scale are worth paying attention to.
Alex: A thoughtful look at what's possible when you work within tight limits. Thanks for walking us through it, Sam.
Sam: My pleasure. The shift toward efficient, byte-level models is certainly something to watch. Thanks for listening to ResearchPod.