Inferensys

Glossary

Smooth Overlap of Atomic Positions (SOAP)

A local atomic descriptor that encodes the chemical environment of an atom by constructing a smooth, continuous density of neighboring atoms, providing a rotationally and permutationally invariant representation for machine learning.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
Atomic Environment Descriptor

What is Smooth Overlap of Atomic Positions (SOAP)?

A local atomic descriptor that encodes the chemical environment of an atom by constructing a smooth, continuous density of neighboring atoms, providing a rotationally and permutationally invariant representation for machine learning.

Smooth Overlap of Atomic Positions (SOAP) is a mathematical descriptor that transforms the discrete positions of neighboring atoms around a central atom into a smooth, continuous density field using Gaussian functions, then computes the rotationally invariant power spectrum of this field to create a fixed-length feature vector for machine learning models. This representation uniquely captures both the radial and angular distribution of atoms in a local chemical environment, making it a foundational tool for constructing neural network potentials and predicting quantum mechanical properties.

The SOAP kernel, defined as the rotational integral of the overlap between two atomic density fields, provides a rigorous measure of similarity between local environments that respects physical symmetries including permutation invariance and rotational invariance. This descriptor is widely used in Gaussian Approximation Potentials (GAP) and other kernel-based machine learning frameworks, where it enables the interpolation of potential energy surfaces with near ab initio accuracy by comparing new atomic configurations to a sparse set of quantum mechanical reference calculations.

SMOOTH OVERLAP OF ATOMIC POSITIONS

Key Characteristics of SOAP

The SOAP descriptor encodes local atomic environments by constructing a smooth, continuous density of neighboring atoms, providing a rotationally and permutationally invariant representation for machine learning interatomic potentials.

01

Gaussian Density Construction

SOAP represents each neighboring atom not as a discrete point, but as a Gaussian-smeared density centered at its position. This smoothing ensures the descriptor is continuously differentiable with respect to atomic positions, a critical requirement for computing forces in molecular dynamics. The width of the Gaussian is controlled by a hyperparameter that defines the effective radius of atomic influence.

02

Rotationally Invariant Power Spectrum

The core mathematical trick of SOAP is expanding the local density field in a basis of spherical harmonics and radial basis functions, then computing the power spectrum of the resulting expansion coefficients. This operation guarantees rotational invariance—the descriptor remains identical regardless of how the molecule is oriented in 3D space. The power spectrum is formed by contracting the expansion coefficients over the angular momentum index.

03

Permutation Invariance by Design

Because SOAP constructs a total neighbor density by summing over all atoms within a cutoff radius, the descriptor is inherently permutationally invariant. Swapping the labels of two identical atoms in the input list produces exactly the same SOAP vector. This property reflects the physical indistinguishability of identical atoms and eliminates the need for data augmentation during training.

04

Kernel-Based Similarity Measure

SOAP descriptors are often compared using a dot-product kernel that quantifies the similarity between two atomic environments. This kernel can be raised to a power to sharpen the similarity measure, effectively controlling how local or global the comparison is. The resulting SOAP kernel is rotationally invariant, permutationally invariant, and smoothly differentiable, making it suitable for Gaussian Process Regression models like GAP.

05

Systematic Convergence with Basis Size

The accuracy of the SOAP representation is controlled by two truncation parameters: the maximum radial quantum number and the maximum angular momentum quantum number. Increasing these values systematically expands the basis set, allowing the descriptor to capture finer chemical details. In the limit of a complete basis, the SOAP power spectrum uniquely determines the local atomic environment up to rotation.

06

Multi-Species Extension

For systems containing multiple chemical elements, SOAP is extended by constructing partial densities for each species. The power spectrum is then computed for each pair of species, yielding a descriptor that distinguishes not only the geometric arrangement but also the chemical identity of neighbors. This multi-species SOAP vector grows quadratically with the number of elements but provides a complete description of the local chemical environment.

SOAP DESCRIPTOR FAQ

Frequently Asked Questions

Clear, technical answers to common questions about the Smooth Overlap of Atomic Positions (SOAP) descriptor, its mathematical foundations, and its role in machine learning for quantum chemistry.

The Smooth Overlap of Atomic Positions (SOAP) is a local atomic descriptor that encodes the chemical environment of an atom by constructing a smooth, continuous density of neighboring atoms, providing a rotationally and permutationally invariant representation for machine learning. It works by placing Gaussian functions on each neighboring atom within a spherical cutoff, expanding this density field in a basis of spherical harmonics and radial basis functions, and then computing the power spectrum of the resulting expansion coefficients. This process yields a fixed-length vector that uniquely and faithfully captures the geometry and chemistry around a central atom, enabling its use as input for kernel methods or neural networks to predict potential energies, forces, and other quantum mechanical properties.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.