SlideShare a Scribd company logo
1 of 17
Download to read offline
Classification of tumor metastasis data
using Quantum kernel-based algorithm
Team:QKBA
Mentors:Leo (NVIDIA), Jay (NVIDIA)
Mentees:Tai-Yue Li (National Synchrotron Radiation Research
Center), Cheng-Fang Su (National Yang Ming Chiao Tung University),,
Chung-Hsing Hsu (Asia University), Kuan-Cheng Chen (QuEST),
Ka-Lok Ng (Asia University)
tim312508@gmail.com , scf1204@nycu.edu.tw
Introduction
Primary tumor Blood or lymphatic system New tumor High mortality
Cancer cells
We need an effective method to predict tumor metastasis to help
patients prevent it in advance.
Introduction
non-metastasis tumor
metastasis tumor
Next Generation
Sequencing (NGS)
…
non-metastasis tumor gene
…
metastasis tumor gene
Biomarker
Introduction
Currently, we don't have effective methods to find biomarkers of tumor metastasis.
How effective is the classification of tumor
metastasis data using the QSVM algorithm?
Supervised learning with quantum enhanced feature spaces Nature volume 567, pages209–212 (2019)
Introduction
x1
|0 >
|0 >
classical data space
2 data points with 2 features:
x2
x1 feature1 x1 feature2
x2 feature1 x2 feature2
x2
x1
x1 feature1
x1 feature2
U(x1)
x2 feature1
x2 feature2
U+(x2)
q1
q2
Quantum
feature space
x2
x1
n features = n qubits
Quantum feature map circuit
(non-liner map function)
Transition amplitude
of two data
a
x1
x2
Measure the expectations
value at zero state
Computation time costs = 2n (n qubits)
from numbers of features
0.5m2 (m data)
from numbers of data
x
1
a 1
a
x1 x2
x1
x2
SVM
Classification
Quantum kernel
matrix
Issue
Insufficient computing resources and long computing time are the main problems.
We screened out 48 important gene expression as features for tumor metastasis classification.
Ø The amount of calculation required is as high as 2 to the 48th power. (248)
Classical computer
• Difficult to perform
Real quantum computer
• Calculation cost very high
• Result will be affected by noise
Although the principal component analysis (PCA) can reduce the number of qubits can make the program
executable on a classical computer.
Ø The number of qubits and the amount of data increase, the calculation time will also increase significantly.
Ø We need to know which gene is related to tumor metastasis.
Therefore, a better solution is to alleviate the limitation of computing resources
Solution
We use the cuQuantum SDK to accelerate the GPU simulate QSVM.
And cuQuantum can use the two technologies of cuStateVec and cuTensorNet to accelerate the matrix
calculation using GPU.
The quantum circuit operations can be regarded as a series of matrix operations.
|0 >
|0 >
…..
U(x1) U+(x2) M
|0 >
|0 >
…..
QSVM quantum circuit
⋯
⋮ ⋱ ⋮
⋯
⋯
⋮ ⋱ ⋮
⋯
Series of matrix operations
…
In this hackathon:
1. Solved the slow
calculation problem
from Qiskit.
2. Install cuStateVec
support GPU quantum
computer simulator
3. Using cuTensorNet
to solve insufficient
memory problem
https://developer.nvidia.com/cuquantum-sdk
Result
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
0.01
0.1
1
10
100
Time
(min)
No. Qubits
334data-cpu
334data-cuStatevec-A6000
334data-cuStatevec-A100*2
2data-cpu
2data-cuStatevec-A6000
2data-cuStatevec-A100*2
34.1 min
21.7 min
QSVM runtime test
3 min
35.8 min
1.9 min
1.1 min
19x speedup
33x speedup
1.6x speedup
11.4x speedup
0 4 8 12 16 20 24 28 32 36 40 44 48
84
86
88
90
92
94
96
98
100
102
Accuracy
(%)
Dimention
SVM-train
QSVM-train
QSVM(cost)-train
Result
Tumor metastasis classification
100% at 8q 100% at 20q
99% at 37q
Future work
Ø We will complete the code of cuTensorNet running the QSVM quantum circuit.
Ø We need to solve the overfitting problem in our study
Ø Understand the relationship and limitation of data size, circuit depth and qubit number on QSVM operation time.
Data size
Circuit depth
Qubit number
QSVM cuQuantum
0 4 8 12 16 20 24
84
86
88
90
92
94
96
98
100
102
Accuracy
Dimention
Trian
Test
Thanks
In this hackathon, we learned much about cuQuantum and GPU, hoping these
tools can accelerate quantum computing research in future.
Using the cuQuantum SDK to accelerate GPU-simulated quantum computing
brings hope to our research.
Result
Result
Generative modeling is not typically used for binary classification tasks, as it is
designed to model the probability distribution of the data rather than to classify it
directly. However, it is possible to use generative models for binary classification tasks
by combining them with a discriminative model.
One approach is to use a generative model, such as a Gaussian mixture model or a
variational autoencoder, to model the distribution of the data for each class. Then, a
discriminative model, such as a logistic regression or a neural network, can be trained
on the latent variables generated by the generative model to perform binary
classification.
Another approach is to use a generative adversarial network (GAN) to generate
synthetic data for each class. The discriminator of the GAN can then be trained to
classify the real and synthetic data as belonging to one of the two classes.
In both cases, it is important to ensure that the generative model is able to capture the
underlying distribution of the data for each class accurately. Otherwise, the
performance of the discriminative model will be limited.
Result
Here are the steps for the 1st approach on using a generative model and a discriminative model for binary classification:
1.Define the problem: Let's say we want to classify images as either cats or dogs. We have a relatively small dataset of
labeled images, and we want to use a generative model to augment the dataset and improve the performance of our
classifier.
2.Train the generative model: We will train a generative model, such as a Gaussian mixture model or a variational
autoencoder, on the labeled images in our dataset. The generative model will learn the underlying probability
distribution of the data for each class (i.e., the distribution of cat images and the distribution of dog images). Once the
generative model is trained, it can generate synthetic images of cats and dogs that are similar to the real images in the
dataset.
3.Generate synthetic data: Using the trained generative model, we can generate synthetic images of cats and dogs to
augment our dataset. We can control the number and type of synthetic images we generate by adjusting the input to the
generative model.
4.Train the discriminative model: We will train a discriminative model, such as a logistic regression or a neural network,
on the latent variables generated by the generative model. The discriminative model will learn to classify the images as
either cats or dogs based on the latent variables.
5.Evaluate the performance: We can evaluate the performance of our classifier on a separate test set to see if the
synthetic data has improved its performance. If the performance has improved, we can continue to generate synthetic
data and use it to augment our dataset further.
Overall, the use of a generative model to model the distribution of the data and generate synthetic data can be a
powerful tool for improving the performance of binary classifiers, especially when the original dataset is small or
unbalanced.
Result
Here's an example of the 2nd approach on how to use a GAN for binary classification:
1.Define the problem: Let's say we want to classify images as either cats or dogs. We have a dataset of images of
cats and dogs, but it is relatively small, and we want to generate synthetic images to augment the dataset and
improve the performance of our classifier.
2.Build the GAN: We will build a GAN consisting of a generator and a discriminator. The generator takes in a
random noise vector and outputs a synthetic image, while the discriminator takes in an image and predicts
whether it is real (i.e., from the dataset) or fake (i.e., generated by the generator). We will train the generator and
discriminator in an adversarial manner, where the generator tries to fool the discriminator, and the discriminator
tries to correctly classify the images as real or fake.
3.Train the GAN: We will train the GAN on the images in our dataset until the generator can produce realistic-
looking synthetic images of cats and dogs.
4.Generate synthetic data: Once the GAN is trained, we can use the generator to generate synthetic images of cats
and dogs. We can control the number and type of synthetic images we generate by adjusting the random noise
vector input to the generator.
5.Train the classifier: We can then combine the real and synthetic images to create an augmented dataset and
train our binary classifier on this dataset. The classifier should be able to classify both the real and synthetic
images accurately.
6.Evaluate the performance: We can evaluate the performance of our classifier on a separate test set to see if the
synthetic data has improved its performance. If the performance has improved, we can continue to generate
synthetic data and use it to augment our dataset further.
Overall, the use of a GAN to generate synthetic data can be a powerful tool for improving the performance of
binary classifiers, especially when the original dataset is small or unbalanced.
Result
Result

More Related Content

Similar to TWCC22_PPT_v3_KL.pdf quantum computer, quantum computer , quantum computer , quantum computer,

Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Appsilon Data Science
 
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...IRJET Journal
 
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...NeilDuraiswami
 
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videos
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In VideosA Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videos
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videosijtsrd
 
Neural basics
Neural basicsNeural basics
Neural basicscoursesub
 
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION cscpconf
 
Analysis on Fraud Detection Mechanisms Using Machine Learning Techniques
Analysis on Fraud Detection Mechanisms Using Machine Learning TechniquesAnalysis on Fraud Detection Mechanisms Using Machine Learning Techniques
Analysis on Fraud Detection Mechanisms Using Machine Learning TechniquesIRJET Journal
 
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...AIST
 
Gesture recognition system
Gesture recognition systemGesture recognition system
Gesture recognition systemeSAT Journals
 
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMPADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMIRJET Journal
 
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHES
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHESIMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHES
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHESVikash Kumar
 
IRJET - Implication of Convolutional Neural Network in the Classification...
IRJET -  	  Implication of Convolutional Neural Network in the Classification...IRJET -  	  Implication of Convolutional Neural Network in the Classification...
IRJET - Implication of Convolutional Neural Network in the Classification...IRJET Journal
 
Brain Tumor Classification using Support Vector Machine
Brain Tumor Classification using Support Vector MachineBrain Tumor Classification using Support Vector Machine
Brain Tumor Classification using Support Vector MachineIRJET Journal
 
IRJET- Proposed System for Animal Recognition using Image Processing
IRJET-  	  Proposed System for Animal Recognition using Image ProcessingIRJET-  	  Proposed System for Animal Recognition using Image Processing
IRJET- Proposed System for Animal Recognition using Image ProcessingIRJET Journal
 
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...Universitat Politècnica de Catalunya
 
IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2
 IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2 IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2
IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2IRJET Journal
 
Lung Cancer Detection using transfer learning.pptx.pdf
Lung Cancer Detection using transfer learning.pptx.pdfLung Cancer Detection using transfer learning.pptx.pdf
Lung Cancer Detection using transfer learning.pptx.pdfjagan477830
 
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfresearchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfAvijitChaudhuri3
 

Similar to TWCC22_PPT_v3_KL.pdf quantum computer, quantum computer , quantum computer , quantum computer, (20)

Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)
 
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...
Comparative Analysis of GANs and VAEs in Generating High-Quality Images: A Ca...
 
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...
Paper Presentation on CATTLE BREED DETECTION AND CATEGORIZATION USING IMAGE P...
 
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videos
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In VideosA Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videos
A Novel GA-SVM Model For Vehicles And Pedestrial Classification In Videos
 
Neural basics
Neural basicsNeural basics
Neural basics
 
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
CNN FEATURES ARE ALSO GREAT AT UNSUPERVISED CLASSIFICATION
 
Analysis on Fraud Detection Mechanisms Using Machine Learning Techniques
Analysis on Fraud Detection Mechanisms Using Machine Learning TechniquesAnalysis on Fraud Detection Mechanisms Using Machine Learning Techniques
Analysis on Fraud Detection Mechanisms Using Machine Learning Techniques
 
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...
Artem Baklanov - Votes Aggregation Techniques in Geo-Wiki Crowdsourcing Game:...
 
Gesture recognition system
Gesture recognition systemGesture recognition system
Gesture recognition system
 
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHMPADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
 
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHES
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHESIMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHES
IMAGE CLASSIFICATION USING DIFFERENT CLASSICAL APPROACHES
 
IRJET - Implication of Convolutional Neural Network in the Classification...
IRJET -  	  Implication of Convolutional Neural Network in the Classification...IRJET -  	  Implication of Convolutional Neural Network in the Classification...
IRJET - Implication of Convolutional Neural Network in the Classification...
 
Brain Tumor Classification using Support Vector Machine
Brain Tumor Classification using Support Vector MachineBrain Tumor Classification using Support Vector Machine
Brain Tumor Classification using Support Vector Machine
 
IRJET- Proposed System for Animal Recognition using Image Processing
IRJET-  	  Proposed System for Animal Recognition using Image ProcessingIRJET-  	  Proposed System for Animal Recognition using Image Processing
IRJET- Proposed System for Animal Recognition using Image Processing
 
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...
Generative Models and Adversarial Training (D2L3 Insight@DCU Machine Learning...
 
IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2
 IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2 IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2
IRJET - Explicit Content Detection using Faster R-CNN and SSD Mobilenet V2
 
Skin_Cancer.pptx
Skin_Cancer.pptxSkin_Cancer.pptx
Skin_Cancer.pptx
 
O18020393104
O18020393104O18020393104
O18020393104
 
Lung Cancer Detection using transfer learning.pptx.pdf
Lung Cancer Detection using transfer learning.pptx.pdfLung Cancer Detection using transfer learning.pptx.pdf
Lung Cancer Detection using transfer learning.pptx.pdf
 
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdfresearchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
researchpaper_2023_Skin_Csdbjsjvnvsdnfvancer.pdf
 

More from Kuan-Tsae Huang

0305吳家樂lecture qva lecture , letcutre , my talk.pdf
0305吳家樂lecture qva lecture , letcutre , my talk.pdf0305吳家樂lecture qva lecture , letcutre , my talk.pdf
0305吳家樂lecture qva lecture , letcutre , my talk.pdfKuan-Tsae Huang
 
discussion_3_project.pdf
discussion_3_project.pdfdiscussion_3_project.pdf
discussion_3_project.pdfKuan-Tsae Huang
 
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptxKuan-Tsae Huang
 
B 每產生1度氫電排放多少.pptx
B 每產生1度氫電排放多少.pptxB 每產生1度氫電排放多少.pptx
B 每產生1度氫電排放多少.pptxKuan-Tsae Huang
 
20230418 GPT Impact on Accounting & Finance -Reg.pdf
20230418 GPT Impact on Accounting & Finance -Reg.pdf20230418 GPT Impact on Accounting & Finance -Reg.pdf
20230418 GPT Impact on Accounting & Finance -Reg.pdfKuan-Tsae Huang
 
電動拖板車100208.pptx
電動拖板車100208.pptx電動拖板車100208.pptx
電動拖板車100208.pptxKuan-Tsae Huang
 
電動拖板車100121.pptx
電動拖板車100121.pptx電動拖板車100121.pptx
電動拖板車100121.pptxKuan-Tsae Huang
 
cs330_2021_lifelong_learning.pdf
cs330_2021_lifelong_learning.pdfcs330_2021_lifelong_learning.pdf
cs330_2021_lifelong_learning.pdfKuan-Tsae Huang
 
Thoughtworks Q1 2022 Investor Presentation.pdf
Thoughtworks Q1 2022 Investor Presentation.pdfThoughtworks Q1 2022 Investor Presentation.pdf
Thoughtworks Q1 2022 Investor Presentation.pdfKuan-Tsae Huang
 
20220828-How-do-you-build-an-effic.9658238.ppt.pptx
20220828-How-do-you-build-an-effic.9658238.ppt.pptx20220828-How-do-you-build-an-effic.9658238.ppt.pptx
20220828-How-do-you-build-an-effic.9658238.ppt.pptxKuan-Tsae Huang
 
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...Kuan-Tsae Huang
 

More from Kuan-Tsae Huang (20)

0305吳家樂lecture qva lecture , letcutre , my talk.pdf
0305吳家樂lecture qva lecture , letcutre , my talk.pdf0305吳家樂lecture qva lecture , letcutre , my talk.pdf
0305吳家樂lecture qva lecture , letcutre , my talk.pdf
 
lecture_16_jiajun.pdf
lecture_16_jiajun.pdflecture_16_jiajun.pdf
lecture_16_jiajun.pdf
 
MIT-Lec-11- RSA.pdf
MIT-Lec-11- RSA.pdfMIT-Lec-11- RSA.pdf
MIT-Lec-11- RSA.pdf
 
PQS_7_ruohan.pdf
PQS_7_ruohan.pdfPQS_7_ruohan.pdf
PQS_7_ruohan.pdf
 
lecture_1_2_ruohan.pdf
lecture_1_2_ruohan.pdflecture_1_2_ruohan.pdf
lecture_1_2_ruohan.pdf
 
lecture_6_jiajun.pdf
lecture_6_jiajun.pdflecture_6_jiajun.pdf
lecture_6_jiajun.pdf
 
discussion_3_project.pdf
discussion_3_project.pdfdiscussion_3_project.pdf
discussion_3_project.pdf
 
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx
經濟部科研成果價值創造計畫-簡報格式111.05.30.pptx
 
半導體實驗室.pptx
半導體實驗室.pptx半導體實驗室.pptx
半導體實驗室.pptx
 
B 每產生1度氫電排放多少.pptx
B 每產生1度氫電排放多少.pptxB 每產生1度氫電排放多少.pptx
B 每產生1度氫電排放多少.pptx
 
20230418 GPT Impact on Accounting & Finance -Reg.pdf
20230418 GPT Impact on Accounting & Finance -Reg.pdf20230418 GPT Impact on Accounting & Finance -Reg.pdf
20230418 GPT Impact on Accounting & Finance -Reg.pdf
 
電動拖板車100208.pptx
電動拖板車100208.pptx電動拖板車100208.pptx
電動拖板車100208.pptx
 
電動拖板車100121.pptx
電動拖板車100121.pptx電動拖板車100121.pptx
電動拖板車100121.pptx
 
cs330_2021_lifelong_learning.pdf
cs330_2021_lifelong_learning.pdfcs330_2021_lifelong_learning.pdf
cs330_2021_lifelong_learning.pdf
 
FIN330 Chapter 20.pptx
FIN330 Chapter 20.pptxFIN330 Chapter 20.pptx
FIN330 Chapter 20.pptx
 
FIN330 Chapter 22.pptx
FIN330 Chapter 22.pptxFIN330 Chapter 22.pptx
FIN330 Chapter 22.pptx
 
FIN330 Chapter 01.pptx
FIN330 Chapter 01.pptxFIN330 Chapter 01.pptx
FIN330 Chapter 01.pptx
 
Thoughtworks Q1 2022 Investor Presentation.pdf
Thoughtworks Q1 2022 Investor Presentation.pdfThoughtworks Q1 2022 Investor Presentation.pdf
Thoughtworks Q1 2022 Investor Presentation.pdf
 
20220828-How-do-you-build-an-effic.9658238.ppt.pptx
20220828-How-do-you-build-an-effic.9658238.ppt.pptx20220828-How-do-you-build-an-effic.9658238.ppt.pptx
20220828-How-do-you-build-an-effic.9658238.ppt.pptx
 
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...
Amine solvent development for carbon dioxide capture by yang du, 2016 (doctor...
 

Recently uploaded

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 

TWCC22_PPT_v3_KL.pdf quantum computer, quantum computer , quantum computer , quantum computer,

  • 1. Classification of tumor metastasis data using Quantum kernel-based algorithm Team:QKBA Mentors:Leo (NVIDIA), Jay (NVIDIA) Mentees:Tai-Yue Li (National Synchrotron Radiation Research Center), Cheng-Fang Su (National Yang Ming Chiao Tung University),, Chung-Hsing Hsu (Asia University), Kuan-Cheng Chen (QuEST), Ka-Lok Ng (Asia University) tim312508@gmail.com , scf1204@nycu.edu.tw
  • 2. Introduction Primary tumor Blood or lymphatic system New tumor High mortality Cancer cells We need an effective method to predict tumor metastasis to help patients prevent it in advance.
  • 3. Introduction non-metastasis tumor metastasis tumor Next Generation Sequencing (NGS) … non-metastasis tumor gene … metastasis tumor gene Biomarker
  • 4. Introduction Currently, we don't have effective methods to find biomarkers of tumor metastasis. How effective is the classification of tumor metastasis data using the QSVM algorithm? Supervised learning with quantum enhanced feature spaces Nature volume 567, pages209–212 (2019)
  • 5. Introduction x1 |0 > |0 > classical data space 2 data points with 2 features: x2 x1 feature1 x1 feature2 x2 feature1 x2 feature2 x2 x1 x1 feature1 x1 feature2 U(x1) x2 feature1 x2 feature2 U+(x2) q1 q2 Quantum feature space x2 x1 n features = n qubits Quantum feature map circuit (non-liner map function) Transition amplitude of two data a x1 x2 Measure the expectations value at zero state Computation time costs = 2n (n qubits) from numbers of features 0.5m2 (m data) from numbers of data x 1 a 1 a x1 x2 x1 x2 SVM Classification Quantum kernel matrix
  • 6. Issue Insufficient computing resources and long computing time are the main problems. We screened out 48 important gene expression as features for tumor metastasis classification. Ø The amount of calculation required is as high as 2 to the 48th power. (248) Classical computer • Difficult to perform Real quantum computer • Calculation cost very high • Result will be affected by noise Although the principal component analysis (PCA) can reduce the number of qubits can make the program executable on a classical computer. Ø The number of qubits and the amount of data increase, the calculation time will also increase significantly. Ø We need to know which gene is related to tumor metastasis. Therefore, a better solution is to alleviate the limitation of computing resources
  • 7. Solution We use the cuQuantum SDK to accelerate the GPU simulate QSVM. And cuQuantum can use the two technologies of cuStateVec and cuTensorNet to accelerate the matrix calculation using GPU. The quantum circuit operations can be regarded as a series of matrix operations. |0 > |0 > ….. U(x1) U+(x2) M |0 > |0 > ….. QSVM quantum circuit ⋯ ⋮ ⋱ ⋮ ⋯ ⋯ ⋮ ⋱ ⋮ ⋯ Series of matrix operations … In this hackathon: 1. Solved the slow calculation problem from Qiskit. 2. Install cuStateVec support GPU quantum computer simulator 3. Using cuTensorNet to solve insufficient memory problem https://developer.nvidia.com/cuquantum-sdk
  • 8. Result 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 0.01 0.1 1 10 100 Time (min) No. Qubits 334data-cpu 334data-cuStatevec-A6000 334data-cuStatevec-A100*2 2data-cpu 2data-cuStatevec-A6000 2data-cuStatevec-A100*2 34.1 min 21.7 min QSVM runtime test 3 min 35.8 min 1.9 min 1.1 min 19x speedup 33x speedup 1.6x speedup 11.4x speedup
  • 9. 0 4 8 12 16 20 24 28 32 36 40 44 48 84 86 88 90 92 94 96 98 100 102 Accuracy (%) Dimention SVM-train QSVM-train QSVM(cost)-train Result Tumor metastasis classification 100% at 8q 100% at 20q 99% at 37q
  • 10. Future work Ø We will complete the code of cuTensorNet running the QSVM quantum circuit. Ø We need to solve the overfitting problem in our study Ø Understand the relationship and limitation of data size, circuit depth and qubit number on QSVM operation time. Data size Circuit depth Qubit number QSVM cuQuantum 0 4 8 12 16 20 24 84 86 88 90 92 94 96 98 100 102 Accuracy Dimention Trian Test
  • 11. Thanks In this hackathon, we learned much about cuQuantum and GPU, hoping these tools can accelerate quantum computing research in future. Using the cuQuantum SDK to accelerate GPU-simulated quantum computing brings hope to our research.
  • 13. Result Generative modeling is not typically used for binary classification tasks, as it is designed to model the probability distribution of the data rather than to classify it directly. However, it is possible to use generative models for binary classification tasks by combining them with a discriminative model. One approach is to use a generative model, such as a Gaussian mixture model or a variational autoencoder, to model the distribution of the data for each class. Then, a discriminative model, such as a logistic regression or a neural network, can be trained on the latent variables generated by the generative model to perform binary classification. Another approach is to use a generative adversarial network (GAN) to generate synthetic data for each class. The discriminator of the GAN can then be trained to classify the real and synthetic data as belonging to one of the two classes. In both cases, it is important to ensure that the generative model is able to capture the underlying distribution of the data for each class accurately. Otherwise, the performance of the discriminative model will be limited.
  • 14. Result Here are the steps for the 1st approach on using a generative model and a discriminative model for binary classification: 1.Define the problem: Let's say we want to classify images as either cats or dogs. We have a relatively small dataset of labeled images, and we want to use a generative model to augment the dataset and improve the performance of our classifier. 2.Train the generative model: We will train a generative model, such as a Gaussian mixture model or a variational autoencoder, on the labeled images in our dataset. The generative model will learn the underlying probability distribution of the data for each class (i.e., the distribution of cat images and the distribution of dog images). Once the generative model is trained, it can generate synthetic images of cats and dogs that are similar to the real images in the dataset. 3.Generate synthetic data: Using the trained generative model, we can generate synthetic images of cats and dogs to augment our dataset. We can control the number and type of synthetic images we generate by adjusting the input to the generative model. 4.Train the discriminative model: We will train a discriminative model, such as a logistic regression or a neural network, on the latent variables generated by the generative model. The discriminative model will learn to classify the images as either cats or dogs based on the latent variables. 5.Evaluate the performance: We can evaluate the performance of our classifier on a separate test set to see if the synthetic data has improved its performance. If the performance has improved, we can continue to generate synthetic data and use it to augment our dataset further. Overall, the use of a generative model to model the distribution of the data and generate synthetic data can be a powerful tool for improving the performance of binary classifiers, especially when the original dataset is small or unbalanced.
  • 15. Result Here's an example of the 2nd approach on how to use a GAN for binary classification: 1.Define the problem: Let's say we want to classify images as either cats or dogs. We have a dataset of images of cats and dogs, but it is relatively small, and we want to generate synthetic images to augment the dataset and improve the performance of our classifier. 2.Build the GAN: We will build a GAN consisting of a generator and a discriminator. The generator takes in a random noise vector and outputs a synthetic image, while the discriminator takes in an image and predicts whether it is real (i.e., from the dataset) or fake (i.e., generated by the generator). We will train the generator and discriminator in an adversarial manner, where the generator tries to fool the discriminator, and the discriminator tries to correctly classify the images as real or fake. 3.Train the GAN: We will train the GAN on the images in our dataset until the generator can produce realistic- looking synthetic images of cats and dogs. 4.Generate synthetic data: Once the GAN is trained, we can use the generator to generate synthetic images of cats and dogs. We can control the number and type of synthetic images we generate by adjusting the random noise vector input to the generator. 5.Train the classifier: We can then combine the real and synthetic images to create an augmented dataset and train our binary classifier on this dataset. The classifier should be able to classify both the real and synthetic images accurately. 6.Evaluate the performance: We can evaluate the performance of our classifier on a separate test set to see if the synthetic data has improved its performance. If the performance has improved, we can continue to generate synthetic data and use it to augment our dataset further. Overall, the use of a GAN to generate synthetic data can be a powerful tool for improving the performance of binary classifiers, especially when the original dataset is small or unbalanced.