Speech and audio
Audio Captioning, Retrieval, and Question Answering
Build audio captioning, text–audio retrieval, and audio question answering with evidence boundaries, temporal grounding, and evaluation.
By the end you can
- Define audio captioning, retrieval, and question answering as an operational problem with explicit inputs, outputs, and boundaries
- Distinguish captioning, cross-modal retrieval, and audio question answering without treating them as interchangeable
- Trace the workflow from define the evidence policy through evaluate semantically and behaviorally
- Evaluate audio captioning, retrieval, and question answering using retrieval recall and rank under independent splits and evidence from difficult deployment slices
Example
Comparable at captioning, and yes to almost every question
Asking whether a particular sound is in a clip should be easy for a system that can already describe the clip. It is not.
A team at National Taiwan University took AudioCaps clips and wrote 15,110 object-presence questions whose answer was yes. Then 15,110 matched questions whose answer was no. On captioning, the audio-language models they tested were comparable to specialised audio captioning models. On the questions they collapsed. SALMONN-7B answered “Yes” on 92.2% of the random-sampled questions, which bought it an F1 of 24.4. Qwen-Audio-Chat-7B answered “Yes” 79.3% of the time. Kuan and colleagues published the result at Interspeech in 2024.
A system that says yes to nine questions in ten is not answering nine of them. It is producing the shape of an answer. The matched negatives are what make that visible. A question set whose answer is always yes cannot separate a model that listened from a model with a habit.
A review that stops at caption quality never sees any of this. The descriptions read as well as a specialist's. The yes/no answers underneath them were close to a reflex. That gap is what the rest of the lesson is about: producing words about a recording, and being able to defend them against the recording. It runs in both directions.
- The decision here covers the whole subject: build audio captioning, text–audio retrieval, and audio question answering with evidence boundaries, temporal grounding, and an evaluation to match.
- The failure named first is the mirror image of the scene above — a review treating a missing reference caption as proof that a model statement is wrong. The reference sets are plural by construction: Clotho pairs 4,981 clips with 24,905 captions, five independent captions each.
- The evidence anyone would think to ask for is retrieval recall and rank under independent splits. On DCASE 2024 Task 8 the official baseline scored R@1 0.130, R@5 0.343, R@10 0.480 and mAP@10 0.222 on the Clotho development-testing split.
- The practical response is to hold a caption to what the audio supports — events, counts, timing, order, and acoustic properties — and to check, as those 15,110 matched negatives did, that the system can also say no.
Case
Eighteen answers per clip, and the score moves with which ones you keep
Run that failure backwards and you get the other one. Reference annotations are plural by construction, and that is the whole difficulty.
Clotho came out of Tampere University in 2019: 4,981 audio samples of fifteen to thirty seconds, paired with 24,905 captions. That is five independent captions for every clip, each eight to twenty words long. AudioCaps is the other standard set — “46K audio clips with human-written text pairs collected via crowdsourcing on the AudioSet dataset”, in the words of the 2019 paper that introduced it.
Eight to twenty words is not room for everything a thirty-second recording contains. And an annotator who never wrote a sound down was not asserting its absence.
Clotho-AQA measures what that costs. The same Tampere group took 1,991 Clotho clips of fifteen to thirty seconds and collected six questions per clip, then three independent answers per question. Different annotators wrote the questions and the answers. “After the second and final step, we then have 18 question-answer pairs for each of our 1991 audio files,” they write. The dataset record gives the total: “a total of 35,838 question-answer pairs”.
Three answers to one question about one clip do not always match. So the authors scored their binary baseline on three separate subsets: 'Unfiltered data', 'Unanimous', and 'Majority votes'. The same model scored 62.7% on unfiltered data and 73.1% on the subset where all three annotators had answered identically. Same system, same clips, same questions. The only thing that changed was whether the humans agreed with each other.
A model can be penalised for naming something the reference omitted. It can be penalised for an answer two annotators out of three would have accepted. That scores it against one annotator's attention, not against the recording.
Comparison
Describe it, find it, or answer about it
Both of those failures are about words attached to a recording. The three tasks that attach them are not interchangeable. Captioning produces an open-ended description of a recording. Cross-modal retrieval ranks audio and text against each other, and its useful evidence is recall and rank under independent splits. Audio question answering responds to a targeted query about audible evidence, which may require temporal or quantitative reasoning.
MMAU puts a number on the distance between them. It is a 2024 benchmark from the University of Maryland and Adobe: 10,000 human-annotated audio clips spanning 27 skills. Human annotators scored 82.23% on the test-mini split — 86.31% on sound, 78.22% on music, 82.17% on speech. The best audio-language model, Gemini Pro v1.5, scored 52.97%. The best open model, Qwen2-Audio, scored 52.50%.
The highest score of all did not come from an end-to-end audio model at all. A cascade captioned the audio first and then prompted a text-only LLM. GPT-4o with strong captions reached 57.30% on test-mini and 58.74% on test. “The top-performing LALM achieves only 53% accuracy, while the best-cascaded captioning + LLM approach reaches just 59%. In comparison, human performance achieves 82%,” the authors write.
Splitting the problem into captioning and then reasoning over the caption beat doing both at once. And every one of those systems sat far below the annotators who listened.
Evidence that establishes one of the three tasks establishes nothing about the other two. A clip can be ranked first for the query that found it and still carry a caption nobody could defend. A model can caption it well and still fail the question about what is in it.
Captioning
Produces an open-ended description of a recording.
- Decision focus: Define the evidence policy
- Useful evidence: Retrieval recall and rank under independent splits
- Watch for: Treating a missing reference caption as proof a model statement is wrong
- Best used when its assumptions are documented for audio captioning, retrieval, and question answering
Cross-modal retrieval
Ranks audio for text or text for audio.
- Decision focus: Represent time and query
- Useful evidence: Caption coverage, precision, and unsupported-claim rate
- Watch for: Captions describing inferred motives or identities
- Best used when its assumptions are documented for audio captioning, retrieval, and question answering
Audio question answering
Answers a targeted query, potentially requiring temporal or quantitative reasoning.
- Decision focus: Generate or retrieve
- Useful evidence: Temporal grounding and evidence localization
- Watch for: Retrieval benchmarks sharing recordings or captions across splits
- Best used when its assumptions are documented for audio captioning, retrieval, and question answering
Heard, or merely plausible
Underneath all three sits one line, and it has to be drawn in every one of them: between what was directly heard and what is merely plausible around it. A fluent caption can supply location, identity, intent, emotion, cause, or danger beyond the waveform. It costs the model nothing to make the leap.
The AudioCaps probe gave that leap a measurement. 15,110 positive and 15,110 matched negative object-presence questions, each asking an audio-language model whether a given object was there. The line is not a matter of taste once you can count what crosses it.
The finding is worth having in the authors' own words: “Our findings reveal that LALMs are comparable to specialized audio captioning models in their understanding of audio content, but struggle to answer discriminative questions, specifically those requiring the identification of the presence of particular object sounds within an audio clip,” the abstract says. Descriptive fluency and discriminative evidence came apart in the same systems.
Two different questions follow from the line, and they need different numbers. Retrieval recall and rank under independent splits asks whether the right recording comes back. Caption coverage, precision, and unsupported-claim rate asks whether the words about it were earned. Neither number should stand in for the release decision on its own. A system can be comparable to a specialist captioner on the first kind of evidence while answering “Yes” to 92.2% of random-sampled object-presence questions.
Fluency is what makes an unsupported claim hard to spot. The caption that reads best deserves the closest audit: the models in the AudioCaps probe captioned as well as specialised captioners and still answered “Yes” on 92.2% of random-sampled questions, for an F1 of 24.4.
Key idea
World knowledge counted as audio understanding
Fluency is also why the audit has to be deliberate. A sentence about who was in the room, or why they were angry, reads exactly like a sentence about what the microphone picked up. And review moves fast.
Four habits do most of the damage. 1) Treating a missing reference caption as proof a model statement is wrong. 2) Captions describing inferred motives or identities. 3) Retrieval benchmarks sharing recordings or captions across splits. 4) Question answering counting inaudible world knowledge as audio understanding.
The first two are the two directions already seen, and each now has a number attached. The Clotho-AQA baseline moved from 62.7% on unfiltered data to 73.1% on the unanimous subset. That is habit one made visible: some of what looks like model error is annotator disagreement. The 92.2% yes rate that earned SALMONN-7B an F1 of 24.4 is habit two: description offered where discrimination was asked for.
Habit three spoils a number rather than a sentence, and it is now documented, quantified and formally policed. DCASE 2024 Task 8 forbids training on Freesound data that overlaps Clotho's development-testing and evaluation subsets. It publishes a CSV of forbidden Freesound sound IDs to enforce that. An independent audit from Sogang University measured the leak in a common training corpus: “Our analysis (Appendix B) confirms significant overlap—17.7% of AudioCaps test clips and 61.0% of Clotho evaluation clips appear in WavCaps subsets.” That is 173 of 975 AudioCaps test clips and 638 of 1,045 Clotho evaluation clips.
Habit four has been demonstrated twice, by the people best placed to notice. Clotho-AQA's own baselines include a model that gets the question and no audio at all. It reached 63.5% on the binary yes/no task, against 62.7% for the full audio-plus-question model. On the unanimous subset the two scored 71.8% and 73.1%. On the 828-class single-word task the question-only model reached 55.7% top-1, against 54.2% for audio-plus-question. The audio-only model reached 3.2% top-1. “It is interesting to note that the model that takes in only the question performs as good as the model that takes both the inputs,” the authors write.
MMAU ran the control from the other side, replacing every clip with random Gaussian noise. MuLLaMa fell only from 30.66% to 27.7%, and SALMONN from 32.77% to 29.22%. Gemini Pro v1.5 fell from 52.97% to 37.4%, and Qwen2-Instruct from 52.5% to 32.48%. “As shown, the performance of MuLLaMa and SALMONN remains largely unaffected, indicating that these models may not always rely on the audio input to generate responses,” the paper reports. The heading over that passage asks: “Are LALMs really listening?”
A benchmark that lets the same recording sit on both sides of a split reports a recall it never earned: 638 of 1,045 Clotho evaluation clips, 61.0%, were found inside the WavCaps training corpus. And a system whose score barely moves when the audio is replaced by Gaussian noise is being credited for something it never heard.
Visual
Write down what may not be inferred
Keeping those four apart means keeping four stages apart that a single score folds together: measurement, modeling, decision, and verification. The decision comes first, and it is a written one. An evidence policy says what a caption may claim from audio alone.
Define the evidence policy, separating audible observation, uncertain interpretation, metadata, and prohibited inference. Represent time and query, using clip, segment, event, or grounded intervals according to the task. Generate or retrieve, conditioning on audio and text while preserving uncertainty and source boundaries. Then evaluate semantically and behaviorally, combining retrieval metrics, human judgments, grounding, hallucination, and abstention.
Write down what may not be inferred and an object-presence dispute stops being a matter of taste. Identity, intent, cause, diagnosis and emotion go on the list of things a waveform does not establish. The argument is settled before anyone hears the clip.
It is the same move DCASE made about contamination. Rather than argue case by case over which Freesound recordings a team should have avoided, the challenge published the forbidden sound IDs as a list. That made the rule checkable in advance.
- 01
Define the evidence policy
Separate audible observation, uncertain interpretation, metadata, and prohibited inference.
- 02
Represent time and query
Use clip, segment, event, or grounded intervals according to the task.
- 03
Generate or retrieve
Condition on audio and text while preserving uncertainty and source boundaries.
- 04
Evaluate semantically and behaviorally
Combine retrieval metrics, human judgments, grounding, hallucination, and abstention.
The evidence policy you wrote earlier quietly sets the terms of the semantic and behavioral evaluation, which measures against those terms instead of testing them.
Steps
Write an audible-evidence rubric
That is the case for writing the rubric down rather than carrying it in your head. A rubric for audible evidence is what lets another team dispute a judgement you made about a caption, including the captions the references say nothing about.
Four steps. List the allowed claims: events, counts, timing, order, and acoustic properties supported by audio. List the restricted claims: identity, intent, cause, diagnosis, and emotion without adequate evidence. Create contrast prompts — answerable, ambiguous, misleading, and impossible questions. Review the explanations, requiring time spans or source segments for high-impact claims.
The third step is the one teams skip. It is also the one the AudioCaps probe was built around: 15,110 positive questions were matched with 15,110 negatives, precisely because a question set whose answer is always yes cannot tell a listening model from a reflex.
Say what your evidence policy assumes, then give one counterexample. A matched negative object-presence question where the honest answer is no is one. A Clotho-AQA question whose three annotators did not answer identically is another. Then say what the semantic and behavioral evaluation does about each of them.
1. List allowed claims
Events, counts, timing, order, and acoustic properties supported by audio.
2. List restricted claims
Identity, intent, cause, diagnosis, and emotion without adequate evidence.
3. Create contrast prompts
Ask answerable, ambiguous, misleading, and impossible questions.
4. Review explanations
Require time spans or source segments for high-impact claims.
Until a high-impact claim has to point at a time span or a source segment, a dispute about a caption comes down to whose ear you trust.
Example
Count the claims the audio does not support
Whose ear you trust is not a report. The report has to be a portfolio rather than a headline. And both halves of the portfolio have to be read with their own limits in view.
Start with the ranking half. DCASE 2024 Task 8, Language-Based Audio Retrieval, evaluates on a 1,000-clip set with one caption per clip. “Submitted methods will be ranked by the mAP@10 metric”, the task description states. The official baseline scored R@1 0.130, R@5 0.343, R@10 0.480 and mAP@10 0.222 on the Clotho development-testing split. The top-ranked submission, from Primus at CP-JKU Linz, scored 0.416. Even the winning system leaves most queries without the right clip at the top. Recall was never going to carry a release decision alone.
The caption half is no safer. A 2022 paper asked whether audio captions can be evaluated with image caption metrics, and then did the work to answer. Its authors built the AudioCaps-Eval and Clotho-Eval human-judgement benchmarks. They used pairwise comparison rather than absolute rating, because that was what gave usable inter-annotator agreement. Then they checked the metrics everyone had borrowed from image captioning against those judgements. “Current metrics are found in poor correlation with human annotations on these datasets”, their abstract reports of SPICE and CIDEr. Their replacement, FENSE, beat those metrics by 14–25% accuracy.
So give each metric its unit, the clips it was computed over, how uncertain it is, and the split it was taken under. Then say which of them has been checked against a human judgement at all.
- For the core task, retrieval recall and rank measured under independent splits: R@1 0.130 and mAP@10 0.222 for the DCASE 2024 Task 8 baseline, 0.416 for the top-ranked submission, with the forbidden-ID list applied.
- For system behaviour, caption coverage, precision, and the rate of unsupported claims — how often a caption names an object the audio does not contain.
- For the robustness slice, temporal grounding and evidence localization — whether a claim can point at the moment it came from. Add the noise control MMAU ran, where MuLLaMa moved only from 30.66% to 27.7%.
- Over the working life of the system, human usefulness, abstention, and sensitivity to misleading questions, measured on matched negatives rather than on questions whose answer is always yes.
Report retrieval recall and rank under independent splits together with human usefulness, abstention, and sensitivity to misleading questions. The first can look clean while the words attached to the clip were never earned. And the metric scoring those words was itself found in poor correlation with human judgement.
Key takeaways
- Audio-language models were put through 15,110 positive and 15,110 matched negative object-presence questions on AudioCaps, in a probe from National Taiwan University. On captioning the models matched specialised captioners. SALMONN-7B still answered “Yes” on 92.2% of random-sampled questions, for an F1 of 24.4, and Qwen-Audio-Chat-7B on 79.3%.
- Fluency is the hazard. A caption can supply location, identity, intent, emotion, cause, or danger beyond the waveform and still read exactly like a description of what the microphone picked up. That is why how often a caption names an object the audio does not contain has to be counted rather than judged.
- Write the evidence policy — what a caption may claim from audio alone — before building anything, and close with semantic and behavioral evaluation. DCASE 2024 Task 8 made the same move about contamination. It published a forbidden Freesound ID list instead of arguing case by case.
- Captioning, cross-modal retrieval, and audio question answering answer related but different questions. On MMAU's 10,000 clips across 27 skills, a cascade that captioned first and then prompted a text-only LLM scored 57.30% on test-mini. That was above every end-to-end audio model, including Gemini Pro v1.5 at 52.97%. Human annotators scored 82.23%.
- Clotho's 24,905 captions over 4,981 clips, five per clip and eight to twenty words each, are the reason a missing reference is not proof of a model error. Clotho-AQA priced the disagreement: the same binary baseline scored 62.7% on unfiltered data and 73.1% where all three annotators had answered identically.
- Report retrieval recall and rank under independent splits alongside behaviour and abstention. The DCASE 2024 Task 8 baseline reached mAP@10 0.222 and the winner 0.416. 638 of 1,045 Clotho evaluation clips (61.0%) turned up inside WavCaps. And a question-only Clotho-AQA model scored 63.5% against 62.7% for the model that also heard the audio.