语义压缩的统计力学
Statistical Mechanics of Semantic Compression
AI总结:
本文用统计力学方法研究语义压缩,将最小长度保义消息问题映射为自旋玻璃模型,通过复制理论揭示相图,并证明典型情况下存在高效近似最优算法。
摘要:
语义压缩的基本问题是在保持信息含义的同时最小化消息的长度。这与经典的压缩概念不同,因为失真不是直接在比特层面测量的,而是在一个抽象的语义空间中测量的。为了使这一点精确化,我们从认知神经科学和机器学习中汲取灵感,将语义空间建模为一个连续的欧几里得向量空间。在这样的空间中,刺激(如语音、图像甚至思想)被映射到高维实向量,这些嵌入的位置决定了它们相对于其他嵌入的含义。这表明语义相似性的自然度量就是欧几里得距离,我们在本工作中使用了这一度量。我们将确定最小长度、保持含义的消息的优化问题映射到一个自旋玻璃哈密顿量,并使用复制理论解决由此产生的统计力学问题。我们描绘了复制对称相图,识别出语义压缩的不同相:在出现释义的相之间发生一级相变,而从抽取式压缩到抽象式压缩则看到连续交叉。我们推测了相图中哪些特征由复制对称性捕获,哪些特征在复制对称性破缺下会改变。最后,我们展示了通过模拟退火和贪心算法获得的压缩的数值模拟,并论证了虽然寻找保持含义的压缩问题在最坏情况下是计算困难的,但在典型情况下存在达到接近最优性能的高效算法。
英文摘要:
The basic problem of semantic compression is to minimize the length of a message while preserving its meaning. This differs from classical notions of compression in that the distortion is not measured directly at the level of bits, but rather in an abstract semantic space. In order to make this precise, we take inspiration from cognitive neuroscience and machine learning and model semantic space as a continuous Euclidean vector space. In such a space, stimuli like speech, images, or even ideas, are mapped to high-dimensional real vectors, and the location of these embeddings determines their meaning relative to other embeddings. This suggests that a natural metric for semantic similarity is just the Euclidean distance, which is what we use in this work. We map the optimization problem of determining the minimal-length, meaning-preserving message to a spin glass Hamiltonian and solve the resulting statistical mechanics problem using replica theory. We map out the replica symmetric phase diagram, identifying distinct phases of semantic compression: a first-order transition occurs between phases marked by the emergence of paraphrases, whereas a continuous crossover is seen from extractive to abstractive compression. We speculate on which features of the phase diagram are captured by replica symmetry, and which features change under replica symmetry breaking. We conclude by showing numerical simulations of compressions obtained by simulated annealing and greedy algorithms, and argue that while the problem of finding a meaning-preserving compression is computationally hard in the worst case, there exist efficient algorithms which achieve near optimal performance in the typical case.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。