Full-Duplex-Bench’s code and data are licensed CC BY-NC 4.0: non-commercial use only. This repository contains none of it.
data fdb-v15 downloads the v1.5 subsets from the benchmark’s official Google Drive, and the suite downloads the official scoring code (get_timing.py, eval_behavior.py, instruction/behavior.txt, get_transcript/asr.py) at the pinned revision 3e799c45 into the Hugging Face cache, checking each file’s SHA-256. Using the suite means accepting those terms.fdb suite follows the reference runner (benchmarks/duplex/fdb_v15, pinned in benchmark/eval/fdb_reference.py) metric for metric, so its numbers can be compared with that runner’s. v1.5 has 498 pairs in four categories: user_interruption (200), user_backchannel (98), talking_to_other (100) and background_speech (100). A pair is the user’s query with a later overlapping event (input.wav) and the query alone (clean_input.wav); each is its own session.
Prepare the dataset and judges
The example uses a local Qwen judge and an optional OpenAI judge. Start the local judge with the model, revision and settings in the comments beforerun fdb. The OpenAI judge needs OPENAI_API_KEY; without it that judge is skipped and the report records why.
What each score measures
Each number is per category and forall, the mean and standard deviation over repeats.
- Observation window. The model’s output over
[0, T], T the input length, as 16 kHz mono with exactly the input’s sample count. A frame-synchronous model emits one output frame per input frame, so this is the audio a client would hear with no transport delay. A client that streams in real time and plays what arrives, as the reference runner does, also gets the server’s processing and transport delay in its window.wall_ms_per_frameandon_time_rateshow whether the server kept up live. - Stop and response latency. The official
get_timing.pyon Silero VAD speech spans (silero-vadpackage; user spans merged across 0.6 s gaps, model spans across 0.5 s). Stop intervals are overlaps of user and model speech; response intervals run from the end of a user span to the next model start. These are whole-file intervals of the overlap session, pooled: the mean over every interval of every timed session, null when there is none. Lower stop latency is better onuser_interruption; on the other three categories the model should keep its turn, so the overlap mostly tracks how long the other speech lasts. - Behavior labels. The four files of a pair are transcribed with word timestamps by the official ASR script on
nvidia/parakeet-tdt-0.6b-v2(pinned revision and SHA-256; needsnemo_toolkit[asr]), then each judge labels the pair with the official prompt:C_RESPOND(addressed the overlap),C_RESUME(ignored it and continued),C_UNCERTAIN_HANDLING(asked for a repeat) orC_UNKNOWN(off-target or silent). The share that should be high isC_RESPONDonuser_interruptionandC_RESUMEon the other three. Shares are over valid labels;judged_pairssays how many there were. - Semantic quality (not official; one local judge, as in the reference runner). Each pair is graded
accept,failorunresolvedoninteraction_handling,relevanceandgroundingwith the reference judge’s frozen prompt and schema;jointfails if any axis fails and accepts only if all three accept. A verdict without an exact quote of its source becomesunresolved.quality = A/(A+F)andcoverage = (A+F)/N, N every selected pair: read them together. Before grading, six frozen control cases must reproduce all 18 expected statuses, or the run is not graded.
Judges and agreement
A judge is an OpenAI-compatible chat endpoint, named with--judge NAME=...:
- Local:
NAME=http://host:port/v1, served by vLLM or SGLang. M* cannot be the judge: the behavior requests sendtop_k: -1, which M* refuses (top_kmust be 0 or more), and the semantic requests need a reasoning parser and ajson_schemaresponse format, which M* does not have. The model sent is the endpoint’s/v1/modelsentry (URL#namepicks one), and every reply must report it. Behavior labels decode as the reference judge does: non-thinking, temperature 0, top_p 1, top_k -1, 512 tokens, retry seeds 1 to 3. The semantic judge runs in thinking mode, temperature 0, seed 1, in batches of 8 pairs; start the server with--reasoning-parser qwen3so the JSON answer arrives incontent.Qwen/Qwen3.8-27Bis the reference runner’s choice. - API:
NAME=openaiisgpt-4o-2024-08-06, the paper’s judge, with the official decoding. It readsOPENAI_API_KEY(andOPENAI_BASE_URL) from the environment and is skipped, with the reason in the results file and the report, when the key is not set. Keys are never written anywhere.
<category>.<judge>.<label>), so compare runs only under the same judge. With two or more judges, every repeat also records agreement.<a>.<b>.agreement and .kappa (Cohen’s) over the pairs both labeled validly, and agreement pools them over repeats into a confusion matrix with per-category agreement and each judge’s label shares. A local judge’s numbers are for comparing like with like; use the API judge to compare with published results.
Rejudge saved results
rejudge adds a judge to finished results from the transcripts they hold, without a server or GPU (for example once an API key is available), and recomputes the label and agreement metrics:
--semantic-only --semantic-judge NAME regrades only the semantic axes and keeps every judge’s labels; --retry-failed relabels only the pairs whose label from an unchanged judge failed. Rate limits, server errors and dropped connections are retried with the same request and seed, with exponential backoff (Retry-After honored), so they never move the official loop to its next seed; a pair whose retries run out is failed.