sigreg
Sketched Isotropic Gaussian Regularization primitive. Scalar loss matching the embedding distribution to a standard-normal target via Cramér-Wold slicing and the Epps-Pulley empirical characteristic function test. Port of rbalestr-lab/lejepa (MIT). Default-off in v1.49.571.
npx skills add majiayu000/claude-skill-registry --skill sigreg --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SIGReg — Sketched Isotropic Gaussian Regularization Port of SIGReg from Balestriero & LeCun (2025, *LeJEPA*) arXiv:2511.08544v3. The primitive computes a scalar loss measuring how far an embedding distribution is from the standard-normal target, using Cramér-Wold slicing plus the Epps-Pulley empirical characteristic function test. Linear O(N·M·K) time, naturally differentiable, multi-GPU friendly (all_reduce over ECF averages). ## Public API ```typescript import { sigreg } from './src/sigreg/index.js'; const loss = sigreg(embeddings); // embeddings: number[num_samples][num_dims] // scalar loss; use as L_total = L_pred + λ · loss ``` For telemetry: ```typescript import { sigregWithBreakdown } from './src/sigreg/index.js'; const { loss, perSliceStatistic, maxSliceStatistic, runTag } = sigregWithBreakdown(embeddings); ``` ## Configuration Default matches the LeJEPA reference implementation: ```typescript const LEJEPA_DEFAULT_CONFIG = { numSlices: 1024, univariateTest: { numPoints: 17, sigma: 1.0 }, }; ``` ## Feature flag Default-off. Opt-in via `.claude/gsd-skill-creator.json`: ```json { "heuristics-free-skill-space": { "sigreg": { "enabled": true } } } ``` ## Attribution Ported fro
- Public API
- Configuration
- Feature flag
- Attribution
- Related modules
What does the sigreg skill do?
Sketched Isotropic Gaussian Regularization primitive. Scalar loss matching the embedding distribution to a standard-normal target via Cramér-Wold slicing and the Epps-Pulley empirical characteristic function test. Port of rbalestr-lab/lejepa (MIT). Default-off in v1.49.571.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill sigreg --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
