arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08154cs.CLcs.NEstat.ML
收藏

语言模型的计算能力:评估和提高其预测数字的能力

Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numbers

University College London(伦敦大学学院)

Georgios P. Spithourakis, Sebastian Riedel

摘要:

算术是理解和处理数字的能力。它是撰写和理解临床,科学和其他技术领域文件的必要技能。在本文中,我们探讨了不同的策略与语言模型,如记忆和数字的数字组成,数字建模,并提出了一种新的神经架构,使用一个连续的概率密度函数,从一个开放的词汇数字模型。我们对临床和科学数据集的评估表明,使用分层模型来区分数字和单词,与非分层模型相比,数字子集的困惑度分别提高了2个和4个数量级。策略的组合可以进一步改善困惑。我们的连续概率密度函数模型与每个数据集的第二最佳策略相比,分别将平均绝对百分比误差降低了18%和54%。

英文摘要:

Numeracy is the ability to understand and work with numbers. It is a necessary skill for composing and understanding documents in clinical, scientific, and other technical domains. In this paper, we explore different strategies for modelling numerals with language models, such as memorisation and digit-by-digit composition, and propose a novel neural architecture that uses a continuous probability density function to model numerals from an open vocabulary. Our evaluation on clinical and scientific datasets shows that using hierarchical models to distinguish numerals from words improves a perplexity metric on the subset of numerals by 2 and 4 orders of magnitude, respectively, over non-hierarchical models. A combination of strategies can further improve perplexity. Our continuous probability density function model reduces mean absolute percentage errors by 18% and 54% in comparison to the second best strategy for each dataset, respectively.

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

↑