ELVIA analysis of: Diffusion on Language Model Encodings for Protein Sequence Generation — Problem 4: CHEAP shorten-two mask reduces requested length twice
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: PDF pp. 6-7 and33-34 src/encoders/cheap.py:70-86 src/diffusion/length_sampler.py:5-19 src/configs/encoder/cheap.yaml
Question: What does the recorded analysis establish about “CHEAP shorten-two mask reduces requested length twice”?
Bounded finding:
Generic optional-path length interface error proved without any external CHEAP execution. Minor optional-release defect; no historical Table3/11 effect established.
Recorded check:
The CHEAP shorten-two component is evaluated in Sections 3.4.2 and E.6. In the pinned release, `src/encoders/cheap.py`, lines 74–86, first compresses the batch maximum length by two, then clips each uncompressed sequence length to that already compressed maximum before halving it again.
Complete check. Take the valid interface inputs \(\texttt{lens}=[254]\), \(\texttt{max\_sequence\_len}=254\), and \(\texttt{shorten\_factor}=2\). The allocated latent width is \(\lceil254/2\rceil=127\), but the per-sequence mask receives only \[\left\lceil\frac{\min(254,127)}2\right\rceil=64\] active positions, rather than 127. The decoding path at lines 70–71 explicitly truncates the sequence to twice the mask sum, so the output has at most 128 residues, not the requested 254. The length sampler returns raw sequence lengths and supplies no prior factor-two conversion. This calculation depends only on the explicit mask and output-slice arithmetic, not on the external CHEAP decoder’s behavior.
Counterevidence and impact. The supplied default and supported pretrained configuration use shorten-one, where this particular branch is inactive. No historical shorten-two configuration or generated-length records bind this code to the corresponding paper results. The supported judgment is therefore Minor for the optional released path, with historical impact unresolved. A precise repair is to clamp each raw length to the raw maximum before applying the single compression: \(m_i=\lceil\min(\ell_i,L_{\max})/2\rceil\), bounded by the allocated compressed width. For odd lengths the decoder must also retain the requested raw length if exact truncation is intended. This restores the mask count; it does not validate external decoder integration or old experiments.
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: p4
Source report index: 4
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-4
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.