Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
l2 (eta=0): struct<rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: do (... 205 chars omitted)
  child 0, rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floo (... 152 chars omitted)
      child 0, item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floor: double,  (... 140 chars omitted)
          child 0, n: int64
          child 1, p: int64
          child 2, trials: int64
          child 3, norm_mu_star: double
          child 4, d_mu_raw: double
          child 5, mc_floor: double
          child 6, d_mu_corrected: double
          child 7, rel_d_mu: double
          child 8, tr_Cx_Chat: double
          child 9, alpha_star_sq: double
          child 10, gap_alpha: double
          child 11, rel_gap_alpha: double
          child 12, secs: double
  child 1, slope_mu: double
  child 2, slope_alpha: double
elastic (eta=0.5): struct<rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: do (... 205 chars omitted)
  child 0, rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floo (... 152 chars omitted)
      child 0, item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floor: double,  (... 140 chars omitted)
          child 0, n: int64
          child 1, p: int64
          child 2, trials: int64
          child 3, norm_
...
ct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 8, L4_nonzero_mean_ours_matches: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 9, L4_paper_Cx_form_error_at_nonzero_mean: struct<ok: null, detail: string>
      child 0, ok: null
      child 1, detail: string
  child 10, L5_MSE_matches_Cor51_expression: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 11, L5_factor_two: struct<ok: null, detail: string>
      child 0, ok: null
      child 1, detail: string
  child 12, L6_lemma32_lipschitz_hessian: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 13, L6_trace_gap_rate: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 14, L7_stable_elastic0.5: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
  child 15, L7_stable_squared: struct<ok: bool, detail: string>
      child 0, ok: bool
      child 1, detail: string
E_Ly: double
E_MSE: double
mu_formula_err: struct<paper_Cx: double, ours_Sigma: double>
  child 0, paper_Cx: double
  child 1, ours_Sigma: double
fp_zero_mean: struct<nu: double, kappa: double, alpha: double, A: double, Delta: double>
  child 0, nu: double
  child 1, kappa: double
  child 2, alpha: double
  child 3, A: double
  child 4, Delta: double
cor51_rhs: double
failures: list<item: null>
  child 0, item: null
to
{'results': {'L1_prox_squared': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_prox_elastic': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_prox_logistic': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_squared_closed_form': {'ok': Value('bool'), 'detail': Value('string')}, 'L2_nu_eq_1_over_1_plus_kappa': {'ok': Value('bool'), 'detail': Value('string')}, 'L2_kappa_trace_identity': {'ok': Value('bool'), 'detail': Value('string')}, 'L3_alpha_closed_form': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_zero_mean_agree': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_nonzero_mean_ours_matches': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_paper_Cx_form_error_at_nonzero_mean': {'ok': Value('null'), 'detail': Value('string')}, 'L5_MSE_matches_Cor51_expression': {'ok': Value('bool'), 'detail': Value('string')}, 'L5_factor_two': {'ok': Value('null'), 'detail': Value('string')}, 'L6_lemma32_lipschitz_hessian': {'ok': Value('bool'), 'detail': Value('string')}, 'L6_trace_gap_rate': {'ok': Value('bool'), 'detail': Value('string')}, 'L7_stable_elastic0.5': {'ok': Value('bool'), 'detail': Value('string')}, 'L7_stable_squared': {'ok': Value('bool'), 'detail': Value('string')}}, 'fp_zero_mean': {'nu': Value('float64'), 'kappa': Value('float64'), 'alpha': Value('float64'), 'A': Value('float64'), 'Delta': Value('float64')}, 'cor51_rhs': Value('float64'), 'E_Ly': Value('float64'), 'E_MSE': Value('float64'), 'mu_formula_err': {'paper_Cx': Value('float64'), 'ours_Sigma': Value('float64')}, 'failures': List(Value('null'))}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              l2 (eta=0): struct<rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: do (... 205 chars omitted)
                child 0, rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floo (... 152 chars omitted)
                    child 0, item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floor: double,  (... 140 chars omitted)
                        child 0, n: int64
                        child 1, p: int64
                        child 2, trials: int64
                        child 3, norm_mu_star: double
                        child 4, d_mu_raw: double
                        child 5, mc_floor: double
                        child 6, d_mu_corrected: double
                        child 7, rel_d_mu: double
                        child 8, tr_Cx_Chat: double
                        child 9, alpha_star_sq: double
                        child 10, gap_alpha: double
                        child 11, rel_gap_alpha: double
                        child 12, secs: double
                child 1, slope_mu: double
                child 2, slope_alpha: double
              elastic (eta=0.5): struct<rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: do (... 205 chars omitted)
                child 0, rows: list<item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floo (... 152 chars omitted)
                    child 0, item: struct<n: int64, p: int64, trials: int64, norm_mu_star: double, d_mu_raw: double, mc_floor: double,  (... 140 chars omitted)
                        child 0, n: int64
                        child 1, p: int64
                        child 2, trials: int64
                        child 3, norm_
              ...
              ct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 8, L4_nonzero_mean_ours_matches: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 9, L4_paper_Cx_form_error_at_nonzero_mean: struct<ok: null, detail: string>
                    child 0, ok: null
                    child 1, detail: string
                child 10, L5_MSE_matches_Cor51_expression: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 11, L5_factor_two: struct<ok: null, detail: string>
                    child 0, ok: null
                    child 1, detail: string
                child 12, L6_lemma32_lipschitz_hessian: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 13, L6_trace_gap_rate: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 14, L7_stable_elastic0.5: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
                child 15, L7_stable_squared: struct<ok: bool, detail: string>
                    child 0, ok: bool
                    child 1, detail: string
              E_Ly: double
              E_MSE: double
              mu_formula_err: struct<paper_Cx: double, ours_Sigma: double>
                child 0, paper_Cx: double
                child 1, ours_Sigma: double
              fp_zero_mean: struct<nu: double, kappa: double, alpha: double, A: double, Delta: double>
                child 0, nu: double
                child 1, kappa: double
                child 2, alpha: double
                child 3, A: double
                child 4, Delta: double
              cor51_rhs: double
              failures: list<item: null>
                child 0, item: null
              to
              {'results': {'L1_prox_squared': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_prox_elastic': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_prox_logistic': {'ok': Value('bool'), 'detail': Value('string')}, 'L1_squared_closed_form': {'ok': Value('bool'), 'detail': Value('string')}, 'L2_nu_eq_1_over_1_plus_kappa': {'ok': Value('bool'), 'detail': Value('string')}, 'L2_kappa_trace_identity': {'ok': Value('bool'), 'detail': Value('string')}, 'L3_alpha_closed_form': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_zero_mean_agree': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_nonzero_mean_ours_matches': {'ok': Value('bool'), 'detail': Value('string')}, 'L4_paper_Cx_form_error_at_nonzero_mean': {'ok': Value('null'), 'detail': Value('string')}, 'L5_MSE_matches_Cor51_expression': {'ok': Value('bool'), 'detail': Value('string')}, 'L5_factor_two': {'ok': Value('null'), 'detail': Value('string')}, 'L6_lemma32_lipschitz_hessian': {'ok': Value('bool'), 'detail': Value('string')}, 'L6_trace_gap_rate': {'ok': Value('bool'), 'detail': Value('string')}, 'L7_stable_elastic0.5': {'ok': Value('bool'), 'detail': Value('string')}, 'L7_stable_squared': {'ok': Value('bool'), 'detail': Value('string')}}, 'fp_zero_mean': {'nu': Value('float64'), 'kappa': Value('float64'), 'alpha': Value('float64'), 'A': Value('float64'), 'Delta': Value('float64')}, 'cor51_rhs': Value('float64'), 'E_Ly': Value('float64'), 'E_MSE': Value('float64'), 'mu_formula_err': {'paper_Cx': Value('float64'), 'ours_Sigma': Value('float64')}, 'failures': List(Value('null'))}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

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

Check out the documentation for more information.

Reproduction bundle — Characterization of Gaussian Universality Breakdown in High-Dimensional Empirical Risk Minimization

ICML 2026 · OpenReview UHQDfvZBFi · arXiv 2604.03146 Authors: Mohamed Chiheb Yaakoubi, Cosme Louart, Malik Tiomoko, Zhenyu Liao.

Independent, CPU-only reproduction. Every formula is implemented from the equations printed in the paper; no code from the authors' repository is reused. Their released solver (github.com/cosmital/Empirical-risk-minimization-asymptotics) is invoked once, purely as an external cross-check, in outputs/authors_solver_crosscheck.txt.

Logbook: https://huggingface.co/spaces/JG1310/repro-characterization-of-gaussian-universality-breakdown-in-high-dimensional

Outcome

Claim Verdict
Claim 1 — Theorem 4.3/4.4 min–max characterization of the mean and covariance Verified, with the validity boundary of the covariance half mapped to the paper's own Corollary 2.2 (‖C_x‖ = O(1))
Claim 2 — Theorem 6.1, score = non-Gaussian xᵀμ* convolved with independent centered Gaussian α*z Verified; 20×–222× closer to the empirical law than a fitted Gaussian

Incidental findings: two statement-level errors in Corollary 5.1 (a missing factor ½; C_x where Σ_x is required when E[x] ≠ 0), and paper Figure 2 (MNIST) is not reproducible from the text — Appendix G specifies only the digit merge and its representation sentence is truncated mid-clause.

Layout

Path What it is
ermlib.py Core library: losses + proximal operators, quadratic and pseudo-Huber regularizers, data models (bimodal mixtures, teacher–student, MNIST), the ERM solver, and the Theorem 4.4 fixed-point solver.
exp1_thm44_lemmas.py 16 executable lemma-level checks of the Theorem 4.3/4.4 derivation (prox identities, Eq. 15, closed-form α*², the μ* formula, Corollary 5.1, Lemma 3.2, fixed-point stability). Exits non-zero if any check fails.
exp2_convergence.py Theorem 4.3 n-sweep: ‖μ̂ − μ*‖ and tr(Cx Ĉ) − α*², two designs × two losses, n = 50…1600.
exp3_thm33.py Theorem 3.3: ERM under a pseudo-Huber ρ vs its quadratic surrogate ρ_q.
exp4_elastic_sweep.py Paper Figures 1 (top) and 3 at the paper's own scale (p=30, n=50, λ=5).
exp5_score_thm61.py Theorem 6.1: score law vs empirical, vs the Gaussian score-universality hypothesis.
exp6_mnist.py Paper Figure 2: MNIST {3,6} vs {4,7}, raw 784-d pixels and 13×13 downsampled.
exp7_confinement.py Paper Figure 4 / Theorem 7.1 / Corollary 7.2: subspace confinement of μ*.
exp8_alpha_diagnostic.py The decisive experiment. 4 designs × 4 sizes, 20 000 exact-ridge solves per point, isolating the α* regime boundary.
exp9_noise_floor.py Measures the fixed-point solver's own Monte-Carlo resolution floor, so the measured ‖μ̂ − μ*‖ gap can be interpreted.
make_figures2.py Builds every Plotly figure + its raw CSV into figures/.
run_rest.sh Runs experiments 3–8 in sequence.
outputs/ All JSON results, logs, and raw score samples (.npz).
figures/ Interactive HTML figures with matching CSV data tables.

Rerun

pip install numpy scipy scikit-learn plotly
python3 exp1_thm44_lemmas.py          # ~1 min, exits non-zero if any check fails
python3 exp2_convergence.py 3000      # ~50 min on 16 CPU cores
./run_rest.sh                         # exp3–exp8
python3 exp9_noise_floor.py           # ~30 min
python3 make_figures2.py

MNIST is read from mnist.npz (standard 70k MNIST, uint8 28×28). Set the MNIST constant at the top of exp6_mnist.py to point at your copy.

Total wall-clock for the full suite is roughly 5 hours on one 16-core CPU. Everything is CPU-only; no GPU is used or required.

Note on outputs/exp2.log

This log file was appended by two successive runs of exp2_convergence.py with different print formats, so it interleaves two schemas; exp2_convergence.json holds the authoritative final numbers. One row in the older text (l2, n=1600) shows a diverged solver value (alpha_*^2 = 9.4e7) from a run that did not converge at that size; it is superseded and is not used anywhere in the logbook. The α* evidence in the logbook comes from exp8_alpha_diagnostic.py, which uses closed-form exact ridge and is free of that failure mode.

Downloads last month
89