Inferensys

Glossary

Bayesian Polishing

A per-particle, beam-induced motion correction algorithm implemented in RELION that uses a Bayesian framework to model and reverse radiation damage and movement trajectories.
Governance lead reviewing model governance framework on laptop, policy documents visible, executive office setup.
CRYO-EM DATA PROCESSING

What is Bayesian Polishing?

A per-particle, beam-induced motion correction algorithm implemented in RELION that uses a Bayesian framework to model and reverse radiation damage and movement trajectories.

Bayesian Polishing is a per-particle motion correction algorithm in RELION that applies a Bayesian framework to model beam-induced specimen movement and radiation damage. It estimates the three-dimensional trajectory of each particle throughout the dose-fractionated movie, using a Gaussian prior on acceleration to regularize the motion tracks and prevent overfitting to noise.

The algorithm operates after an initial 3D reconstruction, re-evaluating the alignment of movie frames against the reference map. By optimally weighting each frame based on its signal-to-noise ratio and the cumulative radiation damage, Bayesian Polishing restores high-resolution detail lost to specimen movement, often yielding significant improvements in map quality and Fourier Shell Correlation (FSC) resolution.

PER-PARTICLE MOTION CORRECTION

Key Features of Bayesian Polishing

Bayesian Polishing is a statistical framework for modeling and reversing beam-induced motion in cryo-EM. It operates on individual particle trajectories, using a prior on motion smoothness to separate true structural signal from radiation damage artifacts.

01

Bayesian Framework for Motion Trajectories

Models the per-particle motion trajectory as a Gaussian process. The algorithm fits a smooth, continuous path for each particle's movement during the exposure, balancing the fit to the observed data against a prior that penalizes unphysical, jerky motion. This avoids overfitting noise while accurately capturing the true beam-induced drift. The output is a set of corrected particle positions for each movie frame, which are then averaged to produce a sharper reconstruction.

02

Radiation Damage Compensation

Explicitly accounts for the progressive loss of high-resolution information due to radiation damage. The algorithm applies a per-frame, frequency-dependent weighting that optimally down-weights later frames. This is combined with the motion trajectory model to ensure that the final, averaged particle image extracts the maximum possible signal from early, minimally damaged frames while still using low-resolution information from later frames to improve particle alignment.

03

Integration with RELION's Refinement Pipeline

Implemented as a native tool within the RELION (REgularised LIkelihood OptimisatioN) software suite. It operates on the output of a standard 3D refinement, using the aligned movie frames and metadata. The polished particle images can then be fed back into a subsequent refinement iteration, often yielding a significant improvement in reported resolution and map interpretability, particularly for flexible or radiation-sensitive specimens.

04

Comparison to Alternative Motion Correction Methods

Differs fundamentally from global or local patch-based motion correction algorithms like MotionCor2. While those methods fit a single motion model to a whole micrograph or local regions, Bayesian Polishing operates on individual particles. This allows it to capture heterogeneous, particle-specific motion that is averaged out by global approaches, making it especially powerful for samples with significant uncorrelated movement.

05

Statistical Metrics and Validation

Outputs diagnostic plots showing the fitted trajectories and the B-factor applied to each frame, allowing users to assess the extent of radiation damage and motion. The effectiveness is validated by an increase in the gold-standard Fourier Shell Correlation (FSC) resolution and improved high-resolution features in the final reconstructed density map, confirming that the procedure enhances true signal rather than introducing correlated noise.

BAYESIAN POLISHING EXPLAINED

Frequently Asked Questions

Clarifying the statistical framework behind per-particle motion correction in cryo-EM, addressing common questions about implementation, comparison to other algorithms, and the role of prior probabilities in high-resolution reconstruction.

Bayesian Polishing is a per-particle, beam-induced motion correction algorithm implemented in RELION that uses a Bayesian framework to model and reverse radiation damage and movement trajectories. Unlike global motion correction, it operates on individual particle trajectories extracted from dose-fractionated movie frames. The algorithm constructs a prior probability distribution over possible particle trajectories, favoring smooth, physically plausible paths, and combines this with a likelihood function derived from the fit of the particle images to the current 3D reconstruction. By maximizing the posterior probability, it infers the most likely trajectory for each particle, effectively reversing beam-induced movement and restoring high-resolution signal. The output is a set of polished particles with corrected positions and per-frame dose weights that optimally down-weight radiation-damaged frames, significantly improving map resolvability in the 3-4 Å range.

CRYO-EM MOVIE CORRECTION METHODS

Bayesian Polishing vs. MotionCor2 vs. Dose Weighting

Comparison of computational approaches for correcting beam-induced motion and radiation damage in dose-fractionated cryo-EM movies

FeatureBayesian PolishingMotionCor2Dose Weighting

Primary purpose

Per-particle trajectory estimation and B-factor weighting

Global and local frame alignment

Frequency-dependent SNR weighting per frame

Algorithmic framework

Bayesian inference with Gaussian prior

Patch-based cross-correlation alignment

Exposure-dependent amplitude modulation

Granularity

Per-particle

Per-micrograph (patch-based)

Per-frame (global)

Models radiation damage

Estimates per-particle motion trajectories

Corrects anisotropic motion

Output

Polished particle stack with optimized B-factors

Aligned and averaged micrograph

Weighted frame average

Implementation

RELION

Standalone (GPU-accelerated)

RELION, cryoSPARC, cisTEM

Computational cost

High (per-particle optimization)

Moderate (GPU-accelerated)

Low (simple weighting function)

Requires prior 3D reconstruction

Resolution improvement

0.2-0.5 Å typical

0.1-0.3 Å typical

0.1-0.2 Å typical

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.