LiquidCodec: A 74M-Parameter Audio Codec Engineered for Fast On-Device Decoding
Summary:Liquid AI has documented LiquidCodec, an approximately 74M-parameter audio codec used by LFM3-Audio and LFM3-Omni to convert speech into model-predictable discrete tokens and reconstruct waveforms. The design combines conventional spectral processing with an exactly symmetric encoder and decoder, targeting high-fidelity reconstruction, low-precision inference, and fast token-to-waveform decoding on devices. Liquid says the codec matches similarly sized systems on reconstruction quality and comp
Where LiquidCodec Fits in the LFM3 Speech Pipeline
Modeling raw PCM samples directly in an audio language model creates long sequences and expensive per-token computation. A practical pipeline separates this into two stages: a tokenizer converts a waveform into discrete audio tokens, the language model predicts a token sequence, and a detokenizer reconstructs the waveform from those predicted tokens.
Liquid AI has documented LiquidCodec, an approximately 74M-parameter component used by LFM3-Audio and LFM3-Omni. Its objectives extend beyond audio compression. The codec must preserve reconstruction fidelity, produce a token distribution that LFM models can predict reliably, and decode tokens to waveforms quickly enough for streaming, on-device interaction.
Architecture
Spectral Processing and a Symmetric Codec
LiquidCodec follows the standard waveform → feature vectors → discrete tokens → waveform path. Conventional spectral processing first maps the time-domain signal into time-frequency features. A quantizer maps those continuous features into a finite vocabulary, and the decoder reconstructs audio from the resulting discrete representation.
The implementation uses an exactly symmetric encoder-decoder structure and is built on the LFM3 architecture for compact deployment. That symmetry can simplify interface design and optimization, but it does not automatically imply shared encoder and decoder weights; the actual implementation would need to be checked in code.
Moving Away from Sequential RVQ Dependencies
Liquid AI previously used Mimi in LFM2-Audio-1.5B, citing approximately 96M parameters and a 1.1 kbps bitrate. Mimi uses residual vector quantization, where each stage quantizes the residual left by the previous stage. Abstractly, if e_l is the residual at stage l, the update is e_l = e_(l-1) - Q_l(e_(l-1)). This hierarchy is compact, but it introduces sequential codebook dependencies and cascaded decoding complexity.
The new design is intended to weaken those dependencies. Liquid AI cites finite scalar quantization as a representative alternative: continuous features are constrained to combinations of finite scalar levels rather than being corrected through a multi-stage residual chain. This direction can simplify parallel quantization and token prediction and may make the representation easier for a language model to learn. The trade-off is that quantization capacity, bitrate, and reconstruction quality still have to be balanced; parallelism alone does not prove that audio quality will improve.
The disclosure does not enumerate LiquidCodec's complete quantizer configuration, codebook sizes, token rate, or exact FSQ implementation, so it should not be equated with a particular public FSQ codebase.
Performance Claims and Their Boundaries
Liquid AI says LiquidCodec matches similarly sized models in reconstructed-audio quality and speech compression while outperforming them in speech generation and token-to-waveform decoding speed. A more specific engineering signal comes from LFM2.5-Audio-1.5B: the team replaced only the third-party detokenizer used by the previous model and reports an 8× detokenization speedup.
That comparison is useful because it changes a relatively narrow component. It does not show that the entire LFM2.5-Audio model runs 8× faster end to end. If audio is generated token by token, end-to-end latency still depends on token-generation throughput, sampling steps, prompt length, and scheduling.
Engineering Trade-offs
| Design choice | Potential benefit | Associated cost | | --- | --- | --- | | Discrete audio tokens | Shorter LM sequences and lower bandwidth and attention cost | Quantization can introduce metallic artifacts, transient loss, or prosodic distortion | | Parallel-friendly quantization | Lower quantization and generation complexity, improving device latency | May require a higher bitrate or more training data to preserve quality | | Low-precision inference | Less memory traffic and potentially higher throughput | More sensitive to kernels, accumulation precision, and quantization granularity; gains vary by hardware | | Symmetric encoder-decoder | Consistent interfaces and simpler optimization | May constrain asymmetric designs optimized separately for encoding and decoding | | On-device streaming | Lower network dependence and better privacy and first-response latency | Bounded by peak memory, power, thermals, and window size |
For 74M dense parameters, raw weight storage is roughly 148 MB in FP16, 74 MB in INT8, and 37 MB in INT4. These estimates exclude scales, metadata, activations, runtime state, and workspace buffers. Whether the encoder and decoder remain resident simultaneously also affects peak memory.
Bitrate can be approximated as B ≈ R_t × b + overhead, where R_t is tokens per second and b is the information carried per token. Doubling the token rate also doubles LM context and transport costs. Adding bits per token can preserve more information, but weakens compression. Real-time deployments should track RTF = processing time / audio duration and emphasize p95 or tail latency rather than average throughput alone.
Evidence Still Needed
- Liquid AI refers to similarly sized baselines, but the current disclosure does not provide a complete list of models, versions, and matched inference configurations.
- Hardware, batch size, numerical precision, absolute latency, real-time factor, peak memory, and power measurements are not provided.
- The disclosure does not fully specify objective metrics, listening-test procedures, corpus coverage, or LiquidCodec's exact bitrate. Metrics such as PESQ, ViSQOL, and STOI also cover only selected aspects of perceived quality.
- The 8× figure is a first-party result from a detokenizer-only replacement and still needs independent, end-to-end streaming replication.
- The material does not clearly provide code, weights, a license, or download endpoints. A technical disclosure should not be treated as an immediately deployable open-source component.
Deployment Guidance for Developers
- Establish the artifact's status first: technical disclosure, model-internal use, public API, and open weights imply very different integration requirements.
- Compare LiquidCodec with Mimi under the same protocol, fixing sample rate, target bitrate, corpus, precision, and hardware. Record encode speed, decode real-time factor, first-chunk latency, p95 latency, peak memory, and energy per minute of audio.
- Combine objective metrics with human listening tests covering accents, noise, emotional speech, long utterances, consonant transients, and mixed audio. No single metric captures every generative artifact.
- Do not swap a new tokenizer into an existing LFM checkpoint without validation. A changed vocabulary alters sequence statistics and prediction difficulty, potentially requiring retraining or substantial fine-tuning.
- For streaming deployment, tune the analysis window, quantization frame length, and lookahead together. Smaller windows reduce first-packet latency but can remove context and increase boundary discontinuities.
- Validate FP16, INT8, and more aggressive quantization separately on target hardware. Weight size alone does not predict quality, latency, or device compatibility.
Bottom Line
LiquidCodec's main contribution is the joint optimization of audio compression quality, language-model predictability, and decoding speed within a roughly 74M-parameter component. If the reported reconstruction quality and 8× detokenization improvement can be reproduced under matched conditions, the codec could reduce the on-device inference cost of LFM3 speech models. At present, it is best treated as a consequential component awaiting validation rather than a fully released, drop-in replacement for Mimi.
— END —Source: Liquid AI Blog (2026-11-12)
Tags: #LiquidCodec #Audio Codec #Discrete Tokens #On-Device Inference #LFM3
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments