M1-074M1: Mathematics & Statistics Fundamentals估计理论 (MLE/MAP)Medium
⚡Flashcard Drill➔Mastery:

Explain Fisher Information and the Cramér-Rao Lower Bound (CRLB)

📐 Mathematical Definition
I(θ)=E[(∂log⁡p∂θ)2]=−E[∂2log⁡p∂θ2],Var(θ^)≥1nI(θ)I(\theta)=\mathbb E\Big[\Big(\frac{\partial\log p}{\partial\theta}\Big)^2\Big]=-\mathbb E\Big[\frac{\partial^2\log p}{\partial\theta^2}\Big],\qquad \mathrm{Var}(\hat\theta)\ge\frac{1}{nI(\theta)}
⚡ One-Sentence Core Answer
Fisher Information measures the amount of information that an observable random variable carries about an unknown parameter; the Cramér-Rao Lower Bound proves that no unbiased estimator can have variance smaller than the inverse Fisher Information: Var(θ^)≥I(θ)−1\text{Var}(\hat{\theta}) \ge I(\theta)^{-1}.

📌 Key Takeaways

  • •
    Score function: S(θ)=∇θlog⁡p(x∣θ)S(\theta) = \nabla_\theta \log p(x\mid \theta); expectation of score is always zero: E[S(θ)]=0E[S(\theta)] = 0.
  • •
    Fisher Information: I(θ)=E[(S(θ))(S(θ))T]=−E[∇θ2log⁡p(x∣θ)]I(\theta) = E[(S(\theta))(S(\theta))^T] = -E[\nabla^2_\theta \log p(x\mid \theta)]; expectation of negative Hessian.
  • •
    Cramér-Rao Lower Bound: For any unbiased estimator θ^\hat{\theta}, Cov(θ^)⪰I(θ)−1\text{Cov}(\hat{\theta}) \succeq I(\theta)^{-1}.
  • •
    Asymptotic Efficiency: MLE asymptotically achieves the CRLB: N(θ^MLE−θ0)→dN(0,I(θ0)−1)\sqrt{N}(\hat{\theta}_{\text{MLE}} - \theta_0) \xrightarrow{d} \mathcal{N}(0, I(\theta_0)^{-1}).

📐 Mathematical Derivations

Proof via Cauchy-Schwarz inequality: For 1D unbiased estimator θ^\hat{\theta} (E[θ^]=θE[\hat{\theta}] = \theta). Differentiating with respect to θ\theta: ddθ∫θ^(x)p(x∣θ)dx=∫θ^(x)∂log⁡p(x∣θ)∂θp(x∣θ)dx=E[θ^⋅S(θ)]=1\frac{d}{d\theta} \int \hat{\theta}(x) p(x\mid \theta)dx = \int \hat{\theta}(x) \frac{\partial \log p(x\mid \theta)}{\partial \theta} p(x\mid \theta)dx = E[\hat{\theta} \cdot S(\theta)] = 1. Since E[S(θ)]=0E[S(\theta)]=0, Cov(θ^,S(θ))=E[(θ^−θ)S(θ)]=E[θ^S]−θE[S]=1\text{Cov}(\hat{\theta}, S(\theta)) = E[(\hat{\theta} - \theta)S(\theta)] = E[\hat{\theta} S] - \theta E[S] = 1. By Cauchy-Schwarz inequality: Cov(θ^,S(θ))2≤Var(θ^)Var(S(θ))\text{Cov}(\hat{\theta}, S(\theta))^2 \le \text{Var}(\hat{\theta}) \text{Var}(S(\theta)). Since Var(S(θ))=E[S2]=I(θ)\text{Var}(S(\theta)) = E[S^2] = I(\theta), substituting gives: 1≤Var(θ^)I(θ)  ⟹  Var(θ^)≥1I(θ)1 \le \text{Var}(\hat{\theta}) I(\theta) \implies \text{Var}(\hat{\theta}) \ge \frac{1}{I(\theta)}.

🏭 Production Trade-offs

Fisher Information is foundational to modern ML: (1) Natural Gradient Descent (Amari, 1998): Parameter updates Δθ=−I(θ)−1∇θL\Delta \theta = -I(\theta)^{-1} \nabla_\theta \mathcal{L} take steepest descent steps with respect to the Riemannian manifold of probability distributions (invariant to reparameterization). (2) Elastic Weight Consolidation (EWC): Mitigates catastrophic forgetting in continual learning by regularizing parameter drift using the diagonal Fisher information Fi(θi−θA,i∗)2F_i (\theta_i - \theta_{A, i}^*)^2.
⚠️ Common Interview Pitfalls
  • ✕
    Applying CRLB to biased estimators without the derivative correction factor (1+b′(θ))2/I(θ)(1 + b'(\theta))^2 / I(\theta).
  • ✕
    Confusing the observed Fisher Information (negative Hessian evaluated at θ^\hat{\theta}) with expected Fisher Information.
🎯 Interviewer Follow-up Inquiries
  • ?
    How does Natural Gradient Descent relate to TRPO (Trust Region Policy Optimization) and K-FAC?
  • ?
    Why does the Fisher Information metric tensor define a Riemannian geometry via the second-order expansion of KL divergence?
⚡
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

Explore the comprehensive technical article, exam cards, and global architecture tree.

← PreviousM1-073: Explain FP32 Master Weights and Their Essential Role in Mixed Precision Training (FP16/BF16)📋Back to BankNext →M1-075: Explain Shrinkage Estimators and the James-Stein Phenomenon
中文速览与面试要点

解释 Fisher 信息量与 Cramér-Rao 下界。

Fisher 信息是对数似然关于参数的曲率(二阶导期望);CRB 给出无偏估计方差的下界。

核心要点

  • Fisher 信息量的两种等价定义:① 得分函数平方的期望 I(θ)=E[(∂log p/∂θ)²];② 对数似然二阶导的负期望 I(θ)=−E[∂²log p/∂θ²]。第二种形式给出 直观解释 :Fisher 信息是 对数似然在真值附近的曲率 ——曲率越大(似然越尖锐),参数越容易被数据确定,信息量越大。 可加性 :对独立样本,I_n(θ)=n·I(θ)(信息相加),这直接导致标准误 ∝1/√n。 Cramér-Rao 下界(CRB) :对任何 无偏 估计量,Var(θ̂)≥1/(nI(θ))。它是无偏估计方差的 理论下界 ,达到它的估计量称为 有效估计量 (efficient)。MLE 在正则条件下 渐近达到 CRB (渐近有效),这是 MLE 最优性的核心依据。
  • 实践应用:① 标准误与置信区间 ——渐近地 Var(θ̂_MLE)≈1/(nI(θ̂)),故标准误可用 观测信息矩阵 (海森的负逆)估计:SE=√[(−H)⁻¹]ᵢᵢ;这是逻辑回归、GLM、混合模型输出标准误的标准做法( statsmodels 即此)。② 实验设计的指导 ——Fisher 信息给出'哪种实验设计能最大化参数信息'的判据:D-最优设计最大化 det(I(θ))、A-最优最小化 tr(I⁻¹),这是 最优实验设计 的理论基础。③ 与海森矩阵的关系 ——在 MLE 处,观测信息 −H(θ̂) 与 Fisher 信息 I(θ̂) 在大样本下趋于一致;故'海森 = 信息',这解释了为什么牛顿法(用海森)在统计上与 Fisher 得分法(IRLS)一致。④ 与 KL 散度的关系 ——两个邻近分布的 KL 散度局部近似为 ½·ΔθᵀI(θ)Δθ,即 Fisher 信息是 统计流形上的度量张量 (Riemannian metric),这是信息几何的基础,也用于自然梯度(用 I⁻¹ 调整梯度方向,实现参数空间的'最速下降')。⑤ 局限 ——CRB 只适用于 无偏 估计;有偏估计(如岭回归、收缩估计)可以突破 CRB(用偏差换方差)。
  • Fisher 信息可加(独立样本相加)
  • 达到 CRB 的估计量称为有效估计量(MLE 渐近有效)

常见陷阱

  • 把 CRB 当作所有估计量的下界(只适用于无偏估计)
  • 忽略 Fisher 信息的可加性(导致对 √n 规律的困惑)