Mechanism failed Re-invented 2026

Entropy-Annealed Feature Particle Layer

Implementation & benchmark of arXiv:2606.31429 — The Geometry of Statistical Feature Learning in Mean-Field Langevin Dynamics

Usefulness7/10
Difficulty5/10
Novelty5/10

Source paper: The Geometry of Statistical Feature Learning in Mean-Field Langevin Dynamics arXiv:2606.31429 · analyzed Aug 29, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Replace a wide fixed-feature layer by a finite empirical distribution of trainable feature particles and update the particles with noisy mean-field Langevin dynamics. Use high temperature to explore feature space and anneal toward low temperature so that particles concentrate around predictive directions without immediately collapsing to a single neuron.

Formulas

$$f_{\nu}(x)=\mathbb{E}\left[\alpha\,\sigma\bigl(\langle W,x\rangle\bigr)\right]$$
$$\nu_M=\frac{1}{M}\sum_{i=1}^{M}\delta_{(a_i,w_i)},\qquad f_M(x)=\frac{1}{M}\sum_{i=1}^{M}a_i\sigma(w_i^\top x)$$
$$z_i^{t+1}=\Pi_{[-A,A]\times\mathcal{W}}\left(z_i^t-\eta\,\widehat{\nabla}_{z_i}\left[\frac{1}{B}\sum_{b=1}^{B}\ell\bigl(f_M(x_b),y_b\bigr)\right]+\sqrt{2\eta\lambda_t}\,\xi_i^t\right),\quad \xi_i^t\sim\mathcal{N}(0,I)$$
$$\lambda_t=\lambda_{\min}+\frac{1}{2}(\lambda_{\max}-\lambda_{\min})\left(1+\cos\frac{\pi t}{T_{\mathrm{anneal}}}\right)$$

Mathematical statement

The paper represents a mean-field neuron model by a probability measure \(\nu\) over output weights \(\alpha\) and feature parameters \(W\), with predictor \(f_\nu(x)=\mathbb{E}_{(\alpha,W)\sim\nu}[\alpha\,\sigma(\langle W,x\rangle)]\). Its dynamics are described as the Wasserstein gradient flow of empirical risk regularized by negative entropy, and the low-temperature stationary law concentrates near hidden indices despite the entropy penalty; the abstract reports a sharp transition around temperature \(\lambda\asymp 1\). For particles \(z_i=(a_i,w_i)\), use the finite-particle empirical measure \(\nu_M=M^{-1}\sum_i\delta_{z_i}\), empirical prediction \(f_M(x)=M^{-1}\sum_i a_i\sigma(w_i^\top x)\), and the practical Langevin update \(z_i\leftarrow z_i-\eta\widehat{\nabla}_{z_i}\mathcal{L}+\sqrt{2\eta\lambda_t}\,\xi_i\), where \(\xi_i\sim\mathcal{N}(0,I)\), \(\eta\) is the step size, and \(\lambda_t\) is the temperature schedule. The noise implements the entropy-driven diffusion; annealing exploits the concentration property.

Implementation notes

Integrate this at the feature-parameter update of a one-hidden-layer MLP or a transformer MLP expansion layer. Represent the layer with \(M\) particles \((a_i,w_i)\), where \(w_i\in\mathbb{R}^d\) is the incoming feature vector and \(a_i\) is the outgoing scalar; compute the layer output as \(h(x)=M^{-1}\sum_i a_i\sigma(w_i^\top x)\). At every minibatch, run ordinary backpropagation to obtain gradients with respect to every particle, then add independent Gaussian noise with variance \(2\eta\lambda_t\), clip or project \(a_i\) to \([-A,A]\), and optionally normalize \(w_i\) to the unit sphere. Use a cosine temperature schedule from \(\lambda_{\max}\in\{0.5,1,2\}\) to \(\lambda_{\min}\in\{10^{-3},10^{-2}\}\); the mathematically motivated diagnostic is whether behavior changes around \(\lambda\approx1\). The formulas computed exactly are the empirical mean-field predictor and Langevin step; the gradient is estimated by minibatch backpropagation and no density or Wasserstein metric needs to be explicitly estimated. First test on teacher-student Gaussian single-index and multi-index regression, then CIFAR-10 with a small MLP against a deterministic equally wide MLP and Adam. Track test MSE at fixed samples and FLOPs, particle diversity, cosine alignment between learned \(w_i\) and teacher directions, and collapse rate. Success is faster loss descent or lower test error at equal width, with low-temperature particles aligning while retaining several distinct modes in the multi-index task.

Verification

Mechanism failed

Stage 1 · Toy mechanism gate: Failed ✗

Stage 2 · Mechanism transferred to benchmark: Not tested

Stage 2 · Practical benchmark result: Not run

Methodology: Toy-system gate first; the benchmark stage runs only after a pass. How verification works

Stage 1 — Mechanism check agent confidence 9/10

Built an entropy-annealed particle feature layer with projected output weights, cosine temperature annealing, Gaussian Langevin diffusion, and teacher-direction diagnostics. The mathematical checks passed: predictor error was 5.96e-8 and sampled noise variance was within 1.3% of 2ηλ. However, on the two-index ReLU teacher task the particle model reached test MSE 0.1159 versus 0.000136 for the equally wide Adam baseline; it preserved higher feature diversity but had zero particles strongly aligned with teacher directions, so the claimed practical effect was not demonstrated.

Agent confidence
9/10
Baseline
test MSE 0.0001355; final train MSE 0.0000654; mean teacher alignment 0.8967; aligned fraction 87.5%; weight diversity 1.1638; runtime 1.34s
Idea
test MSE 0.115886; final train MSE 0.09726; mean teacher alignment 0.2828; aligned fraction 0%; weight diversity 1.4009; runtime 1.32s

Limitations: Only a small synthetic two-index ReLU regression task was tested; CIFAR-10, single-index regression, temperature sweeps, alternative step sizes, exact non-Adam Langevin discretization, and larger particle populations were not tested.

How to run: python3 particle_experiment.py

Verdict computed by deterministic test code from paired-seed statistics — not by the language model.

Artifacts

Implementation overview ⬇ Download all as ZIP 3 files · code, reports and structured results