aiqbench analysis
This research addresses the architectural friction between large language models and traditional TeX markup by introducing .tmu, a tree-structured format with lower information entropy. The study demonstrates that switching to this representation significantly reduces training loss and improves semantic coherence for LLM-assisted scientific writing across multiple models. By optimizing data structures specifically for generative workflows, the work offers a scalable path forward for automating complex document generation tasks.
.tmu: A Low-Entropy Tree-Structured Representation for LLM-Assisted Scientific Writing
From arXiv
Full textAs large language models (LLMs) increasingly assist scientific writing, the limitations and token costs of generating TeX become increasingly visible. This paper analyzes TeX's architectural mismatch with LLM workflows, stemming from its lack of an explicit structural representation, to illustrate its limitations on generated semantics and error localization. As an alternative, we introduce .tmu, a low-entropy tree-structured representation. With its efficient data structure and clear contextual boundaries, .tmu outperforms .tex in the above aspects.
Experiments across four LLMs provide evidence for this claim in most evaluated settings. Furthermore, we show that due to its lower information entropy, fine-tuning LLMs on .tmu achieves approximately 43% lower final training loss than on .tex. Our work provides a more scalable and LLM-friendly data representation for LLM-assisted scientific writing.
Full text under the publisher's open licence · 125 words