Skip to content
←Back to Open Source

OPEN SOURCE DEEP DIVE

Audio UnderstandingAudio DecisionsSpeaker VerificationSpeech Quality

Qwen-Audio-Jev: audio questions, judgments and scores in one forward pass

Alibaba Token Foundry open-sources an audio decision family: three typed readouts (Choice, Noul, Score) return candidate probabilities, a proposition probability or an expected rating in one question-conditioned forward pass, with no autoregressive answer text. This article walks the compute bill of the 35B-A3B and 0.8B variants, the implementation limits of 160 ms streaming decisions, the strengths and weak spots across 32 dataset-task configurations, and the split between MIT code and CC BY-NC-SA weights.

QwenAudio/Qwen-Audio-Jev88PythonMIT13 min read

What this repository is

Qwen-Audio-Jev is an open-source family of audio decision models from Alibaba's Token Foundry team, with weights published on Hugging Face under FunAudioLLM. The question it answers is narrow: given audio, a natural-language question and an explicitly written answer space, return candidate probabilities, a proposition probability or a rating in one question-conditioned forward pass. No autoregressive answer text is generated, and nothing downstream has to parse free text. The repository ships the inference interface, HF loading code, a CLI, a Python API, 31 task templates and benchmark notes; the two checkpoints, Qwen-Audio-3.1-Jev and Qwen-Audio-3.1-Jev-Tiny, are separate downloads. The technical report is arXiv:2610.21614, and the repository and weights went public on 29–30 November 2026.

The report names its lineage plainly. The typed decision primitives come from TypeSafe AI's Jev; Google's Gemini Decisions API is the multimodal cousin of the same idea; in audio, AudioJev (arXiv:2610.01293) preceded it with an order-consistency objective against candidate permutation. Qwen-Audio-Jev's contribution is adapting a pretrained audio-language model to support all three readouts — selection, binary judgment and scoring — through one dedicated decision head, with each training example supervising only the primitive its labels actually support.

First frame of the official Qwen-Audio-Jev walkthrough: a Choice task with four candidate descriptions, the decision output selecting B and listing all four candidate probabilities

Three primitives, three answer spaces

Choice takes 2 to 64 candidate descriptions and returns a probability distribution over them plus the highest-probability option. Candidates are descriptions supplied with the question, not fixed global class IDs: the same output indices can mean acoustic scenes in one question and emotion categories in the next. Noul takes a binary proposition, such as whether two recordings contain the same speaker, and returns the probability that it is true, on 0–1. Whether to cut that probability at 0.5 or anywhere else is an application-side decision rule; the model does not choose it. Score takes 2 to 10 level descriptions ordered low to high and returns level probabilities plus an expected level index. To read a value on a 1–5 MOS scale you must pass score_values explicitly, which adds mapped_score to the response. Numbers written inside the question or the level descriptions are treated as text and never parsed into a scale.

PrimitiveAnswer spaceNative outputTasks shipped in the repo
Choice2–64 ordered candidate descriptionsCandidate probabilities + selected optionAudio QA, intent, dialect, instrument, scene, emotion, language, perceived speaker gender and age
NoulOne binary propositionProbability the proposition is true (0–1)Speaker verification, yes/no audio QA, turn completion, speech activity, overlap, sarcasm, synthetic speech detection
Score2–10 ordered rating levelsLevel probabilities + expected level index, optional mapped ratingOverall quality, noisiness, coloration, discontinuity, loudness, pronunciation accuracy, fluency, prosody, intelligibility

All three share one request format: a task, a question, a criteria block, and one or two local audio attachments named audio_0 and audio_1 in input order, with roles input, reference or comparison. Speaker verification uses role and order to say which clip is the reference and which is being compared. One request carries one question; several questions mean several forward passes.

The heads read the state at <decide>

The architecture has four stages: audio encoder, audio-to-language adaptor, language backbone, and three dedicated decision heads. The adaptor groups adjacent encoder frames to downsample the sequence before projecting into the decoder's hidden width; the backbone processes that acoustic representation together with the task text. In the complete-clip layout a learnable <decide> token follows the audio, and under causal attention its final state summarizes the question, the answer specification and the audio evidence before it. All three heads read from that state.

Qwen-Audio-Jev architecture: question and answer specification first, audio second, the decision-token state feeding Choice (d→64), Noul (d→1) and Score (d→10) affine projection heads

The heads are affine projections d→64, d→1 and d→10, with d equal to 2048 for the base variant and 1024 for Tiny. Choice and Score use fixed-capacity index projections; when a question supplies fewer candidates or levels than the capacity, only the valid logits enter the softmax and the rest are masked out. The prompt layout is equally fixed: the System message holds a constant instruction plus the compact task JSON, the User message holds contiguous audio spans followed by <decide>, with no User end marker, no Assistant prefix, no think template and no placeholder answer. <decide> must be an already-trained token in the checkpoint; inference never adds a random embedding. Neither checkpoint contains an autoregressive text output head, and the loader does not create a replacement.

Two variants, two compute bills

VariantAudio encoderLanguage backboneBF16 weightsStreaming
Qwen-Audio-3.1-Jev~636M, full attentionQwen3.5-35B-A3B MoE, 40 layers, hidden 2048, 256 routed experts with 8 selected per token, ~3B active~64.9 GiBNo
Qwen-Audio-3.1-Jev-Tiny~160M, 160 ms local attentionQwen3.5-0.8B dense, 24 layers, hidden 1024~1.73 GiBYes, with a stream-trained checkpoint

The base variant's 64.9 GiB is weights only; audio features, intermediate activations and runtime allocations take additional memory, so single-GPU inference means an 80 GB-class card. Tiny's 1.73 GiB brings the requirement down to consumer-grade memory, and the benchmark tables below show what that costs. The HF path runs one process with one visible GPU. For resident weights and batched requests, the FunASR vLLM integration loads the audio encoder, adaptor and decision heads itself and runs the Qwen3.5 text backbone through vLLM. The docs record a validation on one L20Z with 81,559 MiB: max_model_len=2048, max_num_seqs=2, GPU memory fractions of 0.30 for Tiny and 0.88 for base, with the base text weights taking 63.61 GiB of cache. Across nine published requests, single-request and two-request batches matched the release reference at all 126 decision positions — decoder inputs, BF16 decision hidden states, the three raw logit tensors and the final JSON responses. Switching to --vllm-precision native enables fused attention and expert kernels, and raw logits, probabilities and expected scores can then vary with batch formation; calibrate thresholds on the inference path your application actually uses.

Streaming: one decision every 160 ms

Streaming belongs to Tiny only, and only to checkpoints trained with <decide_streaming> plus their matching tokenizer; adding the token to an older checkpoint does not produce a streaming model. Each chunk is 2,560 mono samples at 16 kHz, i.e. 160 ms. The Whisper frontend turns each chunk independently into 16 frames of 128-bin mel features; the encoder and adaptor produce one audio token immediately followed by one query token, and the causal decoder retains the entire preceding audio and query history. Every completed chunk emits a result. A partial final chunk raises an error unless pad_final_chunk is explicitly enabled, in which case the padding count is recorded.

Resident sessions are handled by JevStreamingSession: the model stays in memory, each session owns its history, and waveform packets of arbitrary size are pushed in and cut on 2,560-sample boundaries. The reference implementation recomputes the causal prefix at every step, has no KV cache, and makes no real-time latency claim; context overflow raises instead of silently cropping history. Running the streaming interface over a whole file evaluates all causal query positions together and does not simulate audio arrival. Only two streaming tasks are evaluated today: speech activity probability, and a rolling SNR level over the preceding 1.28 seconds (ten levels with boundaries at −10, −5, 0, 5, 10, 15, 20, 25, 30 dB). The 160 ms figure is the audio step, not measured inference latency.

Training: each example supervises only the primitive it has

The starting point is an audio-language model already supervised-fine-tuned on audio captioning, open-ended question answering, audio grounding and multiple-choice QA; encoder, adaptor, backbone and decision head are then trained jointly. Every example is organized as audio–question–criteria–target: categorical labels build Choice targets, binary judgments build Noul targets, and annotations with explicit ordinal structure build Score targets. A recording need not carry all three kinds of label, and missing annotations supply no supervision. Choice uses cross-entropy with support for soft targets, and candidates are randomly permuted during training together with their target probabilities to discourage reliance on fixed answer positions. Noul uses binary cross-entropy. Score combines level-distribution cross-entropy with 0.25 times a squared cumulative-distribution difference and 0.10 times a SmoothL1 term on the expected-level error, penalizing ordinal displacement and mean-score error respectively. The base variant adds the MoE load-balancing loss and router z-loss; Tiny's dense backbone needs neither, and its SFT mixes streaming and non-streaming examples.

Evidence: 32 dataset–task configurations

Task / benchmarkMetricJevJev-Tiny
Audio QA / MMAU (full 10,000 questions)Accuracy ↑79.23%71.79%
Spoken-language understanding / MMSUAccuracy ↑82.38%66.58%
Deep audio reasoning / MMARAccuracy ↑67.70%52.90%
Speaker verification / VoxCeleb1-OAccuracy ↑ / EER ↓94.20% / 5.66%93.23% / 6.85%
Turn completion / Smart Turn v3.2Accuracy ↑96.39%95.49%
Overall speech quality / NISQANormalized MAE ↓ / Pearson ↑0.1110 / 0.81640.1090 / 0.8057
Synthetic speech detection / In-the-WildAccuracy ↑ / ROC AUC ↑69.04% / 72.55%69.46% / 78.70%
Streaming speech activity / AISHELL-4F1 ↑ / recall ↑—95.67% / 97.35%
Streaming rolling SNROrdinal MAE ↓ / within one level ↑—0.6348 levels / 88.79%

The strengths sit where acoustic or lexical cues are well defined: language identification at 99.10%, LibriSpeech gender at 98.93%, short commands at 93.48%, non-verbal vocal events at 92.69%. The full MMAU score combines the 1,000-question public mini subset with 9,000 hidden-answer questions submitted to the official evaluation service. The streaming sample sizes are stated too: AISHELL-4 contributes 1,441 meeting segments and 286,310 scored readouts with the VAD threshold of 0.20 selected on validation data; rolling SNR contributes 360 segments and 29,736 readouts.

Answer-position stability is the result worth reading separately, because the interface promises that candidates are descriptions rather than class slots. Rotating the correct answer through all 64 positions, padding the list with None and counting filler selections as errors, the base variant's mean accuracy moves by less than 0.3 percentage points against native option order on all three benchmarks, and semantic consistency stays above 91% in both conditions. Tiny loses 7.00, 8.52 and 5.88 percentage points of mean accuracy on MMAU-mini, MMSU and MMAR, and its semantic consistency in the 64-slot sweep falls to 73–78%. The base variant largely keeps the promise; Tiny still feels position pressure under long candidate lists.

Figure 3 of the technical report: accuracy curves as the correct-answer position sweeps from 1 to 64; the base variant stays nearly flat while Tiny declines toward later positions

Boundaries to carry while reading those numbers

Emotion and age judgments are not uniform: MELD accuracy is 56.85% while macro-F1 is 38.84%, which indicates uneven performance across categories rather than broadly strong recognition. Environmental sound classification varies substantially across datasets, so success on one sound taxonomy does not transfer to another. Synthetic speech detection at the fixed 0.5 threshold has a 59.31% false-negative rate with ROC AUC of only 72.55%; both the operating point and the cross-threshold ranking leave room, so pick a threshold on your own data before using it as a gate. On the Score side, recording-quality benchmarks align well with human ratings (NISQA normalized MAE 0.1110, about 0.4439 MOS points; VoiceMOS/BVCC Pearson 0.8673), while pronunciation and delivery are much weaker: SpeechOcean762 Pearson correlations are 0.4117 for pronunciation accuracy, 0.3906 for fluency and 0.3249 for prosody. Low error and high correlation are different claims — NISQA discontinuity ranks recordings well despite larger absolute errors than coloration — and the report deliberately publishes error and correlation together.

Tiny's trade-offs deserve the same explicitness. It stays close to base on NonSpeech7k and gender classification, but FLEURS across 20 languages drops to 40.10% (base 99.10%) and MINDS-14 intent to 46.41% (base 82.88%): language-dependent and question-conditioned decisions are what it gives up first. On the engineering side, BF16 probabilities can differ between whole-file inference and resident sessions because batch and sequence shapes differ; the CLI's JSONL batch mode validates the whole batch, then runs requests sequentially and reloads the model for each one, so it is not a batching speedup; Score evaluation and prediction must use the same scale mapping; and the streaming numbers come from recording replay, not latency measurement. The two open roadmap items are also the current limits: longer-audio non-streaming understanding, and streaming decisions for more general tasks.

Running it: install, request, response

The environment is Linux, Python 3.10–3.12, and CUDA-matched PyTorch and TorchAudio builds (Transformers requires PyTorch 2.4 or later); the HF profile pins Transformers 5.3.0. Install PyTorch first, then run the setup script; if system FFmpeg is missing it installs the imageio-ffmpeg 0.6.0 static binary into the virtual environment. FLA and causal-conv1d are optional accelerators with a PyTorch fallback.

git clone https://github.com/QwenAudio/Qwen-Audio-Jev.git
cd Qwen-Audio-Jev
python scripts/setup_hf.py --venv .venv
source .venv/bin/activate

export JEV_CHECKPOINT=/path/to/jev-hf
export CUDA_VISIBLE_DEVICES=0
qwen-audio-jev --input examples/choice.json --output runs/choice.json

A request is plain JSON. This one asks about instrument family, with candidate descriptions supplied alongside the question:

{
  "task": "choice",
  "question_id": "instrument_family",
  "question": "Which instrument family is present in audio_0?",
  "criteria": {"bass": "Bass instrument", "guitar": "Guitar", "keyboard": "Keyboard instrument"},
  "audio": ["audios/choice.wav"],
  "audio_roles": ["input"]
}

Relative audio paths inside JSON resolve against that JSON file; paths passed to --audio resolve against the current working directory. In Python, JevModel().predict(...) returns the structured response; for Score, pass score_values=[1,2,3,4,5] and read mapped_score for the 1–5 MOS value, since the native score is an expected level index. Existing output files are never overwritten, so repeated runs need new output paths. --validate-only checks the request and audio paths, --check-inputs verifies tokenization, mel features and query positions on CPU; neither loads a model or measures accuracy. Sequence length is selectable among 2048, 4096 and 8192, defaulting to 2048.

Licensing and audio: MIT code, non-commercial weights

The repository's original code and modifications are MIT, but both Hugging Face checkpoints carry CC BY-NC-SA-4.0: non-commercial, share-alike. That clause precedes every benchmark number in any plan to ship this inside a commercial product. Third-party material is inventoried as carefully: the audio encoder and adaptor code is adapted from NVIDIA Megatron-based sources and keeps their notices, selected FunASR decoding and frontend code is bundled under MIT, and Whisper's mel-filter loading code is MIT as well; the component inventory records SHA256 checksums of the license files. For audio, the four bundled clips (an NSynth bass note, two LibriSpeech clips from one speaker, one NISQA LiveTalk clip) are distributed under CC BY 4.0. Six further demo clips are fetched from the official demo page with python examples/task_demo.py --download-demo-audio (about 3 MB, sizes and SHA256 verified per file) and retain their source-specific terms; the CC BY 4.0 statement does not cover them. The official demo page offers ten complete-audio cases and two streaming cases with playback and example predictions.

What it fits, and what it does not

It fits decisions whose output is bounded and repeated: voice activity and turn completion at the front of a call pipeline, speaker-verification gates, quality scoring before audio enters a library, classifiers that route audio into different processing branches. Those jobs previously meant either a separate small model per task or a general audio-language model generating a sentence that software then parses. The Jev interface keeps the question and answer space in natural language while returning typed probabilities and ratings, removing the parsing and validation layer. Tiny's streaming readouts suit per-chunk judgments on the capture path; base suits offline batch QC and review.

The misfits are equally clear. Open-ended audio conversation, captioning or long-form answers have no autoregressive text head here. Closed-source commercial distribution runs into the weights' non-commercial clause. And a promise of "X milliseconds of real-time latency" is not something the docs make: they give an audio step and replay-based evaluation, while the reference resident implementation still recomputes its prefix. Stating those limits is what matches the repository as published — an inference interface that types audio decisions, plus an evaluation that lays out its weak spots alongside its strong ones.

Repository: github.com/QwenAudio/Qwen-Audio-Jev · Weights: FunAudioLLM/Qwen-Audio-3.1-Jev and Jev-Tiny · Demo: qwenaudio.github.io/qwen-audio-jev · Technical report: arXiv:2610.21614

As an Amazon Associate, we earn from qualifying purchases.