← 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=0H−1γk r(sk,ak)J = \sum_{k=0}^{H-1} \gamma^k \, r(s_k, a_k)with sk+1∼Pϕ(⋅∣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,…,aH−1)(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.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Model Predictive Control (MPC).
Use Cases
In production engineering, what are the primary use cases for Model Predictive Control (MPC) and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
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 Card →MuZero Latent Model

🔗 More Reinforcement Learning Knowledge Cards

Actor-CriticBehavioral CloningContextual BanditCoT & Reasoning RL