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

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 inefficient.NL plans are also tailored to specific tasks and restrict agents' ability to generalize across similar tasks.To this end, we explore pseudocode-style plans (P-code Plan) to capture the structural logic of reasoning.We find that P-code Plan empowers LLM agents with stronger generalization ability and more efficiency.Inspired by this finding, we propose a pseudocode-style Planning Guided Preference Optimization method called PGPO for effective agent learning.With two planning-oriented rewards, PGPO further enhances LLM agents' ability to generate high-quality P-code Plans and subsequent reasoning.Experiments show that PGPO achieves superior performance on representative agent benchmarks and outperforms the current leading baselines.Analyses reveal the advantage of PGPO in reducing action errors and omissions during reasoning. 1

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.774
Primary Topic
AI-based Problem Solving and Planning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Xinbei Ma, Hai Zhao, Bo Zheng, Xiaoyong Zhu et al.
AI-based Problem Solving and Planning
article

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

Xinbei Ma, Hai Zhao, Bo Zheng, Xiaoyong Zhu, Yifei Yang, Zouying Cao, Runze Wang
article en

Abstract

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 inefficient.NL plans are also tailored to specific tasks and restrict agents' ability to generalize across similar tasks.To this end, we explore pseudocode-style plans (P-code Plan) to capture the structural logic of reasoning.We find that P-code Plan empowers LLM agents with stronger generalization ability and more efficiency.Inspired by this finding, we propose a pseudocode-style Planning Guided Preference Optimization method called PGPO for effective agent learning.With two planning-oriented rewards, PGPO further enhances LLM agents' ability to generate high-quality P-code Plans and subsequent reasoning.Experiments show that PGPO achieves superior performance on representative agent benchmarks and outperforms the current leading baselines.Analyses reveal the advantage of PGPO in reducing action errors and omissions during reasoning. 1

Climate action
Openalex Percentile: Top 90%
AI-based Problem Solving and Planning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

PGPO: Enhancing Agent Reasoning via Pseudocode-style Planning Guided Preference Optimization — Xinbei Ma, Hai Zhao, et al. · (2025) | TGRS Research Map | TGRS