Advanced Topics in Computing Lectures

Total Page:16

File Type:pdf, Size:1020Kb

Advanced Topics in Computing Lectures Advanced Topics in Computing Lectures 1 Generalized Linear Models 1.1 Exponential Dispersion Models We write yθ − b(θ) f(yjθ; φ) = exp + c(y; φ) φ (alternatively, write a(φ) instead of φ in the denominator): this is an exponential dispersion model; for fixed φ, this is an exponential family in θ. Write m for the reference measure for the densities. Clearly, Z f(yjθ; φ) dm(y) = 1: Differentiation with respect to θ, assuming that interchanging integration and differentiation is justified: @ Z 0 = f(yjθ; φ) dm(y) @θ Z @f(yjθ; φ) = dm(y) @θ Z y − b0(θ) = f(yjθ; φ) dm(y) φ E (y) − b0(θ) = θ,φ φ so that 0 Eθ,φ(y) = b (θ) which does not depend on φ. We can thus write 0 E(y) = µ = b (θ): Differentiating once more, we get ! Z b00(θ) y − b0(θ)2 0 = − + f(yjθ; φ) dm(y) φ φ b00(θ) V (y) = − + θ,φ φ φ2 so that 00 Vθ,φ(y) = φb (θ): 1 If µ = b0(θ) defines a one-to-one relation between µ and θ, we can write b00(θ) = V (µ) where V is the variance function of the family. Formally, V (µ) = b00((b0)−1(µ)) With this, var(y) = φb00(θ) = φV (µ) 1.2 Generalized Linear Models For a GLM, we then have for i = 1; : : : ; n responses yi and covariates (explana- 0 tory variables) xi so that for E(yi) = µi = b (θi) we have 0 g(µi) = β xi = ηi; where g is the link function and ηi is the linear predictor. Alternatively, 0 µi = h(β xi) = h(ηi); where h is the response function (and g and h are inverses of each other if invertible). What this precisely means is that for fixed φi, conditional on xi the distribution 0 0 of yi has density f(yijθi; φi) where g(b (θi)) = β xi: 0 0 yijxi ∼ f(yijθi; φi); g(b (θi)) = β xi: 1.3 Maximum Likelihood Estimation The log-likelihood thus equals n X yiθi − b(θi) ` = + c(y ; φ ) : φ i i i=1 i To obtain the score function (partials of the log-likelihood with respect to the 0 0 βj), we first differentiate g(b (θi)) = β xi with respect to βj to get 0 0 @β xi @g(b (θi)) 0 0 00 @θi 0 @θi xij = = = g (b (θi))b (θi) = g (µi)V (µi) @βj @βj @βj @βj from which @θi xij = 0 @βj g (µi)V (µi) and n 0 n @` X yi − b (θi) xij X yi − µi xij = = : @β φ g0(µ )V (µ ) φ V (µ ) g0(µ ) j i=1 i i i i=1 i i i 2 Maximum likelihood estimation is typically performed by solving the likelihood equations (i.e., setting the scores to zero). For Newton's method one needs to 2 0 compute the Hessian H`(β) = [@ `=@βi@βj]. As µi = b (θi), @µi 00 @θi xij xij = b (θi) = V (µi) 0 = 0 @βj @βj g (µi)V (µi) g (µi) and hence 2 n @ ` X @ yi − µi xij = @β β @β φ V (µ ) g0(µ ) j k i=1 k i i i n 0 X xij @µi 1 yi − µi @(V (µi)g (µi)) = − − φ @β V (µ )g0(µ ) (V (µ )g0(µ ))2 @β i=1 i k i i i i k n X xijxik = − φ V (µ )g0(µ )2 i=1 i i i n X (yi − µi)xijxik − (V 0(µ )g0(µ ) + V (µ )g00(µ )) φ V (µ )2g0(µ )3 i i i i i=1 i i i Noting that the second term looks complicated and has expectation zero, only the first term is used for the \Newton-type" iteration, the Fisher scoring al- gorithm. Equivalently, instead of using the observed information matrix (the negative Hessian of the log-likelihood), one uses its expectation (the Fisher in- formation matrix). Assume that φi = φ/ai with known case weights ai. Then the Fisher information matrix is n 0 1 X ai X W (β)X x x = ; φ V (µ )g0(µ )2 ij ik φ i=1 i i 0 where X is the usual regressor matrix (with xi as row i) and ai 0 W (β) = diag 0 2 ; g(µi) = xiβ: V (µi)g (µi) Similarly, the score function is n 0 1 X ai X W (β)r(β) g0(µ )(y − µ )x = ; φ V (µ )g0(µ )2 i i i ij φ i=1 i i 0 where r(β) is the vector with elements g (µi)(yi − µi), the so-called working 0 residuals. (Note that from g(µi) = ηi, g (µi) is often written as @ηi=@µi.) Thus, the Fisher scoring update is 0 −1 0 βnew β + (X W (β)X) X W (β)r(β) = (X0W (β)X)−1X0W (β)(Xβ + r(β)) = (X0W (β)X)−1X0W (β)z(β) 3 where z(β), the working response, has elements 0 0 0 β xi + g (µi)(yi − µi); g(µi) = xiβ: Thus, the update is computed by weighted least squares regression of z(β) on X (using the square roots of W (β) as weights), and the Fisher scoring algorithm for determining the MLEs is an iterative weighted least squares (IWLS) algorithm. Everything is considerable simplified when using the canonical link g = (b0)−1, for which 0 ηi = g(µi) = g(b (θi)) = θi: As d 1 1 (b0)−1(µ) = = ; dµ b00((b0)−1(µ)) V (µ) for the canonical link we have g0(µ)V (µ) ≡ 1. Hence, n n @` 1 X @2` 1 X = a (y − µ )x ; = − a V (µ )x x @β φ i i i ij @β @β φ i i ij ik j i=1 j k i=1 and observed and expected information matrices coincide, so that the IWLS Fisher scoring algorithm is the same as Newton's algorithm. (Note that all of the above becomes more convenient if we consistently use the response function instead of the link function.) 1.4 Inference Under suitable conditions, MLE β^ asymptotically N(β; I(β)−1) with expected Fisher information matrix 1 I(β) = X0W (β)X: φ Thus, standard errors can be computed as the square roots of the diagonal elements of ^ 0 ^ −1 cov(d β) = φ(X W (β)X) where X0W (β^)X is a by-product of the final IWLS iteration. This needs an estimate of φ (unless known). Estimation by MLE is practically difficult: hence, φ is usually estimated by the method of moments. Remembering that var(yi) = φiV (µi) = φV (µi)=ai, we see that if β was known, unbiased estimate of φ would be n 2 1 X ai(yi − µi) : n V (µ ) i=1 i 4 Taking into account that β is estimated, estimate employed is n 2 1 X ai(yi − µ^i) φ^ = n − p V (^µ ) i=1 i (where p is the number of β parameters). 1.5 Deviance The deviance is a quality-of-fit statistic for model fitting achieved by Maximum Likelihood, generalizing the idea of using the sum of squares of residuals in ordinary least squares, and (here) defined as D = 2φ(`sat − `mod) (assuming a common φ, perhaps after taking out weights), where the saturated model uses separate parameters for each observation so that the data is fitted ∗ 0 ∗ exactly. Here, this can be achieved via yi = µi = b (θi ) which gives zero scores (provided that this also maximizes, of course). The contribution of observation i to `sat − `mod is then ∗ ∗ 0 ∗ ^ 0 ^ θi yiθi − b (θi ) yiθi − b (θi) yiθ − b(θ) − = ; φ φ φ i i i θ^i ^ 0 ^ ^0 where θi is obtained from the fitted model (i.e., g(b (θi)) = β xi). Now, ∗ ∗ ∗ Z θi Z θi θi d 0 (yiθ − b(θ))j = (yiθ − b(θ)) dθ = (yi − b (θ)) dθ: θ^i θ^i dθ θ^i Substituting µ = b0(θ) gives dµ = b00(θ) dθ or equivalently, dθ = V (µ)−1 dµ, so that ∗ Z θi Z yi 0 yi − µ (yi − b (θ)) dθ = dµ θ^i µ^i V (µ) and the deviance contribution of observation i is ∗ θi Z yi yiθ − b(θ) yi − µ 2φi = 2 dµ. φ V (µ) i θ^i µ^i Note that this can be taken as the definition for the deviance as well as a basis for defining quasi-likelihood models based on a known variance function V . 1.6 Residuals Several kinds of residuals can be defined for GLMs: response yi − µ^i 5 0 working from working response in IWLS, i.e., g (^µi)(yi − µ^i) Pearson P yi − µ^i ri = V (^µi) P P 2 so that i(ri ) equals the generalized Pearson statistic. P D 2 deviance so that i(ri ) equals the deviance (see above). (All definitions equivalent for the Gaussian family.) 1.7 Generalized Linear Mixed Models We augment the linear predictor by (unknown) random effects bi: 0 0 ηi = xiβ + zibi where the bi come from a suitable family of distributions and the zi (as well as the xi, of course) are known covariates. Typically, bi ∼ N(0;G(#)): Conditionally on bi, yi is taken to follow an exponential dispersion model with 0 0 g(E(yijbi)) = ηi = xiβ + zibi: The marginal likelihood function of the observed yi is obtained by integrating the joint likelihood of the yi and bi with respect to the marginal distribution of the bi: n Y Z L(β; φ, #) = f(yijβ; φ; #; bi)f(bij#) dbi i=1 (assuming for simplicity that random effects are independent across observation units).
Recommended publications
  • Machine Learning Or Econometrics for Credit Scoring: Let’S Get the Best of Both Worlds Elena Dumitrescu, Sullivan Hué, Christophe Hurlin, Sessi Tokpavi
    Machine Learning or Econometrics for Credit Scoring: Let’s Get the Best of Both Worlds Elena Dumitrescu, Sullivan Hué, Christophe Hurlin, Sessi Tokpavi To cite this version: Elena Dumitrescu, Sullivan Hué, Christophe Hurlin, Sessi Tokpavi. Machine Learning or Econometrics for Credit Scoring: Let’s Get the Best of Both Worlds. 2020. hal-02507499v2 HAL Id: hal-02507499 https://hal.archives-ouvertes.fr/hal-02507499v2 Preprint submitted on 2 Nov 2020 (v2), last revised 15 Jan 2021 (v3) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Machine Learning or Econometrics for Credit Scoring: Let's Get the Best of Both Worlds∗ Elena, Dumitrescu,y Sullivan, Hu´e,z Christophe, Hurlin,x Sessi, Tokpavi{ October 18, 2020 Abstract In the context of credit scoring, ensemble methods based on decision trees, such as the random forest method, provide better classification performance than standard logistic regression models. However, logistic regression remains the benchmark in the credit risk industry mainly because the lack of interpretability of ensemble methods is incompatible with the requirements of financial regulators. In this paper, we pro- pose to obtain the best of both worlds by introducing a high-performance and inter- pretable credit scoring method called penalised logistic tree regression (PLTR), which uses information from decision trees to improve the performance of logistic regression.
    [Show full text]
  • 18.650 (F16) Lecture 10: Generalized Linear Models (Glms)
    Statistics for Applications Chapter 10: Generalized Linear Models (GLMs) 1/52 Linear model A linear model assumes Y X (µ(X), σ2I), | ∼ N And ⊤ IE(Y X) = µ(X) = X β, | 2/52 Components of a linear model The two components (that we are going to relax) are 1. Random component: the response variable Y X is continuous | and normally distributed with mean µ = µ(X) = IE(Y X). | 2. Link: between the random and covariates X = (X(1),X(2), ,X(p))⊤: µ(X) = X⊤β. · · · 3/52 Generalization A generalized linear model (GLM) generalizes normal linear regression models in the following directions. 1. Random component: Y some exponential family distribution ∼ 2. Link: between the random and covariates: ⊤ g µ(X) = X β where g called link function� and� µ = IE(Y X). | 4/52 Example 1: Disease Occuring Rate In the early stages of a disease epidemic, the rate at which new cases occur can often increase exponentially through time. Hence, if µi is the expected number of new cases on day ti, a model of the form µi = γ exp(δti) seems appropriate. ◮ Such a model can be turned into GLM form, by using a log link so that log(µi) = log(γ) + δti = β0 + β1ti. ◮ Since this is a count, the Poisson distribution (with expected value µi) is probably a reasonable distribution to try. 5/52 Example 2: Prey Capture Rate(1) The rate of capture of preys, yi, by a hunting animal, tends to increase with increasing density of prey, xi, but to eventually level off, when the predator is catching as much as it can cope with.
    [Show full text]
  • Maximum Likelihood from Incomplete Data Via the EM Algorithm A. P. Dempster; N. M. Laird; D. B. Rubin Journal of the Royal Stati
    Maximum Likelihood from Incomplete Data via the EM Algorithm A. P. Dempster; N. M. Laird; D. B. Rubin Journal of the Royal Statistical Society. Series B (Methodological), Vol. 39, No. 1. (1977), pp. 1-38. Stable URL: http://links.jstor.org/sici?sici=0035-9246%281977%2939%3A1%3C1%3AMLFIDV%3E2.0.CO%3B2-Z Journal of the Royal Statistical Society. Series B (Methodological) is currently published by Royal Statistical Society. Your use of the JSTOR archive indicates your acceptance of JSTOR's Terms and Conditions of Use, available at http://www.jstor.org/about/terms.html. JSTOR's Terms and Conditions of Use provides, in part, that unless you have obtained prior permission, you may not download an entire issue of a journal or multiple copies of articles, and you may use content in the JSTOR archive only for your personal, non-commercial use. Please contact the publisher regarding any further use of this work. Publisher contact information may be obtained at http://www.jstor.org/journals/rss.html. Each copy of any part of a JSTOR transmission must contain the same copyright notice that appears on the screen or printed page of such transmission. JSTOR is an independent not-for-profit organization dedicated to and preserving a digital archive of scholarly journals. For more information regarding JSTOR, please contact [email protected]. http://www.jstor.org Fri Apr 6 01:07:17 2007 Maximum Likelihood from Incomplete Data via the EM Algorithm By A. P. DEMPSTER,N. M. LAIRDand D. B. RDIN Harvard University and Educational Testing Service [Read before the ROYALSTATISTICAL SOCIETY at a meeting organized by the RESEARCH SECTIONon Wednesday, December 8th, 1976, Professor S.
    [Show full text]
  • Analysis of Computer Experiments Using Penalized Likelihood in Gaussian Kriging Models
    Editor’s Note: This article will be presented at the Technometrics invited session at the 2005 Joint Statistical Meetings in Minneapolis, Minnesota, August 2005. Analysis of Computer Experiments Using Penalized Likelihood in Gaussian Kriging Models Runze LI Agus SUDJIANTO Department of Statistics Risk Management Quality & Productivity Pennsylvania State University Bank of America University Park, PA 16802 Charlotte, NC 28255 ([email protected]) ([email protected]) Kriging is a popular analysis approach for computer experiments for the purpose of creating a cheap- to-compute “meta-model” as a surrogate to a computationally expensive engineering simulation model. The maximum likelihood approach is used to estimate the parameters in the kriging model. However, the likelihood function near the optimum may be flat in some situations, which leads to maximum likelihood estimates for the parameters in the covariance matrix that have very large variance. To overcome this difficulty, a penalized likelihood approach is proposed for the kriging model. Both theoretical analysis and empirical experience using real world data suggest that the proposed method is particularly important in the context of a computationally intensive simulation model where the number of simulation runs must be kept small because collection of a large sample set is prohibitive. The proposed approach is applied to the reduction of piston slap, an unwanted engine noise due to piston secondary motion. Issues related to practical implementation of the proposed approach are discussed. KEY WORDS: Computer experiment; Fisher scoring algorithm; Kriging; Meta-model; Penalized like- lihood; Smoothly clipped absolute deviation. 1. INTRODUCTION e.g., Ye, Li, and Sudjianto 2000) and by the meta-modeling ap- proach itself (Jin, Chen, and Simpson 2000).
    [Show full text]
  • Properties of the Zero-And-One Inflated Poisson Distribution and Likelihood
    Statistics and Its Interface Volume 9 (2016) 11–32 Properties of the zero-and-one inflated Poisson distribution and likelihood-based inference methods Chi Zhang, Guo-Liang Tian∗, and Kai-Wang Ng The over-dispersion may result from other phenomena such as a high proportion of both zeros and ones in the To model count data with excess zeros and excess ones, count data. For example, Eriksson and Aberg˚ [8] reported a in their unpublished manuscript, Melkersson and Olsson two-year panel data from Swedish Level of Living Surveys (1999) extended the zero-inflated Poisson distribution to in 1974 and 1991, where the visits to a dentist have higher a zero-and-one-inflated Poisson (ZOIP) distribution. How- proportions of zeros and ones and one-visit observations are ever, the distributional theory and corresponding properties even much more frequent than zero-visits. It is common to of the ZOIP have not yet been explored, and likelihood- visit a dentist for a routine control, e.g., school-children go based inference methods for parameters of interest were not to a dentist once a year almost as a rule. As the second ex- well developed. In this paper, we extensively study the ZOIP ample, Carrivick et al.[3] reported that much of the data distribution by first constructing five equivalent stochastic collected on occupational safety involves accident or injury representations for the ZOIP random variable and then de- counts with many zeros and ones. In general, the safety reg- riving other important distributional properties. Maximum ulations protect most workers from injury so that many ze- likelihood estimates of parameters are obtained by both the ros are observed.
    [Show full text]
  • A Brief Survey of Modern Optimization for Statisticians1
    International Statistical Review (2014), 82, 1, 46–70 doi:10.1111/insr.12022 A Brief Survey of Modern Optimization for Statisticians1 Kenneth Lange1,2,EricC.Chi2 and Hua Zhou3 1Departments of Biomathematics and Statistics, University of California, Los Angeles, CA 90095-1766, USA E-mail: [email protected] 2Department of Human Genetics, University of California, Los Angeles, CA 90095-1766, USA E-mail: [email protected] 3Department of Statistics, North Carolina State University, Raleigh, NC 27695-8203, USA E-mail: [email protected] Summary Modern computational statistics is turning more and more to high-dimensional optimization to handle the deluge of big data. Once a model is formulated, its parameters can be estimated by optimization. Because model parsimony is important, models routinely include non-differentiable penalty terms such as the lasso. This sober reality complicates minimization and maximization. Our broad survey stresses a few important principles in algorithm design. Rather than view these principles in isolation, it is more productive to mix and match them. A few well-chosen examples illustrate this point. Algorithm derivation is also emphasized, and theory is downplayed, particularly the abstractions of the convex calculus. Thus, our survey should be useful and accessible to a broad audience. Key words: Block relaxation; Newton’s method; MM algorithm; penalization; augmented Lagrangian; acceleration. 1 Introduction Modern statistics represents a confluence of data, algorithms, practical inference, and subject area knowledge. As data mining expands, computational statistics is assuming greater promi- nence. Surprisingly, the confident prediction of the previous generation that Bayesian methods would ultimately supplant frequentist methods has given way to a realization that Markov chain Monte Carlo may be too slow to handle modern data sets.
    [Show full text]
  • On the Maximization of Likelihoods Belonging to the Exponential Family
    arXiv.org manuscript No. (will be inserted by the editor) On the maximization of likelihoods belonging to the exponential family using ideas related to the Levenberg-Marquardt approach Marco Giordan · Federico Vaggi · Ron Wehrens Received: date / Revised: date Abstract The Levenberg-Marquardt algorithm is a flexible iterative procedure used to solve non-linear least squares problems. In this work we study how a class of possible adaptations of this procedure can be used to solve maximum likelihood problems when the underlying distributions are in the exponential family. We formally demonstrate a local convergence property and we discuss a possible implementation of the penalization involved in this class of algorithms. Applications to real and simulated compositional data show the stability and efficiency of this approach. Keywords Aitchison distribution · compositional data · Dirichlet distribution · generalized linear models · natural link · optimization. arXiv:1410.0793v1 [stat.CO] 3 Oct 2014 M. Giordan IASMA Research and Innovation Centre, Biostatistics and Data Managment E-mail: [email protected] F. Vaggi IASMA Research and Innovation Centre, Integrative Genomic Research E-mail: [email protected] Ron Wehrens IASMA Research and Innovation Centre, Biostatistics and Data Managment E-mail: [email protected] 2 Marco Giordan et al. 1 Introduction The exponential family is a large class of probability distributions widely used in statistics. Distributions in this class possess many useful properties that make them useful for inferential and algorithmic purposes, especially with reference to maximum likelihood estimation. Despite this, when closed form solutions are not available, computational problems can arise in the fitting of a particular distribution in this family to real data.
    [Show full text]
  • Gaussian Process Learning Via Fisher Scoring of Vecchia's Approximation
    Gaussian Process Learning via Fisher Scoring of Vecchia's Approximation Joseph Guinness Cornell University, Department of Statistics and Data Science Abstract We derive a single pass algorithm for computing the gradient and Fisher information of Vecchia's Gaussian process loglikelihood approximation, which provides a computationally efficient means for applying the Fisher scoring algorithm for maximizing the loglikelihood. The advantages of the optimization techniques are demonstrated in numerical examples and in an application to Argo ocean temperature data. The new methods are more accurate and much faster than an optimization method that uses only function evaluations, especially when the covariance function has many parameters. This allows practitioners to fit nonstationary models to large spatial and spatial-temporal datasets. 1 Introduction The Gaussian process model is an indispensible tool for the analysis of spatial and spatial-temporal datasets and has become increasingly popular as a general-purpose model for functions. Because of its high computational burden, researchers have devoted substantial effort to developing nu- merical approximations for Gaussian process computations. Much of the work focuses on efficient approximation of the likelihood function. Fast likelihood evaluations are crucial for optimization procedures that require many evaluations of the likelihood, such as the default Nelder-Mead al- gorithm (Nelder and Mead, 1965) in the R optim function. The likelihood must be repeatedly evaluated in MCMC algorithms as well. Compared to the amount of literature on efficient likelihood approximations, there has been considerably less development of techniques for numerically maximizing the likelihood (see Geoga et al. (2018) for one recent example). This article aims to address the disparity by providing: 1.
    [Show full text]
  • Stochastic Gradient Descent As Approximate Bayesian Inference
    Journal of Machine Learning Research 18 (2017) 1-35 Submitted 4/17; Revised 10/17; Published 12/17 Stochastic Gradient Descent as Approximate Bayesian Inference Stephan Mandt [email protected] Data Science Institute Department of Computer Science Columbia University New York, NY 10025, USA Matthew D. Hoffman [email protected] Adobe Research Adobe Systems Incorporated 601 Townsend Street San Francisco, CA 94103, USA David M. Blei [email protected] Department of Statistics Department of Computer Science Columbia University New York, NY 10025, USA Editor: Manfred Opper Abstract Stochastic Gradient Descent with a constant learning rate (constant SGD) simulates a Markov chain with a stationary distribution. With this perspective, we derive several new results. (1) We show that constant SGD can be used as an approximate Bayesian posterior inference algorithm. Specif- ically, we show how to adjust the tuning parameters of constant SGD to best match the stationary distribution to a posterior, minimizing the Kullback-Leibler divergence between these two distri- butions. (2) We demonstrate that constant SGD gives rise to a new variational EM algorithm that optimizes hyperparameters in complex probabilistic models. (3) We also show how to tune SGD with momentum for approximate sampling. (4) We analyze stochastic-gradient MCMC algorithms. For Stochastic-Gradient Langevin Dynamics and Stochastic-Gradient Fisher Scoring, we quantify the approximation errors due to finite learning rates. Finally (5), we use the stochastic process per- spective to give a short proof of why Polyak averaging is optimal. Based on this idea, we propose a scalable approximate MCMC algorithm, the Averaged Stochastic Gradient Sampler.
    [Show full text]
  • Stochastic Gradient MCMC: Algorithms and Applications
    UNIVERSITY OF CALIFORNIA, IRVINE Stochastic Gradient MCMC: Algorithms and Applications DISSERTATION submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in Computer Science by Sungjin Ahn Dissertation Committee: Professor Max Welling, Chair Professor Babak Shahbaba Professor Charless Fowlkes 2015 c 2015 Sungjin Ahn TABLE OF CONTENTS Page LIST OF FIGURES v LIST OF TABLES vii LIST OF ALGORITHMS viii ACKNOWLEDGMENTS ix CURRICULUM VITAE x ABSTRACT OF THE DISSERTATION xii 1 Introduction 1 1.1 Bayesian Inference for Machine Learning . 3 1.2 Advantages of Bayesian Inference . 6 1.3 Large-Scale Machine Learning . 7 1.4 Research Challenges . 10 1.5 Outline of the Thesis . 11 2 Markov Chain Monte Carlo 13 2.1 Monte Carlo Method . 13 2.2 Markov Chains . 15 2.3 MCMC Algorithms . 17 2.3.1 The Metropolis-Hastings Algorithm . 17 2.3.2 Gibbs Sampling . 18 2.3.3 Langevin Monte Carlo . 20 2.4 Scalability of Traditional MCMC . 21 3 Stochastic Gradient Langevin Dynamics 24 3.1 Stochastic Gradient Langevin Dynamics . 25 3.1.1 SGLD with a constant step-size . 27 3.1.2 SGLD during burn-in . 27 4 Stochastic Gradient Fisher Scoring 29 4.1 Motivation . 29 4.2 Preliminaries and Notation . 30 ii 4.3 Stochastic Gradient Fisher Scoring . 32 4.3.1 Sampling from the Gaussian Approximate Posterior . 32 4.3.2 Stochastic Gradient Fisher Scoring . 33 4.4 Computational Efficiency . 38 4.5 Experiments . 39 4.5.1 Logistic Regression . 39 4.5.2 SGFS on Neural Networks . 42 4.5.3 Discriminative Restricted Boltzmann Machine (DRBM) .
    [Show full text]
  • Recursive Importance Sketching for Rank Constrained Least Squares: Algorithms and High-Order Convergence
    Recursive Importance Sketching for Rank Constrained Least Squares: Algorithms and High-order Convergence Yuetian Luo1, Wen Huang2, Xudong Li3, and Anru R. Zhang1;4 March 16, 2021 Abstract In this paper, we propose a new Recursive Importance Sketching algorithm for Rank con- strained least squares Optimization (RISRO). As its name suggests, the algorithm is based on a new sketching framework, recursive importance sketching. Several existing algorithms in the literature can be reinterpreted under the new sketching framework and RISRO offers clear ad- vantages over them. RISRO is easy to implement and computationally efficient, where the core procedure in each iteration is only solving a dimension reduced least squares problem. Different from numerous existing algorithms with locally geometric convergence rate, we establish the local quadratic-linear and quadratic rate of convergence for RISRO under some mild conditions. In addition, we discover a deep connection of RISRO to Riemannian manifold optimization on fixed rank matrices. The effectiveness of RISRO is demonstrated in two applications in machine learning and statistics: low-rank matrix trace regression and phase retrieval. Simulation studies demonstrate the superior numerical performance of RISRO. Keywords: Rank constrained least squares, Sketching, Quadratic convergence, Riemannian man- ifold optimization, Low-rank matrix recovery, Non-convex optimization 1 Introduction The focus of this paper is on the rank constrained least squares: 1 2 min fpXq :“ }y ´ ApXq}2 ; subject to rankpXq “ r: (1) XPRp1ˆp2 2 n p p n Here, y P R is the given data and A P R 1ˆ 2 Ñ R is a known linear map that can be explicitly arXiv:2011.08360v2 [math.OC] 14 Mar 2021 represented as J ApXq “ rxA1; Xy;:::; xAn; Xys ; xAi; Xy “ pAiqrj;ksXrj;ks (2) 1¤j¤p ;1¤k¤p ¸1 2 p ˆp with given measurement matrices Ai P R 1 2 , i “ 1; : : : ; n.
    [Show full text]
  • An Approximate Fisher Scoring Algorithm for Finite Mixtures of Multinomials Andrew M
    An Approximate Fisher Scoring Algorithm for Finite Mixtures of Multinomials Andrew M. Raim, Minglei Liu, Nagaraj K. Neerchal and Jorge G. Morel Abstract Finite mixture distributions arise naturally in many applications including clus- tering and classification. Since they usually do not yield closed forms for maximum likelihood estimates (MLEs), numerical methods using the well known Fisher Scoring or Expectation-Maximization algorithms are considered. In this work, an approximation to the Fisher Information Matrix of an arbitrary mixture of multinomial distributions is introduced. This leads to an Approximate Fisher Scoring algorithm (AFSA), which turns out to be closely related to Expectation-Maximization, and is more robust to the choice of initial value than Fisher Scoring iterations. A combination of AFSA and the classical Fisher Scoring iterations provides the best of both computational efficiency and stable convergence properties. Key Words: Multinomial; Finite mixture, Maximum likelihood, Fisher Information Matrix, Fisher Scoring. 1 Introduction A finite mixture model arises when observations are believed to originate from one of several populations, but it is unknown to which population each observation belongs. Model iden- tifiability of mixtures is an important issue with a considerable literature; see, for example, Robbins (1948) and Teicher (1960). The book by McLachlan and Peel (2000) is a good entry point to the literature on mixtures. A majority of the mixture literature deals with mix- tures of normal distributions; however, Blischke (1962; 1964), Krolikowska (1976), and Kabir (1968) are a few early works which address mixtures of discrete distributions. The present work focuses on mixtures of multinomials, which have wide applications in clustering and classification problems, as well as modeling overdispersion data (Morel and Nagaraj, 2012).
    [Show full text]