Opportunities and challenges in quantum-enhanced machine learning in near-term quantum computers

Similar documents
Opportunities and challenges in near-term quantum computers

Quantum Artificial Intelligence at NASA

Quantum-Assisted Learning of Hardware-Embedded Probabilistic Graphical Models

A graph contains a set of nodes (vertices) connected by links (edges or arcs)

UNSUPERVISED LEARNING

Reading Group on Deep Learning Session 4 Unsupervised Neural Networks

How to do backpropagation in a brain

arxiv: v1 [quant-ph] 17 Apr 2017

Chapter 16. Structured Probabilistic Models for Deep Learning

The Origin of Deep Learning. Lili Mou Jan, 2015

Undirected Graphical Models: Markov Random Fields

Learning Deep Architectures for AI. Part II - Vijay Chakilam

Modenizing Quantum Annealing using Local Search

Deep unsupervised learning

Deep Boltzmann Machines

Introduction to Machine Learning

Machine Learning with Quantum-Inspired Tensor Networks

Greedy Layer-Wise Training of Deep Networks

Learning to Disentangle Factors of Variation with Manifold Learning

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Deep Learning Srihari. Deep Belief Nets. Sargur N. Srihari

Knowledge Extraction from DBNs for Images

CSC321 Lecture 20: Autoencoders

Lecture 16 Deep Neural Generative Models

Deep Learning Autoencoder Models

Administration. Registration Hw3 is out. Lecture Captioning (Extra-Credit) Scribing lectures. Questions. Due on Thursday 10/6

Restricted Boltzmann Machines

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Introduction to Restricted Boltzmann Machines

Deep Generative Models. (Unsupervised Learning)

Energy Based Models. Stefano Ermon, Aditya Grover. Stanford University. Lecture 13

Sum-Product Networks: A New Deep Architecture

Course Structure. Psychology 452 Week 12: Deep Learning. Chapter 8 Discussion. Part I: Deep Learning: What and Why? Rufus. Rufus Processed By Fetch

Large-Scale Feature Learning with Spike-and-Slab Sparse Coding

ECE 521. Lecture 11 (not on midterm material) 13 February K-means clustering, Dimensionality reduction

Intelligent Systems (AI-2)

arxiv: v1 [cs.et] 30 Jan 2019

Machine Learning Techniques

Stochastic Gradient Estimate Variance in Contrastive Divergence and Persistent Contrastive Divergence

arxiv: v2 [cs.ne] 22 Feb 2013

Quantum Annealing and the Satisfiability Problem

3 : Representation of Undirected GM

Deep Learning. What Is Deep Learning? The Rise of Deep Learning. Long History (in Hind Sight)

STA 414/2104: Lecture 8

arxiv: v2 [quant-ph] 2 Oct 2014

Contrastive Divergence

Introduction to the Tensor Train Decomposition and Its Applications in Machine Learning

Intelligent Systems (AI-2)

LOCKHEED MARTIN SITE UPDATE

COMS 4771 Lecture Course overview 2. Maximum likelihood estimation (review of some statistics)

Deep Learning. What Is Deep Learning? The Rise of Deep Learning. Long History (in Hind Sight)

Bias-Variance Trade-Off in Hierarchical Probabilistic Models Using Higher-Order Feature Interactions

Neural Networks with Applications to Vision and Language. Feedforward Networks. Marco Kuhlmann

BACKPROPAGATION. Neural network training optimization problem. Deriving backpropagation

Introduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah

Inductive Principles for Restricted Boltzmann Machine Learning

Unsupervised Learning

Need for Deep Networks Perceptron. Can only model linear functions. Kernel Machines. Non-linearity provided by kernels

Neural Networks. Mark van Rossum. January 15, School of Informatics, University of Edinburgh 1 / 28

Machine Learning with Tensor Networks

Artificial Neural Networks. MGS Lecture 2

Neural Networks. William Cohen [pilfered from: Ziv; Geoff Hinton; Yoshua Bengio; Yann LeCun; Hongkak Lee - NIPs 2010 tutorial ]

STA 414/2104: Lecture 8

Bayesian Learning in Undirected Graphical Models

Lecture 5: Logistic Regression. Neural Networks

Basic Principles of Unsupervised and Unsupervised

Undirected Graphical Models

How to do backpropagation in a brain. Geoffrey Hinton Canadian Institute for Advanced Research & University of Toronto

Introduction to Machine Learning

Implementation of a Restricted Boltzmann Machine in a Spiking Neural Network

Need for Deep Networks Perceptron. Can only model linear functions. Kernel Machines. Non-linearity provided by kernels

Density estimation. Computing, and avoiding, partition functions. Iain Murray

Artificial Neural Networks. Introduction to Computational Neuroscience Tambet Matiisen

Exploring reverse annealing as a tool for hybrid quantum/classical computing

Replicated Softmax: an Undirected Topic Model. Stephen Turner

A Variance Modeling Framework Based on Variational Autoencoders for Speech Enhancement

Qubits qop Tools Directions

Neutron inverse kinetics via Gaussian Processes

Probabilistic Graphical Models

Neural Networks and Machine Learning research at the Laboratory of Computer and Information Science, Helsinki University of Technology

Restricted Boltzmann Machines

CS 6375 Machine Learning

Unsupervised Learning

Classification CE-717: Machine Learning Sharif University of Technology. M. Soleymani Fall 2012

SOLVING SPARSE REPRESENTATIONS FOR OBJECT CLASSIFICATION USING QUANTUM D-WAVE 2X MACHINE

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Chapter 20. Deep Generative Models

Consensus Algorithms for Camera Sensor Networks. Roberto Tron Vision, Dynamics and Learning Lab Johns Hopkins University

Quantum Artificial Intelligence and Machine Learning: The Path to Enterprise Deployments. Randall Correll. +1 (703) Palo Alto, CA

Introduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah

Traffic flow optimization using a quantum annealer

Mathematical Formulation of Our Example

An efficient way to learn deep generative models

Using Deep Belief Nets to Learn Covariance Kernels for Gaussian Processes

Quantum computing with superconducting qubits Towards useful applications

Machine Learning (CS 567) Lecture 2

The Perceptron. Volker Tresp Summer 2014

Chapter 10: Random Fields

Neural Network Training

Deep Learning Architecture for Univariate Time Series Forecasting

Transcription:

Opportunities and challenges in quantum-enhanced machine learning in near-term quantum computers Alejandro Perdomo-Ortiz Senior Research Scientist, Quantum AI Lab. at NASA Ames Research Center and at the University Space Research Association, USA Honorary Senior Research Associate, Computer Science Dept., UCL, UK Funding: Perdomo-Ortiz, Benedetti, Realpe-Gomez, and Biswas. arxiv:1708.09757 (2017). To appear in the Quantum Science and Technology (QST) invited special issue on What would you do with a 1000 qubit device? QUBITS D-wave User Group 2017 National Harbor, MD, September 28, 2017

1) As a discrete optimization solver: Given {h j, J ij }, find {s k = ± 1} that minimizes (s 1,...,s N )= D-Wave System Capability NX h j s j + j=1 2) As a physical device to sample from Boltzmann distribution: NX i,j2e NP-hard problem J ij s i s j Potential NASA applications: - planning - scheduling - fault diagnosis - graph analysis - communication networks, etc. QUBO: Quadratic Unconstrained Binary Optimization (Ising model in physics jargon). P Boltzman / exp[ (s 1,...,s N )/T eff ] Computationally bottleneck Early work: Bian et al. 2010. The Ising model: teaching an old problem new tricks. Follow-up work: Raymond et al. Global warming: Temperature estimation in annealers. Frontiers in ICT, 3, 23 (2016). Our work: Benedetti et al. PRA 94, 022308 (2016) We provide a robust algorithm to estimate the effective temperature of problem instances in quantum annealers. Algorithm uses the same samples that will be used for the estimation of the gradient Widely used in unsupervised learning RBM Hidden units Visible units Potential NASA applications: - machine leaning (e.g., training of deep-learning networks)

Unsupervised learning (generative models) Learn the best model distribution that can generate the same kind of data MODEL P ( Image ) Learning algorithm NO LABELS DATASET

Unsupervised learning (generative models) Learn the best model distribution that can generate the same kind of data MODEL P ( Image ) Example application: Image reconstruction Reconstructed image Learning algorithm LEARNED MODEL P ( Image ) NO LABELS Damaged image DATASET

Supervised learning (discriminative models) Learn the best model that can perform a specific task Example application: Image recognition MODEL P ( Label Image ) Predicted label 61 Learning algorithm Labels LEARNED MODEL P ( Label Image ) 26624 98 66 175 Image to be recognized DATASET

A near-term approach for quantum-enhanced machine learning - Most previous proposed work have highly optimized powerful classical counterparts (e.g., on discriminative/classification tasks) State-of-the-art QML - Need for qram (case of most gatebased proposal). - Qubits represent visible units; issue for case of large datasets Lesson 1: Move to intractable problems of interest to ML experts (e.g., generative models in unsupervised learning). Potential impact across social and natural sciences, engineering, and more Bayesian inference Deep learning Probabilistic programming Others... Hypothesis: intractable sampling problems enhanced by quantum sampling

A near-term approach for quantum-enhanced machine learning Lesson 2: Need for novel hybrid approaches. Challenges solved: PREDICTIONS F [ P(s Θ t ) ] LEARNING Stochastic gradient descent Θ t+1 = Θ t + G [ P(s Θ t ) ] HARD TO COMPUTE Estimation assisted by sampling from quantum computer Benedetti, et al. Estimation of effective temperatures in quantum annealers for sampling applications: A case study with possible applications in deep learning. PRA 94, 022308 (2016). Benedetti, et al. Quantum-assisted learning of graphical models with arbitrary pairwise connectivity. arxiv:1609.02542 (2016). DATA s = {s 1,, s D } Computationally bottleneck hv i u j i p(v,u) Ex.: Restricted Boltzmann Machines (RBM) RBM Where, p(v, u) = e E(v,u )/T eff Z( ) Hidden units, u Visible units, v Widely used in unsupervised learning Benedetti, et al. Quantum-assisted Helmholtz machines: A quantum-classical deep learning framework for industrial datasets in near-term devices. arxiv:1708.09784 (2017). Perdomo-Ortiz, et al. Opportunities and Challenges in Quantum-Assisted Machine Learning in Near-term Quantum Computer. arxiv:1708.09757. (2017).

A near-term approach for quantum-enhanced machine learning - Need to solve classical-quantum model mismatch Training Method: Stochastic gradient ascent X v2d Challenges of the hybrid approach: @ ln L( v) @J ij /hv i u j i data hv i u j i model Classical - T eff? Quantum Benedetti et al. Phys. Rev. A 94, 022308 (2016) Visible units Hidden units No significant progress in 2010-2015 for generative modeling and QA sampling.

A near-term approach for quantum-enhanced machine learning Resolving model mismatch allows for restarting from classical preprocessing Lav 6 7 8 9 10 (c) QuALe @ T DW2X =0.033 with Restart QuALe @ T e with Restart CD-1 11 0 100 200 300 400 500 iteration Benedetti et al. Phys. Rev. A 94, 022308 (2016)

A near-term approach for quantum-enhanced machine learning Challenges of the hybrid approach: - Need to solve classical-quantum model mismatch Training Method: Stochastic gradient ascent X v2d @ ln L( v) @J ij /hv i u j i data hv i u j i model Classical - T eff? Quantum - Robustness to noise, intrinsic control errors, and to deviations from sampling model (e.g., Boltzmann) Fully visible models - Curse of limited Visible units connectivity parameter setting Benedetti et al. arxiv:1609.02542 Benedetti et al. Phys. Rev. A 94, 022308 (2016) Visible units Hidden units No significant progress in 2010-2015 for generative modeling and QA sampling.

Quantum-assisted unsupervised learning on digits OptDigits Datasets 32x32 8x8 7x6 7x6, binarized Dataset: Optical Recognition of Handwritten Digits (OptDigits)

Quantum-assisted unsupervised learning on digits OptDigits Datasets Dataset: Optical Recognition of Handwritten Digits (OptDigits)

Quantum-assisted unsupervised learning on digits Overcoming the curse of limited connectivity in hardware. 46 fully-connected logical (visible) variables 42 for pixels + 4 to one-hot encode the class (only digits 1-4) - Are the results from this training on 940 qubit experiment meaningful? - Is the model capable of generating digits? Min. CL =12, Max. CL = 28 940 physical qubits

Quantum-assisted unsupervised learning on digits Human or (quantum) machine? (Turing test) Human (quantum) machine Dataset: Optical Recognition of Handwritten Digits (OptDigits) Results from experiments using 940 qubits, without post-processing. The hardware-embedded model represents a 46 node fully connected graph.

A near-term approach for quantum-enhanced machine learning Challenges of the hybrid approach: - Need to solve classical-quantum model mismatch Training Method: Stochastic gradient ascent - Robustness to noise, Fully visible models intrinsic control errors, and to deviations from sampling model (e.g., Boltzmann) Classical - T eff? Quantum - Curse of limited Visible units connectivity parameter setting Benedetti et al. arxiv:1609.02542 Benedetti et al. Phys. Rev. A 94, 022308 (2016) Visible units No progress in five years since QA sampling was proposed as a promissing appplication. Hidden units How about large complex datasets with continuous variables? All previous fail to do that (fully quantum and hybrid here)

Perspective on quantum-enhanced machine learning New hybrid proposal that works directly on a low-dimensional representation of the data. Quantum processing Classical pre- and post-processing Hidden layers Raw input data Compressed data Inference Training samples Visible units Hidden units Qubits Measurement

Perspective on quantum-enhanced machine learning New hybrid proposal that works directly on a low-dimensional representation of the data. Quantum processing Quantum sampling i~ dˆ (t) dt =[Ĥ, ˆ ] Classical pre- and post-processing Hidden layers Raw input data Compressed data Inference Training samples Visible units Hidden units Qubits Classical generation or reconstruction of data Generated samples Measurement

Perspective on quantum-enhanced machine learning New hybrid proposal that works directly on a low-dimensional representation of the data. Quantum processing Quantum sampling i~ dˆ (t) dt =[Ĥ, ˆ ] Classical pre- and post-processing Hidden layers Raw input data Compressed data Inference Corrupted image Classical generation or reconstruction of data Reconstructed image Visible units Hidden units Qubits Measurement Benedetti, Realpe-Gomez, and Perdomo-Ortiz. Quantum-assisted Helmholtz machines: A quantum-classical deep learning framework for industrial datasets in near-term devices. arxiv:1708.09784 (2017).

Experimental implementation of the QAHM Experiments using 1644 qubits (no further postprocessing!) Max. CL = 43 Benedetti, Realpe-Gomez, and Perdomo-Ortiz. Quantum-assisted Helmholtz machines: A quantum-classical deep learning framework for industrial datasets in near-term devices. arxiv:1708.09784 (2017).

Opportunities and challenges for quantum-assisted machine learning in near-term quantum computers Alejandro Perdomo-Ortiz, 1, 2, 3, Marcello Benedetti, 1, 3 John Realpe-Gómez, 1, 4, 5 and Rupak Biswas 6 1 - Opportunities: Emphasis in moving from popular ML to not-so-popular but still highly value ML applications. Example: From discriminative models to more powerful generative models. Also, classical datasets with intrinsic quantum correlations. - Challenges: Limited qubit-qubit connectivity, limited precision, intrinsic control errors, digital representation, classical-quantum feedback (in case of hybrid). - Proposed directions: Emphasis on hybrid quantum-classical algorithms. New approach capable of tackling large complex datasets in machine learning. arxiv:1708.09757. (2017). To appear in the Quantum Science and Technology (QST) invited special issue on What would you do with a 1000 qubit device?

Job advertisement NASA Ames Research Center Opportunities at NASA Quantum AI Lab. (NASA QuAIL) at different levels: internships, postdoc, or Research Scientist. For details, please contact: Eleanor Rieffel: NASA QuAIL Lead, or, Alejandro Perdomo-Ortiz: Quantum Machine Learning Lead. eleanor.rieffel@nasa.gov, alejandro.perdomoortiz@nasa.gov https://usra-openhire.silkroad.com/epostings/index.cfm?fuseaction=app.jobinfo&version=1&jobid=629

Support slides