本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(6)

  • SKILL.md1.9 KB
  • __tests__/sigreg.test.ts10.6 KB
  • epps-pulley.ts2.5 KB
  • index.ts742 B
  • sigreg.ts2.3 KB
  • types.ts2.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

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:

import { sigregWithBreakdown } from './src/sigreg/index.js';

const { loss, perSliceStatistic, maxSliceStatistic, runTag } = sigregWithBreakdown(embeddings);

Configuration

Default matches the LeJEPA reference implementation:

const LEJEPA_DEFAULT_CONFIG = {
  numSlices: 1024,
  univariateTest: { numPoints: 17, sigma: 1.0 },
};

Feature flag

Default-off. Opt-in via .claude/gsd-skill-creator.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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Provides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Active listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Adversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Provides best practices for AI agent orchestration including MCP servers, A2A protocol, multi-agent coordination, and swarm architectures. Use when designing agent systems, configuring MCP servers, setting up agent teams, or when user mentions 'MCP', 'A2A', 'agent orchestration', 'multi-agent', 'swarm', 'agent team', 'LangGraph', 'CrewAI', 'AutoGen'.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Symbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Understanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.

日本語の概要は準備中です。原文の説明を表示しています。

Tibsfox/gsd-skill-creator712026年7月20日 更新

Tibsfox のスキルをすべて見る

このスキルの問題を報告する