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ïvely 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.
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Michigan(密歇根大学);Carnegie Mellon University(卡内基梅隆大学);The University of Tokyo(东京大学)
Through a Compressed Lens: Investigating The Impact of Quantization on Factual Knowledge Recall
Quality and Usability Lab, Technische Universität Berlin(柏林技术大学质量与可用性实验室);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Saarland Informatics Campus(萨尔州信息学院);LMU Munich(慕尼黑大学);Bosch Center for Artificial Intelligence (BCAI)(博世人工智能中心);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Centre for European Research in Trusted AI (CERTAIN)(可信人工智能欧洲研究中心);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究院);Technical University of Munich(慕尼黑技术大学)
Decoding Compressed Trust: Scrutinizing the Trustworthiness of Efficient LLMs Under Compression
University of Texas at Austin(德克萨斯大学奥斯汀分校);Drexel University(德雷塞尔大学);MIT(麻省理工学院);UIUC(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室);Center for AI Safety(人工智能安全中心);University of California, Berkeley(加州大学伯克利分校);University of Chicago(芝加哥大学)
Multilingual Brain Surgeon: Large Language Models Can be Compressed Leaving No Language Behind
X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China(X-LANCE实验室,计算机科学与工程系,MoE人工智能关键实验室,上海交通大学人工智能研究院,上海,中国);Suzhou Laboratory, Suzhou, China(苏州实验室,苏州,中国)
The Benchmark Illusion: Pruned LLMs Can Pass Multiple Choice but Fail to Answer
Institute of Science Tokyo(东京科学大学);Tohoku University(东北大学);Nanyang Technological University(南洋理工大学);KTH Royal Institute of Technology(瑞典皇家理工学院);Shandong University(山东大学)
Large Language Models as symbolic DNA of cultural dynamics
Human Energy(人类能源);San Francisco VA Medical Center(旧金山退伍军人医疗中心);University of California, San Francisco(加州大学旧金山分校);University of California, Berkeley(加州大学伯克利分校)
Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compression
Kahlert School of Computing, University of Utah(犹他大学卡勒特计算学院);Google DeepMind(谷歌DeepMind);Scientific Computing and Imaging Institute, University of Utah(犹他大学科学计算与成像研究所)
Fluctuation-based Adaptive Structured Pruning for Large Language Models
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Wuhan AI Research(武汉人工智能研究院);Objecteye Inc.(Objecteye公司)
S$^4$R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Caching
School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程研究中心)
MultiTok: Variable-Length Tokenization for Efficient LLMs Adapted from LZW Compression
University of Texas at Austin(德克萨斯大学奥斯汀分校);Nokia Bell Labs(诺基亚贝尔实验室);Boğaziçi University(博雅大学);Georgia Institute of Technology(佐治亚理工学院);Massachusetts Institute of Technology (MIT)(麻省理工学院(MIT))
Fast Matrix Multiplications for Lookup Table-Quantized LLMs
Massachusetts Institute of Technology(麻省理工学院);High School of Mathematics Plovdiv(普罗夫迪夫数学中学);Carnegie Mellon University(卡内基梅隆大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Petuum Inc.(派图公司)
Constrained Semantic Decompression in LLMs through Persian Proverb-Conditioned Story Generation
Tehran Institute for Advanced Studies, Khatam University, Iran(德黑兰高级研究所,卡塔姆大学,伊朗);School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran(电气与计算机工程学院,工程学院,德黑兰大学,伊朗)
A Survey on Model Compression for Large Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
Delta-CoMe: Training-Free Delta-Compression with Mixed-Precision for Large Language Models
Tsinghua University(清华大学);Shanghai University of Finance and Economics(上海财经大学);Institute for AI, Tsinghua University(清华大学人工智能研究院);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Peking University(北京大学)