Introduction to Deep Learning in Signal Processing & Communications with MATLAB

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Deep Learning in Signal Processing & Communications with MATLAB Introduction to Deep Learning in Signal Processing & Communications with MATLAB Dr. Amod Anandkumar Pallavi Kar Application Engineering Group, Mathworks India © 2019 The MathWorks, Inc.1 Different Types of Machine Learning Type of Machine Learning Categories of Algorithms • Output is a choice between classes Classification (True, False) (Red, Blue, Green) Supervised Learning • Output is a real number Regression Develop predictive (temperature, stock prices) model based on both Machine input and output data Learning Unsupervised • No output - find natural groups and Clustering Learning patterns from input data only Discover an internal representation from input data only 2 What is Deep Learning? 3 Deep learning is a type of supervised machine learning in which a model learns to perform classification tasks directly from images, text, or sound. Deep learning is usually implemented using a neural network. The term “deep” refers to the number of layers in the network—the more layers, the deeper the network. 4 Why is Deep Learning So Popular Now? Human Accuracy Source: ILSVRC Top-5 Error on ImageNet 5 Vision applications have been driving the progress in deep learning producing surprisingly accurate systems 6 Deep Learning success enabled by: • Labeled public datasets • Progress in GPU for acceleration AlexNet VGG-16 ResNet-50 ONNX Converter • World-class models and PRETRAINED PRETRAINED PRETRAINED MODEL MODEL CONVERTER MODEL MODEL TensorFlow- connected community Caffe GoogLeNet IMPORTER PRETRAINED Keras Inception-v3 MODEL IMPORTER MODELS 7 Deep Learning is Versatile MATLAB Examples Available Here 8 Many Network Architectures for Deep Learning Directed Acyclic Series Network Recurrent Network Graph Network and more (GAN, DQN,…) AlexNet ResNet LSTM YOLO R-CNN 9 Convolutional Neural Networks Edges Shapes Objects A lot of data is required Convolution layers Fully-connected layers 10 Deep Learning Inference in 4 Lines of Code • >> net = alexnet; • >> I = imread('peacock.jpg') • >> I1 = imresize(I,[227 227]); • >> classify(net,I1) • ans = • categorical • peacock 11 Understanding network behavior using visualizations Filters … Deep Dream Activations ▪ Custom visualizations – Example: Class Activation Maps (See blog post) 12 Visualization Technique – Deep Dream deepDreamImage(... net, ‘fc8', channel, 'NumIterations', 50, ... 'PyramidLevels', 4,... 'PyramidScale', 1.25); Synthesizes images that strongly activate a channel in a particular layer Example Available Here 13 What is Training? Images Network Training Labels Trained Deep Neural Network Large Data Set During training, neural network architectures learn features directly from the data without the need for manual feature extraction 14 What Happens During Training? AlexNet Example Training Data Labels Layer weights are learned during training 15 Visualize Network Weights During Training AlexNet Example Training Data Labels First Convolution Layer 16 Visualize Features Learned During Training AlexNet Example Sample Training Data Features Learned by Network 17 Visualize Features Learned During Training AlexNet Example Sample Training Data Features Learned by Network 18 Deep Learning Workflow ACCESS AND EXPLORE LABEL AND PREPROCESS DEVELOP PREDICTIVE INTEGRATE MODELS WITH DATA DATA MODELS SYSTEMS Files Data Augmentation/ Hardware-Accelerated Desktop Apps Transformation Training Databases Labeling Automation Hyperparameter Tuning Enterprise Scale Systems Sensors Import Reference Network Visualization Embedded Devices and Models Hardware 19 Deep Learning Challenges Data ▪ Handling large amounts of data ▪ Labeling thousands of signals, images & videos ▪ Transforming, generating, and augmenting data (for different domains) Training and Testing Deep Neural Networks ▪ Accessing reference models from research ▪ Understanding network behaviour ▪ Optimizing hyperparameters ▪ Training takes hours-days Rapid and Optimized Deployment ▪ Desktop, web, cloud, and embedded hardware 20 Working with Signal Data Signals Sequence Fully Connected Labels Layers Layers Trained Model Signals Transform Train Convolutional Trained Model Labels Network (CNN) 21 Long Short Term Memory Networks from RNNs ▪ Recurrent Neural Network that carries a memory cell throughout the process ▪ Sequence Problems – Long term dependency does not work well with RNNs c0 C1 Ct 22 RNN to LSTM Cell state Input gate Forget gate Update Output gate 23 Example: Speaker Gender Recognition Using Deep Learning LSTM Network for Audio based Speaker Classification audioDatastore 1. Train − Male − Female Training Data Training Time-varying Mozilla Common features: - MFCC Voice Dataset - Pitch - ... 2. Predict − Male − Female Test Data Test 24 Some audio and speech applications following CNN workflows 27 https://www.isca-speech.org/archive/interspeech_2015/papers/i15_1478.pdf 28 Solution2: Speech Command Recognition with Deep Learning(MATLAB) Integrated Analytic Preprocessed Models and Algorithms Systems Raw Data Data . 29 43 44 45 46 Data augmentation allows training more advanced networks and generating more robust models Original Simulate: Dataset - lower voice - varying level of environmental interference - recording hardware effects - distortions due to use of different microphones - different speaker vs microphone positions or room sizes in enclosed environments - ... 50 % Cycle continuously and automatically through files in datastore mfccFile = zeros(numel(ads.Files),numMfcc) while hasdata(ads) [data,info] = read(ads); Serial % do something with data end % Partition and explicit parfor parallel processing pattern N = numpartitions(ads); parfor index=1:N subads = partition(ads,N,index); while hasdata(subads) data = read(subads); % do something with data end end Parallel % Tall array and "implicit" parallel processing pattern T = tall(ads); dcOffsets = cellfun(@(x) mean(x), T,'UniformOutput',false); gather(dcOffsets); 51 Package Speech Recognition App 52 53 BREAK 54 Deep Learning Challenges Data Not a deep learning expert ✓ Handling large amounts of data ▪ Labeling thousands of signals, images & videos ▪ Transforming, generating, and augmenting data (for different domains) Training and Testing Deep Neural Networks ✓ Understanding network behavior ▪ Accessing reference models from research ▪ Optimizing hyperparameters ▪ Training takes hours-days Rapid and Optimized Deployment ▪ Desktop, web, cloud, and embedded hardware 55 BREAK 56 57 Speech 2 text intro 58 59 60 61 62 Audio Labeler ▪ Work on collections of recordings or record new audio directly within the app ▪ Navigate dataset and playback interactively ▪ Define and apply labels to – Entire files – Regions within files ▪ Import and export audio folders, label definitions and datastores 63 Apps for Data Labeling 64 Label Images Using Image Labeler App 65 Accelerate Labeling With Automation Algorithms Learn More 66 Perform Bootstrapping to Label Large Datasets Images Videos Train Network Labeling Apps Ground Truth Improve More Network Ground Truth Propose Labels Automation Algorithm 67 Example – Semantic Segmentation Available Here ▪ Classify pixels into 11 classes – Sky, Building, Pole, Road, Pavement, Tree, SignSymbol, Fence, Car, Pedestrian, Bicyclist ▪ CamVid dataset Brostow, Gabriel J., Julien Fauqueur, and Roberto Cipolla. "Semantic object classes in video: A high-definition ground truth database." Pattern Recognition Letters Vol 30, Issue 2, 2009, pp 88-97. 68 Example: Singing Voice Separation ▪ Source separation ▪ Based on U-Net architecture 69 Synthetically generating labeled data 70 Modulation Classification with Deep Learning ▪ Generate synthetic modulated signals ▪ Apply channel impairments ▪ Train a CNN to classify modulation types 71 Deep Learning Challenges Data ✓ Handling large amounts of data ✓ Labeling thousands of signals, images & videos ✓ Transforming, generating, and augmenting data (for different domains) Training and Testing Deep Neural Networks ✓ Understanding network behavior ▪ Accessing reference models from research ▪ Optimizing hyperparameters ▪ Training takes hours-days Rapid and Optimized Deployment ▪ Desktop, web, cloud, and embedded hardware 72 Transfer Learning 8 lines of MATLAB Code %% Create a datastore Load Training Data 1 imds = imageDatastore(‘Data’,... 'IncludeSubfolders',true,'LabelSource','foldernames'); 2 num_classes = numel(unique(imds.Labels)); %% Load Referece Network Load Pre-Trained Network 3 net = alexnet; 4 layers = net.Layers %% Replace Final Layers 5 layers(end-2) = Replace Final Layers fullyConnectedLayer(num_classes,'Name',[‘fc5']); 6 layers(end) = classificationLayer('Name','classOut'); %% Set Training Options & Train Network 7 trainOpts = trainingOptions('sgdm’,... Train Network on 'MiniBatchSize', 64); New Data 8 net = trainNetwork(imds, layers, trainOpts); 73 Tune Hyperparameters to Improve Training Many hyperparameters ▪ depth, layers, solver options, learning rates, regularization, … Techniques ▪ Parameter sweep ▪ Bayesian optimization 74 Keras-Tensorflow Importer 75 Model Exchange and Co-execution MATLAB Python Model Exchange Co-execution 76 Model Exchange With Deep Learning Frameworks TensorFlow- PyTorch Caffe2 TensorFlow Keras MXNet ONNX MATLAB Cognitive Core ML Caffe Chainer Toolkit ONNX = Open Neural Network Exchange Format 77 Interoperate With Deep Learning Frameworks – Use Cases Deployment PyTorch Caffe2 TensorFlow Export Augmentation MXNet ONNX MATLAB and Optimization Import Visualization Core ML Cognitive Chainer Toolkit and Debugging ONNX = Open Neural Network Exchange Format 78 Model Exchange With Deep Learning Frameworks
Recommended publications
  • A Survey on Data Collection for Machine Learning a Big Data - AI Integration Perspective
    1 A Survey on Data Collection for Machine Learning A Big Data - AI Integration Perspective Yuji Roh, Geon Heo, Steven Euijong Whang, Senior Member, IEEE Abstract—Data collection is a major bottleneck in machine learning and an active research topic in multiple communities. There are largely two reasons data collection has recently become a critical issue. First, as machine learning is becoming more widely-used, we are seeing new applications that do not necessarily have enough labeled data. Second, unlike traditional machine learning, deep learning techniques automatically generate features, which saves feature engineering costs, but in return may require larger amounts of labeled data. Interestingly, recent research in data collection comes not only from the machine learning, natural language, and computer vision communities, but also from the data management community due to the importance of handling large amounts of data. In this survey, we perform a comprehensive study of data collection from a data management point of view. Data collection largely consists of data acquisition, data labeling, and improvement of existing data or models. We provide a research landscape of these operations, provide guidelines on which technique to use when, and identify interesting research challenges. The integration of machine learning and data management for data collection is part of a larger trend of Big data and Artificial Intelligence (AI) integration and opens many opportunities for new research. Index Terms—data collection, data acquisition, data labeling, machine learning F 1 INTRODUCTION E are living in exciting times where machine learning expertise. This problem applies to any novel application that W is having a profound influence on a wide range of benefits from machine learning.
    [Show full text]
  • Learning from Noisy Labels with Deep Neural Networks: a Survey Hwanjun Song, Minseok Kim, Dongmin Park, Yooju Shin, Jae-Gil Lee
    UNDER REVIEW 1 Learning from Noisy Labels with Deep Neural Networks: A Survey Hwanjun Song, Minseok Kim, Dongmin Park, Yooju Shin, Jae-Gil Lee Abstract—Deep learning has achieved remarkable success in 100% 100% numerous domains with help from large amounts of big data. Noisy w/o. Reg. Noisy w. Reg. 75% However, the quality of data labels is a concern because of the 75% Clean w. Reg Gap lack of high-quality labels in many real-world scenarios. As noisy 50% 50% labels severely degrade the generalization performance of deep Noisy w/o. Reg. neural networks, learning from noisy labels (robust training) is 25% Accuracy Test 25% Training Accuracy Training Noisy w. Reg. becoming an important task in modern deep learning applica- Clean w. Reg tions. In this survey, we first describe the problem of learning with 0% 0% 1 30 60 90 120 1 30 60 90 120 label noise from a supervised learning perspective. Next, we pro- Epochs Epochs vide a comprehensive review of 57 state-of-the-art robust training Fig. 1. Convergence curves of training and test accuracy when training methods, all of which are categorized into five groups according WideResNet-16-8 using a standard training method on the CIFAR-100 dataset to their methodological difference, followed by a systematic com- with the symmetric noise of 40%: “Noisy w/o. Reg.” and “Noisy w. Reg.” are parison of six properties used to evaluate their superiority. Sub- the models trained on noisy data without and with regularization, respectively, sequently, we perform an in-depth analysis of noise rate estima- and “Clean w.
    [Show full text]
  • Learning from Minimally Labeled Data with Accelerated Convolutional Neural Networks Aysegul Dundar Purdue University
    Purdue University Purdue e-Pubs Open Access Dissertations Theses and Dissertations 4-2016 Learning from minimally labeled data with accelerated convolutional neural networks Aysegul Dundar Purdue University Follow this and additional works at: https://docs.lib.purdue.edu/open_access_dissertations Part of the Computer Sciences Commons, and the Electrical and Computer Engineering Commons Recommended Citation Dundar, Aysegul, "Learning from minimally labeled data with accelerated convolutional neural networks" (2016). Open Access Dissertations. 641. https://docs.lib.purdue.edu/open_access_dissertations/641 This document has been made available through Purdue e-Pubs, a service of the Purdue University Libraries. Please contact [email protected] for additional information. Graduate School Form 30 Updated ¡¢ ¡£¢ ¡¤ ¥ PURDUE UNIVERSITY GRADUATE SCHOOL Thesis/Dissertation Acceptance This is to certify that the thesis/dissertation prepared By Aysegul Dundar Entitled Learning from Minimally Labeled Data with Accelerated Convolutional Neural Networks For the degree of Doctor of Philosophy Is approved by the final examining committee: Eugenio Culurciello Chair Anand Raghunathan Bradley S. Duerstock Edward L. Bartlett To the best of my knowledge and as understood by the student in the Thesis/Dissertation Agreement, Publication Delay, and Certification Disclaimer (Graduate School Form 32), this thesis/dissertation adheres to the provisions of Purdue University’s “Policy of Integrity in Research” and the use of copyright material. Approved by Major Professor(s): Eugenio Culurciello Approved by: George R. Wodicka 04/22/2016 Head of the Departmental Graduate Program Date LEARNING FROM MINIMALLY LABELED DATA WITH ACCELERATED CONVOLUTIONAL NEURAL NETWORKS A Dissertation Submitted to the Faculty of Purdue University by Aysegul Dundar In Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy May 2016 Purdue University West Lafayette, Indiana ii To my family: Nezaket, Cengiz and Deniz.
    [Show full text]
  • Exploring Semi-Supervised Variational Autoencoders for Biomedical Relation Extraction
    Exploring Semi-supervised Variational Autoencoders for Biomedical Relation Extraction Yijia Zhanga,b and Zhiyong Lua* a National Center for Biotechnology Information (NCBI), National Library of Medicine (NLM), National Institutes of Health (NIH), Bethesda, Maryland 20894, USA b School of Computer Science and Technology, Dalian University of Technology, Dalian, Liaoning 116023, China Corresponding author: Zhiyong Lu ([email protected]) Abstract The biomedical literature provides a rich source of knowledge such as protein-protein interactions (PPIs), drug-drug interactions (DDIs) and chemical-protein interactions (CPIs). Biomedical relation extraction aims to automatically extract biomedical relations from biomedical text for various biomedical research. State-of-the-art methods for biomedical relation extraction are primarily based on supervised machine learning and therefore depend on (sufficient) labeled data. However, creating large sets of training data is prohibitively expensive and labor-intensive, especially so in biomedicine as domain knowledge is required. In contrast, there is a large amount of unlabeled biomedical text available in PubMed. Hence, computational methods capable of employing unlabeled data to reduce the burden of manual annotation are of particular interest in biomedical relation extraction. We present a novel semi-supervised approach based on variational autoencoder (VAE) for biomedical relation extraction. Our model consists of the following three parts, a classifier, an encoder and a decoder. The classifier is implemented using multi-layer convolutional neural networks (CNNs), and the encoder and decoder are implemented using both bidirectional long short-term memory networks (Bi-LSTMs) and CNNs, respectively. The semi-supervised mechanism allows our model to learn features from both the labeled and unlabeled data.
    [Show full text]
  • Evaluation of Semi-Supervised Learning Using Sparse Labeling To
    DE GRUYTER Current Directions in Biomedical Engineering 2020;6(3): 20203103 Roman Bruch*, Rüdiger Rudolf, Ralf Mikut, and Markus Reischl Evaluation of semi-supervised learning using sparse labeling to segment cell nuclei https://doi.org/10.1515/cdbme-2020-3103 To extract this information in a quantitative and objective manner algorithms are needed. The segmentation of nuclei in Abstract: The analysis of microscopic images from cell cul- microscopic images is a fundamental step on which further ac- tures plays an important role in the development of drugs. The tions like cell counting or co-localization of other fluorescent segmentation of such images is a basic step to extract the vi- markers depend on. Algorithms like built-in FIJI plugins [13], able information on which further evaluation steps are build. CellProfiler [9], Mathematica pipelines [14], TWANG [15] Classical image processing pipelines often fail under heteroge- and XPIWIT [1] are well established for this task. Typically, neous conditions. In the recent years deep neuronal networks these pipelines require properties such as object size and shape gained attention due to their great potentials in image segmen- and therefore have to be reparameterized for different record- tation. One main pitfall of deep learning is often seen in the ing conditions or cell lines. In extreme cases, such as the seg- amount of labeled data required for training such models. Es- mentation of apoptotic cells, parameterization is not sufficient pecially for 3D images the process to generate such data is and special algorithms need to be designed [8]. tedious and time consuming and thus seen as a possible rea- In the recent years deep learning models like the U- son for the lack of establishment of deep learning models for Net [11] gained attention in the biological field due to their 3D data.
    [Show full text]
  • Intuition Learninglabeled Data (C) Semi - Supervised Learning
    Feature Supervised Labels representation learning Labeled data (a) Supervised learning Feature Supervised representation learning Labeled data Feature Supervised Labels representation learning Labeled data (b) Transfer learning Feature subspace Unlabeled data Feature Supervised Labels representation learning Intuition LearningLabeled data (c) Semi - supervised learning 1 2 2 Anush Sankaran , Mayank Vatsa , RichaFeature Singh 1 IBM Research subspace Unlabeled data 2 IIIT, Delhi, India Feature Supervised Labels [email protected], [email protected], [email protected] learning Labeled data (d) Self taught learning Abstract Feature Feature Reinforcement Labels “By reading on the title and abstract, do you think subspace representation learning this paper will be accepted in IJCAI 2018?” A com- Unlabeled data mon impromptu reply would be “I don’t know but Feature Supervised Labels I have an intuition that this paper might get ac- representation learning cepted”. Intuition is often employed by humans Labeled data to solve challenging problems without explicit ef- (e) Intuition learning forts. Intuition is not trained but is learned from Figure 1: The proposed solution where an intuition learning algo- one’s own experience and observation. The aim of rithm can supplement a supervised or semi-supervised algorithm at this research is to provide intuition to an algorithm, decision level. apart from what they are trained to know in a super- vised manner. We present a novel intuition learn- ing framework that learns to perform a task com- learning. In other words, intuition is a context dependent guesswork pletely from unlabeled data. The proposed frame- that can be incorrect certain times. In a typical learning work uses a continuous-state reinforcement learn- pipeline, the concept of intuition can be used for a ing mechanism to learn a feature representation and variety of purposes starting from training data selection upto a data-label mapping function using unlabeled data.
    [Show full text]
  • Applying Self-Supervised Learning for Semantic Cloud Segmentation of All
    https://doi.org/10.5194/amt-2021-1 Preprint. Discussion started: 19 March 2021 c Author(s) 2021. CC BY 4.0 License. Applying self-supervised learning for semantic cloud segmentation of all-sky images Yann Fabel1, Bijan Nouri1, Stefan Wilbert1, Niklas Blum1, Rudolph Triebel2,4, Marcel Hasenbalg1, Pascal Kuhn6, Luis F. Zarzalejo5, and Robert Pitz-Paal3 1German Aerospace Center (DLR), Institute of Solar Research, 04001 Almeria, Spain 2German Aerospace Center (DLR), Institute of Robotics and Mechatronics, 82234, Oberpfaffenhofen-Weßling, Germany 3German Aerospace Center (DLR), Institute of Solar Research, 51147 Cologne, Germany 4Technical University of Munich, Chair of Computer Vision & Artificial Intelligence, 85748 Garching, Germany 5CIEMAT Energy Department, Renewable Energy Division, 28040 Madrid, Spain 6EnBW Energie Baden-Württemberg AG, 76131 Karlsruhe, Germany Correspondence: Yann Fabel ([email protected]), Bijan Nouri ([email protected]) Abstract. Semantic segmentation of ground-based all-sky images (ASIs) can provide high-resolution cloud coverage information of distinct cloud types, applicable for meteorology, climatology and solar energy-related applications. Since the shape and appearance of clouds is variable and there is high similarity between cloud types, a clear classification is difficult. Therefore, 5 most state-of-the-art methods focus on the distinction between cloudy- and cloudfree-pixels, without taking into account the cloud type. On the other hand, cloud classification is typically determined separately on image-level, neglecting the cloud’s position and only considering the prevailing cloud type. Deep neural networks have proven to be very effective and robust for segmentation tasks, however they require large training datasets to learn complex visual features.
    [Show full text]
  • Learning Classification with Both Labeled and Unlabeled Data
    Learning Classification with Both Labeled and Unlabeled Data Jean-Noël Vittaut, Massih-Reza Amini, and Patrick Gallinari Computer Science Laboratory of Paris 6 (LIP6), University of Pierre et Marie Curie 8 rue du capitaine Scott, 75015 Paris, France {vittaut,amini,gallinari}@poleia.lip6.fr Abstract. A key difficulty for applying machine learning classification algorithms for many applications is that they require a lot of hand- labeled examples. Labeling large amount of data is a costly process which in many cases is prohibitive. In this paper we show how the use of a small number of labeled data together with a large number of unla- beled data can create high-accuracy classifiers. Our approach does not rely on any parametric assumptions about the data as it is usually the case with generative methods widely used in semi-supervised learning. We propose new discriminant algorithms handling both labeled and unlabeled data for training classification models and we analyze their performances on different information access problems ranging from text span classification for text summarization to e-mail spam detection and text classification. 1 Introduction Semi-supervised learning has been introduced for training classifiers when large amounts of unlabeled data are available together with a much smaller amount of la- beled data. It has recently been a subject of growing interest in the machine learning community. This paradigm particularly applies when large sets of data are produced continuously and when hand-labeling is unfeasible or particularly costly. This is the case for example for many of the semantic resources accessible via the web. In this paper, we will be particularly concerned with the application of semi-supervised learning techniques to the classification of textual data.
    [Show full text]
  • Application to Transductive Semi-Supervised Learning
    Learning Deep Representation with limited labels: application to transductive semi-supervised learning Dino Ienco Research Scientist, IRSTEA – UMR TETIS - Montpellier, [email protected] !1 Outline: Introduction, Motivation & Settings A recap on Supervised/Unsupervised Deep Learning Knowledge-aware data embedding (KADE) Learning with KADE Semi-Supervised Clustering Semi-Supervised Classification Conclusions and Trends !2 Introduction In many real world domains we need decisions: - Categorize an item into a category - Organize or structure information according to background knowledge !3 Introduction In many real world domains we need decisions: - Categorize an item into a category - Organize or structure information according to background knowledge Categorize Decide if a mail is SPAM or not Decide the category of an image Decide if a document is about politic or sport Decide if a patient is sick or not !3 Introduction In many real world domains we need decisions: - Categorize an item into a category - Organize or structure information according to background knowledge Categorize Organize Decide if a mail is SPAM or not Retrieved web queries Decide the category of an image Organize Omics data to recover gene/ protein families Decide if a document is about politic or sport Re-organizing textual or image archives given user preferences Decide if a patient is sick or not !3 Introduction - Each decision requires time to be taken - Each decision can also be expensive to take !4 Introduction - Each decision requires time to be taken - Each
    [Show full text]
  • Towards Learning in Probabilistic Action Selection: Markov Systems and Markov Decision Processes
    Towards Learning in Probabilistic Action Selection: Markov Systems and Markov Decision Processes Manuela Veloso Carnegie Mellon University Computer Science Department Planning - Fall 2001 Remember the examples on the board. 15-889 – Fall 2001 Veloso, Carnegie Mellon Different Aspects of “Machine Learning” Supervised learning • – Classification - concept learning – Learning from labeled data – Function approximation Unsupervised learning • – Data is not labeled – Data needs to be grouped, clustered – We need distance metric Control and action model learning • – Learning to select actions efficiently – Feedback: goal achievement, failure, reward – Search control learning, reinforcement learning 15-889 – Fall 2001 Veloso, Carnegie Mellon Search Control Learning Improve search efficiency, plan quality • Learn heuristics • (if (and (goal (enjoy weather)) (goal (save energy)) (state (weather fair))) (then (select action RIDE-BIKE))) 15-889 – Fall 2001 Veloso, Carnegie Mellon Learning Opportunities in Planning Learning to improve planning efficiency • Learning the domain model • Learning to improve plan quality • Learning a universal plan • Which action model, which planning algorithm, which heuristic control is the most efficient for a given task? 15-889 – Fall 2001 Veloso, Carnegie Mellon Reinforcement Learning A variety of algorithms to address: • – learning the model – converging to the optimal plan. 15-889 – Fall 2001 Veloso, Carnegie Mellon Discounted Rewards “Reward” today versus future (promised) reward • $100K + $100K + $100K + . • INFINITE!
    [Show full text]
  • Deep Co-Training for Semi-Supervised Image Recognition
    Deep Co-Training for Semi-Supervised Image Recognition Siyuan Qiao1( ) Wei Shen1,2 Zhishuai Zhang1 Bo Wang3 Alan Yuille1 1Johns Hopkins University 2Shanghai University 3Hikvision Research Institute [email protected] Abstract. In this paper, we study the problem of semi-supervised image recognition, which is to learn classifiers using both labeled and unlabeled images. We present Deep Co-Training, a deep learning based method in- spired by the Co-Training framework. The original Co-Training learns two classifiers on two views which are data from different sources that describe the same instances. To extend this concept to deep learning, Deep Co-Training trains multiple deep neural networks to be the differ- ent views and exploits adversarial examples to encourage view difference, in order to prevent the networks from collapsing into each other. As a re- sult, the co-trained networks provide different and complementary infor- mation about the data, which is necessary for the Co-Training framework to achieve good results. We test our method on SVHN, CIFAR-10/100 and ImageNet datasets, and our method outperforms the previous state- of-the-art methods by a large margin. Keywords: Co-Training · Deep Networks · Semi-Supervised Learning 1 Introduction Deep neural networks achieve the state-of-art performances in many tasks [1–17]. However, training networks requires large-scale labeled datasets [18, 19] which are usually difficult to collect. Given the massive amounts of unlabeled natu- ral images, the idea to use datasets without human annotations becomes very appealing [20]. In this paper, we study the semi-supervised image recognition problem, the task of which is to use the unlabeled images in addition to the labeled images to build better classifiers.
    [Show full text]
  • Snuba: Automating Weak Supervision to Label Training Data
    Snuba: Automating Weak Supervision to Label Training Data Paroma Varma Christopher Re´ Stanford University Stanford University [email protected] [email protected] ABSTRACT benign, malignant if area > 210.8: As deep learning models are applied to increasingly diverse return False Label if area < 150: Aggregator problems, a key bottleneck is gathering enough high-quality return Abstain training labels tailored to each task. Users therefore turn Labeled Data 25% benign, 75%benign, ... ?, ?, ?, ? if perim > 120: to weak supervision, relying on imperfect sources of labels return True like pattern matching and user-defined heuristics. Unfor- if perim > 80 Terminate? return Abstain tunately, users have to design these sources for each task. Heuristic Generation Training Labels This process can be time consuming and expensive: domain Unlabeled Data Snuba experts often perform repetitive steps like guessing optimal numerical thresholds and developing informative text pat- Figure 1: Snuba uses a small labeled and a large unlabeled terns. To address these challenges, we present Snuba,a dataset to iteratively generate heuristics. It uses existing la- system to automatically generate heuristics using a small bel aggregators to assign training labels to the large dataset. labeled dataset to assign training labels to a large, unla- beled dataset in the weak supervision setting. Snuba gen- pervision, or methods that can assign noisy training labels erates heuristics that each labels the subset of the data it to unlabeled data, like crowdsourcing [9, 22, 60], distant su- is accurate for, and iteratively repeats this process until the pervision [8,32], and user-defined heuristics [38,39,50]. Over heuristics together label a large portion of the unlabeled the past few years, we have been part of the broader effort data.
    [Show full text]