Introduction
Reinforcement Learning (RL) agents typically learn to interact with environments by estimating a state-action value function, $Q(s, a)$. In discrete settings, this is often represented as a table. However, as the state and action spaces grow, the "curse of dimensionality" makes tabular methods computationally and memory-prohibitive. While Deep RL (e.g., Deep Q-Networks) addresses this via neural network approximation, these models often introduce instability and require significant hyperparameter tuning. This paper proposes a non-parametric alternative: approximating the $Q$-matrix using low-rank matrix factorization.
Methodology
The core proposal is to factorize the $Q$-matrix into two lower-dimensional matrices, $L$ (representing latent state features) and $R$ (representing latent action features), such that $Q \approx LR$. For a system with $D_S$ states and $D_A$ actions, a rank-$M$ approximation reduces the parameter count from $D_S \times D_A$ to $M(D_S + D_A)$.
The authors introduce two online update rules:
- Stochastic Gradient Descent (SGD): Updates the specific row of $L$ and column of $R$ corresponding to the observed transition.
- Stochastic Alternating Least Squares (ALS): Iteratively optimizes one factor while keeping the other fixed, often leading to faster convergence.
To handle high-dimensional state spaces efficiently, the authors employ matrix reshaping. By reshaping a "tall" $Q$-matrix into a more square configuration before factorization, the number of parameters can be further minimized without losing representational capacity.
Experimental Results
The approach was evaluated on three OpenAI Gym benchmarks: FrozenLake-v0, Pendulum-v0, and Acrobot-v1.
Convergence and Efficiency
In the FrozenLake environment, the low-rank approach (LR-learning) demonstrated significantly faster convergence to the optimal policy compared to standard Q-learning. As shown in the SFE (State-action Function Error) plots, the low-rank method reaches stability in fewer episodes across various exploration rates ($\epsilon$).
For the Pendulum task, the low-rank model achieved superior performance with far fewer parameters. Specifically, a model with 6,486 parameters outperformed a high-resolution tabular model requiring over 86,000 parameters. This highlights the method's ability to generalize across states and actions through shared latent features.
Comparison with Deep RL
On the Acrobot benchmark, the low-rank method was compared against Deep Q-Networks (DQN). The proposed method converged faster than a "light" DQN and remained competitive with a full DQN implementation. Notably, the low-rank approach does not require an experience replay buffer, making it more memory-efficient during the training process.
Conclusion and Future Work
Low-rank approximation offers a middle ground between tabular methods and deep learning, providing stability, efficiency, and faster generalization. By updating entire rows or columns of the factorized matrices, the agent propagates local experience globally across the state-action space. Future research directions include the use of nuclear-norm regularization for automated rank selection and extending the matrix factorization framework to higher-order tensor decompositions for multi-dimensional state variables.
Summary updated