GeneFlow: Translation of Single-cell Gene Expression to Histopathological Images via Rectified Flow
ELVIA analysis
Independent review pending
The first reported finding concerns “The noisy interpolation derivative is wrong in the paper and incomplete in the released target”. The exact flow-matching justification does not apply to the written/released target. This is a definite mathematical issue even if the numerical effect of turns out small in a corrected experiment. A sinusoidal scalar interpolation without the additional z term can trace a geometrically straight line; changing linear time to sinusoidal time is not itself an error. No assertion is made that this defect alone explains the reported image-quality differences.
Problem 1. The noisy interpolation derivative is wrong in the paper and incomplete in the released target
MajorEvidence and reasoning
Problem statement
Eq. () identifies the velocity target with the derivative of the noisy interpolation path.
Proof
The bridge adds with Differentiating its plus sign gives Equation () instead subtracts giving
The released sample_path omits the entire derivative of the auxiliary noise, returning only the derivative of the sinusoidal interpolation. These are three different targets. The code comment describes its incomplete target as the path derivative. Its sigma_t return value, derived from and is not consumed by the training loss; the actual extra noise amplitude is
Thus the p. 5 claim that the separate – schedule controls trajectory noise is also unsupported by this implementation.
Possible revision
Use where and retain the sampled z explicitly. Match the sampler's initial marginal or remove the auxiliary perturbation and use a consistently defined bridge/prior. Remove the unused sigma schedule from the description or incorporate a mathematically derived schedule into both bridge and target. Retrain before making empirical claims about the corrected objective.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 2. The advertised spatial regularizer contributes no gradient in the released training branch
MinorEvidence and reasoning
Problem statement
The spatial regularizer is intended to constrain the trained generator through the loss.
Proof
The training routine detaches approx_generated before evaluating either spatial loss, disconnecting the spatial term from model parameters. The segmentation branch separately converts to NumPy and constructs a new tensor without autograd, so removing only the caller detach would not make that branch differentiable. This identifies the source graph; the historical paper-training version remains unknown.
Possible revision
Keep the generated-image branch attached for the differentiable Sobel/texture surrogate. Use a path-consistent differentiable endpoint estimate or explicitly justify an alternative training surrogate. A bridge-consistent correction derives from the sinusoidal bridge without an unstable division near For segmentation, use a differentiable soft-mask/feature network if this is intended as a training loss; otherwise describe it as evaluation or model selection. Demonstrate a nonzero gradient norm and an actual ablation after retraining.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 3. The active DOPRI5 solver has an incorrect embedded stage and does not enforce tolerance or endpoint completion
MinorEvidence and reasoning
Problem statement
The paper describes an adaptive fifth-order integration procedure for generation.
Proof
The first six Dormand–Prince stages and fifth-order weighted update are correct. Stage seven is not: lines – rebuild the sixth-stage state using a[], rather than evaluate the derivative at the fifth-order endpoint. The embedded fourth-order estimate is therefore wrong. Independently, every proposal is accepted even when normalized error exceeds one. The loop stops after num_steps and returns a clamped sample even when the final log labels this completed generation. Both single- and multi-cell generation helpers use this solver, so it is an active path.
Possible revision
Use the correct seventh stage reject proposals whose scaled error exceeds tolerance, cap the accepted endpoint at and raise or report incomplete generation if the attempt budget is exhausted. Prefer a maintained solver or a separately verified reference; report accepted/rejected steps and function evaluations.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 4. Unsorted cell IDs invalidate reproducible splits across training and evaluation processes
MinorEvidence and reasoning
Problem statement
The released training and evaluation workflow should recreate the same biological-cell split.
Proof
CellImageGeneDataset computes a set intersection and converts it directly to a list. Python process hash randomization changes the order of string IDs. Training and standalone evaluation then independently recreate an split of integer indices with Torch seed Identical integer-index partitions do not imply identical biological-cell partitions when the underlying order changes. No PYTHONHASHSEED setting or persisted split-ID manifest was found in the released workflow.
Possible revision
Sort the common cell IDs deterministically, then save training, validation, and test cell IDs in versioned manifests and load those IDs during evaluation. Include dataset/source hashes and reject missing or changed IDs. Recompute results on untouched test IDs. Sorting alone fixes ordering but does not solve overlapping crops or validation reuse, addressed separately in F
Proposed correction; independent verification and author adoption remain unestablished.
Problem 5. The released evaluation protocol does not implement the stated folds or establish independent biological generalization
MinorEvidence and reasoning
Problem statement
The manuscript describes three-fold evaluation and uses the results to discuss biological generalization.
Proof
The paper states three-fold cross-validation within each dataset. Public training/evaluation uses a single random item split, and checkpoint selection minimizes the validation loss on that %. Standalone evaluation recreates that same rather than an independent test set. The split is at cell/patch level, including after combining HEST samples, without a patient, slide, or spatial-block grouping rule. The paper explicitly creates patches with -pixel overlap and uses unmasked cell-centered crops. Those are correlated observations, not independent donors.
Possible revision
Publish immutable grouped fold manifests and a separate model-selection set, or use nested cross-validation. Split source patients/slides before cropping. If the scientific goal is within-slide interpolation, state that goal and use spatial blocks separated by a buffer at least as wide as the crop footprint. For HEST, report sample/organ-level held-out evaluation. Quantify exact shared pixels/cell IDs across partitions and report donor-level rather than crop-level uncertainty for population claims.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 6. Table 1 does not reconcile its C2 cell-type counts with its total
MinorEvidence and reasoning
Problem statement
Table 1's cell-type subtotals and total describe one reconciled C2 population.
Proof
The C2 column lists endothelial epithelial fibroblast macrophage melanoma and T cells summing to while the displayed total is The text describes clustering and cell-type annotation without explaining overlapping categories or different filtering stages in this table. The fresh current publisher PDF retains these values.
Possible revision
Provide a flow diagram or tabulation of raw, quality-controlled, image-matched, classified, and split counts for each dataset. If categories overlap or totals refer to different stages, label that explicitly. Otherwise correct the affected total or category counts from a versioned cell-ID manifest.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 7. Universal performance claims contradict Table 2 SSIM values
MinorEvidence and reasoning
Problem statement
The main text describes rectified flow as outperforming the diffusion baseline across all metrics.
Proof
The main text describes rectified flow as outperforming the diffusion baseline across all metrics. In Table 2, diffusion has higher SSIM for P1 single ( versus ), C1 multi ( versus ), and C2 single ( versus ). Rectified flow has better FID and Inception feature distance in all six rows. The p. 6 description of a –-fold FID improvement is also not the full displayed range.
Possible revision
State that rectified flow improves the displayed FID/feature-distance measures while SSIM is mixed. Report the actual range if a ratio summary is retained. Use paired confidence intervals on independently held-out units before making inferential superiority claims.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 8. The component ablation table favors removing gene attention on most reported metrics
MinorEvidence and reasoning
Problem statement
The component-removal discussion attributes performance declines to removing the encoder components.
Proof
The prose argues that removing components causes performance declines. In Table 6, removing gene attention lowers UNI2-h FID from to and improves UNI2-h similarity, circularity, solidity, and all three spatial similarities. Full rectified wins only Inception feature distance ( versus ) and eccentricity similarity ( versus ). Other component-removal columns also show favorable changes on multiple metrics.
The separate simple-encoder experiment is a different comparison.
Possible revision
Rewrite the conclusion as a performance/interpretability tradeoff rather than a universal advantage. Re-evaluate matched seeds, training budgets, and independent folds for full, attention-ablated, and simple encoders. Report parameter count, speed, and uncertainty, and select the architecture according to a predeclared objective. If interpretability is the reason to retain attention, validate that property directly.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 9. A conditional noise-to-image flow does not establish a bijection between expression and images
MinorEvidence and reasoning
Problem statement
A conditional noise-to-image flow does not establish a bijection between expression and images.
Proof
The abstract describes an expression/image bijection, but Methods constructs a noise-to-image map for fixed expression condition ODE uniqueness can establish invertibility between and under its regularity assumptions; it does not establish an inverse between and Multiple expression profiles may give the same conditional image law, and one expression profile may generate many images.
Possible revision
Describe the model as a conditional generative distribution p_theta(I|X). Restrict invertibility statements to a sufficiently regular continuous ODE at fixed X and distinguish numerical integration/postprocessing. Use posterior uncertainty, cycle tests where justified, or independent expression recovery experiments for any stronger cross-modal claim; do not infer them from the sampler type.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 10. The conditioning representation cannot identify a particular cell arrangement or absolute replicated cell count
MinorEvidence and reasoning
Problem statement
The gene-set condition is used to support reconstruction of multicell histological structure.
Proof
The multi-cell encoder transforms each gene vector and forms normalized attention-weighted means across cells. It receives no cell coordinates. num_cells masks padding; it is not passed as a separate count embedding to the UNet. Permuting cells leaves the embedding unchanged. Replicating every cell the same number of times also leaves normalized weighted means unchanged. The single-cell model is conditioned on one cell's expression while the unmasked image contains its neighborhood.
Possible revision
If exact spatial reconstruction is the objective, include aligned coordinates, a spatial graph or layout condition, and explicit density/count information, and evaluate consistency under permutations of storage order. If expression-only synthesis is the objective, define a distribution over plausible arrangements, quantify diversity/uncertainty, and avoid treating a single generated arrangement as an observed biological interaction.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 11. Velocity-energy gradients do not measure endpoint morphology influence
MinorEvidence and reasoning
Problem statement
Velocity-energy sensitivity is interpreted as gene importance for the generated morphology.
Proof
The statistic differentiates with respect to genes, rather than an endpoint morphology
For constant velocity initial point zero and identity endpoint readout, the energy derivative is zero at while the endpoint derivative is one. Full endpoint sensitivity generally requires the trajectory sensitivity equation.
The released routine also queries standard Gaussian states at every time rather than the time-dependent bridge/trajectory. This supports a narrower exploratory interpretation, not a claim that every identified gene is irrelevant.
Possible revision
For model sensitivity, differentiate a specified image feature m(Phi_X(eta)) through a differentiable ODE solve or use controlled finite differences with common noise and an appropriate gene-expression perturbation scale. Sample relevant trajectory states if reporting velocity sensitivity and name that statistic precisely. Compare with input scaling, expression abundance, cell-type-only baselines, and gene shuffling. Reserve causal or regulatory claims for intervention data or explicitly justified causal assumptions.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 12. Pathway enrichment and overlap statistics need assay-aware null models and complete reporting
MinorEvidence and reasoning
Problem statement
The overlap/enrichment results are used as biological evidence for the identified gene sets.
Proof
The paper enriches genes shared among the top in its two panels. Assay-specific eligible genes, complete rankings, library versions and the family of overlap tests are not fully specified. The 10x Genomics panel already targets skin cell types and cancers, so panel selection matters to the null. Table 10 calls pathways significant but includes adjusted and describes ten pathways while showing six. Adjusted values are reported, and several meet a missing correction is not established merely because a complete analysis record is absent.
Possible revision
Publish ranked genes and all contingency tables. Use the measured, quality-controlled eligible panel genes as the enrichment universe, or state and justify a different sampling model. For unequal panels, use a common eligible universe with consistent ranking or a panel-specific permutation null. State the multiple-testing procedure and threshold, distinguish raw from adjusted P, and label coagulation accordingly. Compare enrichment against rankings driven by expression and cell-type composition.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 13. The released cell-type accuracy is degenerate for the documented eight-image evaluation batch
MinorEvidence and reasoning
Problem statement
The released cell-type accuracy routine is used as a biological agreement diagnostic.
Proof
classify_cell_types_uni2h assigns every sample label zero whenever a batch has fewer than ten items. Real and generated embeddings are classified separately and their integer labels are compared as if they were biological cell classes.
Thus eight unrelated generated embeddings receive perfect agreement with eight real embeddings by construction.
For larger batches, independent PCA/scaling/KMeans fits still have arbitrary cluster-label identities and are not trained cell-type classifiers.
Possible revision
Use an externally validated, frozen cell-type classifier with a shared label vocabulary; fit any preprocessing only on training data. If measuring unsupervised clustering similarity, use a permutation-invariant statistic and accurately name it. Small batches should return unavailable metrics rather than perfect biological accuracy. Remove this statistic from composite biological plausibility until repaired.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 14. Several biological similarity statistics discard the structure they are used to support
MinorEvidence and reasoning
Problem statement
The named embedding/spatial statistics are used to support cellular organization and biological similarity.
Proof
UNI2-h embedding similarity is one minus a scalar KS statistic after flattening all feature coordinates across images. It loses coordinate identity and multivariate structure. The reported spatial complexity and feature magnitude reduce each embedding to its standard deviation and mean absolute value, without direct cell coordinates or a spatial correspondence test. Nuclear features are extracted from Otsu-thresholded grayscale connected components in this evaluator, not validated nucleus instances. Those are legitimate image statistics when named accurately, but do not by themselves demonstrate cellular organization or diagnostic fidelity.
Possible revision
Retain pooled multivariate feature distances and add paired feature/morphology measures with a declared target. Validate the nucleus segmentation against independently annotated nuclei or an appropriate pretrained model on these images. Evaluate cell count, position, type, shape, adjacency and uncertainty at image and sample level. Report embedding scalar summaries as descriptive diagnostics unless their relationship to spatial organization is empirically validated.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 15. GLCM angles are supplied in degrees to an API that expects radians
MinorEvidence and reasoning
Problem statement
The texture evaluator intends to compare four conventional GLCM directions.
Proof
The texture evaluator passes angles to graycomatrix, whose documented unit is radians. At unit distance, these induce offsets repeating a horizontal direction under symmetric counting and omitting the intended opposite diagonal. Both real and generated images use the same convention, so the sign of its effect on comparative rankings is not known.
Possible revision
Pass state the angular convention, and recompute affected GLCM metrics. Include a small asymmetric image check so that repeating a horizontal direction cannot silently pass.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 16. The optional DDIM baseline uses the wrong previous time when timesteps are skipped
MinorEvidence and reasoning
Problem statement
The accelerated DDIM path should transition between the selected diffusion times.
Proof
For a selected sequence of diffusion times, DDIM must transition to the preceding selected time. The implementation uses even when its next model evaluation is at a much earlier selected index. The state therefore carries the wrong noise level into the next denoising prediction.
Possible revision
Use or one for the final clean endpoint, and test respacing against a maintained DDIM implementation. Match sampling method, noise schedule, training checkpoint, and network-evaluation budget in comparative experiments.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 17. Optional stain matching uses the paired held-out target image
MinorEvidence and reasoning
Problem statement
The optional stain-normalized evaluation is presented alongside expression-conditioned synthesis.
Proof
When enable_stain_normalization is set, each generated RGB image is histogram-matched to its own corresponding real evaluation image before image and feature metrics are computed. The evaluated pipeline then has access to target-image information that would not be available when synthesizing an unknown histology image from expression alone.
Possible revision
Disable per-target matching for the primary expression-only benchmark. If stain standardization is scientifically needed, choose a fixed reference from training data and apply the same predeclared transformation consistently to real/generated images and all models. Clearly label a per-target matching experiment as an oracle-assisted analysis.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 18. The implemented spatial losses do not reproduce the appendix objectives
MinorEvidence and reasoning
Problem statement
Appendix E's morphology, arrangement, density and texture objectives specify the intended spatial losses.
Proof
Appendix E specifies nuclear morphology, matched-neighbor arrangement and density losses, and a separate kNN gradient/texture objective including higher texture moments.
The released segmentation loss instead combines centroid assignment and edge-length-distribution distances. The simple loss uses multiscale Sobel magnitudes and local means/variances, with no kNN graph, skewness or kurtosis. The custom centroid function labeled approximate Wasserstein does not enforce uniform transport marginals and can ignore a distant unmatched cell. The segmentation routine recomputes segmentation rather than implementing the stated periodic cache.
Possible revision
Choose and document the actual differentiable objective, align equations and code, and report which loss produced each result. Use a valid balanced or unbalanced transport formulation if Wasserstein terminology is retained. If Eq. () is intended as normalized planar density, use otherwise call it an unnormalized kernel and state its scale. Remove redundant neighbor notation or introduce the intended neighboring feature difference.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 19. Reported uncertainty and FID aggregation are insufficiently tied to independent experimental units
MinorEvidence and reasoning
Problem statement
The means and standard deviations summarize the stated image-quality and biological evaluations.
Proof
The paper reports means and standard deviations, so absence of error bars is not the issue. It does not consistently identify whether variability comes from folds, model seeds, images, or batches. Figure 8 explicitly labels Batch FID Mean.
The released evaluator exports both pooled overall FID and a mean of batch FIDs; it computes SSIM/feature-distance standard deviations over images and biological-statistic standard deviations over batches. Those are not interchangeable with variation over independently trained models or donors.
Possible revision
Declare the estimator, feature extractor, image count, batch size, independent training-run count and meaning of each uncertainty interval. Keep per-image spread distinct from donor/run-level inference.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 20. The perturbation and minimally invasive diagnostic claims exceed the demonstrated evidence
MinorEvidence and reasoning
Problem statement
The broader discussion links conditional generation to perturbation analysis and diagnostic applications.
Proof
The experiments use observational paired FFPE Xenium/histology samples. No genetic or chemical intervention dataset, prospective diagnostic trial, or minimally invasive specimen acquisition workflow is demonstrated. The human study uses three ACVP-certified pathologists and two residents, similarity pairs and preference pairs. Its preference for rectified outputs describes image preference, not disease sensitivity/specificity. Diagnostic examples are representative qualitative cases without a reported complete case denominator or accuracy/confidence analysis.
Possible revision
Keep the claim at conditional image synthesis and hypothesis generation. Release the complete blinded reader-study protocol and per-image/per-reader results, analyze crossed reader/image variation, and evaluate disease classification on an independent patient cohort before diagnostic claims. Test perturbations against held-out experimental interventions with explicit uncertainty and out-of-distribution checks. Define the proposed specimen acquisition workflow before claiming reduced invasiveness.
Proposed correction; independent verification and author adoption remain unestablished.
Problem 21. Small mathematical/architectural notation defects should be corrected without being mistaken for implementation failures
MinorEvidence and reasoning
Problem statement
The matrix orientation, feature gate and block descriptions specify the encoder architecture.
Proof
The input matrix is defined as but described once as genes in rows/cells in columns. The p. 4 gating expression uses Zfinal on both sides, whereas Appendix D and code implement a feedforward gate from the pre-gated embedding. Appendix D's residual-block descriptions also vary from the main text and the released normalization/activation choices. These are avoidable obstacles to implementation from the paper alone.
Possible revision
Use one orientation consistently; write provide a versioned architecture/configuration table matching the released model. Clarify which appendix equations are schematic and which are exact implementation definitions.
Proposed correction; independent verification and author adoption remain unestablished.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Our rectified flow approach constructs a continuous bijective mapping between a simple prior distribution (Gaussian noise) and the target distribution of histopathological images conditioned on gene expression embedding and extra control embeddings such as the number of cells.
Current official NeurIPS 2025 proceedings PDF, freshly retrieved 21 October 2026; PDF p. 3
Actual review scope
The recorded inspection concerns these source locations: Paper p. 5, Eqs. (8)–(10), preceding definition of epsilon_t rectified/rectified_flow.py:53–98, especially 78–91 rectified/rectified_train.py:314–317; Paper pp. 7–8, spatial regularization claim; pp. 23–27, Appendix E, Eq. (11) rectified/rectified_train.py:335–364 src/spatial_graph_loss.py:220–282 and 284–362; Paper p. 5, fifth-order adaptive integration claim rectified/rectified_flow.py:198–270, 272–297, 331–368 rectified/utils.py:35–68; src/dataset.py:40–43, CellImageGeneDataset.__init__ rectified/rectified_main.py:279–285 rectified/rectified_evaluate.py:395–400 src/utils.py:249; train.sh and eval.sh; Paper pp. 5–7, Sections 4.1–4.2; Table 4; Appendix B.3 p. 17 rectified/rectified_main.py:279–285 rectified/rectified_evaluate.py:395–414 rectified/rectified_train.py:649–738 utils/prepare_xenium_data.py:1071–1086; src/dataset.py:397–998; Paper p. 5, Table 1; p. 15, cell-type annotation description; Paper abstract p. 1; p. 6 narrative and Table 2; Appendix B.2 p. 16; Paper pp. 7–8, ablation discussion and Table 6; Appendix B.2/Figure 8 p. 16; Paper abstract p. 1; Methods p. 3; Figure 2 and Sections 3.1–3.2; Paper pp. 3–4, Eqs. (1)–(7); Appendix A p. 15; Appendix D pp. 20–22 src/multi_model.py:169–253 and 342–360; Paper pp. 8–9, Section 4.3; Appendix C pp. 19–20 src/utils.py:449–561, especially 506–535; Paper pp. 8-9, Figure 4; Appendix C, pp. 19-20, Figure 13 and Table 10; author-described Xenium panel selection.; rectified/utils_uni2h.py:195–234 and 295–303 README.md, custom evaluation batch_size 8; Paper pp. 7–8, Tables 5–6; rectified/utils_uni2h.py:123–193, 237–280, 306–340; rectified/utils_uni2h.py:258; paper Tables 5–6 spatial energy Official scikit-image graycomatrix documentation, angles parameter; baseline/diffusion.py:318–352, 373–384, 523–540 baseline/diffusion_evaluate.py:149–152; diffusion_evaluate_ddp.py:613–616; rectified/rectified_evaluate.py:732–761 src/stain_normalization.py:8–76; src/utils.py:326–332; Paper pp. 23–27, Appendix E, Eqs. (19)–(33) src/spatial_graph_loss.py:131–174, 220–282, 284–362, 436–468; Paper Tables 2–4, 6–9; Figure 8 p. 16; checklist p. 30 rectified/rectified_evaluate.py:801–840, 946–1044; Paper abstract p. 1; pp. 9–10, Section 4.4 and Discussion; Figures 3, 6, 9 Primary 10 x sample descriptions; Appendix F p. 27; Paper p. 3 input matrix orientation; p. 4 feature-gating formula; Appendix D pp. 21–23 src/single_model.py:179–203; src/multi_model.py:239–252.