arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.12987cs.CLcs.LGstat.ML
收藏

预测掩码文本重构中的语料采样分歧

Forecasting Corpus-Sampling Disagreement in Masked Text Reconstruction

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Hare Krishna

AI总结:

该研究针对掩码文本重构,推导了预测器在两个独立语料库间预期分歧的一阶公式,在三个数据集上验证了该预测方法,并提出校正方案以提升预测准确性。

摘要:

如果从同一总体中收集第二个文本语料库,预测器的输出会发生多大程度的变化?我们针对掩码文本重构研究该问题,使用基于相邻词对计数构建的平滑预测器,并在完整的50257词元的GPT-2词汇表上进行评估。将每个源文档视为一个观测值,我们推导了拟合于两个独立语料库的预测器之间预期分歧的一阶公式。该公式考虑了可变的文档长度、随机的上下文计数以及词元偏移之间的相关性,且可从单独的参考语料库进行评估,无需访问任一目标语料库。在TinyStories、WikiText-103和CNN/DailyMail上,将每个语料库从512个64词元块扩展至2048个块,仅使分歧降低5%至40%,远低于1/n缩放所隐含的75%。该预测追踪了这种缓慢下降,我们将其归因于对罕见上下文的平滑处理。预测准确性对这些相关性的建模方式依赖较小,而更多取决于参考语料库的大小:小型参考语料库会系统性地低估分歧。仅使用参考数据的源拆分刀切法可将该校准误差降低57%至59%。经此校正后,当参考语料库小于目标语料库时,更简单的平滑多项式近似最为准确;当参考语料库更大时,非线性源自助法最为准确。最后,在同一语料库上训练的小型掩码扩散语言模型表明,基于计数的预测部分识别出对语料库最敏感的输入,但未能捕捉到神经模型分歧下降快得多的现象。

英文摘要:

If a second text corpus were collected from the same population, how much would a predictor's outputs change? We study this question for masked-text reconstruction using a smoothed predictor built from nearby token-pair counts and evaluated over the full 50,257-token GPT-2 vocabulary. Treating each source document as one observation, we derive a first-order formula for the expected disagreement between predictors fitted to two independent corpora. The formula accounts for variable document length, random context counts, and correlations across token offsets, and it can be evaluated from a separate reference corpus without access to either target corpus. On TinyStories, WikiText-103, and CNN/DailyMail, growing each corpus from 512 to 2,048 chunks of 64 tokens lowers disagreement by only 5--40\%, far short of the 75\% implied by $1/n$ scaling. The forecast tracks this slow decline, which we trace to smoothing of rarely seen contexts. Forecast accuracy depends less on how these correlations are modeled than on the size of the reference corpus: small references systematically underpredict disagreement. A source-split jackknife that uses only reference data reduces this calibration error by 57--59\%. After this correction, a simpler smoothed-multinomial approximation is most accurate when the reference corpus is smaller than the target corpus, and a nonlinear source bootstrap is most accurate when it is larger. Finally, small masked diffusion language models trained on the same corpora show that the count-based forecasts partly identify which inputs are most sensitive to the corpus, but miss the neural models' much faster decline in disagreement.

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

↑