A useful single-model, text-prompted echo segmenter with a runnable release, but the internal results likely come from a frame-level (patient-leaking) split, the released checkpoint shows DyITA's dynamic exponents and differential subtraction to be inert, and several baseline cells in Table III are arithmetically impossible.
Soundness
2/4
Presentation
2/4
Contribution
2/4
Confidence
4/5
✓ 10 confirmed✕ 8 discrepancy◐ 1 inconclusive
Summary
The paper proposes P2Echo, a single segmentation network for multi-view echocardiography (2CH, 3CH, 4CH, PSAX) that segments one of five structures (LV, MYO, LA, RV, RA) per text prompt. A PVTv2-B2 image encoder is combined with a frozen Qwen3-Embedding-0.6B text encoder; a cross-attention prompt decoder produces mask embeddings that condition each decoder stage through a new Dynamic Image-Text Alignment (DyITA) module. DyITA uses STE-routed redundancy projections, a norm-preserving power kernel with routed exponents (Eq. 2) and a cross-modal "differential" subtraction QΔ=Q~− (Eq. 3).
Strengths
Practical, well-motivated problem with partial labels
Sec. I; Sec. III-A, Table II; p2echo/losses.py
Replacing per-view specialists with one prompt-conditioned model that can learn from datasets annotating different subsets of structures is clinically relevant. The loss masks unannotated structures per image (p2echo/losses.py, valid), which is a sensible way to pool partially labelled public datasets.
Complete, runnable release that reproduces the published qualitative outputs
README; Fig. 4; Sec. III-B; checks 13, 14, 16, 18
Code, split/train/test/benchmark/intervention scripts and a checkpoint are released. The checkpoint loads with strict=True (37,533,876 parameters), and running it on the four Fig. 4 frames reproduces the published P2Echo masks (per-structure Dice vs. overlay 0.937–0.982, mean 0.960). The training hyper-parameters in Sec. III-B match train.py exactly (check 16), and the BDoU loss implementation matches Eq. (4) to 1.8e-7 (check 13).
Broad, modern baseline set and external evaluation
Tables III–IV; Highlights [2]; Sec. III-D-1
Comparisons include CNN/transformer segmenters, nnUNet, SAM-family adaptations (SAMUS, EchoONE), SAM3 (zero-shot and fine-tuned) and text-guided ultrasound pipelines (MedCLIP-SAMv2, Grounding DINO-US-SAM), plus three external datasets never seen in training. The headline arithmetic is correct: the median margin over the per-column strongest baseline is exactly 2.33 Dice points, and the +5.3/+1.1/+2.8 gains over EchoONE reproduce (check 03).
Honest prompt-intervention study
Sec. III-D-5, Table VI
Table VI openly shows that a concise prompt ('Segment the left ventricle cavity') drops Dice from 93.53 to 35.83, and that null/ambiguous prompts yield near-zero output. The 450-image / 950-instance sample is consistent with the released sampling script (check 07), the table is internally consistent (check 08), and our own run of the checkpoint with concise prompts gave mean Dice 0.333 (check 18).
Efficiency and a carefully specified evaluation protocol
Table IV, Table VII; Sec. III-C; p2echo/metrics.py
With ~37.5 M trainable parameters and ~6.9 G multiply-accumulates per image, P2Echo is far lighter than SAM-family models; FPS 64.68 and the 1.51× ratio to CENet reproduce from Table VII (check 04). The metric code follows the stated protocol exactly (missed structure = Dice 0 kept; infinite HD95 dropped), which is conservative for P2Echo (check 15).
Weaknesses
Internal test set very likely leaks patients (frame-level split)
major · Sec. III-B; Table III; tools/make_splits.py (checks 01, 10)
Sec. III-B says only that 'each development dataset is split into 80% training, 10% validation, and 10% internal test data'. The released tools/make_splits.py shuffles individual frames with no patient or video grouping. Running it unchanged on a tree that mimics Table II and the native multi-frame structure put 93.4% of test frames (100% for CAMUS, CardiacUDA, EchoCP and SegRWMA) next to training frames from the same patient or video. The 2CH mDice of 96.94 implies a CAMUS myocardium Dice of at least 90.82, above the published nnU-Net CAMUS value (~86) and the CAMUS inter-observer range (check 10). That pattern fits an easy, leaked test set. All of Table III, the prompt-intervention sample (Table VI) and the 'internal' claims are affected. Fix: re-split by patient/video (CAMUS has an official patient-level split), rerun all methods and report the split files.
DyITA's dynamic mechanisms are inert in the released model
major · Sec. II-C, Eqs. (2)–(3); Table V; released checkpoint (checks 14, 18)
In the released checkpoint all 144 learned exponents γ (4 stages × 4 kernels × 9) remain at their initial value 3.0 (max deviation 0.005), so routing in Eq. (2) chooses among identical exponents and the 'dynamic measure kernel' is a fixed cubic map. The λ banks stay near 0.01 (range −0.0053 to 0.0276), and the subtracted term in Eq. (3) is only 0.8–1.7% of . Setting every to 0 changes predictions by Dice ≥ 0.9999 (check 18). Table V nonetheless attributes 1.70 and 2.19 mDice to these components, and the abstract claims the network 'adaptively switch[es] its processing pathways'. The ablation gains more plausibly come from retraining variance or the extra parameters. report the learned , run zero-out/fixed-exponent interventions on the trained model, and repeat ablations over several seeds.
Questions for the authors
Was the internal split in the paper produced by the released make_splits.py (frame-level), or was it grouped by patient/video? If frame-level, how do Table III results and rankings change under a patient-level split (e.g. the official CAMUS folds)?
The released checkpoint has all γ at 3.0 and λ≈0.01, and zeroing λ leaves predictions unchanged. Is this the checkpoint behind Tables III–V? If so, how do you reconcile it with the 1.70/2.19 mDice ablation drops in Table V, and what is the seed-to-seed SD of the full model on HMC_QU?
How were the 3CH/PSAX mIoU values for ResUNet, CENet and SAM3 (both variants) in Table III computed, given that they exceed the maximum mIoU attainable from the reported Dice mean and SD on LV-only images?
How were baselines trained (pooled vs per view) and how were unannotated structures treated in their losses? Did any baseline receive the same partial-label masking and dataset-specific label filtering at inference as P2Echo?
How does P2Echo compare with an identical network in which the frozen text embeddings are replaced by learned view/structure embeddings?
Verification
We ran 19 scripted checks covering table arithmetic, Dice–IoU consistency, the released split, training, loss, metric and benchmark code, and the released checkpoint, run end-to-end on CPU. Ten checks confirmed the paper: the headline median margin, ablation deltas, prompt-intervention sample size, Table VI consistency, the Eq. (2) norm property and STE, BDoU, the metric protocol, the training configuration, dataset counts and the Fig. 4 predictions. Eight checks found discrepancies. Three affect main claims: the released split leaks patients into the internal test set (93.4% of test frames in simulation), the DyITA γ/λ factors are inert in the trained model, and five baseline cells in Table III are impossible. Smaller ones concern MACs reported as FLOPs, the speed-up range, paper–code mismatches, code that computes no SD or Wilcoxon test, and a reference contradiction. The CAMUS plausibility check was inconclusive but points the same way as the split finding. We could not retrain models or rerun Table III–IV numbers because no datasets were fetched and no GPU was available.
[2] M. Li et al., "Recurrent aggregation learning for multi-view echocardiographic sequences segmentation," MICCAI 2019 (li2019recurrent)
Cited (Sec. I) for 'traditional deep learning models fail to generalize across planes', but the paper (arXiv 1907.11292) proposes a single model that segments multi-view echo sequences, with multi-view regularisation that narrows the gaps between views, so it does not support the statement. It also contradicts the claim (Sec. IV-A, line 474) that EchoONE is 'the only prior work targeting multi-view echo segmentation'; the method was later extended as MV-RAN (Comput Biol Med 2020). Evidence: work/verify/17_refs.log.
[5] Y. Ding et al., "MVFusFra: A multi-view dynamic fusion framework for multimodal brain tumor segmentation" (ding2022mvfusfra); [6] S. Jabbar et al., "Multi-view SA-LA net ... RV on multi-view cardiac MR images" (jabbar2022sala)
Minor: these are the only citations for 'early attempts' at unified multi-view segmentation using multi-branch architectures (Sec. I), but they cover brain-tumour MRI (orthogonal slice planes and modalities) and cardiac MR, not echocardiography. Echo-specific multi-view work such as [2]/MV-RAN goes uncredited in this role.
Suggestions
Re-split all development datasets at patient/video level (use the official CAMUS split where available), release the split files, and rerun every method in Table III.
Report the learned DyITA parameters and intervention results on the trained model (fixed γ, λ=0, routing disabled), and either justify the dynamic components or simplify the module accordingly.
Repeat the ablation (Table V) over at least three seeds on the internal validation set rather than the external HMC_QU test set, and include a non-text (learned embedding) conditioning baseline.
Add genuinely view-specific specialists (e.g. per-view nnUNet) to support the abstract's specialist claim, and give pooled baselines the same partial-label loss masking.
Release per-image metrics and the script that computes SDs and Wilcoxon tests; compute tests at patient level.
Report compute consistently (MACs vs FLOPs, total vs trainable parameters, including or excluding frozen encoders) for every row of Table IV, and include text-encoding time in latency or state its exclusion for all text-prompted methods.
Align Sec. II with the released code (BN vs LN, local residual branch, LayerScale/DropPath, prompt template, sigmoid/threshold decoding with dataset label filtering) and add EchoNet-Dynamic to the released configuration.
Correct the speed-up range (4.28–168.09×), the 'median gain of 2.33%' wording (Dice points, 7 columns), and the 'only prior work' statement in light of Li et al. (2019).
Ethics and integrity
No ethical concerns beyond standard use of public datasets. No instructions aimed at reviewers or automated tools were found in the paper, source or code. The impossible baseline cells in Table III (check 02) are a reporting inconsistency; we do not infer anything beyond that.
Scope of this review
No echocardiography datasets were downloaded and no GPU was available. We could not retrain P2Echo or the baselines, recompute Table III/IV/V/VI metrics on the real test sets, or measure Table VII latencies. The leakage finding is based on running the released split script on a simulated directory tree that matches Table II counts and the native multi-frame structure; the actual split used in the paper was not released. The checkpoint analysis (checks 14, 18) used the released weights, random inputs and the four Fig. 4 frames only. Baseline implementations are not released, so their protocols could not be examined.
Trained on five public datasets (42,095 frames, 80/10/10 split per dataset) with partial-label loss masking, P2Echo is reported to have the best mDice in every view of the internal test set (Table III: 96.94/94.71/93.87/92.00) and on three external datasets (Table IV; e.g. 82.22 vs 61.93 on HMC_QU), with 37.47 M parameters, 6.90 GFLOPs and 64.68 FPS. An ablation on HMC_QU attributes 1.7–2.2 mDice to each DyITA component (Table V), and a prompt-intervention study shows strong dependence on the training prompt template (Table VI).
The problem is practical and the release (code plus checkpoint) is unusually complete. However, our reruns indicate that the released split protocol leaks patients between train and internal test, that the dynamic DyITA mechanisms are numerically inert in the released checkpoint, and that several baseline cells in Table III are mathematically impossible; these undermine the internal comparison and the attribution of gains to DyITA.
Dataset harmonisation documented
Sec. III-A; Table II; Fig. 3
Eight public datasets are mapped to one five-structure label space with frame counts per view (Table II), and the HMC_QU myocardium derivation by contour closing is explained (Fig. 3). Totals and the EchoNet-Dynamic count (2 × 1277 test videos) check out (check 09).
∥Q~∥
λ
Fix:
γ/λ
Several baseline cells in Table III are mathematically impossible
major · Table III, 3CH and PSAX columns (check 02)
For the single-structure (LV-only) 3CH and PSAX columns, the exact per-instance relation IoU = D/(2−D) bounds mIoU given mean and SD of Dice. Five baseline cells violate these bounds: ResUNet 3CH mIoU 85.26 > max 85.07; CENet 87.42 > 87.25; SAM3 fine-tuned 87.04 > 86.52; SAM3 zero-shot 3CH 1.29 > 1.24 (and SD_IoU 0.26 < minimum 0.67); SAM3 zero-shot PSAX 2.99 > 2.74 (rounding tolerance 0.005). All P2Echo cells pass. These rows were therefore evaluated on a different instance set or averaging than stated, or were mistranscribed. Three of them are the strongest 3CH competitors. Fix: release per-image metrics for all methods and correct the table.
Baseline training protocol unspecified; no view-specific specialists trained
major · Abstract; Highlights [2]–[3]; Sec. III-B; Tables III–IV; Sec. IV
The abstract and Highlights claim that P2Echo 'matches or exceeds view-specific specialists', but no per-view specialist is trained or reported. For the baselines, the paper does not state whether they were trained pooled or per view, or how partially labelled datasets were handled (unannotated structures as background?). P2Echo masks the loss for unannotated structures. The Discussion itself explains the 82.22 vs 61.93 HMC_QU gap by baselines missing MYO, i.e. by partial-label handling rather than DyITA. Sec. III-B says 'identical view-aware prompts are used across all text-based comparison methods'. SAM3 zero-shot scores of 2–9 Dice suggest those long structured prompts handicap the general-purpose models. Fix: document the baseline protocols, train per-view specialists, and give the baselines the same partial-label masking.
Evaluation decoding gives the model the dataset's label set (oracle), unlike the description
major · Sec. II-C (inference); p2echo/metrics.py `decode` (check 11)
The paper describes inference as an argmax over output channels. The released metrics.decode applies a per-prompt sigmoid threshold at 0.5 and zeroes every structure not annotated by the test image's dataset before the argmax. The evaluation is therefore told which structures may be present, which baselines with fixed multi-class heads may not benefit from. Fix: describe the decoding precisely and report results without dataset-specific label masking, or apply the same masking to all baselines.
Ablation run on the external test set, once, without variance
major · Sec. III-D-4, Table V; Sec. IV (checks 06, 14)
Table V uses HMC_QU, one of the three 'held-out' external sets, to choose design options (including text-encoder size), so that set is no longer untouched. Each variant is a single training run with no SD, seeds or paired test, and differences of 1.7–2.2 mDice are not shown to exceed run-to-run variance (arithmetic reproduces exactly, check 06). Text conditioning itself is never ablated against learned one-hot view/structure embeddings, even though, with a frozen encoder and fixed template, the 20 prompts are just a fixed lookup table. The Discussion's statement that ablations 'support the contribution of both textual conditioning and DyITA' is therefore not backed. Fix: ablate on the internal validation set over ≥3 seeds and add a non-text embedding baseline.
'GFLOPs' are multiply-accumulates; parameter accounting inconsistent
minor · Table IV (Params, FLOPs); Highlights [2]; tools/benchmark.py (checks 05, 19)
Instantiating the released model gives 13.77 GFLOPs (torch FlopCounterMode) = 6.88 GMACs; the released benchmark.py prints 6.64 G MACs (thop) and 37.53 M parameters. The reported 6.90 'GFLOPs' is thus MACs, and 37.47 M excludes the deep-supervision heads and the frozen 0.6B text encoder. MedCLIP-SAMv2 (836.99 M) appears to include its frozen encoders, while SAM3 fine-tuned (14.40 M) appears to count only trainable weights. Whether baseline FLOPs use the same convention is not stated. Fix: report one convention (MACs or FLOPs; total and trainable parameters, with and without frozen text encoder) for every row.
Paper–code mismatches in architecture and prompt template
minor · Sec. II-B, II-C; p2echo/dyita.py, prompts.py, text_encoder.py (checks 11, 16)
The ITA block uses BatchNorm2d, not Layer Normalization. DyITA contains an undocumented depth-wise 3×3 conv + BN local residual branch, LayerScale (init 0.1) and DropPath 0.1. The actual prompt is 'Apical 4-Chamber (4CH): Structures visualized: LA, LV, MYO, RA, RV. Segment the LV: <description>' with an instruction prefix, not 'View: v. Target: k. Description: δ(v,k).' as in Sec. II-B. Table VI's canonical example follows the code. Training also uses undocumented prompt-subset sampling (full set with p = 0.25) and deep-supervision weights 4/7, 2/7, 1/7 (check 16). Fix: align the method description with the released implementation.
SD and Wilcoxon results not reproducible; SD unit unspecified
minor · Tables III–IV captions; Sec. III-C; test.py, p2echo/metrics.py (check 15)
Tables III–IV report mean ± SD and ** markers for Wilcoxon p < 0.01, but the released code computes neither (no wilcoxon/scipy.stats; test.py prints macro means only). It is not stated whether SDs are over images, image-structure instances or patients. nnUNet HMC_QU 45.30 ± 45.41 indicates pooling over instances. With frame-level splits, frames are not independent, so the significance tests overstate evidence. The code also scores Dice 1/HD95 0 when a structure is absent in both prediction and GT, which is not documented. Fix: release the evaluation script with SD/test computation and test at patient level.
Range of speed-up misstated; external set not reproducible from release
minor · Sec. III-D-5, Table VII; Sec. IV; Table II; p2echo/prompts.py
The text claims '4.28–159.36× faster than the evaluated promptable methods' (Discussion '4–160×'). Grounding DINO-US-SAM gives 2.59870/0.01546 = 168.09×; 159.36× is the MedCLIP-SAMv2 ratio (check 04). P2Echo latency also excludes text encoding (cached embeddings). EchoNet-Dynamic, one of three external sets, is missing from the released split and label tables (annotated_mask raises KeyError), and HMC_QU lists 2283 of the 2349 publicly labelled frames without explaining the exclusion (checks 09, 11).
Related-work claims inaccurate
minor · Sec. I; Sec. III-D-1; Highlights [2]; refs. [2], [5], [6] (checks 03, 17)
Sec. III-D-1 calls EchoONE 'the only prior work targeting multi-view echo segmentation', yet ref. [2] (Li et al., MICCAI 2019) is itself a single multi-view echo segmentation model, and it is cited in Sec. I for the opposite claim that 'traditional deep learning models fail to generalize across planes'. The only examples given for multi-branch multi-view segmentation ([5], [6]) are brain-tumour MRI and cardiac MR. Highlight [2] says 'median gain of 2.33% Dice across evaluated datasets', but the median is over 7 columns (4 views + 3 external sets), in Dice points, not percent (check 03).
Are the Table IV FLOPs of all baselines measured as MACs with the same tool and input size, and do their parameter counts include frozen encoders?
2CH internal mDice 96.94 (macro over LV/MYO/LA from CAMUS and LV from SegRWMA) is plausible relative to published CAMUS results.
Because MYO in 2CH comes only from CAMUS, a macro mean of 96.94 implies a CAMUS myocardium Dice of at least 90.82 (LV=LA=100) and about 94.8-96.8 for realistic LV/LA of 97-98. That is at least 4.82 points above the published nnU-Net CAMUS myocardium Dice (86) and above the top of the CAMUS inter-observer range (82-93). The paper's own nnUNet baseline (92.82) also exceeds the literature nnU-Net CAMUS macro mean (89.33). Taken together this suggests an easier test set than the standard patient-level CAMUS protocol, consistent with the frame-level split found in check 01. Literature numbers cannot by themselves prove an error, so this is left inconclusive. (The Kim et al. QIMS 0.860 MYO figure in the log is from a different dataset and is context only.)
Arithmetic bound on the myocardium Dice implied by the 3-structure macro mean; comparison with literature CAMUS values (nnU-Net LV/MYO/LA 0.93/0.86/0.89, arXiv 2509.03631; inter-observer Dice 0.82-0.93, Leclerc et al. TMI 2019).
Released DyITA/prompt/inference code implements the method as described (P=3, 9 gammas init 3, L=9 shared lambdas init 0.01, four kernels, STE, LN before FFN, 'View/Target/Description' template, argmax decoding)
Matches: P=3 projector banks for Q' and K'; four independent kernels each with 9 gammas initialised to 3.0; one shared bank of 9 lambdas initialised to 0.01 used for both lambda^Q and lambda^K; STE hard routing; 2 heads per stage. Mismatches: (i) ITA block uses BatchNorm2d, not Layer Normalization; (ii) DyITA adds an undocumented depth-wise 3x3 conv + BN residual branch, plus LayerScale (init 0.1) and DropPath 0.1; (iii) the prompt is 'Apical 4-Chamber (4CH): Structures visualized: LA, LV, MYO, RA, RV. Segment the LV: <description>' with an instruction prefix, not 'View: v. Target: k. Description: ...' (Table VI's canonical example follows the code); (iv) inference uses per-prompt sigmoid thresholded at 0.5 and zeroes all structures not annotated by the test image's dataset before argmax (toy input LV=0.4/LA=0.3 -> all background), i.e. evaluation is given the dataset's label set, unlike the plain 'argmax over output channels' described; (v) annotated_mask raises KeyError for 'EchoNet-Dynamic', so that Table IV column cannot be evaluated with the release.
Instantiated the released model and introspected module types and initial values; generated prompts with p2echo.prompts; ran metrics.decode on a toy probability map; called annotated_mask for EchoNet-Dynamic.
Dynamic measure kernel is norm-preserving (||phi_gamma(z)|| = ||Softplus(z)||, Eq. 2), gamma(z) >= 1, and STE routing gives a one-hot forward with softmax surrogate gradient
Norm preservation holds to 4e-16 relative error; code equals Eq. (2) to 7e-15; routed exponents are clamped to >= 1; STE forward equals one-hot (deviation ~1e-16) and its gradient equals the softmax Jacobian-vector product to 6e-17. Note the property is trivially true by construction (normalise then rescale).
Ran the released DynamicMeasureKernel in float64 on 2,400 random token vectors (gammas set to 0.5-4.0 to exercise the clamp), compared with an independent numpy implementation of Eq. (2); checked ste_argmax forward values and gradients against the analytic softmax Jacobian.
BDoU loss equation (Sec. III-B) with adaptive alpha follows Sun et al. and matches the code.
sympy residual 0: (z+y-2I)/(z+y-(1+alpha)I) equals (|GuY|-|GnY|)/(|GuY|-alpha|GnY|). Released loss matches Eq. (4) with the original-repo adaptive alpha to max abs difference 1.79e-07 (e.g. C=64, S=437, alpha=0.7071, loss 0.720490 both). The paper itself does not state the alpha formula or the cap at 0.8, nor the per-prompt application.
sympy identity between soft-union form in code and Eq. (4); numeric comparison of released _bdou on 20 random binary disc masks against set-based Eq. (4) with alpha=min(1-2C/S,0.8) (original BDoU repo rule, 4-neighbour boundary).
Released checkpoint corresponds to the described model and its learned DyITA factors are non-trivial (dynamic exponents and subtraction factors actually used)
Checkpoint loads strictly (all keys match; 37,533,876 parameters; no epoch/val_dice metadata saved). All 4 x 4 x 9 = 144 learned gamma factors remain at their 3.0 initialisation (max deviation 0.005), so the routed 'dynamic' exponent selects among identical values: in the released model the Dynamic Measure Kernel is effectively a fixed power-3 map and its router has no effect. The lambda banks stay near the 0.01 init (range -0.0053 to 0.0276), and the subtracted redundancy term is only 0.8-1.7% of the norm of Q/K~ in every stage. This is hard to reconcile with Table V attributing 1.70 (kernel) and 2.19 (differential operator) mDice to these components and with the 'token-adaptive' description; the ablation gains may reflect retraining variance or the extra parameters/nonlinearity rather than the dynamic mechanisms. Probe used random inputs for the magnitude ratio (the gamma/lambda values themselves are input-independent).
Downloaded the Google Drive checkpoint (150 MB), loaded it into the released P2Echo with strict=True, printed learned gamma and lambda banks of all four ITA stages, and probed the relative size of the subtracted term ||lambda X'|| / ||X~|| inside the differential operator with forward hooks.
Evaluation protocol: missed structures count Dice 0, infinite HD95 excluded; mean +/- SD and Wilcoxon signed-rank p<0.01 reported.
Released metrics match the stated protocol: a missed MYO gives Dice 0.0 that is kept in the mean (MYO dice values [1.0, 0.0] -> 0.5) while its inf HD95 is dropped (hd95 list [0.0]). Undocumented: when a structure is absent in both prediction and GT the code scores Dice 1.0/HD95 0. The released code computes no per-structure SD and no Wilcoxon test (no 'wilcoxon' or scipy.stats anywhere; test.py prints only macro means), so the +/- SD values and ** markers in Tables III/IV cannot be regenerated from the release and how the SD was computed (per image? per patient?) is not specified.
Ran released MetricTracker/case_metrics on synthetic masks (MYO missed; LA absent in both); searched released code for SD/Wilcoxon/scipy.stats.
Training configuration (200 epochs, SGD lr 0.01, momentum 0.9, wd 1e-4, batch 32, poly 0.9, grad clip 1.0, mixed precision, deep supervision on two intermediate outputs) matches released train.py.
All stated hyper-parameters match the released defaults (epochs 200, batch 32, lr 0.01, momentum 0.9, wd 0.0001, clip 1.0, 256x256), with SGD, per-step poly decay power 0.9, bf16 autocast and best-val-Dice checkpointing. Code-only details not in the paper: deep-supervision weights 4/7, 2/7, 1/7; training on a random subset of annotated prompts (full prompt set with p=0.25, null prompts for the rest) with per-image prompt shuffling; no weight decay on norms/biases/LayerScale/gamma/lambda banks; intensity-augmentation clip 1.5.
ast parse of argparse defaults, regex for optimiser/scheduler/autocast/clipping/checkpoint selection, exact evaluation of the deep-supervision weight rule.
References exist and support the claims they are cited for; EchoONE is 'the only prior work targeting multi-view echo segmentation'.
All 30 references exist. 28 match automatically; [14] Dugas 2000 (NIPS, Softplus) and [17] Liu et al. BMVC 2023 (SegRWMA) are missing from Crossref but were confirmed manually, and [30] arXiv:2607.05008 resolves to the cited Islam et al. paper. However, [2] Li et al. MICCAI 2019 is itself a multi-view echocardiography segmentation model. That contradicts 'EchoONE ... the only prior work targeting multi-view echo segmentation' (line 474) and fails to support the Sec. I sentence it is cited for ('traditional deep learning models fail to generalize across planes'). Minor: the multi-branch multi-view examples [5] and [6] are brain MRI and cardiac MR, not echo. See work/ref_issues.json.
tools/check_refs.py -> work/refs_checked.json, title-overlap summary, citing-sentence extraction from LaTeX, web lookup of the load-bearing references (arXiv 1907.11292, BMVC 2023 #462, arXiv 2607.05008).
Released code + checkpoint run end-to-end and reproduce the published P2Echo predictions (Fig. 4); probes of the differential operator and prompt sensitivity
The released checkpoint reproduces the published Fig. 4 P2Echo masks: Dice vs overlay 0.937-0.982 per structure (mean 0.960 over 10 structure instances in 4 views; residual differences are consistent with colour-extraction noise and drawn GT contours). Zeroing all lambdas (disabling the cross-modal differential subtraction) changes the predicted masks by Dice 0.9999-1.0000 relative to the canonical output, i.e. the operator has no measurable effect on these predictions, in contrast to the 2.19 mDice drop attributed to it in Table V (which was a separately trained variant). Concise prompts ('Segment the left ventricle cavity.') drop mean Dice to 0.333 with several structures at 0, consistent with Table VI (35.83). Only four images, so the agreement is a sanity check, not a reproduction of Table III.
Extracted the four input frames and the P2Echo overlay column of Fig. 4 from the LaTeX source PDF (pdfimages); ran the released TextEncoder (Qwen3-Embedding-0.6B), checkpoint and decode() on CPU with canonical prompts; recovered reference masks from the overlay colours via the legend; also ran with all DyITA lambdas set to 0 and with Table VI 'concise' prompts.
Released code entry point reproduces Table IV complexity (P2Echo 37.47 M params, 6.90 GFLOPs).
The released entry point prints 'Parameters: 37.53 M (frozen text encoder excluded)' and 'MACs (thop): 6.64 G'. The paper reports 37.47 M and 6.90 GFLOPs. The 0.06 M gap matches the deep-supervision heads (check 05), and 6.90 is on the scale of MACs (6.64 thop / 6.88 torch counter), whereas FLOPs would be about 13.3-13.8 G. This is a supplementary run of the code; it corroborates check 05. Table VII GPU latency could not be measured (no CUDA).
Ran the released tools/benchmark.py with the released checkpoint on CPU (timing part requires CUDA and is skipped by the script).
Internal test results (Table III) come from an 80/10/10 split of each development dataset that is a valid held-out test set
make_splits.py shuffles individual frames per dataset (rng.shuffle(items)) with no patient/video grouping. In the simulation 3936/4213 test frames (93.4%) share a patient/video with training frames: 100% for CAMUS 2CH/4CH, CardiacUDA, EchoCP, SegRWMA; ~81-83% for EchoNet-Pediatric (ED/ES pairs). The paper does not state the split granularity and the actual split file is not released, so this establishes that the released protocol leaks, not with certainty that the reported split did; internal Table III numbers (for all methods) would then measure within-patient interpolation rather than held-out generalisation.
Ran the released tools/make_splits.py unchanged on an empty-file data tree mimicking Table II frame counts and the native multi-frame structure (CAMUS ~20.5 annotated frames per patient and view; EchoNet-Pediatric ED/ES pairs per video; several frames per video for the others); counted test frames whose patient/video also has frames in train.
Table III mDice/mIoU means and SDs are internally consistent for every method and view
All 12 P2Echo cells and all first-order bounds pass. 5 baseline cells in single-structure columns are mathematically impossible if computed per image on LV only: ResUNet 3CH mIoU 85.26 > max 85.07; CENet 3CH 87.42 > 87.25; SAM3 fine-tuned 3CH 87.04 > 86.52; SAM3 zero-shot 3CH 1.29 > 1.24 and SD_IoU 0.26 < min 0.67 (Dice SD 1.34); SAM3 zero-shot PSAX 2.99 > 2.74. Either these baselines were evaluated on a different instance set/averaging than stated, or the cells contain transcription errors. Affects three of the baselines that are closest to P2Echo on 3CH.
Exact per-instance identity IoU = D/(2-D) (convex, f' in [0.5,2], f'' in [0.5,4]). First-order Jensen bounds f(mDice) <= mIoU <= mDice for all 48 cells; for the single-structure columns 3CH (SegRWMA LV) and PSAX (EchoNet-Pediatric LV) also second-order bounds f(m)+0.25 Var <= mIoU <= f(m)+2 Var and 0.5 SD_D <= SD_IoU <= 2 SD_D; rounding tolerance 0.005.
Median gain of 2.33% Dice over the strongest baseline across evaluated datasets; +5.3/+1.1/+2.8 Dice vs EchoONE on 2CH/3CH/4CH, comparable on PSAX; best/second-best marks
Margins over per-column strongest baseline: 2CH 3.55, 3CH 1.10, 4CH 2.48, PSAX 0.29, HMC_QU 20.29, EchoNet-Dynamic 1.34, CardiacNet 2.33 -> median 2.33 (claimed 2.33, exact). Caveats: it is a median over 7 columns (4 internal views + 3 external sets), not over 8 'datasets' as the highlight implies; the unit is Dice points, not %; the median relative gain is 2.57%; the internal-only median is 1.79. EchoONE differences 5.25/1.11/2.76/0.29 match +5.3/+1.1/+2.8/'comparable'. All seven second-best markers are correct.
Recomputed per-column margin of P2Echo over the best baseline in that column, their median, the EchoONE differences and the second-best markers from transcribed mDice values.
0.01546 s/image = 64.68 FPS, third fastest, 1.51x faster than CENet, 4.28-159.36x faster than promptable methods (Discussion: 4-160x)
FPS 64.68, rank 3 and CENet ratio 1.51 reproduce exactly; minimum promptable ratio 4.28 (SAMUS) correct. The maximum is wrong: Grounding DINO-US-SAM 2.59870/0.01546 = 168.09x, whereas 159.36x is the MedCLIP-SAMv2 ratio; the range should read 4.28-168.09x (Discussion '4-160x' likewise). Minor; understates P2Echo's advantage.
Recomputed FPS, latency rank and speed ratios from Table VII.
P2Echo has 37.47 M parameters and 6.90 GFLOPs
Parameters: 37,533,876 (37.53 M) in total, which is what benchmark.py prints; excluding the two training-only deep-supervision heads (57,344) gives 37,476,532 = 37.48 M, matching the claimed 37.47 M within truncation. Compute: FlopCounterMode gives 13.77 GFLOPs = 6.88 GMACs; thop (benchmark.py) gives 6.64 GMACs. The reported '6.90 GFLOPs' therefore corresponds to multiply-accumulates, not FLOPs (true FLOPs ~13.8 G). Whether the baselines' FLOPs in Table IV use the same convention is not stated, so the efficiency comparison may mix units; frozen 0.6B text encoder is excluded from Params (stated only in benchmark.py), while MedCLIP-SAMv2 (836.99 M) appears to include its text/vision encoders.
Instantiated the released P2Echo() on CPU (text_dim 1024, 256x256, 5 prompts); counted parameters; counted MACs with thop exactly as tools/benchmark.py and FLOPs with torch.utils.flop_counter.FlopCounterMode.
Ablation deltas 2.18/1.70/2.19 mDice and +0.39/+0.43/+0.92 HD95; 4B encoder +0.07 mDice with slightly higher HD95; Full DyITA equals Table IV HMC_QU
All six deltas reproduce exactly (2.18/1.70/2.19; 0.39/0.43/0.92); 4B: +0.07 mDice, +0.03 HD95; Full DyITA (82.22, 6.92) equals the Table IV HMC_QU row. Arithmetic is consistent, but the ablation is a single run on one external dataset (HMC_QU, the held-out test set) with no seeds, SDs or paired test, so whether 1.7-2.2 point differences exceed run-to-run variance is not established.
Recomputed differences from Table V and cross-checked against Table IV.
Prompt intervention uses 450 internal test images and 950 annotated structure instances
9 dataset-view groups, each with >= ~56 expected test images -> 9 x 50 = 450 images; instances 150+150 (CAMUS 2CH/4CH, 3 labels) + 200+200 (CardiacUDA, EchoCP, 4 labels) + 5 x 50 (LV-only groups) = 950, matching the paper (requires all annotated structures to be present in every sampled image). Note the sample is weighted toward 4CH (5 of 9 groups) and 400 of 950 instances come from the two smallest datasets.
Reproduced the sampling arithmetic of the released prompt_intervention.py (50 test images per dataset-view group) using Table II counts, the 80/10/10 rule and DATASET_LABELS parsed from p2echo/prompts.py.
Table VI Dice/IoU means and SDs are internally consistent
All six rows satisfy all bounds (e.g. canonical mIoU 88.39 within [87.96, 88.78]; concise 28.58 within [25.11, 48.08]; SD ratios within [0.5, 2]). Concise 35.83 +- 36.23 is near the Bhatia-Davis maximum (47.95), i.e. strongly bimodal (most instances near 0 or near full overlap), consistent with the authors' interpretation of high prompt sensitivity.
Jensen and second-order bounds for IoU = D/(2-D) on single-structure instances, SD-ratio bounds and the Bhatia-Davis maximum-SD bound for [0,100] data.
Table II counts and coverage: EchoNet-Dynamic 2554 frames, HMC_QU 2283 frames, 3CH/PSAX from one dataset each, MYO only from CAMUS
Internal 42,095 and external 7,045 frames. EchoNet-Dynamic 2554 = 2 x 1277 (ED/ES of official test split). 3CH (SegRWMA) and PSAX (EchoNet-Pediatric) are LV-only single-dataset columns, so their 'mDice' is LV Dice; MYO is labelled only in CAMUS; these statements hold. Side findings: HMC_QU lists 2283 frames vs 2349 labeled frames in the public subset (66 frames, 2.8%, unexplained exclusion); EchoNet-Dynamic is absent from the released code (not in make_splits.EXTERNAL nor in prompts.DATASET_LABELS), so its Table IV column cannot be reproduced with the release as is.
Summed Table II, compared with official dataset sizes found by web search (EchoNet-Dynamic test split 1277 videos; HMC-QU 109-video segmentation subset with 2349 labeled frames), derived per-view structure coverage, and compared Table II labels with code DATASET_LABELS.