DeepTravel: An End-to-End Agentic Reinforcement Learning Framework for Autonomous Travel Planning Agents

Yansong Ning, Rui Liu, Jun Wang, kevinchenkai, Wei Li, Jun Fang, Zheng Kan, Naiqiang Tan, Hao Liu · Submission to ICLR 2026 · Rejected

TL;DR

DeepTravel is an end-to-end agentic reinforcement learning (RL) framework designed to train autonomous travel planning agents that can dynamically plan, invoke tools, and self-correct across multi-turn interactions. By pairing a cached API sandbox with a two-tiered hierarchical reward model and an experience-replay RL loop, the authors enable smaller models (like Qwen3-8B and 32B) to outperform frontier reasoning models (including DeepSeek-R1 and OpenAI-o1/o3) on both synthetic benchmarks and real-world production queries from the DiDi Enterprise Solutions App.

What Problem Does This Paper Address?

Traditional LLM-based travel planning systems typically rely on rigid, prompt-engineered pipelines or hand-crafted workflows (e.g., rigid "search $\rightarrow$ filter $\rightarrow$ itinerary" stages). These struggle when handling edge cases, recovering from failed tool executions, or adapting to personalized user constraints.

Applying agentic RL—which has flourished in closed-form domains like math and coding—to travel planning introduces two major hurdles:

  1. Dynamic & Unstable Environments: Live travel APIs (flights, hotels, transit) have strict rate limits (QPS) and constantly fluctuating prices and inventory, making reproducible trial-and-error training impossible.
  2. Open-Endedness & Lack of Ground Truth: Unlike code or math with deterministic compilers and unit tests (RLVR), travel itineraries have no single ground truth. Verifying multi-constraint spatio-temporal feasibility and ensuring factual grounding against real tool outputs is notoriously difficult at scale.

Methods

DeepTravel tackles these challenges through three coordinated components:

  1. Robust Caching Sandbox: The authors mirror six core travel tools (flight search, train search, hotel booking, route planning, POI search, and web search) by ingesting live data from DiDi ES, DiDi Map, and Bocha AI into an on-demand, daily-refreshed cache. This removes real-world API rate limits and output churn, allowing the agent to repeatedly explore and learn from failed trajectories.
  2. Hierarchical Reward Modeling:
  3. Trajectory-Level Verifier: Checks coarse-grained spatio-temporal feasibility (e.g., logical sequencing, travel duration budgets, and closed loops). If an itinerary fails here, reward is immediately set to 0, saving compute.
  4. Turn-Level Verifier: If the plan passes trajectory checks, an LLM judge (prompted DeepSeek-R1) inspects every tool call turn-by-turn to verify that information in the final answer is factually grounded in the tool observations. The plan receives a reward of 1 only if all turns are valid.
  5. Replay-Augmented Reinforcement Learning:
  6. Cold-Start SFT: The base model is fine-tuned on ~1K verified reasoning traces distilled from DeepSeek-R1 with observation tokens masked out.
  7. RL with Experience Replay: Using Group Relative Policy Optimization (GRPO), failed rollouts are saved to a replay buffer $B$ and periodically reintroduced into training. This prevents catastrophic forgetting on difficult queries. Samples with reward standard deviation $\le 0.1$ are filtered out to avoid wasting updates on trivial or impossible prompts.
+-------------+      Query       +-------------------+
| User Query  | ---------------> |  TP Agent (LLM)   | <---+ (Replay Buffer)
+-------------+                  +-------------------+     |
                                    |         ^            |
                        Tool Calls  |         | Tool Obs.  |
                                    v         |            |
                                 +---------------+         |
                                 | Mock Sandbox  |         |
                                 +---------------+         |
                                    |                      |
                            Final   | Trajectory           |
                            Answer  v                      |
                         +----------------------+          |
                         | Trajectory Verifier  | (Feasible?)
                         +----------------------+          |
                                    | Yes                  |
                                    v                      |
                         +----------------------+          |
                         | Turn-Level Verifier  | (Grounded?)
                         +----------------------+          |
                                    |                      |
                                    +--- Joint Reward -----+

Datasets

The authors evaluate DeepTravel across four benchmarks:

  • Offline Synthetic Datasets: 1,000 synthesized user queries split evenly between constrained (budget limits, explicit preferences) and unconstrained settings, categorized by difficulty (easy, medium, hard).
  • Online Production Dataset: 6,224 real-world business queries sampled over three months from DiDi’s Enterprise Solutions App.
  • Human Evaluation Set: 50 randomly sampled real user queries annotated along seven quality dimensions: intent understanding, completeness, feasibility, affordability, clarity, personalization, and factual accuracy.

Key Insights and Ideas

  • Agentic RL Exhibits Non-Monotonic Entropy: Unlike standard RL where policy entropy decays steadily, agentic RL models maintain or fluctuate in entropy because the agent must continually adjust to diverse and dynamic environment responses.
  • RL Slashes Hallucination Where SFT Plateaus: While cold-start SFT establishes reasoning formatting and basic tool-calling mechanics, it still suffers from factual hallucination rates up to 50%. Agentic RL fine-grained verification drives factual hallucinations down below 20%.
  • Turn-Level Credit Assignment is Critical for Hard Tasks: Ablations show that removing turn-level verification causes a massive drop on complex, constrained tasks (from 21.40% to 10.76% pass rate on hard offline tasks), demonstrating that coarse global rewards cannot penalize subtle tool mismatches.

Key Results

  • SOTA Performance with Smaller LLMs: On the online production test, DeepTravel-32B achieved a 62.77% final pass rate, substantially outperforming DeepSeek-R1 (52.89%), OpenAI-o1 (30.88%), and OpenAI-o3 (29.17%).
  • 8B Model Parity: Even the smaller DeepTravel-8B achieved a 49.75% pass rate online, beating both OpenAI frontier reasoning models and closely tracking DeepSeek-R1.
  • Human Study Validation: In human evaluation, DeepTravel-32B achieved an 82.00% pass rate, compared to DeepSeek-R1 at 72.00% and OpenAI-o1 at 54.00%.
  • Superiority Over Standard RL: When compared on Qwen3-8B, DeepTravel surpassed PPO, GRPO, and DAPO across all settings, primarily due to the experience replay mechanism salvaging hard, failed trajectories.

Limitations and Future Work

  • Reward Model Scalability & Extensibility: The verification pipeline relies heavily on human-crafted domain rubrics and an external LLM judge (DeepSeek-R1), which creates latency bottlenecks during training and may constrain transferability to other domains.
  • Proprietary Integration: The sandbox depends on proprietary DiDi API schemas and real-time transit infrastructures, preventing direct, unified open-source release of the complete environment.
  • Future Directions: The authors plan to develop more flexible, generalized reward models that do not rely on fixed rubrics and extend the replay-augmented agentic RL framework beyond travel planning.

Summary updated

Abstract

Travel planning (TP) agent has recently worked as an emerging building block to interact with external tools/resources for travel itinerary generation, ensuring enjoyable user experience. Despite its benefits, existing studies rely on hand-craft prompt and fixed agent workflow, hindering more flexible and autonomous TP agent. This paper proposes DeepTravel, an end-to-end agentic reinforcement learning framework for building autonomous travel planning agent, capable of autonomously planning, executing tools, and reflecting on tool responses to explore, verify, and refine intermediate actions in multi-step reasoning. To achieve this, we first construct a robust sandbox environment by caching transportation, accommodation and POI data, facilitating TP agent training without being constrained by real‑world APIs limitations (e.g., inconsistent outputs). Moreover, we develop a hierarchical reward modeling system, where a trajectory‑level verifier first checks spatiotemporal feasibility and filters unsatisfied travel itinerary, and then the turn‑level verifier further validate itinerary's detail consistency with tool responses, enabling efficient and precise reward service. Finally, we propose the reply-augmented reinforcement learning method that enables TP agent to periodically replay from a failures experience buffer, emerging notable agentic capacity. We deploy trained TP agent on DiDi Enterprise Solutions App and conduct comprehensive online and offline evaluations, demonstrating that DeepTravel enables small-size LLMs (e.g., Qwen3-32B) to significantly outperform existing frontier LLMs such as OpenAI-o1/o3 and DeepSeek-R1 in travel planning tasks.
BibTeX
@misc{ning2025deeptravel,
  author = {Yansong Ning and Rui Liu and Jun Wang and kevinchenkai and Wei Li and Jun Fang and Zheng Kan and Naiqiang Tan and Hao Liu},
  title = {{DeepTravel: An End-to-End Agentic Reinforcement Learning Framework for Autonomous Travel Planning Agents}},
  year = {2025},
  eprint = {2509.21842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21842},
}
Figure