基于嵌套和层次重复的文本距离:一种基于压缩的视角
Text Distance from Nested and Hierarchical Repetitions: A Compression-Based Perspective
AI总结:
该研究基于算法信息论提出新的文本距离分析方法,核心是Ladderpath方法,通过提取重复子结构关系定义三种距离度量,与k近邻分类器集成后在多种文本分类任务中表现出色,优于现有方法,为文本建模提供新方案。
摘要:
我们提出了一种基于算法信息论(AIT)的结构序列分析新方法。其核心是Ladderpath方法,它能提取语言序列中重复子结构之间的嵌套和层次关系,这是AIT通过最小生成程序描述数据原则的一种实例化。利用这些结构定义了三种距离度量:归一化压缩距离(NCD)以及直接从Ladderpath表示导出的另外两种距离。与k近邻分类器集成后,这些距离在分布内、分布外(OOD)和少样本文本分类任务中表现强大且一致。特别是在OOD和低资源设置下,这三种方法均优于基于gzip的NCD和BERT。结果表明Ladderpath捕获的结构化表示保留了序列的内在属性,并为文本建模提供了轻量级、可解释且无需训练的替代方案。这项工作凸显了基于AIT的方法在结构和领域无关序列理解方面的潜力。
英文摘要:
We present a new method for structural sequence analysis grounded in Algorithmic Information Theory (AIT). At its core is the Ladderpath approach, which extracts nested and hierarchical relationships among repeated substructures in linguistic sequences -- an instantiation of AIT's principle of describing data through minimal generative programs. These structures are then used to define three distance measures: a normalized compression distance (NCD), and two alternative distances derived directly from the Ladderpath representation. Integrated with a $k$-nearest neighbor classifier, these distances achieve strong and consistent performance across in-distribution, out-of-distribution (OOD), and few-shot text classification tasks. In particular, all three methods outperform both gzip-based NCD and BERT under OOD and low-resource settings. These results demonstrate that the structured representations captured by Ladderpath preserve intrinsic properties of sequences and provide a lightweight, interpretable, and training-free alternative for text modeling. This work highlights the potential of AIT-based approaches for structural and domain-agnostic sequence understanding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。