Fast-Slow-Thinking: Complex Task Solving with Large Language Models

Yiliu Sun, Yanfang Zhang, Zicheng Zhao, Sheng Wan, Dacheng Tao, Chen GongarXiv 2025

Abstract

Nowadays, Large Language Models (LLMs) have been gradually employed to solve complex tasks. To face the challenge, task decomposition has become an effective way, which proposes to divide a complex task into multiple simpler subtasks and then solve them separately so that the difficulty of the original task can be reduced. However, the performance of existing task decomposition methods can be suboptimal when the task contains overly complex logic and constraints. In this situation, the solution generated by LLMs may deviate from the original purpose of the task, or contain redundant or even erroneous content. Therefore, inspired by the fact that humans possess two thinking systems including fast thinking and slow thinking, this paper introduces a new task decomposition method termed "Fast-Slow-Thinking" (FST), which stimulates LLMs to solve tasks through the cooperation of Fast Thinking (FT) and Slow Thinking (ST) steps. Here FT focuses more on the general and concise aspect of the task, and ST focuses more on the details of the task. In FT, LLMs are prompted to remove the constraints of the original task, therefore simplifying it to a general and concise one. In ST, we recall the constraints removed in FT, so that LLMs can improve the answer generated in FT to meet the requirements of the original task. Therefore, our FST method enables LLMs to consider a complex problem via a human-like cognition process from coarse to fine, the effectiveness of which has been well demonstrated by the experiments on three types of tasks.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable capabilities, they often struggle when faced with tasks involving complex logic and numerous overlapping constraints. For instance, when asked to write a coherent story incorporating 30 specific, unrelated words, models frequently produce logical inconsistencies or omit several required terms.

Existing solutions like Chain-of-Thought (CoT) or Step-Back Prompting attempt to solve this via decomposition, but they typically encourage the model to focus primarily on deliberate, step-by-step reasoning from the outset. This often causes models to "lose the forest for the trees"—becoming so bogged down in minute details that they lose the overall purpose or common-sense logic of the task. The Fast-Slow-Thinking (FST) framework addresses this by mimicking human dual-process theory to establish a logical foundation before tackling granular constraints.

The Fast-Slow-Thinking Framework

The FST method employs a three-step pipeline designed to shift the focus from abstracting principles to simplifying specific task instances:

  1. Fast Thinking (FT): The LLM is prompted to simplify the task by stripping away complex constraints. It identifies a general, concise version of the goal and generates a "skeleton" solution. This ensures the model establishes a logically sound foundation within its core training distribution.
  2. Slow Thinking (ST): The model "recalls" the constraints removed in the first step. Using the FT skeleton as a guide, it refines the solution to meet all original requirements. This coarse-to-fine approach ensures details are grounded in a coherent global structure.
  3. Output Inspection (OI): A final verification step where the model reviews its work against the original prompt to correct lingering errors or missed constraints.
The FST workflow: Step 1 (Fast Thinking) simplifies the task, Step 2 (Slow Thinking) re-integrates constraints, and Step 3 (Output Inspection) verifies the final result.

Experimental Evaluation

The researchers evaluated FST across three distinct domains: math reasoning (GSM8K, MMLU-pro), long-content answering (LongBench, ASAP), and constrained story generation (CommonGen-Hard).

FST consistently outperformed established baselines. In math tasks (MMLU-pro), FST increased Result Accuracy by up to 13.85% over base models. In the ASAP essay scoring task, it achieved a maximal Quadratic Weighted Kappa (QWK) score of 0.679. For story generation, FST increased the "All Present Rate" (the percentage of stories containing every required word) by up to 10%.

Comparison of FST against other prompting methods on a complex story generation task requiring 20+ specific keywords. FST maintains superior logic and keyword inclusion.

Key Insights and Ideas

  • Logical Anchoring: The Fast Thinking step acts as a "logical anchor." By committing to a general solution path early, the model is less likely to hallucinate or drift into nonsense when attempting to satisfy multiple constraints simultaneously.
  • Efficiency: Unlike methods like DynaThink, which require numerous model calls for voting, FST achieves superior results with just three targeted calls (FT, ST, and OI).
  • Stability: The method proved robust even when prompts were intentionally disturbed with typos or synonyms, maintaining stable performance across variations.

Conclusion

Fast-Slow-Thinking provides a human-like cognitive architecture for LLMs, allowing them to tackle complex problems by first grasping the big picture and then systematically integrating details. While the current Output Inspection step uses general prompts, future work may involve task-specific verifiers or fine-tuning models to adopt this "Fast-then-Slow" process natively. FST represents a significant step toward reducing logical errors and hallucinations in highly constrained AI tasks.

Summary updated

BibTeX
@misc{sun2025fast,
  author = {Yiliu Sun and Yanfang Zhang and Zicheng Zhao and Sheng Wan and Dacheng Tao and Chen Gong},
  title = {{Fast-Slow-Thinking: Complex Task Solving with Large Language Models}},
  year = {2025},
  eprint = {2504.08690},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.08690},
}
Figure