Back to Reinforcement Learning Mind Map
中文·English
🎮 Reinforcement LearningID: mpc

Model Predictive Control (MPC)

MPC 规划 (Model Predictive Control)
🎯Core Definition
MPC (Model Predictive Control) uses a known or learned environment model to plan over a finite horizon HH at every decision step, maximizing cumulative return: J=k=0H1γkr(sk,ak)J = \sum_{k=0}^{H-1} \gamma^k \, r(s_k, a_k)with sk+1Pϕ(sk,ak)s_{k+1} \sim P_\phi(\cdot | s_k, a_k) rolled out by the model. The planner searches an action sequence (a0,,aH1)(a_0, \dots, a_{H-1}) from the current state s0s_0, but executes only the first action and re-plans at the next step — a receding horizon that continuously re-anchors to real observations, resisting model error and disturbances.
📌Overview
Action search: ① Random Shooting — sample KK full action sequences uniformly from the prior, evaluate by JJ, keep the best; simple but sample-inefficient. ② CEM (Cross-Entropy Method) — iterate: sample KK sequences → keep the top-ρ\rho elites by JJ → fit a Gaussian to the elites (update mean/variance) → resample; after several iterations, act on the center action of the final distribution. CEM typically finds better solutions with fewer samples than Random Shooting.
💡Use Cases
continuous control (robotics, autonomous driving, drones), tasks with a cheap simulator or known dynamics; MPC trains no policy — 'planning is the policy' — and can swap reward objectives on the fly.
Key Problems Solved
avoids the huge sampling cost of learning a policy by searching optimal actions online; limits are model error and finite horizon HH — too small HH sees only local gains, too large compounds error, and per-step planning is computationally expensive.
🎯5 High-Frequency Exam Points
1
Write MPC's planning objective and explain the receding horizon and why it matters.
2
How do Random Shooting and CEM search action sequences? CEM's iterative procedure?
3
MPC vs a learned policy (e.g. π from PPO/SAC): pros and cons?
4
How do model error and finite horizon H affect MPC? What if H is too small?
5
Typical MPC usage in robotics/autonomous driving (trajectory optimization + closed-loop replanning)?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Model Predictive Control (MPC)"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardDyna Architecture (Dyna-Q)Next CardMuZero Latent Model

🔗 More Reinforcement Learning Knowledge Cards

Actor-CriticBehavioral CloningContextual BanditCoT & Reasoning RL