2024

StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows

Wu, Yiran, Yue, Tianwei, Zhang, Shaokun et al.

Understand

It is a notable trend to use Large Language Models (LLMs) to tackle complex tasks, e.g., tasks that require a sequence of actions and dynamic interaction with tools and external environments.

  • In this paper, we propose StateFlow, a novel LLM-based task-solving paradigm that conceptualizes complex task-solving processes as state machines.
  • In StateFlow, we distinguish between "process grounding" (via state and state transitions) and "sub-task solving" (through actions within a state), enhancing control and interpretability of the task-solving procedure.
  • A state represents the status of a running process.

Reading the bibliography…