M2-103M2: Classical Machine LearningBias-Variance Tradeoff & Model SelectionMedium
⚡Flashcard Drill➔Mastery:

When Does Adding More Data Fail to Improve Model Performance?

🎯 Active Recall Self-Check (Draft First, Verify After)
Login-free practice tracker: recall core answer, audit pitfalls, and log review status.
Step 1 · Draft your concise answer & assumptions
Step 2 · Check Pitfalls & Follow-up Inquiries
Next: M2-104 →
📐 Mathematical Definition
E[err]=Bias2+Var+σ2\mathbb E[\text{err}]=\mathrm{Bias}^2+\mathrm{Var}+\sigma^2
⚡ One-Sentence Core Answer
Adding data fails when performance is bottlenecked by high model bias, irreducible Bayes noise, distribution shift, or systematic label corruption.

📌 Key Takeaways

  • •
    High model bias: hypothesis space H\mathcal{H} lacks expressive capacity to represent the true function
  • •
    Irreducible noise: Bayes error rate σ2=E[Var(Y∣X)]\sigma^2 = \mathbb{E}[\text{Var}(Y|X)] forms a theoretical lower bound on loss
  • •
    Distribution mismatch: adding training data drawn from a different distribution Ptrain≠PtestP_{\text{train}} \ne P_{\text{test}}

📐 Mathematical Derivations

Decomposition Analysis: Generalization error decomposes as: Risk(f)=Bias2(H)+Variance(n)+σirreducible2\text{Risk}(f) = \text{Bias}^2(\mathcal{H}) + \text{Variance}(n) + \sigma^2_{\text{irreducible}}.
- As n→∞n \to \infty, Variance(n)→0\text{Variance}(n) \to 0. However, Bias2\text{Bias}^2 and σirreducible2\sigma^2_{\text{irreducible}} remain strictly invariant with respect to nn.
- If Bias2≫Variance\text{Bias}^2 \gg \text{Variance}, the learning curve has already reached its asymptotic plateau. Adding 10×10\times more samples will only reduce the already negligible variance term, leaving test error effectively unchanged.
- Label Noise Ceiling: If random label flip probability is η\eta, minimum achievable misclassification error is η\eta, which no volume of training examples can overcome.

🏭 Production Trade-offs

Diagnostic checklist: When data scaling yields no lift: ① Check learning curve slope; ② Evaluate training error (if training error is high, increase model complexity); ③ Audit label quality and data agreement between annotators; ④ Test for covariate shift between train and serving distributions.
⚠️ Common Interview Pitfalls
  • ✕
    Investing large engineering budgets in gathering more data for an underfitting model instead of upgrading model capacity
  • ✕
    Collecting abundant web-scraped data that has significant domain divergence from target production traffic
🎯 Interviewer Follow-up Inquiries
  • ?
    How do you mathematically determine whether an error gap is driven by Bayes error or model bias?
  • ?
    What strategies can filter out systematic label noise before retraining on massive datasets?
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
📚

Associated Knowledge Base Guides & Mindmaps

← PreviousM2-102: How Model Ensembling Impacts Bias and Variance📋 Back to BankNext →M2-104: The 'No Free Lunch' Theorem and Inductive Bias Explained
中文速览与面试要点

在什么情况下增加数据无法改善性能?

高偏差(模型族无法表达真函数)、噪声主导(不可约误差大)、分布偏移、标签质量差。

核心要点

  • 四种情形:① 高偏差 ——若模型族无法表达真实函数(如用线性模型拟合强非线性关系),偏差项与 n 无关,加数据只会让训练误差与验证误差都收敛到同一个 偏高的平台 (学习曲线的典型形态);此时应 增加模型容量/特征 而非数据。② 不可约噪声 σ² 主导 ——若目标本身有随机性(如用户点击的固有随机性、标签噪声),σ² 构成性能下界;加数据只能降低方差项,无法突破 σ²。判断方法:若贝叶斯错误率(理论上限)接近当前性能,说明已接近下界。③ 分布偏移 ——若训练分布与测试/线上分布不同,加 同分布的 训练数据无助于提升目标域性能(甚至可能因强化错误模式而有害);此时应做 领域适应 (重加权、微调、域不变表示)或采集目标域数据。④ 标签质量差 ——若标签有系统性错误(如标注规则错误、泄漏导致的错标),加数据会放大错误模式;应优先 清理标签 。此外, 数据冗余 (重复样本)也导致加数据无增益。
  • 判断与对策:① 学习曲线判断法 ——画学习曲线(性能 vs 训练集大小):若曲线已 平台化 (加数据无改善)→ 加数据无用;若仍在下降 → 加数据有帮助。这是最直接的判据。② 训练/验证误差的关系 ——若训练误差本身就高(高偏差)→ 加数据无用;若训练误差低而验证误差高(高方差)→ 加数据有用。③ 贝叶斯错误率估计 ——若同一输入有多个不同标签(或专家之间标注不一致),说明存在不可约噪声;可用 标签一致性(Cohen's κ) 估计噪声水平。④ 数据质量的优先级 ——实践中'清洗 10% 的错误标签'往往比'增加 10% 的数据'更有效;应先做 数据审计 (检查标签错误率、重复率、分布一致性)。⑤ 分布偏移的诊断 ——用 对抗验证 (训练一个分类器区分训练集与目标集,若 AUC 显著 >0.5 则存在偏移)检测;发现偏移后应做重加权或采集目标域数据。⑥ 投入决策 ——加数据的成本(采集/标注)通常远高于改模型;故应先确认'瓶颈是方差而非偏差'再投入数据。
  • 偏差由模型族决定,与 n 无关
  • σ²(不可约噪声)无法通过任何手段降低

常见陷阱

  • 在高偏差模型上盲目增加数据
  • 忽略分布偏移,用同分布数据试图提升目标域性能