paper-with-me

홈 › Papers

PseudoAct: Leveraging Pseudocode Synthesis for Flexible Planning and Action Control in Large Language Model Agents

2026-02-27 · Yihan, Wen, Xin Chen arxiv

Large language model (LLM) agents typically rely on reactive decision-making paradigms such as ReAct, selecting actions conditioned on growing execution histories. While effective for short tasks, these approaches often lead to redundant tool usage, unstable reasoning, and high token consumption in complex long-horizon tasks involving branching, iteration, or multi-tool coordination. To address these limitations, this paper introduces PseudoAct, a novel framework for flexible planning and action control in LLM agents through pseudocode synthesis. Leveraging the ability of LLMs to express task-solving strategies as code, PseudoAct synthesizes a structured pseudocode plan that decomposes a task into subtasks and explicitly encodes control flow, including sequencing, conditionals, loops, parallel composition, and combinations of these logic primitives. Actions are then executed by following this global plan, making the decision logic explicit and temporally coherent. This design reduces redundant actions, prevents infinite loops, and avoids uninformative alternative exploration, enabling consistent and efficient long-horizon decision-making. Experiments on benchmark datasets show that our method significantly outperforms existing reactive agent approaches, achieving a 20.93% absolute gain in success rate on FEVER and setting a new state-of-the-art on HotpotQA.

📄 PDF Abstract BibTeX arXiv:2602.23668

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

BioPlanner: Automatic Evaluation of LLMs on Protocol Planning in Biology

2023-10-16 · Odhran O'Donoghue, Aleksandar Shtedritski, John Ginger, Ralph Abboud 외

The ability to automatically generate accurate protocols for scientific experiments would represent a major step towards the automation of science. Large Language Models (LLMs) have impressive capabilities on a wide rang…

Language ModellingQuestion Answering

SPoC: Search-based Pseudocode to Code

2019-06-12 · NeurIPS 2019 12 · Sumith Kulal, Panupong Pasupat, Kartik Chandra, Mina Lee 외

We consider the task of mapping pseudocode to long programs that are functionally correct. Given test cases as a mechanism to validate programs, we search over the space of possible translations of the pseudocode to find…

Program SynthesisTranslation

PGPO: Enhancing Agent Reasoning via Pseudocode-style Planning Guided Preference Optimization

2025-06-02 · Zouying Cao, Runze Wang, Yifei Yang, Xinbei Ma 외

Large Language Model (LLM) agents have demonstrated impressive capabilities in handling complex interactive problems. Existing LLM agents mainly generate natural language plans to guide reasoning, which is verbose and in…

Language ModelingLanguage ModellingLarge Language Model

Converting Epics/Stories into Pseudocode using Transformers

2023-12-08 · Gaurav Kolhatkar, Akshit Madan, Nidhi Kowtal, Satyajit Roy 외

The conversion of user epics or stories into their appropriate representation in pseudocode or code is a time-consuming task, which can take up a large portion of the time in an industrial project. With this research pap…

Machine Translation

Pseudocode-Guided Structured Reasoning for Automating Reliable Inference in Vision-Language Models

2026-05-19 · Weicong Ni, Tianbao Jiang, Linlin Wang arxiv

Vision-Language Models (VLMs) are becoming the cornerstone of high-level reasoning for robotic automation, enabling robots to parse natural language commands and perceive their environments. However, their susceptibility…