Abstract
The most fundamental model of a molecule is a cloud of unordered atoms, even without chemical bonds that can depend on thresholds for distances and angles. The strongest equivalence between clouds of atoms is rigid motion, which is a composition of translations and rotations. The existing datasets of experimental and simulated molecules require a continuous quantification of similarity in terms of a distance metric. While clouds of m ordered points were continuously classified by Lagrange's quadratic forms (distance matrices or Gram matrices), their extensions to m unordered points are impractical due to the exponential number of m! permutations. We propose new metrics that are continuous in general position and are computable in a polynomial time in the number m of unordered points in any Euclidean space of a fixed dimension n.
Introduction: Molecules as Unordered Point Clouds
In the fields of chemistry and materials science, the most basic representation of a molecule is a "cloud" of atoms in 3D space. To compare two such molecules, we must determine if they are isometric—meaning one can be transformed into the other through rotation and translation.
The primary obstacle to efficient comparison is that atoms are typically unordered. For a cloud of $m$ points, there are $m!$ (m-factorial) possible ways to pair them up. For a relatively small molecule like $C_{60}$, $60!$ is an astronomical number, making exhaustive search impossible. Furthermore, real-world data is noisy; we need a continuous metric where small shifts in atomic positions result in only small changes in the calculated distance.
The Proposed Solution: PCI and WMI
This research introduces two levels of invariants to bypass the permutation explosion:
1. Principal Coordinates Invariant (PCI)
For "generic" or asymmetric clouds, the algorithm utilizes Principal Component Analysis (PCA). By identifying the principal directions (eigenvectors) of the cloud's covariance matrix, we can align the cloud into a canonical coordinate system.
- The Symmetrized Metric (SM): To account for the sign ambiguity of eigenvectors (which can point in two opposite directions), the metric minimizes distance over all $2^n$ possible sign combinations. In 3D space ($n=3$), this is a small constant factor, keeping the complexity polynomial.
2. Weighted Matrices Invariant (WMI)
Standard PCA fails when a shape is highly symmetric (e.g., a square or a sphere) because its eigenvalues are not distinct. The WMI addresses this by considering all possible orthonormal bases derived from sequences of points in the cloud, treating them as a weighted distribution.
Computational Efficiency and Robustness
By employing algorithms like the Bottleneck Distance and Earth Mover’s Distance (EMD), the proposed metrics allow for "soft" matching of points. This makes the comparison robust to noise and slight variations in point counts.
Key results include:
- Polynomial Complexity: The PCI metric can be computed in $O(n^2m + n^3)$ time. For 2D clouds, the symmetrized metric is achievable in $O(m^{1.5} \log m)$ time, a significant improvement over previous $O(m^5 \log m)$ methods.
- Completeness and Continuity: The invariants are proven to be complete (distance is zero if and only if shapes are isometric) and continuous, which is essential for clustering and machine learning applications in molecular databases.
Conclusion
This work provides a rigorous mathematical foundation for comparing unordered point clouds efficiently. By moving from exponential search to polynomial-time alignment and distribution matching, these metrics open new doors for large-scale analysis of molecular and crystal structures, where handling symmetry and noise is paramount.
Summary updated