A Separable Architecture for Continuous Token Representation in Language Models
Reza T. Batley, Sourav Saha
TL;DR
This work tackles the embedding-token bottleneck in sub-billion-parameter language models by replacing discrete token lookups with a continuous token generator, forming Leviathan, a Transformer with a Separable Neural Architecture. The generator maps token indices to a smooth latent surface via latent indexing, B-spline basis expansion, and tensor-product aggregation, enabling a parameter-efficient but expressive embedding mechanism. Empirical results on the Pile across 60–421M parameters show Leviathan attains a substantial effective capacity increase (approximately $1.5$ to $2.1$ times), achieves perplexity reductions of $6.7\%$ to $18.1\%$ in iso-body settings, and enables a depth dividend in isoparametric regimes (up to $2.11$-fold dense-equivalent size at $109$M). The findings imply decoupling vocabulary cardinality from parameter budgets can improve long-context modeling and world-models, with scalable benefits in data efficiency, while motivating further optimizations and multi-modal extensions; the approach offers a principled path toward open-vocabulary models without full retraining.
Abstract
Transformer scaling law analyses typically treat parameters as interchangeable; an abstraction that accurately predicts loss-compute relationships. Yet, in sub-billion-parameter small language models (SLMs), embedding matrices dominate the parameter budget. This work argues that this allocation is as suboptimal as it is counterintuitive. Leviathan is an architecture with a continuous embedding generator to replace the discrete lookup tables of canonical models. Evaluating on the Pile dataset under isoparametric settings, Leviathan consistently outperforms a standard, LLaMA-style architecture. By means of an empirical power-law fit, Leviathan exhibits a markedly superior effective parameter capacity. Across the regime studied, Leviathan behaves as a dense model with $1.47$ to $2.11 \times$ more parameters.
