EEG-Language Pretraining for Highly Label-Efficient Clinical Phenotyping
ELVIA analysis
Independent review pending
The published all-pairs sum defining the principal contrastive alignment objective is invariant to the identity of paired observations and attains its minimum at uniform similarities. A legal normalized-embedding example therefore favors collapse over correct pairing. This is Major for the core mathematical definition, without establishing that the historical experiments used it. The pinned MIL implementation also differs substantively from the published positive-aggregation loss; its historical empirical impact remains unresolved.
Problem 1. Eq9 all-pairs sum loses pair identity
MajorEvidence and reasoning
Problem statement
For batch size the paper uses normalized EEG and text embeddings in a common space. Let The reverse direction uses the analogous text-to-EEG row softmax, denoted Equations (7)–(8) define negative log probabilities. Equation (9) then states The double sum and absence of a positive-pair mask were confirmed visually. This is the ELM strategy; the separate orthogonal regularizer discussed for ELM does not impose an additional constraint on this example.
ELMe,l contrastive paired alignment§2.1.1.
,unit EEG/text vectors, ELMe,l lacks the separate ELMl orthogonal restriction.
Proof
Equation (9), p. 4, does not implement the paired alignment described in Section 2.1.1. The supported assessment is Major for this central mathematical definition.
For any strictly positive probability vector summing to one, concavity of the logarithm gives with equality exactly at Applying this to every row in both directions yields Equal cross-modal similarities attain the bound. In particular, setting all normalized embeddings equal is allowed and is a global minimizer. Independently permuting text examples only permutes entries/rows in the full sums, leaving the objective unchanged. It therefore contains no information about which EEG belongs to which text.
A complete admissible finite example has and All norms are one, all cosine similarities lie in and the correct-pair probability is the displayed formula gives Setting all four unit vectors equal gives strictly lower. Minimizing the stated objective thus favors losing discrimination rather than retaining the strongly correct pairings in this legal example. Parent calculation output: .
Possible revision
Single diagonal sum restores paired-softmax distinction, not historical soft-target implementation.
Problem 2. MIL mean-log versus log-mean discrepancy
MinorEvidence and reasoning
Problem statement
For batch size the paper uses normalized EEG and text embeddings in a common space. Let The reverse direction uses the analogous text-to-EEG row softmax, denoted Equations (7)–(8) define negative log probabilities. Equation (9) then states The double sum and absence of a positive-pair mask were confirmed visually. This is the ELM strategy; the separate orthogonal regularizer discussed for ELM does not impose an additional constraint on this example.
MIL selective positive aggregation.
Nonempty positive sets,,unit vectors,valid crop counts.
Proof
Equations (10)–(11), p. 4, and the pinned loss implementation apply different objectives to multiple positives.
For an anchor with positive samples and softmax probabilities the paper uses In `models/loss.py`, lines – masked `log_softmax` values are averaged, giving The configured MIL training route calls this class (trainer/configuration evidence is bound in verification). Jensen’s inequality gives with equality for equal positive probabilities, including
A legal example uses EEG vectors with recording IDs and text vectors with IDs padded to dimensions. Every vector has unit norm, every anchor has a positive, crop counts are within the stated maxima, and For the first text anchor the probabilities are The two losses are respectively and For the first scaled logit, their partial derivatives are These are derivatives with respect to logits, not claims about complete embedding-gradient trajectories. They show the objectives are not related by a constant scale or offset. The auxiliary’s complete bidirectional example gives versus Parent logit-partial results are ; the bidirectional output is .
The paper motivates MIL as relaxing alignment of every individual positive pair. The release uses an all-positive log loss with a different weighting preference. This is a supported Minor release-to-method discrepancy; the effect on the published metrics and positive-aggregation ablation remains Needs Evidence. A later source change or a miswritten publication formula could explain the mismatch. No historical run was reconstructed.
The exact expression implements the paper’s per-anchor loss. Its algebra is verified here; changing the historical algorithm or claiming restored benchmark performance is not.
Possible revision
Full-logsumexp minus positive-logsumexp pluslogm implements stated equation only.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Therefore, we introduce a MIL alignment strategy that builds on ELMe,l and accommodates multiple positive samples, allowing for more nuanced multimodal relationships.
{'label': 'PMLR 267 / ICML 2025 published proceedings version', 'publisher_publication_date': '2025/10/06', 'pages': '19480-19504', 'landing_url': 'https://proceedings.mlr.press/v267/gijsen25a.html', 'pdf_url': 'https://raw.githubusercontent.com/mlresearch/v267/main/assets/gijsen25a/gijsen25a.pdf', 'accessed_utc': '2026-10-24T14:10:14.547436+00:00'}; PDF p. 4
Actual review scope
The recorded inspection concerns these source locations: PDF pp. 3-4Eqs7-9; Eqs10-11;p. 4;models/loss.py90-121.