Training-free Spatially Grounded Geometric Shape Encoding
Yuhang He
NeurIPS 2026
TL;DR. A Training-Free, Efficient, General-purpose and Interpretible Spatially Grounded 2D Geometric Shape Encoding Framework
Abstract. In this work, we introduce a novel training-free encoding framework, dubbed XShapeEnc, that encodes an arbitrary spatially grounded 2D geometric shape into a compact representation exhibiting five favorable properties, including invertibility, adaptivity, generality and controllability. Specifically, a 2D spatially grounded geometric shape is decomposed into its normalized geometry within the unit disk and its pose vector, where the pose is further transformed into a harmonic pose field that also lies within the unit disk. A set of orthogonal Zernike basis is constructed to encode shape geometry and pose either independently or jointly, with controllable relative emphasis on shape geometry or shape pose. We demonstrate the theoretical validity, efficiency, discriminability, and wide applicability of XShapeEnc via extensive analysis and experiments across a wide range of shape-aware tasks and our self-curated XShapeCorpus dataset. We envision XShapeEnc as a foundational framework for encoding tasks beyond one-dimensional discrete data and data-driven, learning-based paradigms, paving the way for unified and trained-free spatial encoding framework design.
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) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Claims and Findings
The paper introduces XShapeEnc, a training-free framework designed to encode 2D spatially grounded geometric shapes into compact, interpretable representations. The approach decomposes a shape into a normalized geometry within the unit disk and a spatial pose vector, transforming the pose into a harmonic pose field. Using an orthogonal Zernike basis defined over the unit disk, XShapeEnc encodes geometry and pose either independently or jointly via phase modulation, with a scalar parameter controlling their relative weight. Tested across shape retrieval and topological classification tasks, XShapeEnc demonstrates strong discriminative performance and efficiency without requiring learned weights.
Main Strengths
- Theoretical Soundness & Elegance: Introduces an analytical, training-free framework that cleanly decomposes 2D shapes into normalized geometry and harmonic pose fields using an orthogonal Zernike basis [ZhDU, 11me, 4z3a, kX3j].
- Flexible Joint Encoding: Offers a novel phase-modulation technique for joint geometry-pose embedding that allows continuous, controllable tuning of relative emphasis via a single scalar hyperparameter [11me, 4z3a].
- Empirical Efficiency & Discriminability: Demonstrates strong quantitative performance on downstream tasks and shape retrieval benchmarks, matching or exceeding pretrained visual encoders without training [ZhDU, 11me, kX3j].
Main Weaknesses
- Incremental Novelty over Classical Moments: The core geometry encoding heavily relies on Zernike basis projections, closely resembling classical Zernike moments without clearly articulating fundamental differences or advantages [11me, kX3j].
- Missing Pose Ablations & Baselines: Lacks essential ablation studies comparing the proposed Zernike/phase pose embedding against naive alternatives (e.g., linear, Fourier, or SDF-based encodings) and standard Fourier transform baselines [ZhDU, 4z3a].
- Overambitious Framing & Heuristic Components: Claims to offer a "foundation encoder for spatial intelligence," yet omits multi-object/scene-level modeling, real-world semantic tasks, or complex 3D extensions, while relying on a somewhat heuristic Frequency Propagation (FreqProp) module [ZhDU, 11me].
- Clarity & Invertibility Nuances: Claims of lossless invertibility are overstated for finite-length expansions, key concepts like "spatially grounded" are defined late, and baseline configuration labels (e.g., "XShapeEnc") are inconsistent across evaluation tables [ZhDU, 11me, 4z3a].
Key Weaknesses to Address
- Pose Embedding Ablations: Provide explicit experimental comparisons evaluating the proposed Zernike/phase pose encoding against standard/naive baselines, such as linear, Fourier, and SDF-based pose representations [ZhDU, 4z3a].
- Delineation from Classical Descriptors: Clarify the exact theoretical and empirical distinctions between XShapeEnc and classical Zernike moment descriptors or Fourier transforms under identical encoding lengths [ZhDU, 11me].
- Scope & Heuristic Justification: Temper claims regarding "general 2D spatial intelligence," discuss multi-object/scene extensions, and systematically evaluate the impact of Frequency Propagation (FreqProp) on interpretability and reconstruction error [ZhDU, 11me].
Final justification
Author rebuttal addressed key weaknesses and was appreciated by the reviewers. As the authors prepare the camera-ready version, they are expected to reflect the proposed changes and double-check all claims and experimental settings for the benefit of the community.
Read meta-review
Meta-review
Claims and Findings
The paper introduces XShapeEnc, a training-free framework designed to encode 2D spatially grounded geometric shapes into compact, interpretable representations. The approach decomposes a shape into a normalized geometry within the unit disk and a spatial pose vector, transforming the pose into a harmonic pose field. Using an orthogonal Zernike basis defined over the unit disk, XShapeEnc encodes geometry and pose either independently or jointly via phase modulation, with a scalar parameter controlling their relative weight. Tested across shape retrieval and topological classification tasks, XShapeEnc demonstrates strong discriminative performance and efficiency without requiring learned weights.
Main Strengths
- Theoretical Soundness & Elegance: Introduces an analytical, training-free framework that cleanly decomposes 2D shapes into normalized geometry and harmonic pose fields using an orthogonal Zernike basis [ZhDU, 11me, 4z3a, kX3j].
- Flexible Joint Encoding: Offers a novel phase-modulation technique for joint geometry-pose embedding that allows continuous, controllable tuning of relative emphasis via a single scalar hyperparameter [11me, 4z3a].
- Empirical Efficiency & Discriminability: Demonstrates strong quantitative performance on downstream tasks and shape retrieval benchmarks, matching or exceeding pretrained visual encoders without training [ZhDU, 11me, kX3j].
Main Weaknesses
- Incremental Novelty over Classical Moments: The core geometry encoding heavily relies on Zernike basis projections, closely resembling classical Zernike moments without clearly articulating fundamental differences or advantages [11me, kX3j].
- Missing Pose Ablations & Baselines: Lacks essential ablation studies comparing the proposed Zernike/phase pose embedding against naive alternatives (e.g., linear, Fourier, or SDF-based encodings) and standard Fourier transform baselines [ZhDU, 4z3a].
- Overambitious Framing & Heuristic Components: Claims to offer a "foundation encoder for spatial intelligence," yet omits multi-object/scene-level modeling, real-world semantic tasks, or complex 3D extensions, while relying on a somewhat heuristic Frequency Propagation (FreqProp) module [ZhDU, 11me].
- Clarity & Invertibility Nuances: Claims of lossless invertibility are overstated for finite-length expansions, key concepts like "spatially grounded" are defined late, and baseline configuration labels (e.g., "XShapeEnc") are inconsistent across evaluation tables [ZhDU, 11me, 4z3a].
Key Weaknesses to Address
- Pose Embedding Ablations: Provide explicit experimental comparisons evaluating the proposed Zernike/phase pose encoding against standard/naive baselines, such as linear, Fourier, and SDF-based pose representations [ZhDU, 4z3a].
- Delineation from Classical Descriptors: Clarify the exact theoretical and empirical distinctions between XShapeEnc and classical Zernike moment descriptors or Fourier transforms under identical encoding lengths [ZhDU, 11me].
- Scope & Heuristic Justification: Temper claims regarding "general 2D spatial intelligence," discuss multi-object/scene extensions, and systematically evaluate the impact of Frequency Propagation (FreqProp) on interpretability and reconstruction error [ZhDU, 11me].
Final justification
Author rebuttal addressed key weaknesses and was appreciated by the reviewers. As the authors prepare the camera-ready version, they are expected to reflect the proposed changes and double-check all claims and experimental settings for the benefit of the community.
1 comment
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper is a novel training-free encoding framework for 2D spatially grounded shapes. The authors first introduce the 5 desired properties of a 2D shape encoding framework, then proposed XShapeEnc can naturally conform these properties. The XShapeEnc is built upon orthogonal Zernike basis defined over the unit disk, and encodes the shape geometry, the pose in 2D space and jointly encoding. Experiments on Mendeley 2D shape benchmark and the MPEG-7 CE-Shape-1 Part B datasets show the superior quantitative performance of the proposed framework, and the visualization shows the comparable encoding discrimination capability with pretrained 2D image encoders, which is impressive for such a training-free method.
Strengths and weaknesses
Strength:
- The paper is clearly written, including the listing of five desired properties of spatially grounded geometric shape encoding framework, and the visualization of Zernike basis. The clear introduction provides a understandable entry into this research area.
- The experiments are strongly abundant and convincing, including multiple ablation and qualitative results in the appendix.
Weakness:
- The authors can clarify why the Zernike basis is superior for the encoding basis to make the contribution more grounded.
- The t-SNE visualization seems to show the better clustering of ViT and ResNet than the proposed framework, despite the fact that the proposed framework is training-free. In my opinion, if the inference time of pretrained models and the training-free methods are comparable, then why the training-free methods are needed?
Questions
- Can the XShapeEnc effectively discriminate two similar 2D spatially grounded shapes with nuanced difference?
- What is 2D spatially grounded shape? The "grounded" means the exact point-wise 2D coordinates are known?
- Why the jointly encoding shape geometry and pose is needed?
- What is the upper boundary of the encoding input? Like the maximum resolution of the input image for the networks, does the 2D shape encoding support the shape encoding without upper bound of shape complexity?
Limitations
yes
Formatting concerns
No formatting concern
2 comments
Rebuttal
We sincerely thank the reviewer for the feedback and constructive comments of our work. Regarding your concerns or questions, we provide one-to-one feedback.
Q1: Can the XShapeEnc effectively discriminate two similar 2D spatially grounded shapes with nuanced difference?
A1: Yes. They are achievable by design: shape geometry, higher-order Zernike coefficients explicitly encode localized, subtle geometric detail (Sec. 3.3). If the nuanced difference lies in shape geometry, we can discriminate it by adopting higher-order Zernike basis; For shape pose, Fig. 10/Sec. A.3 proves an isometric mapping between pose-field distance and encoding distance, so small pose differences yield proportionally small, distinguishable encoding shifts (also visualized as continuous manifolds in Fig. 19). Therefore, XShapeEnc maintains fine-grained discriminability for both shape geometry and shape pose encoding (either jointly or separately).
Q2: What is 2D spatially grounded shape? The "grounded" means the exact point-wise 2D coordinates are known?
A2: "Spatially Grounded" means each 2D shape is associated with a spatial context (its [x, y] position, orientation, and scale in the plane). It generally indicates "where" the 2D shape sits on the plane. We explicitly distinguish the shape geometry and shape pose because most prior shape recognition methods are spatially invariant, they intentionally discard where the 2D shape sits. A spatially-grounded 2D shape encoding framework should account for both the 2D shape structure (shape geometry) and spatial position (shape pose). Our proposed XShapeEnc encodes the two components either jointly or separately, and further allow adjustable relative emphasis on shape geometry and shape pose.
Q3: Why the jointly encoding shape geometry and pose is needed?
A3: Many real tasks require reasoning about a shape geometry and shape pose together. For example, in topological relation classification (Table 4), whether two polygons are disjoint, touching, overlapping, or one lies within another depends jointly on geometry AND relative pose, we have to jointly encode both shape geometry and shape pose; In spatial target region control task (TRC), the specified target region encoding requires to encode shape geometry and shape pose jointly. In summary, the joint encoding is needed whenever a 2D shape's geometric structure and spatial pose have to be considered.
Q4: What is the upper boundary of the encoding input? Like the maximum resolution of the input image for the networks, does the 2D shape encoding support the shape encoding without upper bound of shape complexity?
A4: XShapeEnc has no fixed input-resolution cap, unlike CNN/ViT baselines that require a fixed image size. Moreover, XShapeEnc can encode arbitrary input 2D shape, there is no upper bound on shape complexity: because the Zernike basis is complete and orthogonal (Sec. 3.2), arbitrarily intricate shapes can be represented given a sufficiently high order N. Fig. 18/Table 6-7 quantify this directly: reconstruction MSE rises smoothly with shape complexity (depth) at fixed encoding length, and shrinks again once more Zernike coefficients are added, exactly as expected from function approximation theory.
Q5: The authors can clarify why the Zernike basis is superior for the encoding basis to make the contribution more grounded.
A5: The Zernike basis is carefully chosen to fit for our need. 1. Domain match: Zernike basis directly encodes a region, making it ideal for 2D shape encoding; 2. Rotation equivariance and linearity. Zernike basis can yield rotation-invariant (magnitude) and rotation-variant variants, as well as compositional encoding, which lends us much flexibility to obtain various encodings tailored for different goal; 3. Invertibility Zenike basis separates radial and angular encoding, and the final encoding is invertible.
Q6: The t-SNE visualization seems to show the better clustering of ViT and ResNet than the proposed framework, despite the fact that the proposed framework is training-free. In my opinion, if the inference time of pretrained models and the training-free methods are comparable, then why the training-free methods are needed?
A6: We respectfully note that ViT and ResNet18 achieve clustering comparable to, XShapeEnc — all the three methods form compact, well-separated clusters. The paper states in Sec. 4.3: XShapeEnc "achieves separability comparable to pretrained ResNet18 and ViT" despite using no learning or external data. Although the comparable performance of ViT and ResNet18 on augmented shape geometry clustering, XShapeEnc exhibits favorable properties, including training-free, invertibility and interpretability, that are unavilable to ViT and ResNet18. XShapeEnc also outperforms ViT and ResNet18 based encoding on 2D shape retrieval tasks and inter-shape topological relation classification task (see the two tables below). Moreover, ViT and ResNet can only encode a shape expressed in an image, XShapeEnc goes beyond the constraint and is capable of encode a 2D shape of arbitrary size, shape complexity and spatial pose. Therefore, ViT and ResNet18 are not a replacement of XShapeEnc.
2D Shape Retrieval mAP () result
| Method | Mendeley | MPEG-7 |
|---|---|---|
| ResNet18 | 0.40 | 0.56 |
| ViT | 0.43 | 0.57 |
| XShapeEnc | 0.91 | 0.59 |
Inter-shape topological relation classification accuracy rate () result
| Method | Singapore | New York |
|---|---|---|
| ResNet18 | 0.674 | 0.753 |
| ViT | 0.669 | 0.752 |
| XShapeEnc | 0.760 | 0.768 |
We again appreciate the reviewer's insightful and constructive comments. If you have any further question, please let us know.
Thanks for the authors' reply. Previously, my concern is about choice of zernike basis, and the reply has addressed my concern. I will maintain my score.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a training-free spatially-aware 2d geometric shape encoding based on Zernike polynomials. The main insight is that such a shape can be orthogonally decomposed into its normalized "within-unit-disk shape geometry" and its pose. The normalized geometry can then be trivially represented using Zernike polynomials and be used for tasks independent of spatial information. For the pose two approaches are proposed: It can either be embedded independently of geometry into the Zernike space by embedding them into the unit-disk, or by jointly embedding it into the phase of the geometric representation. The joint embedding can further be tuned to emphasize either pose or geometry using a single scalar value. Furthermore, a high-frequency enrichment is proposed to counter observed high-frequency sparsity for simple geometries. The resulting representation has superior properties visible in qualitative plots and quantitatively verified across 2 experiments.
Strengths and weaknesses
- The method is clearly state-of-the-art, training-free, elegant and mathematically founded.
- The paper is well written and easy to follow.
- It is unclear to me whether embedding the pose into Zernike / phase is actually helpful, as such an ablation seems to be missing. More specifically, I'd like to see experimental results for a naive pose embedding (linear / cosine / fourier).
- Comparing table 3 to table 8 implies that "XShapeEnc" = "XShapeEnc (Mag.)" (w/o FreqProp), but table 4 has an extra "XShapeEnc (w/o FreqProp)" row besides "XShapeEnc". To me it is not clear whether "XShapeEnc" in table 3 and 4 are the same.
To conclude, even though the paper is generally of high quality and clarity and the results are good, I would currently lean towards borderline reject, as the central contribution, pose embedding, is not sufficiently ablated. If the superiority of this embedding over other approaches (linear, fourier, cosine) can be validated experimentally, I am willing to rise my rating significantly.
Questions
- It is unclear to me whether embedding the pose into Zernike / phase is actually helpful, as such an ablation seems to be missing. More specifically, I'd like to see experimental results for a naive pose embedding (linear / cosine / fourier). If those results conclusively prove the superiority of this embedding, I will likely increase my rating.
Limitations
Yes
Final justification
The authors provided the missing ablation, showing clear superiority of their embedding. This significantly strengthened the submission and should be included in the main text. I raised my rating accordingly
Formatting concerns
2 comments
Rebuttal
We sincerely thank the reviewer for the constructive comments of our work, and recognizing the novelty of our framework. We try to provide detailed feedback to address your concerns.
Q1: It is unclear to me whether embedding the pose into Zernike / phase is actually helpful, as such an ablation seems to be missing. More specifically, I'd like to see experimental results for a naive pose embedding (linear / cosine / fourier).
A1: The foundamental motivation to embed the pose into shape geometry Zernike basis projected complex coefficient's phase part is two-fold:
-
We want to encode both shape pose and shape geometry within the same Zernike basis framework, so that it endows us flexibility and controllability to encode shape geometry and shape pose either jointly or separately, and further maintain favorable properties like invertibility, interpretability and generality.
-
Embed the pose to the coefficient's phase part minimizes the mutual impact between geometry encoding and pose encoding because pose only takes effect on phase, under which we can relatively control the relative importance between shape geometry encoding and shape pose encoding (Eqn. (13)).
To test other potential shape pose encoding other than Zernike/phase, there are two main ways:
-
Still use Zernike basis (harmonic pose field) to encode shape pose, but don't correlate it with shape geometry encoding in the phase component. Instead, we simply Add or Concate it with shape geometry encoding to form the joint encoding. As we presented in Sec. A.8 and Fig. 12 in Appendix, both Add and Concate result in the lack of discriminability of shape pose.
-
Other naive pose embedding. Following what you suggested, we further tested Linear, Cosine and Fourier based pose embedding on both inter-shape topological relation classification and acoustic target region control tasks. For Linear, we simply repeat the pose vector multiple times up to the encoding length. For Cosine, we adopt the harmonic pose encoding introduced in original Transformer paper (Attention is All You Need). For Fourier, we follow the paper "Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains" to encode the pose. The obtained pose encoding is added with shape geometry encoding by elementwise addition operation.
The quantitative result on inter-shape topological relation classification accuracy rate () is shown below (encode length is 512):
| Pose Encoding | Singapore | New York |
|---|---|---|
| Linear | 0.510 | 0.533 |
| Cosine | 0.621 | 0.638 |
| Fourier | 0.600 | 0.582 |
| Ours (XShapeEnc) | 0.760 | 0.768 |
From this table, we can clearly observe that the three pose encoding baselines lead to inferior performance, while ours outperform them by a large-margin.
In target region control task, the quantitative result is shown below:
| Pose Encoding | SDR (↑) | STOI (↑) | PESQ (↑) |
|---|---|---|---|
| Linear | 14.10 | 0.81 | 2.17 |
| Cosine | 14.97 | 0.82 | 2.35 |
| Fourier | 15.22 | 0.84 | 2.99 |
| Ours (XShapeEnc) | 17.62 | 0.98 | 4.38 |
We can also observe that the three comparing pose encoding baselines result in reduced performance significantly. In summary, we can show the advantage of our proposed strategy to encoding both shape geometry and shape pose within the same Zernike basis, and merge the pose encoding to the geometry encoding's phase component.
Q2: Comparing table 3 to table 8 implies that "XShapeEnc" = "XShapeEnc (Mag.)" (w/o FreqProp), but table 4 has an extra "XShapeEnc (w/o FreqProp)" row besides "XShapeEnc". To me it is not clear whether "XShapeEnc" in table 3 and 4 are the same.
A2: Thanks for pointing this out. We apologize for the inconsistent labeling. In Table 3, 'XShapeEnc' denotes the magnitude variant without FreqProp (see line L296-297, also it equals to 'XShapeEnc (Mag.)' in Table 8), because retrieval requires rotation invariance and FreqProp partially breaks it (Sec. A.14). In Table 4, 'XShapeEnc' denotes the rotation-variant variant with FreqProp, since topological relations depend on orientation and pose. We will rename them explicitly — XShapeEnc (Mag., w/o FreqProp) and XShapeEnc (Comp2Real + FreqProp) in all tables.
In summary, we thank you for this insightful question. Please let us know if you have any further questions.
Follow-Up Feedback
Dear Reviewer,
We again thank you for your insightful comments of our work. Regarding your questions/concerns in the initial review, we provided details feedback, hope it can address your concerns.
As we are close to the end of reviewer-author discussion phase, we are wondering if you have any further concerns/questions. If so, please let us know, we are happy to provide mode clarification or details.
Thanks,
Authors
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces XShapeEnc, a novel training-free framework for encoding 2D geometric shapes into a compact representation. The framework decomposes shapes into normalized geometry and a pose vector, utilizing orthogonal Zernike basis for encoding. It is demonstrated to be theoretically valid, efficient, and applicable to various shape-aware tasks, aiming to serve as a foundational tool for 2D spatial intelligence.
Strengths and weaknesses
This paper proposes XShapeEnc, a training-free 2D spatial geometric shape encoding framework. The method decomposes a spatially grounded 2D shape into two components: normalized geometry and spatial pose. The mathematical formulation is clear, and the phase-modulation-based geometry-pose joint encoding is quite novel. The problem addressed in this work is of significant value. While existing positional encodings primarily target discrete positions of points, tokens, or patches, this paper attempts to provide a unified encoding for continuous 2D spatial geometric regions, which is highly meaningful. The decomposition of shapes into normalized geometry and spatial pose aligns well with the intuition behind spatial geometric modeling. The true novelty of this work lies mainly in the pose encoding and the geometry-pose joint encoding. However, the geometry encoding component bears a strong resemblance to the classical work Invariant image recognition by Zernike moments.
Major Concerns: Limited Novelty over Classical Descriptors: Projecting a shape mask onto Zernike bases to obtain complex coefficients is inherently very similar to traditional Zernike moment-based shape representations. Currently, the paper fails to sufficiently distinguish its proposed method from classical Zernike moments, Fourier descriptors, and recent geometry-location encoding methods in terms of fundamental differences. Consequently, the method risks being perceived as merely a modernized repackaging of classical Zernike moment descriptors rather than a fundamentally new shape encoding framework.
Overstated Invertibility: The claims regarding invertibility need to be more cautious. For geometry encoding, a finite-length Zernike expansion can only approximate the reconstruction of the original shape; it is not strictly lossless and reversible. The experiments also indicate that longer encoding lengths yield better reconstruction quality, and complex shapes require higher-order bases to recover fine details.
Heuristic Nature of Frequency Propagation: The Frequency Propagation (FreqProp) module appears somewhat heuristic. Its motivation is to alleviate the sparsity of high-frequency coefficients in simple shapes by propagating low-frequency information into high-frequency coefficients. While this may improve downstream performance, it compromises the interpretability of each coefficient as an independent orthogonal projection. The paper should systematically analyze the impact of FreqProp on interpretability, reconstruction error, stability, and downstream performance, rather than treating it solely as an effective empirical enhancement.
Insufficient Support for Broad Claims: The paper claims that XShapeEnc can serve as a foundational encoding tool for 2D spatial intelligence. However, current experiments are limited to shape retrieval, pairwise polygon topological relationship classification, and a region control task. Although relevant, these tasks are insufficient to substantiate such an ambitious narrative of a "unified spatial encoding framework."
Lack of Multi-Object and Scene-Level Modeling: The primitive encoding unit of the proposed framework is a single spatially grounded shape. Although multiple instances in an image can be encoded individually and subsequently aggregated via a set or graph encoder, this goes beyond the original design of the method. The paper lacks a systematic discussion on preserving multi-object identities, modeling inter-object relationships, and handling occlusion, overlap, or complex scene layouts.
In summary, this is a well-structured, methodologically clean, and somewhat inspiring paper. It effectively formulates the problem of spatially grounded 2D shape encoding and provides a training-free, analytical, and interpretable framework. The use of Zernike bases is well-justified, and both the harmonic pose field and the phase-based joint encoding are elegant.
Nevertheless, the primary weakness of the current manuscript is that the claims are overly ambitious relative to the supporting evidence in novelty and experiments. The geometry encoding is highly correlated with classical Zernike moments; invertibility does not hold unconditionally under finite encoding lengths and joint encoding; FreqProp relies heavily on heuristics; and the experiments have yet to cover complex real-world spatial tasks, multi-object scenarios, or semantic-related tasks. Therefore, I believe this work is better positioned as a valuable training-free analytic shape descriptor framework, rather than a fully validated foundation encoder for general spatial intelligence.
Questions
1.Attribution of Performance Gains: Compared to plain Zernike moments, what are the specific contributions of the harmonic pose field, phase-based joint encoding, and Frequency Propagation to the overall performance improvement? Could the authors provide a more direct and comprehensive comparison with the classical Zernike moment descriptor under identical encoding lengths and downstream task settings?
2.Hyperparameter Sensitivity: How sensitive is the proposed method to key hyperparameters, such as encoding length, Zernike order, pose harmonic frequency, FreqProp ratio, and β?
3.Robustness and Multi-Object Extension: How does the reconstruction quality and downstream performance change when the input shape contains slender structures, small holes, noisy boundaries, or complex topologies? Furthermore, how can this method be naturally extended to multi-object, multi-region, or multi-component scenes within a single image, while preserving instance identity and inter-object relationships?
4.Generalizability in Real-World Applications: If this method is intended to serve as a general spatial encoding framework, could its effectiveness be further validated on more diverse and challenging tasks, such as region-guided generation, robotics, medical imaging, remote sensing, or using real-world instance segmentation masks?
Limitations
yes
Formatting concerns
N/A
3 comments
Rebuttal
We sincerely thank the reviewer for the detailed comments and constructive questions for us to continue to improve this work. We provide one-to-one feedback to address your concerns.
Q1: Major Concerns: Limited Novelty over Classical Descriptors.
A1: Thank you for raising this important concern. We do rely on classic Zernike moment to give us the initial encoding. Our observation is that moment-based encoding aligns well with our goal is searching for unified, train-free and interpretable encoding strategy. The math tools (like Zernike basis) are already mature, there is no need to invent new one. Throughout the paper, we did not claim we were dedicated to proposing new math tool for the spatially grounded shape encoding, which might be an interesting direction but goes beyond our scope in this paper. Instead, we focused on extending Zernike moment to be able to encode both shape geometry and shape pose (classic Zernike moment can just encode shape geometry within the unit disk), either separately or jointly with adjustable emphasis on geometry or pose.
Q2: Overstated Invertibility.
A2: We really appreciate you pointed this out. We also noticed the "invertibility" claim is at risk of being over-stated, so in the main text we cautiously write as: encoding is invertible in principle (L42-43). We will continue to revise the claim to avoid over-statement.
Q3: Heuristic Nature of Frequency Propagation.
A3: Thanks for mentioning this point. FreqProp rule is carefully hand-crafted. The underlying design principle is three-fold:
-
FreqProp should not jeopardize the encoding invertibility, as invertibility remains as one core encoding property. Since we know the propagation ratio in Eqn. (14), we can reverse back to get the initial encoding and further reconstruct the shape geometry or shape pose. Therefore, it introduces no reconstruction error, and Invertibility is ensured (see L590-593).
-
FreqProp should not contaminate the initial encoding's expressiveness and discriminability. In Eqn. (14) and Fig. 7, the used propagation ratio decays the propagated impact sharply as the propagation process goes (exponential decay). Therefore, the stability of the encoding is guaranteed.
-
FreqProp also has geometric interpretation, as shown in Fig. 9, FreqProp can be interpreted as rotating and scaling its adjacent Zernike basis before projecting it to the original adjacent Zernike basis.
Downstream tasks: in Table 4 (inter-shape topological relation classification task) and Table 5 (spatial target region control task), we compared the result w/ and w/o FreqProp, and concluded that w/ FreqProp improved the relevant performance significantly. For example, in the inter-shape topological relation classification task, w/ FreqProp achieved 0.760 and 0.768 on Singapore and New York dataset respectively, while w/o FreqProp just achieved 0.740 and 0.753 respectively.
Q4: Insufficient Support for Broad Claims.
A4: Thank you for raising this concern. We agree more experiments require to be conducted to test XShapeEnc under various cases. By “unified,” we mean that a single analytic and training-free framework supports geometry-only, pose-only, and joint geometry–pose encoding without redesigning or retraining the encoder for each task—not that the present evaluation covers every spatial reasoning problem.
The three evaluated settings were selected to test distinct capabilities: shape retrieval evaluates geometry encoding across two substantially different datasets; topological-relation classification evaluates joint geometry–pose reasoning across two cities; and target-region control evaluates whether the same encoding can condition a continuous downstream signal-processing system. XShapeEnc is used across these settings without task-specific encoder training, providing evidence of cross-task applicability within the evaluated scope.
Nevertheless, we agree that generation, robotics, navigation, and broader spatial reasoning tasks remain untested. We will replace “a foundational encoding tool” with “a candidate general-purpose encoding primitive,” explicitly limit our empirical claim to the evaluated settings, and expand the limitations section accordingly.
Q5: Lack of Multi-Object and Scene-Level Modeling.
A5: Thank you for highlighting this limitation. XShapeEnc is an object-level encoding primitive, not a complete scene representation framework. Its input assumes that each shape instance and its spatial extent are already available. More advanced tasks by XShapeEnc such as segmentation, occlusion-handling remain to be explored, we can’t finish the experimentation given the limited time during the rebuttal. Multiple objects can be encoded by XShapeEnc separately, and then merge together. Our inter-shape topological-relation experiment provides preliminary evidence for the two-object setting: it evaluates disjoint, touch, equal, overlap, and containment relationships, but does not establish general multi-object or scene-level reasoning. We will clarify the distinction between geometric overlap and visual occlusion. Given separate instance masks, overlapping shapes can be encoded independently; given only an occluded composite image, XShapeEnc cannot recover the hidden shapes or their identities without an external segmentation or completion method. We will explicitly state these input assumptions, narrow our claims to object-level spatial encoding, and add multi-object aggregation, identity preservation, occlusion reasoning, and scene-level evaluation as important future directions.
Q6: Attribution of Performance Gains.
A6: Each component's contribution is already isolated in the draft under matched encoding length and task settings, consolidated below (from Tables 3/4/5/8 and Figs. 12/19 of the submission).
| Component isolated | Task (dataset) | Metric(s) | Without component | XShapeEnc (full) |
|---|---|---|---|---|
| FreqProp (geometry-only encoding) | Shape retrieval (Mendeley) | mAP | 0.87 (Plain Zernike) | 0.91 |
| FreqProp (geometry-only encoding) | Shape retrieval (MPEG-7) | mAP | 0.53 (Plain Zernike) | 0.59 |
| FreqProp (joint encoding) | Topological relation (Singapore) | Accuracy | 0.740 | 0.760 |
| FreqProp (joint encoding) | Topological relation (New York) | Accuracy | 0.753 | 0.768 |
| FreqProp (joint encoding) | Target region control | SDR / STOI / PESQ | 15.11 / 0.91 / 3.99 | 17.62 / 0.98 / 4.38 |
| Phase-modulation joint encoding vs. Addition/Concatenation | 16-shape synthetic clustering | t-SNE separability (qualitative, Fig. 12) | entangled or collapsed clusters | clean β-controlled geometry/pose separation |
| Harmonic pose field vs. classical 2D positional encoding | Pose clustering | t-SNE separability (qualitative, Fig. 19) | scattered clusters | continuous, well-separated manifolds |
FreqProp is directly compared against Plain Zernike moments on shape retrieval, and against "w/o FreqProp" on both joint-encoding tasks — consistently improving results at identical encoding length. The phase-based joint encoding and harmonic pose field are each compared against natural alternatives (Addition/Concatenation, 2D positional encoding), showing qualitatively cleaner geometry-pose separability. We will merge these into a single consolidated table in the camera-ready version for direct comparison, as you suggested.
Q7: Hyperparameter Sensitivity.
A7: see the table below:
| Hyperparameter | Where addressed | Key finding |
|---|---|---|
| Encoding length | Sec. 3.6, Table 6/7; Figs. 5, 17, 18, 15, 22 | Error/discriminability scale smoothly with length; complex shapes need more coefficients. |
| Zernike order (N, M) | Sec. 3.6, Table 6/7 | Deterministic function of encoding length. |
| FreqProp ratio λ | Sec. A.21; Figs. 7, 16, 23 | λ=0.6 is well-conditioned (bound ≤ 2.5); larger λ over-propagates and hurts discriminability. |
| β (emphasis) | Fig. 3; Figs. 4, 12 | appropriate β can lay different emphasis between shape geometry and shape pose |
As shown in the table above, hyperparameters are already analyzed in depth in the main text: encoding length and Zernike order via their deterministic relationship (Sec. 3.6) plus reconstruction/discriminability sweeps (Figs. 5, 15, 17, 18, 22); FreqProp's λ via a conditioning bound (Sec. A.21) and ablations (Figs. 7, 16, 23); β via continuous clustering evidence (Figs. 3, 4, 12). For pose frequency , it is proven invertible for any value (Eqns. 8-9). We will consolidate these into one table in the camera-ready version.
Q8: Generalizability in Real-World Applications.
A8: We agree broader validation is valuable, and note this is already flagged in Sec. 4.5. In the current version, we exhaustively covered a wide range of tasks. It spans three distinct domains and two modalities: real-world object silhouettes (MPEG-7 — animals, people, utensils), real-world geospatial/remote-sensing data (OpenStreetMap building footprints from New York and Singapore in bird's-eye view, Table 4), and a non-visual acoustic task (spatial target region control, Table 5), alongside synthetic primitives (Mendeley) and arbitrarily complex shapes (XShapeCorpus, depth up to 10). We are currently trying to generalize XShapeEnc to real-world tasks, and will share the result once there is any update.
More Feedback and Experimental Results
Per what we have discussed in pervious feedback, we would like to provide more feedback and experimental results.
Generalizability in Real-World Applications: validate on more diverse and challenging tasks.
Feedback: We have tried to validate XShapeEnc on three more diverse tasks: medical science, remote sensing and generation task.
-
Medical Science: We depend on ISIC 2016 Task 3B [1], which is medical segmented lesion classification task. It provides 900 segmented lesion mask images, the each mask indicates one of the two classes: benign and malignant. For all the masks, we first extract XShapeEnc and other baselines feature (length is 512), then we train a linear probing layer to classify the feature. The 900 mask images are splited into 720 and 180 for training and testing, respectively, the accuracy rate is shown below:
Method Accuracy Rate () Shape Context 68.33% EFT (elliptical Fourier transform) 73.89% Shape2Vec 71.11% Angular Sweep 62.78% Shape Distribution 72.22% Ours (XShapeEnc) 76.11% We can clearly see that XShapeEnc remains as the best-performing method for segmented lesion classification task in medical science.
-
Remote Sensing: we run experiments on instance segmentation in aerial images. The dataset is iSAID [2][3], iSAID contains 2,806 high-resolution aerial images, 655,451 annotated object instances, and 15 classes. The official split has 1,411 training, 458 validation, and 937 test images. We train on the 1,411 training images and evaluate on the 458 validation images because test annotations are withheld.
To show XShapeEnc applicability, we rely on the baseline method PANet and augment it with an XShapeEnc global mask-prior branch operating on fused multi-level RoI features. The branch predicts compact shape coefficients, reconstructs a differentiable mask prior, and adds it to PANet’s mask logits alongside the existing convolutional and fully connected paths. Coefficient supervision is derived from ground-truth instance masks. Comparing this augmented PANet with the original PANet tests if XShapeEnc helps instance segmentation task. We follow the original paper [3] and report and and , The result is shown below:
Method () () () PANet 35.32 55.74 35.98 PANet + XShapeEnc 38.09 60.12 40.33 From this table, we can observe that, by adopting XShapeEnc as a geometric shape prior, we can achieved improved performance on instance segmentation from aerial images.
[2] https://captain-whu.github.io/iSAID/index.html
[3] Syed Waqas Zamir et al., iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Images, CVPRW, 2019.
-
Region-Aware Text-to-Image Generation: we evaluate on region-guided image generation using LayoutBench-COCO [4], which tests generalization to unseen object counts, positions, sizes, and combinations. We choose GLIGEN [5] as the baseline and further modify it because its grounding token explicitly combines object-text features with Fourier-encoded bounding-box coordinates. We replace only the Fourier component with a dimension-matched XShapeEnc representation, while keeping the Stable Diffusion backbone, COCO training data, optimization settings, and evaluation protocol unchanged. Both variants are trained on COCO image-caption-box pairs and evaluated using YOLOv7 AP, enabling a direct comparison of out-of-distribution region-control performance. The performance is shown below:
Method Number AP () Position AP () Size AP () Combination AP () GLIGEN 30.7 36.4 33.3 36.3 Ours (GLIGEN + XShapeEnc) 31.2 38.8 33.4 39.5 We can see GLIGEN with XShapeEnc demonstrates improved generalization to unseen region layouts. These results validate XShapeEnc as an effective spatial representation for region-guided generation beyond discriminative shape-understanding tasks.
[4] Jaemin Cho et al., Diagnostic Benchmark and Iterative Inpainting for Layout-Guided Image Generation, CVPRW, 2024.
[5] Yuheng Li et al., Gligen: Open-set grounded text-to-image generation. CVPR, 2023.
Summary: by extending XShapeEnc to medical science, remote sensing and text-to-image generation tasks, together with inter-shape topological relation classification, acoustic target region control, shape retrieval tasks, we show the wide applicability of XShapeEnc to real-world applications. We will continue to try XShapeEnc on more tasks.
Thank the authors for their response. I have no additional questions.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The manuscript analyzes existing 2D shape representation methods, and proposes a new method to encode shapes in a training-free manner. The proposed method encodes both geometry and pose in a shared space based on Zernike basis polynomials, with the novelty lying in the way the shared space is built and used. A dataset of 2D shapes is introduced and the proposed method is evaluated both in the newly introduced dataset and in 2 existing ones against existing representation methods on a few downstream tasks as well as shape retrieval, showing competitive performance.
Strengths and weaknesses
Strengths:
- S1) The paper seems mathematically solid. However it should be stated that I am not an expert in Zernike polynomials, so my evaluation of mathematical soundness cannot be thorough.
- S2) Experiments show good performance on a few downstream tasks.
Weaknesses:
- W1) The applicability of the proposed method is not always clear. For example the title would benefit from adding "2D" to it, to differentiate it from the common 3D shape representation papers. The proposed dataset and tasks also seem very narrow. It can be ok for a theory contribution, but the proposed evaluation has a few weaknesses that I would like to be clarified, namely the absence of Fourier transform and SDF-based methods. See Q1, Q4, Q6 and Q7
- W2) Not many qualitatives are shown. I believe it is not possible to attach qualitatives to the rebuttal, but it seems that the manuscript would highly benefit from a qualitative comparison with existing methods, for example to support the results in table 3, so I have to list this as a weakness.
- W3) Most of the concepts are present in the paper, but they are sometimes introduced later than needed, hindering readability. For example:
- L48 "spatially grounded" is only defined way later, and could be defined here. Same for L64-65. It is well defined in the supplementary (A.1.1), such definitions should be moved to the main paper.
- L55 "invertible" should also be defined.
- L215 XShapeCorpus is only defined in the abstract prior to this line. It should be introduced or referenced to a later section.
- L234 FreqProp does not seem to be defined anywhere in the main paper.
Minor/typos:
- L109: "Frits" -> "First"
- L239-242: I would personally remove the question marks, they sound unnatural, but your choice.
Questions
- Q1) SDF-based methods can also encode pose information. For example [1] and [2] do so. Additionally, no SDF-based method is used in the experiments. Is there a reason I am missing?
- Q2) In L79, it is written that the proposed method "instead" provides invertible and frequency-rich encodings. Other methods do too.
- Q3) L145 (Frequency Propagation). Why is this an issue to be addressed?
- Q4) Eq 13 is practically demonstrated in figure 4, however this figure is not entirely clear to me. For example, why are the poses of single shapes not correctly reconstructed, even in the right side of the image?
- Q5) L296 says that XShapeEnc is run without FreqProp. Why? It seems to be because Mendeley does not have poses, is it the case also for MPEG-7? In any case, make the reason explicit.
- Q6) L336 cites 3D shapes as future work. I agree that it would be very interesting to see this work applied to 3D shapes. Is there any technical/theoretical reason that prevents it from being applied directly to 3D shapes as it is now, with the proper modifications (disk -> sphere)?
- Q7) A comparison with Fourier transform is teased in section A.5 of the supplementary, and it is indeed natural to ask how the proposed work compares to the more famous Fourier basis. Could the authors provide an experimental comparison?
[1] ShapeR: Robust Conditional 3D Shape Generation from Casual Captures, Siddiqui et al.
[2] PartSDF: Part-Based Implicit Neural Representation for Composite 3D Shape Parametrization and Optimization, Talabot et al.
Limitations
Yes
Final justification
The authors have addressed my main concerns, clarifying some and providing ablations for others. The paper provides an interesting method for 2D shape representation, which is grounded by a good theoretical and experimental analysis. I am not an expert in Zernike polynomials, so I cannot champion the paper's acceptance with confidence. However, I believe that the authors provided sufficient evidence to justify their choices and to show that the proposed encoding works well against both learning-based and training-free methods, thus I lean for acceptance. I recommend the authors to include more qualitatives from the experiments they have run.
Formatting concerns
I did not identify formatting issues.
5 comments
Rebuttal
We appreciate the reviewer's constructive review and insightful comments. We provide one-by-one feedback.
Q1: 1. SDF-based methods can also encode pose information. For example [1] and [2] do so. Additionally, no SDF-based method is used in the experiments. Is there a reason I am missing?
A1: Thank you for pointing us to [1,2]. We agree SDF-based models can incorporate both shape and pose. As noted in Table 1 and Sec. 2, for auto-decoder SDF-based methods, encoding an unseen shape typically requires optimizing a new shape-specific latent code while keeping the shared decoder fixed. If the dataset is large, the extra training burden is a concern. XShapeEnc and other baselines directly encode unseen shape either analytically or by the same pre-trained model, without further training work. This setting mismatch motivated us to exclude SDF-based methods as baselines.
Per your suggestion, we choose one typical SDF method: DeepSDF (DeepSDF: Learning Continuous Signed Distance Functions for Shape Representation), and run it on shape retrieval task. Specifically, each binary shape mask is converted into SDF supervision via a signed distance transform, yielding sample pairs of a 2D point and its signed distance to the shape boundary. A shared decoder network takes a per-shape latent code and a query point as input and predicts the signed distance at that point. It is trained in auto-decoder fashion. Since DeepSDF has no encoder, every query and gallery shape requires test-time optimization: the decoder weights are frozen and the latent code is recovered by backpropagation over that shape's SDF samples. The retrieval result comparison mAP () is shown in the table below:
| Method | MPEG-7 mAP () |
|---|---|
| DeepSDF | 0.44 |
| XShapeEnc | 0.59 |
We can clearly observe that XShapeEnc still outperforms the SDF-based baseline DeepSDF significantly.
Q2: In L79, it is written that the proposed method "instead" provides invertible and frequency-rich encodings. Other methods do too.
A2: In L79, we did not intend to suggest otherwise. “Instead” was meant to contrast the overall encoding regime: XShapeEnc jointly provides training-free, task-agnostic, interpretable, and invertible-in-principle encoding, while explicitly separating geometry and pose and supporting their controllable combination in a shared frequency basis. We will revise L79 to avoid claiming novelty for the individual properties and clarify that our contribution lies in their unified realization.
One revision can be: XShapeEnc targets a complementary regime: a training-free and task-agnostic framework that unifies interpretable, frequency-resolved geometry and pose encoding, supporting their independent or controllable joint representation.
Q3: L145 (Frequency Propagation). Why is this an issue to be addressed?
A3: Frequency sparsity is not intrinsically problematic for reconstruction: for simple shapes, energy concentration in a few low-order coefficients is mathematically correct. For example, if the shape is a circle, only the first coefficient in the encoding in non-zero, while all remaining are zero. The practical issue arises when the fixed-length encoding is used to condition downstream neural networks, because most feature channels can remain inactive and provide limited multiscale signals. FreqProp is therefore an optional, invertible linear reparameterization that redistributes existing information—without adding or discarding geometric information—across neighboring frequency channels. Its usefulness is task-dependent: Tables 4–5 show improvements in spatial reasoning and target-region control, whereas plain coefficients perform better for retrieval. We will clarify this motivation at L145.
The controlled ablations in Tables 4–5 demonstrate that FreqProp consistently benefits downstream tasks requiring geometry–pose reasoning. It improves topological-relation classification accuracy from 0.740 to 0.760 on Singapore and from 0.753 to 0.768 on New York. For target-region control, it increases SDR from 15.11 to 17.62, STOI from 0.91 to 0.98, and PESQ from 3.99 to 4.38. These improvements support its role as an optional feature reparameterization for neural conditioning.
Q4: Eq 13 is practically demonstrated in figure 4, however this figure is not entirely clear to me. For example, why are the poses of single shapes not correctly reconstructed, even in the right side of the image?
A4: Thank you for raising this point. Eq. (13) is designed for a controllable joint representation rather than independent pose reconstruction. Specifically, it embeds pose into the phase of each geometry coefficient. Therefore, the geometry phase and pose contribution cannot be uniquely separated, as noted in L228–229. Moreover, emphasizes pose but does not completely remove geometry information. Figure 4 therefore demonstrates controllable geometry–pose emphasis through feature clustering, rather than independent pose reconstruction. We will clarify this distinction in the main text and figure caption.
Q5: L296 says that XShapeEnc is run without FreqProp. Why? It seems to be because Mendeley does not have poses, is it the case also for MPEG-7? In any case, make the reason explicit.
A5: Thank you for requesting this clarification. Both Mendeley and MPEG-7 are category-level shape-retrieval datasets, there is not any pose information; For retrieval, we take coefficient magnitudes to obtain rotation-invariant features. Because FreqProp mixes information across neighboring frequency bands, it slightly weakens this invariance. We therefore report XShapeEnc without FreqProp for this task. Table 8 in Appendix supports this choice: disabling FreqProp improves mAP from to on Mendeley and from to on MPEG-7. We will make this task-specific motivation explicit near L296.
Q6: L336 cites 3D shapes as future work. I agree that it would be very interesting to see this work applied to 3D shapes. Is there any technical/theoretical reason that prevents it from being applied directly to 3D shapes as it is now, with the proper modifications (disk -> sphere)?
A6: We really appreciate your interest in seeing this work’s extension to encode 3D shape. There is no fundamental theoretical barrier to extending XShapeEnc to 3D, but the extension requires more than replacing the unit disk with a sphere. A general volumetric 3D shape would be represented over the unit ball using 3D Zernike bases, . Using only the sphere would restrict the representation to spherical signals or star-shaped surfaces; arbitrary 3D shapes require an occupancy/SDF field or surface integration over the unit ball. More importantly, a 2D rotation applies a scalar phase shift to each coefficient, which enables Eqs. (12) and (13). Under a general 3D rotation, coefficients within each angular-order block are mixed through a Wigner- matrix. Therefore, the geometry--pose fusion, controllability, and invertibility arguments must be reformulated and proved blockwise. The larger coefficient space and 3D integration also introduce additional computational costs. We will explain these nontrivial requirements when describing the 3D extension as future work.
Q7: A comparison with Fourier transform is teased in section A.5 of the supplementary, and it is indeed natural to ask how the proposed work compares to the more famous Fourier basis. Could the authors provide an experimental comparison?
A7: Thank you for this suggestion. An experimental Elliptic Fourier Transform comparison is already included in Fig. 6, although we agree that its connection to Sec. A.5 was not made sufficiently explicit. Specifically, Figure 6 compares XShapeEnc with the Elliptic Fourier Transform (EFT) using the same 800 augmented shapes and 512-dimensional feature budget. XShapeEnc produces four compact, well-separated clusters, whereas EFT exhibits more elongated and fragmented clusters. Table~4 further compares against Poly2Vec, which combines Fourier features with an MLP: XShapeEnc improves accuracy from to on Singapore and from to on New York. However, we agree that these comparisons do not constitute a fully controlled comparison with the conventional 2D discrete Fourier transform basis. We conducted a comparison between XShapeEnc and 2D DFT on shape retrieval on MPEG-7 dataset and Inter-shape topological classification task. The results are shown below:
Shape Retrieval Task
| Method | MPEG-7 (mAP ) |
|---|---|
| 2D DFT | 0.40 |
| XShapeEnc | 0.59 |
Inter-shape Topological Relation Classification accuracy rate
| Method | Singapore | New York |
|---|---|---|
| 2D DFT | 0.591 | 0.613 |
| XShapeEnc | 0.760 | 0.768 |
We can clearly observe from these two figures that XShapeEnc outperforms 2D DFT on both tasks.
In summary, we thank the reviewer for the insightful comments, and we are happy to take more questions.
Thank you for the detailed responses and the additional experiments you have carried out. I have a few further questions regarding Q1 and Q4. I am currently satisfied by the other answers.
Q1: on what dataset was the DeepSDF auto-decoder trained on, before being frozen for the test?
Q4: I might be misunderstanding something here. I expected the full representation (geometry+pose) to be able to represent (and thus potentially reconstruct) both geometry and pose up to a certain precision, depending on how many coefficients are used. Is it not the case?
Follow-up Feedback by Authors
Dear Reviewer,
Thanks for reading our feedback, we are glad to learn that we have addressed most of your concerns. For the remaining two questions, we'd like provide more details.
Q1: on what dataset was the DeepSDF auto-decoder trained on, before being frozen for the test?
A1: We thank the reviewer for this follow-up question. DeepSDF releases no pretrained weights, so we trained the auto-decoder ourselves. We trained a 2D DeepSDF auto-decoder on COCO instance segmentation masks, and only retain only non-crowd, border-complete, single-component instances above a minimum area. We follow the official DeepSDF implementation's default training configuration, the latent dimension is set to 512 to match our encoding length.
Q4: I might be misunderstanding something here. I expected the full representation (geometry+pose) to be able to represent (and thus potentially reconstruct) both geometry and pose up to a certain precision, depending on how many coefficients are used. Is it not the case?
A4: Thanks for the further explanation of your concern. We would like to provide feedback from two perspectives:
-
For shape geometry encoding, more coefficients keep the geometry at higher precision, as more coefficients store more localized details of the shape geometry. For shape pose encoding, the pose vector can be exactly reconstructed without any loss if the coefficient number is equal or larger than the pose length (see Line 182-183 in the main paper). As the pose vector length is often small (usually x, y coordinates, scale, and optional rotation), so the pose can be often reconstructed without any loss.
-
The fully representation follows the same principle: longer coefficients stores higher precision of the shape geometry, and the full pose information. But one thing to note is that we can't exactly reconstruct the shape geometry and shape pose merely from the the joint encoding coefficient (See Line 228-289), because the shape geometry encoding and shape pose encoding are merged together by using shape pose coefficient to tuning shape geometry coefficient's phase info (this process is non-reversible). We also clarified in Line 42 that encoding is invertible in principle.
In summary, your observation is correct, the full representation represents shape geometry up to a certian precision, and shape pose up to full precision. More coefficients store more details of the shape geometry, and the shape pose precision is fully-stored.
We hope our feedback can address your concerns. If you need more clarification, please let us know. We are more than happy to provide more details.
Thanks,
Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Feedback to Meta Review
Key Weakness
Feedback: In our feedback to [ZhDU Q7], we clarified that in the main paper, we already compared Elliptical Fourier Transform baseline; Another baseline Shape2Vec also used Fourier feature in its encoding. We further compared 2D DFT feature on shape retrieval and inter-shape topological relation classification task. Experiments show XShapeEnc outperforms all of them.
In our feedback to [11me, Q1], we illustrated the motivation behind our adoption of Zernike basis to encode both shape geometry and shape pose.
Feedback: We provide feedback from two main aspects:
multi-object/scene extensions and more experiments across diverse tasks. In our feedback [11me, Q8], we extend XShapeEnc to three more tasks across medical science, remote sensing and text-to-image generation. The experimental results show that using XShapeEnc to extract shape feature and further incorporate it into existing methods when necessary, will improve the performance. In total, all the tasks we have tested are show in the table below:
We can see from this table that, across all the six tasks, XShapeEnc consistently brings performance gain. It in turn shows the wide applicability of our proposed XShapeEnc in various real-world applications.
Impact of Frequency Propagation on Interpretability and Reconstruction error. In [11me, Q6], we have consolidated the discussion about FreqProp impact on various tasks. In conclusion, XShapeEnc brings performance gain when applied to various downstream tasks. In [ZhDU, Q3], we provided details on the motivation of introducing FreqProp. In In [11me, Q3], we illustration why FreqProp introduces no reconstruction error, and invertibility is guaranteed.
Main Weakness
Incremental Novelty over Classical Moments
Feedback: In [11me, Q1], we provided detailed discussion on the novelty over classical moments. In brief, we don't claim our novelty lies in introducing new math tool to compute moments, which is already mature. Instead, we focus on how to adopt Zernike basis to encode both shape geometry and shape pose (classic Zernike moment can just encode shape geometry within the unit disk), either separately or jointly with adjustable emphasis between geometry and pose. No prior work has done this before, and we experimentally show the advantage of XShapeEnc across a wide range of tasks over different baselines.
Missing Pose Ablations & Baselines
Feedback: In our feedback to [4z3a, Q1], we have ablated various pose embedding methods, including Linear, Cosine and Fourier. Experimental results XShapeEnc maintains as the best-performing methods on both inter-shape topological relation classification task and acoustic target region control task.
Overambitious Framing & Heuristic Components
Feedback: We provided feedback to the third point in key weakness section.