Skip to main content
QUICK REVIEW

[论文解读] LLM Processes: Numerical Predictive Distributions Conditioned on Natural Language

James Requeima, John Bronskill|arXiv (Cornell University)|May 21, 2024
Neural Networks and ApplicationsComputer Science被引用 6
一句话总结

这篇论文定义了 LLM Processes(LLMPs),它们在给定数值数据和自然语言文本的条件下,从大型语言模型中引出联合数值预测分布,并表明它们在多维回归、密度估计以及各种应用中能够与高斯过程竞争。

ABSTRACT

Machine learning practitioners often face significant challenges in formally integrating their prior knowledge and beliefs into predictive models, limiting the potential for nuanced and context-aware analyses. Moreover, the expertise needed to integrate this prior knowledge into probabilistic modeling typically limits the application of these models to specialists. Our goal is to build a regression model that can process numerical data and make probabilistic predictions at arbitrary locations, guided by natural language text which describes a user's prior knowledge. Large Language Models (LLMs) provide a useful starting point for designing such a tool since they 1) provide an interface where users can incorporate expert insights in natural language and 2) provide an opportunity for leveraging latent problem-relevant knowledge encoded in LLMs that users may not have themselves. We start by exploring strategies for eliciting explicit, coherent numerical predictive distributions from LLMs. We examine these joint predictive distributions, which we call LLM Processes, over arbitrarily-many quantities in settings such as forecasting, multi-dimensional regression, black-box optimization, and image modeling. We investigate the practical details of prompting to elicit coherent predictive distributions, and demonstrate their effectiveness at regression. Finally, we demonstrate the ability to usefully incorporate text into numerical predictions, improving predictive performance and giving quantitative structure that reflects qualitative descriptions. This lets us begin to explore the rich, grounded hypothesis space that LLMs implicitly encode.

研究动机与目标

  • 通过自然语言激励将用户提供的先验知识整合到概率模型中。
  • 将 LLMPs 定义为从 LLMs 提取的用于多维回归和密度估计的联合预测分布。
  • 开发提示策略以将 LLMs 对数值数据和文本进行条件化,同时确保一致的不确定性。
  • 在合成和真实任务上评估 LLMPs,包括预测、图像重建和黑盒优化。
  • 探讨独立边缘与自回归联合形式之间的权衡,并与高斯过程等基线进行比较。

提出的方法

  • 定义两种联合预测分布的构造:独立边缘(I-LLMP)和自回归(A-LLMP)(Equations 1 and A.3)。
  • 通过将目标空间离散为细小的箱子并在箱内假设均匀,将质量转化为密度,从而从 LLMs 提取连续似然。
  • 通过对格式、顺序和缩放的细致设计来提示 LLMs,以获得连贯的联合预测和经过校准的不确定性。
  • 使用拒绝采样和离散箱 approach 来逼近 LLM 对多个目标点的预测分布。
  • 展示 LLMPs 通过灵活的提示和对文本的条件,可以处理缺失数据、多维输出和多模态预测。

实验结果

研究问题

  • RQ1是否可以通过提示让 LLMs 产生在任意目标集合上的连贯的联合数值预测分布?
  • RQ2独立边缘与自回归形式在作为随机过程的有效性和预测性能方面有何比较?
  • RQ3在多大程度上对非结构化文本的条件化可以改善数值预测并反映定性问题描述?
  • RQ4与传统方法如高斯过程相比,LLMPs 在多维回归、密度估计、图像重建和黑盒优化任务中的表现如何?
  • RQ5哪些提示策略(格式、排序、缩放)最能实现准确且经过校准的 LLMP 预测?

主要发现

  • LLMPs 在多项任务上实现了与高斯过程相当的预测性能并且不确定性经过良好校准。
  • 自回归型 LLMPs (A-LLMP) 在预测准确性和对数似然方面通常优于独立边缘型 LLMPs (I-LLMP),尽管目标的排序会影响性能。
  • 基于距离的训练点排序和对提示格式的谨慎安排显著影响 NLL 和 MAE 在不同提示和模型中的表现。
  • LLMPs 可以融入基于文本的先验信息来引导预测,使情景条件的预测以及标签/单位能够利用辅助信息。
  • LLMPs 展现出在多维回归、密度估计、图像重建、黑盒优化以及从相关数据集进行上下文学习方面的能力。

阅读本论文

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

在 Nubint 中阅读本论文

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