[Paper Review] Unified Reinforcement Q-Learning for Mean Field Game and Control Problems
This paper proposes a unified two-timescale reinforcement learning algorithm, U2-MF-QL, that simultaneously learns solutions to both Mean Field Game (MFG) and Mean Field Control (MFC) problems in discrete time and space. By tuning the ratio of two learning rates, the same algorithm adapts to learn either the non-cooperative MFG equilibrium or the cooperative MFC optimum, achieving convergence to theoretical benchmarks in linear-quadratic settings with model-free estimation of the population distribution.
We present a Reinforcement Learning (RL) algorithm to solve infinite horizon asymptotic Mean Field Game (MFG) and Mean Field Control (MFC) problems. Our approach can be described as a unified two-timescale Mean Field Q-learning: The \emph{same} algorithm can learn either the MFG or the MFC solution by simply tuning the ratio of two learning parameters. The algorithm is in discrete time and space where the agent not only provides an action to the environment but also a distribution of the state in order to take into account the mean field feature of the problem. Importantly, we assume that the agent can not observe the population's distribution and needs to estimate it in a model-free manner. The asymptotic MFG and MFC problems are also presented in continuous time and space, and compared with classical (non-asymptotic or stationary) MFG and MFC problems. They lead to explicit solutions in the linear-quadratic (LQ) case that are used as benchmarks for the results of our algorithm.
Motivation & Objective
- To develop a single reinforcement learning algorithm that can solve both Mean Field Game (MFG) and Mean Field Control (MFC) problems without architectural changes.
- To enable model-free learning of the population distribution in MFG/MFC settings where the agent cannot directly observe the mean field.
- To unify MFG and MFC learning under a common framework using a two-timescale stochastic approximation approach.
- To validate the algorithm’s convergence and accuracy through numerical experiments on benchmark linear-quadratic problems.
- To provide a practical stopping criterion based on incremental changes in Q-values and empirical distribution.
Proposed method
- The algorithm uses a two-timescale stochastic approximation framework, with separate learning rates for the Q-function (fast timescale) and the empirical distribution (slow timescale).
- It extends classical Q-learning by incorporating a distributional action input, where the agent selects both an action and a distribution of states to reflect mean field interactions.
- The action-value function is redefined to embed the mean field effect, with the Q-function representing expected discounted reward under a joint state-action distribution.
- The algorithm employs an $ε$-greedy policy during training, with deterministic controls emerging as $ε \to 0$.
- The learning process estimates the ergodic distribution of states via online updates, using a slow timescale to track the long-run empirical distribution.
- A stopping criterion is implemented based on total variation of the distribution and $L^{1,1}$-norm of Q-value changes across episodes.
Experimental results
Research questions
- RQ1Can a single reinforcement learning algorithm learn both Mean Field Game and Mean Field Control solutions by adjusting only the ratio of two learning rates?
- RQ2How does the algorithm perform in learning the optimal control and ergodic distribution when the population distribution is unobserved and must be estimated online?
- RQ3What is the convergence behavior of the algorithm in the linear-quadratic benchmark case, and how does it compare to theoretical solutions?
- RQ4How do different learning rate ratios affect the stability and convergence speed of the algorithm in MFG versus MFC settings?
- RQ5Can the algorithm’s stopping criterion be effectively calibrated using incremental changes in Q-values and distribution estimates?
Key findings
- The U2-MF-QL algorithm successfully learns the optimal control and ergodic distribution for both MFG and MFC problems using the same architecture and only tuning the ratio of two learning rates.
- For the linear-quadratic benchmark, the algorithm converges to the theoretical solution with a mean squared error (MSE) on the control below 0.01 after 100,000 episodes in both MFG and MFC cases.
- In MFG settings, the error in estimating the ergodic mean decreases steadily with more episodes, while in MFC settings, a faster but oscillatory convergence is observed due to the slower update of the distribution.
- The algorithm’s stopping criterion, based on total variation of the distribution and $L^{1,1}$-norm of Q-value changes, effectively detects convergence, with both metrics decreasing monotonically over time.
- The choice of $(\omega^{Q}, \omega^{\mu}) = (0.55, 0.85)$ leads to MFG solution learning, while $(0.65, 0.15)$ yields MFC solution learning, confirming the unification via learning rate tuning.
- Empirical results show that the learned Q-values and controls closely match the theoretical solutions, with the value function approximation error remaining below 0.02 in the tested range of states.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.