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 条
  • [21] A hybrid classical-quantum approach to speed-up Q-learning
    Sannia, A.
    Giordano, A.
    Lo Gullo, N.
    Mastroianni, C.
    Plastina, F.
    SCIENTIFIC REPORTS, 2023, 13 (01)
  • [22] A hybrid classical-quantum clustering algorithm based on quantum walks
    Qiang Li
    Yan He
    Jing-ping Jiang
    Quantum Information Processing, 2011, 10 : 13 - 26
  • [23] A hybrid classical-quantum clustering algorithm based on quantum walks
    Li, Qiang
    He, Yan
    Jiang, Jing-Ping
    QUANTUM INFORMATION PROCESSING, 2011, 10 (01) : 13 - 26
  • [24] A hybrid classical-quantum algorithm for digital image processing
    Alok Shukla
    Prakash Vedula
    Quantum Information Processing, 22
  • [25] A hybrid classical-quantum algorithm for digital image processing
    Shukla, Alok
    Vedula, Prakash
    QUANTUM INFORMATION PROCESSING, 2022, 22 (01)
  • [26] Hybrid classical-quantum machine learning based on dissipative two-qubit channels
    Ghasemian, E.
    Tavassoly, M. K.
    SCIENTIFIC REPORTS, 2022, 12 (01)
  • [27] Turning the Tables in Hybrid Classical-Quantum Systems-Classical Optimization of Quantum Algorithms
    Udrescu, Mihai
    18TH INTERNATIONAL SYMPOSIUM ON APPLIED COMPUTATIONAL INTELLIGENCE AND INFORMATICS, SACI 2024, 2024, : 23 - 23
  • [28] A hybrid classical-quantum workflow for natural language processing
    O'Riordan, Lee J.
    Doyle, Myles
    Baruffa, Fabio
    Kannan, Venkatesh
    MACHINE LEARNING-SCIENCE AND TECHNOLOGY, 2021, 2 (01):
  • [29] Hybrid classical-quantum machine learning based on dissipative two-qubit channels
    E. Ghasemian
    M. K. Tavassoly
    Scientific Reports, 12
  • [30] Diabetic Retinopathy Detection Using Classical-Quantum Transfer Learning Approach and Probability Model
    Mir, Amna
    Yasin, Umer
    Khan, Salman Naeem
    Athar, Atifa
    Jabeen, Riffat
    Aslam, Sehrish
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 71 (02): : 3733 - 3746