ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: DAMA: Data- and Model-aware Alignment of Multi-modal LLMs — Problem 1: Central model-aware algorithm is undefined at its specified first step

Original paper: Jinda Lu; Junkang Wu; Jinghan Li; Xiaojun Jia; Shuo Wang; Yi-Fan Zhang; Junfeng Fang; Xiang Wang; Xiangnan He. DAMA: Data- and Model-aware Alignment of Multi-modal LLMs. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/lu25m.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Section 3.2 Eqs. (8)-(14), p. 4 Eqs. (15)-(16), pp. 4-5 Algorithm 1, p. 14

Question: What does the recorded analysis establish about “Central model-aware algorithm is undefined at its specified first step”?
Bounded finding:
N: 16. K: 12. Beta: 1/10. Gamma: 9/10. Policy: pi_theta=pi_ref=pi_SFT. Preferred probability: 1/4. Rejected probability: 1/8. Remaining probability: 5/8. Reward gap: 0 for every batch item. Initial running mean: 0. Normalized gap: 0/0. Data factor: Any allowed finite factor, including 1. Released implementation uses detached raw gaps, stochastic weighted selection and a mean-of-sigmoids ratio. Released initial model factor is exactly 1. Released selected model statistic averages 12 entries at \(N=16\). No released or historical NaN, training collapse or score reversal demonstrated.

Recorded check:
Locations: Section 3.2, Eqs. (8)-(14), p.4; combined coefficient, Eqs. (15)-(16), pp.4-5; Algorithm 1, p.14. Algorithm 1 initializes both policy and reference to the same SFT model. Equation (8) defines a beta-scaled policy/reference log-ratio gap. The text following Eq. (14) explicitly initializes its running mean to zero. Equation (9) divides every gap by that mean, and Algorithm 1 calls Eqs. (9)-(11) before its first gradient or running-state update.
Exact witness satisfying the operative setup: use N=16, K=12, beta=0.1 and momentum gamma=0.9, as in the reported configuration. For each batch item, let both identical models assign preferred-response probability 1/4 and rejected-response probability 1/8, with the remaining 5/8 assigned to other responses. These are normalized distributions with positive probabilities and finite log ratios. A finite data-aware factor, including alpha_D=1, is allowed. Every reward gap is exactly zero; the initial running mean is exactly zero. The required normalized gaps are therefore 0/0.
Consequently the distance mask, selected-batch statistic, model-aware factor and combined beta are not defined by the printed procedure at the first update. The later EMA update cannot resolve a value already needed to compute that update. This is not a counterexample using an inadmissible distribution, a zero response probability or an unmentioned asymptotic regime.
The severity follows the role of the missing definition: the model-aware factor is one of the two principal contributions and is required to operate the training rule. A first-step convention and the actual estimator must be specified to make that contribution reproducible. No convergence or universal-performance theorem is invented or challenged here; the demonstrated failure is in the central algorithm as written.
\[\pi_\theta=\pi_{\mathrm{ref}}=\pi_{\mathrm{SFT}}\quad\Longrightarrow\quad R_i=\beta[\log 1-\log 1]=0,\qquad \bar R_0=0,\qquad \widetilde R_i=\frac{0}{0}.\]
Equation (10) retains distances no greater than the K-th smallest distance. With distinct distances it retains K items, as also labeled in Figure 3. Equation (11), however, divides their sum by N-K. At N=16 and K=12, that is a division by four instead of twelve.
A separate positive-state arithmetic check sets Rbar=1 and normalized gaps \(r_i\)=0.80+0.01i for i=1,...,16. All distances from one are distinct, so the mask retains indices 5,...,16. Their sum is 10.86: the actual retained mean is 0.905, while Eq. (11) gives 2.715. With gamma=0.9 the next state is 0.9905 for the retained mean but 1.1715 for the printed statistic. This checks Eq. (11) on a finite input; it does not claim that the undefined first-step algorithm reaches this state.
Replacing the denominator by the actual retained count verifies the mean for a fixed mask. Ties at the K-th distance can retain more than K examples, so exact cardinality also requires a tie rule. The retained-count error supports Major within Problem 1 on its own core dependency: the incorrect statistic enters the model-aware sigmoid factor in Eq. (12), the combined training coefficient in Eqs. (15)-(16), and the next running state in Eq. (14). The finite positive-state witness therefore changes the central update, not just a displayed label. The simplicity of the denominator repair does not make this defect peripheral. It remains grouped with the startup failure as one method-specification finding, without asserting that the undefined startup reaches the diagnostic state.
A denominator correction alone does not define the zero-state normalization, decide which gap scale the EMA tracks, or reconcile the different selection and sigmoid-aggregation rules in the release.
\[\sum_i M_i r_i=\frac{543}{50},\qquad \frac{\sum_i M_i r_i}{N-K}=\frac{543}{200},\qquad \frac{\sum_i M_i r_i}{\sum_i M_i}=\frac{181}{200}.\]
The active source is sources/0080/DAMA/DAMA/llava/train/train_dpo.py, especially lines 1220-1291, 1343-1349 and 1361-1391. It constructs detached raw log-ratio gaps A, without the paper’s multiplication by beta and division by the running mean. It samples floor(0.8N) indices without replacement using Gaussian distance weights. It then averages sigmoid(A) over the selected entries and divides by the sigmoid of its running raw-gap mean. Its EMA updates from all unfiltered raw gaps, and its combined beta is clipped below at 0.001.
At identical policies and a zero running state, this implementation has a model factor of 0.5/0.5=1. For N=16 its ordinary selection retains twelve entries and the model statistic averages those twelve. The paper’s literal zero division and divide-by-four error are therefore not observed runtime defects in this release.
These changes are substantive choices, not algebraic rearrangements: for selected gaps [-2,0,4], mean(sigmoid(A)) is 0.5337389040, whereas sigmoid(mean(A)) is 0.6607563688. Stochastic selection also differs from the deterministic K-th-distance mask. The repository establishes a finite alternative, but without an authenticated training commit/configuration/log mapping it does not identify which exact recipe generated every table.
\[\alpha_M^{\mathrm{code}}=\frac{\operatorname{mean}_{i\in S}\sigma(A_i)}{\sigma(\mu)},\qquad A_i=\mu=0\ \Longrightarrow\ \alpha_M^{\mathrm{code}}=1.\]

Case-wide limitations:
- 0080-F1 — Central model-aware algorithm is undefined at its specified first step — Counterevidence: Released implementation uses detached raw gaps, stochastic weighted selection and a mean-of-sigmoids ratio
- 0080-F1 — Central model-aware algorithm is undefined at its specified first step — Counterevidence: Released initial model factor is exactly 1
- 0080-F1 — Central model-aware algorithm is undefined at its specified first step — Counterevidence: Released selected model statistic averages 12 entries at N=16
- 0080-F1 — Central model-aware algorithm is undefined at its specified first step — Counterevidence: No released or historical NaN, training collapse or score reversal demonstrated
- 0080-F2 — Hallucination rates are described as reductions, and four 13B relative gains are inconsistent — Counterevidence: All 24 ablation deltas correct
- 0080-F2 — Hallucination rates are described as reductions, and four 13B relative gains are inconsistent — Counterevidence: All 16 DAMA-versus-DPO directions remain favorable
- 0080-F2 — Hallucination rates are described as reductions, and four 13B relative gains are inconsistent — Counterevidence: Specific listed ObjectHal/AMBER GPT-4V comparisons survive, without universal benchmark dominance
- 0080-F4 — Historical training, data preprocessing and benchmark reproduction are not identified by the release — Counterevidence: Field names containing logits do not prove required softmax preprocessing was omitted; no missing-softmax runtime bug established
- Missing materials: Historical training commit/configuration/log and table linkage
- Missing materials: Sub-sentence and CLIP cached-score preprocessing plus dataset statistic provenance
- Missing materials: Benchmark responses, evaluator prompts/version records and run-to-table manifest
- Missing materials: Resolution of Table 1 73.08 versus Table 4 71.2 vanilla NonMen baseline
- Missing materials: Distributed engine/RNG behavior and retained-count logs
- Missing materials: Raw curve arrays and repeated-run uncertainty
- Not performed: Author code import/execution
- Not performed: Training, model inference, paid API or benchmark rerun
- Not performed: Software installation
- Not performed: Controller queue modification
- Not performed: Complete repair adoption or empirical validation
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
The experimental results demonstrate: (1) All strategies significantly outperform the baseline method (DPO), especially our final “DAMA”, achieving more than 10% response level performance gains, highlighting the effectiveness of our method; (2) Compared with “MDPO”, the performance gain of “D2PO” is relatively modest, suggesting that the quality of the preference data is already high, which further validates the efficacy of the preference data construction strategy (Yu et al., 2024c).
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 5
Source PDF SHA-256: 54b2fe12b1bd3e6887d0df612fb8d55ecb2c43a48bb6057b13a8546d45972fe5

Review status: Independent review pending
Case: icml2025-0080-dama-data-and-model-aware-alignment-of-multi-modal-llms
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0080-dama-data-and-model-aware-alignment-of-multi-modal-llms.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0080-dama-data-and-model-aware-alignment-of-multi-modal-llms/records/icml2025-0080-dama-data-and-model-aware-alignment-of-multi-modal-llms.r1.json
Canonical record SHA-256: f288c3b055c677aa29f630fba00a69c6b00092cb340b8a4df94818980bd746e3
The page follows the latest revision; the versioned record identifies this snapshot.