Pointwise distance distributions of periodic sets

Daniel Widdowson, Vitaliy Kurlin

Abstract

Identifying duplicates in massive materials databases is hindered by representation ambiguity and experimental noise. This paper introduces the Pointwise Distance Distribution (PDD), a continuous isometry invariant that acts as a "DNA code" for crystals. By leveraging Earth Mover’s Distance and near-linear time algorithms, the authors scanned 1.8 million structures in two hours, revealing that over 30% of some databases consist of near-duplicates.

Introduction: The Challenge of Crystal Identification

In materials science, crystals are modeled as periodic sets of points representing atoms. However, determining if two structures are identical is a non-trivial task due to several fundamental hurdles.

Representation Ambiguity

A single crystal structure can be described by infinitely many different "unit cells" or "motifs." As shown in Figure 1, different geometric shapes (U, U', U'') can define the same underlying lattice. This makes direct coordinate comparisons impossible for large-scale database deduplication.

Different unit cells (U, U', U'') representing the same lattice structure, illustrating the problem of representation ambiguity.

Experimental Noise and Brittleness

Traditional classification tools, such as space groups, are "brittle." In experimental settings, atomic positions are rarely perfect. A minute shift in an atom's position—often referred to as "noise"—can cause a computer to classify a crystal into a completely different symmetry group, even if the physical material remains the same (see Figure 6).

The effect of noise on atomic positions. Small perturbations can disrupt the rigid symmetry required by traditional classification methods.

The Scale Challenge

With the advent of high-throughput computing and massive experimental repositories, researchers now face millions of structures. We require a method that is both mathematically rigorous (isometry invariant) and computationally efficient enough to handle millions of comparisons.

Methodology: Pointwise Distance Distribution (PDD)

The authors propose the Pointwise Distance Distribution (PDD) and its simplified version, the Average Minimum Distance (AMD), to address these issues.

  1. PDD Construction: For every atom in a crystal's repeating unit (motif), the algorithm calculates the distances to its $k$ nearest neighbors. These distances are organized into a matrix. If multiple atoms have identical distance profiles, their rows are collapsed and assigned a weight.
  2. Continuity via Earth Mover’s Distance (EMD): To compare two PDDs, the authors use the EMD. This allows the metric to be Lipschitz continuous—meaning small perturbations in atomic positions result in only small changes in the PDD value. This solves the "brittleness" problem of previous methods.
  3. Near-Linear Complexity: By utilizing advanced data structures like compressed cover trees, the authors reduced the computational complexity to near-linear time relative to the number of atoms and neighbors ($O(km \log m)$). This is a two-order-of-magnitude speedup over previous implementations.
  4. Generic Completeness: The paper provides rigorous proofs that the PDD is "generically complete," meaning it is almost certain to uniquely identify any crystal structure.

Large-Scale Database Analysis

The study performed a massive cross-comparison of the five largest materials databases: the Cambridge Structural Database (CSD), Crystallography Open Database (COD), Inorganic Crystal Structures Database (ICSD), Materials Project (MP), and Google DeepMind’s GNoME database. The total pool consisted of approximately 1,847,462 periodic crystals.

Key Results

  • Massive Duplication Found: The results were eye-opening. More than 30% of the ICSD consists of near-duplicates. Even more striking, over 80% of the COD was found to overlap with the CSD.
  • Speed: The PDD allowed for the comparison of 2 million crystals within 2 hours on a modest desktop computer. For comparison, traditional alignment-based methods would have taken decades of CPU time.
  • Data Integrity: The authors identified 235 pairs of crystals that had identical geometry but different chemical labels, pointing to significant errors or labeling issues in the source databases.

Discussion and Future Directions

The PDD acts as a "DNA" for materials, providing a complete invariant that could theoretically reconstruct the original crystal. By closing the "loophole" created by the lack of continuous invariants, PDD prevents the misidentification of noisy versions of known materials as "new" discoveries.

While PDD is complete, it is not yet "realizable" in the sense that we don't have a way to know if a randomly generated PDD matrix corresponds to a physically possible crystal. Future work will focus on extending these invariants to describe "energy landscapes" to help navigate the search for truly novel materials.

Summary updated

BibTeX
@misc{widdowson2021pointwise,
  author = {Daniel Widdowson and Vitaliy Kurlin},
  title = {{Pointwise distance distributions of periodic sets}},
  year = {2021},
  eprint = {2108.04798},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.04798},
}
Figure