generalization-theory

Diagnose memorization versus signal learning using empirical neural tangent kernel partitioning.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/thistleknot/skills --skill generalization-theory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generalization-theory
Source: https://github.com/thistleknot/skills/tree/main/generalization-theory
Command: npx skills add https://github.com/thistleknot/skills --skill generalization-theory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generalization-theory helps you determine why a model’s training loss is improving while test performance stalls or worsens, distinguishing memorization-driven behavior from genuine signal learning.

Core Features & Use Cases

  • Signal/noise diagnosis (eNTK partitioning): classifies training dynamics into coherent “signal” directions versus trapped “noise” residuals to explain overfitting, grokking, and double descent.
  • Unified interpretation of training phenomena: maps benign overfitting, implicit bias, and grokking to the same empirical partition geometry instead of treating them as unrelated quirks.
  • Intervention selection ladder: recommends the lightest effective change among data, architecture, and optimizer surfaces, including an SNR-style preconditioning strategy.

Quick Start

Use generalization-theory to analyze your run checkpoints and telemetry to decide whether to intervene through data cleanup, architectural bias, or an SNR-aware optimizer adjustment.

Frequently Asked Questions about generalization-theory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my model's training loss improve while test performance stalls or worsens?

When training loss improves but test performance stalls, it indicates memorization-driven behavior rather than genuine signal learning. An empirical neural tangent kernel partition diagnoses this by classifying training dynamics into coherent signal directions versus trapped noise residuals.

How does eNTK partitioning explain grokking delays and double descent?

eNTK partitioning explains grokking delays and double descent by mapping these training phenomena to the same empirical partition geometry. It distinguishes coherent signal directions from trapped noise residuals, treating them as unified training dynamics rather than unrelated quirks.

What is the best way to select an intervention when diagnosing memorization versus signal learning?

The best way to select an intervention is using a selection ladder that recommends the lightest effective change among data, architecture, and optimizer surfaces. This includes applying an SNR-style preconditioning strategy to increase signal-channel SNR and improve generalization.

Do I need specific training-dynamics telemetry to diagnose memorization versus signal learning?

Yes, you need training-dynamics telemetry from run checkpoints to diagnose memorization versus signal learning. Interpreting this telemetry through coherence classification allows the empirical neural tangent kernel partition to determine if training loss improvements reflect genuine signal learning.