arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.14683cs.CL
收藏

Heap定律的二次项修正

Quadratic Term Correction on Heaps' Law

Oscar Fontanelli, Wentian Li

AI总结:

针对Heap定律在双对数坐标下仍呈轻微凹形的问题,提出二次函数拟合方法,并通过二十部英文小说验证,发现线性系数略大于1、二次系数约为-0.02,且曲率与“伪方差”相关。

摘要:

Heap或Herdan定律通过幂律函数表征词类型与词例之间的关系,该函数在线性-线性尺度上是凹的,但在双对数尺度上是直线。然而,即使在双对数尺度上,类型-词例曲线仍轻微凹形,使幂律关系失效。作为下一阶近似,我们通过二十部英文小说(部分从其他语言翻译成英文)证明,双对数尺度下的二次函数能完美拟合类型-词例数据。对log(类型)-log(词例)数据同时包含线性和二次项的回归分析一致地得出线性系数略大于1,二次系数约为-0.02。利用“从袋中有放回地随机抽取彩色球”模型,我们证明双对数尺度的曲率等于一个负的“伪方差”。尽管当词例数量较大时,由于伪权重值较大,伪方差计算可能遇到数值不稳定性,但该形式为词例数量较小时提供了曲率的粗略估计。

英文摘要:

Heaps' or Herdan's law characterizes the word-type vs. word-token relation by a power-law function, which is concave in linear-linear scale but a straight line in log-log scale. However, it has been observed that even in log-log scale, the type-token curve is still slightly concave, invalidating the power-law relation. At the next-order approximation, we have shown, by twenty English novels or writings (some are translated from another language to English), that quadratic functions in log-log scale fit the type-token data perfectly. Regression analyses of log(type)-log(token) data with both a linear and quadratic term consistently lead to a linear coefficient of slightly larger than 1, and a quadratic coefficient around -0.02. Using the ``random drawing colored ball from the bag with replacement" model, we have shown that the curvature of the log-log scale is identical to a ``pseudo-variance" which is negative. Although a pseudo-variance calculation may encounter numeric instability when the number of tokens is large, due to the large values of pseudo-weights, this formalism provides a rough estimation of the curvature when the number of tokens is small.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑