LFM3-Audio-2B Full-Duplex

A real-time 80 ms full-duplex adaptation of LiquidAI/LFM3-Audio-2B. It listens while speaking, yields on interruptions, talks through user backchannels, and emits its own "mm-hmm" / "yeah" backchannels without an external VAD, ASR, or TTS pipeline.

  • Lightweight training: Rank-16 LoRA (68 MB) trained in 45 GPU-minutes (< $10 on the winning path), plus a 91K-parameter Conv1D backchannel head (1.4 MB).
  • Real-time on Apple Silicon: Runs locally in float32 on MPS at 59 ms median per 80 ms step (~3 minutes per live session).
  • Preserved base recall: Keeps ~95% of base spoken trivia recall (29-30 / 120 vs. 31 / 120 turn-based) with 0 caller-persona leaks.

Design Modifications

Base LFM3-Audio-2B is strictly turn-based and never starts speaking on a continuous audio stream (p_start < 1e-5). Four modifications convert it to full duplex:

80 ms Full-Duplex Architecture

  1. 80 ms Interleaved Stream: Feeds one 16 kHz user audio token and emits one 24 kHz LiquidCodec frame every 80 ms inside a single open turn. The LLM starts speaking at p(<|mixed_start|>) >= 0.40 and yields at r(end=2016) >= 0.50.
  2. Window-Likelihood Stop/Keep Loss: Per-frame stop targets caused false stops on multi-word backchannels like "yeah, totally". Replacing them with a 0.24-0.64 s noisy-OR stop window and 2.0 s keep windows raised >= 1 s backchannel hold rate from 58.3% to 93.3%.
  3. Self-Distilled Replies + KL Anchor: Human dialogue transcripts leaked caller personas, while standard SFT shifted turn-start probabilities. Training on LFM3's own assistant replies with depth_decoder frozen and a forward-KL anchor on turn-start logits removed persona leaks (0 / 36) without hurting timing.
  4. KV-Isolated Backchannel Head: Emitting "mm-hmm" inside the single-stream LLM polluted its KV cache and suppressed later answers. A 91K causal Conv1D head on frozen audio-encoder features plays three pre-encoded own-voice clips outside the KV cache, placing 98.4% of backchannels inside active speech with 0 silence false alarms.

Evaluation

Scored on all 727 Full-Duplex-Bench v1.0 clips in float32 using unmodified official scripts (TOR = turn-over rate; latencies in seconds; baselines from Full-Duplex-Bench and Awaken).

Task Metric LFM3-2B Duplex Awaken 30B PersonaPlex Moshi 7B Freeze-Omni Gemini Live 2.0 (API) GPT-Realtime (API)
Pause handling (137 synthetic) TOR ↓ 0.044 0.170 0.584 0.985 0.642 0.255 0.010
Pause handling (216 CANDOR) TOR ↓ 0.116 0.267 0.662 0.980 0.481 0.310 0.120
Backchannel (55 ICC) TOR ↓ 0.000 0.145 0.327 1.000 0.636 0.091 0.000
Freq (/s) ↑ 0.062 0.073 0.025 0.001 0.001 0.012 0.007
JSD ↓ 0.794 0.753 0.649 0.957 0.997 0.896 0.980
Smooth turn-taking (119 CANDOR) TOR ↑ 1.000 0.997 0.992 0.941 0.336 0.655 1.000
Latency (s) ↓ 1.181 0.440 0.070 0.265 0.953 1.301 1.470
User interruption (200 synthetic) TOR ↑ 0.995 0.998 1.000 1.000 0.867 0.891 0.970
Relevance (0-5) ↑ 4.38* 2.681 4.210 0.765 3.615 3.376 3.850
Latency (s) ↓ 0.719 0.598 0.400 0.257 1.409 1.183 1.500

Notes:

  • Judge (*): Scored with gpt-5.6-sol on the unmodified prompt because OpenAI retired gpt-4-turbo.
  • Pause threshold: Official FDB scorers ignore speech under 1.0 s and <= 3 words; in raw frame logs, the model briefly opened speech on 22% of pause clips (0.117 synthetic, 0.167 CANDOR >= 1.0 s) before stopping as the user continued.
  • Stop latency: On mid-sentence interruptions, 59.2% stopped within 1.28 s and 83.8% within 2.0 s (median 1.22 s).
  • Out-of-domain phone calls (OpenYap test, 0 LoRA training): Holds through 92.0% of backchannels (89.7% base) and stops within 1.28 s on 35.8% of casual peer overlaps (8.9% base; 88.3% for a duration timer).

Quick Start

Requires Python 3.12, pip install -r requirements.txt, wired headphones, and LiquidAI/LFM3-Audio-2B (rev 9d49701c372d6011d900f6abb40c6b296fb706dd) at weights/LFM3-Audio-2B (or LFM3_WEIGHTS).

# Live headphone voice chat in browser (--bc-gain 0.25 for quieter murmurs, --bc-head none to disable)
python -m eval.live serve --out talks/local --key live

# Offline evaluation on a .wav/.flac file
python -m eval.demo run --champion --in user_input.wav --out demo_out

Repository Contents

Path Size Description
adapter/ 68 MB Rank-16 LoRA adapter for LFM3-Audio-2B
earhead/head-isolated-v4.pt 1.4 MB 91K causal Conv1D backchannel head
clips/ < 60 KB 3 own-voice backchannel clips + 203 quiet listening frames
duplex/ & eval/ Code 80 ms runtime (conversation.py), WAV runner (demo.py), and browser UI (live.py)
LICENSE 11 KB LFM Open License v1.0 + non-commercial research notice

Known Limitations

  • Headphones & session length: Browser echo cancellation is off, so headphones are required, and MPS KV growth bounds real-time pacing to ~3 minutes.
  • 2B context bleed: Across multi-topic conversations, earlier turns in the KV cache can occasionally bleed into later answers.
  • ~1.2 s turn-pickup latency: start_over = 0.40 favors low pause cut-ins over fast pickup, and very quiet trailing questions can go unanswered.
  • Casual overlaps & prosodic backchannels: Holding through 1-3.8 s acknowledgements makes casual phone barge-ins conservative (35.8% <= 1.28 s), and the ear-head triggers three canned clips from prosody rather than semantics.

Acknowledgements

Thanks to Modal Labs for providing free GPU compute for training this model. The Agentic Data company for the OpenYap Dataset

License

Non-commercial research prototype only. Base weights use the LFM Open License v1.0 (LiquidAI/LFM3-Audio-2B, rev 9d49701c). Turn-timing supervision used otoSpeech turn-104h (oto Speech License v1.0, non-commercial), ear-head training and evaluation used Open Yap 1K v1.0 (no audio redistribution or voice cloning), and synthetic Q&A turns used OASST1, Mintaka, and Qwen3-TTS. Commercial use and dataset audio redistribution are prohibited.

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

Model tree for MAdel121/LFM3-Audio-2B-Full-Duplex

Adapter
(2)
this model