English

Beyond Language Models: Byte Models are Digital World Simulators

Machine Learning 2024-03-01 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2402.19155,
  title  = {Beyond Language Models: Byte Models are Digital World Simulators},
  author = {Shangda Wu and Xu Tan and Zili Wang and Rui Wang and Xiaobing Li and Maosong Sun},
  journal= {arXiv preprint arXiv:2402.19155},
  year   = {2024}
}

Comments

19 pages, 5 figures, 5 tables

R2 v1 2026-06-28T15:04:35.069Z