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

任意阶自回归模型的训练和推断

Training and Inference on Any-Order Autoregressive Models the Right Way

Stanford University(斯坦福大学)

Andy Shih, Dorsa Sadigh, Stefano Ermon

摘要:

任意变量子集上的条件推理是概率推理的核心问题,在掩码语言建模和图像修补等领域有着重要的应用。近年来,与BERT和XLNet等流行模型密切相关的任意阶自回归模型(AO-ARM)家族在广泛的领域中的任意条件任务中表现出突破性的性能。但是,尽管他们的成功,在本文中,我们确定了显着的改进,以前的配方AO-ARM。首先,我们证明了AO-ARM在其概率模型中存在冗余,即,它们以多种不同的方式定义相同的分布。我们通过在一组较小的单变量条件上进行训练来减轻这种冗余,这些条件仍然支持有效的任意条件推理。其次,我们增加了在推理过程中更频繁评估的单变量条件的训练损失。我们的方法提高了性能,但不影响易处理性,在文本(Text 8),图像(CIFAR 10,ImageNet 32)和连续表格数据域的任意条件建模中提供了最先进的可能性。

英文摘要:

Conditional inference on arbitrary subsets of variables is a core problem in probabilistic inference with important applications such as masked language modeling and image inpainting. In recent years, the family of Any-Order Autoregressive Models (AO-ARMs) -- closely related to popular models such as BERT and XLNet -- has shown breakthrough performance in arbitrary conditional tasks across a sweeping range of domains. But, in spite of their success, in this paper we identify significant improvements to be made to previous formulations of AO-ARMs. First, we show that AO-ARMs suffer from redundancy in their probabilistic model, i.e., they define the same distribution in multiple different ways. We alleviate this redundancy by training on a smaller set of univariate conditionals that still maintains support for efficient arbitrary conditional inference. Second, we upweight the training loss for univariate conditionals that are evaluated more frequently during inference. Our method leads to improved performance with no compromises on tractability, giving state-of-the-art likelihoods in arbitrary conditional modeling on text (Text8), image (CIFAR10, ImageNet32), and continuous tabular data domains.

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

↑