Skip to content
supersparsity-unison logo

supersparsity-unison Skill

supersparsity-unison

Pandey''s key finding: `L(N,D) = f(gzip(data))` — gzip compressibility predicts optimal compute allocation.

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

supersparsity-unison Skill

Status: ✅ Production Ready Trit: 0 (ERGODIC - bridge) Color: #9B59B6 (Purple - synthesis) Principle: Sparse computation through content-addressed abilities Frame: TiDAR + gzip scaling → Unison ability composition


Overview

Supersparsity-Unison bridges neural network sparsity research with Unison's content-addressed computation model. The core insight: sparse activation patterns in neural networks (MoE, lottery tickets, TiDAR) map naturally to Unison's ability system and splittable RNG.

Core Papers

PaperKey InsightUnison Mapping
Pandey 2024 (gzip scaling)Data compression predicts scaling lawsSplitRng.fromText - hash complexity
TiDAR (NVIDIA 2024)Diffusion drafts, AR verifiessplit → parallel, recordPrediction → sequential
Lottery Ticket (Frankle 2019)Sparse subnetworks match full performanceregret.applyToColor - prune by error
MoE (Shazeer 2017)Top-k routing for sparse activationability handlers as expert routing

TiDAR → Unison Mapping

┌─────────────────────────────────────────────────────────────┐
│                    TiDAR Architecture                        │
├─────────────────────────────────────────────────────────────┤
│  DIFFUSION DRAFTING          AUTOREGRESSIVE VERIFICATION    │
│  (parallel tokens)           (sequential sampling)          │
│         │                            │                       │
│         ▼                            ▼                       │
│  ┌─────────────┐              ┌─────────────┐               │
│  │ SplitRng.   │              │ RegretOp.   │               │
│  │   split     │──────────────│ recordPred  │               │
│  └─────────────┘              └─────────────┘               │
│    Trit: +1                      Trit: 0                    │
│    (generator)                   (ergodic)                   │
└─────────────────────────────────────────────────────────────┘

gzip Scaling Law Bridge

Pandey's key finding: L(N,D) = f(gzip(data)) — gzip compressibility predicts optimal compute allocation.

-- Data complexity determines scaling exponent
gzipComplexity : Text -> Float
gzipComplexity data =
  seed = SplitRng.fromText data
  entropy = Float.fromNat (SplitRng.state seed) / Float.fromNat gay.mask64
  -- Higher entropy = harder to compress = need more data vs params
  entropy

-- Scaling law: harder data → prefer dataset size over parameters
scalingExponent : Float -> Float
scalingExponent complexity =
  -- Pandey: α shifts from ~0.5 (easy) to ~0.7 (hard)
  0.5 + complexity * 0.2

Sparse Activation as Abilities

-- Mixture of Experts as ability handlers
ability MoE where
  route : Nat -> {MoE} Nat  -- top-k routing
  expert : Nat -> a -> {MoE} a  -- expert computation

-- Sparse activation: only k experts fire
sparseForward : Nat -> [a] -> {MoE} [a]
sparseForward k inputs =
  experts = List.range 0 8  -- 8 experts
  topK = List.take k (List.sortBy (x -> route x) experts)
  List.map (e -> expert e inputs) topK

Lottery Ticket as Regret Pruning

-- Find winning ticket via regret accumulation
findWinningTicket : [RegretOp] -> [RegretOp]
findWinningTicket ops =
  -- Keep operations with low regret (high accuracy)
  threshold = 0.3
  List.filter (op -> RegretOp.regretOpRegret op < threshold) ops

-- Supermask: binary mask from regret
supermask : RegretOp -> Boolean
supermask op = RegretOp.regretOpRegret op < 0.5

Triadic Composition

compression-progress (-1) ⊗ supersparsity-unison (0) ⊗ forward-forward-learning (+1) = 0 ✓
kolmogorov-compression (-1) ⊗ supersparsity-unison (0) ⊗ cognitive-superposition (+1) = 0 ✓
propagators (-1) ⊗ supersparsity-unison (0) ⊗ tidar (+1) = 0 ✓

Concept Index

ConceptCategoryTritUnison Pattern
gzip-scaling-lawtheory0SplitRng.fromText
tidararchitecture+1split + recordPrediction
diffusion-draftingmechanism+1SplitRng.split
ar-verificationmechanism0RegretOp.recordPrediction
lottery-ticketpruning+1findWinningTicket
supermasktechnique+1supermask
mixture-of-expertsarchitecture+1ability MoE
sparse-codingneuroscience-1sparseForward
winner-take-allmechanism-1List.take 1

DuckDB Integration

-- Query supersparsity concepts by skill
SELECT concept, trit, skill_mapping 
FROM supersparsity_index 
WHERE skill_mapping IN ('compression-progress', 'forward-forward-learning')
ORDER BY trit DESC;

-- TiDAR-Unison bridge
SELECT * FROM tidar_unison_bridge ORDER BY trit DESC;

TiDAR Streaming ZIP Implementation

The rio/​gayzip/​tidar_streaming.py demonstrates moment-by-moment valid ZIP:

# Diffusion phase: parallel compression
for bag_id, bag in zipper.stream_diffusion():
    # Each bag compresses independently (SplitRng.split)
    pass

# AR verification: sequential emission
for chunk in zipper.stream_ar_verify():
    f.write(chunk)  # ZIP valid at each write

Key insight: ZIP local headers are self-contained, so each bag can be emitted as soon as compressed. Central directory streams last, making ZIP fully valid.


End-of-Skill Interface

Commands

# Test TiDAR-style parallel drafting
ucm run rio/​unison-terminus/​gay.u -e "SplitRng.split (SplitRng.fromSeed 42069)"

# Measure gzip complexity of code
gzip -c code.u | wc -c  # raw complexity
ucm run -e "gzipComplexity (Text.fromUtf8 !readFile \"code.u\")"

# Find lottery tickets in operad
ucm run rio/​unison-terminus/​GayOperad.u -e "findWinningTicket allOperations"

Related Skills

  • compression-progress (-1): Curiosity as compression improvement rate
  • forward-forward-learning (+1): Local learning without backprop
  • cognitive-superposition (+1): Multi-hypothesis parallel processing
  • propagators (-1): Bidirectional constraint networks

References

  1. Pandey, R. (2024). "gzip Predicts Data-dependent Scaling Laws" arXiv:2405.16684
  2. Liu et al. (2024). "TiDAR: Think in Diffusion, Talk in Autoregression" arXiv:2511.08923
  3. Frankle & Carlin (2019). "The Lottery Ticket Hypothesis"
  4. Shazeer et al. (2017). "Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer"

Skill Name: supersparsity-unison Type: Bridge (Synthesis) Trit: 0 (ERGODIC) Color: #9B59B6 (Purple)


Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
soliton-detection logo
plurigrid/asi

soliton-detection

Topological soliton detection and agency bridge with anyonic fusion algebra for concept composition

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View