Sinkhorn Autoencoders

Total Page:16

File Type:pdf, Size:1020Kb

Sinkhorn Autoencoders Sinkhorn AutoEncoders Giorgio Patrini⇤• Rianne van den Berg⇤ Patrick Forr´e Marcello Carioni UvA Bosch Delta Lab University of Amsterdam† University of Amsterdam KFU Graz Samarth Bhargav Max Welling Tim Genewein Frank Nielsen ‡ University of Amsterdam University of Amsterdam Bosch Center for Ecole´ Polytechnique CIFAR Artificial Intelligence Sony CSL Abstract 1INTRODUCTION Optimal transport o↵ers an alternative to Unsupervised learning aims at finding the underlying maximum likelihood for learning generative rules that govern a given data distribution PX . It can autoencoding models. We show that mini- be approached by learning to mimic the data genera- mizing the p-Wasserstein distance between tion process, or by finding an adequate representation the generator and the true data distribution of the data. Generative Adversarial Networks (GAN) is equivalent to the unconstrained min-min (Goodfellow et al., 2014) belong to the former class, optimization of the p-Wasserstein distance by learning to transform noise into an implicit dis- between the encoder aggregated posterior tribution that matches the given one. AutoEncoders and the prior in latent space, plus a recon- (AE) (Hinton and Salakhutdinov, 2006) are of the struction error. We also identify the role of latter type, by learning a representation that maxi- its trade-o↵hyperparameter as the capac- mizes the mutual information between the data and ity of the generator: its Lipschitz constant. its reconstruction, subject to an information bottle- Moreover, we prove that optimizing the en- neck. Variational AutoEncoders (VAE) (Kingma and coder over any class of universal approxima- Welling, 2013; Rezende et al., 2014), provide both a tors, such as deterministic neural networks, generative model — i.e. a prior distribution PZ on is enough to come arbitrarily close to the the latent space with a decoder G(X Z) that models optimum. We therefore advertise this frame- the conditional likelihood — and an encoder| Q(Z X) work, which holds for any metric space and — approximating the posterior distribution of| the prior, as a sweet-spot of current generative generative model. Optimizing the exact marginal autoencoding objectives. likelihood is intractable in latent variable models We then introduce the Sinkhorn auto- such as VAE’s. Instead one maximizes the Evidence encoder (SAE), which approximates and Lower BOund (ELBO) as a surrogate. This objec- minimizes the p-Wasserstein distance in la- tive trades o↵a reconstruction error of the input tent space via backprogation through the distribution PX and a regularization term that aims Sinkhorn algorithm. SAE directly works at minimizing the Kullback-Leibler (KL) divergence on samples, i.e. it models the aggregated from the approximate posterior Q(Z X) to the prior posterior as an implicit distribution, with | PZ . no need for a reparameterization trick for gradients estimations. SAE is thus able to An alternative principle for learning generative au- work with di↵erent metric spaces and priors toencoders comes from the theory of Optimal Trans- with minimal adaptations. port (OT) (Villani, 2008), where the usual KL- We demonstrate the flexibility of SAE on divergence KL(PX ,PG) is replaced by OT-cost diver- latent spaces with di↵erent geometries and gences Wc(PX ,PG), among which the p-Wasserstein priors and compare with other methods on distances Wp are proper metrics. In the papers benchmark data sets. Tolstikhin et al. (2018); Bousquet et al. (2017) it was shown that the objective Wc(PX ,PG) can be ⇤Equal contributions. •Now at Deeptrace. Now at re-written as the minimization of the reconstruction Google Brain. Now at DeepMind. † error of the input P over all probabilistic encoders ‡ X Q(Z X) constrained to the condition of matching is a necessary condition for learning the true data | the aggregated posterior QZ — the average (approx- distribution PX in rigorous mathematical terms. Any imate) posterior EPX [Q(Z X)] — to the prior PZ deviation will thus be punished with a poorer perfor- in the latent space. In Wasserstein| AutoEncoders mance. Altogether, we have addressed and answered (WAE) (Tolstikhin et al., 2018), it was suggested, the open questions in (Tolstikhin et al., 2018; Bous- following the standard optimization principles, to quet et al., 2017) in detail and highlighted the sweet- softly enforce that constraint via a penalization term spot framework for generative autoencoder models depending on a choice of a divergence D(QZ ,PZ ) based on Optimal Transport (OT) for any metric in latent space. For any such choice of divergence space and any prior distribution PZ , and with special this leads to the minimization of a lower bound of emphasis on Euclidean spaces, Lp-norms and neural the original objective, leaving the question about the networks. status of the original objective open. Nonetheless, The theory supports practical innovations. We are WAE empirically improves upon VAE for the two now in a position to learn deterministic autoencoders, choices made there, namely either a Maximum Mean Q(Z X), G(X Z), by minimizing a reconstruction Discrepancy (MMD) (Gretton et al., 2007; Sripe- error| for P and| the p-Wasserstein distance on the rumbudur et al., 2010, 2011), or an adversarial loss X latent space between samples of the aggregated poste- (GAN), again both in latent space. rior and the prior Wp(QˆZ , PˆZ ). The computation of We contribute to the formal analysis of autoencoders the latter is known to be difficult and costly (cp. Hun- with OT. First, using the Monge-Kantorovich equiva- garian algorithm (Kuhn, 1955)). A fast approximate lence (Villani, 2008), we show that (in non-degenerate solution is provided by the Sinkhorn algorithm (Cu- cases) the objective Wc(PX ,PG) can be reduced to turi, 2013), which uses an entropic relaxation. We fol- the minimization of the reconstruction error of PX low (Frogner et al., 2015) and (Genevay et al., 2018), over any class containing the class of all deterministic by exploiting the di↵erentiability of the Sinkhorn encoders Q(Z X), again constrained to QZ = PZ . iterations, and unroll it for backpropagation. In ad- Second, when| restricted to the p-Wasserstein dis- dition we correct for the entropic bias of the Sinkhorn tance Wp(PX ,PG), and by using a combination of algorithm (Genevay et al., 2018; Feydy et al., 2018). triangle inequality and a form of data processing Altogether, we call our method the Sinkhorn Au- inequality for the generator G, we show that the toEncoder (SAE). soft and unconstrained minimization of the recon- The Sinkhorn AutoEncoder is agnostic to the ana- struction error of P together with the penalization X lytical form of the prior, as it optimizes a sample- term γ W (Q ,P ) is actually an upper bound p Z Z based cost function which is aware of the geometry to the original· objective W (P ,P ), where the p X G of the latent space. Furthermore, as a byproduct regularization/trade-o↵hyperparameter γ needs to of using deterministic networks, it models the ag- match at least the capacity of the generator G,i.e. gregated posterior as an implicit distribution (Mo- its Lipschitz constant. This suggests that using a p- hamed and Lakshminarayanan, 2016) with no need of Wasserstein metric W (Q ,P ) in latent space in the p Z Z the reparametrization trick for learning the encoder WAE setting (Tolstikhin et al., 2018) is a preferable (Kingma and Welling, 2013). Therefore, with essen- choice. tially no change in the algorithm, we can learn models Third, we show that the minimum of that objective with normally distributed priors and aggregated pos- can be approximated from above by any class of teriors, as well as distributions living on manifolds universal approximators for Q(Z X) to arbitrarily such as hyperspheres (Davidson et al., 2018) and | small error. In case we choose the Lp-norms p and probability simplices. corresponding p-Wasserstein distances W kone·k can p In our experiments we explore how well the Sinkhorn use the results of (Hornik, 1991) to show that any AutoEncoder performs on the benchmark datasets class of probabilistic encoders Q(Z X) that contains MNIST and CelebA with di↵erent prior distributions the class of deterministic neural| networks has all P and geometries in latent space, e.g. the Gaussian those desired properties. This justifies the use of such Z in Euclidean space or the uniform distribution on a classes in practice. Note that analogous results for hypersphere. Furthermore, we compare the SAE to the latter for other divergences and function classes the VAE (Kingma and Welling, 2013), to the WAE- are unknown. MMD (Tolstikhin et al., 2018) and other methods of Fourth, as a corollary we get the folklore claim that approximating the p-Wasserstein distance in latent matching the aggregated posterior QZ and prior PZ space like the Hungarian algorithm (Kuhn, 1955) and the Sliced Wasserstein AutoEncoder (Kolouri 2.2 THE WASSERSTEIN et al., 2018). We also explore the idea of matching AUTOENCODER (WAE) the aggregated posterior QZ to a standard Gaussian prior PZ via the fact that the 2-Wasserstein distance Tolstikhin et al. (2018) show that if the decoder has a closed form for Gaussian distributions: we esti- G(X Z)isdeterministic,i.e. PG = G#PZ , or in | mate the mean and covariance of QZ on minibatches other words, if all stochasticity of the generative and use the loss W2(QˆZ ,PZ ) for backpropagation. model is captured by PZ ,then: Finally, we train SAE on MNIST with a probability simplex as a latent space and visualize the matching Wc(PX ,PG)= inf EX PX EZ Q(Z X)[c(X, G(Z))]. Q(Z X): ⇠ ⇠ | | of the aggregate posterior and the prior. QZ =PZ (4) 2PRINCIPLESOF Learning the generative model G with the WAE amounts to the objective: WASSERSTEIN AUTOENCODING min min EX PX EZ Q(Z X)[c(X, G(Z))] G Q(Z X) ⇠ ⇠ | | 2.1 OPTIMAL TRANSPORT +β D(Q ,P ), (5) · Z Z We follow Tolstikhin et al.
Recommended publications
  • Arxiv:1811.04918V6 [Cs.LG] 1 Jun 2020
    Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layers Zeyuan Allen-Zhu Yuanzhi Li Yingyu Liang [email protected] [email protected] [email protected] Microsoft Research AI Stanford University University of Wisconsin-Madison November 12, 2018 (version 6)∗ Abstract The fundamental learning theory behind neural networks remains largely open. What classes of functions can neural networks actually learn? Why doesn't the trained network overfit when it is overparameterized? In this work, we prove that overparameterized neural networks can learn some notable con- cept classes, including two and three-layer networks with fewer parameters and smooth activa- tions. Moreover, the learning can be simply done by SGD (stochastic gradient descent) or its variants in polynomial time using polynomially many samples. The sample complexity can also be almost independent of the number of parameters in the network. On the technique side, our analysis goes beyond the so-called NTK (neural tangent kernel) linearization of neural networks in prior works. We establish a new notion of quadratic ap- proximation of the neural network (that can be viewed as a second-order variant of NTK), and connect it to the SGD theory of escaping saddle points. arXiv:1811.04918v6 [cs.LG] 1 Jun 2020 ∗V1 appears on this date, V2/V3/V4 polish writing and parameters, V5 adds experiments, and V6 reflects our conference camera ready version. Authors sorted in alphabetical order. We would like to thank Greg Yang and Sebastien Bubeck for many enlightening conversations. Y. Liang was supported in part by FA9550-18-1-0166, and would also like to acknowledge that support for this research was provided by the Office of the Vice Chancellor for Research and Graduate Education at the University of Wisconsin-Madison with funding from the Wisconsin Alumni Research Foundation.
    [Show full text]
  • Analysis of Perceptron-Based Active Learning
    JournalofMachineLearningResearch10(2009)281-299 Submitted 12/07; 12/08; Published 2/09 Analysis of Perceptron-Based Active Learning Sanjoy Dasgupta [email protected] Department of Computer Science and Engineering University of California, San Diego La Jolla, CA 92093-0404, USA Adam Tauman Kalai [email protected] Microsoft Research Office 14063 One Memorial Drive Cambridge, MA 02142, USA Claire Monteleoni [email protected] Center for Computational Learning Systems Columbia University Suite 850, 475 Riverside Drive, MC 7717 New York, NY 10115, USA Editor: Manfred Warmuth Abstract Ω 1 We start by showing that in an active learning setting, the Perceptron algorithm needs ( ε2 ) labels to learn linear separators within generalization error ε. We then present a simple active learning algorithm for this problem, which combines a modification of the Perceptron update with an adap- tive filtering rule for deciding which points to query. For data distributed uniformly over the unit 1 sphere, we show that our algorithm reaches generalization error ε after asking for just O˜(d log ε ) labels. This exponential improvement over the usual sample complexity of supervised learning had previously been demonstrated only for the computationally more complex query-by-committee al- gorithm. Keywords: active learning, perceptron, label complexity bounds, online learning 1. Introduction In many machine learning applications, unlabeled data is abundant but labeling is expensive. This distinction is not captured in standard models of supervised learning, and has motivated the field of active learning, in which the labels of data points are initially hidden, and the learner must pay for each label it wishes revealed.
    [Show full text]
  • The Sample Complexity of Agnostic Learning Under Deterministic Labels
    JMLR: Workshop and Conference Proceedings vol 35:1–16, 2014 The sample complexity of agnostic learning under deterministic labels Shai Ben-David [email protected] Cheriton School of Computer Science, University of Waterloo, Waterloo, Ontario N2L 3G1, CANADA Ruth Urner [email protected] School of Computer Science, Georgia Institute of Technology, Atlanta, Georgia 30332, USA Abstract With the emergence of Machine Learning tools that allow handling data with a huge number of features, it becomes reasonable to assume that, over the full set of features, the true labeling is (almost) fully determined. That is, the labeling function is deterministic, but not necessarily a member of some known hypothesis class. However, agnostic learning of deterministic labels has so far received little research attention. We investigate this setting and show that it displays a behavior that is quite different from that of the fundamental results of the common (PAC) learning setups. First, we show that the sample complexity of learning a binary hypothesis class (with respect to deterministic labeling functions) is not fully determined by the VC-dimension of the class. For any d, we present classes of VC-dimension d that are learnable from O~(d/)- many samples and classes that require samples of size Ω(d/2). Furthermore, we show that in this setup, there are classes for which any proper learner has suboptimal sample complexity. While the class can be learned with sample complexity O~(d/), any proper (and therefore, any ERM) algorithm requires Ω(d/2) samples. We provide combinatorial characterizations of both phenomena, and further analyze the utility of unlabeled samples in this setting.
    [Show full text]
  • Data-Dependent Sample Complexity of Deep Neural Networks Via Lipschitz Augmentation
    Data-dependent Sample Complexity of Deep Neural Networks via Lipschitz Augmentation Colin Wei Tengyu Ma Computer Science Department Computer Science Department Stanford University Stanford University [email protected] [email protected] Abstract Existing Rademacher complexity bounds for neural networks rely only on norm control of the weight matrices and depend exponentially on depth via a product of the matrix norms. Lower bounds show that this exponential dependence on depth is unavoidable when no additional properties of the training data are considered. We suspect that this conundrum comes from the fact that these bounds depend on the training data only through the margin. In practice, many data-dependent techniques such as Batchnorm improve the generalization performance. For feedforward neural nets as well as RNNs, we obtain tighter Rademacher complexity bounds by considering additional data-dependent properties of the network: the norms of the hidden layers of the network, and the norms of the Jacobians of each layer with respect to all previous layers. Our bounds scale polynomially in depth when these empirical quantities are small, as is usually the case in practice. To obtain these bounds, we develop general tools for augmenting a sequence of functions to make their composition Lipschitz and then covering the augmented functions. Inspired by our theory, we directly regularize the network’s Jacobians during training and empirically demonstrate that this improves test performance. 1 Introduction Deep networks trained in
    [Show full text]
  • Nearly Tight Sample Complexity Bounds for Learning Mixtures of Gaussians Via Sample Compression Schemes∗
    Nearly tight sample complexity bounds for learning mixtures of Gaussians via sample compression schemes∗ Hassan Ashtiani Shai Ben-David Department of Computing and Software School of Computer Science McMaster University, and University of Waterloo, Vector Institute, ON, Canada Waterloo, ON, Canada [email protected] [email protected] Nicholas J. A. Harvey Christopher Liaw Department of Computer Science Department of Computer Science University of British Columbia University of British Columbia Vancouver, BC, Canada Vancouver, BC, Canada [email protected] [email protected] Abbas Mehrabian Yaniv Plan School of Computer Science Department of Mathematics McGill University University of British Columbia Montréal, QC, Canada Vancouver, BC, Canada [email protected] [email protected] Abstract We prove that Θ(e kd2="2) samples are necessary and sufficient for learning a mixture of k Gaussians in Rd, up to error " in total variation distance. This improves both the known upper bounds and lower bounds for this problem. For mixtures of axis-aligned Gaussians, we show that Oe(kd="2) samples suffice, matching a known lower bound. The upper bound is based on a novel technique for distribution learning based on a notion of sample compression. Any class of distributions that allows such a sample compression scheme can also be learned with few samples. Moreover, if a class of distributions has such a compression scheme, then so do the classes of products and mixtures of those distributions. The core of our main result is showing that the class of Gaussians in Rd has a small-sized sample compression. 1 Introduction Estimating distributions from observed data is a fundamental task in statistics that has been studied for over a century.
    [Show full text]
  • Sample Complexity Results
    10-601 Machine Learning Maria-Florina Balcan Spring 2015 Generalization Abilities: Sample Complexity Results. The ability to generalize beyond what we have seen in the training phase is the essence of machine learning, essentially what makes machine learning, machine learning. In these notes we describe some basic concepts and the classic formalization that allows us to talk about these important concepts in a precise way. Distributional Learning The basic idea of the distributional learning setting is to assume that examples are being provided from a fixed (but perhaps unknown) distribution over the instance space. The assumption of a fixed distribution gives us hope that what we learn based on some training data will carry over to new test data we haven't seen yet. A nice feature of this assumption is that it provides us a well-defined notion of the error of a hypothesis with respect to target concept. Specifically, in the distributional learning setting (captured by the PAC model of Valiant and Sta- tistical Learning Theory framework of Vapnik) we assume that the input to the learning algorithm is a set of labeled examples S :(x1; y1);:::; (xm; ym) where xi are drawn i.i.d. from some fixed but unknown distribution D over the the instance space ∗ ∗ X and that they are labeled by some target concept c . So yi = c (xi). Here the goal is to do optimization over the given sample S in order to find a hypothesis h : X ! f0; 1g, that has small error over whole distribution D. The true error of h with respect to a target concept c∗ and the underlying distribution D is defined as err(h) = Pr (h(x) 6= c∗(x)): x∼D (Prx∼D(A) means the probability of event A given that x is selected according to distribution D.) We denote by m ∗ 1 X ∗ errS(h) = Pr (h(x) 6= c (x)) = I[h(xi) 6= c (xi)] x∼S m i=1 the empirical error of h over the sample S (that is the fraction of examples in S misclassified by h).
    [Show full text]
  • Benchmarking Model-Based Reinforcement Learning
    Benchmarking Model-Based Reinforcement Learning Tingwu Wang1;2, Xuchan Bao1;2, Ignasi Clavera3, Jerrick Hoang1;2, Yeming Wen1;2, Eric Langlois1;2, Shunshi Zhang1;2, Guodong Zhang1;2, Pieter Abbeel3& Jimmy Ba1;2 1University of Toronto 2 Vector Institute 3 UC Berkeley {tingwuwang,jhoang,ywen,edl,gdzhang}@cs.toronto.edu {xuchan.bao,matthew.zhang}@mail.utoronto.ca, [email protected], [email protected], [email protected] Abstract Model-based reinforcement learning (MBRL) is widely seen as having the potential to be significantly more sample efficient than model-free RL. However, research in model-based RL has not been very standardized. It is fairly common for authors to experiment with self-designed environments, and there are several separate lines of research, which are sometimes closed-sourced or not reproducible. Accordingly, it is an open question how these various existing MBRL algorithms perform relative to each other. To facilitate research in MBRL, in this paper we gather a wide collection of MBRL algorithms and propose over 18 benchmarking environments specially designed for MBRL. We benchmark these algorithms with unified problem settings, including noisy environments. Beyond cataloguing performance, we explore and unify the underlying algorithmic differences across MBRL algorithms. We characterize three key research challenges for future MBRL research: the dynamics bottleneck, the planning horizon dilemma, and the early-termination dilemma. Finally, to maximally facilitate future research on MBRL, we open-source our benchmark in http://www.cs.toronto.edu/~tingwuwang/mbrl.html. 1 Introduction Reinforcement learning (RL) algorithms are most commonly classified in two categories: model-free RL (MFRL), which directly learns a value function or a policy by interacting with the environment, and model-based RL (MBRL), which uses interactions with the environment to learn a model of it.
    [Show full text]
  • Theory of Deep Learning
    CONTRIBUTORS:RAMANARORA,SANJEEVARORA,JOANBRUNA,NADAVCOHEN,SIMONDU, RONGGE,SURIYAGUNASEKAR,CHIJIN,JASONLEE,TENGYUMA,BEHNAMNEYSHABUR, ZHAOSONG THEORYOFDEEP LEARNING Contents 1 Basic Setup and some math notions 13 1.1 List of useful math facts 14 1.1.1 Probability tools 14 1.1.2 Singular Value Decomposition 15 2 Basics of Optimization 17 2.1 Gradient descent 17 2.1.1 Formalizing the Taylor Expansion 18 2.1.2 Descent lemma for gradient descent 18 2.2 Stochastic gradient descent 19 2.3 Accelerated Gradient Descent 19 2.4 Local Runtime Analysis of GD 20 2.4.1 Pre-conditioners 21 3 Backpropagation and its Variants 23 3.1 Problem Setup 23 3.1.1 Multivariate Chain Rule 25 3.1.2 Naive feedforward algorithm (not efficient!) 26 3.2 Backpropagation (Linear Time) 26 3.3 Auto-differentiation 27 3.4 Notable Extensions 28 3.4.1 Hessian-vector product in linear time: Pearlmutter’s trick 29 4 4 Basics of generalization theory 31 4.0.1 Occam’s razor formalized for ML 31 4.0.2 Motivation for generalization theory 32 4.1 Some simple bounds on generalization error 32 4.2 Data dependent complexity measures 34 4.2.1 Rademacher Complexity 34 4.2.2 Alternative Interpretation: Ability to correlate with random labels 35 4.3 PAC-Bayes bounds 35 5 Advanced Optimization notions 39 6 Algorithmic Regularization 41 6.1 Linear models in regression: squared loss 42 6.1.1 Geometry induced by updates of local search algorithms 43 6.1.2 Geometry induced by parameterization of model class 46 6.2 Matrix factorization 47 6.3 Linear Models in Classification 47 6.3.1 Gradient Descent
    [Show full text]
  • A Sample Complexity Separation Between Non-Convex and Convex Meta-Learning
    A Sample Complexity Separation between Non-Convex and Convex Meta-Learning Nikunj Saunshi 1 Yi Zhang 1 Mikhail Khodak 2 Sanjeev Arora 13 Abstract complexity of an unseen but related test task. Although there is a long history of successful methods in meta-learning One popular trend in meta-learning is to learn and the related areas of multi-task and lifelong learning from many training tasks a common initialization (Evgeniou & Pontil, 2004; Ruvolo & Eaton, 2013), recent that a gradient-based method can use to solve a approaches have been developed with the diversity and scale new task with few samples. The theory of meta- of modern applications in mind. This has given rise to learning is still in its early stages, with several re- simple, model-agnostic methods that focus on learning a cent learning-theoretic analyses of methods such good initialization for some gradient-based method such as as Reptile (Nichol et al., 2018) being for convex stochastic gradient descent (SGD), to be run on samples models. This work shows that convex-case analy- from a new task (Finn et al., 2017; Nichol et al., 2018). sis might be insufficient to understand the success These methods have found widespread applications in a of meta-learning, and that even for non-convex variety of areas such as computer vision (Nichol et al., 2018), models it is important to look inside the optimiza- reinforcement learning (Finn et al., 2017), and federated tion black-box, specifically at properties of the learning (McMahan et al., 2017). optimization trajectory. We construct a simple meta-learning instance that captures the problem Inspired by their popularity, several recent learning-theoretic of one-dimensional subspace learning.
    [Show full text]
  • B.Sc Computer Science with Specialization in Artificial Intelligence & Machine Learning
    B.Sc Computer Science with Specialization in Artificial Intelligence & Machine Learning Curriculum & Syllabus (Based on Choice Based Credit System) Effective from the Academic year 2020-2021 PROGRAMME EDUCATIONAL OBJECTIVES (PEO) PEO 1 : Graduates will have solid basics in Mathematics, Programming, Machine Learning, Artificial Intelligence fundamentals and advancements to solve technical problems. PEO 2 : Graduates will have the capability to apply their knowledge and skills acquired to solve the issues in real world Artificial Intelligence and Machine learning areas and to develop feasible and reliable systems. PEO 3 : Graduates will have the potential to participate in life-long learning through the successful completion of advanced degrees, continuing education, certifications and/or other professional developments. PEO 4 : Graduates will have the ability to apply the gained knowledge to improve the society ensuring ethical and moral values. PEO 5 : Graduates will have exposure to emerging cutting edge technologies and excellent training in the field of Artificial Intelligence & Machine learning PROGRAMME OUTCOMES (PO) PO 1 : Develop knowledge in the field of AI & ML courses necessary to qualify for the degree. PO 2 : Acquire a rich basket of value added courses and soft skill courses instilling self-confidence and moral values. PO 3 : Develop problem solving, decision making and communication skills. PO 4 : Demonstrate social responsibility through Ethics and values and Environmental Studies related activities in the campus and in the society. PO 5 : Strengthen the critical thinking skills and develop professionalism with the state of art ICT facilities. PO 6 : Quality for higher education, government services, industry needs and start up units through continuous practice of preparatory examinations.
    [Show full text]
  • Computational Learning Theory – Part 2
    Computational Learning Theory – Part 2 Reading: • Mitchell chapter 7 Suggested exercises: • 7.1, 7.2, 7.5, 7.7 Machine Learning 10-701 Tom M. Mitchell Machine Learning Department Carnegie Mellon University March 22, 2010 1 What it means [Haussler, 1988]: probability that the version space is not ε-exhausted after m training examples is at most Suppose we want this probability to be at most δ 1. How many training examples suffice? 2. If then with probability at least (1-δ): Agnostic Learning Result we proved: probability, after m training examples, that H contains a hypothesis h with zero training error, but true error greater than ε is bounded Agnostic case: don’t know whether H contains a perfect hypothesis overfitting 2 General Hoeffding Bounds • When estimating the mean θ inside [a,b] from m examples • When estimating a probability θ is inside [0,1], so • And if we’re interested in only one-sided error, then 3 Sufficient condition: Holds if L requires only a polynomial number of training examples, and processing per example is polynomial Sample Complexity based on VC dimension How many randomly drawn examples suffice to ε-exhaust VSH,D with probability at least (1-δ)? ie., to guarantee that any hypothesis that perfectly fits the training data is probably (1-δ) approximately (ε) correct Compare to our earlier results based on |H|: 4 VC(H)=3 VC dimension: examples What is VC dimension of lines in a plane? • H2 = { ((w0 + w1x1 + w2x2)>0 y=1) } 5 VC dimension: examples What is VC dimension of • H2 = { ((w0 + w1x1 + w2x2)>0 y=1) } – VC(H2)=3 • For Hn = linear separating hyperplanes in n dimensions, VC(Hn)=n+1 Can you give an upper bound on VC(H) in terms of |H|, for any hypothesis space H? (hint: yes) 6 More VC Dimension Examples to Think About • Logistic regression over n continuous features – Over n boolean features? • Linear SVM over n continuous features • Decision trees defined over n boolean features F: <X1, ..
    [Show full text]
  • The Sample Complexity of Pattern Classification with Neural Networks
    IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 44, NO. 2, MARCH 1998 525 The Sample Complexity of Pattern Classification with Neural Networks: The Size of the Weights is More Important than the Size of the Network Peter L. Bartlett, Member, IEEE Abstract—Sample complexity results from computational learn- VC dimension is a combinatorial complexity measure that is ing theory, when applied to neural network learning for pat- typically at least as large as the number of adjustable network tern classification problems, suggest that for good generalization parameters.) These results do not provide a satisfactory expla- performance the number of training examples should grow at least linearly with the number of adjustable parameters in the nation of the sample size requirements of neural networks for network. Results in this paper show that if a large neural pattern classification applications, for several reasons. First, network is used for a pattern classification problem and the neural networks often perform successfully with training sets learning algorithm finds a network with small weights that has that are considerably smaller than the number of network small squared error on the training patterns, then the general- parameters (see, for example, [29]). Second, the VC dimension ization performance depends on the size of the weights rather than the number of weights. For example, consider a two- of the class of functions computed by a network is sensitive to layer feedforward network of sigmoid units, in which the sum small perturbations of the computation unit transfer functions of the magnitudes of the weights associated with each unit is (to the extent that an arbitrarily small change can make the bounded by e and the input dimension is n.
    [Show full text]