Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
1.35k
1.8k

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Reproduction: debiased gradient-descent CI coverage (Fig. 1, middle column) — arXiv:2412.09498v3

Independent reproduction of the Figure 1 (middle column) claim in Gradient Descent Inference in Empirical Risk Minimization (Q. Han and X. Xu, NeurIPS 2026), arXiv:2412.09498 — implemented from the paper; no official code exists.

Claim under test

For linear regression with m = 1200, n = 1000, signal μ*_i ~ |N(0,5)|, μ^(0) ~ N(0, I_n), step size η = 0.3, 50 GD iterations, B = 1000 Monte-Carlo repetitions, and three designs (N(0,1), t(10), Bernoulli(1/2), all scaled to variance 1/n), the debiased gradient-descent 95% CIs (Eq. 4.4) with variance estimated by (3.2) attain ≈ 95% coordinatewise coverage at iterations 10–50, under squared loss with Gaussian noise and pseudo-Huber loss (δ=1) with t(2) noise.

Verdict: VERIFIED

Median coordinatewise coverage over B = 1000 reps (n = 1000 coordinates per rep), all 30 setting × iteration cells:

setting t=10 t=20 t=30 t=40 t=50
squared-gauss 0.949 0.949 0.950 0.950 0.949
squared-t10 0.950 0.950 0.950 0.950 0.950
squared-bern 0.951 0.951 0.951 0.951 0.950
phuber-gauss 0.950 0.950 0.950 0.950 0.950
phuber-t10 0.950 0.950 0.950 0.950 0.950
phuber-bern 0.950 0.950 0.950 0.951 0.950
  • Every median is inside [0.93, 0.97] (falsification band); none below 0.92.
  • Interquartile range of per-rep coverage ≈ [0.942, 0.957] everywhere — matches the tight box plots of the paper's Figure 1 (middle).
  • QQ normality at t = 50 (coordinate 1 across 1000 reps vs N(0,1)): correlation 0.9981 (squared-gauss) to 0.9996 (squared-bern) — no departure from N(0,1).

Implementation (from the paper, gd_inference_repro.py)

  • GD recursion (2.1) with f = 0 (identity prox), η = 0.3.
  • Algorithm 1: per-coordinate L̂k = diag{−η{s−1} ∂₁₁L_{s−1}((Aμ^(s−1))_k, Y_k)}; τ̂_k = φ(I − L̂_k O_t(ρ̂))⁻¹L̂_k; τ̂ = mean_k τ̂_k; ρ̂ = I + (τ̂ + I) O_t(ρ̂) (P′ ≡ 1 since f = 0); O_t = shift-down embedding of Eq. (1.13).
  • Debiased iterate (3.1) with ω̂ = (τ̂)⁻¹; variance (3.2): σ̂²_db = ω̂_{t,·} Σ̂W ω̂{t,·}ᵀ, Σ̂W = {φ η{r−1}η_{s−1} ⟨∂₁L_{r−1}, ∂₁L_{s−1}⟩/m}; CI (4.4) = μ̂_db,ℓ ± 1.95996·σ̂_db (linear-model bias b_db = 1 exactly, Prop. 4.3).
  • Validation independent of the paper's figures: τ̂[1,1] = −φη = −0.36 exactly; σ̂²_db(1) matches the closed form (Var(Z⁽¹⁾−Z⁽⁰⁾)+σ²_m)/φ = 7/φ ≈ 5.833 (measured 5.91); pseudo-Huber t=1 values match a 2-D Monte-Carlo reference; mean over 120 reps of emp-MSE/σ̂² = 0.977–1.01 at all t; τ̂ matches the closed-form population recursion for the squared loss to 0 error.

Deviations from the paper

  1. Bernoulli(1/2) design read as Rademacher (±1): (A2) requires mean-0 unit-variance entries, so Bernoulli(1/2) is centered and scaled; a scaled-but-uncentered {0,2} reading would violate (A2).
  2. t(2) noise used raw (the paper normalizes only the designs to unit variance).
  3. Seeds not specified in the paper; fixed seeds (base 20261203) here.
  4. Box-plot summaries in the paper are plot-derived; comparison is qualitative (medians/IQR).

Reproduce

pip install numpy scipy matplotlib
python gd_inference_repro.py validate --reps 3      # ~5 s, all checks
python gd_inference_repro.py full --B 1000 --jobs 8 --outdir results   # ~8 min on 8 vCPU
python gd_inference_repro.py analyze --results results/results.npz --outdir analysis

Artifacts: results/results.npz (per-rep coverage, σ̂², emp-MSE, bias, QQ samples for all 6 settings), box plots (coverage_box_*.png), QQ plot (qq_t50.png), summary.json.

Compute used: ≈ $0.05 (smoke sandbox + two cpu-upgrade jobs; the first job was cancelled — 8 workers × unpinned BLAS threads oversubscribed 8 vCPUs, a 30× slowdown).

Downloads last month
12

Paper for Devya27/gd-erm-fig1-repro