Experiments
An experiment connects a configuration, dataset, recipe, and deploy-package target. Use it to reproduce a specific codec or as the starting point for a new configuration.
Golden identifies a registered reference experiment. Registration alone does not establish that its remote package is published or that it is validated for your device.
Choose an experiment
Section titled “Choose an experiment”- RVQ: a learned encoder, residual vector quantizer, and decoder.
- SPIHT: a wavelet-based DSP codec.
- Hybrid: a learned front end combined with a DSP codec.
- Two-stage: an RVQ codec with a paired entropy prior for its token stream.
| Experiment | Compression | Structure |
|---|---|---|
ppg-rvq-2x | 2× | Codec |
ppg-spiht-2x | 2× | Codec |
ppg-hybrid-2x | 2× | Codec |
ppg-rvq-4x | 4× | Codec |
ppg-spiht-4x | 4× | Codec |
ppg-hybrid-4x | 4× | Codec |
ppg-rvq-8x | 8× | Codec |
ppg-spiht-8x | 8× | Codec |
ppg-hybrid-8x | 8× | Codec |
ppg-rvq-16x | 16× | Codec |
ppg-spiht-16x | 16× | Codec |
ppg-hybrid-16x | 16× | Codec |
ppg-rvq-32x | 32× | Codec |
ppg-spiht-32x | 32× | Codec |
ppg-hybrid-32x | 32× | Codec |
ppg-rvq-4x-prior | 4× | Codec + entropy prior |
ppg-rvq-8x-prior | 8× | Codec + entropy prior |
| Experiment | Compression | Structure |
|---|---|---|
ecg-rvq-2x | 2× | Codec |
ecg-spiht-2x | 2× | Codec |
ecg-hybrid-2x | 2× | Codec |
ecg-rvq-4x | 4× | Codec |
ecg-spiht-4x | 4× | Codec |
ecg-hybrid-4x | 4× | Codec |
ecg-rvq-8x | 8× | Codec |
ecg-spiht-8x | 8× | Codec |
ecg-hybrid-8x | 8× | Codec |
ecg-rvq-16x | 16× | Codec |
ecg-spiht-16x | 16× | Codec |
ecg-hybrid-16x | 16× | Codec |
ecg-rvq-32x | 32× | Codec |
ecg-spiht-32x | 32× | Codec |
ecg-hybrid-32x | 32× | Codec |
ecg-rvq-64x | 64× | Codec |
ecg-spiht-64x | 64× | Codec |
ecg-hybrid-64x | 64× | Codec |
ecg-rvq-4x-prior | 4× | Codec + entropy prior |
ecg-rvq-8x-prior | 8× | Codec + entropy prior |
Reproduce one experiment
Section titled “Reproduce one experiment”First install from source and prepare the dataset named on the experiment page. The runner checks dataset availability before training.
uv run compressionkit golden run ppg-rvq-4xThe experiment page gives the output directory, configuration, and expected deploy artifacts. Publication is a separate release action; it is not needed to evaluate a local codec.
Reproduce a group
Section titled “Reproduce a group”These commands run every registered experiment for the selected signal and can require substantial training time and storage.
uv run compressionkit golden run-all --modality ppguv run compressionkit golden run-all --modality ecgTo add a method or customize a recipe, see experiment architecture and adding a codec family.