Learning to Reason from Feedback at Test-Time

Yanyang Li, Michael Lyu, Liwei Wang
2/16/2025
cs.LGcs.AIcs.CL

No official code found. Best implementation: LaVi-Lab/FTTT (13 stars, MIT, last commit 2025-05-16).

Abstract

Solving complex tasks in a single attempt is challenging for large language models (LLMs). Iterative interaction with the environment and feedback is often required to achieve success, making effective feedback utilization a critical topic. Existing approaches either struggle with length generalization or rely on naive retries without leveraging prior information. In this paper, we introduce FTTT, a novel paradigm that formulates feedback utilization as an optimization problem at test time. Additionally, we propose a learnable test-time optimizer, OpTune, to effectively exploit feedback. Experiments on two LLMs across four reasoning datasets demonstrate that FTTT and OpTune achieve superior scalability and performance.

View on arXivView PDF

Code Implementations(1)

LaVi-Lab/FTTTCommunity100%
MIT

[ACL 2025] Official code for ''Learning to Reason from Feedback at Test-Time''.

130Shell, PythonFeb 12, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2025learning,
  title  = {Learning to Reason from Feedback at Test-Time},
  author = {Yanyang Li and Michael Lyu and Liwei Wang},
  year   = {2025},
  eprint = {2502.15771},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.15771v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.15771.svg)](https://codeofpaper.com/paper/2502.15771)

Discussion