arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06464cs.LGcs.AI
收藏

自回归神经序列模型的预测查询

Predictive Querying for Autoregressive Neural Sequence Models

University of California, Irvine(加州大学欧文分校)

Alex Boyd, Sam Showalter, Stephan Mandt, Padhraic Smyth

摘要:

在推理顺序事件时,很自然地提出概率查询,例如“事件A下一次何时发生”或“A在B之前发生的概率是多少”,应用于用户建模,医学和金融等领域。然而,随着机器学习转向神经自回归模型,如RNN和Transformers,概率查询在很大程度上被限制在简单的情况下,如下一个事件预测。这部分是由于这样的事实,即未来的查询涉及边缘化的大路径空间,这是不直接有效地在这样的模型。在本文中,我们介绍了神经自回归序列模型中的预测查询的一般类型,并表明这种查询可以系统地表示由基本积木集。我们利用这种类型开发新的查询估计方法的基础上束搜索,重要性采样,和混合。在四个大规模的序列数据集,从不同的应用领域,以及GPT-2语言模型,我们证明了查询应答听话的任意查询指数大的预测路径空间的能力,并找到明确的差异,搜索和采样方法之间的成本精度权衡。

英文摘要:

In reasoning about sequential events it is natural to pose probabilistic queries such as "when will event A occur next" or "what is the probability of A occurring before B", with applications in areas such as user modeling, medicine, and finance. However, with machine learning shifting towards neural autoregressive models such as RNNs and transformers, probabilistic querying has been largely restricted to simple cases such as next-event prediction. This is in part due to the fact that future querying involves marginalization over large path spaces, which is not straightforward to do efficiently in such models. In this paper we introduce a general typology for predictive queries in neural autoregressive sequence models and show that such queries can be systematically represented by sets of elementary building blocks. We leverage this typology to develop new query estimation methods based on beam search, importance sampling, and hybrids. Across four large-scale sequence datasets from different application domains, as well as for the GPT-2 language model, we demonstrate the ability to make query answering tractable for arbitrary queries in exponentially-large predictive path-spaces, and find clear differences in cost-accuracy tradeoffs between search and sampling methods.

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

↑