TensorX
返回文献探索

Paper · arXiv 2410.10630

Thinking LLMs: General Instruction Following with Thought Generation

Tianhao Wu, Janice Lan, Weizhe Yuan, Jiantao Jiao, Jason Weston, Sainbayar Sukhbaatar

20 upvotesOctober 14, 2024arXiv 预印本
AI 摘要

An iterative search and optimization procedure equips LLMs with thinking abilities for general instruction following, improving performance across various categories, including reasoning, marketing, health, and general knowledge.

LLMsinstruction followingexplicit thinkingreasoningplanningiterative searchoptimizationthought generationsjudge modelpreference optimizationAlpacaEvalArena-Hard

Abstract

LLMs are typically trained to answer user questions or follow instructions similarly to how human experts respond. However, in the standard alignment framework they lack the basic ability of explicit thinking before answering. Thinking is important for complex questions that require reasoning and planning -- but can be applied to any task. We propose a training method for equipping existing LLMs with such thinking abilities for general instruction following without use of additional human data. We achieve this by an iterative search and optimization procedure that explores the space of possible thought generations, allowing the model to learn how to think without direct supervision. For each instruction, the thought candidates are scored using a judge model to evaluate their responses only, and then optimized via preference optimization. We show that this procedure leads to superior performance on AlpacaEval and Arena-Hard, and shows gains from thinking on non-reasoning categories such as marketing, health and general knowledge, in addition to more traditional reasoning & problem-solving tasks.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Thinking LLMs: General Instruction Following with Thought Generation | TensorX