detectonic-0.2.0-KTA-w7
Drone wake-word + sound-class detector (two-head: wake logit + 4-class sound) built on a
SqueezeNet1.1-style backbone with fire modules, trained on log-mel spectrogram windows
(5-s clips rendered as RGB images). MUGA self-wrapped quantization β packed sub-1-bit binary weights with a bit-count (MUGA) GEMM engine implemented as a custom on-device kernel (muga/), plus the int8 surrogate used for stock-kernel execution.
Performance in context
Full results on the public leaderboard: https://huggingface.co/spaces/Tonic/audio-drone-detection-leaderboard Β· machine-readable rows in the Tonic/drone-detectonic-0.1-benchmark-results dataset.
| hardware | benchmark | wake F1 | unified F1 | duty | latency ms | parity |
|---|---|---|---|---|---|---|
| host-cpu | c5-valid | 0.4 | 0.9885 | 0.755 | 6.72 | 56/56 wake decisions vs own float32 ONNX on 56 clips (max |
| esp32-s31 | c5-valid | 0.4 | 0.9885 | 0.0 | 2453.7 | 56/56 wake decisions vs own float32 ONNX on 56 clips @thr 0. |
| esp32-s3-n8r8 | c5-valid | 0.4 | 0.9885 | 0.0 | 4034.4 | spot 2/2 clips logged (wake logits on run_x_w7kta.log) |
| esp32-s31 | c5-valid | 0.4 | 0.9885 | 0.755 | 22879.816071428573 | 56/56 wake decisions and 56/56 class argmax vs torch sign-mo |
| esp32-s3-n8r8 | c5-valid | 0.4 | 0.9885 | 0.0 | 59185.175 | 24/24 wake decisions vs torch sign-model GT (mean |
| esp32-s31 | c5-valid | 0.0 | 0.0 | 0.0 | 802.9 | 56/56 wake decisions vs own float32 ONNX (max |
Model size: params 1021765 Β· ONNX 2.92 MB Β· train rows 168016 Β· epochs 12 Β· input 224px.
Architecture (3D wireframe + measured forward pass)
Interactive explorer: docker image detectonic-explorer (demo/model_explorer, port 8080).
Demos (interactive explorer + forward pass)
- Live demos (protected Space, source private, app public via embed):
Tonic/detectonic-explorer Β·
embed: https://tonic-detectonic-explorer.hf.space Β·
/interactive 3D architecture explorer Β·/demo.htmlsplit-screen tour of all models Β·/anim/forward_pass.htmlself-contained forward-pass animation - Protected artifact copy (gated): Tonic/detectonic-demos
(
explorer/static source,captures/GIFs) - Family grouping: HF collection Detectonic KTA model family
Intended use
On-device acoustic drone detection on ESP32-class MCUs (ESP32-S31 PIE, ESP32-S3) and host CPUs: wake decision + sound classification per 5-s spectrogram window. Not for weapon/vehicle identification beyond the 4-class sound taxonomy.
Training data
Cited datasets (see frontmatter): Tonic/unified-drone-acoustic-cuas-v2 β 168016 training windows with gain jitter and spectrogram masking augmentation; evaluation on clean rendered windows.
Evaluation
metrics.json (unified validation F1 0.867, duty 1.0,
held-out wake F1 0.4); per-clip predictions in preds_valid.jsonl /
preds_test.jsonl; training log train_log.txt.
Artifacts
.gitattributesSHA256SUMS.jsonaudio_wake_cnn.onnxbench_masterpie_s31.jsonbench_masterpie_s31.logbest.ptint8/host_eval_w7lb.jsonint8/model_w7kta_224_int8_fused.tfliteint8/model_w7kta_224_int8_pc.tflitemetrics.jsonmuga/MUGA_KERNEL.mdmuga/SHA256SUMS.jsonmuga/export_packed_bin.pymuga/muga_kernel.cppmuga/muga_kernel.hmuga/lb_s31.jsonmuga/lb_s31_summary.jsonmuga/lb_torch_gt.jsonmuga/lb_xiao.jsonmuga/lb_xiao_summary.jsonmuga/littlefs_muga_xiao.binmuga/model_muga.binmuga/parse_lb_bench.pymuga/run_lbk_sweep.logmuga/run_lbk_xiao.logmuga/validate_blob_numpy.pypreds_test.jsonlpreds_valid.jsonltrain_log.txtweights_packed.pt
Integrity: SHA256SUMS.json where present.
Lineage
Derived from Tonic/detectonic-0.2.0-KTA-w7-multih-i224. Wave w7; quantization line MUGA.
- Downloads last month
- -
Model tree for Tonic/detectonic-0.2.0-KTA-w7
Base model
Tonic/detectonic-0.1.0-KTADataset used to train Tonic/detectonic-0.2.0-KTA-w7
Collection including Tonic/detectonic-0.2.0-KTA-w7
Evaluation results
- unified_val_F1 on windows_5s validationself-reported0.867
- wake_duty_cycle on windows_5s validationself-reported1.000
- heldout_wake_F1 on windows_5s validationself-reported0.400
- latency_ms_esp32_s31 on windows_5s validationself-reported2453.700
- latency_ms_esp32_s31 on windows_5s validationself-reported22879.816
- latency_ms_esp32_s31 on windows_5s validationself-reported802.900
