원시데이터 수집 시스템
선정목록으로

Robust ab initio solution of the cryo-EM reconstruction problem at low resolution with small data sets

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Aaditya V. Rangan — Center for Computational Mathematics, Flatiron Institute and Courant Institute, NYU
  2. Leslie Greengard — Center for Computational Mathematics, Flatiron Institute and Courant Institute, NYU
DOI
10.1016/j.jsb.2023.107994
저널
Journal of Structural Biology
발행년도
2023
발행기관
Elsevier BV
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jsb.2023.107994
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4384007255

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Single particle cryo-electron microscopy has become a critical tool in structural biology over the last decade, able to achieve atomic scale resolution in three dimensional models from hundreds of thousands of (noisy) two-dimensional projection views of particles frozen at unknown orientations. This is accomplished by using a suite of software tools to (i) identify particles in large micrographs, (ii) obtain low-resolution reconstructions, (iii) refine those low-resolution structures, and (iv) finally match the obtained electron scattering density to the constituent atoms that make up the macromolecule or macromolecular complex of interest. Here, we focus on the second stage of the reconstruction pipeline: obtaining a low resolution model from picked particle images. Our goal is to create an algorithm that is capable of ab initio reconstruction from small data sets (on the order of a few thousand selected particles). More precisely, we propose an algorithm that is robust, automatic, and fast enough that it can potentially be used to assist in the assessment of particle quality as the data is being generated during the microscopy experiment.

본문 139,806자

본문 펼치기
## Robust ab initio solution of the cryo-EM reconstruction problem at low resolution with small data sets Aaditya V. Rangan and Leslie Greengard <sup>∗</sup> July, 2023 Abstract Single particle cryo-electron microscopy has become a critical tool in structural biology over the last decade, able to achieve atomic scale resolution in three dimensional models from hundreds of thousands of (noisy) two-dimensional projection views of particles frozen at unknown orientations. This is accomplished by using a suite of software tools to (i) identify particles in large micrographs, (ii) obtain low-resolution reconstructions, (iii) refine those low-resolution structures, and (iv) finally match the obtained electron scattering density to the constituent atoms that make up the macromolecule or macromolecular complex of interest. Here, we focus on the second stage of the reconstruction pipeline: obtaining a low resolution model from picked particle images. Our goal is to create an algorithm that is capable of _ab_ _initio_ reconstruction from small data sets (on the order of a few thousand selected particles). More precisely, we propose an algorithm that is robust, automatic, and fast enough that it can potentially be used to assist in the assessment of particle quality as the data is being generated during the microscopy experiment. #### 1 Introduction In single-particle cryo-electron microscopy (cryo-EM), a purified preparation of particles (proteins or macro-molecular complexes) is frozen in a thin sheet of ice, with each particle held in an unknown orientation. Using a weak scattering approximation, the image obtained can be viewed as a noisy projection of the particle’s electron scattering density, which we denote by _F_ ( _x_ ), with optical aberrations modeled by what is called a contrast transfer function (CTF) [1, 2]. The task at hand is to take the individual particle images, determine their orientations, and recover a high resolution characterization of _F_ ( _x_ ). This is typically accomplished through the Fourier slice theorem [3, 4], which states that the two-dimensional Fourier transform of each projection image is a slice through _F_ ˆ( _k_ ), the _three-dimensional_ Fourier transform of _F_ ( _x_ ) (modulated by the CTF). The specific slice obtained from a single image is determined by the orientation of the individual particle. With many particles at many distinct orientations, _F_ <sup>ˆ</sup> ( _k_ ) is well-sampled and _F_ ( _x_ ) can be obtained through the inverse Fourier transform. Thus, if the orientations are known, the reconstruction problem is linear and easily solved. The orientations, however, are not known, and the reconstruction problem is both nonlinear and non-convex. In practice, not only are the orientations unknown, but the particles must be correctly centered in order to invoke the Fourier slice theorem. The unknown displacement vector must also be learned for each particle image. We postpone a proper discussion of the mathematics to section 2 and the appendices (Supporting Information). From an experimental perspective, the initial stages of cryo-EM involve some hours of imaging, resulting in the collection of multiple micrographs, each containing a number of particle images. After sufficiently many micrographs are collected, the next steps involve particle picking (identifying individual particles in the micrographs), and the construction of a low- to medium-resolution ∗Center for Computational Mathematics, Flatiron Institute and Courant Institute, NYU 1 molecule for further analysis and refinement. The latter step typically involves class averaging - finding particles that appear to have the same orientation and taking the average in order to improve the signal-to-noise ratio, but some algorithms proceed from the raw particle images themselves (as we do here). Despite recent advances in sample preparation, imaging and analysis, the cost of data collection can still be quite significant, and the availability of microscope time is a limited resource. In order for the picked-particle images to be useful, they must meet certain criteria: each should contain a single well-centered particle with a minimum of clutter, and the full set must cover a wide variety of viewing angles, sufficient to determine the full three-dimensional structure. Assuming that these criteria are met, these images (hopefully the least noisy and cleanest projection views) can then be used in downstream analyses. If the sample or the images are not of sufficient quality, it may be necessary to terminate the current experiment and repeat with a new sample, hoping to produce higher-quality particle images the next time. To reduce the time and cost of such experiments, there are many quality-control tasks that would be useful to carry out as early as possible. These include: 1. determining whether any picked-particle image contains a reasonably well-centered and isolated molecule. 2. estimating the viewing angles of the images (and checking that the range of viewing angles is sufficient to reconstruct the molecule). 3. estimating the displacements/shifts required to more precisely center the images. 4. estimating the image quality and the number of particles that will be needed to reconstruct the desired molecule at the desired resolution. 5. estimating the molecular structure itself at low-resolution (which feeds back to the estimates 1-4) In current practice, many of these issues are addressed after carrying out class averaging, which typically requires dozens of particles per class and tens of thousands of picked particles, although a number of reconstruction algorithms work directly on the raw data. In this paper, we describe an algorithm which can serve as a complement to more standard strategies. Our algorithm operates on a relatively small set of picked-particle images (say, a few thousand), and attempts to directly reconstruct (without class averaging) a low-resolution version of the imaged molecule, along with estimates of the viewing-angles, shifts and quality of the images involved. As we demonstrate below, our method is significantly faster, more accurate and more reliable than many existing de-novo reconstruction algorithms. We hope that it is robust enough to permit the assessment of data quality as the experiment is being carried out. Moreover, our algorithm runs quickly and automatically with no ‘tuning’ required, allowing for multiple small pools of approximately 1000 picked-particles to be independently assessed without supervision (each corresponding to _∼_ 30 micrographs). This would help set the stage for more robust statistical validation techniques such as bootstrap or jack-knife estimation. Remark 1 _We_ _should_ _emphasize_ _that_ _the_ _starting_ _point_ _of_ _our_ _experiments_ _here_ _is_ _a_ _collection_ _of_ _picked_ _particle_ _images_ _(obtained_ _from_ _the_ _EMPIAR_ _database),_ _not_ _the_ _raw_ _movies_ _or_ _entire_ _micro-_ _graphs_ _that_ _are_ _sometimes_ _deposited_ _as_ _well._ _Particle_ _picking_ _is_ _itself_ _a_ _non-trivial_ _task._ _Restricting_ _our attention to molecules for which particles are curated allows us to focus exclusively on the problem_ _of_ _reconstruction_ _from_ _a_ _small_ _data_ _set._ At its core, our algorithm is a modification of the simplest expectation-maximization method. We use the framework of classical iterative refinement - alternating between a reconstruction step and an alignment step. In the reconstruction step, we use the current estimate of the viewing angles for each particle/image and their displacements to approximate the molecule. In the alignment step, 2 we use the current estimate of the molecule to better fit the viewing angles and displacements for each image. We will refer to this approach as _alternating_ _minimization_ (AM). It is well-known that standard AM does poorly in this setting; an initialization with randomized viewing angles typically fails to converge to a useful low-resolution approximation of the molecule. To address these issues and to guide AM to a better structure, we introduce two changes: (i) we compress and denoise the individual images by computing their two-dimensional Fourier transform on a polar grid and focusing on carefully selected rings in the transform domain with maximal information content, and (ii) we increase the entropy of the viewing-angle distribution used during the reconstruction step (in a manner to be described in detail). These modifications both reduce the computational cost and improve the robustness of AM in the low-resolution low-image-number regime. In the numerical experiments below, we show that our modified method ( _alternating minimization_ _with_ _entropy_ _maximization_ _and_ _principal_ _modes_ or ‘EMPM’) performs surprisingly well on several published data sets. Our reconstructions are often on par with the best results one could expect from an ‘oracle-informed’ AM (i.e., standard AM starting with the ‘ground-truth’ viewing-angles and displacements for each image). Moreover, our results are similar to (or better than) what one might expect from a reconstruction using ‘optimized’ Bayesian inference (i.e., using a ground-truth informed estimated noise level). Importantly, our strategy is efficient, running about twenty times faster than standard Bayesian inference or the de-novo reconstruction in the widely used, open source package Relion [5, 6, 7]. We also make direct comparisons with two other open source methods: the neural network approach in cryoDRGN [8] and the recent low-resolution reconstruction pipeline in Aspire [9]. We have not made a direct comparison with the stochastic gradient descent approach in the GPU-based cryoSPARC package [10]. In the remainder of this paper, we briefly summarize the EMPM method and demonstrate its performance on a variety of data sets. The details of our method, as well as some additional motivating examples, are deferred to the Supporting Information. It is currently implemented for multi-core CPUs, but we believe it should be straightforward to implement on GPUs as well, and to integrate into any of the existing software packages for cryo-EM. #### 2 Overview of the EMPM iteration Our general goal is to solve the following problem: given a set of _NA_ picked particle images (2D projections) from a handful of micrographs (each with their own CTF), estimate the unknown viewing-angles _τj_ _∈_ _SO_ (3) and displacements _δj_ _∈_ R <sup>2</sup> for each image, as well as the underlying volume _F_ <sup>ˆ</sup> ( _k_ ), where _k_ _∈_ R <sup>3</sup> denotes a point in the Fourier transform domain. In addition to determining the volume _F_ <sup>ˆ</sup> ( _k_ ), we would also like an estimate of the viewing-angle distribution _µτ_ and displacement distribution _µ_ _δ_ (taken across the images). If the estimates of the volume _F_ <sup>ˆ</sup> ( _k_ ) and the distributions _µτ_, _µ_ _δ_ are accurate estimates of the ground truth, they will clearly be useful for quality control, determining (for example) whether the experimental conditions are suitable for larger scale data collection and subsequent high resolution reconstruction. The main tool we employ is a form of _alternating_ _minimization_ (AM), which carries out some number of iterations of the following two step procedure: Reconstruction: Given the estimated viewing-angles _{τj_ <sup>estim</sup> _}_ and displacements _{_ _δ_ estim _j_ _}_ for _NA_ 2d picked-particle images _{A_ <sup>ˆ</sup> _j}_, reconstruct the 3D molecular volume _F_ <sup>ˆ</sup> <sup>estim</sup> (using the Fourier slice theorem and least squares inversion of the Fourier transform). Reconstruction: Given the estimated viewing-angles _{τj_ <sup>estim</sup> _j_ <sup>estim</sup> _}_ and displacements _{_ _δ_ Alignment: Given the reconstruction of the 3D molecule _F_ <sup>ˆ</sup> <sup>estim</sup>, update the estimates _{τj_ <sup>estim</sup> Given the reconstruction of the 3D molecule _F_ <sup>ˆ</sup> <sup>estim</sup>, update the estimates _{τj_ <sup>estim</sup> _}_ and _{_ _δ_ estim _j_ _}_ . estim _j_ _}_ . In a standard AM scheme, the reconstruction step solves for _F_ <sup>ˆ</sup> <sup>estim</sup> using a least-squares procedure, and the alignment step assigns the _{τj_ <sup>estim</sup> _}_ and _{_ _δ_ estim _j_ _}_ using some kind of maximum-likelihood procedure (see sections A.18 and A.22 in the Supporting Information). While there are many more 3 sophisticated strategies for molecular reconstruction (see, for example, [10, 8]), we focus on AM for a few reasons: first and foremost is its simplicity, transparency and ease of automation. AM has modular steps, few parameters, and is easily interpretable. At the same time, however, standard AM does have serious limitations. First, it can be computationally expensive, particularly if a broad range of frequencies and/or translations are considered in the alignment step. Second, AM can fail to converge to the correct solution, especially during the initial iterations, when the initial guess is far from the true molecule. To address these two issues, we propose a modified version of AM which we refer to as _alternating_ _minimization with entropy-maximization and principal modes_ (EMPM). The two main modifications we introduce are: Maximum entropy alignment: We use both the traditional maximum likelihood alignment strat egy, which finds the best estimate for each image from the current molecular reconstruction, and its _opposite_ . That is, we also use a ‘maximum-entropy’ alignment strategy: for each uniformly chosen viewing angle, we find the experimental image which best matches the corresponding projection from the current structure. The subsequent reconstruction step makes use of this uniform distribution of viewing angles _whether_ _or_ _not_ _it_ _corresponds_ _to_ _the_ _true_ _distribution_ . Use of this counter-intuitive step is important in stabilizing our low resolution reconstruction from a small set of images (see section A.22 in the Supporting Information). Principal-mode projection: Each image is transformed onto a polar grid in Fourier space. The data on each circle in the transform domain at a fixed modulus _|_ _k_ _|_ will be referred to as a _Fourier_ _ring_ . Rather than considering all Fourier rings when comparing 2D projections and image data, we consider only a handful of carefully-chosen combinations of such rings, which we refer to as _principal_ _modes_ . This yields significant compression of the data (and computational efficiency) while retaining information useful for alignment (see section A.13 in the Supporting Information). In the EMPM pipeline, we first estimate the principal-modes using the images themselves. Using these ‘empirical’ principal modes, we proceed with AM, alternating between maximum-likelihood and maximum-entropy alignment. Once a preliminary volume estimate has been obtained, we use that estimate to recalculate the principal modes. We then restart AM using the new principal images and, again, alternate between maximum-likelihood and maximum-entropy alignment until we have a final volume estimate. The algorithm is summarized below (see Supporting Information for a more detailed description): 1. Use the experimental images _A_ <sup>ˆ</sup> _j_ to calculate ‘empirical’ principal modes _U_ <sup>empir</sup> . 2. Compute the _principal images_, defined to be the projection of the images onto principal modes, _P_ ( _U_ <sup>empir</sup> _,_ _A_ <sup>ˆ</sup> _j_ ). 3. Set random initial viewing angles _τj_ empir and set initial displacements _δ_ 4. Carry out 32 iterations of EMPM on the principal images. empir _j_ to 0. (a) Reconstruct _F_ <sup>ˆ</sup> <sup>empir</sup> using _τ_ _j_ empir and _δ_ empir _j_ . empir _j_ . (b) Use maximum-likelihood alignment to update _τ_ _j_ empir and _δ_ (c) Reconstruct _F_ <sup>ˆ</sup> <sup>empir</sup> using _τ_ _j_ empir and _δ_ empir _j_ . empir _j_ . (d) Use maximum-entropy alignment to update _τ_ _j_ empir and _δ_ 5. Use _F_ <sup>ˆ</sup> <sup>empir</sup> to calculate ‘estimated’ principal modes _U_ <sup>estim</sup> . empir _j_ . estim _j_ = _δ_ 6. Set initial viewing angles _τj_ <sup>estim</sup> = _τ_ _j_ empir and displacements _δ_ 7. Carry out 32 iterations of EMPM on the new principal images _P_ ( _U_ <sup>estim</sup> _,_ _A_ <sup>ˆ</sup> _j_ ). 4 (a) Reconstruct _F_ <sup>ˆ</sup> <sup>estim</sup> using _τj_ <sup>estim</sup> and _δ_ estim _j_ . (b) Use maximum-likelihood alignment to update _τj_ <sup>estim</sup> and _δ_ estim _j_ . (c) Reconstruct _F_ <sup>ˆ</sup> <sup>estim</sup> using _τj_ <sup>estim</sup> and _δ_ estim _j_ . (d) Use maximum-entropy alignment to update _τj_ <sup>estim</sup> and _δ_ _j_ (d) Use maximum-entropy alignment to update _τj_ <sup>estim</sup> estim _j_ . Note that, each time we update the displacements _δ_ empir _j_ and _δ_ estim _j_, we bound the maximum permitted displacement magnitude by _δ_ max (typically _δ_ max _∼_ 0 _._ 1 in our dimensionless units). In our studies with small amounts of moderately noisy experimental data, we have observed that the EMPM strategy is more effective than Bayesian inference or maximum-likelihood alignment alone - even with probabilistic alignment where a distribution of viewing angles is assigned to each image. Roughly speaking, we believe this is due the fact that the incorrect viewing angles assigned in the maximumentropy step are washed out by destructive interference, while the correctly assigned ones reinforce the true structure. One simple model problem which illustrates these points is discussed in the Supporting Information (see sections B and C). It is worth repeating, however, that we only propose this approach for obtaining a low-resolution initial guess. Existing refinement methods are still crucial for high resolution. Note that, each time we update the displacements _δ_ empir _j_ and _δ_ Once we have run our EMPM algorithm, we have the estimated volume _F_ <sup>ˆ</sup> <sup>estim</sup> ( _k_ ) as output. Using _F_ <sup>ˆ</sup> <sup>estim</sup> ( _k_ ) as an approximation of _F_ <sup>ˆ</sup> ( _k_ ), we can readily compute other quantities that may be of interest, such as estimates of the true viewing angle distribution in the data set and other types of correlations. We will use these quantities in our numerical experiments below to compare the results of EMPM to other methods, such as Relion’s de-novo molecular reconstruction and full Bayesian inference. 2.1 Templates, correlations, and ranks For each centered molecular reconstruction _F_ <sup>ˆ</sup>, and set of Euler angles _τ_ = ( _α, β, γ_ ), we define the inner product _X_ and normalized inner product _X_ <sup>ˆ</sup> of the reconstruction with the “ground-truth” model _F_ <sup>ˆ</sup> <sup>true</sup> by _X_ ( _τ_ ; _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> _X_ ˆ( _τ_ ; _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> true) = _⟨R_ ( _τ_ ) _◦_ _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> _<u>X</u>_ <u>(</u> _<u>τ</u>_ <u>;</u> _<u>F,</u>_ <sup>ˆ</sup> _<u>F</u>_ <sup>ˆ</sup> <sup>true</sup> <u>)</u> true) = _∥F_ <sup>ˆ</sup> _∥· ∥F_ <sup>ˆ</sup> <sup>true</sup> _∥_ true _⟩_ (1) _._ (2) Here ( _α, β_ ) denotes the viewing angle of an image with _α_ the azimuthal angle and _β_ the polar angle. _γ_ is the final in-plane rotation (see section A.6). _R_ ( _τ_ ) _◦_ _F_ <sup>ˆ</sup> is the volume obtained from _F_ <sup>ˆ</sup> using the rotation (the element of _SO_ (3)) defined by _τ_ . We define the volumetric correlation _Z_ ( _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> <sup>true</sup> ) by _Z_ ( _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> true). (3) true) = max _τ_ true) = max _X_ ˆ( _τ_ ; _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> This measurement _Z_ ( _F,_ <sup>ˆ</sup> _F_ <sup>ˆ</sup> <sup>true</sup> ) represents the optimal correlation (over all alignments) between the two volumes _F_ <sup>ˆ</sup> and _F_ <sup>ˆ</sup> <sup>true</sup> . In order to compare our results with Relion’s de-novo reconstruction, we will also need to calculate the ‘masked’ correlation _Z_ <sup>mask</sup> ( _F, F_ <sup>true</sup> ), defined as: true _⟩_ (4) _X_ _X_ ˆ mask( _τ_ ; _F, F_ mask( _τ_ ; _F, F_ true) = _⟨R_ ( _τ_ ) _◦_ _F_ _· G, F_ _<u>X</u>_ <sup>mask</sup> <u>(</u> _<u>τ</u>_ <u>;</u> _<u>F, F</u>_ <sup>true</sup> <u>)</u> true) = (5) _∥F_ _· G∥· ∥F_ <sup>true</sup> _∥_ _<u>X</u>_ <sup>mask</sup> <u>(</u> _<u>τ</u>_ <u>;</u> _<u>F, F</u>_ <sup>true</sup> <u>)</u> true) = mask( _τ_ ; _F, F_ _X_ ˆ true), (6) _Z_ mask( _F, F_ true) = max _τ_ true) = max where _G_ is a sharp spherical mask (i.e., the indicator-function of a ball centered at the origin) with a radius determined by the support of _F_ <sup>true</sup> . 5 We will also need to define inner products and correlations of single images and volumetric slices. For this, given a Fourier space volume _F_ <sup>ˆ</sup>, we generate noiseless 2D projections (in the Fourier domain) that incorporate the CTF, which we refer to as _templates_ . We denote these by _S_ <sup>ˆ</sup> ( _τ,_ _δ_ ; _CTF_ ; _F_ <sup>ˆ</sup> ), where _τ_ is the specific set of Euler angles and _δ_ is the displacement. When assuming the displacement is zero, we will write these templates as _S_ <sup>ˆ</sup> ( _τ_ ; _CTF_ ; _F_ <sup>ˆ</sup> ), Formally, we have ( _k_ ). (7) _S_ ˆ( _τ_ ; _CTF_ ; _F_ ˆ) := _CTF_ ( _k_ ) _⊙_ - _Sl_ ˆ _◦R_ ( _τ_ ) _◦_ _F_ ˆ where _CTF_ ( _k_ ) is the given pointwise value of the CTF in Fourier space and _Sl_ <sup>ˆ</sup> denotes taking the equatorial slice in the Fourier domain. These CTF-modulated templates are used to calculate the inner products: _X_ ( _τ,_ _δ_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) = _⟨_ _S_ <sup>ˆ</sup> ( _τ_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) _,_ _T_ ( _−_ _δ_ _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> _j_ _⟩_, (8) where _T_ (+ _δ_ _,_ _k_ ) = _e_ <sup>_i_</sup> <sup>_δ_</sup> <sup>_·_</sup> <sup>_k_</sup> is the Fourier signature of displacement by the vector _δ_ . These are used, in turn, to calculate the correlations: _<u>X</u>_ <u>(</u> _<u>τ,</u>_ _<u>δ</u>_ <u>;</u> _<u>A</u>_ <sup>ˆ</sup> _<u>j</u>_ <u>;</u> _<u>CTFj</u>_ <u>;</u> _<u>F</u>_ <sup>ˆ</sup> <u>)</u> _X_ ˆ( _τ,_ _δ_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) = _∥S_ <sup>ˆ</sup> ( _τ_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) _∥· ∥A_ <sup>ˆ</sup> _j∥_ . For convenience, we generally reduce this to a function of the viewing direction _k_ <sup>ˆ</sup> = ( _α, β_ ), the first two components of _τ_, alone: _Z_ ( _α, β_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) = max _γ,_ _δ_ _X_ ˆ( _τ,_ _δ_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ). (9) The parameters _γ_ and _δ_ are associated with a particular choice of _α_ and _β_ implicitly through the arg max. When the context is clear, we will often abuse notation and refer to the correlations in (9) by _Z_ ( _α, β_ ; _A_ <sup>ˆ</sup> _j_ ). Finally, for each image _A_ <sup>ˆ</sup> _j_ and a set of _NS_ templates defined by the viewing directions ( _αl, βl_ ) _,_ _l_ = 1 _, . . ., NS_, we can order the values _Z_ ( _αl, βl_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) _,_ _l_ = 1 _, . . ., NS._ (10) This yields what we will refer to as the _template_ _rank_ for the image. Conversely, for each template defined by ( _αl, βl_ ), one can order the values _Z_ ( _αl, βl_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> ) _,_ _j_ = 1 _, . . ., NA._ (11) This defines the _image rank_ for that template. Using the terminology of linear algebra, we can define the _NS_ _× NA_ matrix _Z_ with _Zlj_ = _Z_ ( _αl, βl_ ; _A_ <sup>ˆ</sup> _j_ ) _._ Template-ranking then corresponds to sorting the rows of _Z_ while image-ranking corresponds to sorting the columns. #### 3 Results We will consider a number of examples in this paper, drawn from the electron-microscopy image archive (EMPIAR) - namely, _trpv1_, the capsaicin receptor (the transient receptor potential cation channel subfamily V member 1) [EMPIAR-10005, emd-5778], _rib80s_, the Plasmodium falciparum 80S ribosome bound to emetine [EMPIAR-10028, emd-2660], _ISWINCP_, the ISWI-nucleosome complex [EMPIAR-10482, emd-9718], _ps1_, the pre-catalytic spliceosome [EMPIAR-10180], _MlaFEDB_, a 6 bacterial phospholipid transporter [EMPIAR-10536, emd-22116], _LetB1_, the lipophilic envelopespanning tunnel B protein from E. coli [EMPIAR-10350, emd-20993], _TMEM16F_, a Calciumactivated lipid scramblase and ion channel in digitonin with calcium bound [EMPIAR-10278, emd20244], and _LSUbl16dep_, L17-Depleted 50S Ribosomal Intermediates, using an average of the published major classes as a reference [EMPIAR-10076]. To limit the number of picked particles, we carry out our numerical experiments on subsets of _NA_ = 1024 images, spanning a small number _N_ CTF of micrographs. We set _K_ = 48 as the bandlimit for our low-resolution reconstruction, corresponding to a ‘best’ possible resolution of about 20 <sup>˚</sup> A. With these image pools, we construct a variety of different ‘reference volumes’ for _F_ <sup>ˆ</sup> ( _k_ ). Ground truth: First, we center and restrict the published volume to the band-limit _K_ . This defines our ‘ground truth’ volume _F_ <sup>ˆ</sup> <sup>true</sup> ( _k_ ). Oracle: Next, we measure the correlations _Z_ ( _τ_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> <sup>true</sup> ) for a sufficiently sampled set of Euler angles _τ_ and displacements and use maximum-likelihood to align the images to _F_ <sup>ˆ</sup> <sup>true</sup> ( _k_ ). This assigns ‘ground-truth’ viewing angles _τj_ <sup>true</sup> and displacements _δ_ true _j_ to each image. More precisely, we start by calculating _Z_ using a small displacement disc of _δ_ local = 0 _._ 03, and then iterate multiple times, with _δ_ max = 0 _._ 25 until the correlation between the reconstructed and true volumes plateaus (this usually takes less than 8 iterations). We then take the final viewing angles and displacements to define _τj_ <sup>true</sup> and _δ_ true _j_ . Given these ground-truth-based viewing angles and displacements, we use a least-squares reconstruction to compute _F_ <sup>ˆ</sup> <sup>Oracle</sup> ( _k_ ). _j_ <sup>true</sup> and displacements _δ_ _j_ <sup>true</sup> and _δ_ Oracle-AM (OAM): Starting with the ground-truth viewing angles and displacements, as well as _F_ ˆ <sup>Oracle</sup> ( _k_ ), we apply standard AM, iterating until the resulting volume converges (this, again, usually requires less than 8 iterations). We define this final volume to be _F_ <sup>ˆ</sup> <sup>OAM</sup> ( _k_ ). We expect the volume _F_ <sup>ˆ</sup> <sup>OAM</sup> to be close to the best reconstruction one could realistically achieve with standard AM. Oracle-Bayesian (OBI): Next, we apply Bayesian inference reconstruction (as described in [7, 11]). This reconstruction depends on (i) the initial starting volume, (ii) the estimated noise level _σ_ BI, (iii) the resolution _K_ and range of displacements _δ_ max considered, and (iv) the error tolerance used when calculating the integrals required for estimating the posterior described in [7]. We fix _K_ = 48 and _δ_ max = 0 _._ 10 and set the error tolerance to the same value used in the rest of our numerical experiments (typically _ϵ_ tol = 0 _._ 01). To create a reference volume associated with the ground truth, we use _F_ <sup>ˆ</sup> <sup>true</sup> as the initial starting volume. The resulting volume denoted by _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ ; _σ_ BI) - will depend on the noise-estimate _σ_ BI. Note that, when _σ_ BI _→_ 0 we will have _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ ; _σ_ BI) _→_ _F_ <sup>ˆ</sup> <sup>OAM</sup> ( _k_ ), and when _σ_ BI _→∞_ we will have _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ ; _σ_ BI) converge to a spherically-symmetric distribution. In our experience the quality of the reconstructed volume depends quite sensitively on the choice of _σ_ BI. To build a good noise-estimate, we scan over several values of log( _σ_ BI) _∈_ [ _−_ 5 _, . . .,_ 0], choosing the _σ_ BI for which _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ ; _σ_ BI) has the highest correlation with _F_ <sup>ˆ</sup> <sup>true</sup> after the first iteration. Fixing _σ_ BI <sup>opt</sup> <sup>to</sup> <sup>be</sup> <sup>this</sup> <sup>optimal</sup> <sup>value,</sup> we define _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ ) := _F_ <sup>ˆ</sup> <sup>OBI</sup> ( _k_ _, σ_ BI <sup>opt)</sup> <sup>after</sup> <sup>iterating</sup> <sup>to</sup> <sup>convergence.</sup> <sup>Thus,</sup> <sup>_F_</sup> <sup>ˆ OBI</sup> <sup>is</sup> <sup>close</sup> <sup>to</sup> <sup>the</sup> best reconstruction possible using Bayesian inference, assuming that the optimal estimated noise-level _σ_ BI is known ahead of time. In addition to the above reference volumes, we also create several de-novo molecular reconstructions. RDN and EMPM below are oracle-free, while for Bayesian inference we use the optimal noise level estimate _σ_ BI <sup>opt</sup> <sup>from</sup> <sup>above.</sup> Bayesian Inference (BI): We run the Bayesian inference reconstruction described in [7, 11] to produce _F_ <sup>ˆ</sup> <sup>BI</sup> ( _k_ ). As mentioned above, this reconstruction depends on (i) the initial starting volume, (ii) the estimated noise-level _σ_ BI, (iii) the resolution _K_ and the range of displacements _δ_ max considered, (iv) the error-tolerance used when computing the integrals in the posterior, 7 and (v) the number of iterations applied. We fix the noise level _σ_ BI <sup>opt</sup> <sup>to</sup> <sup>be</sup> <sup>the</sup> <sup>value</sup> <sup>obtained</sup> in the Oracle-Bayesian method above. We fix the resolution at _K_ = 48, set _δ_ max = 0 _._ 10, set the error-tolerance to the same _ϵ_ tol used in the other methods, and set the number of iterations at 16. For the initial starting volume we assign each of the available images a viewing angle randomly and uniformly, and then use a least-squares reconstruction to generate a ‘random’ initial starting volume. While random, this starting volume has roughly the same diameter and bandwidth as the true molecule. We use the same procedure when initializing our strategy below. DRG: We run the open-source neural-network-based algorithm cryoDRGN described in [8], with the suggested default parameters for _ab_ _initio_ reconstruction. ASP: We run the open-source software package ASPIRE [9], which uses a common-lines-based algorithm, with the suggested default parameters for _ab_ _initio_ reconstruction. RDN: We run Relion’s de-novo molecular reconstruction algorithm (RDN) - a variant of Bayesian inference - to produce _F_ <sup>ˆ</sup> <sup>RDN</sup> . (For speed, RDN uses only subsets of images in its internal iterations.) We use the parameters listed in section D in the Supporting Information. We set the parameter `--particle` ~~`d`~~ `iameter` to be commensurate with the true molecular diameter, rounded up to the nearest 50 <sup>˚</sup> A. EMPM: We carry out the reconstruction using the strategy described in the Methods section above, and discussed in more detail in the Supporting Information to produce _F_ <sup>ˆ</sup> <sup>EMPM</sup> ( _k_ ). In addition to setting the maximum frequency _K_ and displacement _δ_ local, many of the computed quantities require a numerical tolerance _ϵ_ tol (see section A). We fix _K_ = 48, and scan over _ϵ_ tol _∈_ [0 _._ 001 _,_ 0 _._ 010] and _δ_ local _∈_ [0 _._ 01 _,_ 0 _._ 10]. Our strategy begins with the same random initial viewing-angles for each image as used for Bayesian inference. As we shall see below (see, e.g., Fig. 3), our results are quite robust, provided that _ϵ_ tol _≤_ 0 _._ 01 and _δ_ local _≥_ 0 _._ 01 or so. For _trpv1_, as well as _rib80s_ and _ISWINCP_, the data sets are quite clean. The first _NA_ = 1024 picked-particle images are well-centered, devoid of clutter and of high quality. Consequently, many of the reconstructions we attempted were successful and RDN reconstruction was also able to achieve _Z_ <sup>mask</sup> _>_ 0 _._ 5. For _ps1,_ _LSUbl16dep,_ _MlaFEDB,_ _LetB1_, and _TMEM16F_, however, the individual images are not quite as clean. In the case of _ps1_ and _TMEM16F_, many of the images are particularly noisy. For _LSubl16dep_ (and to a lesser extent _ps1_ ), a notable fraction of the images are poorly centered. For _MlaFEDB_ (and to a lesser extent _TMEM16F_ ), many of the images appear to contain fragments of other particles. For _LetB1_, the viewing-angle distribution for the images is highly concentrated around the equator. Our reconstructions for these molecules are not as successful. Nevertheless, we still recover volumes that are comparable in quality to Bayesian inference with an optimal estimated noise-level, and usually better than RDN reconstruction (all at a fraction of the computational time). Results for four molecules are shown in Fig. 1. Focusing on _trpv1_ for the moment, we see that _F_ ˆ <sup>EMPM</sup> captures the coarse features of _F_ ˆ <sup>true</sup>, and is not too different from _F_ ˆ <sup>OAM</sup> in terms of overall quality. Even though _F_ <sup>ˆ</sup> <sup>EMPM</sup> is a coarse estimate of _F_ <sup>ˆ</sup> <sup>true</sup>, the reconstruction process has recovered a significant amount of information regarding the viewing-angles of each image. To illustrate this point, we compare the image-template correlations (see Eq. 9) estimated from _F_ <sup>ˆ</sup> <sup>EMPM</sup> with the ‘groundtruth’ image-template correlations measured from _F_ <sup>ˆ</sup> <sup>true</sup> . For each molecule of interest, three panels are presented in Fig. 2. The left-most subplot is a scatterplot of the image-template correlations. That is, for each image _A_ <sup>ˆ</sup> _j_ and each template ( _αl, βl_ ), we compute a point in two-dimensions with coordinates ( _Z_ ( _αl, βl_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> EMPM) _, Z_ ( _αl, βl_ ; _A_ ˆ _j_ ; _CTFj_ ; _F_ ˆ true)) _._ With _NA_ = 1024 images and _NT_ = 993 templates, this yields a data set with about one million points. The color in the heatmap corresponds to the log-density of the joint-distribution at that location (see adjacent colorbar). Note that there is a significant correlation between the estimated 8 Figure 1: In this figure, we plot level sets from the volumes _F_ <sup>ˆ</sup> <sup>true</sup>, _F_ <sup>ˆ</sup> <sup>Oracle</sup>, _F_ <sup>ˆ</sup> <sup>OAM</sup>, and _F_ <sup>ˆ</sup> <sup>OBI</sup>, as well as one of the _F_ <sup>ˆ</sup> <sup>EMPM</sup> reconstructions (left to right, respectively). From the top down, the panels correspond to _trpv1_, _rib80s_, _ISWINCP_ and _ps1_ . 9 trpv1 rib80s ISWINCP ps1 Figure 2: In this figure we illustrate the correspondence between estimated and ground-truth viewing angles for the reconstructions shown in Fig 1. Three panels are shown for each molecule of interest. The left-most subplot is a scatterplot of the image-template correlations. The middle subplot is a scatterplot of the template ranks aggregated over all images, and the right-most subplot is a scatterplot of the image ranks aggregated over all templates. All are presented as heatmaps, with color corresponding to the log-density of the joint-distribution. (See text for further explanation.) and ground-truth-image-template-correlations. In the middle subplot for each molecule, we show a scatterplot of the template ranks for each image (see (10)), rescaled to [0 _,_ 1] and aggregated over all images. In the right-most subplot, we show a scatterplot of the image ranks for each template (see (11)), rescaled to [0 _,_ 1] and aggregated over all templates. Once again, the scatterplots are presented as heatmaps, with color corresponding to log-density. This view of the data sheds light on the differences between maximum-likelihood and maximumentropy alignment. Recall that, in standard maximum-likelihood alignment, one assigns _τj_ <sup>est</sup> (for a particular image _A_ <sup>ˆ</sup> _j_ ) to the template with the highest template rank. By contrast, in maximumentropy alignment, one does the reverse: assigning the image with highest image rank to each sampled template direction. It is interesting to note that the estimated and ground-truth image ranks are typically more tightly correlated than the estimated and ground-truth template ranks. We believe that this phenomenon contributes to the success of our strategy. Indeed, when the estimated and ground-truth template ranks are highly correlated (as for _ISWINCP_ ), the maximum-likelihood alternating minimization method (i.e., Bayesian inference with noise-level 0) succeeds, performing roughly as well as our strategy. However, when the estimated and ground-truth template ranks are poorly correlated (as for _ps1_ ), then maximum-likelihoood alternating minimization does very poorly, often converging to a volume that is worse than random. The illustrations in Figs. 1 and 2 are obtained using just one trial of _F_ <sup>ˆ</sup> <sup>EMPM</sup> . We have carried out extensive simulations and these results are fairly typical, with qualitatively similar results with repeated runs. For illustration, we show the values of the volumetric correlations collected over multiple trials in Fig. 3. The values of _Z_ <sup>mask</sup> ( _F_ <sup>ˆ</sup> <sup>EMPM</sup> _,_ _F_ <sup>ˆ</sup> <sup>true</sup> ) shown in magenta are taken over a range of values of _ϵ_ tol _∈_ [0 _._ 001 _,_ 0 _._ 010], and _δ_ local _∈_ [0 _._ 01 _,_ 0 _._ 10]. We did not see a large correlation between either _ϵ_ tol or _δ_ local and _Z_ <sup>mask</sup>, provided that _ϵ_ tol is sufficiently small and _δ_ local is sufficiently large (i.e., _ϵ_ tol _≤_ 0 _._ 01 and _δ_ local _≥_ 0 _._ 01). Note that, for these data sets, our strategy reliably produces reconstructions that are similar in quality to _F_ <sup>ˆ</sup> <sup>OAM</sup>, and superior to the results obtained with existing open-source packages (DRG, ASP, RDN). Finally, we remark that a higher-quality lowresolution reconstruction can help improve the results of subsequent refinement. As an example, we use Relion’s `relion` ~~`r`~~ `efine` to produce a medium-resolution reconstruction from the first 8192 images of this dataset using two different initial-volumes. First, we set the initial volume to Relion’s 10 de-novo reconstruction _F_ <sup>ˆ</sup> <sup>RDN</sup> (referenced in blue in Fig. 3). Second, we set the initial volume to the EMPM reconstruction _F_ <sup>ˆ</sup> <sup>EMPM</sup> shown in Fig. 1. Fig. 4 illustrates the Fourier shell correlations (FSCs) between the resulting medium-resolution reconstructions and the published _F_ <sup>ˆ</sup> <sup>true</sup> . Note that the higher-quality initial volume _F_ <sup>ˆ</sup> <sup>EMPM</sup> results in a better medium-resolution reconstruction. Moreover, as we shall discuss below, better low-resolution reconstructions can be useful for other quality-control tasks in the cryo-EM pipeline. We have focused here on a subset of the proteins listed above. Addition results are deferred to the Supporting material. Remark 2 _Of_ _note_ _is_ _that_ _the_ _EMPM_ _method_ _works_ _reasonably_ _well_ _even_ _when_ _the_ _particle_ _orien-_ _tations_ _are_ _highly_ _non-uniform_ _(see_ _Fig._ _15)._ _One_ _might_ _expect_ _that_ _the_ _entropy-maximization_ _step_ _(which_ _forces_ _images_ _to_ _be_ _assigned_ _to_ _each_ _viewing_ _angle)_ _would_ _cause_ _difficulties._ _For_ _de_ _novo_ _low-_ _to_ _moderate-resolution_ _reconstructions,_ _however,_ _it_ _appears_ _that_ _EMPM_ _benefits_ _from_ _the_ _prevention_ _of_ _spurious_ _clustering_ _that_ _can_ _develop_ _in_ _pure_ _AM_ _iteration._ _At_ _higher_ _resolution,_ _we_ _do_ _not_ _recom-_ _mend_ _the_ _use_ _of_ _EMPM,_ _as_ _the_ _entropy-maximization_ _step_ _would_ _result_ _in_ _a_ _loss_ _of_ _resolution_ _and_ _is_ _no_ _longer_ _necessary_ _once_ _a_ _good_ _initial_ _model_ _has_ _been_ _created._ Remark 3 _We have implemented our strategy in Matlab, using standard (double precision) libraries._ _Even_ _for_ _our_ _relatively_ _naive_ _implementation,_ _the_ _total_ _computation_ _time_ _for_ _each_ _of_ _our_ _trials_ _is_ 30 _−_ 50 _minutes_ _on_ _a_ _desktop_ _workstation._ _By_ _comparison,_ _the_ _de-novo_ _reconstruction_ _method_ _within_ _Relion_ _typically_ _requires_ 20 _−_ 25 _hours_ _on_ _the_ _same_ _machine,_ _while_ _a_ _trial_ _of_ _Bayesian_ _inference_ _(also_ _in_ _Matlab)_ _requires_ 36 _−_ 48 _hours._ _It_ _is_ _also_ _worth_ _noting_ _that,_ _when_ _constructing_ _F_ <sup>ˆ</sup> <sup>_BI_</sup> _,_ _we_ _chose_ _the_ _optimal_ _noise-estimate_ _σBI_ <sup>_opt._</sup> <sup>_Scanning_</sup> <sup>_over_</sup> <sup>_multiple_</sup> <sup>_values_</sup> <sup>_of_</sup> <sup>_σBI_</sup> <sup>_would_</sup> <sup>_require_</sup> <sup>_additional_</sup> _computation time._ _In summary, we believe that our strategy has the potential to be extremely efficient,_ _especially_ _when_ _properly_ _optimized._ 3.1 On-the-fly particle rejection Focusing on the _ps1_ data set, we now consider whether our algorithm can be used to curate particles from small samples. As shown in Figs. 2 and 11, the estimated image-template correlations _Z_ ( _α, β_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> <sup>EMPM</sup> ) are often quite strongly correlated with the true image-template correlations _Z_ ( _α, β_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> <sup>true</sup> ). Motivated by this observation, we define: _Z_ ( _αt, βt_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> _t_ true) EMPM _j_ = max EMPM) _,_ _Q_ true _j_ = max _Q_ _Z_ ( _αt, βt_ ; _A_ <sup>ˆ</sup> _j_ ; _CTFj_ ; _F_ <sup>ˆ</sup> _t_ to be the maximum image-template correlation for each image. We can use _Q_ <sup>EMPM</sup> _j_ as a proxy for the ‘true image-quality’ _Q_ <sup>true</sup> _j_ . We see from Figs. 2 and 11 that _Qj_ typically lies in the interval [0 _._ 1 _,_ 0 _._ 4]. It is reasonable to conjecture that those images with a low estimated quality do not align well to the reconstructed molecule and could be discarded when attempting to reconstruct the molecule. To investigate this hypothesis, we perform a numerical experiment with the first 1024 _·_ 8 = 8192 images in the EMPIAR data set, dividing these images into 8 batches of _NA_ = 1024. For each batch we produce a reconstruction, using our strategy above. The _Z_ <sup>mask</sup> for these single-batch runs are shown as magenta-dots in the ‘IND’ column of Fig. 5. The average _Z_ <sup>mask</sup> for these single-batch runs is _∼_ 0 _._ 67 (magenta line), with relatively little variation. Next, we use the estimated image-quality _Qj_ to sort the images into octiles (each with 1024 images). Those with the lowest quality scores define the first octile and those with the highest quality scores define the eighth octile. We now perform a reconstruction for each octile separately, with the _Z_ <sup>mask</sup> shown in light-pink-dots. Note that the first few octiles produce reconstructions that are quite a bit worse than the typical reconstructions shown in the 1K column. It is interesting to note that, for this image pool, using exclusively the highest quality octile results in a poor reconstruction, since the highest quality images are concentrated around a small subset of viewingangles. The result obtained using all _NA_ = 8192 images together is shown as the dark-purple dot 11 ps1 Figure 3: In this figure we illustrate the aligned correlation _Z_ <sup>mask</sup> between our various reconstructions and the ground-truth for _trpv1,_ _rib80s,_ _ISWINCP_, and _ps1_ (see text). The different horizontal bars indicate the values of _Z_ <sup>mask</sup> for different reconstruction strategies (coded by color) with different trials from the same strategy adjacent to one another (sorted by _Z_ <sup>mask</sup> ). At the top of each panel (centered) is the “Oracle” low resolution reconstruction for the indicated molecule. To the right in each panel, we show an EMPM reconstruction and to the left, we show a reconstruction obtained using one of the other pipelines which achieves poorer correlation scores. Note that the _Z_ <sup>mask</sup> values do tend to correlate with the image reconstruction quality. _trpv1_ has a highly non-uniform distribution of ground-truth Euler angles. The distributions in the other cases are more uniform. (See Fig. 15.) 12 Figure 4: In this figure we show the Fourier shell correlation (FSC) associated with a mediumresolution reconstructions produced using Relion’s `relion` ~~`r`~~ `efine` applied to the first _NA_ = 8192 images from the _trpv1_ dataset (i.e., the first _NA_ picked-particles from the `MRC` ~~`1`~~ `901` file). We run this reconstruction twice: once using as initial volume the RDN reconstruction _F_ <sup>ˆ</sup> <sup>RDN</sup> obtained using the first 1024 images and once using as initial volume the EMPM reconstruction _F_ <sup>ˆ</sup> <sup>EMPM</sup> . We plot the FSC curve obtained by comparing the reconstructed volume with the published ground-truth _F_ ˆ <sup>true</sup> . The blue (lower) curve is from the RDN initialization and the magenta (higher) curve is from the EMPM initialization. 13 in the ‘1st’ column. We then show successive reconstructions using different quality cut-offs. Using the top seven octiles (7168 images), we obtain the improved _Z_ <sup>mask</sup> shown as a dark-purple dot in the ‘2nd’ column. Using the top six octiles, we get the dark purple dot in the ‘3rd’ column, and so forth. In short, excluding the worst images improves the reconstruction quality, but excluding _too_ _many_ images causes the quality to drop, presumably as a result of losing the coverage from noisier projection directions. 3.2 Molecules with poor performance on small data sets While our results can be considered moderately successful for many of the molecules, our reconstructions for _LetB1_, _LSUbl17dep_ and _MlaFEDB_ using 1024 particles are typically quite mediocre. For _LetB1_ and _LSUbl17dep_, different runs of EMPM yielded reconstructions that were quite variable. We suspect that this inconsistency stems from some underlying heterogeneity in the data set itself (see [12]). For _MlaFEDB_, on the other hand, different trials of EMPM yielded reconstructions _F_ ˆ <sup>EMPM</sup> that were not close to _F_ ˆ <sup>true</sup>, but were often quite close to one another. This consistency across trials suggests that the structures observed in the typical reconstruction might actually exist in the image pool we are using. A recurring motif in the reconstructions is that of a cylindrical shape with a disjoint structure off to one side. In this case, we suspect that the image pool contains artifacts that are at least partially responsible for the mediocre performance of EMPM (as well as BI, RDN, DRG, ASP) for this molecule. #### 4 Discussion As demonstrated above, the EMPM iteration (a modification of alternating-minimization) can produce a reasonable low-resolution reconstruction from a small set of raw images. As seen in Figs. 3 and 12, it is more robust than many of the currently used de-novo molecular reconstruction techniques, and at least as accurate as Bayesian inference with an optimally chosen estimated noise level. We did not make an exhaustive comparison with all available packages, since our main purpose here is to provide a new approach which is _only_ _relevant_ _in_ _the_ _low_ _resolution_ _regime_ . We believe that the maximum entropy step of EMPM accounts for its success, effectively preventing spurious clustering of assigned viewing-angles. It should also be noted that the principal mode reduction described here can be used to accelerate image alignment and volume registration in more sophisticated and higher resolution reconstruction algorithms. EMPM also produces useful estimates of image quality and viewing angle distribution - even when the image pool only contains a few thousand images. These estimates could play a role in online quality-control: identifying poor images to be discarded or possibly terminating imaging sessions that seem to be yielding poor quality data. Because EMPM is efficient (our MATLAB implementation requires less than 5% of the computation time of RDN and Bayesian inference), it should make cross-validation more compelling. Our reconstruction requires about 40 min., RDN requires about 20 hrs, full Bayesian inference requires 40 hrs, cryoDRGN requires 5 hrs and Aspire (the fastest) requires 15 min. (all on the same laptop). Strong correlation between volumes reconstructed from different subsets of images can reasonably be interpreted as an indication that the data set is of high quality. On a more speculative note, the image curation presented here uses only image-template correlations. It is possible that image cross-correlations and the cross-correlations of the residuals of the least-squares reconstruction step could also be valuable in settings involving discrete or continuous heterogeneity. Because EMPM does not require any fine-tuning of parameters, it should be straightforward to incorporate into existing, widely-used, high-quality software pipelines and we hope to do so in the near future. The code is available from [13]. 14 Reconstruction from curated image pools Top 6 octiles Top 7 octiles All octiles Top 2 octiles Highest quality octile Lowest quality octile Independent batches #### IND Figure 5: In this figure we illustrate the potential for improving reconstruction quality by curating the image-pool. For this example we use the _ps1_ molecule, and consider the first 1024 _·_ 8 = 8192 images. First we divide these images into batches of _NA_ = 1024, and produce multiple reconstructions (magenta, leftmost column). The average _Z_ <sup>mask</sup> for these reconstructions is _∼_ 0 _._ 67 (magenta line). Next, we use the individual estimates of image-quality (see text) to divide the images into 8 ‘octiles’. We perform a reconstruction using the images within each octile (light-pink). Note that those images of poorest quality (i.e., in the first few octiles) produce an inferior reconstruction. For this image-pool the images with the very best quality (i.e., in the final octile) tend to be attributed to a small subset of viewing-angles; a reconstruction using only those images is also of rather poor quality. We then perform a reconstruction using all the images _except_ those below a particular octile (dark purple). Thus, the reconstruction using all 8192 images is shown in dark-purple within the ‘1st’ column. The reconstruction using the 8192 _−_ 1024 = 7168 images which exclude those in the first octile is shown in dark-purple within the ‘2nd’ column. Note that excluding the worst images improves the reconstruction-quality. As the number of excluded images grows the number of images used for the reconstruction shrinks; the dark-purple circles are not much higher than the light-pink circles when the octile-index is large. 15 #### References [1] Jacqueline L S Milne, Mario J. Borgnia, Alberto Bartesaghi, Erin E H Tran, Lesley A. Earl, David M. Schauder, Jeffrey Lengyel, Jason Pierson, Ardan Patwardhan, and Sriram Subramaniam. Cryo-electron microscopy - A primer for the non-microscopist. _FEBS_ _Journal_, 280:28–45, 2013. [2] Yifan Cheng, Nikolaus Grigorieff, Pawel A. Penczek, and Thomas Walz. A primer to single particle cryo-electron microscopy. _Cell_, 161:439–449, 2015. [3] C. L. Epstein. _Introduction_ _to_ _the_ _Mathematics_ _of_ _Medical_ _Imaging_ . SIAM, 2008. [4] F. Natterer. _The_ _Mathematics_ _of_ _Computerized_ _Tomography_ . SIAM, 2001. [5] Dari Kimanius, Bjorn O Forsberg, Sjors HW Scheres, and Erik Lindehl. Accelerated cryo-EM structure determination with parallelisation using GPUs in RELION-2. _eLife_, 5:e18722, 2016. [6] D. Kimanius, L. Dong, G. Sharov, T. Nakane, and Scheres S.H.W. New tools for automated cryo-em single-particle analysis in relion-4.0. _Biochem_, 478:4169–4185, 2021. [7] Sjors H W Scheres. A Bayesian view on cryo-EM structure determination. _J._ _Mol._ _Biol._, 415:406–418, 2012. [8] E.D. Zhong, T. Bepler, B. Berger, and J.H. Davis. Cryodrgn: reconstruction of heterogeneous cryo-em structures using neural networks. _Nature_ _Methods_, 18:176–185, 2021. [9] Aspire software, 2022. `http://spr.math.princeton.edu` . [10] A. Punjani, J.L. Rubinstein, D.J. Fleet, and M.A. Brubaker. cryoSPARC: algorithms for rapid unsupervised cryo-EM structure determination. _Nat._ _Methods_, 14:290–296, 2017. [11] Sjors H W Scheres. RELION: Implementation of a Bayesian approach to cryo-EM structure determination. _J._ _Struct._ _Biol._, 180(3):519–530, 2012. [12] J.H. Davis, Y.Z. Tan, B. Carragher, C.S. Potter, D. Lyumkis, and J.R. Williamson. Modular assembly of the bacterial large ribosomal subunit. _Cell_, 167:1610–1622, 2016. [13] EMPM software, 2023. `https://github.com/adirangan/dir` ~~`c`~~ `ryoem` . [14] R Bracewell. _The_ _Fourier_ _Transform_ _and_ _Its_ _Applications_ . McGraw-Hill, 3rd edition, 1999. [15] Zh. Zhao and A. Singer. Rotationally invariant image representation for viewing direction classification in cryo-EM. _J._ _Struct._ _Biol._, 186:153–166, 2014. [16] A. Barnett, L. Greengard, A. Pataki, and M. Spivak. Rapid solution of the cryo-EM recon struction problem by frequency marching. _SIAM_ _J._ _Imaging_ _Sci._, 10(3):1170–1195, 2017. [17] Aaditya Rangan, Marina Spivak, Joakim And´en, and Alex Barnett. Factorization of the trans lation kernel for fast rigid image alignment. _Inverse_ _Problems_, 36(2), 2020. [18] Zh. Zhao, Y. Shkolnisky, and A. Singer. Fast steerable principal component analysis. _IEEE_ _Trans._ _Comput._ _Imaging_, 2(1):1–12, 2016. [19] A H Barnett, J F Magland, and L af Klinteberg. A parallel non-uniform fast Fourier transform library based on an “exponential of semicircle” kernel, 2019. [20] F J Sigworth. A maximum-likelihood approach to single-particle image refinement. _J._ _Struct._ _Biol._, 122(3):328–39, 1998. 16 [21] S H W Scheres, M Valle, P Grob, E Nogales, and J.-M. Carazo. Maximum likelihood refinement of electron microscopy data with normalization errors. _J._ _Struct._ _Biol._, 166(2):234–240, 2009. [22] F. J. Sigworth, Doerschuk P.C., J.-M. Carazo, and S.H.W. Scheres. An introduction to maximum-likelihood methods in Cryo-EM. In _Methods_ _in_ _Enzymology._ _Cryo-EM,_ _Part_ _B:_ _3D_ _reconstruction_, pages 263–294. Academic Press., 2010. [23] Dmitry Lyumkis, Axel F. Brilot, Douglas L. Theobald, and Nikolaus Grigorieff. Likelihood based classification of cryo-EM images using FREALIGN. _J._ _Struct._ _Biol._, 183(3):377–388, 2013. [24] W. Baxter, R. Grassucci, Haixiao Gao, and J. Frank. Determination of signal-to-noise ratios and spectral snrs in cryo-em low-dose imaging of molecules. _Journal_ _of_ _structural_ _biology_, 166 2:126–32, 2009. [25] Aaditya V Rangan. Radial-recombination for rigid rotational alignment of images and volumes. _Inverse_ _Problems_ _(submitted)_, 2022. [26] Tamir Bendory, Ariel Jaffe, William Leeb, Nir Sharon, and Amit Singer. Super-resolution multi-reference alignment. _Information_ _and_ _Inference:_ _A_ _Journal_ _of_ _the_ _IMA_, 11(2):533–555, 02 2021. [27] Noam Janco and Tamir Bendory. An accelerated expectation-maximization algorithm for multi reference alignment. _IEEE_ _Transactions_ _on_ _Signal_ _Processing_, 70:3237–3248, 2022. [28] Amelia Perry, Jonathan Weed, Afonso S. Bandeira, Philippe Rigollet, and Amit Singer. The sample complexity of multireference alignment. _SIAM Journal on Mathematics of Data Science_, 1(3):497–517, 2019. 17 #### A Supporting Information Various aspects of the EMPM iteration are described here in greater detail. We begin with the discretization of images and volumes in the Fourier domain, and the techniques used for image alignment and volumetric reconstruction. Many of the techniques used require some specification of a ‘global tolerance’ _ϵ_ tol, which could be considered a user-specified parameter. In practice, it appears to be sufficient to set it to 10 <sup>_−_</sup> <sup>2</sup>, corresponding to two digits of accuracy. In our experiments, we actually scan over _ϵ_ tol _∈_ [0 _._ 001 _,_ 0 _._ 01] but find that the quality of the reconstruction does not improve markedly for smaller values of _ϵ_ tol. In short, EMPM is not limited by the global tolerance, but presumably by the experimental error and the structural features of the nonconvex landscape over which we are trying to optimize. A.1 Manipulating images in the Fourier domain We use _x_ _,_ _k_ _∈_ R <sup>2</sup> to represent spatial position and frequency, respectively. In polar-coordinates these vectors can be represented as: _x_ = ( _x_ cos _θ, x_ sin _θ_ ) (12) _k_ = ( _k_ cos _ψ, k_ sin _ψ_ ), (13) for appropriately chosen angles _θ_ and _ψ_ . Definition 1 _The_ _Fourier_ _transform_ _of_ _a_ _two-dimensional_ _function_ _A ∈_ _L_ <sup>2</sup> (R <sup>2</sup> ) _is_ _defined_ _as_ _A_ ˆ( _k_ ) := �� (14) R <sup>2</sup> <sup>_A_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)e</sup> <sup>_−_</sup> <sup>i</sup> <sup>_k_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_d_</sup> <sup>_x_</sup> <sup>_._</sup> We recover _A_ from _A_ <sup>ˆ</sup> using the inverse Fourier transform: <u>1</u> _A_ ( _x_ ) = (2 _π_ ) <sup>2</sup> �� R <sup>2</sup> _A_ ˆ( _k_ )e <sup>+i</sup> <sup>_k_</sup> <sup>_·_</sup> <sup>_x_</sup> _d_ _k_ . (15) The inner-product between two functions _A, B_ _∈_ _L_ <sup>2</sup> (R <sup>2</sup> ) is written as _⟨A, B⟩_ = �� R <sup>2</sup> <sup>_A_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_†B_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_d_</sup> <sup>_x_</sup> <sup>_,_</sup> (16) where _z_ <sup>_†_</sup> is the complex conjugate of _z_ _∈_ C. We will also use Plancherel’s theorem [14], <u>1</u> _⟨A, B⟩_ = (2 _π_ ) <sup>2</sup> <sup>_⟨A,_</sup> <sup>ˆ</sup> <sup>_B_</sup> <sup>ˆ</sup> <sup>_⟩_</sup> <sup>_,_</sup> _∀A, B_ _∈_ _L_ <sup>2</sup> (R <sup>2</sup> ) . (17) We will ignore the factors of 2 _π_ associated with the Fourier transform when they are not relevant. We represent any given picked-particle image as a function _A ∈_ _L_ <sup>2</sup> (R <sup>2</sup> ), with values corresponding to the image intensity at each location. As a consequence of Plancherel’s theorem, any inner-product between _A_ and another image (or 2D function) _B_ can be calculated in either real or frequency space, the latter of which is often more convenient when aligning images to projections of a volume [15, 16, 17]. Abusing notation slightly, we will refer to _A_ ( _k_ ) and _A_ <sup>ˆ</sup> ( _k_ ) in polar coordinates as: _A_ ( _x, θ_ ) := _A_ ( _x_ ) = _A_ ( _x_ cos _θ, x_ sin _θ_ ) (18) _A_ ˆ( _k, ψ_ ) := _A_ ˆ( _k_ ) = _A_ ˆ( _k_ cos _ψ, k_ sin _ψ_ ). (19) With this notation each _A_ <sup>ˆ</sup> ( _k, ψ_ ) for fixed _k_ and _ψ_ _∈_ [0 _,_ 2 _π_ ) corresponds to a ‘ring’ in frequency space with radius _k_ . 18 A.2 Rotation and translation Using the notation above, a rotation _R_ ( _γ_ ) of an image _A_ by angle _γ_ _∈_ [0 _,_ 2 _π_ ) can be represented as: _R_ ( _γ_ ) _◦_ _A_ ( _x, θ_ ) := _A_ ( _x, θ −_ _γ_ ). (20) Since rotation commutes with the Fourier transform, we have: [ _R_ �( _γ_ ) _◦_ _A_ ]( _k, ψ_ ) = _R_ ( _γ_ ) _◦_ _A_ <sup>ˆ</sup> ( _k, ψ_ ) = _A_ <sup>ˆ</sup> ( _k, ψ −_ _γ_ ). (21) In this manner, a rotation of any image by + _γ_ can be represented as an angular-shift of each image-ring by _ψ_ _→_ _ψ −_ _γ_ . Likewise, a translation _T_ ( _δ_ ) of an image _A_ by the shift vector _δ_ _∈_ R <sup>2</sup> can be represented as: _T_ ( _δ_ ) _◦_ _A_ ( _x_ ) := _A_ ( _x_ _−_ _δ_ ). (22) In the Fourier domain, this action can be expressed as _T_ - ( _δ_ _,_ _k_ ) _⊙_ _A_ ˆ( _k_ ), (23) where the translation kernel _T_ <sup>�</sup> ( _δ_ _,_ _k_ ) is _T_ - ( _δ_ _,_ _k_ ) := e <sup>_−_</sup> <sup>i</sup> <sup>_δ_</sup> <sup>_·_</sup> <sup>_k_</sup> . (24) A.3 Fourier-Bessel coefficients Over the course of our molecular reconstructions, we calculate many image-image inner products (see section 2.1). To ease the computational burden associated with these calculations, it is convenient to use the Fourier-Bessel basis [15, 18, 16, 17]. To define the Fourier-Bessel coefficients of an image, recall that each image-ring _A_ <sup>ˆ</sup> ( _k, ψ_ ) (for fixed _k_ ) is a 2 _π_ -periodic function of _ψ_, which can itself be represented as a Fourier series in _ψ_ : _A_ ˆ( _k, ψ_ ) = + _∞_ _q_ = _−∞_ _a_ ( _k_ ; _q_ )e <sup>i</sup> <sup>_qψ_</sup>, (25) for _q_ _∈_ Z. The Fourier-Bessel coefficients _a_ ( _k_ ; _q_ ) of the image ring _A_ <sup>ˆ</sup> ( _k, ψ_ ) are given by _a_ ( _k_ ; _q_ ) = <sup><u>1</u></sup> 2 _π_ - 2 _π_ _A_ ˆ( _k, ψ_ )e <sup>_−_</sup> <sup>i</sup> <sup>_qψ_</sup> _dψ_ _._ (26) 0 These coefficients can be represented in a more traditional fashion by recalling that the Bessel function _Jq_ ( _kx_ ) can be written as: _Jq_ ( _kx_ ) = <sup><u>1</u></sup> 2 _π_ - 2 _π_ e <sup>_−_</sup> <sup>i</sup> <sup>_kx_</sup> <sup>cos(</sup> <sup>_ψ_</sup> <sup>+</sup> <sup>_π/_</sup> <sup>2)</sup> <sup>_−_</sup> <sup>i</sup> <sup>_qψ_</sup> _dψ_ _,_ (27) 0 which, when combined with the definition of the Fourier transform, implies that: - 2 _π_ e <sup>_−_</sup> <sup>i</sup> <sup>_kx_</sup> <sup>cos(</sup> <sup>_ψ−θ_</sup> <sup>)</sup> <sup>_−_</sup> <sup>i</sup> <sup>_qψ_</sup> _dψ xdx dθ_ (28) 0 _a_ ( _k_ ; _q_ ) = = = �� _A_ ( _x, θ_ ) <sup><u>1</u></sup> 2 _π_ �� _A_ ( _x, θ_ )e <sup>_−_</sup> <sup>i</sup> <sup>_q_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>+</sup> <sup>_π/_</sup> <sup>2)</sup> _Jq_ ( _kx_ ) _xdx dθ_ _,_ (30) 19 �� _A_ ( _x, θ_ )e <sup>_−_</sup> <sup>i</sup> <sup>_q_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>+</sup> <sup>_π/_</sup> <sup>2)</sup> <sup><u>1</u></sup> 2 _π_ - 2 _π_ e <sup>_−_</sup> <sup>i</sup> <sup>_kx_</sup> <sup>cos(</sup> <sup>_ψ_</sup> <sup>+</sup> <sup>_π/_</sup> <sup>2)</sup> <sup>_−_</sup> <sup>i</sup> <sup>_qψ_</sup> _dψ xdx dθ_ (29) 0 which is the inner product between the original image (in real space) and a Bessel function. Note that, using the Fourier-Bessel representation of an image, the rotation _Rγ_ can now be represented as: _RγA_ <sup>ˆ</sup> ( _k, ψ_ ) = _A_ ˆ( _k, ψ −_ _γ_ ) (31) = = + _∞_ _q_ = _−∞_ + _∞_ _q_ = _−∞_ _a_ ( _k_ ; _q_ )e <sup>i</sup> <sup>_q_</sup> <sup>(</sup> <sup>_ψ−γ_</sup> <sup>)</sup> (32) _a_ ( _k_ ; _q_ ) _·_ e <sup>_−_</sup> <sup>i</sup> <sup>_qγ_</sup> e <sup>i</sup> <sup>_qψ_</sup>, (33) such that the Fourier-Bessel coefficients of the rotated image ring _Rγ_ _◦_ _A_ <sup>ˆ</sup> ( _k, ·_ ) are given by the original Fourier-Bessel coefficients _a_ ( _k_ ; _q_ ), each multiplied by the phase-factor e <sup>_−_</sup> <sup>i</sup> <sup>_qγ_</sup> . Note that (33) easily allows for arbitrary rotations by any _γ_, requiring only a pointwise multiplication by the appropriate phase factor. This observation allows for the efficient alignment of one image to another (see [16, 17]). A.4 Image discretization We denote by Ω(1) and Ω( _K_ ) the ball of radius 1 and _K_, respectively, in either real or frequency space: Ω(1) := _{_ _x_ _∈_ R <sup>2</sup> such that _∥_ _x_ _∥≤_ 1 _}_, Ω( _K_ ) := _{_ _k_ _∈_ R <sup>2</sup> such that _∥_ _k_ _∥≤_ _K}_, (34) and we will assume that all the images considered are supported in Ω(1). The support constraint _A_ ( _x_ ) _⊆_ Ω(1) implies that the representation _A_ <sup>ˆ</sup> ( _k_ ) will have a bandlimit of 1, so that _A_ <sup>ˆ</sup> can be accurately reconstructed from its values sampled on a frequency grid with spacing _O_ (1) [19]. We also assume that any relevant signal within the images has a maximum effective spatialfrequency magnitude of _K_ ; i.e., that the salient features of _A_ <sup>ˆ</sup> are concentrated in _k_ _∈_ Ω _K_ . Consequently, we expect that the inversion <u>1</u> _A_ ( _x_ ) _≈_ (2 _π_ ) <sup>2</sup> �� Ω _K_ _A_ ˆ( _k_ )e <sup>i</sup> <sup>_k_</sup> <sup>_·_</sup> <sup>_x_</sup> _d_ _k_ (35) accurately reconstructs _A_ to the resolution associated with _K_ (ignoring high frequency ringing artifacts). When these assumptions hold we won’t lose much accuracy when applying these transformations in a discrete setting (as discussed below). Note that the largest _K_ that we can reasonably expect to attain is related to the number of pixels ‘ _N_ ’ in the original image. More specifically, once we assume that _A_ ( _x_ ) is supported in _x_ _∈_ Ω(1), the pixel-spacing will be ∆ _x_ = 2 _/N_, implying the Nyquist spatial-frequency is given by _π/_ ∆ _x_ = _Nπ/_ 2. Since we are using _NA_ picked-particle images _Aj_ to produce a low-resolution estimate of the imaged molecule (denoted _F_ below), we will typically choose _K_ to be significantly smaller than _Nπ/_ 2, often in the range of _K_ _∼_ 50. Given the pixel spacing, this corresponds to a low-resolution reconstruction with approximately 20 <sup>˚</sup> Aresolution. Additionally, the fact that _x_ _≤_ 1 implies that the Bessel coefficients _a_ ( _k, q_ ) will be concentrated in the range _|q|_ ≲ _k_, meaning that the Bessel coefficients _a_ ( _k, q_ ) across all _k_ _∈_ [0 _, K_ ] will be concentrated in _q_ _∈_ [ _−Q/_ 2 _,_ + _Q/_ 2 _−_ 1] for _Q_ = _O_ ( _K_ ) = _O_ ( _N_ ). With the notation above, we can consider an _N_ _× N_ image as a discrete set of pixel-averaged samples within [ _−_ 1 _,_ +1] <sup>2</sup> : - ( _n_ 2+1)∆ _x_ _n_ 2∆ _x_ 20 <u>1</u> _An_ 1 _,n_ 2 = ∆ _x_ <sup>2</sup> - ( _n_ 1+1)∆ _x_ _n_ 1∆ _x_ _A_ ( _x_ 1 _, x_ 2) _dx_ 2 _dx_ 1 (36) for indices _n_ 1 _, n_ 2 _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . We approximate the Fourier transform _A_ <sup>ˆ</sup> at any _k_ _∈_ R <sup>2</sup> via the simple summation: _N_ _−_ 1 _A_ ˆ( _k_ ) = (∆ _x_ ) <sup>2</sup> _n_ 2=0 _N_ _−_ 1 _n_ 1=0 _An_ 1 _,n_ 2 _e_ <sup>_−_</sup> <sup>i</sup> <sup>_k_</sup> <sup>_·_</sup> <sup>_x_</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,n_</sup> <sup>2</sup>, (37) where _x_ _n_ 1 _,n_ 2 is the appropriately-chosen pixel-center ∆ _x_ - _n_ 1 + <sup><u>1</u></sup> 2 <sup>_, n_</sup> <sup>2 +</sup> 2 <sup><u>1</u></sup> �. Because we have assumed that the image is sufficiently well sampled (i.e., that _A_ <sup>ˆ</sup> contains little relevant frequency-content above the Nyquist-frequency _K_ ), we expect the simple sum above to be accurate. where _x_ _n_ 1 _,n_ 2 is the appropriately-chosen pixel-center ∆ _x_ - _n_ 1 + <sup><u>1</u></sup> 2 We will typically evaluate _A_ <sup>ˆ</sup> ( _k_ ) for _k_ on a polar-grid, with _k_ - and _ψ_ -values corresponding to suitable quadrature nodes, using the non-uniform FFT (NUFFT) to compute _A_ <sup>ˆ</sup> ( _k, ψ_ ) at those nodes (see [19, 17]). The quadrature in _k_ corresponds to a set of _R_ nodes: _k_ 1 _, . . ., kR_ and radial weights _w_ 1 _, . . ., wR_ so that - _K_ _R_ _g_ ( _kr_ ) _wr_ (38) _g_ ( _k_ ) _kdk_ _≈_ 0 _R_ _r_ =1 to high accuracy for a smooth function _g_ ( _k_ ). The exact radial quadrature nodes we select are usually those inherited from a volumetric grid (see section A.6 below). For convenience, we will sometimes refer to the weight function _w_ ( _k_ ) as some continuous interpolant of the quadrature-weights, with _w_ ( _kr_ ) = _wr_ . The _Q_ angular-nodes _ψ_ 0 _, . . ., ψQ−_ 1 are equispaced in the periodic interval [0 _,_ 2 _π_ ), with a spacing of ∆ _ψ_ = 2 _π/Q_, and _ψq′_ = _q_ <sup>_′_</sup> ∆ _ψ_ . These equispaced _ψ_ -nodes allow for spectrally accurate trapezoidal quadrature in the _ψ_ -direction, and we approximate the Fourier-Bessel coefficients of each image-ring _A_ <sup>ˆ</sup> ( _k, ψ_ ) as follows: _a_ ( _k, q_ ) _≈_ _Q−_ 1 - _A_ ˆ( _k, ψq′_ ) exp ( _−_ i _qψq′_ ) ∆ _ψ_, (39) _q_ <sup>_′_</sup> =0 with the index _q_ considered periodically in the interval [ _−Q/_ 2 _, . . .,_ + _Q/_ 2 _−_ 1] (so that, e.g., the _q_ -value of _Q −_ 1 corresponds to the _q_ -value of _−_ 1). A.5 Inner products The inner-product between an image _A_ and a rotated and translated version of image _B_ is denoted by: _X_ ( _γ,_ _δ_ ; _A, B_ ) := _⟨R_ ( _γ_ ) _◦_ _A, T_ ( _δ_ ) _◦_ _B⟩_, (40) and (ignoring factors of 2 _π_ ) is approximated by: - _R_ ( _γ_ ) _◦_ _A_ <sup>ˆ</sup> ( _k_ )� _†_ _·_ - _T_ - ( _δ_ _,_ _k_ ) _⊙_ _B_ ˆ( _k_ )� _d_ _k_ . (41) _X_ ( _γ,_ _δ_ ; _A,_ <sup>ˆ</sup> _B_ <sup>ˆ</sup> ) _≈_ �� Ω( _K_ ) The expression _X_ can be thought of as a _bandlimited_ inner product. A.6 Volume notation We use _x_ _,_ _k_ _∈_ R <sup>3</sup> to represent spatial position and frequency, respectively. In spherical coordinates, the vector _k_ is represented as: _k_ = _k ·_ _k_ <sup>ˆ</sup> _,_ with _k_ <sup>ˆ</sup> = (cos _ϕ_ sin _θ,_ sin _ϕ_ sin _θ,_ cos _θ_ ), (42) with polar angle _θ_ and azimuthal angle _ϕ_ representing the unit vector _k_ <sup>ˆ</sup> on the surface of the sphere _S_ <sup>2</sup> . 21 Using a right-handed basis, a rotation about the third axis by angle _α_ is represented as: + cos _α_ _−_ sin _α_ 0 + sin _α_ + cos _α_ 0 0 0 1  , (43) _Rz_ ( _α_ ) =   and a rotation about the second axis by angle _β_ is represented as: + cos _β_ 0 + sin _β_ 0 1 0 _−_ sin _β_ 0 + cos _β_   . (44) _Ry_ ( _β_ ) =   A rotation _R_ ( _τ_ ) of a vector _k_ _∈_ R <sup>3</sup> can be represented by the vector of Euler angles _τ_ = ( _α, β, γ_ ): _R_ ( _τ_ ) _·_ _k_ = _Rz_ ( _α_ ) _◦Ry_ ( _β_ ) _◦Rz_ ( _γ_ ) _·_ _k_ . (45) We represent a given volume as a function _F_ _∈_ _L_ <sup>2</sup> (R <sup>3</sup> ), with values corresponding to the intensity at each location _x_ _∈_ Ω(1). We will refer to _F_ <sup>ˆ</sup> ( _k_ ) in spherical coordinates as _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> ). With this notation, each _F_ <sup>ˆ</sup> ( _k, ·_ ) corresponds to a ‘shell’ in frequency-space with radius _k_ . The rotation of any volume _R_ ( _τ_ ) _◦_ _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> ) corresponds to the function _F_ <sup>ˆ</sup> ( _k, R_ ( _τ_ <sup>_−_</sup> <sup>1</sup> ) _·_ _k_ <sup>ˆ</sup> ), where _τ_ <sup>_−_</sup> <sup>1</sup> corresponds to the vector of Euler angles _τ_ <sup>_−_</sup> <sup>1</sup> = ( _−γ, −β, −α_ ). A.7 Spherical harmonics Using the notation above, we can represent a volume _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> ) as: _m_ =+ _l_ _m_ = _−l_ _F_ ˆ( _k,_ ˆ _k_ ) = + _∞_ _l_ =0 _f_ ( _k_ ; _l, m_ ) _Yl_ <sup>_m_</sup> <sup>(ˆ</sup> <sup>_k_</sup> <sup>),</sup> (46) where _Yl_ <sup>_m_</sup> <sup>(ˆ</sup> <sup>_k_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup> <sup>spherical</sup> <sup>harmonic</sup> <sup>of</sup> <sup>degree</sup> <sup>_l_</sup> <sup>and</sup> <sup>order</sup> <sup>_m_</sup> <sup>:</sup> _l_ <sup>_m_</sup> <sup>(</sup> <sup>_θ, ϕ_</sup> <sup>) =</sup> <sup>_Z_</sup> _l_ <sup>_m_</sup> _Yl_ <sup>_m_</sup> _l_ <sup>_m_</sup> <sup>e+i</sup> <sup>_mϕP m_</sup> _l_ <sup>_m_</sup> _l_ <sup>(cos</sup> <sup>_θ_</sup> <sup>),</sup> (47) with _Pl_ <sup>_m_</sup> _l_ <sup>_m_</sup> representing the usual (unnormalized) associated Legendre function, and _Zl_ <sup>_m_</sup> with _Pl_ <sup>_m_</sup> representing the usual (unnormalized) associated Legendre function, and _Zl_ <sup>_m_</sup> the normal ization constant: _Zl_ <sup>_m_</sup> = <u>2</u> _<u>l</u>_ <u>+ 1</u> _×_ <sup><u>(</u></sup> <sup>_<u>l −|m|</u>_</sup> <sup><u>)!</u></sup> 4 _π_ ( _l_ + _|m|_ )! <sup><u>(</u></sup> ( <sup>_<u>l</u>_</sup> _l_ <sup>_<u>−|</u>_</sup> + _|_ <sup>_<u>m</u>_</sup> _m_ <sup>_<u>|</u>_</sup> _|_ <sup><u>)!</u></sup> )! <sup>.</sup> (48) The coefficients _f_ ( _k_ ; _l, m_ ) define the spherical harmonic expansion of the _k_ -shell _F_ <sup>ˆ</sup> ( _k, ·_ ). Given a rotation _τ_ = ( _α, β, γ_ ), we can represent the rotated volume _G_ <sup>ˆ</sup> := _R_ ( _τ_ ) _F_ <sup>ˆ</sup> as: _l_ <sup>_m_</sup> <sup>2</sup>, (49) _gl_ <sup>_m_</sup> <sup>1</sup> = _m_ 2=+ _l_ _m_ 2= _−l_ e <sup>_−_</sup> <sup>i</sup> <sup>_m_</sup> <sup>1</sup> <sup>_γ_</sup> _d_ <sup>_l_</sup> <sup>_l_</sup> _m_ 1 _,m_ 2 <sup>(</sup> <sup>_β_</sup> <sup>)e</sup> <sup>_−_</sup> <sup>i</sup> <sup>_m_</sup> <sup>2</sup> <sup>_αf_</sup> _l_ <sup>_m_</sup> <sup>2</sup> where _d_ <sup>_l_</sup> _m_ 1 _,m_ 2 <sup>(</sup> <sup>_β_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup> <sup>Wigner</sup> <sup>d-matrix</sup> <sup>of</sup> <sup>degree</sup> <sup>_l_</sup> <sup>associated</sup> <sup>with</sup> <sup>the</sup> <sup>second</sup> <sup>Euler</sup> <sup>angle</sup> _β_ . A.8 Volume discretization As with our discretization of images, we assume that the volume _F_ ( _x_ ) is supported in Ω(1), and that the relevant frequency content is contained in Ω( _K_ ). We then discretize the radial component of Ω( _K_ ) _∈_ R <sup>3</sup> using a Gauss-Jacobi quadrature for _k_ built with a weight-function corresponding to a radial weighting of _k_ <sup>2</sup> _dk_ ; the number of radial quadrature nodes _R_ will be of the order _O_ ( _K_ ). On each of the _k_ -shells, we build a quadrature for 22 _k_ ˆ that discretizes the polar-angle _β_ using a legendre-quadrature on [0 _, π_ ], and the azimuthal-angle _α_ using a uniform periodic grid in [0 _,_ 2 _π_ ), with associated weights designed for integration on the surface of the sphere; the total number of spherical-shell-quadrature-nodes _T_ ( _kr_ ) for any particular _kr_ need only be _O_ ( _kr_ <sup>2)</sup> <sup>[16].</sup> _kr_ need only be _O_ ( _kr_ <sup>2)</sup> <sup>[16].</sup> Each of the _k_ -shells _F_ <sup>ˆ</sup> ( _kr, ·_ ) can be accurately described using spherical harmonics of order _l_ = _O_ ( _kr_ ). Thus, the number of spherical-harmonic coefficients required for each shell _F_ <sup>ˆ</sup> ( _kr, ·_ ) is _O_ ( _kr_ <sup>2).</sup> <sup>The</sup> <sup>total</sup> <sup>number</sup> <sup>of</sup> <sup>spherical-harmonic</sup> <sup>coefficients</sup> <sup>required</sup> <sup>to</sup> <sup>approximate</sup> <sup>_F_</sup> <sup>ˆ(</sup> <sup>_k,_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>)</sup> <sup>over</sup> _O_ ( _kr_ <sup>2).</sup> <sup>The</sup> <sup>total</sup> <sup>number</sup> <sup>of</sup> <sup>spherical-harmonic</sup> <sup>coefficients</sup> <sup>required</sup> <sup>to</sup> <sup>approximate</sup> <sup>_F_</sup> <sup>ˆ(</sup> <sup>_k,_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>)</sup> <sup>over</sup> Ω( _K_ ) is _O_ ( _K_ <sup>3</sup> ), with a maximum degree of _L_ = _O_ ( _K_ ). The associated maximum order will be _M_ = 1 + 2 _L_, which is also _O_ ( _K_ ). A.9 Template generation Given any volume _F_ <sup>ˆ</sup> ( _k_ ), we can generate templates efficiently using the techniques described in [16], which make use of the spherical harmonic representation _f_ ( _k_ ; _l, m_ ). For our purposes, we generate the templates described in Eq. 7 for a collection of viewing directions ( _αt, βt_ ), for _t_ _∈{_ 1 _, . . ., T_ _}_ . The particular choice of the third Euler angle ( _γt_ ) for each of the templates is dictated by the strategy for template generation in [16], and does not play an important role, since it corresponds to an in-plane rotation of the relevant slice. We discretize the set of viewing directions to correspond with the _k_ <sup>ˆ</sup> discretization on the largest _k_ -shell in our volumetric (spherical) quadrature grid: that is, _T_ := _T_ ( _kR_ ). These viewing directions will be used to enumerate the templates (i.e., _NS_ = _T_ ). Each of the templates are stored on a polar or Fourier-Bessel grid identical to those used to store the images. A.10 Image noise model We assume that each of the picked-particle images _A_ <sup>ˆ</sup> _j_ is a noisy version of a ‘signal’ corresponding to a 2-dimensional projection of some (unknown) molecular electron-density-function _F_ <sup>true</sup> : _A_ ˆsignal( _k_ ) = _T_ (+ _δ_ true _j_ _,_ _k_ ) _⊙_ _S_ <sup>ˆ</sup> ( _τj_ true; _CTF_ ; _F_ <sup>ˆ</sup> )( _k_ ), (50) where _τj_ <sup>true</sup> and _δ_ true _j_ correspond to the true (but unknown) viewing-angle and displacement associated with image _A_ <sup>ˆ</sup> _j_ . In this context we say the image’s ‘true viewing direction’ is defined by the first two Euler angles in _τj_ <sup>true</sup>, namely the azimuthal and polar angles _αj_ <sup>true</sup> and _βj_ <sup>true</sup> . where _τj_ <sup>true</sup> _j_ <sup>true</sup> and _δ_ _j_ <sup>true</sup>, namely the azimuthal and polar angles _αj_ <sup>true</sup> _j_ <sup>true</sup> and _βj_ <sup>true</sup> Euler angles in _τj_ <sup>true</sup>, namely the azimuthal and polar angles _αj_ <sup>true</sup> and _βj_ <sup>true</sup> . We will model the noise in real space as independent and identically distributed ( _iid_ ), with a variance of _σ_ <sup>2</sup> on a unit scale in two-dimensional real space. This is a simple model of detector noise [20, 21, 22, 23], and does not take into account more complicated features, such as structural noise associated with image preparation (see [24]). We assume that the image values are the sum of the signal plus noise: _An_ 1 _,n_ 2 = _A_ ( _x_ _n_ 1 _,n_ 2) = _A_ signal _n_ 1 _,n_ 2 <sup>+</sup> <sup>_A_</sup> noise _n_ 1 _,n_ 2 <sup>,</sup> (51) where the signal and noise are represented by the arrays _A_ <sup>signal</sup> _n_ 1 _,n_ <sup>signal</sup> _n_ 1 _,n_ 2 <sup>and</sup> <sup>_A_</sup> _n_ <sup>noise</sup> 1 _,n_ where the signal and noise are represented by the arrays _A_ <sup>signal</sup> _n_ 1 _,n_ 2 <sup>and</sup> <sup>_A_</sup> _n_ <sup>noise</sup> 1 _,n_ 2 <sup>,</sup> <sup>respectively.</sup> <sup>Because</sup> each entry in _A_ <sup>noise</sup> _n_ 1 _,n_ 2 <sup>corresponds</sup> <sup>to</sup> <sup>an</sup> <sup>average</sup> <sup>over</sup> <sup>the</sup> <sup>area-element</sup> <sup>∆</sup> <sup>_x_</sup> <sup>2</sup> <sup>associated</sup> <sup>with</sup> <sup>a</sup> <sup>single</sup> each entry in _A_ <sup>noise</sup> _n_ 1 _,n_ 2 <sup>corresponds</sup> <sup>to</sup> <sup>an</sup> <sup>average</sup> <sup>over</sup> <sup>the</sup> <sup>area-element</sup> <sup>∆</sup> <sup>_x_</sup> <sup>2</sup> <sup>associated</sup> <sup>with</sup> <sup>a</sup> <sup>single</sup> pixel, we expect the variance of each _A_ <sup>noise</sup> _n_ 1 _,n_ 2 <sup>to</sup> <sup>scale</sup> <sup>inversely</sup> <sup>with</sup> <sup>∆</sup> <sup>_x_</sup> <sup>2.</sup> That is to say, we’ll pixel, we expect the variance of each _A_ <sup>noise</sup> _n_ 1 _,n_ 2 <sup>to</sup> <sup>scale</sup> <sup>inversely</sup> <sup>with</sup> <sup>∆</sup> <sup>_x_</sup> <sup>2.</sup> That is to say, we’ll assume that each element of the noise array _A_ <sup>noise</sup> _n_ 1 _,n_ 2 <sup>is</sup> <sup>drawn</sup> <sup>from</sup> <sup>the</sup> <sup>standard</sup> <sup>normal</sup> <sup>distribution</sup> _N_ �0 _,_ _<u>σ</u>_ <sup>2</sup> �, with zero mean and a variance of _σ_ <sup>2</sup> _/_ ∆ _x_ <sup>2</sup> . With these assumptions, downsampling the ∆ _x_ <sup>2</sup> image by averaging neighboring pixels will correspond to an increase in the effective pixel-size and a simultaneous reduction in the variance of the noise associated with each (now larger) pixel. <sup>noise</sup> _n_ 1 _,n_ 2 <sup>is</sup> <sup>drawn</sup> <sup>from</sup> <sup>the</sup> <sup>standard</sup> <sup>normal</sup> <sup>distribution</sup> _N_ - _<u>σ</u>_ <sup>2</sup> 0 _,_ ∆ _x_ ∆ _x_ <sup>2</sup> Given the assumptions above, _A_ <sup>ˆ</sup> will be modeled by: _A_ ˆ( _k_ ) = _A_ ˆ signal( _k_ ) + _A_ ˆ noise( _k_ ), (52) where _A_ <sup>ˆnoise</sup> is now complex and _iid_ . Because the noise-term _A_ <sup>noise</sup> is real, the noise-term _A_ <sup>ˆnoise</sup> will be complex, with the conjugacy constraint that _A_ <sup>ˆnoise</sup> (+ _k_ ) = _A_ <sup>ˆnoise</sup> ( _−_ _k_ ) <sup>_†_</sup> . 23 A.11 Variance Scaling We define _σ_ ˆ <sup>2</sup> = <sup>_<u>π</u>_</sup> <sup>2</sup> <sup>_<u>σ</u>_</sup> <sup>2</sup> ∆ _x_ <sup>2</sup> We define _σ_ ˆ <sup>2</sup> = <sup>_<u>π</u>_</sup> <sup>2</sup> <sup>_<u>σ</u>_</sup> <sup>2</sup> ∆ _x_ <sup>2</sup> <sup>as</sup> <sup>the</sup> <sup>variance</sup> <sup>on</sup> <sup>a</sup> <sup>unit</sup> <sup>scale</sup> <sup>in</sup> <sup>two-dimensional</sup> <sup>frequency</sup> <sup>space.</sup> <sup>We</sup> <sup>expect</sup> that the noise term _A_ <sup>ˆnoise</sup> ( _k_ ) integrated over any area element ∆ _k_ <sup>2</sup> will have a variance of _<u>σ</u>_ <u>ˆ</u> <sup>2</sup> ∆ _k_ <sup>2</sup> <sup>.</sup> Recalling our polar quadrature described above, we typically sample _k_ along _R_ radial quadrature nodes _k_ 1 _, . . ., kR_ and _Q_ angular quadrature nodes _ψ_ 0 _, . . ., ψQ−_ 1, with radial and angular weights _wr_ and ∆ _ψ_, respectively. In this quadrature scheme, each quadrature node _k_ _rq_ = ( _kr, ψq_ ) is associated with the area element _wr_ ∆ _ψ_, which approximates the ‘ _kdk_ ’ integration weight. Consequently, we expect that the noise term _A_ <sup>ˆnoise</sup> ( _k_ _rq_ ) evaluated at ( _kr, ψq_ ) on our polar quadrature grid will have _<u>σ</u>_ <u>ˆ</u> <sup>2</sup> a variance of _wr_ ∆ _ψ_ <sup>.</sup> Given the radially-dependent variance associated <u>with</u> each degree of freedom in the images, we will typically consider rescaled images _A_ <sup>ˆ</sup> ( _kr, ψq_ ) <sup>_√_</sup> _wr_ ∆ _ψ_, rather than the raw image values _A_ <sup>ˆ</sup> ( _kr, ψq_ ). Fro simplicity, we will often write this as _A_ <sup>ˆ</sup> ( _k_ )� _w_ ( _k_ ), where we assume that ∆ _ψ_ is the same for Fro simplicity, we will often write this as _A_ <sup>ˆ</sup> ( _k_ )� _w_ ( _k_ ), where we assume that ∆ _ψ_ is the same for every _k_ -value, and _w_ ( _k_ ) is some functional interpolant of the quadrature weights with _w_ ( _kr_ ) = _wr_ . This rescaling allows us to equate the standard vector 2-norm with the _L_ <sup>2</sup> integral (up to quadrature error): _r_ = _R_ _r_ =1 _q_ = _Q_ _q_ =1 - _ψ_ =2 _π_ _ψ_ =0 - _k_ = _K_ _k_ =0 _∥A_ <sup>ˆ</sup> ( _kr, ψq_ ) _·_ ~~�~~ _wr_ ∆ _ψ∥_ <sup>2</sup> _≈_ _∥A_ <sup>ˆ</sup> ( _k, ψ_ ) _∥_ <sup>2</sup> _kdkdψ_ . This rescaling will allow our definition of the radial objective function below to correspond to a standard log-likelihood (see (55) in section A.14). In a similar fashion, the least-squares formulation we will use for volume reconstruction corresponds to a maximum-likelihood estimate, with similar properties holding for the inner products used for alignment (see sections A.18 and A.22 below). A.12 Radial Principal Modes In these sections, we briefly review the notion of _radial_ _principal_ _modes_ for image compression, described in [25]. The premise is simple: given an image _A_ <sup>ˆ</sup> ( _k, ψ_ ), not all the frequency rings _A_ <sup>ˆ</sup> ( _k, ·_ ) are equally useful. By selecting the appropriate linear combinations of frequency rings, we can compress the images while retaining information useful for alignment. We choose the coefficients of this linear combination by solving an eigenvalue problem, which is why we refer to these linear combinations as principal modes. This strategy has two benefits. The first is to make the overall computation more efficient; rather than retaining all _R_ _≈_ 50 radial quadrature nodes, we can often compress the majority of relevant information into a smaller number of principal modes (typically 10-16). The second benefit is that, by retaining only those principal modes which are useful for alignment, we explicitly avoid those degrees of freedom within the original images that are dominated by noise and not useful for alignment. The same set of modes can be used for the experimental images and the estimated volumes. We make use of this compression for both the alignment and reconstruction steps of our EMPM iteration. A.13 Principal image rings and principal volume shells Let us assume that we are given a unit vector _u_ = [ _u_ 1 _, u_ 2 _, . . ., uR_ ] <sup>⊺</sup> _∈_ R <sup>_R_</sup> . We define the linear combination [ _u_ <sup>⊺</sup> _A_ <sup>ˆ</sup> ]( _ψq_ ) as: [ _u_ <sup>⊺</sup> _A_ <sup>ˆ</sup> ]( _ψq_ ) = _R_ _r_ =1 _urA_ <sup>ˆ</sup> ( _kr, ψq_ ) ~~�~~ _wr_ ∆ _ψ_, (53) where the rescaling factor <sup>_√_</sup> _wr_ ∆ _ψ_ is designed to equalize the variances associated with the different _k_ -values (see section A.11). In a moment, we will choose our _u_ to be one of the eigenvectors of an _R × R_ matrix, and we will refer to the linear combination [ _u_ <sup>⊺</sup> _A_ <sup>ˆ</sup> ]( _ψq_ ) as the ‘principal image ring’ associated with _u_ . Note that, 24 based on our noise model, we assume that the image noise is _iid_ across image-rings. Consequently, the variance of the noise [ _u_ <sup>⊺</sup> _A_ <sup>ˆnoise</sup> ]( _ψq_ ) is equal to <sup>�</sup> _r_ <sup>_u_</sup> _r_ <sup>2</sup> <sup>_σ_</sup> <sup>ˆ2,</sup> <sup>which</sup> <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>_∥_</sup> <sup>_u_</sup> <sup>_∥_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>ˆ2.</sup> <sup>Because</sup> <sup>_u_</sup> <sup>is</sup> the variance of the noise [ _u_ <sup>⊺</sup> _A_ <sup>ˆnoise</sup> ]( _ψq_ ) is equal to <sup>�</sup> _r_ <sup>_u_</sup> _r_ <sup>2</sup> <sup>_σ_</sup> <sup>ˆ2,</sup> <sup>which</sup> <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>_∥_</sup> <sup>_u_</sup> <sup>_∥_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>ˆ2.</sup> <sup>Because</sup> <sup>_u_</sup> <sup>is</sup> a unit vector, this last expression is simply _σ_ ˆ <sup>2</sup>, which is the same as the variance of any individual term _A_ <sup>ˆnoise</sup> ( _kr, ψq_ ) for any particular _kr_ . Moreover, if we consider two orthonormal vectors _u_ 1 and _u_ 2, then [ _u_ 1 <sup>⊺</sup> _A_ <sup>ˆnoise</sup> ]( _ψq_ ) and [ _u_ 2 <sup>⊺</sup> _A_ <sup>ˆnoise</sup> ]( _ψq_ ) will be independent random variables, each drawn from _N_ (0 _,_ ˆ _σ_ <sup>2</sup> ). _r_ <sup>_u_</sup> _r_ <sup>2</sup> The same strategy can be used to define a principal volume shell [ _u_ <sup>⊺</sup> _F_ <sup>ˆ</sup> ]( _k_ <sup>ˆ</sup> ) as: [ _u_ <sup>⊺</sup> _F_ <sup>ˆ</sup> ]( _k_ <sup>ˆ</sup> ) = _R_ _r_ =1 _urF_ <sup>ˆ</sup> ( _kr,_ _k_ <sup>ˆ</sup> )� _wr_ ∆ _ψ_, (54) using the same weights as those used for the principal image rings. In most situations, we will assume that <u>the</u> angular discretization ∆ _ψ_ is uniform across all the image rings, allowing us to ignore the _√_ ∆ _ψ_ factor in the rescaling-factor above. A.14 Choice of principal modes To select the actual principal modes used above, we construct the following objective function for the vector _u_ : _C_ ( _u_ ; _F, µτ_ _, µ_ _δ_ _, µCT F_ ) = - 2 _· · ·_ _·_ ���� _u_ ⊺ _S_ ˆ( _τ,_ _δ_ ; _CTF, F_ ) _−_ _u_ ⊺ _S_ ˆ( _τ ′,_ _δ_ _′_ ; _CTF ′, F_ )��� _dµCT F_ ( _CTF_ ) _dµCT F_ ( _CTF_ <sup>_′_</sup> ), (55) _dψdµτ_ ( _τ_ ) _dµτ_ ( _τ_ <sup>_′_</sup> ) _dµ_ _δ_ ( _δ_ ) _dµ_ _δ_ - _δ_ <sup>_′_</sup> <sup>�</sup> where _S_ <sup>ˆ</sup> ( _τ,_ _δ_ ; _CTF_ ; _F_ ) is the usual noiseless image template associated with viewing-angle _τ_, displacement _δ_ and the contrast-transfer-function _CTF_ ( _k_ ). The integral in (55) is taken over the distributions of viewing angle, displacement and CTF function (i.e., _µτ_, _µ_ _δ_ and _µCT F_, respectively). Given a volume _F_, as well as distributions _µτ_, _µ_ _δ_ and _µCT F_, the objective function _C_ ( _u_ ) is (up to an affine transformation) equal to the negative log-likelihood of mistaking one noiseless principal image ring (constructed using principal-vector _u_ ) for a randomly rotated version of another (also constructed using _u_ ). Those vectors _u_ for which _C_ ( _u_ ) is high correspond to linear combinations of frequencies which are useful for alignment (i.e. for which the typical principal image rings look very different from one another). Conversely, those vectors _u_ for which _C_ ( _u_ ) is low correspond to linear combinations of frequencies which are not useful for alignment (i.e., for which the typical principal image rings look quite similar to one another). The objective function _C_ ( _u_ ) is quadratic in _u_, which means that it can be optimized by finding the dominant eigenvector of the Hessian _C_ := _∂_ _uu_ _C_, defined as the _R × R_ matrix: _C_ ( _u_ ) = _u_ <sup>⊺</sup> _·_ _C_ _·_ _u_ . Moreover, the corresponding eigenvalue will be equal to the objective function _C_ for that eigenvector. To actually compute the Hessian _C_ in practice, we use one of two strategies. A.15 Empirical principal modes At first, when we have no good estimate of either _F_ or the distributions _µτ_, _µ_ _δ_ or _µCT F_, we simply use the images _Aj_ themselves to form a Monte Carlo estimate of the integral in (55). This boils down to the following simple approximation: empir = <u>1</u> _NA_ <sup>2</sup> 2 _dψdγdγ_ <sup>_′_</sup>, (56) ������ _u_ ⊺ _R_ ( _γ_ ) ˆ _Aj_ _−_ _u_ ⊺ _R_ ( _γ′_ ) ˆ _Aj′_ ��� _C_ ( _u_ ) _A_ _j,j_ <sup>_′_</sup> where we have replaced the noiseless images _S_ <sup>ˆ</sup> ( _τ,_ _δ_ ; _CTF_ ; _F_ ) and _S_ <sup>ˆ</sup> ( _τ,_ _δ_ ; _CTF_ ; _F_ ) in the integrand of Eq. 55 with randomly selected images _A_ <sup>ˆ</sup> _j_ and _A_ <sup>ˆ</sup> _j′_ from the original image pool, and used the 25 empirical distribution of the images themselves to stand in for the unkown _µτ_, _µ_ _δ_ and _µCT F_ (after averaging over the in-plane rotations associated with _γ_ and _γ_ <sup>_′_</sup> ). The associated kernel _C_ empir then reduces to: _j_   _†_ <sup></sup> _C_ ( _r, r_ <sup>_′_</sup> )empir _∝_ <sup>_√_</sup> _<u>wrwr′</u>_ _·_    _N_ <sup><u>1</u></sup> _A_ _a_ ( _kr,_ 0)   <sup>�</sup> _j_ _q_ <u>1</u> _aj_ ( _kr, q_ ) <sup>_†_</sup> _aj_ ( _kr′, q_ ) _−_ _NA_ <sup>2</sup> <u>1</u> _aj_ ( _kr, q_ ) <sup>_†_</sup> _aj_ ( _kr′, q_ ) _−_ _NA_ <sup>2</sup>  .  <sup>�</sup> _j_ _a_ ( _kr_ <sup>_′_</sup> _,_ 0)  (57) A.16 Estimated principal modes Once we have a reasonable estimate of the imaged volume _F_ <sup>estim</sup>, we can use it (along with the current estimated distributions _µ_ <sup>estim</sup> _τ_ and _µ_ <sup>estim</sup> _δ_ ) to calculate _C_ <sup>estim</sup> via (55). In practice, we typically current estimated distributions _µ_ <sup>estim</sup> _τ_ and _µ_ <sup>estim</sup> _δ_ ) to calculate _C_ <sup>estim</sup> via (55). In practice, we typically assume that _µ_ <sup>estim</sup> _τ_ is uniform and _µ_ <sup>estim</sup> _δ_ is an isotropic Gaussian centered at the origin with a standard deviation estimated using the current _δ_ estim _j_ . With these assumptions the associated kernel _C_ estim <sup>estim</sup> _τ_ and _µ_ <sup>estim</sup> _δ_ <sup>estim</sup> _τ_ is uniform and _µ_ <sup>estim</sup> _δ_ estim _j_ . With these assumptions the associated kernel _C_ estim can be computed analytically from the spherical harmonic coefficients _f_ ( _k_ ; _l, m_ ): _m_ =+ _l_ _m_ = _−l_ _·_ _E_ <sup>+</sup> ( _kr, kr′_ ) (58) _f_ ( _kr_ ; _l, m_ ) <sup>_†_</sup> _f_ ( _kr′_ ; _l, m_ ) _C_ estim _r,r_ <sup>_′_</sup> _∝_ +� _WrWr′_ _·_ - _WrWr′_ _·_ �+ _∞_ _l_ =0 - _f_ ( _kr_ ; 0 _,_ 0) <sup>_†_</sup> _f_ ( _kr′_ ; 0 _,_ 0)� _·_ _E_ <sup>_−_</sup> ( _kr_ ) _·_ _E_ <sup>_−_</sup> ( _kr′_ ), (59) _−_ - _WrWr′_ _·_ - _WrWr′_ _·_ - _·_ _E_ <sup>_−_</sup> ( _kr_ ) _·_ _E_ <sup>_−_</sup> ( _kr′_ ), (59) as _Q →∞_, where the CTF-modulated weight _Wr_ takes the form: _j_ - _Wr_ = and the terms _E_ <sup>+</sup> and _E_ <sup>_−_</sup> denote _√wr_ _NA_ _CTFj_ ( _kr_ ), (60) _<u>δ</u>_ _−_ <sup>_<u>σ</u>_</sup> <sup>2</sup> _r_ <sup>2</sup> <sup>+</sup> <sup>_k_</sup> _r_ <sup>2</sup> <sup>_′_</sup> _r_ <sup>2</sup> <sup>_′_</sup> _E_ <sup>+</sup> ( _kr, kr′_ ) = exp _<u>δ</u>_ <sup>2</sup> _kr_ <sup>2</sup> 2 - <sup>�</sup> _·_ exp - _krkr′σ_ _δ_ <sup>2</sup> -, (61) and ~~�~~ _<u>π</u>_ _E_ <sup>_−_</sup> ( _kr_ ) = _k_ <sup>˜</sup> _r_ _−k_ <sup>˜</sup> _r_ <sup>2</sup> 2 <sup>exp</sup> �� _I−_ 1 _/_ 2( _k_ <sup>˜</sup> _r_ <sup>2</sup> _r_ <sup>2)</sup> _r_ <sup>2)</sup> <sup>_−I_</sup> +1 _/_ 2 <sup>(˜</sup> <sup>_k_</sup> _r_ <sup>2</sup> , (62) where _k_ <sup>˜</sup> _r_ = _krσ_ _δ_ _/_ 2, and _Iq_ refers to the modified Bessel function of first kind of order _q_ . A.17 Multiple principal modes We select the principal modes _u_ 1 _, . . .,_ _u_ _H_ to be the dominant _H_ eigenvectors of the kernel _C_ . We typically choose _H_ such that the ( _H_ + 1)-th eigenvalue of _C_ is less than the global tolerance times the first (dominant) eigenvalue of _C_ . When we set the global tolerance to be _ϵ_ tol _∼_ 1 _e_ _−_ 2 in our numerical experiments below, this selection criterion typically corresponds to selecting 12 _−_ 16 principal modes from _C_ empir, and slightly fewer (10 _−_ 14) from _C_ estim. principal modes from _C_ empir, and slightly fewer (10 _−_ 14) from _C_ estim. We will refer to the matrix _U_ as the collection of _H_ principal modes: empir, and slightly fewer (10 _−_ 14) from _C_ -, (63) _U_ = - _u_ 1 _u_ 2 _· · ·_ _uH_ and refer to the collection of respective principal images as _U_ <sup>⊺</sup> _A_ <sup>ˆ</sup> : _U_ <sup>⊺</sup> _A_ <sup>ˆ</sup> = - _u_ 1 <sup>⊺</sup> _A_ <sup>ˆ</sup> _u_ 2 <sup>⊺</sup> _A_ <sup>ˆ</sup> _· · ·_ _uH_ <sup>⊺</sup> _A_ <sup>ˆ</sup> -, (64) _uh_ ⊺ _A_ ˆ� ( _ψ_ ). ( _ψ_ ). such that - _U_ <sup>⊺</sup> _A_ <sup>ˆ</sup> - ( _h, ψ_ ) = 26 We use the same convention for principal volumes: _U_ <sup>⊺</sup> _F_ <sup>ˆ</sup> = - _u_ 1 <sup>⊺</sup> _F_ <sup>ˆ</sup> _u_ 2 <sup>⊺</sup> _F_ <sup>ˆ</sup> _· · ·_ _uH_ <sup>⊺</sup> _F_ <sup>ˆ</sup> -, (65) - ( _h,_ _k_ <sup>ˆ</sup> ) = _uh_ ⊺ _F_ ˆ - ( _k_ <sup>ˆ</sup> ). such that - _U_ <sup>⊺</sup> _F_ <sup>ˆ</sup> We will also refer to the Bessel and spherical harmonic representations of the principal images and principal volumes as _U_ <sup>⊺</sup> _a_ and _U_ <sup>⊺</sup> _f_, respectively. A.18 Volume reconstruction Most approaches to estimating molecular volumes in cryo-em involve some kind of reconstruction process which is performed multiple times (over the course of iterative refinement). For standard AM, the inputs to the reconstruction process are the collection of _NA_ picked particle images _A_ <sup>ˆ</sup> _j_ ( _k_ ) and associated CTF-functions _CTFj_ ( _k_ ), along with estimates of the viewing angles _τj_ <sup>estim</sup> and dis placements _δ_ estim _j_ . The output is the estimate _F_ <sup>ˆ</sup> <sup>estim</sup> ( _k_ ). In our case, we will make use of both the standard least-squares reconstruction, as well as a more computationally efficient approximate Fourier inversion which we refer to as ‘quadrature-backpropagation’ (section A.20 below). A.19 Least-squares reconstruction The standard strategy for reconstruction typically involves solving a linear system in a least-squares sense. In real-space this least-squares system looks like:   _A_ 1( _x_ ) ... _ANA_ ( _x_ )   _PSD_ 1( _x_ ) _⋆_ _T_ (+ _δ_ 1) _◦{S ◦R_ ( _τ_ 1) _◦}_ ... _PSDNA_ ( _x_ ) _⋆_ _T_ (+ _δ_ _NA_ ) _◦{S ◦R_ ( _τNA_ ) _◦}_   whereas in the Fourier domain it is written as:   _· F_ ( _x_ ) _≈_    _CTFNA_ ( _k_ ) _⊙T_ (+ _δ_ _NA_ _,_ _k_ ) _⊙_ _CTF_ 1( _k_ ) _⊙T_ (+ _δ_ 1 _,_ _k_ ) _⊙_ ... - _Sl_ ˆ _◦R_ ( _τ_ 1) _◦_ _A_ ˆ1( _k_ ) ... _A_ ˆ _NA_ ( _k_ )    _·_ _F_ ˆ( _k_ ) _≈_ - _Sl_ ˆ _◦R_ ( _τNA_ ) _◦_ or, more conveniently,   _CTF_ 1( _k_ ) _⊙_ _CTFNA_ ( _k_ ) _⊙_ - _S_ ˆ _◦R_ ( _τ_ 1) _◦_ ... - _S_ ˆ _◦R_ ( _τNA_ ) _◦_     . (66) _T_ ( _−_ _δ_ 1 _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> 1( _k_ ) ... _T_ ( _−_ _δ_ _NA_ _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> _NA_ ( _k_ )   _·_ _F_ ˆ( _k_ ) _≈_   In this expression, the _NA_ viewing angles _τj_ and displacements _δ_ _j_ are assumed to be given as input, as are the image- or micrograph-specific CTF functions _CTFj_ ( _k_ ) and images _A_ <sup>ˆ</sup> _j_ ( _k_ ). The unknown (to be determined) is the volume _F_ <sup>ˆ</sup> ( _k_ ). This least-squares problem is standard in maximum-likelihood estimation, and versions of this problem are solved in many software packages, often via conjugate gradient iteration applied to the normal equations. As written, the least-squares problem above has a block-structure: different _k_ values are independent from one another. Thus, the problem can be solved by determining the _k_ -shell _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> ) from the _k_ -rings _A_ <sup>ˆ</sup> _j_ ( _k, ψ_ ) for one _k_ value at a time. However, the problem stated in (66) is slightly misleading, as the residuals for each of the _k_ values are not directly comparable due to the fact that 27 different _k_ -shells have different variances associated with them (see section A.11). To account for this, we rewrite (66) as:   - _w_ ( _k_ ) _· CTF_ 1( _k_ ) _⊙_ ... ~~�~~ _w_ ( _k_ ) _· CTFNA_ ( _k_ ) _⊙_ - _Sl_ ˆ _◦R_ ( _τ_ 1) _◦_ - _Sl_ ˆ _◦R_ ( _τNA_ ) _◦_ ~~�~~ _w_ ( _k_ ) _· T_ ( _−_ _δ_ 1 _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> 1( _k_ ) ... - _w_ ( _k_ ) _· T_ ( _−_ _δ_ _NA_ _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> _NA_ ( _k_ )  , (67)   _·_ _F_ ˆ( _k_ ) _≈_   where the function _w_ ( _kr_ ) is the radial quadrature weight. With this formulation, the residual (calculated using the standard vector 2-norm) is (up to a quadrature error) equal to an integral representing the log-likelihood that the volume _F_ <sup>ˆ</sup> ( _k_ ) could have produced the observed images _A_ ˆ _j_ ( _k_ ) (under the assumptions about the noise-model described in section A.10). A.20 Principal-mode least-squares reconstruction The same general methodology above can be applied to the principal images directly. To describe the modified least-squares system, we first define the low-rank decomposition of the radial component of the CTF-functions. Let _CTF_ ( _k, j_ ) correspond to the radial component of the CTF-function _CTFj_ ( _k_ ). Using the discretized analog of a functional SVD we represent _CTF_ ( _k, j_ ) by _h_ <sup>_′_</sup> <sup>_′v_</sup> _h_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_j_</sup> <sup>),</sup> (68) _CTF_ ( _k, j_ ) = _h_ <sup>_′_</sup> _u_ <sup>_′_</sup> _h_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_· σ_</sup> _h_ <sup>_′_</sup> which we can truncate at rank _H_ <sup>_′_</sup> in accordance with the global tolerance. In the numerical experiments we present below, the image pools typically span 30 or so micrographs, usually resulting in _H_ <sup>_′_</sup> about 2 _−_ 3. Using this _H_ <sup>_′_</sup> -rank decomposition of the CTF-array (across the image pool), we can approximately represent the noiseless principal images as follows: _CTFj_ ( _k_ ) _⊙_ _Sl_ ˆ _◦R_ ( _τj_ ) _◦_ _F_ ˆ ( _k_ ) _≈_ _H_ <sup>_′_</sup> _h_ <sup>_′_</sup> =1 _v_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)</sup> <sup>_σ_</sup> _h_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>_· u′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_∥_</sup> <sup>_k_</sup> <sup>_∥_</sup> <sup>)</sup> <sup>_⊙_</sup> - _Sl_ ˆ _◦R_ ( _τj_ ) _◦_ _F_ ˆ ( _k_ ). (69) After using the radial principal modes to compress both this approximation and the associated component of the right hand side of (67), we obtain: _H_ <sup>_′_</sup> _h_ <sup>_′_</sup> =1 . (70) - ( _k_ ) = _uh_ ( _k_ ) ⊺ <sup>�</sup> _T_ ( _−_ _δ_ _j,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> ( _k_ ) . (70) _u_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_⊙_</sup> - _Sl_ ˆ _◦R_ ( _τj_ ) _◦_ _F_ ˆ _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)</sup> <sup>_σ_</sup> _h_ <sup>_′_</sup> _v_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>_· uh_</sup> ⊺ <sup>�</sup> By defining the CTF-modulated principal volume: - _u_ <sup>_′_</sup> <sup>)</sup>, _G_ ˆ( _k,_ ˆ _k_ ; _h_ <sup>_′_</sup> _,_ _F_ ˆ) = _U_ <sup>⊺</sup> _·_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_⊙_</sup> <sup>_F_</sup> <sup>ˆ(</sup> <sup>_k,_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>)</sup> we can now write the compressed least-squared problem as: _T_ ( _−_ _δ_ 1 _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> 1( _k_ )� ... _vh_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_NA_</sup> <sup>)</sup>   _U_ <sup>⊺</sup> <sup>�</sup> _U_ <sup>⊺</sup> <sup>�</sup> <sup>�</sup> _T_ ( _−_ _δ_ _NA_ _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> _NA_ ( _k_ )� - _S_ ˆ _◦R_ ( _τ_ 1) _◦_ ... _H_ <sup>_′_</sup> _h_ <sup>_′_</sup> =1 _vh_ <sup>_′_</sup> <sup>_′_</sup> <sup>(1)</sup> _σh_ <sup>_′_</sup> <sup>_′_</sup> _σ_ <sup>_′_</sup>     _·_ _G_ ˆ( _k_ ; _h′,_ _F_ ˆ) _≈_  (71) , - _S_ ˆ _◦R_ ( _τNA_ ) _◦_ where the radial reweighting of - _w_ ( _k_ ) in (67) is accounted for by our definition of _U_ <sup>⊺</sup> . Note that, when _H_ <sup>_′_</sup> = _H_ = _R_ the equation above is equivalent to (67). However, when _H_ <sup>_′_</sup> _<_ _R_ and _H_ _<_ _R_ this will correspond to a projected version of (67). 28 Note also that, with this representation, we need not actually solve for _F_ <sup>ˆ</sup> ( _k_ ). Instead, we can use the principal images (on the right hand side) to solve the above problem (in a least-squares sense) for the collection of CTF-modulated principal volumes _G_ <sup>ˆ</sup> ( _k_ ; _h_ <sup>_′_</sup> _,_ _F_ <sup>ˆ</sup> ). Solving (71) can be less computationally costly than solving (67) when the total number of degrees of freedom within the various _G_ <sup>ˆ</sup> is less than the total number of degrees of freedom within _F_ <sup>ˆ</sup> (i.e., when _H_ _× H_ <sup>_′_</sup> _<_ _R_ ). Even when this is not the case, the CTF-modulated principal volumes _G_ <sup>ˆ</sup> (the solution to (71)) can still be more accurate (in terms of comparison to the ground truth) than the solution _F_ <sup>ˆ</sup> to (67). We see this improvement most acutely when the principal mode reduction _U_ <sup>⊺</sup> effectively removes noise from the images _A_ <sup>ˆ</sup> _j_ (e.g., if there are many frequency rings which contain little to no information). We remark that, when dealing with least-squares reconstruction and principal mode reduction, ‘the diagram commutes’. That is, because the principal mode projection _U_ <sup>⊺</sup> is orthonormal, the principal mode projection _U_ <sup>⊺</sup> <sup>�</sup> _CTF_ _·_ _F_ <sup>ˆ</sup> - (i.e., the principal projection of the full volume which solves the original least-squares problem in (67)) will be the same as the solution <sup>�</sup> _h_ <sup>_′ v′σ′_</sup> <sup>ˆ</sup> <sup>_G_</sup> <sup>to</sup> <sup>the</sup> principally-projected least-squares problem in (71), provided of course that the _H_ <sup>_′_</sup> -rank decomposition of the CTF-array is accurate (e.g., if _H_ <sup>_′_</sup> is taken to _R_ ). Thus, if _H ×_ _H_ <sup>_′_</sup> is indeed larger than _R_, then instead of solving (71), we can obtain _G_ <sup>ˆ</sup> more easily by just solving the original least-squares problem for _F_ <sup>ˆ</sup> and then projecting down to the CTF-modulated principal volumes _G_ <sup>ˆ</sup> . Note also that, due to linearity, the noiseless images associated with the CTF-modulated principal volumes _G_ <sup>ˆ</sup> will approximately equal the noiseless principal images associated with the volume _F_ <sup>ˆ</sup>, with errors controlled by the truncation _H_ <sup>_′_</sup> of the CTF-values. That is to say, a principal mode compression of (69) can be written as: _CTF_ _·_ _F_ <sup>ˆ</sup> (i.e., the principal projection of the full volume which solves the original least-squares problem in (67)) will be the same as the solution <sup>�</sup> _h_ <sup>_′ v′σ′_</sup> <sup>ˆ</sup> <sup>_G_</sup> <sup>to</sup> <sup>the</sup> principally-projected least-squares problem in (71), provided of course that the _H_ <sup>_′_</sup> -rank decomposition of the CTF-array is accurate (e.g., if _H_ <sup>_′_</sup> is taken to _R_ ). Thus, if _H ×_ _H_ <sup>_′_</sup> is indeed larger than _R_, then instead of solving (71), we can obtain _G_ <sup>ˆ</sup> more easily by just solving the original least-squares problem for _F_ <sup>ˆ</sup> and then projecting down to the CTF-modulated principal volumes _G_ <sup>ˆ</sup> . _U_ <sup>⊺</sup> <sup>�</sup> _CTFj_ ( _k_ ) _⊙_ _H_ <sup>_′_</sup> _h_ <sup>_′_</sup> =1 _v_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)</sup> <sup>_σ_</sup> _h_ <sup>_′_</sup> _h_ <sup>_′_</sup> <sup>_′_</sup> <sup>_·_</sup> - _S_ ˆ _◦R_ ( _τj_ ) _◦_ _G_ ˆ( _k_ ; _h_ <sup>_′_</sup> _,_ _F_ ˆ) ( _k_ ). (72) - _S_ ˆ _◦R_ ( _τj_ ) _◦_ _F_ ˆ - ( _k_ ) _≈_ ( _k_ ) This relationship can be used to align the principal images _U_ <sup>⊺</sup> _A_ <sup>ˆ</sup> _j_ directly to the solution _G_ <sup>ˆ</sup>, without necessarily needing to reconstruct _F_ <sup>ˆ</sup> (see section A.22). Reconstruction via quadrature back propagation (QBP) In our experience, an accurate approximation of the solution to the least-squares problem above can require a significant amount of computation time when the conjugate gradient method requires many iterations to converge. As a more efficient (but typically less accurate) alternative, we employ a slightly different strategy. We refer to this alternative as ‘quadrature-back-propagation’ (QBP). The basic observation underlying QBP is that, assuming that there was no image noise and no CTF-attenuation, then the volume and images would solve:   _T_ ( _−_ _δ_ 1 _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> 1( _k_ ) ... _T_ ( _−_ _δ_ _NA_ _,_ _k_ ) _⊙_ _A_ <sup>ˆ</sup> _NA_ ( _k_ )     _Sl_ ˆ _◦R_ ( _τ_ 1) _◦_ ... _Sl_ ˆ _◦R_ ( _τNA_ ) _◦_   _·_ _F_ ˆ = with each template _Sl_ <sup>ˆ</sup> _◦R_ ( _τj_ ) _◦_ _F_ <sup>ˆ</sup> corresponding to a cross-section of the volume _F_ <sup>ˆ</sup> ( _k_ ). Each of these cross-sections can be viewed as a sample of the overall volume _F_ <sup>ˆ</sup> ( _k_ ), with values given by the appropriate entry on the right-hand-side of the equation above. With sufficiently many crosssectional samples, a functional representation of the volume _F_ <sup>ˆ</sup> can be reconstructed via quadrature in the spherical harmonic basis via a spherical harmonic transform. That is, we have the approximate formula - _†_ _F_ ˆ( _k,_ ˆ _k_ _p_ ) _∀_ _l, ∥m∥, l′, ∥m′∥≤_ _L_ . - _Yl_ <sup>_m_</sup> _f_ ( _k_ ; _l, m_ ) _≈_ _p_ _wp_ _l_ <sup>_m_</sup> <sup>(ˆ</sup> <sup>_k_</sup> <sup>_p_</sup> <sup>)</sup> where _{_ _k_ <sup>ˆ</sup> _p, wp}_ correspond to a quadrature rule on the sphere. The number of such nodes is of the order [ _O_ ( _k_ )] <sup>2</sup> on the spherical _k_ -shell. (Equispaced points in the azimuthal direction and Legendre 29 points in the polar angle, for example, are spectrally accurate.) Because the data points will not generally coincide with the necessary quadrature nodes, we interpolate from the given data to the nodes in some local neighborhood. A simple rule would be to take the local average over all data points that lie within some distance of the node. Note that this strategy is not iterative and is typically an order of magnitude (or so) faster than a least-squares reconstruction. In the absence of image-noise, the error in the reconstruction of _f_ ( _k_ ; _l, m_ ) will come from the ‘interpolation error’ associated with interpolating from the cross-sectional sample data to the quadrature nodes. When the image-noise is nonzero and the interpolation regions are fixed in size, then the approximation to _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> _p_ ) will exhibit two sources of error. In addition to the interpolation error, there is a sampling error due to the image noise at each cross-sectional sample-point. In practice, we generally choosing the local neighborhood of the quadrature nodes to be sufficiently large to contain roughly _O_ (10 <sup>1</sup> <sup>_−_</sup> <sup>2</sup> ) sample points. This is usually sufficient for two digits of accuracy (coinciding with our usual global error tolerance). The above strategy can easily be generalized to deal with image-specific CTF-values. The QBP approach above essentially treats each sample within the local interpolation region of each quadrature node as a noisy observation of _F_ <sup>ˆ</sup> ( _k,_ _k_ <sup>ˆ</sup> _p_ ). The average can be thought of as a local maximum-likelihood estimate. Since different data points might correspond to different CTF functions, we can simply compute the CTF-weighted local averages instead. This strategy coincides with the CTF-weighting of Bayesian inference described in [7, 11]. A.21 Remark regarding further template compression If the ranks _H_ and _H_ <sup>_′_</sup> are both sufficiently small (e.g., 2 _−_ 4 and 1 _−_ 2, respectively), then the dimensionality of the space of CTF-modulated principal templates (as measured via the numerical rank) is very small, and usually quite a bit smaller than the actual number of principal templates (i.e., the number of viewing-directions). This would allow for additional compression, using a reduced set of ‘basis’-templates (which span the space of templates) rather than the actual templates themselves. In our numerical experiments we do not implement this compression because our _H_ and _H_ <sup>_′_</sup> are typically too large for it to be efficient. A.22 Image alignment Just as for the reconstruction step, image alignment is often performed multiple times during molecular refinement. For standard AM, the inputs to the alignment process are the estimated molecular volume _F_ <sup>ˆ</sup> <sup>estim</sup> ( _k_ ), as well as the picked-particle images _A_ <sup>ˆ</sup> _j_ ( _k_ ) and associated CTF-functions _CTFj_ ( _k_ ). The outputs are the estimated viewing angles _τj_ <sup>estim</sup> and displacements _k_ estim _j_ for the _CTFj_ ( _k_ ). The outputs are the estimated viewing angles _τj_ <sup>estim</sup> and displacements _k_ estim _j_ for the various images. In our case we will make use of both the standard maximum-likelihood alignment, as well as a more stable ‘maximum-entropy’ alignment (described below). A.23 Alignment via maximum likelihood For this, we calculate the quantities _X_, _X_ ˆ and _Z_, described in section 2.1, for a collection of _T_ = _O_ ( _K_ <sup>2</sup> ) viewing directions _αt_ and _βt_ corresponding to our spherical shell quadrature grid for _k_ <sup>ˆ</sup> at _k_ = _kR_ _≈_ _K_ . For each of these viewing-directions ( _αt, βt_ ), we consider a range of _O_ ( _K_ ) values for _γ_ in [0 _,_ 2 _π_ ). For the displacements, we typically limit them to lie in a small disk of radius _δ_ local _∼_ 0 _._ 01 or so, taking advantage of the low numerical rank of the set of translation-operators within this disk [17, 25]. _j_ <sup>estim</sup> and displacements _k_ Given the correlations _Z_ ( _αt, βt_ ; _A_ <sup>ˆ</sup> _j_ ), a common strategy for updating the viewing angles _τj_ <sup>estim</sup> _j_ and displacements _δ_ estim _j_ (referred to as ‘maximum-likelihood’ alignment), involves selecting the _τj_ (and, as a result, the _δ_ estim _j_ ) for each image _j_ to maximize _Z_ ( _αt, βt_ ) over the _T_ viewing directions estim _j_ (referred to as ‘maximum-likelihood’ alignment), involves selecting the _τj_ <sup>estim</sup> (and, as a result, the _δ_ estim _j_ ) for each image _j_ to maximize _Z_ ( _αt, βt_ ) over the _T_ viewing directions for that particular image _j_ . In the ideal situation where the image formation model is accurate, this choice corresponds to the viewing-angle that is most likely to have produced the particular image 30 _A_ ˆ _j_, given that the molecule is indeed _F_ ˆ <sup>estim</sup> . In practice we do not define _τj_ <sup>estim</sup> to be the very best _α_ and _β_ for each image, instead randomly selecting an _αt_ and _βt_ for which _Z_ ( _αt, βt_ ) is within the top 5 <sup>th</sup> -percentile of its values for that image [16]. The results of our numerical-experiments are quite insensitive to this value of 5%; any choice from 1% to _∼_ 10% achieves similar performance for maximum-likelihood alternating minimization. Let us define the function Sort[ _·_ ] which maps lists of real-numbers to lists of positive integers such that, for any vector _a_ _∈_ R <sup>_L_</sup>, the value of Sort[ _a_ ] _l_ is the (integer) rank of _al_ (ranging from 1 _, . . ., L_ as it stands within the entries of _a_ ). As noted in section 2.1, we can see that the template ranks are obtained by applying Sort[ _·_ ] to each ‘column’ of the array _Z_ ( _αt, βt_ ; _A_ <sup>ˆ</sup> _j_ ) (fixing _j_ ), while the image ranks are obtained by applying Sort[ _·_ ] to each ‘row’ of the same array (fixing _t_ ). The maximumlikelihood alignment described above depends on the template ranks, while the maximum-entropy alignment (described below) depends on the image ranks. A.24 Alignment via maximum-entropy The maximum-likelihood alignment described above can be thought of as a ‘greedy’ algorithm which selects the estimated viewing angles for each image without consideration of the choices made for the other images. As a result of this greedy strategy, the estimated viewing angle distribution (across all _τj_ <sup>estim</sup> ) is not controlled, and can end up becoming quite far from the true viewing-angle distribution (until the volume used to generate the templates is sufficiently accurate). To avoid this phenomenon, one can choose the _τj_ <sup>estim</sup> while constraining the distribution of es timated viewing angles in some way. A simple special case of this strategy is to constrain the distribution of estimated viewing angles to be uniform. We refer to such an alignment strategy as ‘maximum-entropy’ alignment (referring to the entropy of _µ_ <sup>estim</sup> _τ_ ). In practice we implement this maximum-entropy alignment as follows: 1. Declare all the images ‘unassigned’. 2. Define a list of _NA_ uniformly distributed viewing-directions _k_ <sup>ˆ</sup> _j_ = ( _αj, βj_ ) on the sphere. (This is typically done by cycling through a randomly-permuted list of the _T_ viewing-angles ( _αt, βt_ ) until _NA_ viewing-directions have been selected). 3. Step through the list of viewing directions. For each viewing-direction (defined by a particular _α_ and _β_ ), assign the image _A_ <sup>ˆ</sup> _j_ that has not previously been assigned and which maximizes _Z_ ( _α, β_ ; _A_ <sup>ˆ</sup> _j_ ) (over the unused image-indices _j_ ). When assigning an image _A_ <sup>ˆ</sup> _j_ to a particular viewing direction _α_, _β_, we set the in-plane rotation _γj_ <sup>estim</sup> and displacement _δ_ estim _j_ implicitly via viewing direction _α_, _β_, we set the in-plane rotation _γj_ <sup>estim</sup> and displacement _δ_ estim _j_ implicitly via the arg max (see the definition of _Z_ in Eq 9). _j_ <sup>estim</sup> and displacement _δ_ Note that the third step of this procedure uses the image ranks for each template (rather than the template ranks for each image). In some cases the image ranks and template ranks contain similar information (see, e.g., the results for ISWINCP in Fig 2). However, it is more typical for the image ranks to be more informative than the template ranks (see the other case studies in Figs. 2 and 11). Intuition might suggest that maximum-entropy alignment is a reasonable strategy if the true viewing angle distribution is known to be uniform, and not otherwise. Nevertheless, as illustrated in the main text, our EMPM iteration still often produces results that are significantly better than maximum-likelihood alignment, even for cryo-EM data where the true viewing angle distribution is rather nonuniform. We study this behavior in some detail for simplified models in sections B and C below. #### B Multi-Reference Alignment (MRA) Multi-Reference Alignment (MRA) is an abstraction of the cryo-EM molecular reconstruction problem, reduced to a two-dimensional setting. 31 In this context the image displacements and CTF-modulation are typically ignored, and we assume (i) the imaged molecule itself is translationally invariant in the _x_ 3-direction, and (ii) the imaged molecule is only observed from the _x_ 3-axis. Because of (i), the function _F_ ( _x_ ) will be determined by _F_ ( _x_ 1 _, x_ 2), and _F_ <sup>ˆ</sup> ( _k_ ) will be restricted to the equatorial-plane, as denoted by _F_ <sup>ˆ</sup> ( _k, ψ_ ). Additionally, due to (ii), each ‘image’ _A_ <sup>ˆ</sup> _j_ will be a noisy version of _F_ <sup>ˆ</sup> ( _k, ψ_ ), subject to an unknown in-plane rotation _γj_ : _A_ ˆ _j_ ( _k, ψ_ ) = [ _R_ ( _γj_ ) _◦_ _F_ ˆ]( _k, ψ_ ) + noise = _F_ ˆ( _k, ψ −_ _γj_ ) + noise _._ If we further assume that the true volume _F_ <sup>ˆ</sup> involves only a single _k_ -shell, then each image is restricted to a single _k_ -ring, and can be considered a periodic function on [0 _,_ 2 _π_ ]. The MRA problem has been well studied [26, 27, 28], and can be used to gain insight into the behavior of many reconstruction strategies. It can be used, for example, to investigate the sensitivity of Bayesian inference (BI) to mismatches between the estimated and true noise levels (see Fig 6). #### C Multi-Slice Alignment (MSA) An ‘orthogonal’ sub-problem to MRA, which we refer to as Multi-Slice Alignment (MSA), can be described as follows. As in MRA, we ignore displacements and the CTF and assume that the volume is invariant in the _x_ 3-direction. However, in MSA, we assume that the imaged molecule is only observed from the equatorial plane. With this assumption the images will correspond to projections of _F_ ( _x_ ) onto one-dimensional lines in the _x_ 1- _x_ 2-plane (i.e., samples of the two-dimensional Radon transform of _F_ ( _x_ 1 _, x_ 2)). Thus, retaining the notation _A_ <sup>ˆ</sup> _j_, each image corresponds to a one-dimensional slice of _F_ <sup>ˆ</sup> ( _k, ψ_ ), expressed as a function of _k_ _∈_ R for a specific (but unknown) _ψj_ : _A_ ˆ _j_ ( _k_ ) = _F_ ˆ( _|k|, ψj_ ) + noise if _k_ _>_ 0, or _F_ ˆ( _|k|, ψj_ + _π_ ) + noise if _k_ _<_ 0. To simplify the scenario further, we restrict each image to the ray of positive _k_ : _A_ ˆ _j_ ( _k_ ) = _F_ ˆ( _k, ψj_ ) + noise for _k_ _>_ 0. If we further assume that the true volume _F_ can take on arbitrary complex values, and that _F_ <sup>ˆ</sup> involves only a single _k_ -shell, then _F_ <sup>ˆ</sup> corresponds to a closed-curve in C, written as the function _G_ ˆ( _ψ_ ), parametrized by _ψ_ . Each image is now simply a point, corresponding to a noisy observation of _G_ <sup>ˆ</sup> ( _ψ_ ). If we assume that the true volume _F_ <sup>ˆ</sup> involves a discrete set of _R_ _k_ -values _{k_ 1 _, . . ., kR}_, then _G_ <sup>ˆ</sup> will be a closed curve in C <sup>_R_</sup> (once again parametrized by _ψ_ ), and each image will be a vector in C <sup>_R_</sup> corresponding to a noisy observation of _G_ <sup>ˆ</sup> ( _ψj_ ). An example illustrating the MSA problem for _R_ = 1 is shown in Fig 7. Numerical experiments: We believe that MSA can be a useful testbed for studying the performance of various strategies for cryo-EM reconstruction. As a simple example, let _R_ _≡_ 1 above and define _G_ <sup>ˆ</sup> <sup>true</sup> : [0 _,_ 2 _π_ ) _→_ C using a fixed number of Fourier modes: _G_ ˆ true( _ψ_ ) = + _Q_ _q_ = _−Q_ _g_ true( _q_ ) _·_ exp( _iqψ_ ), with the shape of _G_ <sup>ˆ</sup> <sup>true</sup> determined by the 2 _Q_ + 1 coefficients _gq_ <sup>true</sup> . In the experiments below, we generate _G_ <sup>ˆ</sup> <sup>true</sup> randomly by drawing each of the _gq_ <sup>true</sup> from a (complex) Gaussian distribution with variance 1. Having drawn a particular _G_ <sup>ˆ</sup> <sup>true</sup>, we sample this molecule at _NA_ points, producing a collection of simulated data points _A_ <sup>ˆ</sup> _j_ defined by: _A_ ˆ _j_ = _G_ ˆ true( _ψj_ ) + _ϵj_, 32 where the _ψj_ are drawn independently and uniformly from [0 _,_ 2 _π_ ), and each _ϵj_ is an independent complex random variable drawn from a normal distribution with variance _σ_ . Now, given the collection of _NA_ images _{A_ <sup>ˆ</sup> _j}_, we can try to reconstruct _G_ <sup>ˆ</sup> <sup>true</sup> using the strategies discussed in the main text. Due to the simplicity of MSA, much of the apparatus described in the main text simplifies dramatically. For example, reconstruction involves a subsampled and/or non-uniform Fourier transform, and alignment involves calculating the distance between each image point and the curve _G_ <sup>ˆ</sup> as a function of _ψ_ . Many features of this toy problem are expected. For example, when _σ_ = 0 the images lie exactly on the curve _G_ <sup>ˆ</sup> <sup>true</sup> . If we begin the alignment process with an initial guess _G_ <sup>ˆ</sup> <sup>init</sup> = _G_ <sup>ˆ</sup> <sup>true</sup> for the molecule, then each image will be aligned exactly to its correct viewing-angle _ψj_ <sup>true</sup> (up to a global phase-shift). Subsequent reconstruction steps will produce _G_ <sup>ˆ</sup> <sup>estim</sup> = _G_ <sup>ˆ</sup> <sup>true</sup>, so long as the number of observed points _NA_ is at least as large as the number of modes 1 + 2 _Q_, and the reconstruction operator is well-conditioned (i.e., if the image-points are not too closely clumped together). Put more simply, if _σ_ = 0 and _NA_ _≥_ 1 + 2 _Q_ then, generically speaking, a maximum-likelihood alternating minimization starting with _G_ <sup>ˆ</sup> <sup>init</sup> = _G_ <sup>ˆ</sup> <sup>true</sup> as an initial-function will be stable. However, even in this simple scenario (i.e., with _σ_ = 0), if we were to attempt maximum-likelihood alternating minimization with a different initial function then we are not guaranteed to converge to _G_ ˆ. Indeed, if _NA_ is not too large, there will typically be many different functions with the same bandlimit of _Q_ that pass close to the observed points _A_ <sup>ˆ</sup> _j_ . Which of these functions we converge to will depend on the details of the reconstruction process. The situation becomes more complicated once we add image noise; when _σ_ _>_ 0 even an initial guess of _G_ <sup>ˆ</sup> <sup>init</sup> = _G_ <sup>ˆ</sup> <sup>true</sup> will not necessarily lead to convergence to a function _G_ <sup>ˆ</sup> <sup>estim</sup> that is close to _G_ <sup>ˆ</sup> <sup>true</sup> . To probe this phenomenon, we perform a set of numerical-experiments. We initialize our reconstruction with a function of the form: true + (1 _−_ _λ_ ) _·_ _G_ ˆ rand, _G_ ˆ init := _λ ·_ _G_ ˆ where _G_ <sup>ˆ</sup> <sup>rand</sup> is a random function drawn the same way as (but independent from) _G_ <sup>ˆ</sup> <sup>true</sup>, and _λ_ is a parameter describing how close _G_ <sup>ˆ</sup> <sup>init</sup> is to the ground truth. Given a particular _G_ <sup>ˆ</sup> <sup>init</sup>, we perform the reconstruction, iterating until the resulting _G_ <sup>ˆ</sup> <sup>estim</sup> converges. For each trial we can then measure the error _E_ between _G_ <sup>ˆ</sup> <sup>estim</sup> and _G_ <sup>ˆ</sup> <sup>true</sup> . In order to reward trials where _G_ <sup>ˆ</sup> <sup>estim</sup> and _G_ <sup>ˆ</sup> <sup>true</sup> are close to one another, even if they are parametrized differently, we define the error _E_ as follows: First we define _d_ ( _G_ <sup>ˆ</sup> <sup>estim</sup> _←_ _G_ <sup>ˆ</sup> <sup>true</sup> ( _ψ_ )) to be the distance between _G_ <sup>ˆ</sup> <sup>true</sup> ( _ψ_ ) (i.e., a point in C) and the curve _G_ <sup>ˆ</sup> <sup>estim</sup> . We then define the error _E_ ( _G_ <sup>ˆ</sup> <sup>estim</sup> _←_ _G_ <sup>ˆ</sup> <sup>true</sup> ) as the integral of _d_ <sup>2</sup> ( _G_ <sup>ˆ</sup> <sup>estim</sup> _←_ _G_ <sup>ˆ</sup> <sup>true</sup> ( _ψ_ )) over _ψ_ . Similarly, we define _d_ ( _G_ <sup>ˆ</sup> <sup>true</sup> _←_ _G_ <sup>ˆ</sup> <sup>estim</sup> ( _ψ_ )) to be the distance between _G_ <sup>ˆ</sup> <sup>estim</sup> ( _ψ_ ) and the curve _G_ <sup>ˆ</sup> <sup>true</sup>, and define the error _E_ ( _G_ <sup>ˆ</sup> <sup>true</sup> _←_ _G_ <sup>ˆ</sup> <sup>estim</sup> ) as the integral of _d_ <sup>2</sup> ( _G_ <sup>ˆ</sup> <sup>true</sup> _←_ _G_ <sup>ˆ</sup> <sup>estim</sup> ) over _ψ_ . Finally, we define the overall error _E_ = max( _E_ ( _G_ <sup>ˆ</sup> <sup>true</sup> _←_ _G_ <sup>ˆ</sup> <sup>estim</sup> ) _, E_ ( _G_ <sup>ˆ</sup> <sup>estim</sup> _←_ _G_ <sup>ˆ</sup> <sup>true</sup> )) to be the larger of the two. Figure 8 illustrates the average _E_ (accumulated over 512 random trials) for three different reconstruction strategies across a range of _λ_ and _σ_ values. On the left we show the results for Bayesian inference, where we set the estimated noise level equal to the true noise level (i.e., _σ_ ) when reconstructing the molecule. Note that Bayesian inference is quite accurate when the initial guess is accurate (i.e., when _λ_ = 1). However, when _λ <_ 1 and there is a mismatch between the initial guess and the true function, Bayesian inference typically performs quite poorly. Similarly, we can apply standard maximum-likelihood alternating minimization (AM). This is equivalent to Bayesian inference with an estimated noise level of 0. The results for AM are identical to those shown on the left when _σ_ = 0. However, as soon as a little image noise is added ( _σ_ _>_ 0), AM typically converges to a _G_ <sup>ˆ</sup> <sup>estim</sup> which is wildly different from _G_ <sup>ˆ</sup> <sup>true</sup>, with errors that are an order of magnitude larger than those shown for Bayesian inference (which was run with an estimated noise-level of _σ_ ). We do not display the (large) errors observed for standard AM. In the middle, we show the results for a simple alternating minimization scheme using maximumentropy alignment at each step. On the right we show the results for our preferred EMPM strategy: namely, alternating between maximum-likelihood and maximum-entropy alignment. Note that, 33 while our preferred strategy is less accurate than Bayesian inference when _σ_ is small and _G_ <sup>ˆ</sup> <sup>init</sup> = _G_ <sup>ˆ</sup> <sup>true</sup>, it is more accurate in this regime when _σ_ _>_ 0 and _λ <_ 1. Figure 9 illustrates the results of a similar numerical experiment, where the images are drawn from a non-uniform distribution of viewing angles. For this numerical experiment, we consider viewing angle distributions of the form exp( _β_ cos( _ψ_ )) _/_ (2 _πI_ 0), controlled by a parameter _β_ . When _β_ = 0 the viewing angle distribution is uniform, and as _β_ increases, the viewing angle distribution becomes more and more sharply peaked around _ψ_ = 0. Results for _λ_ = 0 are shown in Fig 9. The results with _β_ = 0 are the same (in distribution) as the _λ_ = 0 scenario in Fig 8. Note that EMPM is typically more accurate than Bayesian inference in this regime. #### D Relion De-Novo parameters: When using Relion’s de-novo molecular reconstruction, we use the following parameters. ``` --sgd i ni i ter 50 --sgd i nbetween i ter 200 --sgd f in i ter 50 --sgd w rite i ter 20 --sgd i ni r esol 35 --sgd f in r esol 15 --sgd i ni s ubset 100 --sgd f in s ubset 500 --sgd --denovo 3 dref --ctf --K 1 --sym C1 --flatten s olvent --zero m ask --dont combine weights v ia d isc --pool 3 --pad 1 --skip g ridding --oversampling 1 --healpix o rder 1 --offset r ange 8 --offset s tep 2 --j 6 ``` Additionally, we set the `--particle` ~~`d`~~ `iameter` to be commensurate with the true molecule diameter (rounded up to the nearest 50 or 100 <sup>˚</sup> A). #### E EMPM parameters: When performing the EMPM reconstructions shown in the main text, we fixed _K_ = 48, corresponding to a maximum resolution of _∼_ 20 <sup>˚</sup> A, as is typical for low-resolution estimates. Our EMPM algorithm also requires two other user-specified parameters: the overall tolerance _ϵ_ tol and the width of the local displacement disk _δ_ local. As shown in Fig 13, the typical quality of our results does not change appreciably if these parameters are varied across an order of magnitude. We also run our algorithm for 64 iterations. As shown in Fig 14, the median quality of our results does not deteriorate appreciably if we reduce the number of iterations by a modest factor. As mentioned in the main text, the overall computation time for our algorithm is roughly constant per iteration (i.e., between 30 _−_ 50 minutes on a desktop workstation for all 64 iterations). In principle, we expect the overall computation time of our algorithm to grow as _ϵ_ tol becomes very small or _δ_ local becomes very large. The reason we do not see a strong dependence on computation time for the range of parameters shown here is that, within this regime, the array dimensions involved are not so large (i.e., _∼_ 10 <sup>2</sup> _−_ 10 <sup>3</sup> per dimension). As a consequence, roughly half of the overall computational effort is spent on memory movement rather than floating-point operations. 34 #### _σtrue_ Figure 6: In this figure we illustrate the typical errors observed when using Bayesian inference to tackle the MRA problem. For this numerical experiment we set _G_ <sup>ˆ</sup> <sup>true</sup> to be a random function with _Q_ = 8 (i.e., 1 + 2 _Q_ = 17 degrees of freedom). The real (red) and imaginary (blue) parts of _G_ <sup>ˆ</sup> <sup>true</sup> are shown on the left. We set _NA_ = 2048, with _ψj_ <sup>true</sup> uniformly distributed in [0 _,_ 2 _π_ ]. We vary the true noise-level (horizontal) and the estimated noise-level (vertical). On the right-hand-side we show the _L_ <sup>2</sup> -error between _G_ <sup>ˆ</sup> <sup>true</sup> and _G_ <sup>ˆ</sup> <sup>estim</sup> . We calculate _G_ <sup>ˆ</sup> <sup>estim</sup> via bayesian-inference, starting with a random function with the same number of degrees of freedom as _G_ <sup>ˆ</sup> <sup>true</sup>, and iterating until convergence. The _L_ <sup>2</sup> -error on the right is scaled so that ‘1’ corresponds to the error between _G_ <sup>ˆ</sup> <sup>true</sup> and a constant function with the same mean. Note that when the true noise-level is moderate (e.g., around 0 _._ 5) there is only a narrow range of estimated noise-levels which admit accurate reconstructions (i.e., when _σ_ <sup>estim</sup> is close to _σ_ <sup>true</sup> ). Outside this narrow band the reconstruction can be quite poor, even when _σ_ <sup>estim</sup> is only 20% higher or lower than _σ_ <sup>true</sup> . 35 EMPM Figure 7: In this figure we illustrate the MSA problem with a single shell at _k_ = 1. In the first subplot we show one example of a function _G_ <sup>ˆ</sup> <sup>true</sup> ( _ψ_ ) plotted as a closed curve in C (black). _NA_ = 32 images are sampled from _G_ <sup>ˆ</sup> ( _ψ_ ), with each _ψj_ <sup>true</sup> drawn independently from a uniform distribution on [0 _,_ 2 _π_ ] (circles, colored periodically according to _ψj_ <sup>true</sup> ). The true noise-level used when generating the images is _σ_ <sup>true</sup> = 0 _._ 5. Starting with the ground-truth _G_ <sup>ˆ</sup> <sup>init</sup> = _G_ <sup>ˆ</sup> <sup>true</sup>, we apply Bayesian inference (BI) with the estimated noise level _σ_ <sup>BI</sup> set to equal _σ_ <sup>true</sup> . The resulting _G_ <sup>ˆ</sup> <sup>BI</sup> are shown in the second subplot, with early iterations in cyan and later iterations in magenta. We also apply the EMPM strategy, again starting with the ground-truth; the resulting _G_ <sup>ˆ</sup> <sup>EMPM</sup> are shown in the third subplot. Errors for BI (black) and EMPM (gray) are shown in the fourth sub-plot. Note that the error for EMPM oscillates as the iterations themselves alternate between maximum-likelihood- and maximum-entropy-alignment. In Fig 8 below we use as the error for EMPM the higher of the two alternating values. The data here correspond to one trial with _σ_ = 0 _._ 5 and _λ_ = 1 in Fig 8. 36 Error (EMPM) _σ_ _σ_ _σ_ Figure 8: In this figure we illustrate the recovery of Bayesian inference (left), maximum-entropy alternating minimization (center) and EMPM as applied to the MSA problem (see text). For each trial in this numerical experiment we define the true molecule using a _G_ <sup>ˆ</sup> constructed with _Q_ = 8, corresponding to 1 + 2 _Q_ = 17 degrees of freedom (each of the coefficients of _G_ <sup>ˆ</sup> are drawn independently from a normal distribution). We sample _NA_ = 32 images from _G_ <sup>ˆ</sup> (i.e., roughly 2 times the number of modes) and add noise with a magnitude given by _σ_ ranging from 0 to 1 (defined relative to the norm of _G_ <sup>ˆ</sup> ) (horizontal). For each noise level _σ_ we perform each reconstruction starting with an initial function of the form _λ_ _·_ _G_ <sup>ˆ</sup> +(1 _−_ _λ_ ) _·_ _G_ <sup>ˆ</sup> <sup>noise</sup>, with _G_ <sup>ˆ</sup> <sup>noise</sup> drawn randomly (and independently from _G_ <sup>ˆ</sup> ) and _λ_ ranging between 0 and 1 (vertical). For each value of ( _σ, λ_ ), we simulate 512 randomly generated trials; the heatmaps above average over these trials. Bayesian inference (left) is run with estimated noise level equal to the true noise level. In the middle, we show results for a simple alternating-minimization using only maximum-entropy alignment, rather than maximum-likelihood. (Maximum-likelihood-based AM fared even more poorly.) On the right we show the results for EMPM, with the error measured at the final maximum-entropy alignment step (which is typically higher than the error after the last maximum-likelihood alignment step). Error (EMPM) Figure 9: As in Fig 8, we compare various reconstruction methods for the MSA problem, but here we focus on viewing angle distribution. For this, we introduce a new parameter _β_ _∈_ [0 _,_ 3], where _β_ controls the nonuniformity of the viewing angle, with samples _ψj_ drawn from the distribution: exp( _β_ _·_ cos( _ψ_ )) _/_ (2 _πI_ 0( _β_ )). Examples of this distribution (multiplied by 2 _π_ ) are shown on the far right. When _β_ = 0 the viewing angles are uniformly distributed (cyan). When _β_ = 1 the viewing angle distribution ranges in density (from highest to lowest) by a factor of _e_ <sup>2</sup> . When _β_ = 3 the viewing angle distribution ranges in density by a factor of _e_ <sup>6</sup>, and is mostly supported in an interval with diameter _∼_ _π_ (magenta). We fix _λ_ _≡_ 0 (i.e., we start with a random function), and illustrate the errors using the same scale as in Fig 8, this time varying _β_ along the vertical axis. The horizontal axis refers to the noise level as in Fig. 8. 37 Figure 10: This figure (analogous to Fig. 1) plots level sets from the reconstructions using various Level sets from the volumes _F_ <sup>ˆ</sup> <sup>true</sup>, _F_ <sup>ˆ</sup> <sup>Oracle</sup>, _F_ <sup>ˆ</sup> <sup>OAM</sup>, _F_ <sup>ˆ</sup> <sup>OBI</sup>, _F_ <sup>ˆ</sup> <sup>OBI</sup>, and _F_ <sup>ˆ</sup> <sup>EMPM</sup> (left to right) for _LSUbl16dep,_ _MlaFEDB,_ _LetB1_ and _TMEM16F_ . 38 _LSUbl_ 17 _MlaFEDB_ _LetB_ 1 _TMEM_ 16 _F_ Figure 11: The correspondence between estimated and ground-truth viewing angles for the reconstructions shown in Fig 10. Three panels are shown for each molecule of interest. The left-most subplot is a scatterplot of the image-template correlations. The middle subplot is a scatterplot of the template ranks aggregated over all images, and the right-most subplot is a scatterplot of the image ranks aggregated over all templates. All are presented as heatmaps, with color corresponding to the log-density of the joint-distribution. This figure is the analog of Fig. 2 for _LSUbl16dep,_ _MlaFEDB,_ _LetB1_ and _TMEM16F_ . 39 Figure 12: As in Fig. 3. we illustrate the aligned correlation _Z_ <sup>mask</sup> between our various reconstructions and the ground-truth. Here we examine reconstructions for _LSUbl16dep,_ _MlaFEDB,_ _LetB1_ and _TMEM16F_ . The different horizontal bars indicate the values of _Z_ <sup>mask</sup> for different reconstruction strategies (coded by color) with different trials from the same strategy adjacent to one another (sorted by _Z_ <sup>mask</sup> ). At the top of each panel (centered) is the “Oracle” low resolution reconstruction for the indicated molecule. To the right in each panel, we show an EMPM reconstruction and to the left, we show a reconstruction obtained using one of the other pipelines which achieves poorer correlation scores. Note that the _Z_ <sup>mask</sup> values do tend to correlate with the image reconstruction quality. _letB1_ has a highly non-uniform distribution of ground-truth Euler angles. The distributions in the other cases are more uniform. (See Fig. 15.) 40 Figure 13: In this figure we illustrate the sensitivity of our results to perturbations in _ϵ_ tol (left) and _δ_ local (right). In each case we collect the results from all our reconstructions (across 8 molecules), transform each _Z_ <sup>mask</sup> into a normalized z-score (i.e., subtracting the mean _Z_ <sup>mask</sup> for that molecule, and then dividing by the standard-deviation across reconstructions for that molecule), and then plot the normalized z-score as a function of the selected parameter. Each dot corresponds to a reconstruction (633 in total), with the red line illustrating a linear fit. While there is a slight benefit to larger values of _δ_ local, and an even slighter benefit to smaller values of _ϵ_ tol, the variation in quality across reconstructions is more than an order of magnitude larger than the variation that can be attributed to the parameters (see _R_ <sup>2</sup> values). 41 Figure 14: In this figure we illustrate the sensitivity of our results to the number of iterations chosen. For this figure we collect the results from all our reconstructions (across 8 molecules), then transform each (unmasked) _Z_ into a normalized score (i.e., subtracting the final (unmasked) _Z_ for that reconstruction, and then dividing by the standard-deviation of the final _Z_ taken across reconstructions for that molecule). We then plot the 50 <sup>th</sup>, 15 <sup>th</sup> and 5 <sup>th</sup> percentile for the distribution of normalized scores as a function of the even iterations (i.e., those corresponding to an entropymaximizing alignment). Note that the former 32 iterations correspond to ‘phase-one’, where the principal-mode compression uses the empirical principal-modes, while the latter 32 iterations correspond to ‘phase-two’, where the principal-mode compression uses the volumetric principal-modes estimated after phase-one. Note that the median performance plateaus well before the final iteration of phase-two. If we were to halt our program earlier (after, say, only 16 iterations of phase-two) our results do not change considerably. 42 Figure 15: We illustrate the distribution of polar viewing-angle _β_ (ranging from [0 _, π_ ]) for the images used in reconstructing _LetB1_ (left) and _trpv1_ (right). In each case, the left-hand histogram shows the ground-truth distribution, while the right-hand histogram shows the distribution estimated from the reconstructions shown earlier. This distribution is normalized by sin( _β_ ) so that a uniform distribution of viewing-angles on the sphere will appear constant as a function of _β_ (rather than being proportional to sin( _β_ )). Note that, even after this normalization, the viewing-angles for _LetB1_ and _trpv1_ are strongly concentrated in certain regions of the sphere. The ground-truth distribution of _β_ for _LetB1_, for example, has more than 90% of its mass concentrated within _π/_ 14 of the equator. 43

섹션 본문 197문단 · 90,379자

(제목 없음)

1Single particle cryo-electron microscopy has become a critical tool in structural biology over the last decade, able to achieve atomic scale resolution in three dimensional models from hundreds of thousands of (noisy) two-dimensional projection views of particles frozen at unknown orientations. This is accomplished by using a suite of software tools to (i) identify particles in large micrographs, (ii) obtain low-resolution reconstructions, (iii) refine those low-resolution structures, and (iv) finally match the obtained electron scattering density to the constituent atoms that make up the macromolecule or macromolecular complex of interest.Here, we focus on the second stage of the reconstruction pipeline: obtaining a low resolution model from picked particle images. Our goal is to create an algorithm that is capable of ab initio reconstruction from small data sets (on the order of a few thousand selected particles). More precisely, we propose an algorithm that is robust, automatic, and fast enough that it can potentially be used to assist in the assessment of particle quality as the data is being generated during the microscopy experiment.

Introduction

2In single-particle cryo-electron microscopy (cryo-EM), a purified preparation of particles (proteins or macro-molecular complexes) is frozen in a thin sheet of ice, with each particle held in an unknown orientation. Using a weak scattering approximation, the image obtained can be viewed as a noisy projection of the particle's electron scattering density, which we denote by F (x), with optical aberrations modeled by what is called a contrast transfer function (CTF) [1,2]. The task at hand is to take the individual particle images, determine their orientations, and recover a high resolution characterization of F (x). This is typically accomplished through the Fourier slice theorem [3,4], which states that the two-dimensional Fourier transform of each projection image is a slice througĥ F (k), the three-dimensional Fourier transform of F (x) (modulated by the CTF).

3The specific slice obtained from a single image is determined by the orientation of the individual particle. With many particles at many distinct orientations,F (k) is well-sampled and F (x) can be obtained through the inverse Fourier transform. Thus, if the orientations are known, the reconstruction problem is linear and easily solved. The orientations, however, are not known, and the reconstruction problem is both nonlinear and non-convex. In practice, not only are the orientations unknown, but the particles must be correctly centered in order to invoke the Fourier slice theorem. The unknown displacement vector must also be learned for each particle image. We postpone a proper discussion of the mathematics to section 2 and the appendices (Supporting Information).

4From an experimental perspective, the initial stages of cryo-EM involve some hours of imaging, resulting in the collection of multiple micrographs, each containing a number of particle images. After sufficiently many micrographs are collected, the next steps involve particle picking (identifying individual particles in the micrographs), and the construction of a low-to medium-resolution molecule for further analysis and refinement. The latter step typically involves class averaging -finding particles that appear to have the same orientation and taking the average in order to improve the signal-to-noise ratio, but some algorithms proceed from the raw particle images themselves (as we do here).

5Despite recent advances in sample preparation, imaging and analysis, the cost of data collection can still be quite significant, and the availability of microscope time is a limited resource. In order for the picked-particle images to be useful, they must meet certain criteria: each should contain a single well-centered particle with a minimum of clutter, and the full set must cover a wide variety of viewing angles, sufficient to determine the full three-dimensional structure. Assuming that these criteria are met, these images (hopefully the least noisy and cleanest projection views) can then be used in downstream analyses. If the sample or the images are not of sufficient quality, it may be necessary to terminate the current experiment and repeat with a new sample, hoping to produce higher-quality particle images the next time.

6To reduce the time and cost of such experiments, there are many quality-control tasks that would be useful to carry out as early as possible. These include:

71. determining whether any picked-particle image contains a reasonably well-centered and isolated molecule.

82. estimating the viewing angles of the images (and checking that the range of viewing angles is sufficient to reconstruct the molecule).

93. estimating the displacements/shifts required to more precisely center the images. 4. estimating the image quality and the number of particles that will be needed to reconstruct the desired molecule at the desired resolution. 5. estimating the molecular structure itself at low-resolution (which feeds back to the estimates [1][2][3][4] In current practice, many of these issues are addressed after carrying out class averaging, which typically requires dozens of particles per class and tens of thousands of picked particles, although a number of reconstruction algorithms work directly on the raw data.

10In this paper, we describe an algorithm which can serve as a complement to more standard strategies. Our algorithm operates on a relatively small set of picked-particle images (say, a few thousand), and attempts to directly reconstruct (without class averaging) a low-resolution version of the imaged molecule, along with estimates of the viewing-angles, shifts and quality of the images involved. As we demonstrate below, our method is significantly faster, more accurate and more reliable than many existing de-novo reconstruction algorithms. We hope that it is robust enough to permit the assessment of data quality as the experiment is being carried out. Moreover, our algorithm runs quickly and automatically with no 'tuning' required, allowing for multiple small pools of approximately 1000 picked-particles to be independently assessed without supervision (each corresponding to ∼ 30 micrographs). This would help set the stage for more robust statistical validation techniques such as bootstrap or jack-knife estimation.

Remark 1

11We should emphasize that the starting point of our experiments here is a collection of picked particle images (obtained from the EMPIAR database), not the raw movies or entire micrographs that are sometimes deposited as well. Particle picking is itself a non-trivial task. Restricting our attention to molecules for which particles are curated allows us to focus exclusively on the problem of reconstruction from a small data set.

12At its core, our algorithm is a modification of the simplest expectation-maximization method. We use the framework of classical iterative refinement -alternating between a reconstruction step and an alignment step. In the reconstruction step, we use the current estimate of the viewing angles for each particle/image and their displacements to approximate the molecule. In the alignment step, we use the current estimate of the molecule to better fit the viewing angles and displacements for each image. We will refer to this approach as alternating minimization (AM).

13It is well-known that standard AM does poorly in this setting; an initialization with randomized viewing angles typically fails to converge to a useful low-resolution approximation of the molecule. To address these issues and to guide AM to a better structure, we introduce two changes: (i) we compress and denoise the individual images by computing their two-dimensional Fourier transform on a polar grid and focusing on carefully selected rings in the transform domain with maximal information content, and (ii) we increase the entropy of the viewing-angle distribution used during the reconstruction step (in a manner to be described in detail). These modifications both reduce the computational cost and improve the robustness of AM in the low-resolution low-image-number regime.

14In the numerical experiments below, we show that our modified method (alternating minimization with entropy maximization and principal modes or 'EMPM') performs surprisingly well on several published data sets. Our reconstructions are often on par with the best results one could expect from an 'oracle-informed' AM (i.e., standard AM starting with the 'ground-truth' viewing-angles and displacements for each image). Moreover, our results are similar to (or better than) what one might expect from a reconstruction using 'optimized' Bayesian inference (i.e., using a ground-truth informed estimated noise level). Importantly, our strategy is efficient, running about twenty times faster than standard Bayesian inference or the de-novo reconstruction in the widely used, open source package Relion [5,6,7]. We also make direct comparisons with two other open source methods: the neural network approach in cryoDRGN [8] and the recent low-resolution reconstruction pipeline in Aspire [9]. We have not made a direct comparison with the stochastic gradient descent approach in the GPU-based cryoSPARC package [10].

15In the remainder of this paper, we briefly summarize the EMPM method and demonstrate its performance on a variety of data sets. The details of our method, as well as some additional motivating examples, are deferred to the Supporting Information. It is currently implemented for multi-core CPUs, but we believe it should be straightforward to implement on GPUs as well, and to integrate into any of the existing software packages for cryo-EM.

Overview of the EMPM iteration

16Our general goal is to solve the following problem: given a set of N A picked particle images (2D projections) from a handful of micrographs (each with their own CTF), estimate the unknown viewing-angles τ j ∈ SO(3) and displacements δ j ∈ R 2 for each image, as well as the underlying volumeF (k), where k ∈ R 3 denotes a point in the Fourier transform domain. In addition to determining the volumeF (k), we would also like an estimate of the viewing-angle distribution µ τ and displacement distribution µ δ (taken across the images). If the estimates of the volumeF (k) and the distributions µ τ , µ δ are accurate estimates of the ground truth, they will clearly be useful for quality control, determining (for example) whether the experimental conditions are suitable for larger scale data collection and subsequent high resolution reconstruction.

17The main tool we employ is a form of alternating minimization (AM), which carries out some number of iterations of the following two step procedure:

18Reconstruction: Given the estimated viewing-angles {τ estim j } and displacements {δ estim j } for N A 2d picked-particle images {Â j }, reconstruct the 3D molecular volumeF estim (using the Fourier slice theorem and least squares inversion of the Fourier transform). In a standard AM scheme, the reconstruction step solves forF estim using a least-squares procedure, and the alignment step assigns the {τ estim j } and {δ estim j } using some kind of maximum-likelihood procedure (see sections A. 18 and A.22 in the Supporting Information). While there are many more sophisticated strategies for molecular reconstruction (see, for example, [10,8]), we focus on AM for a few reasons: first and foremost is its simplicity, transparency and ease of automation. AM has modular steps, few parameters, and is easily interpretable.

19At the same time, however, standard AM does have serious limitations. First, it can be computationally expensive, particularly if a broad range of frequencies and/or translations are considered in the alignment step. Second, AM can fail to converge to the correct solution, especially during the initial iterations, when the initial guess is far from the true molecule.

20To address these two issues, we propose a modified version of AM which we refer to as alternating minimization with entropy-maximization and principal modes (EMPM). The two main modifications we introduce are:

21Maximum entropy alignment: We use both the traditional maximum likelihood alignment strategy, which finds the best estimate for each image from the current molecular reconstruction, and its opposite. That is, we also use a 'maximum-entropy' alignment strategy: for each uniformly chosen viewing angle, we find the experimental image which best matches the corresponding projection from the current structure. The subsequent reconstruction step makes use of this uniform distribution of viewing angles whether or not it corresponds to the true distribution. Use of this counter-intuitive step is important in stabilizing our low resolution reconstruction from a small set of images (see section A.22 in the Supporting Information).

22Principal-mode projection: Each image is transformed onto a polar grid in Fourier space. The data on each circle in the transform domain at a fixed modulus |k| will be referred to as a Fourier ring. Rather than considering all Fourier rings when comparing 2D projections and image data, we consider only a handful of carefully-chosen combinations of such rings, which we refer to as principal modes. This yields significant compression of the data (and computational efficiency) while retaining information useful for alignment (see section A.13 in the Supporting Information).

23In the EMPM pipeline, we first estimate the principal-modes using the images themselves. Using these 'empirical' principal modes, we proceed with AM, alternating between maximum-likelihood and maximum-entropy alignment. Once a preliminary volume estimate has been obtained, we use that estimate to recalculate the principal modes. We then restart AM using the new principal images and, again, alternate between maximum-likelihood and maximum-entropy alignment until we have a final volume estimate. The algorithm is summarized below (see Supporting Information for a more detailed description):

241. Use the experimental images j to calculate 'empirical' principal modes U empir .

252. Compute the principal images, defined to be the projection of the images onto principal modes, P (U empir , j ). Note that, each time we update the displacements δ empir j and δ estim j , we bound the maximum permitted displacement magnitude by δ max (typically δ max ∼ 0.1 in our dimensionless units). In our studies with small amounts of moderately noisy experimental data, we have observed that the EMPM strategy is more effective than Bayesian inference or maximum-likelihood alignment alone -even with probabilistic alignment where a distribution of viewing angles is assigned to each image. Roughly speaking, we believe this is due the fact that the incorrect viewing angles assigned in the maximumentropy step are washed out by destructive interference, while the correctly assigned ones reinforce the true structure. One simple model problem which illustrates these points is discussed in the Supporting Information (see sections B and C). It is worth repeating, however, that we only propose this approach for obtaining a low-resolution initial guess. Existing refinement methods are still crucial for high resolution.

Set random initial viewing angles

26Once we have run our EMPM algorithm, we have the estimated volumeF estim (k) as output. UsingF estim (k) as an approximation ofF (k), we can readily compute other quantities that may be of interest, such as estimates of the true viewing angle distribution in the data set and other types of correlations. We will use these quantities in our numerical experiments below to compare the results of EMPM to other methods, such as Relion's de-novo molecular reconstruction and full Bayesian inference.

Templates, correlations, and ranks

27For each centered molecular reconstructionF , and set of Euler angles τ = (α, β, γ), we define the inner product X and normalized inner productX of the reconstruction with the "ground-truth" modelF true by

28Here (α, β) denotes the viewing angle of an image with α the azimuthal angle and β the polar angle. γ is the final in-plane rotation (see section A.6). R(τ ) •F is the volume obtained fromF using the rotation (the element of SO (3)) defined by τ . We define the volumetric correlation Z(F ,F true ) by

29This measurement Z(F ,F true ) represents the optimal correlation (over all alignments) between the two volumesF andF true . In order to compare our results with Relion's de-novo reconstruction, we will also need to calculate the 'masked' correlation Z mask (F, F true ), defined as:

30where G is a sharp spherical mask (i.e., the indicator-function of a ball centered at the origin) with a radius determined by the support of F true .

31We will also need to define inner products and correlations of single images and volumetric slices. For this, given a Fourier space volumeF , we generate noiseless 2D projections (in the Fourier domain) that incorporate the CTF, which we refer to as templates. We denote these byŜ(τ, δ; CT F ;F ), where τ is the specific set of Euler angles and δ is the displacement. When assuming the displacement is zero, we will write these templates asŜ(τ ; CT F ;F ), Formally, we havê

32where CT F (k) is the given pointwise value of the CTF in Fourier space andŜl denotes taking the equatorial slice in the Fourier domain. These CTF-modulated templates are used to calculate the inner products:

33where T (+δ, k) = e iδ·k is the Fourier signature of displacement by the vector δ. These are used, in turn, to calculate the correlations:

34For convenience, we generally reduce this to a function of the viewing directionk = (α, β), the first two components of τ , alone:

35The parameters γ and δ are associated with a particular choice of α and β implicitly through the arg max. When the context is clear, we will often abuse notation and refer to the correlations in (9) by Z(α, β; j ). Finally, for each image j and a set of N S templates defined by the viewing directions (α l , β l ), l = 1, . . . , N S , we can order the values Z(α l , β l ; j ; CT F j ;F ), l = 1, . . . , N S .

36This yields what we will refer to as the template rank for the image. Conversely, for each template defined by (α l , β l ), one can order the values Z(α l , β l ;Â j ; CT F j ;F ), j = 1, . . . , N A .

37This defines the image rank for that template. Using the terminology of linear algebra, we can define the

38Template-ranking then corresponds to sorting the rows of Z while image-ranking corresponds to sorting the columns.

Results

39We will consider a number of examples in this paper, drawn from the electron-microscopy image archive ( We set K = 48 as the bandlimit for our low-resolution reconstruction, corresponding to a 'best' possible resolution of about 20Å. With these image pools, we construct a variety of different 'reference volumes' forF (k).

40Ground truth: First, we center and restrict the published volume to the band-limit K. This defines our 'ground truth' volumeF true (k).

41Oracle: Next, we measure the correlations Z(τ ;Â j ; CT F j ;F true ) for a sufficiently sampled set of Euler angles τ and displacements and use maximum-likelihood to align the images toF true (k). This assigns 'ground-truth' viewing angles τ true j and displacements δ true j to each image. More precisely, we start by calculating Z using a small displacement disc of δ local = 0.03, and then iterate multiple times, with δ max = 0.25 until the correlation between the reconstructed and true volumes plateaus (this usually takes less than 8 iterations). We then take the final viewing angles and displacements to define τ true j and δ true j . Given these ground-truth-based viewing angles and displacements, we use a least-squares reconstruction to computeF Oracle (k).

42Oracle-AM (OAM): Starting with the ground-truth viewing angles and displacements, as well aŝ F Oracle (k), we apply standard AM, iterating until the resulting volume converges (this, again, usually requires less than 8 iterations). We define this final volume to beF OAM (k). We expect the volumeF OAM to be close to the best reconstruction one could realistically achieve with standard AM.

43Oracle-Bayesian (OBI): Next, we apply Bayesian inference reconstruction (as described in [7,11]). This reconstruction depends on (i) the initial starting volume, (ii) the estimated noise level σ BI , (iii) the resolution K and range of displacements δ max considered, and (iv) the error tolerance used when calculating the integrals required for estimating the posterior described in [7]. We fix K = 48 and δ max = 0.10 and set the error tolerance to the same value used in the rest of our numerical experiments (typically tol = 0.01). To create a reference volume associated with the ground truth, we useF true as the initial starting volume. The resulting volumedenoted byF OBI (k; σ BI ) -will depend on the noise-estimate σ BI . Note that, when σ BI → 0 we will haveF OBI (k; σ BI ) →F OAM (k), and when σ BI → ∞ we will haveF OBI (k; σ BI ) converge to a spherically-symmetric distribution. In our experience the quality of the reconstructed volume depends quite sensitively on the choice of σ BI . To build a good noise-estimate, we scan over several values of log(σ BI ) ∈ [−5, . . . , 0], choosing the σ BI for whichF OBI (k; σ BI ) has the highest correlation withF true after the first iteration. Fixing σ opt BI to be this optimal value, we defineF OBI (k) :=F OBI (k, σ opt BI ) after iterating to convergence. Thus,F OBI is close to the best reconstruction possible using Bayesian inference, assuming that the optimal estimated noise-level σ BI is known ahead of time.

44In addition to the above reference volumes, we also create several de-novo molecular reconstructions. RDN and EMPM below are oracle-free, while for Bayesian inference we use the optimal noise level estimate σ opt BI from above.

45Bayesian Inference (BI): We run the Bayesian inference reconstruction described in [7,11] to produceF BI (k). As mentioned above, this reconstruction depends on (i) the initial starting volume, (ii) the estimated noise-level σ BI , (iii) the resolution K and the range of displacements δ max considered, (iv) the error-tolerance used when computing the integrals in the posterior, and (v) the number of iterations applied. We fix the noise level σ opt BI to be the value obtained in the Oracle-Bayesian method above. We fix the resolution at K = 48, set δ max = 0.10, set the error-tolerance to the same tol used in the other methods, and set the number of iterations at 16. For the initial starting volume we assign each of the available images a viewing angle randomly and uniformly, and then use a least-squares reconstruction to generate a 'random' initial starting volume. While random, this starting volume has roughly the same diameter and bandwidth as the true molecule. We use the same procedure when initializing our strategy below.

DRG:

46We run the open-source neural-network-based algorithm cryoDRGN described in [8], with the suggested default parameters for ab initio reconstruction.

ASP:

47We run the open-source software package ASPIRE [9], which uses a common-lines-based algorithm, with the suggested default parameters for ab initio reconstruction.

RDN:

48We run Relion's de-novo molecular reconstruction algorithm (RDN) -a variant of Bayesian inference -to produceF RDN . (For speed, RDN uses only subsets of images in its internal iterations.) We use the parameters listed in section D in the Supporting Information. We set the parameter --particle diameter to be commensurate with the true molecular diameter, rounded up to the nearest 50Å.

49EMPM: We carry out the reconstruction using the strategy described in the Methods section above, and discussed in more detail in the Supporting Information to produceF EMPM (k). In addition to setting the maximum frequency K and displacement δ local , many of the computed quantities require a numerical tolerance tol (see section A). We fix K = 48, and scan over tol ∈ [0.001, 0.010] and δ local ∈ [0.01, 0.10]. Our strategy begins with the same random initial viewing-angles for each image as used for Bayesian inference. As we shall see below (see, e.g., Fig. 3), our results are quite robust, provided that tol ≤ 0.01 and δ local ≥ 0.01 or so.

50For trpv1, as well as rib80s and ISWINCP, the data sets are quite clean. The first N A = 1024 picked-particle images are well-centered, devoid of clutter and of high quality. Consequently, many of the reconstructions we attempted were successful and RDN reconstruction was also able to achieve Z mask > 0.5. For ps1, LSUbl16dep, MlaFEDB, LetB1, and TMEM16F, however, the individual images are not quite as clean. In the case of ps1 and TMEM16F, many of the images are particularly noisy. For LSubl16dep (and to a lesser extent ps1), a notable fraction of the images are poorly centered. For MlaFEDB (and to a lesser extent TMEM16F), many of the images appear to contain fragments of other particles. For LetB1, the viewing-angle distribution for the images is highly concentrated around the equator. Our reconstructions for these molecules are not as successful. Nevertheless, we still recover volumes that are comparable in quality to Bayesian inference with an optimal estimated noise-level, and usually better than RDN reconstruction (all at a fraction of the computational time).

51Results for four molecules are shown in Fig. 1. Focusing on trpv1 for the moment, we see that F EMPM captures the coarse features ofF true , and is not too different fromF OAM in terms of overall quality. Even thoughF EMPM is a coarse estimate ofF true , the reconstruction process has recovered a significant amount of information regarding the viewing-angles of each image. To illustrate this point, we compare the image-template correlations (see Eq. 9) estimated fromF EMPM with the 'groundtruth' image-template correlations measured fromF true . For each molecule of interest, three panels are presented in Fig. 2. The left-most subplot is a scatterplot of the image-template correlations. That is, for each image j and each template (α l , β l ), we compute a point in two-dimensions with coordinates (Z(α l , β l ; j ; CT F j ;F EMPM ), Z(α l , β l ; j ; CT F j ;F true )).

52With N A = 1024 images and N T = 993 templates, this yields a data set with about one million points. The color in the heatmap corresponds to the log-density of the joint-distribution at that location (see adjacent colorbar). Note that there is a significant correlation between the estimated-trpv1 rib80s ISWINCP ps1 Figure 1: In this figure, we plot level sets from the volumesF true ,F Oracle ,F OAM , andF OBI , as well as one of theF EMPM reconstructions (left to right, respectively). From the top down, the panels correspond to trpv1, rib80s, ISWINCP and ps1. and ground-truth-image-template-correlations. In the middle subplot for each molecule, we show a scatterplot of the template ranks for each image (see (10)), rescaled to [0, 1] and aggregated over all images. In the right-most subplot, we show a scatterplot of the image ranks for each template (see (11)), rescaled to [0, 1] and aggregated over all templates. Once again, the scatterplots are presented as heatmaps, with color corresponding to log-density. This view of the data sheds light on the differences between maximum-likelihood and maximumentropy alignment. Recall that, in standard maximum-likelihood alignment, one assigns τ est j (for a particular image j ) to the template with the highest template rank. By contrast, in maximumentropy alignment, one does the reverse: assigning the image with highest image rank to each sampled template direction. It is interesting to note that the estimated and ground-truth image ranks are typically more tightly correlated than the estimated and ground-truth template ranks. We believe that this phenomenon contributes to the success of our strategy. Indeed, when the estimated and ground-truth template ranks are highly correlated (as for ISWINCP), the maximum-likelihood alternating minimization method (i.e., Bayesian inference with noise-level 0) succeeds, performing roughly as well as our strategy. However, when the estimated and ground-truth template ranks are poorly correlated (as for ps1), then maximum-likelihoood alternating minimization does very poorly, often converging to a volume that is worse than random.

53The illustrations in Figs. 1 and 2 are obtained using just one trial ofF EMPM . We have carried out extensive simulations and these results are fairly typical, with qualitatively similar results with repeated runs. For illustration, we show the values of the volumetric correlations collected over multiple trials in Fig. 3. The values of Z mask (F EMPM ,F true ) shown in magenta are taken over a range of values of tol ∈ [0.001, 0.010], and δ local ∈ [0.01, 0.10]. We did not see a large correlation between either tol or δ local and Z mask , provided that tol is sufficiently small and δ local is sufficiently large (i.e., tol ≤ 0.01 and δ local ≥ 0.01). Note that, for these data sets, our strategy reliably produces reconstructions that are similar in quality toF OAM , and superior to the results obtained with existing open-source packages (DRG, ASP, RDN). Finally, we remark that a higher-quality lowresolution reconstruction can help improve the results of subsequent refinement. As an example, we use Relion's relion refine to produce a medium-resolution reconstruction from the first 8192 images of this dataset using two different initial-volumes. First, we set the initial volume to Relion's de-novo reconstructionF RDN (referenced in blue in Fig. 3). Second, we set the initial volume to the EMPM reconstructionF EMPM shown in Fig. 1. Fig. 4 illustrates the Fourier shell correlations (FSCs) between the resulting medium-resolution reconstructions and the publishedF true . Note that the higher-quality initial volumeF EMPM results in a better medium-resolution reconstruction. Moreover, as we shall discuss below, better low-resolution reconstructions can be useful for other quality-control tasks in the cryo-EM pipeline.

54We have focused here on a subset of the proteins listed above. Addition results are deferred to the Supporting material.

55Remark 2 Of note is that the EMPM method works reasonably well even when the particle orientations are highly non-uniform (see Fig. 15). One might expect that the entropy-maximization step (which forces images to be assigned to each viewing angle) would cause difficulties. For de novo lowto moderate-resolution reconstructions, however, it appears that EMPM benefits from the prevention of spurious clustering that can develop in pure AM iteration. At higher resolution, we do not recommend the use of EMPM, as the entropy-maximization step would result in a loss of resolution and is no longer necessary once a good initial model has been created.

Remark 3

56We have implemented our strategy in Matlab, using standard (double precision) libraries. Even for our relatively naive implementation, the total computation time for each of our trials is 30 − 50 minutes on a desktop workstation. By comparison, the de-novo reconstruction method within Relion typically requires 20 − 25 hours on the same machine, while a trial of Bayesian inference (also in Matlab) requires 36 − 48 hours. It is also worth noting that, when constructingF BI , we chose the optimal noise-estimate σ opt BI . Scanning over multiple values of σ BI would require additional computation time. In summary, we believe that our strategy has the potential to be extremely efficient, especially when properly optimized.

On-the-fly particle rejection

57Focusing on the ps1 data set, we now consider whether our algorithm can be used to curate particles from small samples. As shown in Figs. 2 and 11, the estimated image-template correlations Z(α, β;Â j ; CT F j ;F EMPM ) are often quite strongly correlated with the true image-template correlations Z(α, β;Â j ; CT F j ;F true ). Motivated by this observation, we define:

58to be the maximum image-template correlation for each image. We can use Q EMPM j as a proxy for the 'true image-quality' Q true j . We see from Figs. 2 and 11 that Q j typically lies in the interval [0.1, 0.4]. It is reasonable to conjecture that those images with a low estimated quality do not align well to the reconstructed molecule and could be discarded when attempting to reconstruct the molecule. To investigate this hypothesis, we perform a numerical experiment with the first 1024 · 8 = 8192 images in the EMPIAR data set, dividing these images into 8 batches of N A = 1024. For each batch we produce a reconstruction, using our strategy above. The Z mask for these single-batch runs are shown as magenta-dots in the 'IND' column of Fig. 5. The average Z mask for these single-batch runs is ∼ 0.67 (magenta line), with relatively little variation.

59Next, we use the estimated image-quality Q j to sort the images into octiles (each with 1024 images). Those with the lowest quality scores define the first octile and those with the highest quality scores define the eighth octile. We now perform a reconstruction for each octile separately, with the Z mask shown in light-pink-dots. Note that the first few octiles produce reconstructions that are quite a bit worse than the typical reconstructions shown in the 1K column. It is interesting to note that, for this image pool, using exclusively the highest quality octile results in a poor reconstruction, since the highest quality images are concentrated around a small subset of viewingangles. The result obtained using all N A = 8192 images together is shown as the dark-purple dot : In this figure we show the Fourier shell correlation (FSC) associated with a mediumresolution reconstructions produced using Relion's relion refine applied to the first N A = 8192 images from the trpv1 dataset (i.e., the first N A picked-particles from the MRC 1901 file). We run this reconstruction twice: once using as initial volume the RDN reconstructionF RDN obtained using the first 1024 images and once using as initial volume the EMPM reconstructionF EMPM . We plot the FSC curve obtained by comparing the reconstructed volume with the published ground-trutĥ F true . The blue (lower) curve is from the RDN initialization and the magenta (higher) curve is from the EMPM initialization.

60in the '1st' column. We then show successive reconstructions using different quality cut-offs. Using the top seven octiles (7168 images), we obtain the improved Z mask shown as a dark-purple dot in the '2nd' column. Using the top six octiles, we get the dark purple dot in the '3rd' column, and so forth. In short, excluding the worst images improves the reconstruction quality, but excluding too many images causes the quality to drop, presumably as a result of losing the coverage from noisier projection directions.

Molecules with poor performance on small data sets

61While our results can be considered moderately successful for many of the molecules, our reconstructions for LetB1, LSUbl17dep and MlaFEDB using 1024 particles are typically quite mediocre. For LetB1 and LSUbl17dep, different runs of EMPM yielded reconstructions that were quite variable. We suspect that this inconsistency stems from some underlying heterogeneity in the data set itself (see [12]). For MlaFEDB, on the other hand, different trials of EMPM yielded reconstructionŝ F EMPM that were not close toF true , but were often quite close to one another. This consistency across trials suggests that the structures observed in the typical reconstruction might actually exist in the image pool we are using. A recurring motif in the reconstructions is that of a cylindrical shape with a disjoint structure off to one side. In this case, we suspect that the image pool contains artifacts that are at least partially responsible for the mediocre performance of EMPM (as well as BI, RDN, DRG, ASP) for this molecule.

Discussion

62As demonstrated above, the EMPM iteration (a modification of alternating-minimization) can produce a reasonable low-resolution reconstruction from a small set of raw images. As seen in Figs. 3 and 12, it is more robust than many of the currently used de-novo molecular reconstruction techniques, and at least as accurate as Bayesian inference with an optimally chosen estimated noise level. We did not make an exhaustive comparison with all available packages, since our main purpose here is to provide a new approach which is only relevant in the low resolution regime. We believe that the maximum entropy step of EMPM accounts for its success, effectively preventing spurious clustering of assigned viewing-angles. It should also be noted that the principal mode reduction described here can be used to accelerate image alignment and volume registration in more sophisticated and higher resolution reconstruction algorithms.

63EMPM also produces useful estimates of image quality and viewing angle distribution -even when the image pool only contains a few thousand images. These estimates could play a role in online quality-control: identifying poor images to be discarded or possibly terminating imaging sessions that seem to be yielding poor quality data.

64Because EMPM is efficient (our MATLAB implementation requires less than 5% of the computation time of RDN and Bayesian inference), it should make cross-validation more compelling. Our reconstruction requires about 40 min., RDN requires about 20 hrs, full Bayesian inference requires 40 hrs, cryoDRGN requires 5 hrs and Aspire (the fastest) requires 15 min. (all on the same laptop). Strong correlation between volumes reconstructed from different subsets of images can reasonably be interpreted as an indication that the data set is of high quality. On a more speculative note, the image curation presented here uses only image-template correlations. It is possible that image cross-correlations and the cross-correlations of the residuals of the least-squares reconstruction step could also be valuable in settings involving discrete or continuous heterogeneity.

65Because EMPM does not require any fine-tuning of parameters, it should be straightforward to incorporate into existing, widely-used, high-quality software pipelines and we hope to do so in the near future. The code is available from [13].

IND Independent batches

66Lowest quality octile Highest quality octile First we divide these images into batches of N A = 1024, and produce multiple reconstructions (magenta, leftmost column). The average Z mask for these reconstructions is ∼ 0.67 (magenta line). Next, we use the individual estimates of image-quality (see text) to divide the images into 8 'octiles'. We perform a reconstruction using the images within each octile (light-pink). Note that those images of poorest quality (i.e., in the first few octiles) produce an inferior reconstruction. For this image-pool the images with the very best quality (i.e., in the final octile) tend to be attributed to a small subset of viewing-angles; a reconstruction using only those images is also of rather poor quality. We then perform a reconstruction using all the images except those below a particular octile (dark purple). Thus, the reconstruction using all 8192 images is shown in dark-purple within the '1st' column. The reconstruction using the 8192 − 1024 = 7168 images which exclude those in the first octile is shown in dark-purple within the '2nd' column. Note that excluding the worst images improves the reconstruction-quality. As the number of excluded images grows the number of images used for the reconstruction shrinks; the dark-purple circles are not much higher than the light-pink circles when the octile-index is large.

A Supporting Information

67Various aspects of the EMPM iteration are described here in greater detail. We begin with the discretization of images and volumes in the Fourier domain, and the techniques used for image alignment and volumetric reconstruction. Many of the techniques used require some specification of a 'global tolerance' tol , which could be considered a user-specified parameter. In practice, it appears to be sufficient to set it to 10 −2 , corresponding to two digits of accuracy. In our experiments, we actually scan over tol ∈ [0.001, 0.01] but find that the quality of the reconstruction does not improve markedly for smaller values of tol . In short, EMPM is not limited by the global tolerance, but presumably by the experimental error and the structural features of the nonconvex landscape over which we are trying to optimize.

A.1 Manipulating images in the Fourier domain

68We use x, k ∈ R 2 to represent spatial position and frequency, respectively. In polar-coordinates these vectors can be represented as:

69for appropriately chosen angles θ and ψ.

Definition 1 The Fourier transform of a two-dimensional function

70We recover A from using the inverse Fourier transform:

71The inner-product between two functions A, B ∈ L 2 (R 2 ) is written as

72where z † is the complex conjugate of z ∈ C. We will also use Plancherel's theorem [14],

73We will ignore the factors of 2π associated with the Fourier transform when they are not relevant. We represent any given picked-particle image as a function A ∈ L 2 (R 2 ), with values corresponding to the image intensity at each location. As a consequence of Plancherel's theorem, any inner-product between A and another image (or 2D function) B can be calculated in either real or frequency space, the latter of which is often more convenient when aligning images to projections of a volume [15,16,17].

74Abusing notation slightly, we will refer to A(k) andÂ(k) in polar coordinates as:

75A(k, ψ) :=Â(k) =Â(k cos ψ, k sin ψ).

76With this notation eachÂ(k, ψ) for fixed k and ψ ∈ [0, 2π) corresponds to a 'ring' in frequency space with radius k.

A.2 Rotation and translation

77Using the notation above, a rotation R(γ) of an image A by angle γ ∈ [0, 2π) can be represented as:

78Since rotation commutes with the Fourier transform, we have:

79In this manner, a rotation of any image by +γ can be represented as an angular-shift of each image-ring by ψ → ψ − γ.

80Likewise, a translation T (δ) of an image A by the shift vector δ ∈ R 2 can be represented as:

81In the Fourier domain, this action can be expressed as

82where the translation kernel T (δ, k) is

A.3 Fourier-Bessel coefficients

83Over the course of our molecular reconstructions, we calculate many image-image inner products (see section 2.1). To ease the computational burden associated with these calculations, it is convenient to use the Fourier-Bessel basis [15,18,16,17].

84To define the Fourier-Bessel coefficients of an image, recall that each image-ringÂ(k, ψ) (for fixed k) is a 2π-periodic function of ψ, which can itself be represented as a Fourier series in ψ:

85for q ∈ Z. The Fourier-Bessel coefficients a(k; q) of the image ringÂ(k, ψ) are given by

86These coefficients can be represented in a more traditional fashion by recalling that the Bessel function J q (kx) can be written as:

87which, when combined with the definition of the Fourier transform, implies that:

88which is the inner product between the original image (in real space) and a Bessel function. Note that, using the Fourier-Bessel representation of an image, the rotation R γ can now be represented as:

89such that the Fourier-Bessel coefficients of the rotated image ring R γ •Â(k, ·) are given by the original Fourier-Bessel coefficients a(k; q), each multiplied by the phase-factor e −iqγ . Note that (33) easily allows for arbitrary rotations by any γ, requiring only a pointwise multiplication by the appropriate phase factor. This observation allows for the efficient alignment of one image to another (see [16,17]).

A.4 Image discretization

90We denote by Ω (1) and Ω(K) the ball of radius 1 and K, respectively, in either real or frequency space:

91and we will assume that all the images considered are supported in Ω(1). The support constraint A(x) ⊆ Ω(1) implies that the representationÂ(k) will have a bandlimit of 1, so that can be accurately reconstructed from its values sampled on a frequency grid with spacing O(1) [19]. We also assume that any relevant signal within the images has a maximum effective spatialfrequency magnitude of K; i.e., that the salient features of are concentrated in k ∈ Ω K . Consequently, we expect that the inversion

92accurately reconstructs A to the resolution associated with K (ignoring high frequency ringing artifacts). When these assumptions hold we won't lose much accuracy when applying these transformations in a discrete setting (as discussed below). Note that the largest K that we can reasonably expect to attain is related to the number of pixels 'N ' in the original image. More specifically, once we assume that A(x) is supported in x ∈ Ω(1), the pixel-spacing will be ∆x = 2/N , implying the Nyquist spatial-frequency is given by π/∆x = N π/2. Since we are using N A picked-particle images A j to produce a low-resolution estimate of the imaged molecule (denoted F below), we will typically choose K to be significantly smaller than N π/2, often in the range of K ∼ 50. Given the pixel spacing, this corresponds to a low-resolution reconstruction with approximately 20Åresolution. Additionally, the fact that x ≤ 1 implies that the Bessel coefficients a(k, q) will be concentrated in the range |q| k, meaning that the Bessel coefficients a(k, q) across all k ∈ [0, K] will be concentrated in q ∈ [−Q/2, +Q/2 − 1] for Q = O(K) = O(N ).

93With the notation above, we can consider an N × N image as a discrete set of pixel-averaged samples within [−1, +1] 2 :

94for indices n 1 , n 2 ∈ {0, . . . , N − 1}. We approximate the Fourier transform at any k ∈ R 2 via the simple summation:Â

95where x n1,n2 is the appropriately-chosen pixel-center ∆x n 1 + 1 2 , n 2 + 1 2 . Because we have assumed that the image is sufficiently well sampled (i.e., that contains little relevant frequency-content above the Nyquist-frequency K), we expect the simple sum above to be accurate.

96We will typically evaluateÂ(k) for k on a polar-grid, with k-and ψ-values corresponding to suitable quadrature nodes, using the non-uniform FFT (NUFFT) to computeÂ(k, ψ) at those nodes (see [19,17]). The quadrature in k corresponds to a set of R nodes: k 1 , . . . , k R and radial weights w 1 , . . . , w R so that

97to high accuracy for a smooth function g(k). The exact radial quadrature nodes we select are usually those inherited from a volumetric grid (see section A.6 below). For convenience, we will sometimes refer to the weight function w(k) as some continuous interpolant of the quadrature-weights, with w(k r ) = w r . The Q angular-nodes ψ 0 , . . . , ψ Q−1 are equispaced in the periodic interval [0, 2π), with a spacing of ∆ψ = 2π/Q, and ψ q = q ∆ψ. These equispaced ψ-nodes allow for spectrally accurate trapezoidal quadrature in the ψ-direction, and we approximate the Fourier-Bessel coefficients of each image-ringÂ(k, ψ) as follows:

98with the index q considered periodically in the interval [−Q/2, . . . , +Q/2 − 1] (so that, e.g., the q-value of Q − 1 corresponds to the q-value of −1).

A.5 Inner products

99The inner-product between an image A and a rotated and translated version of image B is denoted by:

100and (ignoring factors of 2π) is approximated by:

101The expression X can be thought of as a bandlimited inner product.

A.6 Volume notation

102We use x, k ∈ R 3 to represent spatial position and frequency, respectively. In spherical coordinates, the vector k is represented as: k = k ·k, withk = (cos φ sin θ, sin φ sin θ, cos θ),

103with polar angle θ and azimuthal angle φ representing the unit vectork on the surface of the sphere S 2 .

104Using a right-handed basis, a rotation about the third axis by angle α is represented as:

105and a rotation about the second axis by angle β is represented as:

106A rotation R(τ ) of a vector k ∈ R 3 can be represented by the vector of Euler angles τ = (α, β, γ):

107We represent a given volume as a function F ∈ L 2 (R 3 ), with values corresponding to the intensity at each location x ∈ Ω(1). We will refer toF (k) in spherical coordinates asF (k,k). With this notation, eachF (k, ·) corresponds to a 'shell' in frequency-space with radius k. The rotation of any volume R(τ ) •F (k,k) corresponds to the functionF (k, R(τ −1 ) ·k), where τ −1 corresponds to the vector of Euler angles τ −1 = (−γ, −β, −α).

A.7 Spherical harmonics

108Using the notation above, we can represent a volumeF (k,k) as:

109where Y m l (k) represents the spherical harmonic of degree l and order m:

110with P m l representing the usual (unnormalized) associated Legendre function, and Z m l the normalization constant:

111The coefficients f (k; l, m) define the spherical harmonic expansion of the k-shellF (k, ·). Given a rotation τ = (α, β, γ), we can represent the rotated volumeĜ := R(τ )F as:

112where d l m1,m2 (β) represents the Wigner d-matrix of degree l associated with the second Euler angle β.

A.8 Volume discretization

113As with our discretization of images, we assume that the volume F (x) is supported in Ω(1), and that the relevant frequency content is contained in Ω(K).

114We then discretize the radial component of Ω(K) ∈ R 3 using a Gauss-Jacobi quadrature for k built with a weight-function corresponding to a radial weighting of k 2 dk; the number of radial quadrature nodes R will be of the order O(K). On each of the k-shells, we build a quadrature for k that discretizes the polar-angle β using a legendre-quadrature on [0, π], and the azimuthal-angle α using a uniform periodic grid in [0, 2π), with associated weights designed for integration on the surface of the sphere; the total number of spherical-shell-quadrature-nodes T (k r ) for any particular k r need only be O(k 2 r ) [16]. Each of the k-shellsF (k r , ·) can be accurately described using spherical harmonics of order l = O(k r ). Thus, the number of spherical-harmonic coefficients required for each shellF (k r , ·) is O(k 2 r ). The total number of spherical-harmonic coefficients required to approximateF (k,k) over Ω(K) is O(K 3 ), with a maximum degree of L = O(K). The associated maximum order will be M = 1 + 2L, which is also O(K).

A.9 Template generation

115Given any volumeF (k), we can generate templates efficiently using the techniques described in [16], which make use of the spherical harmonic representation f (k; l, m). For our purposes, we generate the templates described in Eq. 7 for a collection of viewing directions (α t , β t ), for t ∈ {1, . . . , T }. The particular choice of the third Euler angle (γ t ) for each of the templates is dictated by the strategy for template generation in [16], and does not play an important role, since it corresponds to an in-plane rotation of the relevant slice. We discretize the set of viewing directions to correspond with thek discretization on the largest k-shell in our volumetric (spherical) quadrature grid: that is, T := T (k R ). These viewing directions will be used to enumerate the templates (i.e., N S = T ). Each of the templates are stored on a polar or Fourier-Bessel grid identical to those used to store the images.

A.10 Image noise model

116We assume that each of the picked-particle images j is a noisy version of a 'signal' corresponding to a 2-dimensional projection of some (unknown) molecular electron-density-function F true :

117where τ true j and δ true j correspond to the true (but unknown) viewing-angle and displacement associated with image j . In this context we say the image's 'true viewing direction' is defined by the first two Euler angles in τ true j , namely the azimuthal and polar angles α true j and β true j . We will model the noise in real space as independent and identically distributed (iid), with a variance of σ 2 on a unit scale in two-dimensional real space. This is a simple model of detector noise [20,21,22, 23], and does not take into account more complicated features, such as structural noise associated with image preparation (see [24]). We assume that the image values are the sum of the signal plus noise:

118where the signal and noise are represented by the arrays A signal n1,n2 and A noise n1,n2 , respectively. Because each entry in A noise n1,n2 corresponds to an average over the area-element ∆x 2 associated with a single pixel, we expect the variance of each A noise n1,n2 to scale inversely with ∆x 2 . That is to say, we'll assume that each element of the noise array A noise n1,n2 is drawn from the standard normal distribution N 0, σ 2 ∆x 2 , with zero mean and a variance of σ 2 /∆x 2 . With these assumptions, downsampling the image by averaging neighboring pixels will correspond to an increase in the effective pixel-size and a simultaneous reduction in the variance of the noise associated with each (now larger) pixel.

119Given the assumptions above, will be modeled by:

120where noise is now complex and iid. Because the noise-term A noise is real, the noise-term noise will be complex, with the conjugacy constraint that noise (+k) = noise (−k) † .

A.11 Variance Scaling

121We defineσ 2 = π 2 σ 2 ∆x 2 as the variance on a unit scale in two-dimensional frequency space. We expect that the noise term noise (k) integrated over any area element ∆k 2 will have a variance ofσ 2 ∆k 2 . Recalling our polar quadrature described above, we typically sample k along R radial quadrature nodes k 1 , . . . , k R and Q angular quadrature nodes ψ 0 , . . . , ψ Q−1 , with radial and angular weights w r and ∆ψ, respectively. In this quadrature scheme, each quadrature node k rq = (k r , ψ q ) is associated with the area element w r ∆ψ, which approximates the 'kdk' integration weight. Consequently, we expect that the noise term noise (k rq ) evaluated at (k r , ψ q ) on our polar quadrature grid will have a variance ofσ 2 wr∆ψ . Given the radially-dependent variance associated with each degree of freedom in the images, we will typically consider rescaled imagesÂ(k r , ψ q ) √ w r ∆ψ, rather than the raw image valuesÂ(k r , ψ q ). Fro simplicity, we will often write this asÂ(k) w(k), where we assume that ∆ψ is the same for every k-value, and w(k) is some functional interpolant of the quadrature weights with w(k r ) = w r . This rescaling allows us to equate the standard vector 2-norm with the L 2 integral (up to quadrature error):

122This rescaling will allow our definition of the radial objective function below to correspond to a standard log-likelihood (see (55) in section A.14). In a similar fashion, the least-squares formulation we will use for volume reconstruction corresponds to a maximum-likelihood estimate, with similar properties holding for the inner products used for alignment (see sections A.18 and A.22 below).

A.12 Radial Principal Modes

123In these sections, we briefly review the notion of radial principal modes for image compression, described in [25]. The premise is simple: given an imageÂ(k, ψ), not all the frequency ringsÂ(k, ·) are equally useful. By selecting the appropriate linear combinations of frequency rings, we can compress the images while retaining information useful for alignment. We choose the coefficients of this linear combination by solving an eigenvalue problem, which is why we refer to these linear combinations as principal modes.

124This strategy has two benefits. The first is to make the overall computation more efficient; rather than retaining all R ≈ 50 radial quadrature nodes, we can often compress the majority of relevant information into a smaller number of principal modes (typically [10][11][12][13][14][15][16]. The second benefit is that, by retaining only those principal modes which are useful for alignment, we explicitly avoid those degrees of freedom within the original images that are dominated by noise and not useful for alignment. The same set of modes can be used for the experimental images and the estimated volumes. We make use of this compression for both the alignment and reconstruction steps of our EMPM iteration.

A.13 Principal image rings and principal volume shells

125Let us assume that we are given a unit vector u = [u 1 , u 2 , . . . , u R ] ∈ R R . We define the linear combination [u  ](ψ q ) as:

126where the rescaling factor √ w r ∆ψ is designed to equalize the variances associated with the different k-values (see section A.11).

127In a moment, we will choose our u to be one of the eigenvectors of an R × R matrix, and we will refer to the linear combination [u  ](ψ q ) as the 'principal image ring' associated with u. Note that, based on our noise model, we assume that the image noise is iid across image-rings. Consequently, the variance of the noise [u  noise ](ψ q ) is equal to r u 2 rσ 2 , which is equal to u 2σ2 . Because u is a unit vector, this last expression is simplyσ 2 , which is the same as the variance of any individual term noise (k r , ψ q ) for any particular k r . Moreover, if we consider two orthonormal vectors u 1 and u 2 , then [u 1  noise ](ψ q ) and [u 2  noise ](ψ q ) will be independent random variables, each drawn from N (0,σ 2 ).

128The same strategy can be used to define a principal volume shell [u F ](k) as:

129using the same weights as those used for the principal image rings. In most situations, we will assume that the angular discretization ∆ψ is uniform across all the image rings, allowing us to ignore the √ ∆ψ factor in the rescaling-factor above.

A.14 Choice of principal modes

130To select the actual principal modes used above, we construct the following objective function for the vector u:

131whereŜ(τ, δ; CT F ; F ) is the usual noiseless image template associated with viewing-angle τ , displacement δ and the contrast-transfer-function CT F (k). The integral in (55) is taken over the distributions of viewing angle, displacement and CTF function (i.e., µ τ , µ δ and µ CT F , respectively). Given a volume F , as well as distributions µ τ , µ δ and µ CT F , the objective function C(u) is (up to an affine transformation) equal to the negative log-likelihood of mistaking one noiseless principal image ring (constructed using principal-vector u) for a randomly rotated version of another (also constructed using u). Those vectors u for which C(u) is high correspond to linear combinations of frequencies which are useful for alignment (i.e. for which the typical principal image rings look very different from one another). Conversely, those vectors u for which C(u) is low correspond to linear combinations of frequencies which are not useful for alignment (i.e., for which the typical principal image rings look quite similar to one another).

132The objective function C(u) is quadratic in u, which means that it can be optimized by finding the dominant eigenvector of the Hessian C := ∂ uu C, defined as the R × R matrix:

133Moreover, the corresponding eigenvalue will be equal to the objective function C for that eigenvector. To actually compute the Hessian C in practice, we use one of two strategies.

A.15 Empirical principal modes

134At first, when we have no good estimate of either F or the distributions µ τ , µ δ or µ CT F , we simply use the images A j themselves to form a Monte Carlo estimate of the integral in (55). This boils down to the following simple approximation:

135where we have replaced the noiseless imagesŜ(τ, δ; CT F ; F ) andŜ(τ, δ; CT F ; F ) in the integrand of Eq. 55 with randomly selected images j and j from the original image pool, and used the empirical distribution of the images themselves to stand in for the unkown µ τ , µ δ and µ CT F (after averaging over the in-plane rotations associated with γ and γ ). The associated kernel C empir then reduces to:

136(57)

A.16 Estimated principal modes

137Once we have a reasonable estimate of the imaged volume F estim , we can use it (along with the current estimated distributions µ estim τ and µ estim δ ) to calculate C estim via (55). In practice, we typically assume that µ estim τ is uniform and µ estim δ is an isotropic Gaussian centered at the origin with a standard deviation estimated using the current δ estim j . With these assumptions the associated kernel C estim can be computed analytically from the spherical harmonic coefficients f (k; l, m):

138as Q → ∞, where the CTF-modulated weight W r takes the form:

139and the terms E + and E − denote

140and

141wherek r = k r σ δ /2, and I q refers to the modified Bessel function of first kind of order q.

A.17 Multiple principal modes

142We select the principal modes u 1 , . . . , u H to be the dominant H eigenvectors of the kernel C. We typically choose H such that the (H + 1)-th eigenvalue of C is less than the global tolerance times the first (dominant) eigenvalue of C. When we set the global tolerance to be tol ∼ 1e − 2 in our numerical experiments below, this selection criterion typically corresponds to selecting 12 − 16 principal modes from C empir , and slightly fewer (10 − 14) from C estim . We will refer to the matrix U as the collection of H principal modes:

143and refer to the collection of respective principal images as U Â :

144such that U  (h, ψ) = u h  (ψ).

145We use the same convention for principal volumes:

146such that U F (h,k) = u h F (k).

147We will also refer to the Bessel and spherical harmonic representations of the principal images and principal volumes as U a and U f , respectively.

A.18 Volume reconstruction

148Most approaches to estimating molecular volumes in cryo-em involve some kind of reconstruction process which is performed multiple times (over the course of iterative refinement). For standard AM, the inputs to the reconstruction process are the collection of N A picked particle images j (k) and associated CTF-functions CT F j (k), along with estimates of the viewing angles τ estim j and displacements δ estim j . The output is the estimateF estim (k). In our case, we will make use of both the standard least-squares reconstruction, as well as a more computationally efficient approximate Fourier inversion which we refer to as 'quadrature-backpropagation' (section A.20 below).

A.19 Least-squares reconstruction

149The standard strategy for reconstruction typically involves solving a linear system in a least-squares sense. In real-space this least-squares system looks like:

150whereas in the Fourier domain it is written as:

151or, more conveniently,

152In this expression, the N A viewing angles τ j and displacements δ j are assumed to be given as input, as are the image-or micrograph-specific CTF functions CT F j (k) and images j (k). The unknown (to be determined) is the volumeF (k). This least-squares problem is standard in maximum-likelihood estimation, and versions of this problem are solved in many software packages, often via conjugate gradient iteration applied to the normal equations.

153As written, the least-squares problem above has a block-structure: different k values are independent from one another. Thus, the problem can be solved by determining the k-shellF (k,k) from the k-rings j (k, ψ) for one k value at a time. However, the problem stated in (66) is slightly misleading, as the residuals for each of the k values are not directly comparable due to the fact that different k-shells have different variances associated with them (see section A.11). To account for this, we rewrite (66) as:

154where the function w(k r ) is the radial quadrature weight. With this formulation, the residual (calculated using the standard vector 2-norm) is (up to a quadrature error) equal to an integral representing the log-likelihood that the volumeF (k) could have produced the observed imageŝ A j (k) (under the assumptions about the noise-model described in section A.10).

A.20 Principal-mode least-squares reconstruction

155The same general methodology above can be applied to the principal images directly. To describe the modified least-squares system, we first define the low-rank decomposition of the radial component of the CTF-functions. Let CT F (k, j) correspond to the radial component of the CTF-function CT F j (k). Using the discretized analog of a functional SVD we represent CT F (k, j) by

156which we can truncate at rank H in accordance with the global tolerance. In the numerical experiments we present below, the image pools typically span 30 or so micrographs, usually resulting in H about 2 − 3.

157Using this H -rank decomposition of the CTF-array (across the image pool), we can approximately represent the noiseless principal images as follows:

158After using the radial principal modes to compress both this approximation and the associated component of the right hand side of (67), we obtain:

159By defining the CTF-modulated principal volume:

160we can now write the compressed least-squared problem as:

161where the radial reweighting of w(k) in (67) is accounted for by our definition of U . Note that, when H = H = R the equation above is equivalent to (67). However, when H < R and H < R this will correspond to a projected version of (67).

162Note also that, with this representation, we need not actually solve forF (k). Instead, we can use the principal images (on the right hand side) to solve the above problem (in a least-squares sense) for the collection of CTF-modulated principal volumesĜ(k; h ,F ). Solving (71) can be less computationally costly than solving (67) when the total number of degrees of freedom within the variousĜ is less than the total number of degrees of freedom withinF (i.e., when H × H < R). Even when this is not the case, the CTF-modulated principal volumesĜ (the solution to (71)) can still be more accurate (in terms of comparison to the ground truth) than the solutionF to (67). We see this improvement most acutely when the principal mode reduction U effectively removes noise from the images j (e.g., if there are many frequency rings which contain little to no information).

163We remark that, when dealing with least-squares reconstruction and principal mode reduction, 'the diagram commutes'. That is, because the principal mode projection U is orthonormal, the principal mode projection U CT F ·F (i.e., the principal projection of the full volume which solves the original least-squares problem in (67)) will be the same as the solution h v σ Ĝ to the principally-projected least-squares problem in (71), provided of course that the H -rank decomposition of the CTF-array is accurate (e.g., if H is taken to R). Thus, if H × H is indeed larger than R, then instead of solving (71), we can obtainĜ more easily by just solving the original least-squares problem forF and then projecting down to the CTF-modulated principal volumesĜ.

164Note also that, due to linearity, the noiseless images associated with the CTF-modulated principal volumesĜ will approximately equal the noiseless principal images associated with the volumeF , with errors controlled by the truncation H of the CTF-values. That is to say, a principal mode compression of (69) can be written as:

165This relationship can be used to align the principal images U Â j directly to the solutionĜ, without necessarily needing to reconstructF (see section A.22).

166Reconstruction via quadrature back propagation (QBP) In our experience, an accurate approximation of the solution to the least-squares problem above can require a significant amount of computation time when the conjugate gradient method requires many iterations to converge. As a more efficient (but typically less accurate) alternative, we employ a slightly different strategy. We refer to this alternative as 'quadrature-back-propagation' (QBP). The basic observation underlying QBP is that, assuming that there was no image noise and no CTF-attenuation, then the volume and images would solve:

167with each templateŜl • R(τ j ) •F corresponding to a cross-section of the volumeF (k). Each of these cross-sections can be viewed as a sample of the overall volumeF (k), with values given by the appropriate entry on the right-hand-side of the equation above. With sufficiently many crosssectional samples, a functional representation of the volumeF can be reconstructed via quadrature in the spherical harmonic basis via a spherical harmonic transform. That is, we have the approximate formula

168where {k p , w p } correspond to a quadrature rule on the sphere. The number of such nodes is of the order [O(k)] 2 on the spherical k-shell. (Equispaced points in the azimuthal direction and Legendre points in the polar angle, for example, are spectrally accurate.) Because the data points will not generally coincide with the necessary quadrature nodes, we interpolate from the given data to the nodes in some local neighborhood. A simple rule would be to take the local average over all data points that lie within some distance of the node. Note that this strategy is not iterative and is typically an order of magnitude (or so) faster than a least-squares reconstruction.

169In the absence of image-noise, the error in the reconstruction of f (k; l, m) will come from the 'interpolation error' associated with interpolating from the cross-sectional sample data to the quadrature nodes. When the image-noise is nonzero and the interpolation regions are fixed in size, then the approximation toF (k,k p ) will exhibit two sources of error. In addition to the interpolation error, there is a sampling error due to the image noise at each cross-sectional sample-point. In practice, we generally choosing the local neighborhood of the quadrature nodes to be sufficiently large to contain roughly O(10 1−2 ) sample points. This is usually sufficient for two digits of accuracy (coinciding with our usual global error tolerance).

170The above strategy can easily be generalized to deal with image-specific CTF-values. The QBP approach above essentially treats each sample within the local interpolation region of each quadrature node as a noisy observation ofF (k,k p ). The average can be thought of as a local maximum-likelihood estimate. Since different data points might correspond to different CTF functions, we can simply compute the CTF-weighted local averages instead. This strategy coincides with the CTF-weighting of Bayesian inference described in [7,11].

A.21 Remark regarding further template compression

171If the ranks H and H are both sufficiently small (e.g., 2 − 4 and 1 − 2, respectively), then the dimensionality of the space of CTF-modulated principal templates (as measured via the numerical rank) is very small, and usually quite a bit smaller than the actual number of principal templates (i.e., the number of viewing-directions). This would allow for additional compression, using a reduced set of 'basis'-templates (which span the space of templates) rather than the actual templates themselves. In our numerical experiments we do not implement this compression because our H and H are typically too large for it to be efficient.

A.22 Image alignment

172Just as for the reconstruction step, image alignment is often performed multiple times during molecular refinement. For standard AM, the inputs to the alignment process are the estimated molecular volumeF estim (k), as well as the picked-particle images j (k) and associated CTF-functions CT F j (k). The outputs are the estimated viewing angles τ estim j and displacements k estim j for the various images.

173In our case we will make use of both the standard maximum-likelihood alignment, as well as a more stable 'maximum-entropy' alignment (described below).

A.23 Alignment via maximum likelihood

174For this, we calculate the quantities X ,X and Z, described in section 2.1, for a collection of T = O(K 2 ) viewing directions α t and β t corresponding to our spherical shell quadrature grid fork at k = k R ≈ K. For each of these viewing-directions (α t , β t ), we consider a range of O(K) values for γ in [0, 2π). For the displacements, we typically limit them to lie in a small disk of radius δ local ∼ 0.01 or so, taking advantage of the low numerical rank of the set of translation-operators within this disk [17,25].

175Given the correlations Z(α t , β t ; j ), a common strategy for updating the viewing angles τ estim j and displacements δ estim j (referred to as 'maximum-likelihood' alignment), involves selecting the τ estim j (and, as a result, the δ estim j ) for each image j to maximize Z(α t , β t ) over the T viewing directions for that particular image j. In the ideal situation where the image formation model is accurate, this choice corresponds to the viewing-angle that is most likely to have produced the particular image  j , given that the molecule is indeedF estim . In practice we do not define τ estim j to be the very best α and β for each image, instead randomly selecting an α t and β t for which Z(α t , β t ) is within the top 5 th -percentile of its values for that image [16]. The results of our numerical-experiments are quite insensitive to this value of 5%; any choice from 1% to ∼ 10% achieves similar performance for maximum-likelihood alternating minimization.

176Let us define the function Sort[·] which maps lists of real-numbers to lists of positive integers such that, for any vector a ∈ R L , the value of Sort[a] l is the (integer) rank of a l (ranging from 1, . . . , L as it stands within the entries of a). As noted in section 2.1, we can see that the template ranks are obtained by applying Sort[·] to each 'column' of the array Z(α t , β t ;Â j ) (fixing j), while the image ranks are obtained by applying Sort[·] to each 'row' of the same array (fixing t). The maximumlikelihood alignment described above depends on the template ranks, while the maximum-entropy alignment (described below) depends on the image ranks.

177In this context the image displacements and CTF-modulation are typically ignored, and we assume (i) the imaged molecule itself is translationally invariant in the x 3 -direction, and (ii) the imaged molecule is only observed from the x 3 -axis. Because of (i), the function F (x) will be determined by F (x 1 , x 2 ), andF (k) will be restricted to the equatorial-plane, as denoted byF (k, ψ). Additionally, due to (ii), each 'image'Â j will be a noisy version ofF (k, ψ), subject to an unknown in-plane rotation γ j :Â

178If we further assume that the true volumeF involves only a single k-shell, then each image is restricted to a single k-ring, and can be considered a periodic function on [0, 2π].

179The MRA problem has been well studied [26,27,28], and can be used to gain insight into the behavior of many reconstruction strategies. It can be used, for example, to investigate the sensitivity of Bayesian inference (BI) to mismatches between the estimated and true noise levels (see Fig 6).

C Multi-Slice Alignment (MSA)

180An 'orthogonal' sub-problem to MRA, which we refer to as Multi-Slice Alignment (MSA), can be described as follows. As in MRA, we ignore displacements and the CTF and assume that the volume is invariant in the x 3 -direction. However, in MSA, we assume that the imaged molecule is only observed from the equatorial plane. With this assumption the images will correspond to projections of F (x) onto one-dimensional lines in the x 1 -x 2 -plane (i.e., samples of the two-dimensional Radon transform of F (x 1 , x 2 )). Thus, retaining the notation j , each image corresponds to a one-dimensional slice ofF (k, ψ), expressed as a function of k ∈ R for a specific (but unknown) ψ j :

181To simplify the scenario further, we restrict each image to the ray of positive k:

182A j (k) =F (k, ψ j ) + noise for k > 0.

183If we further assume that the true volume F can take on arbitrary complex values, and thatF involves only a single k-shell, thenF corresponds to a closed-curve in C, written as the function G(ψ), parametrized by ψ. Each image is now simply a point, corresponding to a noisy observation ofĜ(ψ). If we assume that the true volumeF involves a discrete set of R k-values {k 1 , . . . , k R }, thenĜ will be a closed curve in C R (once again parametrized by ψ), and each image will be a vector in C R corresponding to a noisy observation ofĜ(ψ j ). An example illustrating the MSA problem for R = 1 is shown in Fig 7. Numerical experiments: We believe that MSA can be a useful testbed for studying the performance of various strategies for cryo-EM reconstruction. As a simple example, let R ≡ 1 above and defineĜ true : [0, 2π) → C using a fixed number of Fourier modes:

184with the shape ofĜ true determined by the 2Q + 1 coefficients g true q .

185In the experiments below, we generateĜ true randomly by drawing each of the g true q from a (complex) Gaussian distribution with variance 1.

186Having drawn a particularĜ true , we sample this molecule at N A points, producing a collection of simulated data points j defined by:Â

187where the ψ j are drawn independently and uniformly from [0, 2π), and each j is an independent complex random variable drawn from a normal distribution with variance σ. Now, given the collection of N A images {Â j }, we can try to reconstructĜ true using the strategies discussed in the main text. Due to the simplicity of MSA, much of the apparatus described in the main text simplifies dramatically. For example, reconstruction involves a subsampled and/or non-uniform Fourier transform, and alignment involves calculating the distance between each image point and the curveĜ as a function of ψ.

188Many features of this toy problem are expected. For example, when σ = 0 the images lie exactly on the curveĜ true . If we begin the alignment process with an initial guessĜ init =Ĝ true for the molecule, then each image will be aligned exactly to its correct viewing-angle ψ true j (up to a global phase-shift). Subsequent reconstruction steps will produceĜ estim =Ĝ true , so long as the number of observed points N A is at least as large as the number of modes 1 + 2Q, and the reconstruction operator is well-conditioned (i.e., if the image-points are not too closely clumped together). Put more simply, if σ = 0 and N A ≥ 1 + 2Q then, generically speaking, a maximum-likelihood alternating minimization starting withĜ init =Ĝ true as an initial-function will be stable.

189However, even in this simple scenario (i.e., with σ = 0), if we were to attempt maximum-likelihood alternating minimization with a different initial function then we are not guaranteed to converge tô G. Indeed, if N A is not too large, there will typically be many different functions with the same bandlimit of Q that pass close to the observed points j . Which of these functions we converge to will depend on the details of the reconstruction process. The situation becomes more complicated once we add image noise; when σ > 0 even an initial guess ofĜ init =Ĝ true will not necessarily lead to convergence to a functionĜ estim that is close toĜ true .

190To probe this phenomenon, we perform a set of numerical-experiments. We initialize our reconstruction with a function of the form:

191whereĜ rand is a random function drawn the same way as (but independent from)Ĝ true , and λ is a parameter describing how closeĜ init is to the ground truth. Given a particularĜ init , we perform the reconstruction, iterating until the resultingĜ estim converges. For each trial we can then measure the error E betweenĜ estim andĜ true .

192In order to reward trials whereĜ estim andĜ true are close to one another, even if they are parametrized differently, we define the error E as follows: First we define d(Ĝ estim ←Ĝ true (ψ)) to be the distance betweenĜ true (ψ) (i.e., a point in C) and the curveĜ estim . We then define the error E(Ĝ estim ←Ĝ true ) as the integral of d 2 (Ĝ estim ←Ĝ true (ψ)) over ψ. Similarly, we define d(Ĝ true ←Ĝ estim (ψ)) to be the distance betweenĜ estim (ψ) and the curveĜ true , and define the error E(Ĝ true ←Ĝ estim ) as the integral of d 2 (Ĝ true ←Ĝ estim ) over ψ. Finally, we define the overall error E = max(E(Ĝ true ←Ĝ estim ), E(Ĝ estim ←Ĝ true )) to be the larger of the two. Figure 8 illustrates the average E (accumulated over 512 random trials) for three different reconstruction strategies across a range of λ and σ values. On the left we show the results for Bayesian inference, where we set the estimated noise level equal to the true noise level (i.e., σ) when reconstructing the molecule. Note that Bayesian inference is quite accurate when the initial guess is accurate (i.e., when λ = 1). However, when λ < 1 and there is a mismatch between the initial guess and the true function, Bayesian inference typically performs quite poorly.

193Similarly, we can apply standard maximum-likelihood alternating minimization (AM). This is equivalent to Bayesian inference with an estimated noise level of 0. The results for AM are identical to those shown on the left when σ = 0. However, as soon as a little image noise is added (σ > 0), AM typically converges to aĜ estim which is wildly different fromĜ true , with errors that are an order of magnitude larger than those shown for Bayesian inference (which was run with an estimated noise-level of σ). We do not display the (large) errors observed for standard AM.

194In the middle, we show the results for a simple alternating minimization scheme using maximumentropy alignment at each step. On the right we show the results for our preferred EMPM strategy: namely, alternating between maximum-likelihood and maximum-entropy alignment. Note that, while our preferred strategy is less accurate than Bayesian inference when σ is small andĜ init =Ĝ true , it is more accurate in this regime when σ > 0 and λ < 1. Figure 9 illustrates the results of a similar numerical experiment, where the images are drawn from a non-uniform distribution of viewing angles. For this numerical experiment, we consider viewing angle distributions of the form exp(β cos(ψ))/(2πI 0 ), controlled by a parameter β. When β = 0 the viewing angle distribution is uniform, and as β increases, the viewing angle distribution becomes more and more sharply peaked around ψ = 0. Results for λ = 0 are shown in Fig 9. The results with β = 0 are the same (in distribution) as the λ = 0 scenario in Fig 8. Note that EMPM is typically more accurate than Bayesian inference in this regime.

D Relion De-Novo parameters:

195When using Relion's de-novo molecular reconstruction, we use the following parameters. Additionally, we set the --particle diameter to be commensurate with the true molecule diameter (rounded up to the nearest 50 or 100Å).

E EMPM parameters:

196When performing the EMPM reconstructions shown in the main text, we fixed K = 48, corresponding to a maximum resolution of ∼ 20Å, as is typical for low-resolution estimates. Our EMPM algorithm also requires two other user-specified parameters: the overall tolerance tol and the width of the local displacement disk δ local . As shown in Fig 13, the typical quality of our results does not change appreciably if these parameters are varied across an order of magnitude. We also run our algorithm for 64 iterations. As shown in Fig 14, the median quality of our results does not deteriorate appreciably if we reduce the number of iterations by a modest factor.

197As mentioned in the main text, the overall computation time for our algorithm is roughly constant per iteration (i.e., between 30 − 50 minutes on a desktop workstation for all 64 iterations). In principle, we expect the overall computation time of our algorithm to grow as tol becomes very small or δ local becomes very large. The reason we do not see a strong dependence on computation time for the range of parameters shown here is that, within this regime, the array dimensions involved are not so large (i.e., ∼ 10 2 − 10 3 per dimension). As a consequence, roughly half of the overall computational effort is spent on memory movement rather than floating-point operations. σ true σ BI Figure 6: In this figure we illustrate the typical errors observed when using Bayesian inference to tackle the MRA problem. For this numerical experiment we setĜ true to be a random function with Q = 8 (i.e., 1 + 2Q = 17 degrees of freedom). The real (red) and imaginary (blue) parts ofĜ true are shown on the left. We set N A = 2048, with ψ true j uniformly distributed in [0, 2π]. We vary the true noise-level (horizontal) and the estimated noise-level (vertical). On the right-hand-side we show the L 2 -error betweenĜ true andĜ estim . We calculateĜ estim via bayesian-inference, starting with a random function with the same number of degrees of freedom asĜ true , and iterating until convergence. The L 2 -error on the right is scaled so that '1' corresponds to the error betweenĜ true and a constant function with the same mean. Note that when the true noise-level is moderate (e.g., around 0.5) there is only a narrow range of estimated noise-levels which admit accurate reconstructions (i.e., when σ estim is close to σ true ). Outside this narrow band the reconstruction can be quite poor, even when σ estim is only 20% higher or lower than σ true . Figure 7: In this figure we illustrate the MSA problem with a single shell at k = 1. In the first subplot we show one example of a functionĜ true (ψ) plotted as a closed curve in C (black). N A = 32 images are sampled fromĜ(ψ), with each ψ true j drawn independently from a uniform distribution on [0, 2π] (circles, colored periodically according to ψ true j ). The true noise-level used when generating the images is σ true = 0.5. Starting with the ground-truthĜ init =Ĝ true , we apply Bayesian inference (BI) with the estimated noise level σ BI set to equal σ true . The resultingĜ BI are shown in the second subplot, with early iterations in cyan and later iterations in magenta. We also apply the EMPM strategy, again starting with the ground-truth; the resultingĜ EMPM are shown in the third subplot. Errors for BI (black) and EMPM (gray) are shown in the fourth sub-plot. Note that the error for EMPM oscillates as the iterations themselves alternate between maximum-likelihood-and maximum-entropy-alignment. In Fig 8 below we use as the error for EMPM the higher of the two alternating values. The data here correspond to one trial with σ = 0.5 and λ = 1 in Figure 8: In this figure we illustrate the recovery of Bayesian inference (left), maximum-entropy alternating minimization (center) and EMPM as applied to the MSA problem (see text). For each trial in this numerical experiment we define the true molecule using aĜ constructed with Q = 8, corresponding to 1 + 2Q = 17 degrees of freedom (each of the coefficients ofĜ are drawn independently from a normal distribution). We sample N A = 32 images fromĜ (i.e., roughly 2 times the number of modes) and add noise with a magnitude given by σ ranging from 0 to 1 (defined relative to the norm ofĜ) (horizontal). For each noise level σ we perform each reconstruction starting with an initial function of the form λ ·Ĝ + (1 − λ) ·Ĝ noise , withĜ noise drawn randomly (and independently fromĜ) and λ ranging between 0 and 1 (vertical). For each value of (σ, λ), we simulate 512 randomly generated trials; the heatmaps above average over these trials. Bayesian inference (left) is run with estimated noise level equal to the true noise level. In the middle, we show results for a simple alternating-minimization using only maximum-entropy alignment, rather than maximum-likelihood. (Maximum-likelihood-based AM fared even more poorly.) On the right we show the results for EMPM, with the error measured at the final maximum-entropy alignment step (which is typically higher than the error after the last maximum-likelihood alignment step). Figure 9: As in Fig 8, we compare various reconstruction methods for the MSA problem, but here we focus on viewing angle distribution. For this, we introduce a new parameter β ∈ [0, 3], where β controls the nonuniformity of the viewing angle, with samples ψ j drawn from the distribution: exp(β · cos(ψ))/(2πI 0 (β)). Examples of this distribution (multiplied by 2π) are shown on the far right. When β = 0 the viewing angles are uniformly distributed (cyan). When β = 1 the viewing angle distribution ranges in density (from highest to lowest) by a factor of e 2 . When β = 3 the viewing angle distribution ranges in density by a factor of e 6 , and is mostly supported in an interval with diameter ∼ π (magenta). We fix λ ≡ 0 (i.e., we start with a random function), and illustrate the errors using the same scale as in MlaFEDB LetB1 TMEM16F Figure 12: As in Fig. 3. we illustrate the aligned correlation Z mask between our various reconstructions and the ground-truth. Here we examine reconstructions for LSUbl16dep, MlaFEDB, LetB1 and TMEM16F. The different horizontal bars indicate the values of Z mask for different reconstruction strategies (coded by color) with different trials from the same strategy adjacent to one another (sorted by Z mask ). At the top of each panel (centered) is the "Oracle" low resolution reconstruction for the indicated molecule. To the right in each panel, we show an EMPM reconstruction and to the left, we show a reconstruction obtained using one of the other pipelines which achieves poorer correlation scores. Note that the Z mask values do tend to correlate with the image reconstruction quality. letB1 has a highly non-uniform distribution of ground-truth Euler angles. The distributions in the other cases are more uniform. (See Fig. 15.) Figure 13: In this figure we illustrate the sensitivity of our results to perturbations in tol (left) and δ local (right). In each case we collect the results from all our reconstructions (across 8 molecules), transform each Z mask into a normalized z-score (i.e., subtracting the mean Z mask for that molecule, and then dividing by the standard-deviation across reconstructions for that molecule), and then plot the normalized z-score as a function of the selected parameter. Each dot corresponds to a reconstruction (633 in total), with the red line illustrating a linear fit. While there is a slight benefit to larger values of δ local , and an even slighter benefit to smaller values of tol , the variation in quality across reconstructions is more than an order of magnitude larger than the variation that can be attributed to the parameters (see R 2 values). , then transform each (unmasked) Z into a normalized score (i.e., subtracting the final (unmasked) Z for that reconstruction, and then dividing by the standard-deviation of the final Z taken across reconstructions for that molecule). We then plot the 50 th , 15 th and 5 th percentile for the distribution of normalized scores as a function of the even iterations (i.e., those corresponding to an entropymaximizing alignment). Note that the former 32 iterations correspond to 'phase-one', where the principal-mode compression uses the empirical principal-modes, while the latter 32 iterations correspond to 'phase-two', where the principal-mode compression uses the volumetric principal-modes estimated after phase-one. Note that the median performance plateaus well before the final iteration of phase-two. If we were to halt our program earlier (after, say, only 16 iterations of phase-two) our results do not change considerably. Figure 15: We illustrate the distribution of polar viewing-angle β (ranging from [0, π]) for the images used in reconstructing LetB1 (left) and trpv1 (right). In each case, the left-hand histogram shows the ground-truth distribution, while the right-hand histogram shows the distribution estimated from the reconstructions shown earlier. This distribution is normalized by sin(β) so that a uniform distribution of viewing-angles on the sphere will appear constant as a function of β (rather than being proportional to sin(β)). Note that, even after this normalization, the viewing-angles for LetB1 and trpv1 are strongly concentrated in certain regions of the sphere. The ground-truth distribution of β for LetB1, for example, has more than 90% of its mass concentrated within π/14 of the equator.

참고문헌 25건

  1. Fast Steerable Principal Component Analysis IEEE Transactions on Computational Imaging · Institute of Electrical and Electronics Engineers · 2016 10.1109/tci.2016.2514700
  2. Maximum likelihood refinement of electron microscopy data with normalization errors Journal of Structural Biology · Elsevier BV · 2009 10.1016/j.jsb.2009.02.007
  3. A Primer to Single-Particle Cryo-Electron Microscopy Cell · Cell Press · 2015 10.1016/j.cell.2015.03.050
  4. A Maximum-Likelihood Approach to Single-Particle Image Refinement Journal of Structural Biology · Elsevier BV · 1998 10.1006/jsbi.1998.4014
  5. A Bayesian View on Cryo-EM Structure Determination Journal of Molecular Biology · Elsevier BV · 2011 10.1016/j.jmb.2011.11.010
  6. Determination of signal-to-noise ratios and spectral SNRs in cryo-EM low-dose imaging of molecules Journal of Structural Biology · Elsevier BV · 2009 10.1016/j.jsb.2009.02.012
  7. Cryo‐electron microscopy – a primer for the non‐microscopist FEBS Journal · Wiley · 2012 10.1111/febs.12078
  8. The Mathematics of Computerized Tomography Medical Physics · Wiley · 2002 10.1118/1.1429631
  9. RELION: Implementation of a Bayesian approach to cryo-EM structure determination Journal of Structural Biology · Elsevier BV · 2012 10.1016/j.jsb.2012.09.006
  10. Likelihood-based classification of cryo-EM images using FREALIGN Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.07.005
  11. Rotationally invariant image representation for viewing direction classification in cryo-EM Journal of Structural Biology · Elsevier BV · 2014 10.1016/j.jsb.2014.03.003
  12. Introduction to the Mathematics of Medical Imaging 2007 10.1137/9780898717792
  13. Accelerated cryo-EM structure determination with parallelisation using GPUs in RELION-2 eLife · eLife Sciences Publications Ltd · 2016 10.7554/elife.18722
  14. Modular Assembly of the Bacterial Large Ribosomal Subunit Cell · Cell Press · 2016 10.1016/j.cell.2016.11.020
  15. cryoSPARC: algorithms for rapid unsupervised cryo-EM structure determination Nature Methods · Nature Portfolio · 2017 10.1038/nmeth.4169
  16. Factorization of the translation kernel for fast rigid image alignment Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab4e66
  17. Rapid Solution of the Cryo-EM Reconstruction Problem by Frequency Marching SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2017 10.1137/16m1097171
  18. The Sample Complexity of Multireference Alignment SIAM Journal on Mathematics of Data Science · Society for Industrial and Applied Mathematics · 2019 10.1137/18m1214317
  19. A Parallel Nonuniform Fast Fourier Transform Library Based on an “Exponential of Semicircle" Kernel SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2019 10.1137/18m120885x
  20. CryoDRGN: reconstruction of heterogeneous cryo-EM structures using neural networks Nature Methods · Nature Portfolio · 2021 10.1038/s41592-020-01049-4
  21. Super-resolution multi-reference alignment Information and Inference A Journal of the IMA · Oxford University Press · 2021 10.1093/imaiai/iaab003
  22. The Fourier Transform and Its Applications 1999
  23. New tools for automated cryo-EM single-particle analysis in RELION-4.0 Biochemical Journal · Portland Press · 2021 10.1042/bcj20210708
  24. An Accelerated Expectation-Maximization Algorithm for Multi-Reference Alignment IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2022 10.1109/tsp.2022.3183344
  25. Radial recombination for rigid rotational alignment of images and volumes Inverse Problems · IOP Publishing · 2022 10.1088/1361-6420/aca047