A
PPG
signal compression codec using Residual Vector Quantization (RVQ), optimized for edge and wearable devices.
Model Details
Modality:
PPG
Sample Rate:
64 Hz
Compression Ratio:
4.0x
Quantization:
INT8
RVQ Levels:
4
Codebook Size:
256 entries × 16D
Encoder Input:
[None, 1, 320, 1]
Encoder Output:
[None, 1, 80, 16]
Quality Metrics
Fidelity & Robustness
Both fidelity yardsticks are reported so the codec is judged fairly:
faithfulness
is PRD vs the recorded (still-noisy) input, while
truth fidelity
is PRD vs clean ground truth. Lower is better.
Metric
Value
Truth PRD vs clean (%)
1.14
Truth PRD at native noise (%)
34.36
Faithful PRD vs input (%)
3.44
PRD degradation slope (PRD%/dB)
4.40
PRD at 0 dB SNR (%)
75.92
PRD at -6 dB SNR (%)
104.75
Pure-noise imprint autocorr
0.2853
Time Domain
PRD here is faithfulness (vs the recorded input); see
Fidelity & Robustness
above for the clean-truth and noise-regime view.
Metric
Mean
Median
P90
PRD vs input — faithfulness (%)
3.4358
1.3207
4.2732
RMSE
0.0183
0.0131
0.0318
Cosine Similarity
0.9959
0.9999
0.9999
Spectral
Band Total Relative Error (median):
0.0065
Bitrate
Usage
Python (compressionkit runtime)
from compressionkit.runtime import RVQCodec
codec = RVQCodec.from_pretrained("Ambiq/compressionkit-ppg-4x")
# Encode: float32 signal → RVQ indices
indices = codec.encode(signal)
# Decode: RVQ indices → reconstructed signal
recon = codec.decode(indices)
Local deployment directory
codec = RVQCodec("path/to/deploy/")
Files
File
Description
encoder_int8.tflite
INT8 quantized encoder (on-device)
encoder.h
C header for encoder
decoder_float32.tflite
Float32 decoder (server-side evaluation)
decoder_int8.tflite
INT8 decoder (optional, on-device)
codebook.npz
RVQ codebook tables
codebook.h
C header for codebook
config.json
Deployment manifest
sample_stimulus.npz
Synthetic test data
quality_scorecard.json
Full evaluation metrics
Dataset & License
Training data: BIDMC + BUT PPG + PPG-DaLiA + WESAD (all open, no restricted-access dependency). Sample data uses synthetic physiokit waveforms only — no patient data is redistributed.
Model weights are released under the
Ambiq Model Weights License
— deployment is restricted to Ambiq silicon devices. See
LICENSE-MODEL-WEIGHTS.md
for full terms.
Citation
@software{compressionkit,
author = {Ambiq AI},
title = {compressionKIT: Signal Compression for Edge AI},
url = {https://github.com/AmbiqAI/compressionkit}
}
Runs of Ambiq compressionkit-ppg-4x-v1.0 on huggingface.co
138
Total runs
0
24-hour runs
10
3-day runs
25
7-day runs
-120
30-day runs
More Information About compressionkit-ppg-4x-v1.0 huggingface.co Model
More compressionkit-ppg-4x-v1.0 license Visit here:
compressionkit-ppg-4x-v1.0 huggingface.co is an AI model on huggingface.co that provides compressionkit-ppg-4x-v1.0's model effect (), which can be used instantly with this Ambiq compressionkit-ppg-4x-v1.0 model. huggingface.co supports a free trial of the compressionkit-ppg-4x-v1.0 model, and also provides paid use of the compressionkit-ppg-4x-v1.0. Support call compressionkit-ppg-4x-v1.0 model through api, including Node.js, Python, http.
compressionkit-ppg-4x-v1.0 huggingface.co is an online trial and call api platform, which integrates compressionkit-ppg-4x-v1.0's modeling effects, including api services, and provides a free online trial of compressionkit-ppg-4x-v1.0, you can try compressionkit-ppg-4x-v1.0 online for free by clicking the link below.
Ambiq compressionkit-ppg-4x-v1.0 online free url in huggingface.co:
compressionkit-ppg-4x-v1.0 is an open source model from GitHub that offers a free installation service, and any user can find compressionkit-ppg-4x-v1.0 on GitHub to install. At the same time, huggingface.co provides the effect of compressionkit-ppg-4x-v1.0 install, users can directly use compressionkit-ppg-4x-v1.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
compressionkit-ppg-4x-v1.0 install url in huggingface.co: