arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16657cs.AIcs.CL
收藏

利用马尔可夫链蒙特卡洛从大语言模型中恢复心理表征

Recovering Mental Representations from Large Language Models with Markov Chain Monte Carlo

Princeton University(普林斯顿大学);University of Warwick(华威大学)

Jian-Qiao Zhu, Haijiang Yan, Thomas L. Griffiths

AI总结:

本研究提出将用于探查人类心理表征的采样方法应用于大语言模型,验证了基于MCMC的自适应采样算法在恢复类人表征上的效率与性能优势,并指出该方法有望成为通用的LLM贝叶斯推理方法。

摘要:

用人类模拟采样算法已被证实是高效探查和理解人类心理表征的有效方法。我们提出同类方法也可用于研究大语言模型(LLMs)的表征。尽管我们始终可以直接提示人类或LLMs通过内省披露其心理表征,但我们证明,将LLMs用作采样算法的组成部分可提升效率。我们探究了采用直接采样和马尔可夫链蒙特卡洛(MCMC)问询LLMs时,能在多大程度上恢复类人表征。研究发现,使用基于MCMC的自适应采样算法可显著提升效率与性能。我们还强调了该方法有望发展为一种利用LLMs开展贝叶斯推理的更通用方法。

英文摘要:

Simulating sampling algorithms with people has proven a useful method for efficiently probing and understanding their mental representations. We propose that the same methods can be used to study the representations of Large Language Models (LLMs). While one can always directly prompt either humans or LLMs to disclose their mental representations introspectively, we show that increased efficiency can be achieved by using LLMs as elements of a sampling algorithm. We explore the extent to which we recover human-like representations when LLMs are interrogated with Direct Sampling and Markov chain Monte Carlo (MCMC). We found a significant increase in efficiency and performance using adaptive sampling algorithms based on MCMC. We also highlight the potential of our method to yield a more general method of conducting Bayesian inference \textit{with} LLMs.

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

↑