English

Guiding Language Model Reasoning with Planning Tokens

Computation and Language 2024-08-08 v4 Artificial Intelligence Machine Learning

Abstract

Large language models (LLMs) have recently attracted considerable interest for their ability to perform complex reasoning tasks, such as chain-of-thought (CoT) reasoning. However, most of the existing approaches to enhance this ability rely heavily on data-driven methods, while neglecting the structural aspects of the model's reasoning capacity. To encourage a more structural generation of CoT steps, we propose a hierarchical generation scheme: we let the LM generate a planning token at the start of each reasoning step, intuitively serving as a high-level plan of the current step, and add their embeddings to the model parameters. Our approach requires a negligible increase in trainable parameters (0.001%) and can be applied through either full fine-tuning or a more parameter-efficient scheme. We demonstrate our method's effectiveness by applying it to three different LLMs, showing notable accuracy improvements across three math word problem datasets and one multihop QA dataset with respect to standard fine-tuning baselines.

Keywords

Cite

@article{arxiv.2310.05707,
  title  = {Guiding Language Model Reasoning with Planning Tokens},
  author = {Xinyi Wang and Lucas Caccia and Oleksiy Ostapenko and Xingdi Yuan and William Yang Wang and Alessandro Sordoni},
  journal= {arXiv preprint arXiv:2310.05707},
  year   = {2024}
}

Comments

Accepted to COLM 2024

R2 v1 2026-06-28T12:44:38.348Z