← Questions

Mechanistic interpretability experiment on double descent

0
AnthropicML designLast asked Apr 2026

Design and run a small-model experiment reproducing sample-aspect double descent, explain the phenomenon from theory, and propose a remedy. The deliverable is the experiment plus the explanation.

A small, fast setting is fine: linear regression on Gaussian features, fitted with minimum-norm least squares.

import numpy as np


def make_task(p=50, seed=0): ...
def sample(rng, n, w_true, noise): ...        # -> x, y, eps
def fit(x, y, ridge=0.0): ...
def sweep(ns, p=50, noise=0.5, ridge=0.0, trials=20, seed=0):
    """Rows of (n, test MSE, ||w||, ||noise part of w||, smallest singular value of X)."""
def theory_mse(n, p, noise, w_norm_sq=1.0): ...
Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing