← Back to Reinforcement Learning Mind Map
中文·English
🎮 Reinforcement LearningID: distribution-shift

Offline Distribution Shift

Offline 分布偏移
🎯Core Definition
Distribution shift is the core difficulty of offline RL: the value function and policy learn only from a fixed dataset D\mathcal{D}, yet during training the policy keeps querying Q on out-of-distribution (OOD) state-action pairs the data never covered; with no ground-truth supervision for these actions, Q must extrapolate, yielding systematically inflated estimates (extrapolation error).
💡Use Cases
domains with historical logs but no safe online interaction — recommender systems, ads, autonomous driving, healthcare, robotics; also the hidden hazard when RLHF trains on offline preference data. Online RL escapes it because environment feedback corrects errors in real time.
⚡Key Problems Solved
it explains why naive offline Q-learning must fail — extrapolation error is amplified by Bellman bootstrapping (bootstrapping error amplification): updating Q(s,a)←r+γmax⁡a′Q^(s′,a′)Q(s,a) \leftarrow r + \gamma \max_{a'} \hat{Q}(s',a'), the max⁡\max operator selects the most erroneous a′a', so the error propagates round after round, Q inflates globally, and the policy drifts toward OOD actions; hence conservative offline algorithms (CQL, IQL, BCQ).
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Offline Distribution Shift.
Use Cases
In production engineering, what are the primary use cases for Offline Distribution Shift and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
What is the mechanism of extrapolation error? Why do Q-estimates for OOD actions inflate systematically?
2
How does Bellman bootstrapping amplify extrapolation error? Write the error-propagation chain in Q(s,a)=r+γmax⁡a′Q^(s′,a′)Q(s,a)=r+\gamma \max_{a'} \hat{Q}(s',a') and explain the max operator's role.
3
How does offline distribution shift differ from, and relate to, online DQN overestimation?
4
Why must an offline policy stay in-distribution? Enumerate three mitigation families (policy constraint, conservative Q, data generation) with one algorithm each.
5
Given a poorly covered fixed dataset, how would you diagnose extrapolation error from Q-values, and what training metric warns of policy collapse?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Offline Distribution Shift"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice ➔
← Previous CardMCTS PlanningNext Card →Behavioral Cloning

🔗 More Reinforcement Learning Knowledge Cards

Actor-CriticContextual BanditCoT & Reasoning RLConservative Q-Learning