Skip to content
Back to skills

Sigreg

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentstypescriptgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill sigreg --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sigreg?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sigreg
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-sigreg-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-sigreg-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sigreg
description: 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.
version: 1.49.571
tier: T1
phase: 729
source_paper: arXiv:2511.08544v3
license_attribution: rbalestr-lab/lejepa (MIT)
---

# 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 from https://github.com/rbalestr-lab/lejepa under the MIT license.
© Randall Balestriero and LeJEPA Contributors. See `../../license_notices.md`.

## Related modules

- `src/skill-isotropy/` — Skill Space Isotropy Audit (Phase 728) — read-only audit use case
- `src/intrinsic-telemetry/` — Phase 733 — SIGReg-on-embeddings is a candidate signal

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.