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

潜在瓶颈注意神经过程

Latent Bottlenecked Attentive Neural Processes

Mila – Université de Montréal(米拉-蒙特利尔大学);Borealis AI(北极光AI)

Leo Feng, Hossein Hajimirsadeghi, Yoshua Bengio, Mohamed Osama Ahmed

摘要:

神经过程(NP)是元学习中的流行方法,可以通过对上下文数据集进行调节来估计目标数据点的预测不确定性。以前的最先进的方法Transformer神经过程(TNP)实现了强大的性能,但需要二次计算的上下文数据点的数量,显着限制其可扩展性。相反,现有的次二次NP变体的表现明显不如TNP。为了解决这个问题,我们提出了潜在瓶颈注意神经过程(LBANPs),一个新的计算效率的次二次NP变体,具有查询计算复杂性独立的上下文数据点的数量。该模型将上下文数据集编码成恒定数量的潜向量,在这些潜向量上执行自我注意。在进行预测时,模型通过对潜在向量的多个交叉注意机制从上下文数据集中检索高阶信息。我们的经验表明,LBANPs实现的结果与最先进的元回归,图像完成,上下文多武装土匪竞争。我们证明,LBANPs可以权衡的计算成本和性能,根据潜在的向量的数量。最后,我们表明LBANPs可以扩展到现有的基于注意力的NP变体,以更大的数据集设置。

英文摘要:

Neural Processes (NPs) are popular methods in meta-learning that can estimate predictive uncertainty on target datapoints by conditioning on a context dataset. Previous state-of-the-art method Transformer Neural Processes (TNPs) achieve strong performance but require quadratic computation with respect to the number of context datapoints, significantly limiting its scalability. Conversely, existing sub-quadratic NP variants perform significantly worse than that of TNPs. Tackling this issue, we propose Latent Bottlenecked Attentive Neural Processes (LBANPs), a new computationally efficient sub-quadratic NP variant, that has a querying computational complexity independent of the number of context datapoints. The model encodes the context dataset into a constant number of latent vectors on which self-attention is performed. When making predictions, the model retrieves higher-order information from the context dataset via multiple cross-attention mechanisms on the latent vectors. We empirically show that LBANPs achieve results competitive with the state-of-the-art on meta-regression, image completion, and contextual multi-armed bandits. We demonstrate that LBANPs can trade-off the computational cost and performance according to the number of latent vectors. Finally, we show LBANPs can scale beyond existing attention-based NP variants to larger dataset settings.

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

↑