Skip to main content
QUICK REVIEW

[论文解读] Autoregressive Conditional Neural Processes

Wessel P. Bruinsma, Stratis Markou|arXiv (Cornell University)|Mar 25, 2023
Gaussian Processes and Bayesian InferenceComputer Science被引用 3
一句话总结

该论文提出了一种用于条件神经过程(Conditional Neural Processes, CNPs)的自回归(autoregressive, AR)推理方法,使其能够在不修改网络结构或训练过程的前提下,建模复杂、非高斯且具有依赖关系的预测分布。通过使用概率的链式法则依次采样预测结果,AR CNPs 在对数似然性方面显著优于标准CNPs,并且与更复杂的模型相比也具有竞争力,尽管其训练仅针对独立高斯分布进行。

ABSTRACT

Conditional neural processes (CNPs; Garnelo et al., 2018a) are attractive meta-learning models which produce well-calibrated predictions and are trainable via a simple maximum likelihood procedure. Although CNPs have many advantages, they are unable to model dependencies in their predictions. Various works propose solutions to this, but these come at the cost of either requiring approximate inference or being limited to Gaussian predictions. In this work, we instead propose to change how CNPs are deployed at test time, without any modifications to the model or training procedure. Instead of making predictions independently for every target point, we autoregressively define a joint predictive distribution using the chain rule of probability, taking inspiration from the neural autoregressive density estimator (NADE) literature. We show that this simple procedure allows factorised Gaussian CNPs to model highly dependent, non-Gaussian predictive distributions. Perhaps surprisingly, in an extensive range of tasks with synthetic and real data, we show that CNPs in autoregressive (AR) mode not only significantly outperform non-AR CNPs, but are also competitive with more sophisticated models that are significantly more computationally expensive and challenging to train. This performance is remarkable given that AR CNPs are not trained to model joint dependencies. Our work provides an example of how ideas from neural distribution estimation can benefit neural processes, and motivates research into the AR deployment of other neural process models.

研究动机与目标

  • 解决标准CNPs在建模统计依赖关系和非高斯预测分布方面的局限性。
  • 探究自回归推理是否能在不改变CNPs架构或训练方式的前提下,解锁其更丰富的预测能力。
  • 证明AR推理可生成连贯的、多模态的函数样本,并提升对数似然性。
  • 为LNPs和FullConvGNPs等复杂模型提供一种简单、高效的替代方案,后者通常需要近似推理或仅限于一维输入。
  • 建立AR CNPs与NADE等神经密度估计方法之间的理论与实证联系。

提出的方法

  • 在推理阶段以自回归模式部署训练好的CNPs,即依次使用先前生成的样本作为输入进行预测。
  • 应用概率的链式法则定义联合预测分布:p(y₁,…,yₙ|x) = ∏ᵢ p(yᵢ|y₁,…,yᵢ₋₁,x)。
  • 使用相同的CNPs模型,基于上下文和先前生成的y值,条件性地预测每个yᵢ。
  • 引入一种辅助自回归(AuxAR)变体,通过引入额外的辅助点来改善边缘分布的近似效果。
  • 利用模型现有的高斯似然和推理头,无需微调或结构修改。
  • 通过生成的自回归采样估计联合分布并计算预测对数似然性。

实验结果

研究问题

  • RQ1自回归推理是否能在不改变训练方式或网络结构的前提下,提升标准CNPs的预测性能?
  • RQ2尽管训练时仅使用独立高斯似然,AR CNPs是否仍能建模非高斯且具有依赖关系的预测分布?
  • RQ3在对数似然性和样本质量方面,AR推理与LNPs和FullConvGNPs等更复杂模型相比如何?
  • RQ4在何种场景下AR推理最具优势,特别是针对上下文集大小和数据分布复杂度?
  • RQ5AR CNPs能否达到GNPs或FullConvGNPs等显式建模相关性的模型的性能水平?

主要发现

  • 在所有合成与真实世界任务中,AR CNPs在预测对数似然性方面显著优于标准CNPs,尤其在合成音频数据上,对数似然性提升最高达0.55。
  • 在函数混合任务中,AR CNPs的对数似然性达到-0.46 ± 0.15,而标准CNPs为-0.63 ± 0.20,显示出一致的性能提升。
  • 在锯齿波函数任务中,AR CNPs将对数似然性从1.46 ± 0.30提升至1.64 ± 0.28,表明其在复杂依赖关系下具有更优的边缘建模能力。
  • 当上下文集大小为4和8时,AR CNPs相比标准CNPs有显著改进,而在更大的上下文集大小下,性能增益逐渐减弱,此时高斯边缘分布已足够。
  • AR CNPs可生成连贯且多模态的函数样本(如图1所示),而标准CNPs生成的样本则相互独立、无关联。
  • 理论分析表明,在数据量和模型容量充足时,AR CNPs的性能至少可与显式建模相关性的GNPs相当。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。