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.
Glossary
Smooth Overlap of Atomic Positions (SOAP)

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Understanding SOAP requires familiarity with the mathematical and physical principles that govern atomic environment descriptors and their role in machine learning for quantum chemistry.
Atomic Cluster Expansion (ACE)
A systematic and complete framework for constructing permutationally and rotationally invariant atomic descriptors. ACE provides the theoretical foundation for a family of highly efficient machine learning interatomic potentials.
- Systematic: Can be systematically improved by increasing the body-order of the expansion
- Complete: Capable of representing any smooth function of atomic coordinates to arbitrary accuracy
- Relationship to SOAP: SOAP can be understood as a specific truncation of the ACE formalism, using a spherical harmonic expansion of the neighbor density
Permutation Invariance
A fundamental design constraint for machine learning models of atomic systems. The prediction must remain unchanged when the order of identical atoms in the input list is swapped.
- Physical basis: Atoms of the same element are indistinguishable quantum mechanically
- SOAP's solution: The power spectrum and bispectrum are constructed to be invariant under permutations of identical atoms
- Contrast: A naive Cartesian coordinate input would change if atom indices are swapped, leading to unphysical predictions
Equivariant Neural Network
A neural network architecture that guarantees its output transforms predictably under symmetry operations of 3D space, such as rotation and translation.
- Invariance vs. Equivariance: SOAP descriptors are invariant (unchanged by rotation), while equivariant networks can predict vectorial properties like forces that rotate with the molecule
- Complementary approaches: SOAP is often used as input to invariant models for energy prediction, while equivariant networks learn these symmetries internally
- Modern trend: Equivariant architectures like NequIP and MACE are increasingly preferred, but SOAP remains a benchmark descriptor
Force Matching
A training paradigm where the loss function directly compares the atomic forces predicted by the model to reference forces from quantum mechanical calculations.
- Training signal: Forces provide 3N times more training data per configuration than a single energy value
- SOAP integration: SOAP descriptors are used to featurize each atom's environment, and the model predicts forces as the negative gradient of the predicted energy with respect to atomic positions
- Physical consistency: Force matching ensures the model learns a conservative potential energy surface where forces are the true derivatives of the energy
Δ-Machine Learning
A learning strategy where a model is trained to predict the small difference between a low-level, inexpensive theory and a high-level, accurate theory.
- Efficiency: Combines the speed of a baseline method like DFTB with the accuracy of coupled cluster
- SOAP's role: SOAP descriptors capture the local atomic environment, and the model learns a correction term ΔE = E_high - E_low
- Transferability: The correction learned with SOAP descriptors often transfers well across similar chemical systems, reducing the need for expensive reference calculations
Uncertainty Quantification (UQ)
The process of assigning a confidence interval to a machine learning model's prediction, critical for assessing reliability and guiding data acquisition.
- Gaussian Process Regression: SOAP is frequently paired with Gaussian processes, which provide a natural variance estimate alongside the prediction
- Active learning: When a SOAP-based model encounters an atomic environment with high uncertainty, it can flag that configuration for a new quantum mechanical calculation
- Extrapolation detection: The smooth overlap kernel naturally identifies when a new environment lies far from the training distribution, preventing overconfident extrapolation

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us