Decodable and Sample Invariant Continuous Object Encoder
Dehao Yuan, Furong Huang, Cornelia Fermüller, Yiannis Aloimonos
TL;DR
The paper tackles encoding continuous objects (functions) into fixed-size representations that are invariant to sampling and density, decodable back to the original object, and suitable as neural-network inputs. It proposes Hyper-Dimensional Function Encoding (HDFE), a training-free framework that maps samples to a complex vector in $\mathbb{C}^N$ using explicit binding/unbinding operations and Fractional Power Encoding (FPE) mappings, with a procedure to ensure asymptotic sample invariance. The authors prove (and empirically validate) that HDFE is asymptotically sample-invariant and distance-preserving (isometric) and demonstrate its effectiveness on both mesh-grid function mappings and sparse data, including substantial improvements in point-cloud normal estimation when replacing or augmenting PointNet. In PDE-solving tasks, HDFE achieves competitive results with state-of-the-art neural operators, while offering an explicit function representation and applicability to sparse inputs. Collectively, HDFE provides a versatile, training-free interface for processing continuous objects in downstream learning tasks, with potential extensions to robustness to rotations and higher-capacity encodings.
Abstract
We propose Hyper-Dimensional Function Encoding (HDFE). Given samples of a continuous object (e.g. a function), HDFE produces an explicit vector representation of the given object, invariant to the sample distribution and density. Sample distribution and density invariance enables HDFE to consistently encode continuous objects regardless of their sampling, and therefore allows neural networks to receive continuous objects as inputs for machine learning tasks, such as classification and regression. Besides, HDFE does not require any training and is proved to map the object into an organized embedding space, which facilitates the training of the downstream tasks. In addition, the encoding is decodable, which enables neural networks to regress continuous objects by regressing their encodings. Therefore, HDFE serves as an interface for processing continuous objects. We apply HDFE to function-to-function mapping, where vanilla HDFE achieves competitive performance as the state-of-the-art algorithm. We apply HDFE to point cloud surface normal estimation, where a simple replacement from PointNet to HDFE leads to immediate 12% and 15% error reductions in two benchmarks. In addition, by integrating HDFE into the PointNet-based SOTA network, we improve the SOTA baseline by 2.5% and 1.7% in the same benchmarks.
