Arxiv:1808.00111V2 [Cs.LG] 14 Sep 2018
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Obtaining Well Calibrated Probabilities Using Bayesian Binning
Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence Obtaining Well Calibrated Probabilities Using Bayesian Binning Mahdi Pakdaman Naeini1, Gregory F. Cooper1;2, and Milos Hauskrecht1;3 1Intelligent Systems Program, University of Pittsburgh, PA, USA 2Department of Biomedical Informatics, University of Pittsburgh, PA, USA 3Computer Science Department, University of Pittsburgh, PA, USA Abstract iments to perform), medicine (e.g., deciding which therapy Learning probabilistic predictive models that are well cali- to give a patient), business (e.g., making investment deci- brated is critical for many prediction and decision-making sions), and others. However, model calibration and the learn- tasks in artificial intelligence. In this paper we present a new ing of well-calibrated probabilistic models have not been non-parametric calibration method called Bayesian Binning studied in the machine learning literature as extensively as into Quantiles (BBQ) which addresses key limitations of ex- for example discriminative machine learning models that isting calibration methods. The method post processes the are built to achieve the best possible discrimination among output of a binary classification algorithm; thus, it can be classes of objects. One way to achieve a high level of model readily combined with many existing classification algo- calibration is to develop methods for learning probabilistic rithms. The method is computationally tractable, and em- models that are well-calibrated, ab initio. However, this ap- pirically accurate, as evidenced by the set of experiments proach would require one to modify the objective function reported here on both real and simulated datasets. used for learning the model and it may increase the com- putational cost of the associated optimization task. -
Bayesian Isotonic Regression for Epidemiology
Dunson, D.B. Bayesian isotonic regression BAYESIAN ISOTONIC REGRESSION FOR EPIDEMIOLOGY Author's name(s): Dunson, D.B.* and Neelon, B. Affiliation(s): Biostatistics Branch, National Institute of Environmental Health Sciences, U.S. National Institutes of Health, MD, A3-03, P.O. Box 12233, RTP, NC 27709, U.S.A. Email: [email protected] Phone: 919-541-3033; Fax: 919-541-4311 Corresponding author: Dunson, D.B. Keywords: Additive model; Smoothing; Trend test Topic area of the submission: Statistics in Epidemiology Abstract In many applications, the mean of a response variable, Y, conditional on a predictor, X, can be characterized by an unknown isotonic function, f(.), and interest focuses on (i) assessing evidence of an overall increasing trend; (ii) investigating local trends (e.g., at low dose levels); and (iii) estimating the response function, possibly adjusted for the effects of covariates, Z. For example, in epidemiologic studies, one may be interested in assessing the relationship between dose of a possibly toxic exposure and the probability of an adverse response, controlling for confounding factors. In characterizing biologic and public health significance, and the need for possible regulatory interventions, it is important to efficiently estimate dose response, allowing for flat regions in which increases in dose have no effect. In such applications, one can typically assume a priori that an adverse response does not occur less often as dose increases, adjusting for important confounding factors, such as age and race. It is well known that incorporating such monotonicity constraints can improve estimation efficiency and power to detect trends [1], and several frequentist approaches have been proposed for smooth monotone curve estimation [2-3]. -
Calibrated Model-Based Deep Reinforcement Learning
Calibrated Model-Based Deep Reinforcement Learning and intuition on how to apply calibration in reinforcement Probabilistic Models This paper focuses on probabilistic learning. dynamics models T (s0|s, a) that take a current state s 2S and action a 2A, and output a probability distribution over We validate our approach on benchmarks for contextual future states s0. Web represent the output distribution over the bandits and continuous control (Li et al., 2010; Todorov next states, T (·|s, a), as a cumulative distribution function et al., 2012), as well as on a planning problem in inventory F : S![0, 1], which is defined for both discrete and management (Van Roy et al., 1997). Our results show that s,a continuous Sb. calibration consistently improves the cumulative reward and the sample complexity of model-based agents, and also en- hances their ability to balance exploration and exploitation 2.2. Calibration, Sharpness, and Proper Scoring Rules in contextual bandit settings. Most interestingly, on the A key desirable property of probabilistic forecasts is calibra- HALFCHEETAH task, our system achieves state-of-the-art tion. Intuitively, a transition model T (s0|s, a) is calibrated if performance, using 50% fewer samples than the previous whenever it assigns a probability of 0.8 to an event — such leading approach (Chua et al., 2018). Our results suggest as a state transition (s, a, s0) — thatb transition should occur that calibrated uncertainties have the potential to improve about 80% of the time. model-based reinforcement learning algorithms with mini- 0 mal computational and implementation overhead. Formally, for a discrete state space S and when s, a, s are i.i.d. -
Isotonic Regression in General Dimensions
Isotonic regression in general dimensions Qiyang Han∗, Tengyao Wang†, Sabyasachi Chatterjee‡and Richard J. Samworth§ September 1, 2017 Abstract We study the least squares regression function estimator over the class of real-valued functions on [0, 1]d that are increasing in each coordinate. For uniformly bounded sig- nals and with a fixed, cubic lattice design, we establish that the estimator achieves the min 2/(d+2),1/d minimax rate of order n− { } in the empirical L2 loss, up to poly-logarithmic factors. Further, we prove a sharp oracle inequality, which reveals in particular that when the true regression function is piecewise constant on k hyperrectangles, the least squares estimator enjoys a faster, adaptive rate of convergence of (k/n)min(1,2/d), again up to poly-logarithmic factors. Previous results are confined to the case d 2. Fi- ≤ nally, we establish corresponding bounds (which are new even in the case d = 2) in the more challenging random design setting. There are two surprising features of these re- sults: first, they demonstrate that it is possible for a global empirical risk minimisation procedure to be rate optimal up to poly-logarithmic factors even when the correspond- ing entropy integral for the function class diverges rapidly; second, they indicate that the adaptation rate for shape-constrained estimators can be strictly worse than the parametric rate. 1 Introduction Isotonic regression is perhaps the simplest form of shape-constrained estimation problem, and has wide applications in a number of fields. For instance, in medicine, the expression of a leukaemia antigen has been modelled as a monotone function of white blood cell count arXiv:1708.09468v1 [math.ST] 30 Aug 2017 and DNA index (Schell and Singh, 1997), while in education, isotonic regression has been used to investigate the dependence of college grade point average on high school ranking and standardised test results (Dykstra and Robertson, 1982). -
Shape Restricted Regression with Random Bernstein Polynomials 189 Where Xk Are Design Points, Yjk Are Response Variables and Ǫjk Are Errors
IMS Lecture Notes–Monograph Series Complex Datasets and Inverse Problems: Tomography, Networks and Beyond Vol. 54 (2007) 187–202 c Institute of Mathematical Statistics, 2007 DOI: 10.1214/074921707000000157 Shape restricted regression with random Bernstein polynomials I-Shou Chang1,∗, Li-Chu Chien2,∗, Chao A. Hsiung2, Chi-Chung Wen3 and Yuh-Jenn Wu4 National Health Research Institutes, Tamkang University, and Chung Yuan Christian University, Taiwan Abstract: Shape restricted regressions, including isotonic regression and con- cave regression as special cases, are studied using priors on Bernstein polynomi- als and Markov chain Monte Carlo methods. These priors have large supports, select only smooth functions, can easily incorporate geometric information into the prior, and can be generated without computational difficulty. Algorithms generating priors and posteriors are proposed, and simulation studies are con- ducted to illustrate the performance of this approach. Comparisons with the density-regression method of Dette et al. (2006) are included. 1. Introduction Estimation of a regression function with shape restriction is of considerable interest in many practical applications. Typical examples include the study of dose response experiments in medicine and the study of utility functions, product functions, profit functions and cost functions in economics, among others. Starting from the classic works of Brunk [4] and Hildreth [17], there exists a large literature on the problem of estimating monotone, concave or convex regression functions. Because some of these estimates are not smooth, much effort has been devoted to the search of a simple, smooth and efficient estimate of a shape restricted regression function. Major approaches to this problem include the projection methods for constrained smoothing, which are discussed in Mammen et al. -
Offline Deep Models Calibration with Bayesian Neural Networks
Under review as a conference paper at ICLR 2019 OFFLINE DEEP MODELS CALIBRATION WITH BAYESIAN NEURAL NETWORKS Anonymous authors Paper under double-blind review ABSTRACT In this work the authors show that Bayesian Neural Networks (BNNs) can be efficiently applied to calibrate state-of-the-art Deep Neural Networks (DNN). Our approach acts offline, i.e., it is decoupled from the training of the DNN to be cali- brated. This offline approach allow us to apply our BNN calibration to any model regardless of the limitations that the model may present during training. Note that this offline setting is also appropriate in order to deal with privacy concerns of DNN training data or implementation, among others. We show that our approach clearly outperforms other simple maximum likelihood based solutions that have recently shown very good performance, as temperature scaling (Guo et al., 2017). As an example, we reduce the Expected Calibration Error (ECE%) from 0.52 to 0.24 on CIFAR-10 and from 4.28 to 2.46 on CIFAR-100 on two Wide ResNet with 96.13% and 80.39% accuracy respectively, which are among the best results published for these tasks. Moreover, we show that our approach improves the per- formance of online methods directly applied to the DNN, e.g. Gaussian processes or Bayesian Convolutional Neural Networks. Finally, this decoupled approach allows us to apply any further improvement to the BNN without considering the computational restrictions imposed by the deep model. In this sense, this offline setting is a practical application where BNNs can be considered, which is one of the main criticisms to these techniques. -
Discovering General-Purpose Active Learning Strategies
1 Discovering General-Purpose Active Learning Strategies Ksenia Konyushkova, Raphael Sznitman, and Pascal Fua, Fellow, IEEE Abstract—We propose a general-purpose approach to discovering active learning (AL) strategies from data. These strategies are transferable from one domain to another and can be used in conjunction with many machine learning models. To this end, we formalize the annotation process as a Markov decision process, design universal state and action spaces and introduce a new reward function that precisely model the AL objective of minimizing the annotation cost. We seek to find an optimal (non-myopic) AL strategy using reinforcement learning. We evaluate the learned strategies on multiple unrelated domains and show that they consistently outperform state-of-the-art baselines. Index Terms—Active learning, meta-learning, Markov decision process, reinforcement learning. F 1 INTRODUCTION ODERN supervised machine learning (ML) methods is still greedy and therefore could be a subject to finding M require large annotated datasets for training purposes suboptimal solutions. and the cost of producing them can easily become pro- Our goal is therefore to devise a general-purpose data- hibitive. Active learning (AL) mitigates the problem by se- driven AL method that is non-myopic and applicable to lecting intelligently and adaptively a subset of the data to be heterogeneous datasets. To this end, we build on earlier annotated. To do so, AL typically relies on informativeness work that showed that AL problems could be naturally measures that identify unlabelled data points whose labels reworded in Markov Decision Process (MDP) terms [4], [10]. are most likely to help to improve the performance of the In a typical MDP, an agent acts in its environment. -
Large-Scale Probabilistic Prediction with and Without Validity Guarantees
Large-scale probabilistic prediction with and without validity guarantees Vladimir Vovk, Ivan Petej, and Valentina Fedorova ïðàêòè÷åñêèå âûâîäû òåîðèè âåðîÿòíîñòåé ìîãóò áûòü îáîñíîâàíû â êà÷åñòâå ñëåäñòâèé ãèïîòåç î ïðåäåëüíîé ïðè äàííûõ îãðàíè÷åíèÿõ ñëîæíîñòè èçó÷àåìûõ ÿâëåíèé On-line Compression Modelling Project (New Series) Working Paper #13 First posted November 2, 2015. Last revised November 3, 2019. Project web site: http://alrw.net Abstract This paper studies theoretically and empirically a method of turning machine- learning algorithms into probabilistic predictors that automatically enjoys a property of validity (perfect calibration) and is computationally efficient. The price to pay for perfect calibration is that these probabilistic predictors produce imprecise (in practice, almost precise for large data sets) probabilities. When these imprecise probabilities are merged into precise probabilities, the resulting predictors, while losing the theoretical property of perfect calibration, are con- sistently more accurate than the existing methods in empirical studies. The conference version of this paper published in Advances in Neural Informa- tion Processing Systems 28, 2015. Contents 1 Introduction 1 2 Inductive Venn{Abers predictors (IVAPs) 2 3 Cross Venn{Abers predictors (CVAPs) 10 4 Making probability predictions out of multiprobability ones 11 5 Comparison with other calibration methods 12 5.1 Platt's method . 12 5.2 Isotonic regression . 15 6 Empirical studies 16 7 Conclusion 26 References 28 1 Introduction Prediction algorithms studied in this paper belong to the class of Venn{Abers predictors, introduced in [19]. They are based on the method of isotonic regres- sion [1] and prompted by the observation that when applied in machine learning the method of isotonic regression often produces miscalibrated probability pre- dictions (see, e.g., [8, 9]); it has also been reported ([3], Section 1) that isotonic regression is more prone to overfitting than Platt's scaling [13] when data is scarce. -
Stat 8054 Lecture Notes: Isotonic Regression
Stat 8054 Lecture Notes: Isotonic Regression Charles J. Geyer June 20, 2020 1 License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (http: //creativecommons.org/licenses/by-sa/4.0/). 2 R • The version of R used to make this document is 4.0.1. • The version of the Iso package used to make this document is 0.0.18.1. • The version of the rmarkdown package used to make this document is 2.2. 3 Lagrange Multipliers The following theorem is taken from the old course slides http://www.stat.umn.edu/geyer/8054/slide/optimize. pdf. It originally comes from the book Shapiro, J. (1979). Mathematical Programming: Structures and Algorithms. Wiley, New York. 3.1 Problem minimize f(x) subject to gi(x) = 0, i ∈ E gi(x) ≤ 0, i ∈ I where E and I are disjoint finite sets. Say x is feasible if the constraints hold. 3.2 Theorem The following is called the Lagrangian function X L(x, λ) = f(x) + λigi(x) i∈E∪I and the coefficients λi in it are called Lagrange multipliers. 1 If there exist x∗ and λ such that 1. x∗ minimizes x 7→ L(x, λ), ∗ ∗ 2. gi(x ) = 0, i ∈ E and gi(x ) ≤ 0, i ∈ I, 3. λi ≥ 0, i ∈ I, and ∗ 4. λigi(x ) = 0, i ∈ I. Then x∗ solves the constrained problem (preceding section). These conditions are called 1. Lagrangian minimization, 2. primal feasibility, 3. dual feasibility, and 4. complementary slackness. A correct proof of the theorem is given on the slides cited above (it is just algebra). -
On Calibration of Modern Neural Networks
On Calibration of Modern Neural Networks Chuan Guo * 1 Geoff Pleiss * 1 Yu Sun * 1 Kilian Q. Weinberger 1 Abstract LeNet (1998) ResNet (2016) CIFAR-100 CIFAR-100 1:0 Confidence calibration – the problem of predict- ing probability estimates representative of the 0:8 true correctness likelihood – is important for 0:6 classification models in many applications. We Accuracy Accuracy discover that modern neural networks, unlike 0:4 those from a decade ago, are poorly calibrated. Avg. confidence Avg. confidence Through extensive experiments, we observe that % of Samples 0:2 depth, width, weight decay, and Batch Normal- 0:0 ization are important factors influencing calibra- 0:0 0:2 0:4 0:6 0:8 1:0 0:0 0:2 0:4 0:6 0:8 1:0 tion. We evaluate the performance of various 1:0 Outputs Outputs post-processing calibration methods on state-of- 0:8 Gap Gap the-art architectures with image and document classification datasets. Our analysis and exper- 0:6 iments not only offer insights into neural net- 0:4 work learning, but also provide a simple and Accuracy straightforward recipe for practical settings: on 0:2 Error=44.9 Error=30.6 most datasets, temperature scaling – a single- 0:0 parameter variant of Platt Scaling – is surpris- 0:0 0:2 0:4 0:6 0:8 1:0 0:0 0:2 0:4 0:6 0:8 1:0 ingly effective at calibrating predictions. Confidence Figure 1. Confidence histograms (top) and reliability diagrams (bottom) for a 5-layer LeNet (left) and a 110-layer ResNet (right) 1. -
Projections Onto Order Simplexes and Isotonic Regression
Volume 111, Number 2, March-April 2006 Journal of Research of the National Institute of Standards and Technology [J. Res. Natl. Inst. Stand. Technol. 111, 000-000(2006)] Projections Onto Order Simplexes and Isotonic Regression Volume 111 Number 2 March-April 2006 Anthony J. Kearsley Isotonic regression is the problem of appropriately modified to run on a parallel fitting data to order constraints. This computer with substantial speed-up. Mathematical and Computational problem can be solved numerically in an Finally we illustrate how it can be used Science Division, efficient way by successive projections onto to pre-process mass spectral data for National Institute of Standards order simplex constraints. An algorithm automatic high throughput analysis. for solving the isotonic regression using and Technology, successive projections onto order simplex Gaithersburg, MD 20899 constraints was originally suggested and Key words: isotonic regression; analyzed by Grotzinger and Witzgall. This optimization; projection; simplex. algorithm has been employed repeatedly in [email protected] a wide variety of applications. In this paper we briefly discuss the isotonic Accepted: December 14, 2005 regression problem and its solution by the Grotzinger-Witzgall method. We demonstrate that this algorithm can be Available online: http://www.nist.gov/jres 1. Introduction seasonal effect constitute the mean part of the process. The important issue of mean stationarity is usually the Given a finite set of real numbers, Y ={y1,..., yn}, first step for statistical inference. Researchers have the problem of isotonic regression with respect to a developed a testing and estimation theory for the complete order is the following quadratic programming existence of a monotonic trend and the identification of problem: important seasonal effects. -
Testing of Monotonicity in Parametric Regression Models E
Journal of Statistical Planning and Inference 107 (2002) 289–306 www.elsevier.com/locate/jspi Testing of monotonicity in parametric regression models E. Doveha, A. Shapirob;∗, P.D. Feigina aFaculty of Industrial Engineering and Management, Technion-Israel Institute of Technology, Haifa 32000, Israel bSchool of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, GA 30332-0205, USA Abstract In data analysis concerning the investigation of the relationship between a dependent variable Y and an independent variable X , one may wish to determine whether this relationship is monotone or not. This determination may be of interest in itself, or it may form part of a (nonparametric) regression analysis which relies on monotonicity of the true regression function. In this paper we generalize the test of positive correlation by proposing a test statistic for monotonicity based on ÿtting a parametric model, say a higher-order polynomial, to the data with and without the monotonicity constraint. The test statistic has an asymptotic chi-bar-squared distribution under the null hypothesis that the true regression function is on the boundary of the space of monotone functions. Based on the theoretical results, an algorithm is developed for evaluating signiÿcance of the test statistic, and it is shown to perform well in several null and nonnull settings. Exten- sions to ÿtting regression splines and to misspeciÿed models are also brie4y discussed. c 2002 Elsevier Science B.V. All rights reserved. Keywords: Monotone regression; Large samples theory; Testing monotonicity; Chi-bar-squared distributions; Misspeciÿed models 1. Introduction The general setting of this paper is that of the regression of scalar Y on scalar X over the interval [a; b].