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

Building proteins in a day: Efficient 3D molecular reconstruction

관련 필름·전자재료 · (15) 디스플레이 패널재료

기본 정보

저자
  1. Marcus A. Brubaker — University of Toronto
  2. Ali Punjani — University of Toronto
  3. David J. Fleet — University of Toronto
  4. Marcus A. Brubaker
  5. Ali Punjani
  6. David J. Fleet
DOI
10.1109/cvpr.2015.7298929
저널
–
발행년도
2015
발행기관
–
피인용수
10
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/cvpr.2015.7298929
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W1897864852

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
LLM(gemma-4-26b-a4b-it) 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Discovering the 3D atomic structure of molecules such as proteins and viruses is a fundamental research problem in biology and medicine. Electron Cryomicroscopy (Cryo-EM) is a promising vision-based technique for structure estimation which attempts to reconstruct 3D structures from 2D images. This paper addresses the challenging problem of 3D reconstruction from 2D Cryo-EM images. A new framework for estimation is introduced which relies on modern stochastic optimization techniques to scale to large datasets. We also introduce a novel technique which reduces the cost of evaluating the objective function during optimization by over five orders or magnitude. The net result is an approach capable of estimating 3D molecular structure from large scale datasets in about a day on a single workstation.

본문 57,526자

본문 펼치기
## Building Proteins in a Day: Efficient 3D Molecular Reconstruction Marcus A. Brubaker Ali Punjani University of Toronto _{_ mbrubake,alipunjani,fleet _}_ @cs.toronto.edu Abstract David J. Fleet _Discovering_ _the_ _3D_ _atomic_ _structure_ _of_ _molecules_ _such_ _as proteins and viruses is a fundamental research_ _problem_ _in_ _biology_ _and_ _medicine._ _Electron_ _Cryomicroscopy_ _(Cryo-_ _EM) is a promising vision-based technique for structure es-_ _timation_ _which_ _attempts_ _to_ _reconstruct_ _3D_ _structures_ _from_ _2D_ _images._ _This_ _paper_ _addresses_ _the_ _challenging_ _prob-_ _lem_ _of_ _3D_ _reconstruction_ _from_ _2D_ _Cryo-EM_ _images._ _A_ _new_ _framework_ _for_ _estimation_ _is_ _introduced_ _which_ _relies_ _on_ _modern_ _stochastic_ _optimization_ _techniques_ _to_ _scale_ _to_ _large_ _datasets._ _We_ _also_ _introduce_ _a_ _novel_ _technique_ _which_ _reduces_ _the_ _cost_ _of_ _evaluating_ _the_ _objective_ _function_ _dur-_ _ing optimization by over five orders or magnitude._ _The net_ _result_ _is_ _an_ _approach_ _capable_ _of_ _estimating_ _3D_ _molecular_ _structure from large scale datasets in about a day on a sin-_ _gle workstation._ 1. Introduction Discovering the 3D atomic structure of molecules such as proteins and viruses is a fundamental research problem in biology and medicine. The ability to routinely determine the 3D structure of such molecules would potentially revolutionize the process of drug development and accelerate research into fundamental biological processes. Electron Cryomicroscopy (Cryo-EM) is an emerging vision-based approach to 3D macromolecular structure determination that is applicable to medium to large-sized molecules in their native state. This is in contrast to X-ray crystallography which requires a crystal of the target molecule, which are often impossible to grow [32] or nuclear magnetic resonance (NMR) spectroscopy which is limited to relatively small molecules [15]. The Cryo-EM reconstruction task is to estimate the 3D density of a target molecule from a large set of images of the molecule (called particle images). The problem is similar in spirit to multi-view scene carving [6, 16] and to large-scale, uncalibrated multi-view reconstruction [1]. Like multi-view scene carving, the goal is to estimate a dense 3D occupancy representation of shape from a set of different views, but Figure 1: The goal is to reconstruct the 3D structure of a molecule (right), at nanometer scales, from a large number of noisy, uncalibrated 2D projections obtained from cryogenically frozen samples in an electron microscope (left). unlike many approaches to scene carving, we do not assume calibrated cameras, since we do not know the relative 3D poses of the molecule in different images. Like uncalibrated, multi-view reconstruction, we aim to use very large numbers of uncalibrated views to obtain high fidelity 3D reconstructions, but the low signal-to-noise levels in CryoEM (often as low as 0.05 [4]; see Fig. 1) and the different image formation model prevent the use of common feature matching techniques to establish correspondences. Computed Tomography (CT) [13, 10] uses a similar imaging model (orthographic integral projection), however in CT the projection direction of each image is known whereas with Cryo-EM the relative pose of each particle is unknown. Existing Cryo-EM techniques, _e.g_ ., [7, 11, 34, 37], suffer from two key problems. First, without good initialization, they converge to poor or incorrect solutions [12], often with little indication that something went wrong. Second, they are extremely slow, which limits the number of particles images one can use as input to mitigate the effects of noise; _e.g_ ., the website of the RELION package [34] reports 1 requiring two weeks on 300 cores to process a dataset with 200,000 images. We introduce a framework for Cryo-EM density estimation, formulating the problem as one of stochastic optimization to perform maximum-a-posteriori (MAP) estimation in a probabilistic model. The approach is remarkably efficient, providing useful low resolution density estimates in an hour. We also show that our stochastic optimization technique is insensitive to initialization, allowing the use of random initializations. We further introduce a novel importance sampling scheme that dramatically reduces the computational costs associated with high resolution reconstruction. This leads to speedups of 100,000-fold or more, allowing structures to be determined in a day on a modern workstation. In addition, the proposed framework is flexible, allowing parts of the model to be changed and improved without impacting the estimation; _e.g_ ., we compare the use of three different priors. To demonstrate our method, we perform reconstructions on two real datasets and one synthetic dataset. 2. Background and Related Work In Cryo-EM, a purified solution of the target molecule is cryogenically frozen into a thin (single molecule thick) film, and imaged with a transmission electron microscope. A large number of such samples are obtained, each of which provides a micrograph containing hundreds of visible, individual molecules. In a process known as _particle_ _pick-_ _ing_, individual molecules are selected, resulting in a stack of cropped _particle_ _images_ . Particle picking is often done manually, however there have been recent moves to partially or fully automate the process [17, 40]. Each particle image provides a noisy view of the molecule, but with unknown 3D pose, see Fig. 2 (right). The reconstruction task is to estimate the 3D electron density of the target molecule from the potentially large set of particle images. Common approaches to Cryo-EM density estimation, _e.g_ ., [7, 11, 37], use a form of iterative refinement. Based on an initial estimate of the 3D density, they determine the best matching pose for each particle image. A new density estimate is then constructed using the Fourier Slice Theorem (FST); _i.e_ ., the 2D Fourier transform of an integral projection of the density corresponds to a slice through the origin of the 3D Fourier transform of that density, in a plane perpendicular to the projection direction [13]. Using the 3D pose for each particle image, the new density is found through interpolation and averaging of the observed particle images. This approach is fundamentally limited in several ways. Even if one begins with the correct 3D density, the low SNR of particle images makes accurately identifying the correct pose for each particle nearly impossible. This problem is exacerbated when the initial density is inaccurate. Poor initializations result in estimated structures that are either clearly wrong (see Fig. 9) or, worse, appear plausible but are misleading in reality, resulting in incorrectly estimated 3D structures [12]. Finally, and crucially for the case of density estimation with many particle images, all data are used at each refinement iteration, causing these methods to be extremely slow. Mallick et al. [25] proposed an approach which attempted to establish weak constraints on the relative 3D poses between different particle images. This was used to initialize an iterative refinement algorithm to produce a final reconstruction. In contrast, our refinement approach does not require an accurate initialization. To avoid the need to estimate a single 3D pose for each particle image, Bayesian approaches have been proposed in which the 3D poses for the particle images are treated as latent variables, and then marginalized out numerically. This approach was originally proposed by Sigworth [35] for 2D image alignment and later by Scheres et al. [33] for 3D estimation and classification. It was since been used by Jaitly et al. [14], where batch, gradient-based optimization was performed. Nevertheless, due to the computational cost of marginalization, the method was only applied to small numbers of class-average images which are produced by clustering, aligning and averaging individual particle images according to their appearance, to reduce noise and the number of particle images used during the optimization. More recently, pose marginalization was applied directly with particle images, using a batch Expectation-Maximization algorithm in the RELION package [34]. However, this approach is extremely computationally expensive. Here, the proposed approach uses a similar marginalized likelihood, however unlike previous methods, stochastic rather than batch optimization is used. We show that this allows for efficient optimization, and for robustness with respect to initialization. We further introduce a novel importance sampling technique that dramatically reduces the computational cost of the marginalization when working at high resolutions. 3. A Framework for 3D Density Estimation Here we present our framework for density estimation which includes a probabilistic generative model of image formation, stochastic optimization to cope with large-scale datasets, and importance sampling to efficiently marginalize over the unknown 3D pose of the particle in each image. 3.1. Image Formation Model In Cryo-EM, particle images are formed as orthographic, integral projections of the electron density of a molecule, _V_ _∈_ R <sup>_D_</sup> <sup>3</sup> . In each image, the density is oriented in an unknown pose, R _∈SO_ (3), relative to the direction of the microscope beam. The projection along this unknown direction is a linear operator, which is represented by the matrix PR _∈_ R <sup>_D_</sup> <sup>2</sup> <sup>_×D_</sup> <sup>3</sup> . Along with pose, the in-plane translation t _∈_ R <sup>2</sup> of each particle image is unknown, the effect of Figure 2: A generative image formation model in Cryo-EM. The electron beam results in an orthographic integral projection of the electron density of the specimen. This projection is modulated by the Contrast Transfer Function (CTF) and corrupted with noise. The images pictured here showcase the low SNR typical in Cryo-EM. The zeros in the CTF (which completely destroy some spatial information) make estimation particularly challenging, however their locations vary as a function of microscope parameters. These are set differently across particle images in order to mitigate this problem. Particle images and density from [18]. which is similarly represented by a matrix St _∈_ R <sup>_D_</sup> <sup>2</sup> <sup>_×D_</sup> <sup>2</sup> . The resulting shifted projection is corrupted by two phenomena: a contrast transfer function (CTF) and noise. The CTF is analogous to the effects of defocus in a conventional light camera and can be modelled as a convolution of the projected image. This linear operation is represented here by the matrix C _θ_ _∈_ R <sup>_D_</sup> <sup>2</sup> <sup>_×D_</sup> <sup>2</sup> where _θ_ are the parameters of the CTF model [30]. The Fourier spectrum of a typical CTF is shown in Figure 2; note the phase changes which result in zero crossings (not typically observed in traditional light cameras) and the attenuation at higher frequencies which makes estimation particularly challenging. CTF parameters, _θ_, are assumed to be given; CTF estimation is beyond the scope of this work, but is routinely done using existing tools, _e.g_ ., [24, 27]. As noted above, and clearly seen in Figure 2, there is a large amount of noise present in typical particle images. This is primarily due to the sensitive nature of biological specimens, requiring extremely low exposures. The noise is modelled using an IID Gaussian distribution, resulting in the following expression for the conditional distribution of a particle image, _I_ _∈_ R <sup>_D_</sup> <sup>2</sup>, _p_ ( _I | θ,_ R _,_ t _, V_ ) = _N_ ( _I |_ C _θ_ StPR _V, σ_ <sup>2</sup> I ) (1) where _σ_ is the standard deviation of the noise and _N_ ( _·|µ,_ Σ) is the multivariate normal distribution with mean vector _µ_ and covariance matrix Σ. In practice, due to computational considerations, Equation (1) is evaluated in Fourier space, making use of the Fourier Slice Theorem and Parseval’s Theorem to obtain _p_ ( _I |_ <sup>˜</sup> _θ,_ R _,_ t _,_ _V_ <sup>˜</sup> ) = _N_ ( _I |_ <sup>˜</sup> C <sup>˜</sup> _θ_ S <sup>˜</sup> tP <sup>˜</sup> R _V_ <sup>˜</sup> _, σ_ <sup>2</sup> I ) (2) where _I_ <sup>˜</sup> is the 2D Fourier transform of the image, S <sup>˜</sup> t is the shift operator in Fourier space (a phase change), C <sup>˜</sup> _θ_ is the CTF modulation in Fourier space (a diagonal operator), P <sup>˜</sup> R is a sinc interpolation operator which extracts a plane through the origin defined by the projection orientation R and _V_ <sup>˜</sup> is the 3D Fourier transform of _V_ . To speed the computation of the likelihood, and due to the level of noise and attenuation of high frequencies by the CTF, a maximum frequency is specified, _ω_, beyond which frequencies are ignored. The 3D pose, R, and shift, t, of each particle image are unknown and treated as latent variables which are marginalized out [35, 33]. Assuming R and t are independent of each other and the density _V_, one obtains _SO_ (3) _p_ ( _I |_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) = R <sup>2</sup> _p_ ( _I|_ <sup>˜</sup> _θ,_ R _,_ t _,_ _V_ <sup>˜</sup> ) _p_ ( R ) _p_ ( t ) _d_ R _d_ t (3) where _p_ ( R ) is a prior over 3D poses, R _∈SO_ (3), and _p_ ( t ) is a prior over translations, t _∈_ R <sup>2</sup> . In general, nothing is known about the projection direction so _p_ ( R ) is assumed to be a uniform distribution. Particles are picked to be close to the center of each image, so _p_ ( t ) is chosen to be a Gaussian distribution centered in the image. The above double integral is not analytically tractable, so numerical quadrature is used [22, 9]. The conditional probability of an image (likelihood) then becomes _p_ ( _I|_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) _≈_ _M_ R _j_ =1 _wj_ <sup>R</sup> _M_ t _ℓ_ =1 _wk_ <sup>t</sup> <sup>_p_</sup> <sup>(˜</sup> <sup>_I|θ,_</sup> <sup>R</sup> <sup>_j,_</sup> <sup>t</sup> <sup>_ℓ,_</sup> <sup>˜</sup> <sup>_V_</sup> <sup>)</sup> <sup>_p_</sup> <sup>(</sup> <sup>R</sup> <sup>)</sup> <sup>_p_</sup> <sup>(</sup> <sup>t</sup> <sup>)</sup> (4) where _{_ ( R _j, wj_ <sup>R</sup> <sup>)</sup> <sup>_}M_</sup> _j_ =1 <sup>R</sup> <sup>are weighted quadrature points over</sup> _SO_ (3) and _{_ ( t _ℓ, wℓ_ <sup>t</sup> <sup>)</sup> <sup>_}M_</sup> _ℓ_ =1 <sup>t</sup> <sup>are</sup> <sup>weighted</sup> <sup>quadrature</sup> <sup>points</sup> over R <sup>2</sup> . The accuracy of the quadrature scheme, and consequently the values of _M_ R and _M_ t, are set automatically based on _ω_, the specified maximum frequency such that higher values of _ω_ results in more quadrature points. Given a set of _K_ images with CTF parameters D = _{_ ( _Ii, θi_ ) _}_ <sup>_K_</sup> _i_ =1 <sup>and assuming conditional independence of the</sup> images, the posterior probability of a density _V_ is _j_ <sup>R</sup> <sup>)</sup> <sup>_}M_</sup> _j_ =1 <sup>R</sup> _ℓ_ <sup>t</sup> <sup>)</sup> <sup>_}M_</sup> _ℓ_ =1 <sup>t</sup> Given a set of _K_ images with CTF parameters D = _{_ ( _Ii, θi_ ) _}_ <sup>_K_</sup> _i_ =1 <sup>and assuming conditional independence of the</sup> 36] to more complex methods such as Natural Gradient methods [2, 3, 19, 20] and Hessian-free optimization [26]. Here we propose the use of Stochastic Average Gradient Descent (SAGD) [21] which has several important advantages. First, it is effectively self-tuning, using a line-search to determine and adapt the learning rate. This is particularly important, as many methods require significant manual tuning for new objective functions and, potentially, each new dataset. Further, it is specifically designed for the finite dataset case allowing for faster convergence. At each iteration _τ_, SAGD [21] considers only a single subset of data, _kτ_, which defines part of the objective function _fkτ_ ( _V_ ) and its gradient g _kτ_ ( _V_ ). The density _V_ is then updated as _K_ _j_ =1 _<u>ϵ</u>_ _Vτ_ +1 = _Vτ_ _−_ _KL_ _dVj_ <sup>_τ_</sup> (7) _p_ ( _V|_ D) _∝_ _p_ ( _V_ ) _K_ _i_ =1 _p_ ( _I_ <sup>˜</sup> _i|θi,_ _V_ <sup>˜</sup> ) (5) where _p_ ( _V_ ) is a prior over 3D molecular electron densities. Several choices of prior are explored below, but we found that a simple independent exponential prior worked well. Specifically, _p_ ( _V_ ) = <sup>�</sup> _i_ <sup>_D_</sup> =1 <sup>3</sup> <sup>_λe−λVi_</sup> <sup>where</sup> <sup>_Vi_</sup> <sup>is</sup> <sup>the</sup> <sup>value</sup> of the _i_ th voxel and _λ_ is the inverse scale parameter. Other choices of prior are possible and is a promising direction for future research. where _ϵ_ is a base learning rate, _L_ is a Lipschitz constant of g _k_ ( _V_ ), and _dVk_ <sup>_τ_</sup> <sup>=</sup> g _k_ ( _Vτ_ ) _k_ = _kτ_ (8) _dVk_ <sup>_τ_</sup> <sup>_−_</sup> <sup>1</sup> otherwise Estimating the density now corresponds to finding _V_ which maximizes Equation (5). Taking the negative log and dropping constant factors, the optimization problem becomes arg min _V∈_ R+ _D_ 3 <sup>_f_</sup> <sup>(</sup> <sup>_V_</sup> <sup>),</sup> is the most recent gradient evaluation of datapoint _j_ at iteration _τ_ . This step can be computed efficiently by storing the gradient of each observation and updating a running sum each time a new gradient is seen. The Lipschitz constant _L_ is not generally known but can be estimated using a line-search technique. Theoretically, convergence occurs for values of _ϵ_ _≤_ 161 <sup>[21],</sup> <sup>however</sup> <sup>in</sup> <sup>practice</sup> <sup>larger</sup> values at early iterations can be beneficial, thus we use _ϵ_ = max( 16 <sup><u>1</u></sup> <sup>_,_</sup> <sup>21</sup> <sup>_−⌊τ/_</sup> <sup>150</sup> <sup>_⌋_</sup> <sup>).</sup> <sup>To allow parallelization and re-</sup> duce the memory requires of SAGD, the data is divided into minibatches of 200 particles images. Finally, to enforce the positivity of density, negative values of _V_ are truncated to zero after each iteration. More details of the stochastic optimization can be found in the Supplemental Material. 3.3. Importance Sampling While stochastic optimization allows us to scale to large datasets, the cost of computing the required gradient for each image remains high due to the marginalization over orientations and shifts. Intuitively, one could consider randomly selecting a subset of the terms in Eq. (4) and using this as an approximation. This idea is formalized by importance sampling (IS) which allows for an efficient and accurate approximation of the discrete sums in Eq. (4). <sup>1</sup> A full review of importance sampling is beyond the scope of this paper but we refer readers to [38]. 1One can also apply importance sampling directly to the continuous integrals in Eq. (3) but it can be computationally advantageous to precompute a fixed set of projection and shift matrices, P <sup>˜</sup> R and S <sup>˜</sup> t, which can be reused across particle images. _f_ ( _V_ ) = _−_ log _p_ ( _V_ ) _−_ _K_ _i_ =1 log _p_ ( _I_ <sup>˜</sup> _i|θi,_ _V_ <sup>˜</sup> ) (6) where _V_ is restricted to be positive (negative density is physically unrealistic). Optimizing Eq. (6) directly is costly due to the marginalization in Eq. (4) as well as the large number ( _K_ ) of particle images in a typical dataset. To deal with these challenges, the following sections propose the use of two techniques, namely, stochastic optimization and importance sampling. 3.2. Stochastic Optimization In order to efficiently cope with the large number of particle images in a typical dataset, we propose the use of stochastic optimization methods. Stochastic optimization methods exploit the large amount of redundancy in most datasets by only considering subsets of data ( _i.e_ ., images) at each iteration by rewriting the objective as _f_ ( _V_ ) = - _k_ <sup>_fk_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> <sup>where</sup> <sup>each</sup> <sup>_fk_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> <sup>evaluates</sup> <sup>a</sup> <sup>subset</sup> <sup>of</sup> <sup>data.</sup> This allows for fast progress to be made before a batch optimization algorithm would be able to take a single step. There are a wide range of such methods, ranging from simple stochastic gradient descent with momentum [28, 29, To apply importance sampling, consider the inner sum from Eq. (4), rewriting it as _φ_ <sup>R</sup> _j_ <sup>=</sup> _M_ t _ℓ_ =1 _wℓ_ <sup>t</sup> <sup>_pj,ℓ_</sup> <sup>=</sup> _wℓ_ <sup>t</sup> _M_ t _ℓ_ =1 _qℓ_ <sup>t</sup> - _<u>wℓ</u>_ t <sup>_<u>pj,ℓ</u>_</sup> _qℓ_ <sup>t</sup> (9) where _pj,ℓ_ = _p_ ( _I|_ <sup>˜</sup> _θ,_ R _j,_ t _ℓ,_ _V_ <sup>˜</sup> ) _p_ ( R _j_ ) _p_ ( t _ℓ_ ) and q <sup>t</sup> = ( _q_ 1 <sup>t</sup> <sup>_, . . ., q_</sup> _M_ <sup>t</sup> t <sup>)</sup> <sup>_T_</sup> <sup>is the parameter vector of a multinomial im-</sup> ( _q_ 1 <sup>t</sup> <sup>_, . . ., q_</sup> _M_ <sup>t</sup> t <sup>)</sup> <sup>_T_</sup> <sup>is the parameter vector of a multinomial im-</sup> portance distribution such that <sup>�</sup> _ℓ_ <sup>_M_</sup> =1 <sup>t</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> <sup>=</sup> <sup>1</sup> <sup>and</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> <sup>_>_</sup> <sup>0.</sup> _ℓ_ <sup>_M_</sup> =1 <sup>t</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> _ℓ_ <sup>t</sup> <sup>=</sup> <sup>1</sup> <sup>and</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> portance distribution such that <sup>�</sup> _ℓ_ <sup>_M_</sup> =1 <sup>t</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> <sup>=</sup> <sup>1</sup> <sup>and</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> <sup>_>_</sup> <sup>0.</sup> The domain of q <sup>t</sup> corresponds to the set of quadrature points in Equation (4). Then, _φ_ <sup>R</sup> _j_ <sup>can</sup> <sup>be</sup> <sup>thought</sup> <sup>of</sup> <sup>as</sup> <sup>the</sup> expected value _Eℓ_ [ <sup>_<u>w</u>_</sup> _<u>ℓ</u>_ <sup>t</sup> <sup>R</sup> _j_ <sup>can</sup> <sup>be</sup> <sup>thought</sup> <sup>of</sup> <sup>as</sup> <sup>the</sup> _<u>ℓ</u>_ <sup>t</sup> <sup>_<u>pj,ℓ</u>_</sup> <sup>_<u>pj,ℓ</u>_</sup> _qℓ_ <sup>t</sup> ] where _ℓ_ is a random variable dis _qℓ_ <sup>t</sup> tributed according to q <sup>t</sup> . If a set of _N_ t _≪_ _M_ t random indexes I <sup>t</sup> are drawn according to q <sup>t</sup>, then _._ (10) <sup>R</sup> _j_ <sup>_≈_</sup> <sup><u>1</u></sup> _<u>wℓ</u>_ <sup>t</sup> <sup>_<u>pj,ℓ</u>_</sup> _φ_ <sup>R</sup> _j_ _N_ t _ℓ∈_ I <sup>t</sup> _qℓ_ <sup>t</sup> Thus, we can efficiently approximate _φ_ <sup>R</sup> _j_ <sup>by drawing sam-</sup> ples according to the importance distribution q <sup>R</sup> and computing the average. Using this approximation in Eq. (4) gives (11) �� _ℓ∈_ I <sup>t</sup> _<u>wℓ</u>_ <sup>t</sup> <sup>_<u>pj,ℓ</u>_</sup> _<u>wℓ</u>_ <sup>t</sup> _qℓ_ <sup>t</sup> _p_ ( _I|_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) _≈_ _M_ R _j_ =1 _wj_ <sup>R</sup> <u>1</u> _N_ t and importance sampling can be similarly used for the outer summation to give _pj,ℓ_ (12) �� _ℓ∈_ I <sup>t</sup> _<u>wℓ</u>_ <sup>t</sup> _ℓ_ _<u>j</u>_ _N_ R _qj_ <sup>R</sup> _wj_ <sup>R</sup> _p_ ( _I|_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) _≈_ _j∈_ I <sup>R</sup> 5 4 3 2 1 0 1 0 2 4 6 8 10 12 14 Figure 3: The KL divergence between the values of _φ_ <sup>R</sup> at the current and previous epochs on the thermus dataset. GroEL-GroES [39] Thermus ATPase [18] Bovine ATPase [31] Figure 4: Previously published structures for the datasets used in this paper. the rough shape of the structure has been determined. This can be seen in Figure 3 which shows that by the third epoch the KL divergence of the values of _φ_ <sup>R</sup> from one epoch to the next is extremely small. Thus we use these quantities, computed from the previous iterations, to construct the importance distributions at the current iteration. Dropping the R or t superscripts for clarity, let I be the set of samples evaluated at the previous iteration and _φi_ be the computed values for _i ∈_ I. Then the importance distribution used at the current iteration is _qj_ = (1 _−_ _α_ ) _Z_ <sup>_−_</sup> <sup>1 ˆ</sup> _φj_ + _αψj_ (14) _j_ _<u>ℓ</u>_ _N_ t _qℓ_ <sup>t</sup> where I <sup>R</sup> are samples drawn from the importance distribution q <sup>R</sup> = ( _q_ 1 <sup>R</sup> <sup>_, . . ., q_</sup> _M_ <sup>R</sup> R <sup>)</sup> <sup>_T_</sup> <sup>used for approximating</sup> _._ (13) _j∈_ I <sup>R</sup> _qj_ <sup>R</sup> _wj_ <sup>R</sup> <sup>_pj,ℓ_</sup> _φ_ <sup>t</sup> _ℓ_ <sup>=</sup> _M_ R _j_ =1 <u>1</u> _wj_ <sup>R</sup> <sup>_pj,ℓ_</sup> <sup>_≈_</sup> _N_ R The accuracy of the approximation in Eq. (12) is controlled by the number of samples used, with the error going to zero as _N_ increases. We use _N_ = _s_ 0 _s_ ( q ) samples where _s_ ( q ) = �� _ℓ_ <sup>_q_</sup> _ℓ_ <sup>2</sup> - _−_ 1 is the effective sample size [8] and _s_ 0 is _j_ <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> <sup>,</sup> <sup>and</sup> <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> = _i∈_ I <sup>_φ_</sup> _i_ <sup>1</sup> <sup>_/T_</sup> _s_ ( q ) = �� _ℓ_ <sup>_q_</sup> _ℓ_ <sup>2</sup> - _−_ 1 is the effective sample size [8] and _s_ 0 is a scaling factor. This choice ensures that when the importance distribution is diffuse, more samples are used. While the estimates provided by IS are unbiased, their error can be arbitrarily bad if the importance distribution is not well chosen. To choose a suitable importance distribution, we make two observations. First, the values _φ_ <sup>t</sup> _ℓ_ <sup>and</sup> <sup>_φ_</sup> _j_ <sup>R</sup> are proportional to the marginal probability of single particle image having been generated with shift t _ℓ_ or pose R _j_, making them natural choices on which to base the importance distributions. Second, these values remain stable once �� _ℓ_ _ℓ_ <sup>_q_</sup> _ℓ_ <sup>2</sup> <sup>t</sup> _ℓ_ <sup>and</sup> <sup>_φ_</sup> _j_ <sup>R</sup> where _ψj_ is a uniform prior distribution, _α_ controls how much the previous distribution is relied on, _Z_ = - _j_ <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> <sup>,</sup> <sup>and</sup> <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> = - _i∈_ I <sup>_φ_</sup> _i_ <sup>1</sup> <sup>_/T_</sup> K _i,j_ . Here _T_ is an annealing parameter and K _i,j_ are entries of a kernel matrix computed on the quadrature points which diffuses probability to nearby quadrature points. The values for _α_ = max(0 _._ 05 _,_ 2 <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_⌊τprev/_</sup> <sup>50</sup> <sup>_⌋_</sup> ) and _T_ = max(1 _._ 25 _,_ 2 <sup>10</sup> <sup>_._</sup> <sup>0</sup> <sup>_/⌊τprev/_</sup> <sup>50</sup> <sup>_⌋_</sup> ) are set so that at early iterations, when the underlying density is changing, we rely more heavily on the prior. For K we use a Gaussian kernel for the shifts and a Fisher kernel for the orientations. The bandwidth of the kernel is tuned based on the current resolution of the quadrature scheme, _e.g_ ., the Gaussian shift kernel bandwidth is set to be equal to the spacing between the shift quadrature points. More details on importance sampling can be found in the Supplemental Material. 10 <sup>-2</sup> Relative RMSE Average Fraction of Points Used 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> Initial 1 hour 6 hours 12 hours 24 hours Figure 5: The random initialization (left) used in all experiments, generated by summing random spheres, and reconstruction of the _thermus_ dataset after various amounts of computation. Note that within an hour of computation, the gross structure is already well determined, after which fine details emerge gradually. 4. Experiments The proposed method was applied to two experimental datasets and one synthetic dataset. All experiments used the same parameters and were initialized using the same randomly generated density shown in Figure 5(left). The maximum frequency considered was gradually increased from an initial value of _ω_ = 1 _/_ 40A to a maximum of <sup>˚</sup> _ω_ = 1 _/_ 10A. <sup>˚</sup> This maximum frequency corresponds to the resolution of the best published results for the datasets used here, _i.e_ ., [18]. Optimizations were run until the maximum resolution was reached and the average error on a held-out set of 100 particle images stopped improving, around 5000 iterations. Datasets The first dataset was ATP synthase from the _thermus_ _thermophilus_ bacteria, a large transmembrane molecule. The _thermus_ dataset consisted of 46 _,_ 105 particle images which were provided by Lau and Rubinstein [18]. The high resolution structure from [18] and some sample images are shown in Figure 2. The second dataset was _bovine_ mitochondrial ATP synthase [31]. The _bovine_ dataset, provided by Rubinstein et al. [31], consisted of 5 _,_ 984 particle images. In all cases the particle images provided were 128 _×_ 128, had a resolution of 2 _._ 8A <sup>˚</sup> (0 _._ 28 _nm_ per pixel) and CTF information for each particle image was provided. The noise level, _σ_, was estimated by computing the standard deviation of pixels around the boundary of the particle images. To showcase the ability of our method to handle a dramatically different type of structure, a third dataset was synthesized by taking an existing structure from the Protein Data Bank <sup>2</sup>, GroEL-GroES-(ADP)7 [39], and generating 40 _,_ 000 random projections according to the generative model. CTF, signal-to-noise level and other parameters were set realistically based on the _thermus_ dataset values. [2Structure 1AON from http://pdb.org](http://pdb.org) 10 <sup>-3</sup> 10 <sup>-5</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> Figure 6: Relative error (blue, left axis) and fraction of total quadrature points (red, right axis) used in computing log _p_ ( _I|_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) as a function of the ESS scaling factor, _s_ 0 (horizontal axis). Note the log-scale of the axes. This structure, as well as previously solved structures of the bovine and thermus ATP synthase molecules are shown in Figure 4. GroEL-GroES, was selected because it is structurally unlike either of the bovine or thermus ATP synthase molecules. Sample GroEL synthetic images can be see in Figure 11 (top left). Results of our method on these datasets are shown in Figure 11. Sample particle images are shown, along with an iso-surface and slices of the final estimated density. Computing these reconstructions took less than 24 hours in all cases. Further, even at early iterations, reasonable structures are available. Figure 5 shows the estimated structure for the _thermus_ dataset over time during optimization. Notably, after just one hour (during which only a fraction of the full dataset is seen), the low-resolution shape of the structure has already been determined. Importance Sampling To validate our importance sampling approach we evaluated the error made in computing log _p_ ( _I|_ <sup>˜</sup> _θ,_ _V_ <sup>˜</sup> ) using IS against computing the exact sum in Equation (4) without IS. This error is plotted in Figure 6, along with the fraction of quadrature points used at various values of _s_ 0. Based on these plots we selected a factor of _s_ 0 = 10 for all experiments as a trade-off between accuracy and speed achieving a relative error of less then 0 _._ 1% while still providing significant speedups. To see just how much of a speedup importance sampling provides in practice, we plotted in Figure 7 the fraction of quadrature points which needed to be evaluated during optimization. As can be seen initially, all quadrature points are evaluated but as optimization progresses and the density (and consequently the distribution over poses) becomes better determined importance sampling yields larger and larger speedups. At the full resolution, importance sampling provided more than a 100,000 fold speedup. No prior knowledge of the orientation distribution was assumed. However, for many particles, certain views are 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-5</sup> 10 <sup>-6</sup> 0 1000 2000 3000 4000 5000 Figure 7: The fraction of quadrature points evaluated on average during optimization (horizontal axis is iterations). As resolution increases, the speedup obtained increases significantly yielding more than a 100,000 fold speedup. Figure 8: A Winkel-Tripel projection of the importance distribution of view directions, q <sup>R</sup>, averaged over the _thermus_ dataset at a typical iteration. Clearly visible is the equatorial belt of likely views, while axis aligned views (those on the top or bottom of the plot) are rarely seen. more likely than others. This fact can be seen by examining the average importance distribution for the thermus dataset, shown in Figure 8 for a typical iteration. Here we can see clearly that the distribution of views forms an equatorial belt around the particle, while top or bottom views are rarely if ever seen. This phenomenon is well known for particles like these ( _e.g_ ., see [31] where this knowledge was used directly in estimation), validating our sampling approach and suggesting a use of this average importance distribution to supplement the uniform prior distribution in Eq. (14). Initialization and Comparison to State-of-the-Art To compare this method to existing methods for structure determination, we selected two representative approaches. The first is a standard iterative projection matching scheme where images are matched to an initial density through a global cross-correlation search [11]. The density is then reconstructed based on these fixed orientations and this process is iterated. The second is the RELION package described in [34] which uses a similar marginalized model as our method but with a batch EM algorithm to perform optimization. We used publicly available code for both of these approaches on the _thermus_ dataset and initialized using the density shown in Figure 5. We ran each method for a number of iterations roughly equivalent computationally Comparing Priors The above results used an exponential prior for the density at the voxels of _Vi_, however the presented framework allows for any continuous and differentiable prior to be used. To demonstrate this, we explored two other priors: an improper (uniform) prior, _p_ ( _Vi_ ) _∝_ 1, and a conditionally autoregressive (CAR) prior [5] _p_ ( _Vi|V−i_ ) = _N_ ( _Vi|_ 26 <sup><u>1</u></sup> - _j∈_ Nbhd( _i_ ) <sup>_Vj, σ_</sup> _CAR_ <sup>2</sup> <sup>)</sup> <sup>which</sup> is a smoothness prior biasing each voxel towards the mean of its 26 immediate neighbours Nbhd( _i_ ). Slices through the resulting densities on _thermus_ under these priors are shown in Figure 10. With an improper uniform prior (Fig. Projection Matching RELION Proposed Approach Figure 9: Baseline comparisons to two existing standard methods. Iterative projection matching and reconstruction (left) and RELION [34] (middle). The proposed method (right) is able to determine the correct structure while projection matching and RELION both become trapped in poor local optima. See Fig. 9(middle) for comparison. All methods used the same random initialization shown in Fig. 5. Figure 10: Slices through the reconstructions with (from left to right) uniform, CAR and exponential priors. The exponential prior does the best job of suppressing noise in the background without oversmoothing fine details within the structure. Blue corresponds to small or zero density and red corresponds to high density. to the 5000 iterations used by our method and the results are shown in Figure 9. In both cases the approaches had clearly determined an incorrect structure and appeared to have converged to a local minimum as no further progress was made. Both projection matching and RELION have been used successfully for reconstruction by others and are not recommended to be used without a good initialization. Our results support this recommendation as neither approach converges from random initializations. In practice, it is difficult to construct good initializations for molecules of unknown shape [12], giving our proposed method a significant advantage. _j∈_ Nbhd( _i_ ) <sup>_Vj, σ_</sup> <sup>2</sup> 26 <sup><u>1</u></sup> <u>Sample Particle Images</u> <u>3D Reconstruction</u> <u>3D Slices</u> Figure 11: Sample particle images (left), an isosurface of the reconstructed 3D density (middle) and slices through the 3D density with colour indicating relative density (right) for GroEL-GroES (top), thermus thermophilus ATPase (middle) and bovine mitochondrial ATPase (bottom). The relative root expected mean squared error (RREMSE) on a held-out test set was 0.99, 0.96 and 0.98 with values relative to the estimated noise level. See Supplemental Material for more on the error measure. Reconstructions took a day or less on a 16 core workstation. 10,left), there is significant noise visible in the background. This noise is somewhat suppressed with the CAR prior (Fig. 10,middle) however the best results are clearly obtained using the exponential prior which suppresses the background noise without smoothing out internal details. 5. Conclusions This paper introduces a framework for efficient 3D molecular reconstruction from Cryo-EM images. It comprises MAP estimation of 3D structure with a generative model, marginalization over 3D particle poses, and optimization using SAGD. A novel importance sampling scheme was used to reduce the computational cost of marginalization. The resulting approach can be applied to large stacks of Cryo-EM images, providing high resolution reconstructions in a day on a 16-core workstation. The problem of density estimation for Cryo-EM is a fascinating vision problem. The low SNR in particle images makes it remarkable that any molecular structure can be es timated, let alone the high resolution densities which are now common. Recent research [23] suggests that the combination of new techniques and new sensors may facilitate atomic resolution reconstructions for arbitrary molecules. This development will be ground-breaking in both biological and medical research. Beyond the work described in this paper, there remain a number of unresolved questions for future research. While an exponential prior was found to be effective, more sophisticated priors could be learned, potentially enabling higher resolution estimation without the need to collect more data and providing a kind of of atomic-scale super-resolution. The optimization problem is challenging, and, while SAGD was successful here, it is likely that more efficient stochastic optimization methods are possible by exploiting the problem structure to a greater degree. In order to encourage others to work on this problem, source code will be available [from the authors’ website.](http://www.cs.toronto.edu/~mbrubake) Acknowledgements This work was supported in part by NSERC Canada and the CIFAR NCAP Program. MAB was funded in part by an NSERC Postdoctoral Fellowship. The authors would like thank John L. Rubinstein for providing data and invaluable feedback. References [1] S. Agarwal, N. Snavely, I. Simon, S. M. Seitz, and R. Szeliski, “Building rome in a day,” in _ICCV_, 2009. [2] S.-I. Amari, H. Park, and K. Fukumizu, “Adaptive method of realizing natural gradient learning for multilayer perceptrons,” _Neural_ _Computation_, vol. 12, no. 6, pp. 1399–1409, 2000. [3] S. Amari, “Natural gradient works efficiently in learning,” _Neural Computation_, vol. 10, no. 2, pp. 251–276, 1998. [4] W. T. Baxter, R. A. Grassucci, H. Gao, and J. Frank, “Deter mination of signal-to-noise ratios and spectral snrs in cryoem low-dose imaging of molecules,” _J Struct Biol_, vol. 166, no. 2, pp. 126–32, May 2009. [5] J. Besag, “Statistical analysis of non-lattice data,” _Journal_ _of_ _the_ _Royal_ _Statistical_ _Society._ _Series_ _D_ _(The_ _Statistician)_, vol. 24, no. 3, pp. 179–195, 1975. [6] R. Bhotika, D. Fleet, and K. Kutulakos, “A probabilistic the ory of occupancy and emptiness,” in _ECCV_, 2002. [7] J. de la Rosa-Trev´ın, J. Ot`on, R. Marabini, A. Zald´ıvar, J. Vargas, J. Carazo, and C. Sorzano, “Xmipp 3.0: An improved software suite for image processing in electron microscopy,” _Journal of Structural Biology_, vol. 184, no. 2, pp. 321–328, 2013. [8] A. Doucet, S. Godsill, and C. Andrieu, “On sequential Monte Carlo sampling methods for Bayesian filtering,” _Statistics_ _and Computing_, vol. 10, no. 3, pp. 197–208, 2000. [9] M. Gr¨af and D. Potts, “Sampling sets and quadrature formu lae on the rotation group,” _Numerical_ _Functional_ _Analysis_ _and Optimization_, vol. 30, no. 7-8, pp. 665–688, 2009. [10] J. Gregson, M. Krimerman, M. B. Hullin, and W. Heidrich, “Stochastic tomography and its applications in 3d imaging of mixing fluids,” _ACM_ _Trans._ _Graph._ _(Proc._ _SIGGRAPH_ _2012)_, vol. 31, no. 4, pp. 52:1–52:10, 2012. [11] N. Grigorieff, “Frealign: high-resolution refinement of sin gle particle structures,” _J_ _Struct_ _Biol_, vol. 157, no. 1, p. 117–125, Jan 2007. [12] R. Henderson, A. Sali, M. L. Baker, B. Carragher, B. De vkota, K. H. Downing, E. H. Egelman, Z. Feng, J. Frank, N. Grigorieff, W. Jiang, S. J. Ludtke, O. Medalia, P. A. Penczek, P. B. Rosenthal, M. G. Rossmann, M. F. Schmid, G. F. Schr¨oder, A. C. Steven, D. L. Stokes, J. D. Westbrook, W. Wriggers, H. Yang, J. Young, H. M. Berman, W. Chiu, G. J. Kleywegt, and C. L. Lawson, “Outcome of the first electron microscopy validation task force meeting,” _Struc-_ _ture_, vol. 20, no. 2, pp. 205 – 214, 2012. [13] J. Hsieh, _Computed_ _Tomography:_ _Principles,_ _Design,_ _Arti-_ _facts, and Recent Advances_ . SPIE, 2003. [14] N. Jaitly, M. A. Brubaker, J. Rubinstein, and R. H. Lilien, “A Bayesian Method for 3-D Macromolecular Structure Inference using Class Average Images from Single Particle Electron Microscopy,” _Bioinformatics_, vol. 26, pp. 2406–2415, 2010. [15] J. Keeler, _Understanding NMR Spectroscopy_ . Wiley, 2010. [16] K. N. Kutulakos and S. M. Seitz, “A theory of shape by space carving,” _IJCV_, vol. 38, no. 3, pp. 199–218, 2000. [17] R. Langlois, J. Pallesen, J. T. Ash, D. N. Ho, J. L. Rubin stein, and J. Frank, “Automated particle picking for lowcontrast macromolecules in cryo-electron microscopy,” _Jour-_ _nal of Structural Biology_, vol. 186, no. 1, pp. 1 – 7, 2014. [18] W. C. Y. Lau and J. L. Rubinstein, “Subnanometre-resolution structure of the intact Thermus thermophilus H+-driven ATP synthase,” _Nature_, vol. 481, pp. 214–218, 2012. [19] N. Le Roux and A. Fitzgibbon, “A fast natural Newton method,” in _ICML_, 2010. [20] N. Le Roux, P.-A. Manzagol, and Y. Bengio, “Topmoumoute online natural gradient algorithm,” in _NIPS_, 2008, pp. 849– 856. [21] N. Le Roux, M. Schmidt, and F. Bach, “A stochastic gradi ent method with an exponential convergence rate for strongly convex optimization with finite training sets,” in _NIPS_, 2012. [22] V. J. Lebedev and D. N. Laikov, “A quadrature formula for the sphere of the 131st algebraic order of accuracy,” _Doklady_ _Mathematics_, vol. 59, no. 3, pp. 477 – 481, 1999. [23] X. Li, P. Mooney, S. Zheng, C. R. Booth, M. B. Braunfeld, S. Gubbens, D. A. Agard, and Y. Cheng, “Electron counting and beam-induced motion correction enable near-atomicresolution single-particle cryo-em,” _Nature Methods_, vol. 10, no. 6, pp. 584–590, 2013. [24] S. P. Mallick, B. Carragher, C. S. Potter, and D. J. Kriegman, “Ace: Automated _{_ CTF _}_ estimation,” _Ultramicroscopy_, vol. 104, no. 1, pp. 8–29, 2005. [25] S. P. Mallick, S. Agarwal, D. J. Kriegman, S. J. Belongie, B. Carragher, and C. S. Potter, “Structure and view estimation for tomographic reconstruction: A bayesian approach,” in _CVPR_, 2006. [26] J. Martens, “Deep learning via hessian-free optimization,” in _ICML_, 2010. [27] J. A. Mindell and N. Grigorieff, “Accurate determination of local defocus and specimen tilt in electron microscopy,” _Journal_ _of_ _Structural_ _Biology_, vol. 142, no. 3, pp. 334–47, 2003. [28] Y. Nesterov, “A method of solving a convex programming problem with convergence rate o (1/k2),” _Soviet Mathematics_ _Doklady_, vol. 27, no. 2, pp. 372–376, 1983. [29] B. Polyak, “Some methods of speeding up the convergence of iteration methods,” _USSR_ _Computational_ _Mathematics_ _and Mathematical Physics_, vol. 4, no. 5, pp. 1–17, 1964. [30] L. Reimer and H. Kohl, _Transmission Electron Microscopy:_ _Physics of Image Formation_ . Springer, 2008. [31] J. L. Rubinstein, J. E. Walker, and R. Henderson, “Struc ture of the mitochondrial atp synthase by electron cryomicroscopy,” _The_ _EMBO_ _Journal_, vol. 22, no. 23, pp. 6182– 6192, 2003. [32] B. Rupp, _(2009). Biomolecular Crystallography: Principles,_ _Practice_ _and_ _Application_ _to_ _Structural_ _Biology_ . Garland Science, 2009. [33] S. H. W. Scheres, H. Gao, M. Valle, G. T. Herman, P. P. B. Eggermont, J. Frank, and J.-M. Carazo, “Disentangling conformational states of macromolecules in 3d-em through likelihood optimization,” _Nature_ _Methods_, vol. 4, pp. 27–29, 2007. [34] S. H. Scheres, “RELION: Implementation of a Bayesian approach to cryo-EM structure determination,” _Journal_ _of_ _Structural Biology_, vol. 180, no. 3, pp. 519 – 530, 2012. [35] F. Sigworth, “A maximum-likelihood approach to single particle image refinement,” _Journal_ _of_ _Structural_ _Biology_, vol. 122, no. 3, pp. 328 – 339, 1998. [36] I. Sutskever, J. Martens, G. Dahl, and G. Hinton, “On the im portance of initialization and momentum in deep learning,” in _ICML_, 2013. [37] G. Tang, L. Peng, P. Baldwin, D. Mann, W. Jiang, I. Rees, and S. Ludtke, “EMAN2: an extensible image processing suite for electron microscopy,” _Journal of Structural Biology_, vol. 157, no. 1, pp. 38–46, 2007. [38] S. T. Tokdar and R. E. Kass, “Importance sampling: a review,” _Wiley_ _Interdisciplinary_ _Reviews:_ _Computational_ _Statistics_, vol. 2, no. 1, pp. 54–60, 2010. [39] Z. Xu, A. L. Horwich, and P. B. Sigler, “The crystal structure of the asymmetric GroEL-GroES-(ADP)7 chaperonin complex,” _Nature_, vol. 388, pp. 741–750, 1997. [40] J. Zhao, M. A. Brubaker, and J. L. Rubinstein, “TMaCS: A hybrid template matching and classification system for partially-automated particle selection,” _Journal of Structural_ _Biology_, vol. 181, no. 3, pp. 234 – 242, 2013. A. Stochastic Optimization This section provides algorithmic details of the Stochastic Averaged Gradient Descent (SAGD) optimization method used for MAP estimation. See the original SAGD paper [21] for details. Consider the objective function specified in Equation (6), rewritten as a sum of functions over subsets of the data: The SAGD algorithm requires a Lipschitz constant _L_ which is not generally know. Instead it is estimated using a line search algorithm where an initial value of _L_ is increased until the instantiated Lipschitz condition _f_ ( _V_ ) _−_ _f_ ( _V_ _−_ _L_ <sup>_−_</sup> <sup>1</sup> _dV_ ) _<_ _<u>∥d</u>_ 2 _<u>V∥L</u>_ <sup>2</sup> is met. The line search for the Lipschitz constant _L_ is only performed once every 20 iterations. Note that a more sophisticated line search could be performed if desired. A good initial value of _L_ is found using a bisection search where the upper bound is the smallest _L_ found so far to satisfy the condition and the lower bound is the largest _L_ found so far which fails the condition. In between line searches, _L_ is gradually decreased to try to take larger steps. The entire SAGD algorithm is provided in Algorithm (1). B. Importance Sampling Importance Sampling is a key part of the proposed reconstruction method for Cryo-EM and provides large speedups _f_ ( _V_ ) = _−_ log _p_ ( _V_ ) _−_ _K_ _i_ =1 log _p_ ( _I_ <sup>˜</sup> _i|θi,_ _V_ <sup>˜</sup> ) = = _K_ _i_ =1 _K_ _i_ =1 - _−_ <sup><u>1</u></sup> _K_ _fi_ ( _V_ ) <sup><u>1</u></sup> _K_ <sup>log</sup> <sup>_p_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> <sup>_−_</sup> <sup>log</sup> <sup>_p_</sup> <sup>(˜</sup> <sup>_Ii|θi,_</sup> <sup>˜</sup> <sup>_V_</sup> <sup>)</sup> At each iteration _τ_, SAGD computes the update given by _K_ _Vτ_ +1 = _Vτ_ _−_ <sup>_<u>ϵ</u>_</sup> _L_ _K_ _j_ =1 _dVj_ <sup>_τ_</sup> _j_ <sup>_τ_</sup> <sup>_−_</sup> <sup><u>1</u></sup> _<u>∂</u>_ _∂V_ <sup>log</sup> <sup>_p_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> where _dVk_ <sup>_τ_</sup> <sup>is defined according to Equation (8). In practice,</sup> the sum in the above update equation is not computed at each iteration, but rather a running total is maintained and updated as follows: _K_ _k_ =1 g ˆ _τ_ = _dVk_ <sup>_τ_</sup> _dVk_ <sup>_τ_</sup> g ˆ _τ_ +1 = g ˆ _τ_ _−_ _dVk_ <sup>_τ_</sup> _τ_ <sup>+</sup> <sup>g</sup> <sup>_k_</sup> _τ_ <sup>(</sup> <sup>_Vτ_</sup> <sup>)</sup> <u>Algorithm 1</u> <u>SAGD</u> Initialize _V_ and _L_ Initialize ˆ g _←_ 0 Initialize _dVk_ _←_ 0 for all _k_ = 1 _..K_ for _τ_ = 1 _..τ_ max do Select data subset _kτ_ Compute objective gradient g _kτ_ ( _V_ ) g ˆ _←_ g ˆ _−_ _dVkτ_ + g _kτ_ ( _V_ ) _dVkτ_ _←_ g _kτ_ ( _V_ ) _V_ _←V_ _−_ _L_ <sup>_<u>ϵ</u>_</sup> - g ˆ _−_ _∂∂V_ <sup>log</sup> <sup>_p_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> <u>Algorithm 2</u> <u>Importance Sampling</u> Given _φi_ for _i ∈_ I from previous iteration for _j_ _∈_ 1 _..J_ do for _i ∈_ I do Compute K _i,j_ end for end for _Z_ _←_ <sup>�</sup> _j_ <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> _qj_ _←_ (1 _−_ _α_ ) _Z_ <sup>_−_</sup> <sup>1 ˆ</sup> _φj_ + _αψj_ _∀j_ _∈_ 1 _..J_ _i∈_ I <sup>_φ_</sup> _i_ <sup>1</sup> <sup>_/T_</sup> _φ_ ˆ _j_ _←_ <sup>�</sup> _φ_ ˆ _j_ _←_ <sup>�</sup> _i∈_ I <sup>_φ_</sup> _i_ <sup>1</sup> <sup>_/T_</sup> K _i,j_ _∀j_ _∈_ 1 _..J_ _Z_ _←_ <sup>�</sup> _j_ <sup>_φ_</sup> <sup>ˆ</sup> <sup>_j_</sup> _L_ - g ˆ _−_ _∂∂V_ <sup>log</sup> <sup>_p_</sup> <sup>(</sup> <sup>_V_</sup> <sup>)</sup> if mod( _τ_,20) == 0 then _j_ - _−_ 1 �� _j_ <sup>_q_</sup> _j_ <sup>2</sup> _Perform line search_ _s ←_ while _fkτ_ ( _V_ ) _−_ _fkτ_ ( _V_ _−_ _L_ <sup>_−_</sup> <sup>1</sup> _dVkτ_ ) _<_ _∥dVkτ_ _∥_ <sup>2</sup> while _fkτ_ ( _V_ ) _−_ _fkτ_ ( _V_ _−_ _L_ <sup>_−_</sup> <sup>1</sup> _dVkτ_ ) _<_ 2 _L_ do _L ←_ 2 _L_ end while else _L ←_ _<u>K</u>_ <u>1</u> 2 150 end if <u>end for</u> during optimization. We use importance sampling to efficiently compute the discrete sum in Equation (4). Note that importance sampling is applied independently for each image in the dataset, since the orientations and shifts which correspond to important terms in the discrete sum can be different for each image. In practice, we split the outer sum in Equation (4) into a double summation, one over orientations on the sphere and one over in-plane rotations of images and projections. We then compute each of the three sums (over shift, in-plane rotation, and orientation) with and independent importance sampler. This is equivalent to computing the full sum in Equation (4) using a single importance sampler with an importance distribution that is factored into three parts, one for each of shift, in-plane rotation, and orientation. This factoring is necessary, as the memory requirements of storing a fully joint importance distribution for each image in the dataset would become infeasible for high-resolution reconstructions. For each of the three importance samplers, the importance distribution at each iteration is constructed according to Equation (14). At the first iteration during which a particular image is seen, the importance distribution is simply uniform, and in fact we explicitly sample every point once. The _φ_ values resulting from this computation are stored. At the next iteration during which the same image is seen, these _φ_ values are used in Equation (14) to construct a non-uniform importance distribution which is then sampled from. We use a number of samples proportional to the effective sample size of the importance distribution, so the number of samples used naturally decreases as the importance distribution becomes more peaked, leading to large speedups at late iterations during optimization. _N_ _←_ _s_ 0 _s_ I _←_ ∅ for _k_ _∈_ 1 _..N_ do _i ←_ sample from _q_ insert _i_ into I end for Use I to compute _φi_ for next iteration In Equation (14), the previous _φ_ values are not directly used, but rather they are annealed by a temperature parameter and then smoothed by a kernel matrix. Both of these steps serve to guard against importance distributions which are too peaked around large _φ_ values, which would inhibit the importance sampler from exploring the domain. The kernel matrix also serves the purpose of allowing use of _φ_ values from a previous iteration even if the resolution of quadrature points being used has increased at the current iteration. The Von Mises-Fisher kernel is used for orientations and in-plane rotations, while a Gaussian kernel is used for shift: K _V_ ( _di, dj_ ; _κV_ ) _∝_ exp( _κV d_ <sup>_T_</sup> _i_ <sup>_dj_</sup> <sup>)</sup> K _G_ ( _ti, tj_ ; _κG_ ) _∝_ exp( _−κG∥_ t _i −_ t _j∥_ <sup>2</sup> ) where _κV_ and _κG_ are precision parameters for each kernel which are set based on the resolution of the quadrature scheme used at the previous _φ_ values, _di_ and _dj_ are the quadrature directions (in _S_ <sup>2</sup> for particle orientation and _S_ <sup>1</sup> for in-plane rotation, and t _i_ and t _j_ are the quadrature shift values (in R <sup>2</sup> ). The algorithm for constructing an importance distribution and sampling from it are given in Algorithm (2). The sampled values are then used to compute (12). Note that some quadrature points can end up being sampled multiple times, this is detected and the value reused to reduce computation. C. Error Measures Because ground-truth is rarely available for Cryo-EM, measuring accuracy is often difficult. Traditionally, the field has used the _Fourier_ _Shell_ _Correlation_ (FSC) to measure the resolution of a solved structure. The so-called goldstandard FSC works by splitting the dataset in half, estimating two densities separately and the computing the normalized correlation in Fourier space as a function of frequency. This curve would then be thresholded to provide an estimate of accuracy. However, we note that this measure is actually estimating the variance of the estimator, not the accuracy of the density it has produced. Further it is only theoretically justifiable when the estimator is unbiased, which is not true of the method proposed here or with other likelihood-based Bayesian methods such as RELION. Instead, we introduce a novel metric based on reconstruction error of a held test set. To quantify the ability of marginal likelihood methods, such as ours, to model and explain the observed data we introduce the _Expected Mean_ _Squared Error_ where the sum is taken over the test set which has _N_ test images and _σ_ <sup>2</sup> is the noise variance of the dataset. Values near 1 indicate that the data is being well explained. _E_ <sup>2</sup> ( _I|θ, V_ ) _≡_ _E_ R _,_ t _|I,θ,V_ - _∥I −_ C _θ_ StPR _V∥_ <sup>2�</sup> (15) to be the expectation of the squared error between the image and its reconstruction under the image formation model. Note that the expectation is conditioned on the current density and the CTF parameters and is taken over the unknown pose and translation, R and t . After switching to Fourier space and with some manipulation _E_ <sup>2</sup> ( _I|θ, V_ ) becomes _∥I−_ <sup>˜</sup> C <sup>˜</sup> _θ_ S <sup>˜</sup> tP <sup>˜</sup> R _V∥_ <sup>˜</sup> <sup>2</sup> _p_ ( _I|_ <sup>˜</sup> _θ,_ R _,_ t _,_ _V_ <sup>˜</sup> ) _p_ ( R ) _p_ ( t ) _d_ R _d_ t _SO_ (3) _Z_ <sup>_−_</sup> <sup>1</sup> R <sup>2</sup> (16) where the _Z_ = - R <sup>2</sup> _SO_ (3) _p_ ( _I|_ <sup>˜</sup> _θ,_ R _,_ t _,_ _V_ <sup>˜</sup> ) _p_ ( R ) _p_ ( t ) _d_ R _d_ t (17) is a normalization constant. Computing this would be computationally expensive, instead we use an importance sampling based approximation, _E_ <sup>ˆ2</sup> ( _I|θ, V_ ), _pj,ℓ∥I −_ <sup>˜</sup> C <sup>˜</sup> _θ_ S <sup>˜</sup> tP <sup>˜</sup> R _V∥_ <sup>˜</sup> <sup>2</sup> (18) _Z_ ˆ <sup>_−_</sup> <sup>1</sup> <sup>�</sup> _j∈_ I <sup>R</sup> _ℓ∈_ I <sup>t</sup> where _wj_ <sup>R</sup> _<u>j</u>_ <sup>R</sup> <sup>_w_</sup> _<u>ℓ</u>_ <sup>t</sup> _<u>ℓ</u>_ _N_ R _qj_ <sup>R</sup> <sup>_N_</sup> <sup>t</sup> _ℓ_ _j_ <sup>R</sup> <sup>_N_</sup> <sup>t</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> _ℓ∈_ I <sup>t</sup> _wj_ <sup>R</sup> _<u>j</u>_ <sup>R</sup> <sup>_w_</sup> _<u>ℓ</u>_ <sup>t</sup> _ℓ_ _Z_ ˆ = _j∈_ I <sup>R</sup> _<u>ℓ</u>_ _N_ R _qj_ <sup>R</sup> <sup>_N_</sup> _j_ <sup>R</sup> <sup>_N_</sup> <sup>t</sup> <sup>_q_</sup> _ℓ_ <sup>t</sup> _pj,ℓ_ (19) is the approximation of the normalization constant. The above quantities can be readily computed along with the main likelihood computation using the same importance sampling scheme described above. We compute the average value of _E_ <sup>ˆ2</sup> ( _I|θ, V_ ) on a held out set of test images whose gradients are never used. To normalize for different datasets we report the _Relative Root_ _Expected Mean Squared Error_ (RREMSE) as - <u>1</u> _σ_ <sup>2</sup> _N_ test <u>�</u> _I_ _E_ ˆ2( _I|θ, V_ ) (20)

섹션 본문

섹션 본문이 없습니다.

참고문헌 30건

  1. The crystal structure of the asymmetric GroEL–GroES–(ADP)7 chaperonin complex Nature · Nature Portfolio · 1997 10.1038/41944
  2. Importance sampling: a review Wiley Interdisciplinary Reviews Computational Statistics · Wiley · 2009 10.1002/wics.56
  3. Disentangling conformational states of macromolecules in 3D-EM through likelihood optimization Nature Methods · Nature Portfolio · 2006 10.1038/nmeth992
  4. Structure of the mitochondrial ATP synthase by electron cryomicroscopy The EMBO Journal · Springer Nature · 2003 10.1093/emboj/cdg608
  5. EMAN2: An extensible image processing suite for electron microscopy Journal of Structural Biology · Elsevier BV · 2006 10.1016/j.jsb.2006.05.009
  6. A Maximum-Likelihood Approach to Single-Particle Image Refinement Journal of Structural Biology · Elsevier BV · 1998 10.1006/jsbi.1998.4014
  7. 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
  8. Stochastic tomography and its applications in 3D imaging of mixing fluids ACM Transactions on Graphics · Association for Computing Machinery · 2012 10.1145/2185520.2185548
  9. TMaCS: A hybrid template matching and classification system for partially-automated particle selection Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2012.12.010
  10. FREALIGN: High-resolution refinement of single particle structures Journal of Structural Biology · Elsevier BV · 2006 10.1016/j.jsb.2006.05.004
  11. Outcome of the First Electron Microscopy Validation Task Force Meeting Structure · Elsevier BV · 2012 10.1016/j.str.2011.12.014
  12. A Bayesian method for 3D macromolecular structure inference using class average images from single particle electron microscopy Bioinformatics · Oxford University Press · 2010 10.1093/bioinformatics/btq456
  13. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 2000 10.1023/a:1008191222954
  14. Automated particle picking for low-contrast macromolecules in cryo-electron microscopy Journal of Structural Biology · Elsevier BV · 2014 10.1016/j.jsb.2014.03.001
  15. Subnanometre-resolution structure of the intact Thermus thermophilus H+-driven ATP synthase Nature · Nature Portfolio · 2011 10.1038/nature10699
  16. 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
  17. Accurate determination of local defocus and specimen tilt in electron microscopy Journal of Structural Biology · Elsevier BV · 2003 10.1016/s1047-8477(03)00069-8
  18. Natural Gradient Works Efficiently in Learning Neural Computation · The MIT Press · 1998 10.1162/089976698300017746
  19. Some methods of speeding up the convergence of iteration methods USSR Computational Mathematics and Mathematical Physics · Pergamon Press · 1964 10.1016/0041-5553(64)90137-5
  20. Statistical Analysis of Non-Lattice Data Journal of the Royal Statistical Society Series D (The Statistician) · Wiley · 1975 10.2307/2987782
  21. On sequential Monte Carlo sampling methods for Bayesian filtering Statistics and Computing · Springer Science+Business Media · 2000 10.1023/a:1008935410038
  22. Xmipp 3.0: An improved software suite for image processing in electron microscopy Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.09.015
  23. Adaptive Method of Realizing Natural Gradient Learning for Multilayer Perceptrons Neural Computation · The MIT Press · 2000 10.1162/089976600300015420
  24. Sampling Sets and Quadrature Formulae on the Rotation Group Numerical Functional Analysis and Optimization · Taylor & Francis · 2009 10.1080/01630560903163508
  25. Building Rome in a day 2009 10.1109/iccv.2009.5459148
  26. Topmoumoute Online Natural Gradient Algorithm 2007
  27. A Stochastic Gradient Method with an Exponential Convergence Rate for Strongly-Convex Optimization with Finite Training Sets 2012
  28. ACE: Automated CTF Estimation Ultramicroscopy · Elsevier BV · 2005 10.1016/j.ultramic.2005.02.004
  29. Electron counting and beam-induced motion correction enable near-atomic-resolution single-particle cryo-EM Nature Methods · Nature Portfolio · 2013 10.1038/nmeth.2472
  30. Structure and View Estimation for Tomographic Reconstruction: A Bayesian Approach 2006 10.1109/cvpr.2006.295