MEMORY-VQ:面向可处理的互联网规模记忆的压缩
MEMORY-VQ: Compression for Tractable Internet-Scale Memory
AI总结:
提出MEMORY-VQ,利用VQ-VAE压缩记忆增强模型的token表示,在KILT基准上实现16倍压缩且性能相当,使大规模语料库的检索增强变得实用。
摘要:
检索增强是一种强大但昂贵的方法,用于使语言模型对世界更具知识性。基于记忆的方法(如LUMEN)预先计算检索段落的token表示,以大幅加速推理。然而,记忆也导致存储需求大幅增加,因为需要存储预计算的表示。我们提出MEMORY-VQ,一种在不牺牲性能的前提下减少记忆增强模型存储需求的新方法。我们的方法使用向量量化变分自编码器(VQ-VAE)来压缩token表示。我们将MEMORY-VQ应用于LUMEN模型,得到LUMEN-VQ,一种在KILT基准上实现16倍压缩率且性能相当的记忆模型。LUMEN-VQ使得即使对于极其庞大的检索语料库,也能实现实用的检索增强。
英文摘要:
Retrieval augmentation is a powerful but expensive method to make language models more knowledgeable about the world. Memory-based methods like LUMEN pre-compute token representations for retrieved passages to drastically speed up inference. However, memory also leads to much greater storage requirements from storing pre-computed representations. We propose MEMORY-VQ, a new method to reduce storage requirements of memory-augmented models without sacrificing performance. Our method uses a vector quantization variational autoencoder (VQ-VAE) to compress token representations. We apply MEMORY-VQ to the LUMEN model to obtain LUMEN-VQ, a memory model that achieves a 16x compression rate with comparable performance on the KILT benchmark. LUMEN-VQ enables practical retrieval augmentation even for extremely large retrieval corpora.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。