Skip to main content
QUICK REVIEW

[Paper Review] Thinking LLMs: General Instruction Following with Thought Generation

Tianhao Wu, Janice Lan|arXiv (Cornell University)|Oct 14, 2024
Artificial Intelligence in LawSocial Sciences3 citations
TL;DR

This paper introduces Thought Preference Optimization (TPO), a method to train large language models (LLMs) to generate internal thoughts before responding to instructions, without requiring human-annotated thought data. By iteratively optimizing thought responses via preference learning using a judge model that evaluates only the final output, the method improves performance across diverse instruction-following tasks—including non-reasoning domains like marketing and health—achieving 52.5% win rate on AlpacaEval and 37.3% on Arena-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.

Motivation & Objective

  • To enable existing instruction-tuned LLMs to generate internal thoughts before responding, improving general instruction following without additional human-annotated thought data.
  • To investigate whether thinking improves performance not only on reasoning tasks but also on non-reasoning instruction-following tasks such as marketing, health, and general knowledge.
  • To develop a scalable, data-efficient training method that allows models to learn to think independently through preference optimization, rather than relying on supervised self-refinement or self-correction.
  • To demonstrate that thought generation, even without explicit supervision, can lead to measurable gains in model performance across diverse benchmarks.

Proposed method

  • The method starts with an instruction-tuned LLM and prompts it to generate a thought sequence followed by a response, where thoughts are internal and not shown to the user.
  • Thought and response outputs are sampled iteratively, and only the response parts are evaluated by a pre-trained judge model to determine 'chosen' and 'rejected' response pairs.
  • Preference optimization (specifically DPO) is applied to the full output sequences (thought + response), using the judge's response evaluation to implicitly guide thought improvement.
  • The process is repeated over multiple training iterations, allowing the model to refine its thought generation based on feedback from the resulting response quality.
  • No human-annotated thoughts or specialized thought-evaluation models are required; the method relies solely on a standard response-only judge model.
  • The approach is compatible with existing fine-tuning pipelines and does not require changes to model architecture or training objectives beyond prompting for thought generation.

Experimental results

Research questions

  • RQ1Can LLMs be trained to generate internal thoughts for general instruction following without any human-annotated thought data?
  • RQ2Does thought generation improve performance on non-reasoning instruction-following tasks such as marketing, health, and general knowledge?
  • RQ3Can preference optimization over response quality alone lead to meaningful improvements in thought quality, even without direct supervision of thoughts?
  • RQ4How does the performance of a Thinking LLM compare to a standard direct-response LLM across diverse benchmarks like AlpacaEval and Arena-Hard?

Key findings

  • The TPO method achieves a 52.5% win rate on AlpacaEval, outperforming the baseline direct-response LLM.
  • On the more challenging Arena-Hard benchmark, the Thinking LLM achieves a 37.3% win rate, demonstrating superior performance on complex instruction-following tasks.
  • Surprisingly, thought generation improves performance not only on reasoning tasks but also on non-reasoning categories such as marketing, health, and general knowledge.
  • The model's performance improves significantly over multiple training iterations, with early iterations performing worse than the baseline, indicating a learning curve in thought generation capability.
  • Despite the lack of direct supervision on thoughts, the method successfully teaches the model to generate more effective thoughts by optimizing for response quality alone.
  • The method shows promise for broad application in instruction-following, suggesting that thinking can be a general-purpose capability beyond narrow reasoning tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.