Hybrid classical-quantum transfer learning for text classification

被引:1
|
作者
Ardeshir-Larijani, Ebrahim [1 ]
Nasiri Fatmehsari, Mohammad Mahdi [2 ]
机构
[1] Iran Univ Sci & Technol, Sch Math & Comp Sci, Tehran, Iran
[2] Pasargad Inst Adv Innovat Solut, Tehran, Iran
关键词
Quantum machine learning; Natural language processing; Variational quantum computing;
D O I
10.1007/s42484-024-00147-2
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Quantum machine learning (QML) is a promising field that combines the power of quantum computing with machine learning. Variational quantum circuits, where parameters of circuits are learned classically, have been widely used in many recent applications of QML. This is an instance of a hybrid quantum-classical framework, where both classical and quantum components are present. However, applying these techniques to applications involving massive data is a challenging task. One way to overcome this, is using the concept of classical-quantum transfer learning with the help of a dressed quantum circuit, introduced recently, where the underlying neural architecture is pre-trained classically, but at the final steps (decision layer), a quantum circuit is used, followed by quantum measurements and post-processing to classify images with high precision. In this paper, we applied hybrid classical-quantum transfer learning to another task of massive data processing, i.e., natural language processing (NLP). We show how to (binary) classify short texts (e.g., SMS) with classical-quantum transfer learning, which was originally applied to image processing only. Our quantum network uses pre-trained Bidirectional Encoder Representations from the Transformers (BERT) model, and its variational quantum circuit is fine-tuned for text processing. We evaluated the performance of our hybrid neural architecture using the receiver operating characteristic (ROC) curve, which is typically used in the evaluation of classification problems. The results indicate high precision as well as lower loss function. To our knowledge, our work is the first application of quantum transfer learning to the area of NLP. Finally, a comparison with a tool that uses learning but in a different way than transfer learning is presented.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Transfer learning in hybrid classical-quantum neural networks
    Mari, Andrea
    Bromley, Thomas R.
    Izaac, Josh
    Schuld, Maria
    Killoran, Nathan
    [J]. QUANTUM, 2020, 4
  • [2] Hybrid Classical-Quantum Text Search Based on Hashing
    Ablayev, Farid
    Salikhova, Nailya
    Ablayev, Marat
    [J]. MATHEMATICS, 2024, 12 (12)
  • [3] A hybrid classical-quantum approach for multi-class classification
    Chalumuri, Avinash
    Kune, Raghavendra
    Manoj, B. S.
    [J]. QUANTUM INFORMATION PROCESSING, 2021, 20 (03)
  • [4] Hybrid Classical-Quantum Transfer Learning for Cardiomegaly Detection in Chest X-rays
    Decoodt, Pierre
    Liang, Tan Jun
    Bopardikar, Soham
    Santhanam, Hemavathi
    Eyembe, Alfaxad
    Garcia-Zapirain, Begonya
    Sierra-Sosa, Daniel
    [J]. JOURNAL OF IMAGING, 2023, 9 (07)
  • [5] A hybrid classical-quantum approach for multi-class classification
    Avinash Chalumuri
    Raghavendra Kune
    B. S. Manoj
    [J]. Quantum Information Processing, 2021, 20
  • [6] Hybrid classical-quantum dynamics
    Peres, A
    Terno, DR
    [J]. PHYSICAL REVIEW A, 2001, 63 (02):
  • [7] Image Classification Using Hybrid Classical-Quantum Neutral Networks
    Ling, Ya-Qi
    Zhang, Jun-Hu
    Zhang, Li-Hua
    Li, Yan-Ran
    Huang, Hui-Lei
    [J]. INTERNATIONAL JOURNAL OF THEORETICAL PHYSICS, 2024, 63 (05)
  • [8] Semiconductor Defect Detection by Hybrid Classical-Quantum Deep Learning
    Yang, Yuan-Fu
    Sun, Min
    [J]. 2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, : 2313 - 2322
  • [9] Underwater Animal Identification and Classification Using a Hybrid Classical-Quantum Algorithm
    Pravin, Sheena Christabel
    Rohith, G.
    Kiruthika, V.
    Manikandan, E.
    Methelesh, S.
    Manoj, A.
    [J]. IEEE ACCESS, 2023, 11 : 141902 - 141914
  • [10] Classical-quantum hybrid transfer learning for adverse drug reaction detection from social media posts
    Dey, Arijit
    Shrivastava, Jitendra Nath
    Kumar, Chandan
    [J]. JOURNAL OF COMPUTATIONAL SOCIAL SCIENCE, 2024, 7 (02): : 1433 - 1450