paper-with-me

홈 › Papers

DOTS: Learning to Reason Dynamically in LLMs via Optimal Reasoning Trajectories Search

2024-10-04 · Murong Yue, Wenlin Yao, Haitao Mi, Dian Yu, Ziyu Yao, Dong Yu

Enhancing the capability of large language models (LLMs) in reasoning has gained significant attention in recent years. Previous studies have demonstrated the effectiveness of various prompting strategies in aiding LLMs in reasoning (called "reasoning actions"), such as step-by-step thinking, reflecting before answering, solving with programs, and their combinations. However, these approaches often applied static, predefined reasoning actions uniformly to all questions, without considering the specific characteristics of each question or the capability of the task-solving LLM. In this paper, we propose DOTS, an approach enabling LLMs to reason dynamically via optimal reasoning trajectory search, tailored to the specific characteristics of each question and the inherent capability of the task-solving LLM. Our approach involves three key steps: i) defining atomic reasoning action modules that can be composed into various reasoning action trajectories; ii) searching for the optimal action trajectory for each training question through iterative exploration and evaluation for the specific task-solving LLM; and iii) using the collected optimal trajectories to train an LLM to plan for the reasoning trajectories of unseen questions. In particular, we propose two learning paradigms, i.e., fine-tuning an external LLM as a planner to guide the task-solving LLM, or directly fine-tuning the task-solving LLM with an internalized capability for reasoning actions planning. Our experiments across eight reasoning tasks show that our method consistently outperforms static reasoning techniques and the vanilla instruction tuning approach. Further analysis reveals that our method enables LLMs to adjust their computation based on problem complexity, allocating deeper thinking and reasoning to harder problems.

📄 PDF Abstract BibTeX arXiv:2410.03864

Code (1)

MurongYue/DOTS 공식 구현

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

R-Search: Empowering LLM Reasoning with Search via Multi-Reward Reinforcement Learning

2025-06-04 · Qingfei Zhao, Ruobing Wang, Dingling Xu, Daren Zha 외

Large language models (LLMs) have notably progressed in multi-step and long-chain reasoning. However, extending their reasoning capabilities to encompass deep interactions with search remains a non-trivial challenge, as …

RAG

Prolonged Reasoning Is Not All You Need: Certainty-Based Adaptive Routing for Efficient LLM/MLLM Reasoning

2025-05-21 · Jinghui Lu, Haiyang Yu, Siliang Xu, Shiwei Ran 외

Recent advancements in reasoning have significantly enhanced the capabilities of Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs) across diverse tasks. However, excessive reliance on chain-of-tho…

AllVisual Question Answering (VQA)

CodaRAG: Connecting the Dots with Associativity Inspired by Complementary Learning

2026-04-12 · Cheng-Yen Li, Xuanjun Chen, Claire Lin, Wei-Yu Chen 외 arxiv

Large Language Models (LLMs) struggle with knowledge-intensive tasks due to hallucinations and fragmented reasoning over dispersed information. While Retrieval-Augmented Generation (RAG) grounds generation in external so…

Meta-Reasoner: Dynamic Guidance for Optimized Inference-time Reasoning in Large Language Models

2025-02-27 · Yuan Sui, Yufei He, Tri Cao, Simeng Han 외

Large Language Models (LLMs) increasingly rely on prolonged reasoning chains to solve complex tasks. However, this trial-and-error approach often leads to high computational overhead and error propagation, where early mi…

Mathematical ReasoningMulti-Armed Bandits

Leash: Adaptive Length Penalty and Reward Shaping for Efficient Large Reasoning Model

2025-12-25 · Yanhao Li, Lu Ma, Jiaran Zhang, Lexiang Tang 외 arxiv

Existing approaches typically rely on fixed length penalties, but such penalties are hard to tune and fail to adapt to the evolving reasoning abilities of LLMs, leading to suboptimal trade-offs between accuracy and conci…

Reinforcement LearningMathematical ReasoningInstruction Following