The rise of large language models (LLMs) is revolutionizing information retrieval, question answering, summarization, and code generation tasks. However, in addition to confidently presenting factually inaccurate information at times (known as "hallucinations"), LLMs are also inherently limited by the number of input and output tokens that can be processed at once, making them potentially less effective on tasks that require processing a large set or continuous stream of information. A common approach to reducing the size of data is through lossless or lossy compression. Yet, in some cases it may not be strictly necessary to perfectly recover every detail from the original data, as long as a requisite level of semantic precision or intent is conveyed.
This paper presents three contributions to research on LLMs. First, we present the results from experiments exploring the viability of approximate compression using LLMs, focusing specifically on GPT-3.5 and GPT-4 via ChatGPT interfaces. Second, we investigate and quantify the capability of LLMs to compress text and code, as well as to recall and manipulate compressed representations of prompts. Third, we present two novel metrics -- Exact Reconstructive Effectiveness (ERE) and Semantic Reconstruction Effectiveness (SRE) -- that quantify the level of preserved intent between text compressed and decompressed by the LLMs we studied. Our initial results indicate that GPT-4 can effectively compress and reconstruct text while preserving the semantic essence of the original text, providing a path to leverage $\sim$5$\times$ more tokens than present limits allow.
College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机科学与技术学院);School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院)
School of Mathematics, Northwest University(西北大学数学学院);Shanghai Institute for Mathematics and Interdisciplinary Sciences(上海数学与交叉科学研究院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Cheriton School of Computer Science, University of Waterloo(滑铁卢大学切尔顿计算机科学学院)
EfficientPosterGen: Semantic-aware Efficient Poster Generation via Token Compression and Accurate Violation Detection
Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);Harbin Institute of Technology(哈尔滨工业大学);Wuhan University(武汉大学);Beijing University of Posts and Telecommunications(北京邮电大学);Dalian Maritime University(大连海事大学);Renmin University of China(中国人民大学)
FaSDiff: Balancing Perception and Semantics in Face Compression via Stable Diffusion Priors
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Research Center of Artificial Intelligence, Pengcheng Laboratory(人工智能研究中心,鹏城实验室);Harbin Institute of Technology(哈尔滨工业大学);Huawei Manufacturing(华为制造)
MISC: Ultra-low Bitrate Image Semantic Compression Driven by Large Multimodal Model
Institute of Image Communication and Network Engineering, Shanghai Jiao Tong University(上海交通大学图像通信与网络工程研究所);John Hopcroft Center, Shanghai Jiao Tong University(上海交通大学约翰·霍普克罗夫特中心);S-Lab, Nanyang Technological University(南洋理工大学S-Lab)
Bottlenecked semantic compression by representation reconstruction
Scientific Computing and Imaging Institute(科学计算与成像研究所);University of Utah(犹他大学);Princeton AI Lab(普林斯顿人工智能实验室);Princeton University(普林斯顿大学);National Institutes of Health(美国国立卫生研究院)
Intriguing Properties of Compression on Multilingual Models
University of Waterloo(滑铁卢大学);University of Washington(华盛顿大学);Cohere For AI Community(Cohere人工智能社区);Google Research(谷歌研究院);Cohere For AI(Cohere人工智能研究院)