ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Minor

Audio Flamingo 2: An Audio-Language Model with Long-Audio Understanding and Expert Reasoning Abilities

Sreyan Ghosh, Zhifeng Kong, Sonal Kumar, S Sakshi, Jaehyeon Kim, Wei Ping, Rafael Valle, Dinesh Manocha, Bryan Catanzaro

ELVIA analysis

Independent review pending

The original 48-page paper, its appendices and a pinned Audio Flamingo 2 release were inspected. The supported overall assessment is Minor: the printed loader procedures, one ablation aggregate, GPU-hour units, and released conditioning/cache logic contain specific defects. The central contrastive objective and component-level attention arithmetic have no demonstrated mathematical error in the checked scope. LongAudioBench holdout provenance and judge calibration remain Needs Evidence. No historical benchmark failure or empirical score correction was established. Scientific adjudication is pending.

Problem 1. Printed loader loses weighted samples and finalizes every fitting item

Minor
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

H.2 (p. 21) attributes proportional sampling, useful length grouping and a padding reduction from 58%58\% to 16%16\% to Algorithms 1–2 (pp. 24–25). Algorithm 1 permits a nonempty bucket of size n,n, positive weight w,w, and integer epoch e≥0.e\geq0. Assume readable files and the displayed ascending loop’s ordinary meaning.

Nonempty readable bucket. Positive weight and nonnegative integer epoch. Ordinary ascending loop. Positive in te ge rb sz_mult and individually fitting items.

Proof

Minor: verified published-procedure defect.

The printed endpoints are a=⌊enw⌋ mod n,b=⌊(e+1)nw⌋ mod n.a=\lfloor enw\rfloor\bmod n,\qquad b=\lfloor(e+1)nw\rfloor\bmod n . The loop visits a,…,b−1.a,\ldots,b-1. For n=4,e=0,w=1,n=4,e=0,w=1, all hypotheses hold, yet a=b=0:a=b=0: zero examples instead of four. Weight two likewise gives zero instead of eight. A circular-slice interpretation cannot recover the lost number of full cycles from identical endpoints. For e=1,w=3/4,e=1,w=3/4, endpoints 33 and 22 lose the intended three examples. The positive-multiple-of-nn reshuffling branch is unreachable when both range endpoints are reduced modulo n.n.

Algorithm 2 finalizes whenever batch size is smaller than positive integer `bsz_mult` or divisible by it. Size one always qualifies. If each item individually fits the limits, the first item is finalized and the state resets; induction gives only singleton batches. Eight ten-token items with limits 8080 tokens, eight sentences and multiple two yield eight singletons, although a joint batch of eight fits. Singletons are formally allowed by the alignment rule: the defect is compulsory early finalization that defeats useful packing.

Crucial counterevidence is `audio_flamingo_2/data/data.py`:258–270: the release keeps range endpoints unwrapped and applies modulo only to lookup. Lines 531531–538538 use a fixed-size DataLoader, not the printed dynamic packer. Table 21 gives total training epochs, not necessarily per-loader-epoch weights; it does not establish integer effective weights in historical training. Exact Independent calculations are preserved in .

The published loader is not a usable specification of the reported efficiency procedure. The demonstrated dependency is this supporting data-loading utility: the objective, curriculum and benchmark inference do not logically require the defective literal pseudocode, and the released sampler supplies a working alternative to its first defect. This bounded dependency supports Minor; the reason is neither appendix location nor ease of repair.

Unwrapped endpoints with modulo lookup restore the intended count ⌊(e+1)nw⌋−⌊enw⌋.\lfloor(e+1)nw\rfloor-\lfloor enw\rfloor. Packing should retain a feasible partial batch until a budget or chosen boundary actually requires finalization, with oversized-item handling. Only the sampling repair and local singleton diagnosis were checked. A complete repaired packer and the 58%58\%–16%16\% measurement need implementation and profiling records.

□\square

Possible revision

Keep unwrapped range and modulo only lookup; delaypackingfinalizationuntilappropriatebudget/boundary.

Problem 2. NoLongAudio table average contradicts the displayed categories

Minor
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

Table13no LongAudio average50.22.

Displayed category values correct. Same macro rule asfullAF2column.

Proof

Minor: verified aggregate inconsistency.

Table 13 (p. 17) displays six no-LongAudio scores: 46.02,44.15,51.00,35.92,33.61,42.39.46.02,\quad44.15,\quad51.00,\quad35.92,\quad33.61,\quad42.39. Their macro-average is 42.1816667,42.1816667, not 50.22.50.22. The full-AF2 entries average to 64.1916667,64.1916667, agreeing with its 64.1964.19 aggregate. If Table 11’s Complex QA corresponds to Table 13’s Needle QA, its benchmark counts yield a sample-weighted no-LongAudio score of 43.2311733,43.2311733, also not 50.22.50.22. Independent rational arithmetic excludes a rounding explanation.

If the categories are correct and the same macro rule is intended, the corrected gain is 22.0122.01 points rather than 13.97.13.97. All six categories favor finetuning; this correction strengthens that direction and does not show an inflated benefit. Raw predictions are needed to identify whether the aggregate or category entries are wrong. The verified repair is conditional arithmetic, not new measured performance.

□\square

Possible revision

Use42.18if categories and macro rule are intended.

Problem 3. The GPU-hours column contains elapsed cluster hours

Minor
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

228GPUhoursfor3Bvariantunder128GPUallstages.

Stated128GPU allocation across reported4d5d12hstages.

Proof

Minor: verified unit inconsistency.

H.3 (p. 21) states 128128 A100 GPUs for each stage and variant. The 3B durations are approximately four days, five days and twelve hours: Helapsed=4(24)+5(24)+12=228,HGPU=128(228)=29,184.H_{\rm elapsed}=4(24)+5(24)+12=228,\qquad H_{\rm GPU}=128(228)=29{,}184. Table 20 labels 228228 as GPU Hours. Under the stated allocation it is elapsed cluster hours. Relabel the column, or report aggregate GPU-hours consistently with allocation logs. Neither monetary estimates nor measured durations were independently disproved. The paper already excludes language-model pretraining and failed experiments from these costs.

□\square

Possible revision

Relabel elapsed cluster hours or report allocation-boundGPUhours.

Problem 4. Pinnedrelease has divergent directattention and cachefield mismatch

Minor
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

Released main conditioning corresponds to architecture and cached generation.

Single audio marker. Suppliedmax_window_per_audio1. Incremental call without original marker for cache trace.

Proof

Minor for the pinned release; historical impact Needs Evidence.

The main-path files are `src/helpers.py`, `src/flamingo.py` and `src/flamingo_lm.py` under `audio_flamingo_2/`. Source hashes are bound in the independent check output.

For a single `<audio>` marker and supplied `max_window_per_audio: 1`, `helpers.py`:375–404404 permits direct LM cross-attention only to transformed feature zero. With one allowed key its softmax weight is one, preventing query-dependent selection among audio features at this block. However, `flamingo.py`:186–198198 first concatenates and globally transforms all window features. Feature zero can therefore encode later audio. This is a direct-attention bottleneck, not proof that later audio is inaudible. The pretrained HF helper at lines 368368–375375 omits this restrictive mask, establishing a released-path discrepancy.

Separately, `flamingo_lm.py`:29–4545 initializes and tests `audio_x`/`audio_x_mask`, but its setter writes `sound_x`/`sound_x_mask`. Static AST inspection confirms the disjoint attributes: the setter cannot make that predicate true. On an incremental call without an audio marker, lines 156156–165165 consequently cannot reuse media locations; the main helper’s empty-marker path accesses index zero of an empty list. This invalid static path was not executed in a framework. The HF helper lacks the failing mask branch.

No historical checkpoint/code binding establishes an effect on published scores. Aligning the predicate with actual fields and selecting a consistent attention policy are proposed source repairs; full generation, checkpoint compatibility and empirical effects remain untested. The released two-minute context default is configurable and does not establish that five-minute support is impossible.

□\square

Possible revision

Aligncachefields and consistent attention policy with trained checkpoint.

Problem 5. The cross-stage LongAudioBench holdout lacks IDs

Needs Evidence
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

Long audio evaluation generalizes on unseen training recordings.

Shared collections do not imply actual overlap.

Verification

Needs Evidence; no demonstrated contamination.

Sections 3.1.1 and 4.2 use MiraData and Video ReCap for AF-CLAP and LongAudio; LongAudioBench is sampled from LongAudio. Tables 9, 11, 21 and 23 identify these dependencies. A QA-level split alone cannot establish recording- or parent-video-level separation when segments and questions share recordings.

The release requires users to construct manifests and supplies illustrative configurations. It lacks benchmark IDs, parent-video mapping and stage-specific exclusions needed to check encoder training and all three model-training stages. The p. 6 selection statement of 10%10\% (≈3\approx3k) also needs an intermediate-pool denominator to reconcile with 262,928262{,}928 LongAudio QA pairs.

Counterevidence is explicit: p. 7 says zero-shot datasets are excluded from all stages. Shared collections alone do not demonstrate overlapping recordings. E.7 describes at least two human annotators per QA pair, complete-recording listening and author review. The unverified object is generalization on a recoverably held-out long-audio cohort. Required evidence comprises immutable recording/parent IDs and exact and segment-overlap checks across stage manifests.

Possible revision

SupplyimmutableIDsandexact/segmentoverlapauditallstages.

Problem 6. The LLM judge lacks human calibration and score bindings

Needs Evidence
Evidence and reasoning

Problem statement

For audio xi,x_i, let S(i,i)S(i,i) sum exponentiated similarities over its positive captions; S(j,i)S(j,i) uses another audio’s positives and Sneg(i)S_{\rm neg}(i) uses its compositionally altered negatives. The loss on p. 4 is L=−B−1∑i=1Blog⁡S(i,i)Sneg(i)+∑j=1BS(j,i).\mathcal{L}=-B^{-1}\sum_{i=1}^B \log\frac{S(i,i)}{S_{\rm neg}(i)+\sum_{j=1}^B S(j,i)} . For positive temperature and finite embeddings the denominator includes the numerator, so the probability and nonnegative loss are well-defined. The objective encourages the positive group without guaranteeing identical representations for every paraphrase; the paper asserts no such theorem. An inherited CLAP loss in an inference-oriented release does not establish which custom loss trained AF-CLAP.

The p. 4 attention calculation checks out: l1=80,l_1=80, l2=30⋅64=1920l_2=30\cdot64=1920 give (l1+l2)2=4,000,000(l_1+l_2)^{2}=4{,}000{,}000 prefix-attention pairs and l1l2=153,600l_1l_2=153{,}600 conditioning cross-attention pairs. This component comparison does not remove the quadratic dependence of the three global audio self-attention layers.

LongAudioBench rescaled judge score represents answer quality.

Judge observes question reference answer but no audio.

Verification

Needs Evidence; no demonstrated aggregate ranking reversal.

Figure 25 (p. 40) gives the evaluator a question, reference and response, but no audio. It requests a 11–1010 score without anchored criteria or reported agreement with humans grading model answers while listening. Table 22 (p. 23) gives reference Sad. and a response describing a deep and resonant mood a perfect ten. The latter does not explicitly express sadness; the perfect score needs explanation. This example alone determines neither aggregate bias nor a corrected score without its audio and grading record.

Human validation of reference questions, visual-cue removal (Figure 24), and audio-focused self-verification (Figures 38–39) are meaningful safeguards; they do not independently calibrate output grading. The headline 64.2%64.2\% is a rescaled judge score, not established exact-answer accuracy. Prediction/reference/score bindings, blinded human agreement, repeated-judge sensitivity and exact-option results where applicable would resolve this concern. No replacement aggregate is claimed.

Possible revision

Bindpredictions/references/scores;humanaudioagreementandrepeatedjudge/MCQsensitivity.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

To address this, we implement a dynamic batching scheme that groups audio samples of similar lengths, minimizing padding.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 21

Actual review scope

The recorded inspection concerns these source locations: p. 21H2;pp. 24–25 Algorithms1–2;data.py258–270,531–538; p. 17 Table 13; H3 Table 20p21; mainhelpers375–404;flamingo186–198;flamingo_lm29–45,156–165;HFhelpers368–375; Sections3.1.1,4.2,6.1;Tables9,11,21,23;releaseREADME; Table 22p23;Fig25p40;E7pp17–18.

Submit an author revisionContribute a review