compression-progress

Compute compression progress rewards from old_bits and new_bits.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill compression-progress
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compression-progress
Source: https://github.com/plurigrid/asi/tree/main/skills/compression-progress
Command: npx skills add https://github.com/plurigrid/asi --skill compression-progress

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compression progress provides an intrinsic reward signal for learning systems, driving curiosity when model compression improves.

Core Features & Use Cases

  • Progress as reward: compute compression improvement over time.
  • Curriculum generation: design tasks with high expected progress.
  • Trajectory visualization: plot learning curves.

Quick Start

just compression-progress before.model after.model data/

Frequently Asked Questions about compression-progress

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

FAQPage Schema
How does compression progress measure learning improvement in agents?

Compression progress measures learning by computing the derivative of a compressor's performance over time—specifically, the reduction in bits needed to encode data as the model improves. It generates an intrinsic reward signal r(t) = |C(t-1)(data)| − |C(t)(data)|, returning a positive reward when compression efficiency increases, driving curiosity and exploration in learning systems.

Can I use compression progress to generate curricula for learning tasks?

Yes. Compression progress identifies tasks with high expected improvement, enabling curriculum generation where the system prioritizes learning experiences that maximize compression gains. This approach drives task selection and exploration strategies by rewarding observable progress in model compression.

What data formats and model checkpoints does compression progress work with?

Compression progress accepts model checkpoints (before and after states) and data files as inputs. The Python interface computes old_bits and new_bits from compress(data) calls, making it compatible with any compressor and data domain where you can measure bit reduction between sequential model states.

How do I calculate compression rewards from two model versions?

Use the command-line interface: `compression-progress before.model after.model data/`. The Skill computes compression metrics on your data across both model versions and returns the intrinsic reward signal based on bit reduction, enabling direct integration into learning loops and curriculum design.

What's the difference between compression progress and other intrinsic reward methods?

Compression progress grounds intrinsic motivation in measurable model improvement rather than novelty or prediction error. It directly quantifies learning efficiency by tracking bits saved, making reward signals interpretable, reproducible, and aligned with actual compression gains in the learned representation.

When should I not rely on compression progress as a reward signal?

Avoid compression progress when your data domain has minimal compressibility, when model improvements don't correlate with bit reduction, or when you need rewards independent of model state changes. It's most effective for domains where compression efficiency meaningfully reflects learning progress.