Deep Learning
How to use AI Machine Learning in B2B Marketplace – Becoming Human
Machine Learning has certainly come a long way. The confluence of factors such as the evolution of data growth, advancements in computational algorithm and faster machine processing helped create an ideal environment for Deep Neural network and AI to finally gain adoption in the main stream. Now we have a mother load of data thanks to increasing amount of social sharing and rise of digital devices, Internet of Things (IOT) etc etc. Just look at the data we have accumulated over the last decade since the creation of Online streaming, Social Media, Mobile and Internet of Things (IOTs). We are creating about 1.7MB of new information per human being on the planet. Every minutes about 300MB of video is uploaded to Youtube.
How to install mxnet for deep learning - PyImageSearch
What I like about mxnet is that it combines the best of both worlds in terms of performance and ease of use. Whenever I'm implementing a Convolutional Neural Network I tend to use Keras first. Keras is less verbose than mxnet and is often easier to implement a given neural network architecture training procedure. But when it's time for me to scale up from my initial experiments to ImageNet-size datasets (or larger) I often use mxnet to (1) build an efficiently packed dataset and then (2) train my network on multiple GPUs and/or multiple machines. Since the Python bindings to mxnet are compiled C/C binaries I'm able to milk every last bit of performance out of my machine(s).
BPGrad: Towards Global Optimality in Deep Learning via Branch and Pruning
Zhang, Ziming, Wu, Yuanwei, Wang, Guanghui
Understanding the global optimality in deep learning (DL) has been attracting more and more attention recently. Conventional DL solvers, however, have not been developed intentionally to seek for such global optimality. In this paper we propose a novel approximation algorithm, BPGrad, towards optimizing deep models globally via branch and pruning. Our BPGrad algorithm is based on the assumption of Lipschitz continuity in DL, and as a result it can adaptively determine the step size for current gradient given the history of previous updates, wherein theoretically no smaller steps can achieve the global optimality. We prove that, by repeating such branch-and-pruning procedure, we can locate the global optimality within finite iterations. Empirically an efficient solver based on BPGrad for DL is proposed as well, and it outperforms conventional DL solvers such as Adagrad, Adadelta, RMSProp, and Adam in the tasks of object recognition, detection, and segmentation.
Deep Gaussian Mixture Models
Viroli, Cinzia, McLachlan, Geoffrey J.
Deep learning is a hierarchical inference method formed by subsequent multiple layers of learning able to more efficiently describe complex relationships. In this work, Deep Gaussian Mixture Models are introduced and discussed. A Deep Gaussian Mixture model (DGMM) is a network of multiple layers of latent variables, where, at each layer, the variables follow a mixture of Gaussian distributions. Thus, the deep mixture model consists of a set of nested mixtures of linear models, which globally provide a nonlinear model able to describe the data in a very flexible way. In order to avoid overparameterized solutions, dimension reduction by factor models can be applied at each layer of the architecture thus resulting in deep mixtures of factor analysers.
Reversible Architectures for Arbitrarily Deep Residual Neural Networks
Chang, Bo, Meng, Lili, Haber, Eldad, Ruthotto, Lars, Begert, David, Holtham, Elliot
Recently, deep residual networks have been successfully applied in many computer vision and natural language processing tasks, pushing the state-of-the-art performance with deeper and wider architectures. In this work, we interpret deep residual networks as ordinary differential equations (ODEs), which have long been studied in mathematics and physics with rich theoretical and empirical success. From this interpretation, we develop a theoretical framework on stability and reversibility of deep neural networks, and derive three reversible neural network architectures that can go arbitrarily deep in theory. The reversibility property allows a memory-efficient implementation, which does not need to store the activations for most hidden layers. Together with the stability of our architectures, this enables training deeper networks using only modest computational resources. We provide both theoretical analyses and empirical results. Experimental results demonstrate the efficacy of our architectures against several strong baselines on CIFAR-10, CIFAR-100 and STL-10 with superior or on-par state-of-the-art performance. Furthermore, we show our architectures yield superior results when trained using fewer training data.
Adversarial Feature Matching for Text Generation
Zhang, Yizhe, Gan, Zhe, Fan, Kai, Chen, Zhi, Henao, Ricardo, Shen, Dinghan, Carin, Lawrence
The Generative Adversarial Network (GAN) has achieved great success in generating realistic (real-valued) synthetic data. However, convergence issues and difficulties dealing with discrete data hinder the applicability of GAN to text. We propose a framework for generating realistic text via adversarial training. We employ a long short-term memory network as generator, and a convolutional network as discriminator. Instead of using the standard objective of GAN, we propose matching the high-dimensional latent feature distributions of real and synthetic sentences, via a kernelized discrepancy metric. This eases adversarial training by alleviating the mode-collapsing problem. Our experiments show superior performance in quantitative evaluation, and demonstrate that our model can generate realistic-looking sentences.
Deep learning for activity recognition
Human activity recognition (HAR) plays an important role in people's daily life by learning and identifying high-level knowledge about human activity from raw sensor inputs. Conventional pattern recognition approaches have made tremendous progress on HAR tasks by adopting machine learning algorithms such as decision tree, random forest or support vector machine, but the fast development and advancement of deep learning have overpass the accuracy of traditional machine learning results. This seminar is focused on Deep learning applied to HAR using wearable sensors. Current architectures used and how to implement them for achieving good results will be explained. Limitations and new challenges will be also discussed.
Neural networks for beginners: popular types and applications
Recently there has been a great buzz around the words "neural network" in the field of computer science and it has attracted a great deal of attention from many people. But what is this all about, how do they work, and are these things really beneficial? Essentially, neural networks are composed of layers of computational units called neurons, with connections in different layers. These networks transform data until they can classify it as an output. Each neuron multiplies an initial value by some weight, sums results with other values coming into the same neuron, adjusts the resulting number by the neuron's bias, and then normalizes the output with an activation function.
How to Prepare a Photo Caption Dataset for Training a Deep Learning Model - Machine Learning Mastery
Automatic photo captioning is a problem where a model must generate a human-readable textual description given a photograph. It is a challenging problem in artificial intelligence that requires both image understanding from the field of computer vision as well as language generation from the field of natural language processing. It is now possible to develop your own image caption models using deep learning and freely available datasets of photos and their descriptions. In this tutorial, you will discover how to prepare photos and textual descriptions ready for developing a deep learning automatic photo caption generation model. How to Prepare a Photo Caption Dataset for Training a Deep Learning Model Photo by beverlyislike, some rights reserved. This tutorial assumes you have a Python 3 SciPy environment installed. You can use Python 2, but you may need to change some of the examples. You must have Keras (2.0 or higher) installed with either the TensorFlow or Theano backend.