FuncGenFoil: Airfoil Generation and Editing Model in Function Space
ELVIA analysis
Independent review pending
The first reported finding concerns “Detaching the ODE state breaks the gradients used for airfoil editing”. Current editing code omits state-chain-rule terms, with explicit scalar derivative discrepancies; forward generation and benchmark editing errors have not been refuted.
Historical execution results are retained only with that attribution; a source-level defect alone does not identify the program or configuration used for the published experiments.
Problem 1. Detaching the ODE state breaks the gradients used for airfoil editing
MinorEvidence and reasoning
Problem statement
Section 3.2, PDF pp. 5–6, and Appendix B, Algorithm 3, PDF p. 17, differentiate editing loss through the sampled ODE trajectory. Released airfoil_generation/model/optimal_transport_functional_flow_model.py, OptimalTransportFunctionalFlowForRegression.sample_process_with_log_prob, lines – detaches the state inside composite_drift at lines – while using ordinary Euler differentiation.
Proof
Take and two Euler steps of size The forward endpoint is with derivatives and Detaching drift inputs preserves the forward value but keeps only the direct state path and local parameter terms, giving derivatives and Matching forward output therefore does not validate those editing gradients.
Possible revision
Preserve the incoming ODE state graph, enabling local state differentiation only when necessary without replacing the state by a detached leaf. This restores the ordinary Euler sensitivity recurrence; density and solver alternatives still need separate checks.
A local correction or qualification is proposed where specified; author adoption is not established.
Problem 2. Jointly changing the density is not equivalent to MAP under a fixed pretrained prior
MinorEvidence and reasoning
Problem statement
Section 3.2, Eq. (7), PDF p. 5, derives an edited-sample posterior under a trained prior and drops evidence constant in the sample. The subsequent procedure on PDF p. 6 and Algorithm 3 optimizes both the sample-generating flow and its initial function, so the density itself changes.
Proof
A fixed-prior MAP objective is reconstruction cost minus Changing while evaluating changes the reference density.
For the smooth scalar contracting flow with standard-normal base and fixed sample reconstruction stays zero but negative log density is decreasing without bound as A fixed pretrained density assigns that unchanged sample a fixed cost. This proves non-equivalence, not collapse of the actual airfoil model.
Possible revision
An intended adaptive-density editing heuristic is consistent with the implemented scalar objective. Under that interpretation, the objective is not inherently a programming error; the needed correction is to state its changing reference distribution and avoid presenting the fixed-prior Bayes calculation as an equivalence proof. If the intended posterior is instead while also optimizing its evidence generally depends on and cannot be dropped merely because it is constant in If a joint posterior over and is intended, it requires an explicit model/prior for Eq. (7) does not provide one. These are distinct modeling choices.
A local correction or qualification is proposed where specified; author adoption is not established.
Problem 3. Raw smoothness and diversity scores change under resampling of the same airfoils
MinorEvidence and reasoning
Problem statement
Section 4.1, p. 6, defines the smoothness score in Eq. (9) as the sum of distances from each point to the line through its two neighbors. It defines diversity through log determinants of similarity matrices based on Euclidean distances between sampled airfoils. Section 4.2 and Table 2, pp. 7–8, compare generated airfoils at and points using those metrics to assess resolution changes. The question here is whether raw score changes can be attributed to geometric quality or diversity independently of sampling resolution. The released super-resolution evaluator implements at lines – and at – Smoothness is an unnormalized sum. Diversity flattens all coordinates, computes Euclidean pair distances forms and reports a log determinant. There is no quadrature or point-count normalization.
Proof
For a fixed radius- circle sampled at equally spaced points, the raw neighbor-chord distance sum is although geometry is unchanged.
For two fixed sinusoidal airfoils with amplitudes unweighted squared separation is so their kernel log determinant also changes with while continuous squared separation remains Cross-resolution interpretation requires an explicit sampling normalization.
Possible revision
Compare smoothness on a common reference grid, or define a justified continuous regularity functional. Use a fixed-bandwidth quadrature distance for diversity so point-count changes do not change the underlying geometry measure.
A local correction or qualification is proposed where specified; author adoption is not established.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
To evaluate high-resolution generation, we use the model trained on the Supercritical Airfoil dataset at a resolution of and sample new airfoils at resolutions of and
arXiv:2502.10712v4 (12 December 2025); PDF p. 8
Actual review scope
The recorded inspection concerns these source locations: Section 3.2, arXiv v4 PDF pp. 5–6; Appendix B, Algorithm 3, p. 17; sample_process_with_log_prob composite_drift.; Section 3.2, Eq. (7), PDF p. 5; joint optimization discussion, PDF p. 6.; Section 4.1, Eq. (9), PDF p. 6; Section 4.2, Table 2, PDF pp. 7–8.