TORSO: Template-Oriented Reasoning Towards General Tasks

Minhyuk Kim, Seungyoon Lee, Heuiseok Lim

TL;DR

This paper introduces TORSO, a novel method that guides Large Language Models (LLMs) to perform reasoning without relying on manually crafted few-shot examples or task-specific training. By strategically injecting special tokens during the decoding process, TORSO effectively elicits the LLM's inherent reasoning capabilities, achieving strong performance across diverse benchmarks and demonstrating improved efficiency compared to existing methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown impressive capabilities in various tasks, but eliciting their reasoning abilities, especially for complex problem-solving, has been a significant challenge. Current approaches often rely on "few-shot prompting," where models are given examples of reasoning steps within the prompt. While effective, this method has several drawbacks: it's labor-intensive to craft good prompts for each task, it can lead to inconsistent performance across different tasks, and it might limit the model's ability to leverage its full reasoning potential by constraining it to mimic the provided examples. Furthermore, training specialized reasoning models requires substantial data and often focuses on specific domains like STEM, limiting their generalizability. This paper addresses the need for a more general, efficient, and less labor-intensive method to unlock LLMs' innate reasoning skills.

Methods

TORSO's core innovation lies in manipulating the LLM's decoding process through the strategic injection of special tokens. The method operates in two main steps:

  1. Unlocking Reasoning: At the very beginning of the decoding process, TORSO forcibly assigns high probabilities to tokens that form the special sequence <reasoning>. This intervention acts as a signal, prompting the LLM to initiate a reasoning process rather than directly generating an answer. The authors hypothesize that LLMs, trained on vast amounts of data, already possess latent reasoning abilities that can be activated with such cues.
  2. Generation Wrap-up: As the model is about to finish generating its response, TORSO injects a sequence of tokens: </reasoning> followed by <answer>. This signals the end of the reasoning phase and prompts the model to synthesize its generated rationale into a final, coherent answer that directly addresses the user's query. This ensures that the generated reasoning is not just an isolated output but is integrated into the final response.

The key novelty here is the minimal intervention approach. Unlike few-shot prompting or specialized training, TORSO leverages the model's existing capabilities by subtly guiding its decoding, making it efficient and adaptable across various tasks.

Datasets

The paper evaluates TORSO on several established benchmark datasets:

  • GSM8K: For mathematical reasoning.
  • ARC-Easy: For science reasoning.
  • TruthfulQA: For evaluating the reliability of model responses.
  • RACE: For reading comprehension.
  • MMLU: For comprehensive knowledge evaluation across various subjects.
  • GAOKAO: For comprehensive knowledge evaluation, particularly relevant to Chinese high school exams.

The paper does not introduce new datasets.

Key Insights and Ideas

  • LLMs have latent reasoning abilities: The fundamental assumption of TORSO is that LLMs, due to their extensive pre-training, already possess significant reasoning capabilities that can be elicited with minimal guidance.
  • Few-shot prompts can be limiting: The study suggests that while few-shot prompts can guide reasoning, they might also constrain the model, preventing it from exploring its full reasoning potential or leading to performance degradation in some cases.
  • Minimal intervention is powerful: TORSO demonstrates that simple token manipulation during decoding can be highly effective in activating reasoning, outperforming more complex methods that require extensive prompt engineering or training data.
  • Generalizability is key: TORSO's template-oriented approach shows promise for general tasks, even those not typically associated with complex logical reasoning (like history or religion questions in MMLU/GAOKAO), suggesting its broad applicability.

Key Results

  • Overall Performance: TORSO consistently outperforms baseline methods (including Base models, CoT, ToT, and LtM) across all evaluated benchmarks, as shown in Table 1. For instance, on Llama-3.1-8B-Instruct, TORSO achieves an average score of 0.7298, significantly higher than the base model (0.7054) and other few-shot methods.
  • Rationale Quality: Qualitative evaluations using GPT-40 as a judge indicate that TORSO generates more appropriate and suitable rationales compared to baselines, with a higher win rate in pairwise comparisons (Figure 2 and Table 3).
  • Length Efficiency: TORSO is more efficient than many few-shot methods. While it doesn't increase the input length significantly (unlike few-shot methods), its generated rationales are comparable in length to the base model, avoiding the substantial overhead seen in methods like LtM and ToT (Figure 3).
  • Comparison with Specialized Models: TORSO applied to Llama 3.1 8B Instruct achieves superior performance on most benchmarks compared to DeepSeek-R1-Distill-Llama-8B, a model specifically trained for reasoning, highlighting TORSO's effectiveness without specialized training.

Limitations and Future Work

  • Out-of-Distribution Scenarios: TORSO's effectiveness is primarily grounded in previously learned knowledge. It may struggle with reasoning over newly emerging information or tasks that are significantly outside its training distribution or extremely difficult.
  • Explicitly Trained Reasoning Models: Models that are explicitly trained for reasoning using fixed templates might not see performance gains when subjected to TORSO, suggesting potential interactions or limitations when combining different reasoning induction techniques.
  • Future Work: The authors suggest further investigation into TORSO's limitations in out-of-distribution tasks and exploring semantically related templates beyond <reasoning> + <answer> to potentially further enhance performance.

Summary updated

BibTeX
@inproceedings{kim2025torso,
  author = {Minhyuk Kim and Seungyoon Lee and Heuiseok Lim},
  title = {{TORSO: Template-Oriented Reasoning Towards General Tasks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure