Manuscript Offprint

arXiv:2608.23204

Guided Riemannian Optimization (GuRO): Bridging Model Predictive Control and Decision Transformers

Hossein Abdi, Satya Prakash Dash, Mingfei Sun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Hossein Abdi, Satya Prakash Dash, and Mingfei Sun

Abstract—Decision-making in high-dimensional, nonlinear systems remains a central challenge in robotics. While model-based methods like Model Predictive Control (MPC) offer sample efficiency and interpretability, their performance degrades when the dynamics model is inaccurate or long-horizon predictions are required. Conversely, model-free reinforcement learning (RL) learns policies directly from interaction but suffers from high sample complexity and unstable optimization. Recent advances in sequence modeling have inspired transformer-based decision-making frameworks that can unify MPC and RL, but their training typically faces significant optimization challenges due to highly non-convex loss landscapes. In this work, we propose a novel framework that integrates MPC with RL in a sequence decision-making framework and leverages a curvature-aware optimization to efficiently tackle non-convex loss landscapes. MPC provides predictions of locally optimal trajectories that guide the decision transformer, removing the need for extensive offline pretraining. To address the slow and unstable convergence of traditional optimizers, we train the policy in a Riemannian parameter space using an efficient Riemannian (curvature-aware) method, leading to faster and more robust optimization. We evaluate our framework on high-dimensional quadruped control tasks and demonstrate consistent improvements over strong baselines, including TRPO, SAC, and Online Decision Transformer, achieving higher returns and faster convergence.

I. INTRODUCTION

Robotic decision-making with high-dimensional and nonlinear dynamics—such as quadruped locomotion—remains a fundamental and challenging problem in robotics. While two dominant paradigms, namely model-based control such as Model Predictive Control (MPC) [1] and model-free Reinforcement Learning (RL) [2], have each achieved impressive milestones, both have critical limitations. Model-based MPC is widely adopted for its interpretability and sample efficiency, particularly when an accurate dynamics model is available [3]. However, the performance degrades when the underlying model is inaccurate and only locally reliable. Moreover, MPC often struggles in tasks that require capturing long-horizon prediction, especially when the approximation of the terminal cost is inaccurate—a scenario commonly observed in complex robotic systems [4], [5]. Model-free RL, on the contrary, is inherently model-agnostic and can learn complex, high-dimensional policies directly from data through interaction with the environment. However, these methods typically suffer from high sample complexity and unstable optimization dynamics [2]. These limitations motivate the search for policies that can take advantage of both the strengths of model-based reasoning and model-free learning [6].

In recent years, motivated by the successes of natural language processing and computer vision, sequence modeling [7] has been increasingly integrated into both MPC [8] and RL frameworks [9]. This paradigm offers a modern and unified framework for leveraging the complementary strengths of RL and MPC, particularly in high-dimensional robotic systems performing complex tasks that often involve long-term temporal dependencies—scenarios in which conventional methods often face significant limitations. Sequence decision-making approaches, such as Decision Transformer (DT) [9] or Trajectory Transformer (TT) [10], formulate policy learning as a sequence modeling problem. Although promising, challenges remain as open research areas in transformer-based policy learning.

Sequence decision-making networks are typically trained on offline datasets, as in offline reinforcement learning. Even approaches designed for online adaptation—such as Online Decision Transformer [11]—still rely on extensive pretraining with large offline datasets. This is mainly because purely online training faces non-stationary data distributions, which can destabilize learning and reduce policy performance. Integrating MPC with RL within the sequence modeling framework addresses these challenges by generating locally near-optimal trajectories that guide Decision Transformer learning, thereby mitigating instability from distributional shifts and reducing the need for real-environment interactions, which improves sample efficiency.

Furthermore, training these large transformer-based architectures involves solving a highly non-convex optimization problem, which is often characterized by sharp critical points and complex curvature in the loss manifold. In practice, this problem is typically addressed using standard gradient-based optimization algorithms, such as classical stochastic gradient descent (SGD), Adam [12], and their variants. However, a key limitation of these methods is that they fail to account for the intrinsic geometry of the loss manifold, including its curvature. Consequently, these optimizers frequently exhibit slow convergence, high sensitivity to hyperparameter settings, and can produce suboptimal updates or unstable, oscillatory behavior, particularly when hyperparameters are poorly tuned. Moreover, the slower convergence rate increases the sample complexity, as more interactions with the environment are required to achieve comparable performance.

Curvature-aware optimization algorithms, including both Riemannian methods and Euclidean second-order ap-

All authors are with the Department of Computer Science, The University of Manchester, Manchester, UK.

Correspondence: hossein.abdi@manchester.ac.uk proaches, overcome this limitation by exploiting curvature information to adapt the update direction to the local geometry of the loss landscape. These algorithms are known to mitigate critical slowdowns in optimization [13] and can achieve faster convergence compared to traditional gradient-based methods [14].

To bridge the aforementioned research gaps, we propose a novel approach for policy learning while integrating the model-based MPC with model-free RL. Particularly, our key contributions are as follows:

• Integrating model-based MPC with model-free RL within a sequence decision-making framework. MPC provides real-time, locally optimal, predicted trajectories that enable the training of a decision transformer without requiring offline pretraining.

• Employing a Riemannian optimization approach to capture the intrinsic geometry of the loss manifold, which provides fast and stable training of large transformer-based policies.

• Validating the proposed framework on high-dimensional quadruped robots across complex control tasks, and conducting extensive comparisons against strong baselines, including TRPO, SAC, and Online-DT. Evaluation metrics include mean total reward and convergence speed.

References (50)