arXiv:2607.22961cs.LGcs.CL2026-07

让语言模型生成可解释的不确定推理结果

Verbalized Particle Posterior: Bayesian Inference over Natural Language Hypotheses

  • 用粒子群模拟自然语言假设,通过贝叶斯更新筛选最优解释
  • 在回归、分类和规则发现任务中均优于单次语言模型运行
  • 输出为可读文本,直接展示数据支持或排除的解释

言语化机器学习(VML)将模型参数化为大语言模型(LLM)可评估的自然语言提示,具备可解释性,但仅输出单一假设且无不确定性度量,同一数据上多次优化结果差异大。本文提出言语化粒子后验(VPP),将言语化学习视为贝叶斯推断问题:维护一组自然语言假设作为粒子,使用马尔可夫链蒙特卡洛(VPP-MH)或序列蒙特卡洛(VPP-SMC)更新,并通过贝叶斯模型平均预测。两种算法均将LLM视为黑箱,无需访问其对数几率或梯度。关键创新在于:在经典贝叶斯学习中模型选择独立于后验;而VPP中模型结构与参数共享同一语言空间,后验同时涵盖两者。在回归、分类及规则发现基准上,VPP在所有任务中均优于单次VML运行,在多数任务上达到或超越独立VML集成的最优表现,且消除了VML偶尔出现的灾难性单次失败。由于每个粒子均为人类可读假设,后验本身可直接供读者审查,清晰展示数据支持或排除的解释。

原文摘要 · Abstract (English)

Verbalized Machine Learning (VML) parameterizes a model as a natural-language prompt that an LLM evaluates as f(x; theta). The framework is interpretable, but it commits to a single hypothesis with no measure of uncertainty, and that hypothesis varies substantially across optimization runs on the same data. We propose the Verbalized Particle Posterior (VPP), which treats verbalized learning as a Bayesian inference problem: maintain a population of natural-language hypotheses as particles, update them with Metropolis-Hastings (VPP-MH) or Sequential Monte Carlo (VPP-SMC), and predict by Bayesian model averaging. Both algorithms treat the LLM as a black box, requiring no access to logits or gradients. A distinctive consequence follows. In classical Bayesian learning, model selection sits outside the posterior; in VPP both model structure and parameters share a single language space, and the posterior ranges over both. We evaluate VPP on regression, classification, and rule-discovery benchmarks. It improves over a single VML run on every benchmark and matches or exceeds an oracle-best ensemble of independent VML runs on most, while eliminating the catastrophic single-run failures that VML occasionally produces. Because each particle is a human-readable hypothesis, the posterior is itself something a reader can inspect, seeing in plain text which explanations the data supported and which it ruled out.

语言模型贝叶斯推理可解释性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。