paper-with-me

홈 › Papers

Training LLMs over Neurally Compressed Text

2024-04-04 · Brian Lester, Jaehoon Lee, Alex Alemi, Jeffrey Pennington, Adam Roberts, Jascha Sohl-Dickstein, Noah Constant

In this paper, we explore the idea of training large language models (LLMs) over highly compressed text. While standard subword tokenizers compress text by a small factor, neural text compressors can achieve much higher rates of compression. If it were possible to train LLMs directly over neurally compressed text, this would confer advantages in training and serving efficiency, as well as easier handling of long text spans. The main obstacle to this goal is that strong compression tends to produce opaque outputs that are not well-suited for learning. In particular, we find that text na\"ively compressed via Arithmetic Coding is not readily learnable by LLMs. To overcome this, we propose Equal-Info Windows, a novel compression technique whereby text is segmented into blocks that each compress to the same bit length. Using this method, we demonstrate effective learning over neurally compressed text that improves with scale, and outperforms byte-level baselines by a wide margin on perplexity and inference speed benchmarks. While our method delivers worse perplexity than subword tokenizers for models trained with the same parameter count, it has the benefit of shorter sequence lengths. Shorter sequence lengths require fewer autoregressive generation steps, and reduce latency. Finally, we provide extensive analysis of the properties that contribute to learnability, and offer concrete suggestions for how to further improve the performance of high-compression tokenizers.

📄 PDF Abstract BibTeX arXiv:2404.03626

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-08-18 · E. Manjavacas, J. de Gussem, W. Daelemans, M. Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionText Generation

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-09-01 · WS 2017 9 · Enrique Manjavacas, Jeroen De Gussem, Walter Daelemans, Mike Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionData AugmentationLanguage Modeling+2

Towards Neurally Augmented ALISTA

2020-10-23 · Freya Behrens, Jonathan Sauder, Peter Jung

It is well-established that many iterative sparse reconstruction algorithms such as ISTA can be unrolled to yield a learnable neural network for improved empirical performance. Recently, ALISTA has been introduced, combi…

compressed sensing

Neurally Augmented ALISTA

2020-10-05 · ICLR 2021 1 · Freya Behrens, Jonathan Sauder, Peter Jung

It is well-established that many iterative sparse reconstruction algorithms can be unrolled to yield a learnable neural network for improved empirical performance. A prime example is learned ISTA (LISTA) where weights, s…

compressed sensing

ConFER: A Neurally Constrained Computational Model of Context-Dependent Fear Extinction Recall and Relapse

2024-11-12 · Shreya K. Rajagopal, Thad A. Polk

Exposure therapy, a standard treatment for anxiety disorders, relies on fear extinction. However, extinction recall is often limited to the spatial and temporal context in which extinction is learned, leading to fear rel…