Geometry Matters in Packed 3D Attention
Amil Khan, Anantajit Subrahmanya, B.S. Manjunath
NeurIPS 2026
TL;DR. Geometry Matters in Packed 3D Attention
Abstract. Packing a 3D field into a token sequence gives every token two indices: a coordinate in the sample and a position in memory. Raster, Morton, and block-contiguous layouts change the position and leave the coordinate alone. A positional mechanism indexed by sequence position can therefore learn the memory layout rather than the object, and accuracy on the training layout cannot reveal that it has. We introduce PACK3D, a local–global attention operator that separates memory layout from attention geometry. It attends exactly within a coordinate-defined neighborhood, sees the whole field through pooled summaries, and rotates queries and keys with axial RoPE at token-grid coordinates. Because keys are rotated before pooling, each query-to-summary logit is a weighted sum of query–key terms evaluated at the summarized tokens' displacements from the query. The operator is equivariant to any repacking that carries coordinates, neighborhoods, summary memberships, and within-block slots along with the tokens. On Allen WTC-11 microscopy at 262k tokens, PACK3D and a matched packed-sequence RoPE control reach comparable Dice on the training layout. Repacking the same validation volumes then costs the packed control 0.048 macro Dice on average, with a loss in all six seeds, while PACK3D changes by 0.0001. On MSD Heart and Spleen, sequence indexing again changes more predictions under repacking, at little cost in Dice. PACK3D also exceeds a parameter-matched 3D U-Net by 0.009 Dice over six seeds, and a full PACK3D layer runs within 7–31% of window-attention latency while adding a global pathway. Geometry, not storage order, should index attention over packed 3D fields. Code is available at https://github.com/amilworks/Pack3D.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper observes that packing a 3D volume into tokens makes sequence order reflect memory layout, not geometry, so sequence-index positional mechanisms can learn storage layout. Pack3D combines exact local neighborhood attention, compressed 3D block summaries for distant context, and axial RoPE on true 3D grid coordinates applied before compression, keeping summaries query-relative. A fused Triton kernel implements the operator. On Allen WTC-11 microscopy it improves macro Dice over learned-position baselines and a parameter-matched 3D U-Net, with large latency reductions.
Reviewers consider the problem statement clean and important for packed volumetric data. The formal core is sound — RoPE before block compression preserves relative 3D displacement, and perturbation ablations convincingly show the compressed summaries are genuinely used. Parameter efficiency and kernel-level latency gains are also noted.
The reviewers' concerns converge. Nearly all non-synthetic evidence comes from a single domain, and every reviewer therefore asks for a second volumetric domain. The headline gain holds only against a weak 158M-parameter baseline with learned full-grid positional embeddings; against compact coordinate-aware alternatives the gap narrows sharply, and the U-Net margin is small. In addtion, the ablations also leave the coupled design factors entangled.
The authors need to thoroughly address the reviewers’ concerns in their rebuttal.
Final justification
The rebuttal addressed the flagged weaknesses well. Reviewers converged on three concerns: the geometric claim rested on a single domain, the headline baseline was weak, and the design factors were entangled. The authors met these with a controlled repacking experiment that isolates the claim directly, a matched coordinate-aware baseline, additional medical-imaging evidence, and a six-seed U-Net comparison reframed as a matched control. In discussion, one reviewer moved from Borderline Reject to Borderline Accept and the other two confirmed Borderline Accept.
I recommend acceptance. The problem statement is clean, the formal core is sound, and the rebuttal replaced an overreaching headline with a narrower claim that the new evidence actually tests. The transparent self-correction was unusual and weighed in the paper's favor. The remaining limitations concern breadth beyond the main domain, a modest U-Net margin, and presentation; all are addressable in revision. The corrected claims and added evidence must be carried into the camera-ready.
Read meta-review
Meta-review
This paper observes that packing a 3D volume into tokens makes sequence order reflect memory layout, not geometry, so sequence-index positional mechanisms can learn storage layout. Pack3D combines exact local neighborhood attention, compressed 3D block summaries for distant context, and axial RoPE on true 3D grid coordinates applied before compression, keeping summaries query-relative. A fused Triton kernel implements the operator. On Allen WTC-11 microscopy it improves macro Dice over learned-position baselines and a parameter-matched 3D U-Net, with large latency reductions.
Reviewers consider the problem statement clean and important for packed volumetric data. The formal core is sound — RoPE before block compression preserves relative 3D displacement, and perturbation ablations convincingly show the compressed summaries are genuinely used. Parameter efficiency and kernel-level latency gains are also noted.
The reviewers' concerns converge. Nearly all non-synthetic evidence comes from a single domain, and every reviewer therefore asks for a second volumetric domain. The headline gain holds only against a weak 158M-parameter baseline with learned full-grid positional embeddings; against compact coordinate-aware alternatives the gap narrows sharply, and the U-Net margin is small. In addtion, the ablations also leave the coupled design factors entangled.
The authors need to thoroughly address the reviewers’ concerns in their rebuttal.
Final justification
The rebuttal addressed the flagged weaknesses well. Reviewers converged on three concerns: the geometric claim rested on a single domain, the headline baseline was weak, and the design factors were entangled. The authors met these with a controlled repacking experiment that isolates the claim directly, a matched coordinate-aware baseline, additional medical-imaging evidence, and a six-seed U-Net comparison reframed as a matched control. In discussion, one reviewer moved from Borderline Reject to Borderline Accept and the other two confirmed Borderline Accept.
I recommend acceptance. The problem statement is clean, the formal core is sound, and the rebuttal replaced an overreaching headline with a narrower claim that the new evidence actually tests. The transparent self-correction was unusual and weighed in the paper's favor. The remaining limitations concern breadth beyond the main domain, a modest U-Net margin, and presentation; all are addressable in revision. The corrected claims and added evidence must be carried into the camera-ready.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes PACK3D, a geometry-aware local–global attention operator for high-token 3D fields. The key observation is that when a 3D volume is patch-tified and packed into a sequence, the sequence order reflects memory layout rather than the true geometry of the sample. To address this, PACK3D separates memory layout from attention geometry by using true 3D token-grid coordinates for axial RoPE, preserving exact local neighborhood attention, and compressing only distant context into contiguous 3D block summaries. The method is validated mainly on Allen WTC–11 hiPSC microscopy, where PACK3D improves over matched learned-position local–global attention and also outperforms a parameter-matched TokenGrid 3D U-Net in an Allen-15 comparison. Overall, the paper argues that physical-coordinate-aware attention is important for reliable packed 3D modeling, especially when using compressed global summaries.
Strengths and weaknesses
Strengths:
- Clear and important problem formulation
- The paper identifies a real issue in packed 3D token fields: after a volume is flattened into a sequence, sequence order reflects memory layout, not physical 3D geometry. This is a clean and meaningful problem for high-token 3D microscopy, medical imaging, and volumetric modeling.
- Strong positional-geometry argument
- The paper shows that axial grid-coordinate RoPE preserves relative 3D displacement, while packed-sequence RoPE can encode memory order instead of object geometry.
- Useful compressed-summary ablations
- The paper shows that the trained model genuinely uses the compressed global branch: zeroing or shuffling compressed summaries causes large Dice drops. This strengthens the claim that global summaries are not decorative.
Weaknesses:
- Main validation is narrow
- The strongest evidence is on Allen WTC–11 microscopy. This is a suitable domain, but the paper would be stronger with another high-token 3D domain, such as CT/MRI, electron microscopy, or volumetric simulation.
- U-Net comparison gain is modest
- In the Allen-15 comparison, PACK3D beats the parameter-matched TokenGrid 3D U-Net by +0.0094 best Dice and +0.0135 final Dice. It looks like the result is not significant.
- Physical-coordinate RoPE may not be uniquely necessary
- The paper notes that summary-center RoPE is competitive in short ablations, so the broader conclusion should be “coordinate-aware compression matters,” rather than “this exact RoPE-before-compression design is always necessary.”
- External generalization appears limited or mixed
- The paper states that external transfer is mixed and defers this evidence to the appendix. This weakens claims about broad robustness beyond the main Allen setting.
Questions
- Can the authors clarify the generality of the PACK3D principle beyond Allen microscopy?
- The paper makes a focused and convincing argument that packed 3D attention should use physical 3D coordinates rather than packed sequence position. However, the main empirical validation is primarily on Allen WTC–11 microscopy. Could the authors provide additional evidence, even a small-scale experiment, on another 3D domain such as medical CT/MRI, electron microscopy, synthetic volumetric shapes, or 3D simulation fields?
- Can the authors better separate the contribution of physical-coordinate encoding from the specific RoPE-before-compression design?
- The paper argues that applying RoPE before block compression preserves query-relative 3D geometry in compressed summaries. At the same time, the paper notes that summary-center RoPE is competitive in short ablations. Could the authors clarify whether the main takeaway should be “coordinate-aware compression matters” or whether the exact token-before-compression RoPE design is necessary for strong performance? A concise ablation comparing RoPE-before-compression, summary-center RoPE, and learned coordinate bias at the main 262k/depth8 setting would be helpful.
Limitations
- Validation is mostly limited to Allen microscopy
- The exact RoPE-before-compression design may not be uniquely necessary
- External transfer appears mixed
Final justification
I recommend Borderline Accept after considering the rebuttal.
-
Resolved: The authors provide a strong membership-preserving repacking experiment showing that PACK3D is stable when sequence layout changes while physical geometry is preserved, whereas packed-position RoPE degrades substantially. This directly supports the paper’s central claim that attention geometry should be separated from memory layout.
-
Resolved: The additional Heart MRI and Spleen CT experiments extend the packing-stability finding beyond Allen microscopy. The authors also clearly distinguish the broad coordinate-aware principle from the specific token-before-compression design and appropriately withdraw claims that the latter is empirically necessary on fixed-layout segmentation tasks.
-
Resolved with corrected scope: The mechanism probe supports the mathematical and implementation-level exactness of token-before-compression, while the expanded U-Net comparison is correctly framed as a matched architectural control rather than general superiority. I also appreciate the transparent correction of the invalid shuffle intervention and inert packed-RoPE control.
-
Remaining limitations: The paper still does not demonstrate clear non-Allen segmentation accuracy gains, the U-Net margin remains modest, and a principal-scale comparison against learned coordinate bias is missing. These prevent a stronger accept recommendation.
Overall, I assign greater weight to the controlled repacking evidence because it directly tests the paper’s primary geometric claim. The remaining limitations concern breadth and comparative strength rather than the correctness of the central contribution, so I move from Borderline Reject to Borderline Accept.
Formatting concerns
N/A
3 comments
Rebuttal
Thank you. Your distinction between the broad coordinate principle and the exact RoPE placement is correct. The new evidence lets us state that distinction precisely.
Q2/W3 — coordinate-aware compression versus exact placement. The submission already reported summary-center RoPE as competitive (App. B.7, Table 6), while App. B.8, Lemma 9 formalized its approximation error. On natural Allen-15 data, our response-period depth-8 matrix likewise detects no reliable accuracy advantage for token-before-compression (0.8228), summary-center rotation (0.8201), or unrotated summary keys (0.8232). We withdraw any phrasing that treats fixed-layout Dice as evidence that token-before-compression is empirically necessary. The exactness claim is mathematical: token-before-compression preserves each contributing token's relative displacement, as formalized in §3.2, Eq. (2) and App. B.5, Theorem 7; summary-center rotation approximates it.
We built a mechanism-identification probe because the natural task does not isolate this channel. The probe uses only the compressed branch with frozen uniform one-atom pooling and a learned readout at a fixed query location; it is not full PACK3D and not a segmentation result. Counterfactual pairs swap two token states within one block while holding the query, block center, token multiset, and pooled values fixed. Across six matched seeds, token-before-compression reaches 0.9997 accuracy while summary-center and unrotated-summary-key controls remain at 0.5000 (exact two-sided sign-flip ). Token-before summary keys change by 1.344–1.612 across seeds (mean 1.4663), while every control-key delta and pooled-value delta remains at or below . Within this construction, the distinguishing information travels through the rotated summary key. The theorem establishes the channel algebraically; the probe verifies that the implementation preserves and uses it. It does not show that Allen or MSD requires it.
A principal-scale learned coordinate-bias comparison remains unrun. The submitted feasible-scale bias rows appear in §4.3, Table 2 (65k/depth-1), with further bias comparisons deferred to App. B.9 and App. B.11. At the grid, a dense implementation would materialize 536.9M key-head bias elements and 2.15B grouped score elements per layer—approximately 5 GiB in bf16 before gradients—and exceeds our current materialization guard. A systems-matched depth-8 comparison requires a streaming bias-aware kernel that we did not build. The available response-period evidence is the depth-8 separable learned 3D PE control, where no reliable difference is detected; the submitted depth-1, seed-13 65k rows are axial RoPE 0.7346, 3D relative-position bias 0.7055, and 3D ALiBi 0.7098. We do not treat those smaller-scale rows as resolving the principal-scale question.
Q1/W1 — generality and what the theorem does and does not supply. We withdraw the inert packed-RoPE row in submitted §4.3, Table 2. The rebuilt control is not reliably separated from PACK3D on the original six-seed layout comparison (0.82287 versus 0.82468), which makes the intervention below informative.
A pure repack changes 99.61% of packed positions while preserving every physical coordinate, exact neighborhood, fine block, and all 1,024 pooled-summary memberships. These are the coordinate objects named in §3.1, Proposition 1 and App. B.3, Theorem 5. PACK3D changes by Dice; corrected packed RoPE loses 0.04792. The differential loss is 0.04802 Dice in seeds (paired -based 95% CI ; exact ; paired -test ). Prediction disagreement—the fraction of aligned binary predictions that changes—is 0.0069% versus 1.2265%, a percentage-point gap in seeds (exact ). For PACK3D, this theorem-aligned test primarily verifies the implementation. For packed RoPE, the same intervention is falsifying: the coordinate-defined graph is unchanged, yet changing sequence indices removes a substantial share of accuracy.
We also ran a partition-changing raster-to-Morton switch outside App. B.3, Theorem 5. PACK3D loses 0.00052 Dice and packed RoPE 0.07879 in seeds (exact two-sided sign-flip , the minimum attainable with three paired seeds). This is a deployment stress, not an equivariance test.
The proof step in App. B.3, Theorem 5 requires the within-block weighting rule to be symmetric under re-enumeration, or any slot identity to be indexed by canonical relative coordinates and transported with them. We therefore clarify hypothesis 3 by stating that condition explicitly. A numerical check gives permutation error for content-only pooling, 0.875 with an untransported slot bias, and once slot identity is transported. The pure-repacking interventions preserve this identity; the named layout switch changes block membership and is reported outside the theorem.
The submission already included single-seed 65k-token external gates (App. C.6, Table 13, p. 21). We extend them to 18 depth-1 models at 262,144 tokens on isotropic crops from MSD Heart MRI and Spleen CT. Fixed-layout Dice does not reliably separate the encodings. Under the membership-preserving repack, all-voxel disagreement is 0.0038%/0.1024%/0.0032% on Heart and 0.0051%/0.3184%/0.0034% on Spleen for PACK3D/packed RoPE/separable PE. Foreground-union disagreement is 0.028%/0.752%/0.024% and 0.024%/1.449%/0.016%. Packed RoPE is more sensitive than both coordinate-aware encodings in seeds on both tasks and every reported metric. Relative to PACK3D, the all-voxel gaps are percentage points on Heart (paired -test ) and percentage points on Spleen (); the exact two-sided value is for each. Dice changes by less than 0.0003. Applying the analogous partition-changing native-to-raster switch changes mean Heart Dice by at most 0.0001 and mean Spleen Dice by at most 0.0021; no per-encoding Dice change is reliable (exact ). The deployment-scale Dice consequence is therefore demonstrated on Allen, not yet outside it. These complete cropped-validation measurements support non-Allen packing sensitivity, not official-test performance or non-Allen accuracy degradation.
W4 — why external transfer appears mixed. On the fixed Morton ordering, packed-index gap correlates with physical distance at Spearman , so memory order is a partial geometry proxy while the layout remains fixed. After the membership-preserving repack, the correlation falls to 0.012 and 99.82% of sampled physical pairs receive a different packed distance. "Mixed" refers to fixed-layout ranking; sensitivity to changed packing is consistent across Allen, Heart, and Spleen.
W2 — U-Net margin. The submitted three-seed result appears in §4.2, Table 1. Across six matched seeds, the best-Dice margin is , positive in seeds, exact , with paired -based 95% CI . The final-checkpoint margin is with wins and exact , down from the submitted . This is a matched architecture control, not general superiority over 3D U-Nets.
Correction to the branch intervention. We withdraw the summary-shuffle row in submitted §4.4, Table 3 and App. C.4, Table 11 because its evaluator shared late-bound state across attention layers. The corrected evaluator preserves compressed-output zeroing (), replaces the invalid shuffle with same-layer cross-sample replacement (), and restores the common key/value permutation no-op required by attention set-order invariance. Branch dependence survives; sensitivity to arbitrary summary enumeration does not.
The corrected record supports three bounded conclusions: the implementation realizes the exact token-coordinate channel; the trained model can depend on compressed nonlocal evidence; and coordinate-indexed attention is substantially more stable under changed packing. It does not support fixed-layout placement superiority, natural-task necessity of token-before-compression, or universal segmentation gains.
Thank you for the detailed rebuttal, additional experiments, and careful correction of the experimental record. The response materially strengthens the paper and addresses most of my original concerns.
Q1/W1: Generality beyond Allen microscopy.
The membership-preserving repacking experiment is a strong and well-controlled test of the paper’s central principle. It changes packed sequence positions while preserving physical coordinates, local neighborhoods, blocks, and summary memberships. The finding that PACK3D remains essentially unchanged while packed-index RoPE loses substantial Dice on Allen provides convincing evidence that coordinate-indexed attention is more robust to arbitrary packing choices.
The additional Heart MRI and Spleen CT experiments also extend the packing-sensitivity result beyond Allen microscopy. However, these experiments primarily demonstrate reduced prediction sensitivity under repacking; they do not yet show improved non-Allen segmentation accuracy or degradation in Dice for packed RoPE. The revised paper should therefore frame the cross-domain conclusion as consistent packing stability across domains, rather than broad segmentation superiority.
Q2/W3: Coordinate-aware compression versus exact RoPE placement.
The rebuttal clearly resolves this distinction. The principal-scale Allen experiments do not show a reliable performance difference among token-before-compression RoPE, summary-center RoPE, and unrotated summary keys. I appreciate the authors withdrawing any claim that fixed-layout Dice establishes the empirical necessity of token-before-compression.
The mechanism-identification probe is nevertheless informative: under a construction that holds the pooled values, block center, query, and token multiset fixed, only token-before-compression preserves the within-block arrangement information. This supports the mathematical exactness and implementation of the proposed channel, but not its necessity for the current natural segmentation tasks. The remaining limitation is that a principal-scale comparison with learned coordinate bias has not been performed.
W2: U-Net comparison.
The expanded six-seed analysis better characterizes the result, but the performance margin remains modest. I agree with the authors’ revised interpretation that this is a matched architectural control rather than evidence of general superiority over 3D U-Nets.
W4: External transfer.
The explanation that fixed Morton order partially correlates with physical distance clarifies why fixed-layout rankings can appear mixed. The consistent sensitivity of packed RoPE after this correlation is disrupted supports the paper’s geometric argument.
Corrections to the original ablations.
I appreciate the authors identifying and withdrawing the invalid summary-shuffle result and the inert packed-RoPE control. The corrected interventions still support dependence on compressed nonlocal evidence, but no longer support sensitivity to arbitrary summary enumeration. These corrections and their implications should be clearly reflected throughout the revised paper.
Overall, the rebuttal substantially improves the paper. The core contribution is now appropriately bounded: PACK3D provides a mathematically exact token-coordinate channel and substantially greater stability to changes in sequence packing, while the current evidence does not establish that token-before-compression is uniquely necessary or that PACK3D universally improves 3D segmentation accuracy. Given the controlled repacking evidence, the additional Heart and Spleen experiments, and the authors’ careful revision of the claims, I am updating my rating to Borderline Accept. My remaining concerns are the lack of demonstrated non-Allen accuracy gains and the absence of a principal-scale learned coordinate-bias comparison.
Thank you for the careful reassessment and for updating your rating. We agree with your characterization of the corrected contribution and its remaining boundaries. The Heart/Spleen evidence should be framed as cross-domain packing stability rather than non-Allen segmentation superiority; token-before-compression should be stated as the mathematically exact channel rather than an empirically necessary placement on the current natural tasks; and a principal-scale learned coordinate-bias comparison remains an open limitation. We agree that these remaining gaps concern empirical breadth rather than the validity of the bounded core claim. We will remove the inert packed-RoPE and invalid summary-shuffle conclusions and propagate the corrected interpretation throughout any camera-ready revision. Thank you again, this is great feedback.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper's point: once a 3D volume is packed into tokens, packing order (raster/Morton/block-contiguous) is a memory choice, not the sample's geometry, so sequence-index positional mechanisms can learn the storage layout rather than the object. PACK3D keeps local neighborhood attention exact on coordinate-defined neighborhoods, compresses only nonlocal context into contiguous 3D block summaries, and indexes query-key compatibility with axial RoPE on true (z,y,x) grid coordinates. The key result (Prop. 2) is that applying RoPE before block compression preserves query-relative geometry — the query-to-summary logit becomes a weighted sum of q^T R(c_u - c_i) k_u, so a query attends through relative 3D displacement rather than to an anonymous pooled vector. It's implemented as a fused Triton forward/backward block with block-Morton layout and streamed online-softmax reductions. On Allen WTC-11 microscopy at 262k tokens / depth 8, PACK3D beats a matched learned-position model by +0.0978 best / +0.1248 final macro Dice (at 24.3M vs 158.5M params), and an Allen-15 comparison beats a parameter-matched TokenGrid 3D U-Net by +0.0094/+0.0135. Inference-time perturbations (zeroing/shuffling summaries) cause large Dice drops, and the operator shows 6.49x-125x latency reductions vs dense at 65k-1M tokens.
Strengths and weaknesses
The framing is the paper's best asset: "sequence order is not the geometry of the sample after packing" cleanly states a problem prior local-global work sidesteps, and the paper is unusually disciplined about scope — it explicitly disclaims segmentation SOTA, label-free prediction, and any universal speed law. Prop. 2 is the right formal observation and its one-line proof (substitute rotations, use R(c_i)^T R(c_u) = R(c_u - c_i)) is correct and elegant, explaining why RoPE-before-compression keeps summaries spatially interpretable. The systems framing is mature — it takes seriously that algebraic sparsity is worthless if the kernel materializes dense route tensors. The parameter efficiency (24.3M vs 158.5M while winning by a large margin) is striking. The inference-time ablations (Table 3) are the most convincing evidence: a -0.176 Dice drop from zeroing the compressed branch, and a -0.167 drop from shuffling summaries, specifically test whether geometry matters rather than just added capacity.
Weaknesses:
Single-domain validation undercuts the general thesis. The claim is about packed geometric attention broadly, but all non-synthetic evidence is Allen microscopy, and the paper concedes external transfer is "mixed" (in an appendix I can't see). As written it supports "coordinate geometry helps on Allen," not the broader principle; a second volumetric domain (e.g., 3D medical segmentation) would close the gap.
The headline baseline may be a strawman. The +0.0978/+0.1248 gain is against a 158.5M learned full-grid PE model that is the weakest compact option in Table 2, while separable learned 3D PE (3.18M) is "competitive." The honest comparison (axial RoPE vs separable-coordinate PE) is much tighter; §4.3 acknowledges this but the abstract leads with the inflated number.
Narrow U-Net comparison. Allen-15 beats one conv U-Net by a modest +0.009-0.014, with no comparison to the transformer-hybrid segmenters the related work cites (UNETR, Swin UNETR, nnFormer) — the natural competitors for "attention helps 3D segmentation."
Questions
Second domain. Can you show the coordinate-geometry advantage on any non-Allen volumetric task? And can the "mixed" external transfer result be summarized in the main text, since it bears on the central claim?
Baseline strength. What is the gap against the strongest coordinate-aware learned baseline (separable 3D PE) at depth 8 across seeds? If small, the framing should center that comparison rather than full-grid PE.
U-Net / hybrid comparison. How does PACK3D compare to UNETR or Swin UNETR at matched parameters, and is the +0.009-0.014 margin stable across the per-structure breakdown or driven by a few structures?
Limitations
yes
Formatting concerns
NA
2 comments
Rebuttal
Thank you. Your reading of Proposition 2 and of the systems contract is the one we intend. Because you cited the perturbation and parameter-efficiency results as strengths, we first clarify exactly what survives.
Perturbation evidence (S6). We withdraw the submitted summary-shuffle row in §4.4, Table 3 and App. C.4, Table 11. Its evaluator patched all depth-8 modules with a late-bound state dictionary, so layers shared one iteration's state. The corrected per-layer evaluator preserves compressed-output zeroing (, ), replaces the invalid shuffle with same-layer cross-sample replacement (0.6700, ), adds key-only and value-only permutations (, ), and restores the common key/value permutation no-op required by attention set-order invariance (0.8532). The zeroing evidence you relied on stands; the summary-order claim does not.
The two zeroing magnitudes in our materials belong to different contracts. The six-structure model uses a convex branch mixture, where zeroing costs 0.1756. Allen-15 retains the local output as a residual and gates only the compressed addend, where zeroing costs 0.00937 across all 120 validation cases. The latter intervention is structurally less severe, so the magnitudes should not be compared as one model.
Parameter efficiency (S5). The 24.3M-versus-158.5M comparison belongs to the six-structure experiment in submitted §4.2, where the best and final Dice gains live (0.8531 versus 0.7553). Allen-15 is the separate, closely matched comparison reported in §4.2, Table 1: 30.08M PACK3D versus a 31.87M TokenGrid 3D U-Net.
Q2 — strongest compact coordinate-aware baseline. The compact learned-coordinate baseline in the submission is separable 3D PE (§4.3, Table 2). We extended it to Allen-15 depth 8: PACK3D (30.081M) versus the same operator with separable learned 3D PE (30.196M) gives best and final Dice with seed wins, which we do not reliably detect. This is the fair compact comparison, not the 158.5M full-grid row.
You also identified packed-sequence RoPE as the cleanest memory-order control. The implementation underlying the submitted §4.3, Table 2 row allocated no active rotary pairs and was inert, so we withdraw that row. Rebuilt with an attested nonzero rotary transform and expanded to six seeds, the control is not reliably separated from PACK3D on the original layout: 0.82287 versus 0.82468.
That fixed-layout comparability is the premise of the identifying intervention. A pure repack changes 99.61% of packed positions while preserving every physical coordinate, exact neighborhood, fine block, and all 1,024 pooled-summary memberships—the coordinate objects named in submitted §3.1, Proposition 1 and App. B.3, Theorem 5. PACK3D changes by Dice; corrected packed RoPE loses 0.04792. The differential loss is 0.04802 Dice, with the same direction in seeds (paired -based 95% CI ; exact two-sided sign-flip ; paired -test ). Prediction disagreement—the fraction of aligned binary predictions that changes—is 0.0069% versus 1.2265%, a percentage-point gap in seeds (exact ). The coordinate-defined graph is unchanged; only the sequence indices change.
A separate raster-to-native_block_morton deployment switch changes summary membership and therefore lies outside App. B.3, Theorem 5. It gives losses of 0.00052 for PACK3D and 0.07879 for packed RoPE in seeds (exact two-sided sign-flip , the minimum attainable with three paired seeds). We treat this as a systems stress, not as the identification test.
Q1 — non-Allen transfer and the meaning of "mixed." The submission already included single-seed 65k-token Heart and Spleen gates (App. C.6, Table 13, p. 21). We extend them to 18 depth-1 models at 262,144 tokens on isotropic crops from MSD Heart MRI and Spleen CT. On all held-out crops, best Dice is 0.9422/0.9403/0.9428 on Heart and 0.9567/0.9610/0.9531 on Spleen for PACK3D/packed RoPE/separable PE. No fixed-layout comparison is reliably different; separable PE leads numerically on Heart, packed RoPE on Spleen.
"Mixed" therefore describes fixed-layout ranking. On the fixed Morton ordering, packed-index gap correlates with physical grid distance at Spearman , so memory order can partially proxy geometry in-distribution. Under the membership-preserving repack, that correlation falls to 0.012. All-voxel disagreement is 0.0038%/0.1024%/0.0032% on Heart and 0.0051%/0.3184%/0.0034% on Spleen for PACK3D/packed RoPE/separable PE; foreground-union disagreement is 0.028%/0.752%/0.024% and 0.024%/1.449%/0.016%. Packed RoPE is more sensitive than both coordinate-aware encodings in seeds on both tasks and every reported metric. Relative to PACK3D, the all-voxel gaps are percentage points on Heart (paired -test ) and percentage points on Spleen (); the exact two-sided value is for each. Dice changes by less than 0.0003, so the external result is packing sensitivity rather than task-level degradation. Applying the analogous partition-changing native-to-raster switch changes mean Heart Dice by at most 0.0001 and mean Spleen Dice by at most 0.0021; no per-encoding Dice change is reliable (exact ). Thus the deployment-scale Dice consequence is demonstrated on Allen, not yet outside it. These are complete cropped-validation measurements, not official MSD test-server results or full-volume inference.
Q3 — U-Net margin stability and hybrids. The submitted comparison appears in §4.2, Table 1. Across six matched seeds, PACK3D reaches 0.82468 versus 0.81529 best macro Dice: , positive in seeds, exact , with paired -based 95% CI . The final-checkpoint margin is with wins and exact —smaller than the submitted . Best-checkpoint means favor PACK3D on structures; at least four of six seeds favor it on ; SEC61B and ATP2A2 survive Holm correction; CETN2 () and NUP153 () favor U-Net. The gain is small, reproducible, broad, and not universal.
MONAI UNETR is a secondary architecture control: 0.7430 at 10k and 0.7724 at 20k, with curves still improving, versus 0.8228 for PACK3D. Standard patching leaves only 64 transformer tokens, so it is not a high-token attention comparison. Swin UNETR and nnFormer remain unrun; this limits architecture-level conclusions but not the matched positional comparison.
Systems scope. The submitted measurements appear in §4.5 and App. D.2, Table 15. The timing table used pool-64 and reproduces at –. Under the Allen-15 attention contract, dense-over-PACK3D forward-plus-backward speedups are , , , , and from 65k to 1M tokens. At 262k, dense is 1630.28 ms, local-only window 52.63 ms, and PACK3D 56.35 ms at 5.58 GiB with 1,024 effective summaries. The supported claim is near-window latency with compressed global context and substantially better scaling than dense attention under this contract—not a universal speed or memory law. We also retract any wording implying a single fused whole-operator backward: the custom Triton local backward recomputes local softmax, while summary construction and compressed attention use ordinary autograd.
Thank you again for the careful review. For ease of verification, our response now addresses each of your three questions directly:
-
Non-Allen volumetric evidence. We report -token results on MSD Heart MRI and Spleen CT. We frame these results narrowly as evidence of cross-domain packing stability, not as evidence of non-Allen segmentation superiority.
-
Strongest coordinate-aware baseline. We provide the matched separable learned 3D PE comparison and a corrected six-seed packed-sequence-RoPE repacking experiment. Under pure repacking, packed RoPE incurs a greater Dice loss than PACK3D, with the same direction in all 6/6 paired seeds .
-
U-Net comparison. We extend the Allen-15 analysis to six matched seeds and provide a per-structure decomposition, including the structures that favor PACK3D and those that favor U-Net.
We also withdraw the invalid summary-shuffle row and the inert submitted packed-RoPE row. The corrected analyses independently revalidate the compressed-output-zeroing intervention and preserve the principal six-structure learned-PE result.
If any of your original concerns remains decision-critical after these updates, we would be grateful for a brief indication before the author-reviewer discussion closes. Once again, thank you for your thorough review.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper claims that Packed 3D token fields introduce a mismatch between memory layout and geometric structure, causing attention mechanisms to learn storage order rather than spatial relations. So the authors propose PACK3D, a local-global attention operator featuring exact local token-token attention, compressed 3D block summaries for distant context, and axial RoPE indexed by 3D coordinates. The authors report experiments showing that PACK3D outperforms learned-position baselines in segmentation accuracy while achieving substantially better latency scaling than dense attention.
Strengths and weaknesses
Strengths
Motivation is clear and important. The paper identifies a real issue in packed 3D token fields: sequence order is unable to match the physical geometry of the sample. This is a meaningful problem for applying attention to high-token volumetric data.
The proposed method is technically reasonable. Using true 3D coordinates for positional encoding, while separating local exact attention from compressed global context, is a well-motivated design. The theoretical claims around packing equivariance and coordinate-aware compression are clear and help explain why sequence-index positional encodings can fail. The experiments are generally aligned with the central claim.
Weaknesses
- The presentation is not sufficiently clear. The paper describes a fairly complex operator, but there is only one main figure in the entire paper, and many key ideas are explained through dense notation. More figures and clearer comparisons to standard local and window attention would make the method much easier to understand.
- The empirical scope is narrow. Most evidence comes from Allen microscopy, with Allen-generated masks and input that includes the target. But the broader generality of the method remains unclear. The comparison to a 3D U-Net is narrow and the reported gain in the Allen-15 is relatively small.
- Some baselines feel uneven. Learned full-grid positional embeddings have many more parameters, while compact coordinate-aware alternatives are only briefly explained. More carefully matched positional and sparse-attention baselines would make the architectural conclusion stronger. I suggest more comparisons against strong volumetric transformer or hybrid baselines.
- The ablations do not completely isolate the contribution. The paper argues that physical-coordinate geometry is the key factor, but several design choices are coupled: local-global factorization, block compression, axial RoPE placement. A cleaner ablation matrix would strengthen the claim and better support the core contribution.
Questions
- More visual explanation of the data flow would substantially improve readability. There is only one figure in the entire paper.
- The gains may come from several coupled factors: 3D coordinate RoPE, local-global factorization, block compression or RoPE-before-compression. A compact ablation comparing these components under the same parameter budget would help determine whether the main benefit truly comes from physical-coordinate geometry.
- The motivation is broad, but the main evidence is concentrated on one domain. Even a small-scale experiment on another volumetric dataset would help assess the scope of the claim.
Limitations
The results on the Allen dataset are promising, but the paper's scope — "packed 3D attention in general" — is too broad. The authors should specify which problem types genuinely benefit from this method.
Final justification
If the authors commit to narrowing the scope of their contributions in the rebuttal, I could raise my score. However, taking everything into account, the current version still requires substantial additional revision to meet the requirements for publication.
Formatting concerns
I didn't notice any major paper formatting issues.
3 comments
Rebuttal
Thank you. Your four concerns—presentation, empirical scope, baseline fairness, and factor isolation—led us to rebuild the critical controls and add matched interventions.
Two submitted empirical conclusions require withdrawal. The implementation underlying the packed-sequence-RoPE row in §4.3, Table 2 allocated no active rotary pairs, so the control was inert. The evaluator underlying the summary-shuffle row in §4.4, Table 3 (also App. C.4, Table 11) shared late-bound state across attention layers. We withdraw both conclusions. The remaining changes concern the threshold protocol, one theorem hypothesis, the Allen-15 mixer description, and systems scope; each is stated where relevant. We rebuilt the packed control with an attested nonzero transform and replaced the invalid shuffle with corrected per-layer interventions.
Which factor causes the gain (W4/Q2). Our response-period Allen-15 depth-8 matrix first narrows the claim. At the original layout, we detect no reliable difference among PACK3D 0.8228, corrected packed RoPE 0.8233, summary-center RoPE 0.8201, unrotated summary keys 0.8232, and local-only 0.8223. The six-seed positional comparison gives the same conclusion: PACK3D 0.82468 versus corrected packed RoPE 0.82287, a 0.00181 difference that is not reliably detected. The six-seed comparison extends the matrix's three seeds with three additional seeds; the numerical ordering reverses, but neither fixed-layout contrast is reliable. We therefore do not infer the mechanism from fixed-layout Dice.
The pure-repacking intervention does identify memory-order dependence. It changes 99.61% of packed positions while preserving every physical coordinate, exact coordinate-defined neighborhood, fine block, and all 1,024 pooled-summary memberships—the objects in the submitted packing-equivariance contract (§3.1, Proposition 1; App. B.3, Theorem 5). On the same 120 validation cases, PACK3D changes from 0.82468 to 0.82478 ( Dice); corrected packed RoPE falls from 0.82287 to 0.77496 (). Packed RoPE therefore loses 0.04802 more Dice than PACK3D, with the same direction in seeds (paired -based 95% CI ; exact two-sided sign-flip ; paired -test ). Prediction disagreement—the fraction of aligned binary predictions that changes—is 0.0069% for PACK3D and 1.2265% for packed RoPE, a percentage-point gap in seeds (exact ). The coordinate-defined graph is unchanged; only the sequence indices change.
A second experiment models a deployment change rather than a pure repack. Raster-trained checkpoints evaluated unchanged under native_block_morton lose 0.00052 Dice for PACK3D and 0.07879 for packed RoPE, with the same direction in seeds (exact two-sided sign-flip , the minimum attainable with three paired seeds). Because this switch changes every summary membership, it lies outside App. B.3, Theorem 5; we report it as a systems stress, not as an equivariance test.
The RoPE-placement factor is isolated separately. A compressed-branch probe swaps two token states inside one block while holding the query, block center, token multiset, and pooled values fixed. Token-before-compression reaches 0.9997 accuracy, whereas summary-center and unrotated-summary-key controls remain at 0.5000 across six seeds (exact ). This verifies the exact token-coordinate channel formalized in submitted §3.2, Eq. (2) and Proposition 2; it does not show that natural segmentation requires that channel.
Is the compressed branch necessary or merely used? These are different counterfactuals. A separately trained local-only model reaches 0.8223 versus 0.8228 for PACK3D, so the branch is not required to reach this fixed-layout Allen-15 score under the tested budget. The jointly trained checkpoint nevertheless depends on it: across all 120 cases, zeroing the compressed output reduces Dice by 0.00937 and cross-sample summary replacement reduces it by 0.01574, both in seeds; a common key/value permutation is a no-op (), as attention set-order invariance requires.
A controlled long-range probe shows when the branch becomes necessary. The classes are identical inside the local neighborhood, and the label bit lies in a block that radius-1 attention cannot reach. Local-plus-compressed attention reaches 1.0000; local-only remains at 0.5000 through radius 2; and a radius-3 local control that can reach the block also solves the task. Zeroing the remote bit returns the full model to chance, while flipping it inverts the prediction (six seeds; exact ). The local controls fail because the evidence is inaccessible, not because the rule is unlearnable.
Beyond Allen microscopy (W2/Q3). The submission already included single-seed 65k-token Heart and Spleen gates (App. C.6, Table 13, p. 21). We extend that evidence to 18 depth-1 models at 262,144 tokens on isotropic crops from MSD Heart (cardiac MRI) and Spleen (abdominal CT), using coordinate blocks, 2,048 summaries, and 10k steps. Best Dice is 0.9422/0.9403/0.9428 on Heart and 0.9567/0.9610/0.9531 on Spleen for PACK3D/packed RoPE/separable PE. No matched fixed-layout comparison is reliably different; separable PE is numerically best on Heart, packed RoPE on Spleen.
Under a membership-preserving repack evaluated on every held-out crop, all-voxel disagreement is 0.0038%/0.1024%/0.0032% on Heart and 0.0051%/0.3184%/0.0034% on Spleen for PACK3D/packed RoPE/separable PE. Restricted to the foreground union, the corresponding values are 0.028%/0.752%/0.024% and 0.024%/1.449%/0.016%. Packed RoPE is more sensitive than both coordinate-aware encodings in seeds on both tasks and every reported metric. Relative to PACK3D, the all-voxel gaps are percentage points on Heart (paired -test ) and percentage points on Spleen (); the exact two-sided value is for each. Dice changes by less than 0.0003 for every encoding. Applying the analogous partition-changing native-to-raster switch to the same 18 MSD checkpoints changes mean Heart Dice by at most 0.0001 and mean Spleen Dice by at most 0.0021; no per-encoding Dice change is reliable (exact ). We therefore report the deployment-scale Dice consequence as demonstrated on Allen, not yet outside it. These cropped-validation results support non-Allen packing sensitivity, not official-test/full-volume performance or non-Allen Dice degradation. As a lower-token task control, NoduleMNIST3D CT classification gives 0.7422 balanced accuracy for PACK3D and 0.5988 for packed RoPE, with the same direction in seeds (exact ).
Baselines (W3). The submission already included compact separable 3D PE (§4.3, Table 2). Our response-period Allen-15 depth-8 comparison holds the operator fixed: PACK3D (30.081M) versus separable learned 3D PE (30.196M) gives best and final Dice, with seed wins, not a difference we reliably detect. The 158.5M full-grid row is parameter-unmatched and is not the matched baseline.
The submitted three-seed Allen-15 U-Net comparison appears in §4.2, Table 1. Extending it to six matched seeds gives PACK3D 0.82468 versus U-Net 0.81529, a best-checkpoint difference positive in seeds (paired -based 95% CI ; exact ). The final-checkpoint margin is with wins and exact . MONAI UNETR is a secondary architecture control: under matched data, split, output grid, loss, optimizer, and 10k budget it reaches 0.7430 versus 0.8228, and 0.7724 at 20k with curves still improving. Standard patching leaves it only 64 transformer tokens, so this is not a high-token operator comparison. Swin UNETR and nnFormer remain unrun.
Data flow (W1/Q1). Figure 1 (p. 2) and §3.2 show the operator; stated directly, each query computes exact attention over a neighborhood defined by physical 3D coordinates and, in parallel, attends to pooled summaries of coordinate-defined blocks across the field. Token keys are rotated at their own coordinates before pooling; values are pooled unrotated. In the audited Allen-15 implementation, the local output remains as a residual and a learned gate adds the compressed output before decoding. Unlike standard window attention, PACK3D defines its local interaction graph from physical coordinates rather than from window membership in the packed representation.
Target fluorescence and scope. The tagged target channel is an input, so the task is fluorescence-assisted, not label-free. The submitted threshold control appears in §4.1 and App. A.2, Table 5; its 0.5582 value selected and evaluated thresholds on validation. Fitting them on training crops and evaluating held-out validation gives 0.5576, versus 0.8531 for the three-seed six-structure model. Under 50% target-fluorescence dropout, PACK3D reaches 0.8355 and a matched U-Net 0.8415; with brightfield alone both are weak. A manifest check found no mask or segmentation-derived input and no shared preprocessed paths across the split.
PACK3D targets fields with known physical coordinates, system-selected packing, exact local morphology, and compressed nonlocal context. We do not claim segmentation state of the art, general superiority over U-shaped architectures, superiority over every coordinate-aware encoding, or a universal sparse-attention speed law.
Thank you for revisiting the paper and updating your assessment. We appreciate the reconsideration. Could you briefly indicate which, if any, of your original concerns remains decision-critical after the rebuttal—presentation, empirical scope, baseline fairness, or factor isolation? This would help us understand whether any point still requires clarification before the author-visible discussion closes. Once again, thank you for your time and reconsideration.
I carefully reviewed the comments from other reviewers and decided to give the borderline acceptance as the final decision. The authors' response was very detailed. My only concern now is about the parts of the paper that require significant revisions, and I hope the authors can carefully revise their paper in the camera-ready version.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you AC. The reviews converged on domain breadth, baseline fairness, and factor isolation. A post-review verification pass also identified two submitted empirical conclusions that require withdrawal. We withdraw those conclusions, replace them with rebuilt controls, and narrow the claim to what the corrected evidence directly supports.
The first withdrawal concerns the packed-sequence-RoPE row in submitted §4.3, Table 2: the control allocated no active rotary pairs and was therefore inert. Rebuilt with an attested nonzero transform and expanded to six seeds, it is not reliably separated from PACK3D on the original layout: 0.82287 versus 0.82468. Under a pure repack that changes 99.61% of sequence positions while preserving the coordinates, neighborhoods, fine blocks, and pooled-summary memberships named in §3.1, Proposition 1 and App. B.3, Theorem 5, PACK3D changes by ΔDice=+0.00010, whereas packed RoPE changes by ΔDice=−0.04792. The corresponding differential loss is 0.04802 Dice in 6/6 seeds, with a paired t-based 95% CI of [0.03540,0.06064] and an exact two-sided sign-flip value of pexact=0.03125. Prediction disagreement—the fraction of aligned binary predictions that changes—is 0.0069% for PACK3D versus 1.2265% for packed RoPE, again in the same direction in 6/6 seeds (pexact=0.03125). This is the central corrected result: fixed-layout performance does not reliably identify the coordinate system, but pure repacking does.
The second withdrawal concerns the summary-shuffle row in submitted §4.4, Table 3 and App. C.4, Table 11. Its evaluator shared late-bound state across layers. The corrected evaluator preserves the compressed-output-zeroing result (ΔDice=−0.1756) and same-layer cross-sample replacement (ΔDice=−0.1831), while restoring the common key/value permutation no-op predicted by attention set-order invariance. Thus branch dependence survives; summary-order sensitivity does not. Neither withdrawal affects the principal six-structure learned-PE comparison in §4.2. The central packing claim now rests on the rebuilt six-seed intervention above.
The remaining changes concern the threshold protocol, one theorem hypothesis, the Allen-15 mixer description, and systems scope. The threshold baseline is refit on training rather than validation; the Allen-15 mixer is described as a local residual plus a gated compressed output; the response states explicitly the within-block weighting condition required by App. B.3, Theorem 5; and the systems wording is limited to the executed summary count, timing mode, and actual backward paths.
The external and factor-isolation evidence now addresses the meta-review directly. The submission already included 65k-token external gates (App. C.6, Table 13, p. 21). Eighteen response-period depth-1 models at 262,144 tokens on MSD Heart MRI and Spleen CT show no reliable fixed-layout separation, but packed RoPE is more sensitive than both coordinate-aware encodings under membership-preserving repacking on every reported metric and in 3/3 seeds on both tasks. Dice changes by less than 0.0003, so this result establishes sensitivity rather than task-level degradation. Under the analogous partition-changing native-to-raster switch, mean Heart Dice changes by at most 0.0001 and mean Spleen Dice by at most 0.0021, with no reliable per-encoding loss (pexact≥0.25, where 0.25 is the minimum attainable with three paired seeds$)$. Deployment-scale task degradation is therefore demonstrated on Allen, but not yet outside it.
A compressed-branch placement probe separately isolates the exact key-placement mechanism: token-before-compression reaches 0.9997 accuracy, whereas the summary-center and unrotated-summary-key controls remain at 0.5000 across six seeds (pexact=0.03125). A long-range probe likewise shows that compressed context becomes necessary when the label evidence lies outside the local receptive field. The appropriate compact positional baseline is separable learned 3D PE at matched parameters, not the 158.5M-parameter full-grid row in §4.3, Table 2.
Finally, the submitted Allen-15 U-Net comparison appears in §4.2, Table 1. Extending it to six matched seeds gives PACK3D a best-checkpoint Dice margin of +0.00939, positive in 6/6 seeds with pexact=0.03125. The final-checkpoint margin is +0.00960, with 5/6 seed wins and pexact=0.0625. We therefore claim a reproducible best-checkpoint advantage in this matched comparison, not general superiority over 3D U-Nets.
The resulting claim is narrower than the submitted headline but more directly tested: sequence index may proxy geometry while packing remains fixed, yet it is not a stable geometric coordinate under repacking. Memory layout is a systems choice. Attention geometry should remain tied to the field.