GPT-Neo大语言模型模拟语料中的Heaps定律
Heaps' Law in GPT-Neo Large Language Model Emulated Corpora
AI总结:
本研究验证了GPT-Neo模型生成的模拟语料遵循Heaps定律,且模型规模越大,词汇增长越接近人类文本,为改进模型输出提供了方向。
摘要:
Heaps定律是文本分析中的一个经验关系,它预测词汇量随语料库规模的增长而增长。尽管该定律已在多种人类撰写的文本语料库中得到验证,但其对大型语言模型生成文本的适用性仍未得到探索。本研究填补了这一空白,聚焦于使用GPT-Neo系列大型语言模型进行语料库模拟。为开展研究,我们使用三种不同参数规模的GPT-Neo模型模拟了PubMed摘要语料库。我们的模拟策略是使用每篇PubMed摘要的前五个词作为提示,并指示模型将内容扩展到原始摘要的长度。我们的研究结果表明,生成的语料库遵循Heaps定律。有趣的是,随着GPT-Neo模型规模的增大,其生成的词汇越来越符合人类撰写文本中观察到的Heaps定律。为进一步提高GPT-Neo输出的丰富性和真实性,未来的迭代可以着重于增大模型规模或改进模型架构以减少词汇重复。
英文摘要:
Heaps' law is an empirical relation in text analysis that predicts vocabulary growth as a function of corpus size. While this law has been validated in diverse human-authored text corpora, its applicability to large language model generated text remains unexplored. This study addresses this gap, focusing on the emulation of corpora using the suite of GPT-Neo large language models. To conduct our investigation, we emulated corpora of PubMed abstracts using three different parameter sizes of the GPT-Neo model. Our emulation strategy involved using the initial five words of each PubMed abstract as a prompt and instructing the model to expand the content up to the original abstract's length. Our findings indicate that the generated corpora adhere to Heaps' law. Interestingly, as the GPT-Neo model size grows, its generated vocabulary increasingly adheres to Heaps' law as as observed in human-authored text. To further improve the richness and authenticity of GPT-Neo outputs, future iterations could emphasize enhancing model size or refining the model architecture to curtail vocabulary repetition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。