Learn to Think: Bootstrapping LLM Reasoning Capability Through Graph Representation Learning
Hang Gao, Chenhao Zhang, Tie Wang, Junsuo Zhao, Fengge Wu, Changwen Zheng, Huaping Liu
TL;DR
Learn to Think (L2T) introduces a graph-based framework to enable adaptive reasoning in LLMs without task-specific prompts or fine-tuning. By representing the reasoning process as a graph and applying a lightweight GNN to select reasoning modes, L2T achieves real-time adjustments to both prompts and Strategy via reinforcement learning (PPO). The approach demonstrates strong gains across Sudoku, Game of 24, TruthQuest, and Creative Writing tasks, with efficiency advantages and reduced reliance on handcrafted prompts. These results suggest a scalable path toward generalizable, robust LLM reasoning across diverse problem domains.
Abstract
Large Language Models (LLMs) have achieved remarkable success across various domains. However, they still face significant challenges, including high computational costs for training and limitations in solving complex reasoning problems. Although existing methods have extended the reasoning capabilities of LLMs through structured paradigms, these approaches often rely on task-specific prompts and predefined reasoning processes, which constrain their flexibility and generalizability. To address these limitations, we propose a novel framework that leverages graph learning to enable more flexible and adaptive reasoning capabilities for LLMs. Specifically, this approach models the reasoning process of a problem as a graph and employs LLM-based graph learning to guide the adaptive generation of each reasoning step. To further enhance the adaptability of the model, we introduce a Graph Neural Network (GNN) module to perform representation learning on the generated reasoning process, enabling real-time adjustments to both the model and the prompt. Experimental results demonstrate that this method significantly improves reasoning performance across multiple tasks without requiring additional training or task-specific prompt design. Code can be found in https://github.com/zch65458525/L2T.
