Skip to content
AI.info

Research

SOLVAR: Fast covariance-based heterogeneity analysis with pose refinement for cryo-EM

Overview Research area: Computational structural biology / cryo-electron microscopy (cryo-EM) image analysis, with methodological roots in statistics, optimization, and machine learning (arXiv categor

SOLVAR: Fast covariance-based heterogeneity analysis with pose refinement for cryo-EM
arXiv
2602.17603
Published
2026-02-19
Authors
Roey Yadgar, Roy R. Lederman, Yoel Shkolnisky

AI summary

Overview

Research area: Computational structural biology / cryo-electron microscopy (cryo-EM) image analysis, with methodological roots in statistics, optimization, and machine learning (arXiv category stat.ML).

Technical level: Advanced. The paper is written for readers comfortable with linear algebra, covariance estimation, maximum likelihood, and stochastic gradient descent, though its core ideas are stated clearly enough for a mathematically literate non-specialist.

Scope: The paper introduces SOLVAR, a covariance-based method for continuous heterogeneity analysis in cryo-EM that estimates principal components of the volume distribution directly from particle images and, uniquely among covariance-based methods, refines particle poses and contrasts.

What This Paper Is About

Cryo-EM produces up to several million noisy two-dimensional projection images of a molecule, and biological molecules often adopt a continuum of conformations rather than one fixed shape. Covariance-based methods can model this continuum by computing the principal components of the covariance matrix of the underlying 3D volumes, but that matrix lives in a space of size N³ × N³ (with N⁶ elements), which is too large to estimate directly. SOLVAR addresses both problems at once: it reformulates covariance estimation as a low-rank optimization problem solvable with stochastic gradient descent, and it folds the unknown particle poses and contrast values into that same optimization so they can be refined instead of taken as fixed input.

Key Contributions

  1. A gradient-friendly reformulation of the least-squares covariance estimator. The paper rewrites the standard least-squares covariance estimation problem (which has a closed form but is computationally intractable) as an optimization over the principal components directly, under a low-rank assumption r ≪ N³, with an explicit gradient expression that can be evaluated in O(nr²N² + mr²N³) operations and optimized by SGD in O(K(nr²N² + (nm/B)r²N³)) total operations over K epochs with mini-batch size B. The total time complexity scales linearly with the size N³ of the principal components.

  2. A maximum-likelihood alternative estimator. The authors introduce a second estimator that assumes Gaussian heterogeneity (X ~ N(μ, Σ)) and adds a Gaussian prior on the eigenvectors, with complexity O(K(n(r²N² + r³) + n/B r²N³)). They report that the practical runtime of both objectives is essentially the same, dominated by the application of the projection operators.

  3. Pose and contrast refinement inside a covariance-based framework. SOLVAR optimizes particle orientations by gradient descent and offsets by a second-order method, updates the mean volume by homogeneous reconstruction every 5 epochs, applies the contrast estimation approach of a prior method every 5 epochs, and uses a frequency-marching strategy where a lowpass filter on the estimated principal components is gradually raised toward the Nyquist frequency. The paper states this capability is absent from most heterogeneity-analysis methods and all covariance-based methods.

  4. Flexible projection-operator implementation and a public code release. Because the optimization only requires applying the projection operators and their adjoints, SOLVAR can use nearest-neighbor interpolation, trilinear interpolation (the default, with an oversampling factor of 2), or the NUFFT algorithm, whereas some prior methods are restricted to nearest-neighbor interpolation. Code is available at https://github.com/RoeyYadgar/SOLVAR.

Main Findings

  • State-of-the-art on CryoBench with known poses. Using the maximum-likelihood estimator with ground-truth poses and r = 10 principal components, SOLVAR scores the highest AUC of per-image FSC on most of CryoBench's five datasets. Its mean (std) / median values are: IgG-1D 0.388 (0.003) / 0.389; IgG-RL 0.369 (0.009) / 0.368; Ribosembly 0.431 (0.017) / 0.432; Tomotwin-100 0.246 (0.104) / 0.238; Spike-MD 0.354 (0.012) / 0.355.

  • Comparison to the strongest prior covariance method. RECOVAR, the previous leading covariance-based approach, scores 0.386 (0.005) / 0.388 on IgG-1D, 0.363 (0.011) / 0.363 on IgG-RL, 0.429 (0.018) / 0.432 on Ribosembly, 0.258 (0.109) / 0.254 on Tomotwin-100, and 0.362 (0.011) / 0.365 on Spike-MD.

  • One exception at the default rank. On Tomotwin-100, CryoDRGN scores 0.316 (0.046) / 0.321 versus SOLVAR's 0.246 (0.104) / 0.238 at r = 10. The authors report that using a higher value of r, more appropriate for a dataset with 100 discrete classes, yields state-of-the-art results (Appendix D.2).

  • Pose refinement improves on homogeneous refinement. Starting from RELION homogeneous refinement poses, SOLVAR "significantly improves RELION's estimated poses across most datasets." The specific per-dataset pose-error numbers in Table 2 are not included in the retrieved text. The authors note that errors for Tomotwin-100 and Spike-MD are particularly large, attributed to the 100 discrete states in Tomotwin-100 and an "approximate symmetry" in Spike-MD, and that these large errors are consistent with other ab-initio methods evaluated by CryoBench.

  • Best ab-initio results. In the ab-initio setting (RELION poses, then SOLVAR with pose optimization), the paper states the RELION → SOLVAR pipeline outperforms all other ab-initio methods evaluated by CryoBench. SOLVAR with pose optimization scores 0.385 (0.006) / 0.387 on IgG-1D, 0.334 (0.010) / 0.332 on IgG-RL, 0.424 (0.020) / 0.424 on Ribosembly, 0.103 (0.051) / 0.084 on Tomotwin-100, and 0.324 (0.028) / 0.327 on Spike-MD. With fixed poses, SOLVAR scores 0.348 (0.011) / 0.347, 0.333 (0.011) / 0.330, 0.419 (0.025) / 0.420, 0.047 (0.010) / 0.046, and 0.311 (0.020) / 0.313 respectively. For reference, CryoDRGN2 scores 0.32 (0.062) / 0.342, 0.301 (0.03) / 0.306, 0.341 (0.059) / 0.356, 0.076 (0.016) / 0.072, and 0.245 (0.042) / 0.260; CryoDRGN-AI scores 0.351 (0.01) / 0.352, 0.329 (0.028) / 0.333, 0.341 (0.083) / 0.367, 0.072 (0.015) / 0.072, and 0.279 (0.017) / 0.281; 3D Class abinit scores 0.13 (0.046) / 0.119, 0.184 (0.022) / 0.188, 0.144 (0.036) / 0.138, 0.032 (0.012) / 0.031, and 0.206 (0.009) / 0.208.

  • Runtime. On the IgG-1D dataset (100,000 particle images, image size 128, latent dimension r = 10, NVIDIA A100 GPU), CryoDRGN takes 60 minutes and RECOVAR takes 20 minutes, while SOLVAR takes 25 minutes without pose optimization and 90 minutes with it.

  • Contrast variability test. Adding random per-image scaling α ~ N(1, 0.2²) to the IgG-1D dataset, SOLVAR's final estimate improves out-of-plane, in-plane, and offset errors by 56%, 29%, and 69% respectively, and corrects 70% of the variability in contrast.

  • Experimental dataset EMPIAR-10076. The paper analyzes 130,000 particle images of the E. coli large ribosomal subunit (50S) assembly intermediates lacking protein L17, which contains 14 distinct states. SOLVAR is run on downsampled 128 × 128 particle images with r = 15 principal components, then volumes are reconstructed at 256 × 256. The paper reports the resulting UMAP embedding and volumes are consistent with those of other methods.

  • Experimental dataset EMPIAR-10180. On the pre-catalytic spliceosome (B-complex) with over 320,000 particle images downsampled to 128 × 128, using cryoSPARC homogeneous refinement for initial poses and r = 10 components, SOLVAR identifies continuous motion of the SF3b/helicase region and a distinct structure with over 60,000 particle images forming a visibly separate cluster in the UMAP embedding.

  • Metric caveat. The paper adopts CryoBench's AUC of per-image FSC but notes the metric is susceptible to bias, since two distinct conformations could still have high correlation.

Methodology in Plain English

The starting point is a well-known least-squares recipe that recovers the mean volume and the full covariance matrix of the volumes straight from particle images when the viewing poses are known. That recipe is convex and has a closed-form solution, but the covariance matrix is far too large to store or compute. The key move is to assume the covariance is low rank: instead of representing the whole matrix, SOLVAR represents it as a sum of a small number r of rank-one terms (the principal components). Substituting that representation turns the problem into an optimization over the principal components themselves, which has no closed form and is not convex, but whose value and gradient can both be computed efficiently — and crucially, only through applications of the projection operator and its adjoint, never by materializing the covariance.

The authors then write down a second objective based on maximum likelihood under a Gaussian model of the heterogeneity, adding a regularization prior. They report that the plain least-squares formulation does not work well when the poses are also being optimized, which motivates using the maximum-likelihood version for pose refinement. The training script (implemented in PyTorch using automatic differentiation, the Adam optimizer at a learning rate of 10⁻⁶ and batch size 1024) additionally refines each particle's orientation by gradient descent and its offset by a second-order method, refreshes the mean volume by homogeneous reconstruction every 5 epochs, refreshes contrast estimates every 5 epochs, and progressively raises a lowpass cutoff frequency on the principal components to avoid getting stuck in high-frequency local minima. The principal components are not constrained to be orthogonal during training; the final covariance estimate is orthogonalized by SVD. Regularization follows the RECOVAR scheme, with the modification that the covariance FSC-style regularization is applied to each frequency-shell pair sub-matrix rather than to each column independently.

Why This Matters

Impact on research. Most methods for continuous heterogeneity in cryo-EM, including every prior covariance-based method, treat the particle poses as fixed input supplied by an upstream homogeneous refinement. Because that refinement ignores heterogeneity, the poses it produces are distorted, and the distortion is then misinterpreted as structural variability. SOLVAR is the first covariance-based framework that can correct those poses and contrasts while simultaneously estimating the principal components, which changes the standard pipeline from "align once, then analyze heterogeneity" to "align and analyze together." It also raises a smaller but practical point: because it only needs projection operators and their adjoints, it can use accurate interpolation such as trilinear interpolation with an oversampling factor of 2 or NUFFT, rather than being locked to nearest-neighbor interpolation.

Real-world applications:

  • Structural biology of flexible machines: resolving the conformational continuum of ribosomes, spliceosomes, and other large assemblies rather than collapsing them into a few discrete states.
  • Drug discovery targeting allosteric or dynamic sites, where the relevant binding pocket only exists in a subset of conformations.
  • Improving existing cryo-EM pipelines, since SOLVAR can be bolted onto RELION or cryoSPARC output to refine poses from already-collected data.
  • Interpretation of mixed-quality datasets where initial alignment is poor due to large numbers of states or approximate symmetry.

Industry relevance. Cryo-EM is a standard tool in pharmaceutical and biotechnology structural biology. Any method that recovers more accurate conformations from existing data, without new microscope time, is valuable; SOLVAR's reported efficiency (comparable runtime to existing covariance-based tools before pose optimization) makes it practical in production pipelines. The public code release lowers the barrier to adoption.

Future Directions

  1. Automatic rank selection. SOLVAR requires the user to specify the number of components r, which is typically unknown in advance. The authors suggest estimating the true rank of the covariance after computing a sufficiently large number of components and pruning, which would reduce noise in the latent space. They note the complexity scales as O(r²) for the least-squares objective and O(r³) for the maximum-likelihood objective, but that in practice the number of components affects runtime only linearly.

  2. Extension toward fully ab-initio reconstruction. The authors propose employing the EM algorithm to jointly refine the mean, the principal components, and the particle poses, in a manner similar to common homogeneous refinement methods, to handle worse initializations than the current framework supports.

  3. Faster runtime. They identify implementing efficient frequency marching within SOLVAR's framework as a remaining opportunity for speedup.

  4. Open question about the objective for pose refinement. The paper states that a straightforward attempt to use the least-squares estimator for joint estimation of principal components and poses fails to achieve satisfactory performance, and that the Gaussian heterogeneity assumption behind the maximum-likelihood alternative is not physically grounded, though it is closely related to models used in existing cryo-EM software and performed well empirically.

Target Audience

This paper is most useful to researchers and engineers working on cryo-EM image processing and continuous heterogeneity algorithms, particularly developers who want a covariance-based method that can refine poses rather than depend on an upstream homogeneous refinement. It is also relevant to statisticians and machine learning researchers interested in large-scale low-rank covariance estimation with stochastic optimization, and to structural biologists with computational support who need to extract conformational landscapes from existing particle stacks. Readers wanting to reproduce or extend the method should be comfortable with the imaging model and Fourier-space notation in Section 2; the conclusions and results tables are accessible with less background.

Authors’ abstract

Cryo-electron microscopy (cryo-EM) has emerged as a powerful technique for resolving the three-dimensional structures of macromolecules. A key challenge in cryo-EM is characterizing continuous heterogeneity, where molecules adopt a continuum of conformational states. Covariance-based methods offer a principled approach to modeling structural variability. However, estimating the covariance matrix efficiently remains a challenging computational task. In this paper, we present SOLVAR (Stochastic Optimization for Low-rank Variability Analysis), which leverages a low-rank assumption on the covariance matrix to provide a tractable estimator for its principal components, despite the apparently prohibitive large size of the covariance matrix. Under this low-rank assumption, our estimator can be formulated as an optimization problem that can be solved quickly and accurately. Moreover, our framework enables refinement of the poses of the input particle images, a capability absent from most heterogeneity-analysis methods, and all covariance-based methods. Numerical experiments on both synthetic and experimental datasets demonstrate that the algorithm accurately captures dominant components of variability while maintaining computational efficiency. SOLVAR achieves state-of-the-art performance across multiple datasets in a recent heterogeneity benchmark. The code of the algorithm is freely available at https://github.com/RoeyYadgar/SOLVAR.

Read the original paper