SlideShare a Scribd company logo
Tensor Networks and Their
Applications on Machine Learning
Kwan-Yuet “Stephen” Ho
Leidos
DS Study Group (July 8, 2020)
Kwan-Yuet “Stephen” Ho
Experience:
● April 2020 - present: Data Scientist, Leidos
● September 2018 - April 2020: Machine Learning
Engineer, Capital One
● October 2012 - August 2018: Research Scientist,
General Dynamics Information Technology
● September 2009 - September 2012: Research
Assistant, University of Maryland
● June 2005 - August 2006: Guest Researcher, National
Institute of Standards and Technology
● June 2003 - August 2003: Research Assistant,
California Institute of Technology
Education:
● PhD (Physics), University of Maryland, 2012.
● BSc (Physics), Chinese University of Hong Kong, 2004.
Interests:
● Machine Learning
● Theoretical Physics
● Applied Mathematics
● Python Package Development
Tensor Networks
What are they? Why are they so important?
What is a tensor network?
● A mathematical tool from theoretical
quantum many-body theory.
● “A tensor network is a collection of tensors
with indices connected according to a
network pattern. It can be used to
efficiently represent a many-body wave-
function in an otherwise exponentially
large Hilbert space.”
● It can be represented as graph.
● Why? It facilitates high-rank tensor
analysis.
● Tensor Networks are useful for
constructing machine learning algorithms.
● Useful introductory texts:
arXiv:1708.00006, arXiv:1603.03039
Tensor Network Notation
(TNN)
Einstein’s Notation
(summation over
repeated indices)
Source: arXiv:1708.00006
Splitting
Bubbling
Source: arXiv:1708.00006
Google publishes Python Package
“tensornetwork”
Google AI Blog:
https://ai.googleblog.com/2019/06/introducing
-tensornetwork-open-source.html
Github:
https://github.com/google/TensorNetwork
Article: arXiv:1905.01330
Built on TensorFlow.
Medium:
https://medium.com/syncedreview/google-
tensornetwork-library-dramatically-
accelerates-ml-physics-tasks-8c7011e0f7b0
Why Tensor Networks? Here is some history...
Mehta, Schwab, “An exact
mapping between the Variational
Renormalization Group and Deep
Learning,” arXiv:1410.3831.
Mathematical equivalence of
Restricted Boltzmann Machines
(RBM) and Variational RG
Stoudenmire, Schwab, “Supervised
Learning With Quantum-Inspired Tensor
Networks,” arXiv:1605.05775.
Supervised learning using ideas from DMRG
and TNN. Optimization using sweeping
algorithm.
Tensor network representations of
DMRG1.
Classifier:
MPS Approximation:
Training:
TNML (arXiv:1605.05775)
Restoring MPS
Approximation
I am still very confused.
What are these things? How are they connected?
What is RG? What is DMRG? Why TNN?
● Renormalization group (RG) is a formalism of “zooming out” in scale-invariant system,
determining which terms to truncate in a model. (Good reference: Sheng-kang Ma, Modern
Theory of Critical Phenomena)
● Density matrix renormalization group (DMRG) is an variational real-space numerical technique
that look at collections of quantum bits (zoomed-out) as block. Its encapsulation makes it a good
tool for strongly correlated electronic system. (First paper: Steven White, PRL 69 (19): 2863-
2866 (1992); good reference: arXiv:cond-mat/0409292)
● DMRG can be expressed conveniently using TNN. (arXiv:1008.3477)
Is TNN related to quantum computing?
● Yes and No.
● Yes, these are good tools to study many-body quantum systems,
including those for the implementation of quantum computers.
● No, TNN is not quantum computing.
IBM-Q
Is TNN related to quantum machine learning?
● TNN is not used for quantum version of well-known machine
learning algorithms.
● TNN helps develop new quantum machine learning algorithms.
(Huggins, Patil, Mitchell, Whaley, Stoudenmire, Quantum Sci. Technol.
4, 024001 (2019)).
Peter Wittek, Quantum Machine Learning
https://www.amazon.com/Quantum-Machine-Learning-Computing-
Mining/dp/0128100400
Biamonte, Wittek, Pancotti, Rebentrost, Wiebe, Lloyd, Nature 549, 195-
202 (2017).
Are there ML applications of TNN?
Supervised Learning:
● TNML: a supervised classification algorithm (arXiv:1605.05775)
● arXiv:1906.06329
● Entanglement-guided ML (arXiv:1803.09111)
● Exponential machines (arXiv:1605.03795)
● TorchMPS (https://github.com/stephenhky/TorchMPS)
Unsupervised Learning:
● Probabilistic modeling with MPS (arXiv:1902.06888)
● TensorSpace Language Model (TSLM, arXiv:1901.11167)
Common Types of Tensor Networks
MPS, PEPS, MERA
Common Types of Tensor Networks
● Matrix Product State (MPS)
● PEPS (Projected Entangled Pair State)
● MERA (Mutliscale Entanglement
Renormalization) Ansatz
MPS
PEPS (1D)
PEPS (2D)MERA
ansatz
Alternative to Google’s
TensorNetworks
Subtitle / Additional info
Confidential
19
Packages / Libraries for Tensor Networks
● TensorNetworks (Google,
https://github.com/google/TensorNetwork)
● torchMPS (Jacob Miller, https://github.com/jemisjoky/TorchMPS)
● QUIMB (https://quimb.readthedocs.io/en/latest/)
Demonstration
Subtitle / Additional info
Confidential
21
arXiv:1906.06329
TensorFlow and Keras

More Related Content

PPTX
From Story-Telling to Production
PDF
A survey on massively Parallelism for indexing multidimensional datasets on t...
PDF
Building intelligent systems (that can explain)
PPTX
Presentation at MTSR 2012
PDF
Building intelligent systems (that can explain)
PDF
Trust Models for RDF Data: Semantics and Complexity - AAAI2015
PDF
Data triangulation on newspapers articles using different softwarei
PPT
Automatic Metadata Generation using Associative Networks
From Story-Telling to Production
A survey on massively Parallelism for indexing multidimensional datasets on t...
Building intelligent systems (that can explain)
Presentation at MTSR 2012
Building intelligent systems (that can explain)
Trust Models for RDF Data: Semantics and Complexity - AAAI2015
Data triangulation on newspapers articles using different softwarei
Automatic Metadata Generation using Associative Networks

What's hot (20)

PPT
A Model of the Scholarly Community
PDF
PREDICTING STOCK PRICE MOVEMENTS BASED ON NEWSPAPER ARTICLES USING A NOVEL DE...
PDF
[DOLAP2019] Augmented Business Intelligence
PDF
Descobrindo o tesouro escondido nos seus dados usando grafos.
PPTX
How Semantic Technology Can Stay Relevant in the Big Data Age?
PPTX
Ontology Engineering for Big Data
PPTX
[PhDThesis2021] - Augmenting the knowledge pyramid with unconventional data a...
PDF
[ADBIS 2021] - Optimizing Execution Plans in a Multistore
PDF
Genomics data analysis in Julia
PPT
Le Flow Contributions By K M I
PDF
AI & Topology concluding remarks - "The open-source landscape for topology in...
PPTX
Neural Information Retrieval: In search of meaningful progress
PPTX
Building and Integrating Competitive Intelligence Reports Using the Topic Map...
PPT
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
PDF
A Julia package for iterative SVDs with applications to genomics data analysis
PDF
Bytewise approximate matching, searching and clustering
PDF
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
PPTX
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
PPT
Ontology Mapping
PDF
Bringing Math to LOD
A Model of the Scholarly Community
PREDICTING STOCK PRICE MOVEMENTS BASED ON NEWSPAPER ARTICLES USING A NOVEL DE...
[DOLAP2019] Augmented Business Intelligence
Descobrindo o tesouro escondido nos seus dados usando grafos.
How Semantic Technology Can Stay Relevant in the Big Data Age?
Ontology Engineering for Big Data
[PhDThesis2021] - Augmenting the knowledge pyramid with unconventional data a...
[ADBIS 2021] - Optimizing Execution Plans in a Multistore
Genomics data analysis in Julia
Le Flow Contributions By K M I
AI & Topology concluding remarks - "The open-source landscape for topology in...
Neural Information Retrieval: In search of meaningful progress
Building and Integrating Competitive Intelligence Reports Using the Topic Map...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
A Julia package for iterative SVDs with applications to genomics data analysis
Bytewise approximate matching, searching and clustering
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
Ontology Mapping
Bringing Math to LOD
Ad

Similar to Tensor Networks and Their Applications on Machine Learning (20)

PDF
Exploring New Frontiers in Inverse Materials Design with Graph Neural Network...
PDF
Survey on classification algorithms for data mining (comparison and evaluation)
PDF
On the High Dimentional Information Processing in Quaternionic Domain and its...
PDF
Text classification based on gated recurrent unit combines with support vecto...
PDF
Deep learning 1.0 and Beyond, Part 1
PDF
Physics inspired artificial intelligence/machine learning
PDF
Volume 2-issue-6-2143-2147
PDF
Volume 2-issue-6-2143-2147
PDF
Knowledge Graph Embeddings for Recommender Systems
PDF
Text documents clustering using modified multi-verse optimizer
PDF
New books dec 2013
PDF
Exploring Architected Materials Using Machine Learning
PDF
FAST DETECTION OF DDOS ATTACKS USING NON-ADAPTIVE GROUP TESTING
PDF
Performance Efficient DNA Sequence Detectionalgo
PDF
The Status of ML Algorithms for Structure-property Relationships Using Matb...
PDF
Feature Subset Selection for High Dimensional Data Using Clustering Techniques
PDF
Carpita metulini 111220_dssr_bari_version2
PDF
Combinatorial optimization and deep reinforcement learning
PDF
New Approaches in Cognitive Radios using Evolutionary Algorithms
PDF
Software tools, crystal descriptors, and machine learning applied to material...
Exploring New Frontiers in Inverse Materials Design with Graph Neural Network...
Survey on classification algorithms for data mining (comparison and evaluation)
On the High Dimentional Information Processing in Quaternionic Domain and its...
Text classification based on gated recurrent unit combines with support vecto...
Deep learning 1.0 and Beyond, Part 1
Physics inspired artificial intelligence/machine learning
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147
Knowledge Graph Embeddings for Recommender Systems
Text documents clustering using modified multi-verse optimizer
New books dec 2013
Exploring Architected Materials Using Machine Learning
FAST DETECTION OF DDOS ATTACKS USING NON-ADAPTIVE GROUP TESTING
Performance Efficient DNA Sequence Detectionalgo
The Status of ML Algorithms for Structure-property Relationships Using Matb...
Feature Subset Selection for High Dimensional Data Using Clustering Techniques
Carpita metulini 111220_dssr_bari_version2
Combinatorial optimization and deep reinforcement learning
New Approaches in Cognitive Radios using Evolutionary Algorithms
Software tools, crystal descriptors, and machine learning applied to material...
Ad

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
A Presentation on Artificial Intelligence
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
A Presentation on Artificial Intelligence
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Modernizing your data center with Dell and AMD
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Machine learning based COVID-19 study performance prediction

Tensor Networks and Their Applications on Machine Learning

  • 1. Tensor Networks and Their Applications on Machine Learning Kwan-Yuet “Stephen” Ho Leidos DS Study Group (July 8, 2020)
  • 2. Kwan-Yuet “Stephen” Ho Experience: ● April 2020 - present: Data Scientist, Leidos ● September 2018 - April 2020: Machine Learning Engineer, Capital One ● October 2012 - August 2018: Research Scientist, General Dynamics Information Technology ● September 2009 - September 2012: Research Assistant, University of Maryland ● June 2005 - August 2006: Guest Researcher, National Institute of Standards and Technology ● June 2003 - August 2003: Research Assistant, California Institute of Technology Education: ● PhD (Physics), University of Maryland, 2012. ● BSc (Physics), Chinese University of Hong Kong, 2004. Interests: ● Machine Learning ● Theoretical Physics ● Applied Mathematics ● Python Package Development
  • 3. Tensor Networks What are they? Why are they so important?
  • 4. What is a tensor network? ● A mathematical tool from theoretical quantum many-body theory. ● “A tensor network is a collection of tensors with indices connected according to a network pattern. It can be used to efficiently represent a many-body wave- function in an otherwise exponentially large Hilbert space.” ● It can be represented as graph. ● Why? It facilitates high-rank tensor analysis. ● Tensor Networks are useful for constructing machine learning algorithms. ● Useful introductory texts: arXiv:1708.00006, arXiv:1603.03039
  • 5. Tensor Network Notation (TNN) Einstein’s Notation (summation over repeated indices) Source: arXiv:1708.00006
  • 7. Google publishes Python Package “tensornetwork” Google AI Blog: https://ai.googleblog.com/2019/06/introducing -tensornetwork-open-source.html Github: https://github.com/google/TensorNetwork Article: arXiv:1905.01330 Built on TensorFlow. Medium: https://medium.com/syncedreview/google- tensornetwork-library-dramatically- accelerates-ml-physics-tasks-8c7011e0f7b0
  • 8. Why Tensor Networks? Here is some history... Mehta, Schwab, “An exact mapping between the Variational Renormalization Group and Deep Learning,” arXiv:1410.3831. Mathematical equivalence of Restricted Boltzmann Machines (RBM) and Variational RG
  • 9. Stoudenmire, Schwab, “Supervised Learning With Quantum-Inspired Tensor Networks,” arXiv:1605.05775. Supervised learning using ideas from DMRG and TNN. Optimization using sweeping algorithm.
  • 12. I am still very confused. What are these things? How are they connected?
  • 13. What is RG? What is DMRG? Why TNN? ● Renormalization group (RG) is a formalism of “zooming out” in scale-invariant system, determining which terms to truncate in a model. (Good reference: Sheng-kang Ma, Modern Theory of Critical Phenomena) ● Density matrix renormalization group (DMRG) is an variational real-space numerical technique that look at collections of quantum bits (zoomed-out) as block. Its encapsulation makes it a good tool for strongly correlated electronic system. (First paper: Steven White, PRL 69 (19): 2863- 2866 (1992); good reference: arXiv:cond-mat/0409292) ● DMRG can be expressed conveniently using TNN. (arXiv:1008.3477)
  • 14. Is TNN related to quantum computing? ● Yes and No. ● Yes, these are good tools to study many-body quantum systems, including those for the implementation of quantum computers. ● No, TNN is not quantum computing. IBM-Q
  • 15. Is TNN related to quantum machine learning? ● TNN is not used for quantum version of well-known machine learning algorithms. ● TNN helps develop new quantum machine learning algorithms. (Huggins, Patil, Mitchell, Whaley, Stoudenmire, Quantum Sci. Technol. 4, 024001 (2019)). Peter Wittek, Quantum Machine Learning https://www.amazon.com/Quantum-Machine-Learning-Computing- Mining/dp/0128100400 Biamonte, Wittek, Pancotti, Rebentrost, Wiebe, Lloyd, Nature 549, 195- 202 (2017).
  • 16. Are there ML applications of TNN? Supervised Learning: ● TNML: a supervised classification algorithm (arXiv:1605.05775) ● arXiv:1906.06329 ● Entanglement-guided ML (arXiv:1803.09111) ● Exponential machines (arXiv:1605.03795) ● TorchMPS (https://github.com/stephenhky/TorchMPS) Unsupervised Learning: ● Probabilistic modeling with MPS (arXiv:1902.06888) ● TensorSpace Language Model (TSLM, arXiv:1901.11167)
  • 17. Common Types of Tensor Networks MPS, PEPS, MERA
  • 18. Common Types of Tensor Networks ● Matrix Product State (MPS) ● PEPS (Projected Entangled Pair State) ● MERA (Mutliscale Entanglement Renormalization) Ansatz MPS PEPS (1D) PEPS (2D)MERA ansatz
  • 19. Alternative to Google’s TensorNetworks Subtitle / Additional info Confidential 19
  • 20. Packages / Libraries for Tensor Networks ● TensorNetworks (Google, https://github.com/google/TensorNetwork) ● torchMPS (Jacob Miller, https://github.com/jemisjoky/TorchMPS) ● QUIMB (https://quimb.readthedocs.io/en/latest/)
  • 21. Demonstration Subtitle / Additional info Confidential 21

Editor's Notes

  • #5: https://www.perimeterinstitute.ca/research/research-initiatives/tensor-networks-initiative
  • #15: https://c1.staticflickr.com/5/4403/23518086798_3d3af8313e.jpg
  • #16: Peter Witteck