Solving Finite-Horizon MDPs via Low-Rank Tensors

Sergio Rozada, Jose Luis Orejuela, Antonio G. MarquesarXiv 2025 · DOI

Introduction

In Reinforcement Learning (RL), agents learn to make sequences of decisions to maximize cumulative rewards. Many critical real-world applications—such as battery management or wireless data transmission—operate over a finite horizon, where the optimal action depends heavily on the remaining time. This non-stationarity leads to a "Value Function" that must be calculated for every possible state, action, and time step. As the number of state variables or the time horizon grows, the parameter count explodes—a challenge known as the curse of dimensionality.

This paper introduces a novel approach to solve these complex, time-limited decision-making problems by modeling their value functions as low-rank tensors. By leveraging PARAFAC decomposition, the authors reduce parameter scaling from exponential to linear, enabling faster learning and lower memory requirements than standard deep reinforcement learning methods.

Methodology

The core innovation lies in treating the Value Function (VF) as a multi-dimensional tensor, where dimensions represent state variables, actions, and the time index.

  1. Low-Rank PARAFAC Decomposition: Instead of a massive tabular representation, the VF is modeled using the PARAFAC model, which represents a complex tensor as a sum of simpler, rank-1 components. This drastically reduces the parameter space.
  2. Optimization Framework: The classic Bellman Equations are reformulated into an optimization problem that minimizes "Bellman Error" under low-rank constraints.
  3. Algorithms: The authors propose several algorithms, including Block Coordinate Descent (BCD) for model-based scenarios and stochastic versions like S-BCGD and BCTD for model-free scenarios where the agent learns from experience.

Experimental Evaluation

The researchers evaluated their approach across three distinct environments:

  • Synthetic Grid-World: A 5x5 grid used to verify theoretical convergence and the existence of low-rank structures in value functions.
  • Wireless Communication: A resource allocation problem with a 9-dimensional tensor containing 16 million potential entries.
  • Battery Charging: A system balancing renewable energy and grid costs, featuring a 7-dimensional tensor with 10 million entries.
Evolution of the learned policy and expected return in a 5x5 Grid-World environment across different stages (a-d).

Key Insights and Results

Empirical Low-Rankness

A pivotal finding is that optimal value functions for many classical MDPs are naturally low-rank. In the grid-world experiments, the authors demonstrated that a significantly reduced rank could capture nearly all the "energy" of the full value function tensor, justifying the low-rank assumption.

Normalized Frobenius Error (NFE) vs. Tensor Rank in the Grid-World environment, demonstrating that low-rank approximations effectively capture the value function.

Efficiency and Performance

  • Linear Scaling: By enforcing low-rank structure, the problem complexity scales linearly with the number of dimensions, making high-dimensional problems tractable.
  • Sample Efficiency: Because the model has fewer parameters, it requires significantly fewer episodes to reach an optimal policy compared to standard Deep Q-Networks (DQN).
  • Parameter Efficiency: In the wireless transmission task, a rank-15 model achieved optimal performance using less than half the parameters of a full table, outperforming deep RL baselines.

Conclusion and Future Work

This tensor-based approach provides a mathematically grounded and efficient alternative to neural networks for finite-horizon MDPs. While highly effective, the method currently requires manual tuning of the tensor rank ($K$). Future research may explore "hybrid" models that combine the feature extraction capabilities of neural networks with the efficiency of low-rank tensor layers, as well as extensions to fully continuous state and action spaces.

Summary updated

BibTeX
@misc{rozada2025solving,
  author = {Sergio Rozada and Jose Luis Orejuela and Antonio G. Marques},
  title = {{Solving Finite-Horizon MDPs via Low-Rank Tensors}},
  year = {2025},
  eprint = {2501.10598},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.10598},
}
Figure