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

智能体与语言模型中主动因果策略的被动学习

Passive learning of active causal strategies in agents and language models

Google DeepMind(谷歌DeepMind);Stanford University(斯坦福大学)

Andrew Kyle Lampinen, Stephanie C Y Chan, Ishita Dasgupta, Andrew J Nam, Jane X Wang

AI总结:

本文研究被动数据能否习得主动因果策略,通过理论分析、模仿智能体实验及语言模型少样本测试,证明测试时干预配合解释可实现因果实验与利用策略的泛化。

摘要:

从被动数据中能够学到哪些关于因果性和实验的知识?鉴于被动训练的语言模型近期在工具使用等交互式领域取得成功,这一问题尤为突出。被动学习存在固有局限。然而,我们证明,只要智能体能够在测试时进行干预,纯被动学习实际上就可以使其学会可泛化的策略,用于确定并利用因果结构。我们从形式上阐明,学习一种先实验、再寻求目标的策略,原则上能够实现来自被动学习的泛化。随后,我们通过实验表明,在专家数据上经模仿训练的智能体在测试时确实能够泛化,推断并利用训练数据中从未出现的因果联系;这些智能体还能将实验策略泛化到训练中从未观察过的新变量集合。接着我们表明,在自然语言解释的辅助下,即使在具有高维观测的更复杂环境中,因果干预与利用策略也能够从被动数据中泛化。解释甚至可以让被动学习者从完全混淆的训练数据中实现分布外泛化。最后,我们表明,仅通过被动下一词预测训练的语言模型,能够借助包含实验示例以及解释和推理的少样本提示,泛化出因果干预策略。这些结果凸显了被动学习主动因果策略的惊人能力,并可能有助于理解语言模型的行为与能力。

英文摘要:

What can be learned about causality and experimentation from passive data? This question is salient given recent successes of passively-trained language models in interactive domains such as tool use. Passive learning is inherently limited. However, we show that purely passive learning can in fact allow an agent to learn generalizable strategies for determining and using causal structures, as long as the agent can intervene at test time. We formally illustrate that learning a strategy of first experimenting, then seeking goals, can allow generalization from passive learning in principle. We then show empirically that agents trained via imitation on expert data can indeed generalize at test time to infer and use causal links which are never present in the training data; these agents can also generalize experimentation strategies to novel variable sets never observed in training. We then show that strategies for causal intervention and exploitation can be generalized from passive data even in a more complex environment with high-dimensional observations, with the support of natural language explanations. Explanations can even allow passive learners to generalize out-of-distribution from perfectly-confounded training data. Finally, we show that language models, trained only on passive next-word prediction, can generalize causal intervention strategies from a few-shot prompt containing examples of experimentation, together with explanations and reasoning. These results highlight the surprising power of passive learning of active causal strategies, and may help to understand the behaviors and capabilities of language models.

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

↑