段落边界不是空白:压缩深度作为层级结构的标志

·

研究论文 · 2026/09/28

标准位置编码将位置表示为一维阅读顺序坐标,但阅读顺序本身并不决定层级文本结构。我们使用层级旋转位置编码(hRoPE),将段落、句子和词元索引表示为独立通道,固定词元序列,干预段落坐标 p1,并用词元距离精确估计器测量跨段落注意力。在所有语料中,注意力相对于词元距离匹配的基线均被压缩,但压缩本身并不能诊断真实结构:一个架构相同、密度匹配的随机标签通道也会被压缩,且压缩更浅。区分真实结构的是压缩深度,它更大且依赖语料,而对照组的压缩深度则不然。在三个构念(词汇持续性、段落长度、基于嵌入的连贯性)上比较八个仅语料量,没有一个能完全复现压缩深度的跨语料排序,尽管基于嵌入的连贯性最接近。在我们的设定中,压缩深度而非其位置,才是真实段落结构可复现的特征。

该研究通过hRoPE和精确估计器,将段落边界与空白区分开,提出压缩深度作为层级结构的可复现特征,对位置编码和文本结构分析有方法学意义。

Standard positional encodings represent position as a one-dimensional reading-order coordinate, but reading order alone does not determine hierarchical textual structure. We use a hierarchical rotary positional encoding (hRoPE) that represents paragraph, sentence, and token indices as separate channels, hold the token sequence fixed, intervene on the paragraph coordinate p1, and measure cross-paragraph attention with a token-distance-exact estimator. Attention is compressed relative to a token-distance-matched baseline in every corpus, but compression alone is not diagnostic of true structure: an architecturally identical channel with density-matched random labels is compressed too, more shallowly. What distinguishes real structure is the depth of compression, which is greater and corpus-dependent while the control's is not. Comparing eight corpus-only quantities across three constructs (lexical persistence, paragraph length, embedding-based coherence), none fully reproduces the cross-corpus ordering of depth, though embedding-based coherence comes closest. Compression depth, not its location, is the reproducible signature of genuine paragraph structure in our setting.

阅读原文

参与讨论