Mimi Distilled Light Ear (rf4) β€” by Voivent

A small causal-padded convolutional network with GroupNorm over the input window (3,272,835 parameters, 13.4 MB ONNX) distilled from the Mimi encoder (Kyutai). It turns a 24 kHz waveform window into the same continuous, pre-quantization features the Mimi encoder produces β€” 512 dimensions at 12.5 Hz β€” at a fraction of the teacher's cost, in a stateless form suited for sliding-window streaming over past audio (e.g., feeding a 320 ms window every 80 ms step).

This release is training run "rf4" (72 epochs, the adopted main run of the project's light-ear distillation, November 2026). The file is student_rf4.onnx.

It was built as the recommended operating-point ear of Jev Base v1, the full-duplex voice base, where the identical file is bundled as ear/student_rf4.onnx. It is published standalone here because the ear is independently useful: any consumer of Mimi encoder features can swap the ~156 MB teacher for this 13.4 MB student without changing the feature contract.

I/O contract

Input wav: float32 [1, 1, samples] β€” mono waveform window at 24 kHz, dynamic length
Output ear_emb: float32 [1, frames, 512] β€” continuous (pre-quantization) latent features
Frame rate one frame per 1,920 samples = 80 ms (12.5 Hz); frames = ((samples βˆ’ 1) // 1920) + 1
Architecture causal-padded depthwise-separable convolution stack with GroupNorm over the input window; receptive field 57.6 frames (4.61 s); 48,356,864 MAC / frame

Frame alignment (important): student output frame t+1 corresponds to teacher frame t β€” the student was trained against the teacher features with a +1 frame shift. Consumers that take the last frame of each window as the current embedding (as the parent pack's runtime kit does) absorb this as a fixed one-frame offset of the whole loop; consumers that align frame-by-frame against teacher output must apply the shift. In practical terms, with W=4 the window's final frame, student[3], corresponds to teacher[2] β€” one frame earlier β€” and the parent pack absorbs this as an 80 ms delay of the whole loop.

Recommended operating point: W=4. Feed the most recent 320 ms (7,680 samples) per step and use the final output frame. This is the operating point the parent pack freezes, paired there with an utterance guard (2 s backchannel suppression).

Measured

Native CPU, independent execution audit of the parent pack (November 2026):

  • 6.49 ms per W=4 window run; 8.53 ms at W=8.

Pixel 9a, ONNX Runtime Web 1.29.0 (Wasm), project bench (2026-11-18):

  • Standalone probe at W=4: median 35.6 ms.
  • In a live microphone session with the utterance guard enabled, the ear measured median 39.5 ms (p95 50.5 ms), and the full body loop it feeds (ear + reflex + driver) measured median 45.1 ms / p95 57.6 ms per 80 ms frame.

Distillation fidelity vs. the teacher (project evaluation; teacher = the Mimi encoder, features consumed by the Jev Core reflex):

  • TTS-24 ignition through the reflex: 24/24 clips.
  • Backchannels produced in closed loop: 1,391 vs. the teacher's 1,372 (101.4%).
  • Open-loop KL to the teacher's action distribution: 0.0204; argmax agreement 0.9835.
  • Cosine similarity to teacher features on held-out real-voice segments: 0.7876 (same speaker, held-out segments β€” not an unseen-speaker figure).
  • On held-out conversations, backchannel count reached 74.6% of the teacher's β€” sustained long-conversation behavior is the known remaining gap.

Limitations

  • Not strictly causal as a standalone graph. The convolutions are causal-padded, but the normalization layers (GroupNorm) compute statistics over the whole input window, so in a single long-sequence run, later frames can influence earlier outputs. Used as intended β€” a sliding window of past audio only, taking the last frame β€” no future audio ever enters the window, and the system behaves causally.
  • Window length matters. A single-frame input (W=1, 80 ms) produces degenerate features; use W=4 (320 ms) or more for real-time use. Measured cosine similarity to full-length inference: β‰ˆ0.75 at W=4, β‰ˆ0.94 at W=8, β‰ˆ0.97 at W=12.
  • The features carry prosody and voice texture, not word meaning; this is an ear, not a recognizer.
  • The distillation corpus was primarily Japanese speech (synthetic conversations, TTS, and recorded real voice), matching the parent pack's use.
  • The student is an approximation of the teacher. For maximum fidelity, use the teacher itself (kyutai/mimi; an fp32 encoder-only ONNX export is bundled in the parent pack).

v2 (run "Bmain") β€” next-generation ear, published alongside v1 as early access

Alongside the v1 model above, this repository also carries the v2 student under v2/: a re-distillation of the same teacher with the normalization redesigned to be frame-wise. v1 (rf4, the file at the repository root) remains the recommended release. v2 has passed the project's standalone verification gates and an independent execution audit, but its integration validation inside the parent pack (bench closed loop and real-device testing) is still in progress, so it is published here as an early-access successor for evaluation β€” not yet as the operating-point ear.

What changed vs. v1:

  • Strictly causal as a standalone graph. v1's window-wide GroupNorm lets later frames influence earlier outputs within a single long run (see the v1 limitations above). v2 replaces it with frame-wise normalization (Pre-Norm LayerNorm over the channels of each frame, with LayerScale), so perturbing a later frame changes no earlier output β€” verified exactly (past-frame change 0.0). There is no short-window degeneracy either: v2 is designed to run one 80 ms frame at a time.
  • Stateful execution. Instead of re-running a sliding window every step, the stateful form carries its convolution state in a single flat tensor, cutting the per-step compute to about a quarter of v1's W=4 window recompute.
  • Same feature contract: 512-dim pre-quantization Mimi features at 12.5 Hz, and the same +1 frame alignment (step k's output corresponds to teacher frame kβˆ’1; step 0 is a transient).

Files (3,275,651 parameters):

File Form Size
v2/student_v2_stateful.onnx stateful, one frame per step 13,161,239 bytes (MD5 ff5a919bd6f56630ca5d0d6aed6f60f2)
v2/student_v2_stateless.onnx stateless, whole-sequence 13,185,062 bytes (MD5 9ddab330c541214004d3c6508fedd939)

v2 I/O contract

Stateful form (the intended real-time form):

Inputs wav_step: float32 [1, 1, 1920] β€” one 80 ms frame at 24 kHz; state_in: float32 [1, 23839] β€” the flat state, all zeros at session start
Outputs ear_emb: float32 [1, 1, 512]; state_out: float32 [1, 23839] β€” feed back as the next step's state_in
Reset zero the state

Stateless form: the same wav / ear_emb contract as v1 (dynamic length), for offline use. The two forms agree to a max abs diff of β‰ˆ2.4e-07.

v2 measured

  • Native CPU, one stateful step: median 2.90 ms (independent audit) / 3.23 ms (project measurement on a Colab CPU instance) β€” about 4% of the 80 ms frame budget.
  • Fidelity, independent audit (continuous synthesized Japanese speech): cosine to teacher features 0.9456, vs. 0.6620 for v1 in its actual W=4 sliding-window operating form; v2's step is ~3.75Γ— faster than that form, and the reflex's open-loop KL to the teacher is ~16Γ— smaller (0.055 vs. 0.90).
  • Project evaluation (72-epoch main run): held-out cosine to teacher features β€” conversations 0.967, TTS 0.863, real voice 0.799; final training MSE 0.0943 (standardized). TTS-24 ignition through the reflex: 24/24 clips; closed-loop backchannel total 78.4% of the teacher's (v1: 101.4%) β€” frame-level agreement with the teacher is better than v1's, but the closed-loop backchannel count runs quieter.
  • 1,500-step continuous run: no divergence, state norm stable, all outputs finite.

v2 limitations and status

  • Input amplitude is assumed to be within [-1, 1]. Beyond that range the output norm grows linearly (an amplitude-10 sine drives the output L2 to 37.4) β€” a natural property of the Pre-Norm structure. If you apply gain in external preprocessing, clip the signal to [-1, 1] before feeding it.
  • Status: standalone gates and the independent audit pass; parent-pack integration is still being validated. In real-device sessions, v2's sharper hearing exposed utterance-gating mismatches in the v1-tuned game harness, which are being addressed on the harness side. Until that validation completes, v1 remains the recommended model, and the parent pack continues to bundle v1.
  • The same corpus and licensing notes as v1 apply (Japanese-leaning distillation corpus; the features carry prosody and voice texture, not word meaning).

License

The student weights in this repository are the project's own work, licensed under the Apache License, Version 2.0 (Copyright 2026 Voivent; see LICENSE).

The student was produced by distillation from Mimi by Kyutai, whose weights are licensed under CC BY 4.0. Attribution and the derivation statement are in NOTICE.

Downloads last month
35
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for cdismus4/mimi-distilled-light-ear

Base model

kyutai/mimi
Quantized
(6)
this model