about
Beyond Language Models: Byte Models Are Digital World Simulators (arxiv.org)
4 points by bob1029 on Dec 3, 2024 | hide | past | pdf | discuss on HN

In plain words: Instead of predicting the next word, this model predicts the next byte—the raw 1s and 0s behind text, sound, images, and computer code—so one system can learn any digital data. It matched single-format models and reproduced a processor's operations with over 99.99% accuracy.

Abstract · Beyond Language Models: Byte Models are Digital World Simulators

Traditional deep learning often overlooks bytes, the basic units of the digital world, where all forms of information and operations are encoded and manipulated in binary format. Inspired by the success of next token prediction in natural language processing, we introduce bGPT, a model with next byte prediction to simulate the digital world. bGPT matches specialized models in performance across various modalities, including text, audio, and images, and offers new possibilities for predicting, simulating, and diagnosing algorithm or hardware behaviour. It has almost flawlessly replicated the process of converting symbolic music data, achieving a low error rate of 0.0011 bits per byte in converting ABC notation to MIDI format. In addition, bGPT demonstrates exceptional capabilities in simulating CPU behaviour, with an accuracy exceeding 99.99% in executing various operations. Leveraging next byte prediction, models like bGPT can directly learn from vast binary data, effectively simulating the intricate patterns of the digital world.

Shangda Wu, Xu Tan, Zili Wang, Rui Wang, Xiaobing Li, Maosong Sun
arXiv:2402.19155 · cs.LG · submitted Feb 29, 2024
abstract · pdf · html · 19 pages, 5 figures, 5 tables

add comment on HN
Also discussed: Jan 2026 (1 point, 0 comments)