Abstract
Large Language Models (LLMs) were shown to struggle with long-term planning, which may be caused by the limited way in which they explore the space of possible solutions. We propose an architecture where a Reinforcement Learning (RL) Agent guides an LLM's space exploration: (1) the Agent has access to domain-specific information, and can therefore make decisions about the quality of candidate solutions based on specific and relevant metrics, which were not explicitly considered by the LLM's training objective; (2) the LLM can focus on generating immediate next steps, without the need for long-term planning. We allow non-linear reasoning by exploring alternative paths and backtracking. We evaluate this architecture on the program equivalence task, and compare it against Chain of Thought (CoT) and Tree of Thoughts (ToT). We assess both the downstream task, denoting the binary classification, and the intermediate reasoning steps. Our approach compares positively against CoT and ToT.
| Original language | English |
|---|---|
| Title of host publication | FSE '25 |
| Subtitle of host publication | ACM International Conference on the Foundations of Software Engineering (FSE) |
| Publisher | Association for Computing Machinery |
| Pages | 957-977 |
| Number of pages | 21 |
| DOIs | |
| Publication status | Published - 1 Jul 2025 |
| Event | The ACM International Conference on the Foundations of Software Engineering (FSE) 2025 - Trondheim, Norway Duration: 23 Jul 2025 → 27 Jul 2025 https://conf.researchr.org/home/fse-2025 |
Publication series
| Name | Proceedings of the ACM on Software Engineering |
|---|---|
| Publisher | ACM |
| Number | FSE |
| Volume | 2 |
| ISSN (Electronic) | 2994-970X |
Conference
| Conference | The ACM International Conference on the Foundations of Software Engineering (FSE) 2025 |
|---|---|
| Abbreviated title | FSE 2025 |
| Country/Territory | Norway |
| City | Trondheim |
| Period | 23/07/25 → 27/07/25 |
| Internet address |
Fingerprint
Dive into the research topics of 'Integrating Large Language Models and Reinforcement Learning for Non-Linear Reasoning'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver