ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Diffusion on Language Model Encodings for Protein Sequence Generation — Problem 3: pLDDT averaging drops within-rank sequence multiplicity

Original paper: Viacheslav Meshchaninov; Pavel Strashnov; Andrey Shevtsov; Fedor Nikolaev; Nikita Ivanisenko; Olga Kardymon; Dmitry Vetrov. Diffusion on Language Model Encodings for Protein Sequence Generation. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/meshchaninov25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: src/metrics/plddt.py:31-40 src/metrics/metric.py:24-27,40-43 PDF p. 4 and p. 16

Question: What does the recorded analysis establish about “pLDDT averaging drops within-rank sequence multiplicity”?
Bounded finding:
Source computes distinct-sequence mean per rank, not ordinary generated-draw mean. Released-evaluator semantics correction; historical central quality/ranking effect Needs Evidence.

Recorded check:
The inspected release’s `src/metrics/plddt.py`, lines 31–40, stores a predicted score under the protein-sequence string: \(\texttt{result[protein] = score}\). The active caller in `src/metrics/metric.py`, lines 24–27, averages that dictionary’s values. Repeated occurrences on one rank overwrite their earlier entries.
Complete check. Assume a deterministic quality score \(q(u)\in[0,100]\) for each distinct sequence \(u\), and let \(m_u\) be its multiplicity among generated draws. The ordinary mean over draws is \[\bar q_{\rm draws}=\frac{\sum_u m_uq(u)}{\sum_u m_u},
 \qquad
 \bar q_{\rm unique}=\frac{1}{|\{u:m_u>0\}|}\sum_{u:m_u>0}q(u).\] The code computes the second quantity within each rank. Take four valid score-bearing draws \(A,A,A,B\), with hypothetical scores \(q(A)=90\), \(q(B)=30\). Then the generated-draw mean is \(75\), while the one-rank dictionary mean is \(60\). This example uses admissible score values, assumes no score stochasticity, and executes no folding model. If split into equally sized rank lists \((A,A)\) and \((A,B)\), the equal average of rank-local unique means is \((90+60)/2=75\). Thus even with equal shard lengths, the implemented result can depend on the partition. The independently authored finite calculation reproduces these values.
Counterevidence and impact. Quality of distinct outputs is a legitimate estimand when explicitly defined, especially alongside a diversity measure. It is not the same as average quality per generated attempt. A dictionary may also serve as a computation cache, but the final average must then restore each key’s multiplicity if the target is the draw mean. When all predictions are distinct, the present implementation agrees with the draw mean on equal-sized shards. The paper explicitly discusses duplicate generation in some baselines, so this distinction is relevant to comparative evaluation; it does not prove that this release evaluated those historical baselines, or establish the direction of any historical ranking change.
This is a Minor released-evaluator defect in its correspondence to the stated sample evaluation. Its effect on published core comparisons is Needs Evidence. A precise local repair is to retain a score per sample index, or cache by sequence while averaging with occurrence counts, and reduce sums/counts across ranks. Algebra verifies that this restores the intended finite-sample mean. No corrected protein score is claimed.
The same file averages PDB atom B-factors, whereas p. 16 describes residue averaging. These agree if residue weights are equal or appropriate aggregation is used; otherwise atom counts weight residues differently. The exact dependency/PDB convention was not independently run here, so that additional correspondence remains unresolved. A separate unequal-shard indexing issue exists when sample count is not divisible by world size, but the default counts 512/2,048 are divisible by the usual configured multi-GPU counts; it is not used to infer damage to reported runs.

Case-wide limitations:
- P1 — Cluster-density definitions and reported values disagree — Counterevidence: Different conditional denominators could produce sums above1 but require corrected definitions. Either ESMc number remains below ESM2-650M .986; either RFD USR remains below DiMA .10. Other primary metric comparisons are not refuted.
- P2 — pLDDT averaging drops within-rank sequence multiplicity — Counterevidence: Unique-output quality is defensible if declared; no duplicates/equal scores remove discrepancy. No historical source binding, generated multiplicities or score shifts are available.
- P3 — Decoder training denormalizes twice — Counterevidence: Identity statistics, fixed-point inputs or decoder invariance can remove the discrepancy. README permits skipping Stage 2 using pretrained lm_head; other encoders and historically different code are outside the demonstrated dependency. Actual normalization tensors/checkpoints and historical bindings are missing, so quantitative score losses remain unknown.
- P4 — CHEAP shorten-two mask reduces requested length twice — Counterevidence: Current configured/pretrained path is shorten1; original shorten2 experiment binding is absent.
- Limitations: Historical experiment-to-commit/config/checkpoint binding and raw generated sequences/metric outputs are absent.
- Limitations: Actual encoder normalization statistics, trained decoder weights and dataset payloads were not acquired or executed under the task contract.
- Limitations: Available repository lacks conditional family/motif/fold experiment drivers and complete BLAST/NW/CD/PCD/NCD/OT/structural metric pipelines.
- Limitations: Two source-map-listed length-distribution NPY payloads remain intentionally excluded; immutable archive/member mappings are preserved.
- Limitations: Optional OpenReview metadata/separate supplement access was HTTP 403 during source preparation; attachment existence and later errata/revisions are unresolved.
- Limitations: No author-code execution, protein-generation/folding run, empirical reproduction, replacement benchmark scores or validated full repaired pipeline.
- 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: p2
Source report index: 2

Review status: Independent review pending
Case: icml2025-0219-diffusion-on-language-model-encodings-for-protein-sequence-generat
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0219-diffusion-on-language-model-encodings-for-protein-sequence-generat.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0219-diffusion-on-language-model-encodings-for-protein-sequence-generat/records/icml2025-0219-diffusion-on-language-model-encodings-for-protein-sequence-generat.r1.json
Canonical record SHA-256: 42ef5d0ad5facf528aab978f5462469f28e62bb9f51f8b6e4bf287adf1975335
The page follows the latest revision; the versioned record identifies this snapshot.