Deep Learning
r/MachineLearning - [N] Stable-Baselines v2.0.0 Released
Has anyone tried to use Stable-Baselines? How does it compare to the official Baselines from OpenAI in your experience? Stable Baselines is a set of improved implementations of reinforcement learning algorithms based on OpenAI Baselines. You can read a detailed presentation of Stable Baselines in the Medium article. These algorithms will make it easier for the research community and industry to replicate, refine, and identify new ideas, and will create good baselines to build projects on top of.
Artificial Intelligence Edge Device Shipments to Reach 2.6 Billion Units Annually by 2025
Artificial intelligence (AI) processing today is mostly done in a cloud-based data center. The majority of AI processing is dominated by training of deep learning models, which requires heavy compute capacity. In the last 6 years, the industry has experienced a 300,000X growth in compute requirements, with graphics processing units (GPUs) providing most of that horsepower. According to a new report from Tractica, however, as the diversity of AI applications grows, an increasing amount of AI processing will be handled within edge devices rather than in a centralized, cloud-based environment. Tractica forecasts that AI edge device shipments will increase from 161.4 million units in 2018 to 2.6 billion units worldwide annually by 2025.
Approach Intelligently - How to Make Using AI a Success
"TensorFlow is by far the most popular tool among our respondents, with Keras in second place, and PyTorch in third. Other frameworks like MXNet, CNTK, and BigDL have growing audiences as well" As if businesses today didn't already have enough to worry about, then along comes a new wave of game-changing technologies that they must master quickly if they are not to fall behind their competitors, with pressure mounting to start using AI. . Artificial Intelligence is the most visible of these technologies โ and arguably the most important. Open a newspaper, and it might seem as if every business is making great strides towards developing and using AI applications that will transform their operations and enable them to deliver new products and services to their customers. It's easy for businesses yet to achieve success by using AI โ or even to get started on their journey โ to get despondent about the lead they perceive their competitors to have.
Analysis of Irregular Spatial Data with Machine Learning: Classification of Building Patterns with a Graph Convolutional Neural Network
Machine learning methods such as convolutional neural networks (CNNs) are becoming an integral part of scientific research in many disciplines, spatial vector data often fail to be analyzed using these powerful learning methods because of its irregularities. With the aid of graph Fourier transform and convolution theorem, it is possible to convert the convolution as a point-wise product in Fourier domain and construct a learning architecture of CNN on graph for the analysis task of irregular spatial data. In this study, we used the classification task of building patterns as a case study to test this method, and experiments showed that this method has achieved outstanding results in identifying regular and irregular patterns, and has significantly improved in comparing with other methods.
Classifying Mammographic Breast Density by Residual Learning
Xu, Jingxu, Li, Cheng, Zhou, Yongjin, Mou, Lisha, Zheng, Hairong, Wang, Shanshan
Mammographic breast density, a parameter used to describe the proportion of breast tissue fibrosis, is widely adopted as an evaluation characteristic of the likelihood of breast cancer incidence. Existing methods of breast density classification either requires steps of manual operations or achieves only moderate classification accuracies due to the limited model capacity. In this study, we present a radiomics approach based on residual learning for the classification of mammographic breast densities. Different from those established approaches, our method possesses several encouraging properties including being almost fully automatic, possessing big model capacity, and having high flexibility. As a result, it can obtain outstanding classification results without the necessity of result compensation using mammographs taken from different views. The proposed method was instantiated with the INbreast dataset and classification accuracies of 92.6% and 96.8% were obtained for the four BI-RADS (Breast Imaging and Reporting Data System) category task and the two BI-RADS category task, respectively. Both values are significantly higher than the classification results of the current state-of-the-art methods, including the eight-layer convolutional neural network and the high throughput-derived multilayer visual representations. The superior performances achieved with its encouraging properties indicate that our method has a great potential to be applied as a computer-aided diagnosis tool.
Comment on All-optical machine learning using diffractive deep neural networks
Wei, Haiqing, Huang, Gang, Wei, Xiuqing, Sun, Yanlong, Wang, Hongbin
ARTICLE HISTORY Compiled September 25, 2018 ABSTRACT Lin et al. (Reports, 7 September 2018, p. 1004) reported a remarkable proposal that employs a passive, strictly linear optical setup to perform pattern classifications. But interpreting the multilayer diffractive setup as a deep neural network and advocating it as an all-optical deep learning framework are not well justified and represent a mischaracterization of the system by overlooking its defining characteristics of perfect linearity and strict passivity. Lin et al. [1] proposed a combination of methods for creating a computer-generated volumetric hologram (CGVH) made of multiple planar diffractive elements, and using such hologram to scatter and directionally focus each of a multitude of patternimprinted coherent light fields into a designated spatial region on an image sensor, effectively realizing a functionality of pattern recognition and classification. Their alloptical multi-planed setup bears a certain resemblance to the multi-layered structure of a deep neural network (DNN) [2], but that is about as far as the similarity goes. It is a mischaracterization to interpret the CGVH construct as a DNN, when its functionality is strictly limited to linear transformations of the input light field, thus unable to perform any task of statistical inference/prediction beyond the capacity of a single layer perceptron [2,3].
Unrestricted Adversarial Examples
Brown, Tom B., Carlini, Nicholas, Zhang, Chiyuan, Olsson, Catherine, Christiano, Paul, Goodfellow, Ian
We introduce a two-player contest for evaluating the safety and robustness of machine learning systems, with a large prize pool. Unlike most prior work in ML robustness, which studies norm-constrained adversaries, we shift our focus to unconstrained adversaries. Defenders submit machine learning models, and try to achieve high accuracy and coverage on non-adversarial data while making no confident mistakes on adversarial inputs. Attackers try to subvert defenses by finding arbitrary unambiguous inputs where the model assigns an incorrect label with high confidence. We propose a simple unambiguous dataset ("bird-or- bicycle") to use as part of this contest. We hope this contest will help to more comprehensively evaluate the worst-case adversarial risk of machine learning models.
Quantifying total uncertainty in physics-informed neural networks for solving forward and inverse stochastic problems
Zhang, Dongkun, Lu, Lu, Guo, Ling, Karniadakis, George Em
Physics-informed neural networks (PINNs) have recently emerged as an alternative way of solving partial differential equations (PDEs) without the need of building elaborate grids, instead, using a straightforward implementation. In particular, in addition to the deep neural network (DNN) for the solution, a second DNN is considered that represents the residual of the PDE. The residual is then combined with the mismatch in the given data of the solution in order to formulate the loss function. This framework is effective but is lacking uncertainty quantification of the solution due to the inherent randomness in the data or due to the approximation limitations of the DNN architecture. Here, we propose a new method with the objective of endowing the DNN with uncertainty quantification for both sources of uncertainty, i.e., the parametric uncertainty and the approximation uncertainty. We first account for the parametric uncertainty when the parameter in the differential equation is represented as a stochastic process. Multiple DNNs are designed to learn the modal functions of the arbitrary polynomial chaos (aPC) expansion of its solution by using stochastic data from sparse sensors. We can then make predictions from new sensor measurements very efficiently with the trained DNNs. Moreover, we employ dropout to correct the over-fitting and also to quantify the uncertainty of DNNs in approximating the modal functions. We then design an active learning strategy based on the dropout uncertainty to place new sensors in the domain to improve the predictions of DNNs. Several numerical tests are conducted for both the forward and the inverse problems to quantify the effectiveness of PINNs combined with uncertainty quantification. This NN-aPC new paradigm of physics-informed deep learning with uncertainty quantification can be readily applied to other types of stochastic PDEs in multi-dimensions.
Predicting the Programming Language of Questions and Snippets of StackOverflow Using Natural Language Processing
Alreshedy, Kamel, Dharmaretnam, Dhanush, German, Daniel M., Srinivasan, Venkatesh, Gulliver, T. Aaron
Stack Overflow is the most popular Q&A website among software developers. As a platform for knowledge sharing and acquisition, the questions posted in Stack Overflow usually contain a code snippet. Stack Overflow relies on users to properly tag the programming language of a question and it simply assumes that the programming language of the snippets inside a question is the same as the tag of the question itself. In this paper, we propose a classifier to predict the programming language of questions posted in Stack Overflow using Natural Language Processing (NLP) and Machine Learning (ML). The classifier achieves an accuracy of 91.1% in predicting the 24 most popular programming languages by combining features from the title, body and the code snippets of the question. We also propose a classifier that only uses the title and body of the question and has an accuracy of 81.1%. Finally, we propose a classifier of code snippets only that achieves an accuracy of 77.7%. These results show that deploying Machine Learning techniques on the combination of text and the code snippets of a question provides the best performance. These results demonstrate also that it is possible to identify the programming language of a snippet of few lines of source code. We visualize the feature space of two programming languages Java and SQL in order to identify some special properties of information inside the questions in Stack Overflow corresponding to these languages.
Attention-based Encoder-Decoder Networks for Spelling and Grammatical Error Correction
Automatic spelling and grammatical correction systems are one of the most widely used tools within natural language applications. In this thesis, we assume the task of error correction as a type of monolingual machine translation where the source sentence is potentially erroneous and the target sentence should be the corrected form of the input. Our main focus in this project is building neural network models for the task of error correction. In particular, we investigate sequence-to-sequence and attention-based models which have recently shown a higher performance than the state-of-the-art of many language processing problems. We demonstrate that neural machine translation models can be successfully applied to the task of error correction. While the experiments of this research are performed on an Arabic corpus, our methods in this thesis can be easily applied to any language.