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 条
  • [31] Classical-quantum semigroups
    Aniello, Paolo
    XXII INTERNATIONAL CONFERENCE ON INTEGRABLE SYSTEMS AND QUANTUM SYMMETRIES (ISQS-22), 2014, 563
  • [32] Remote Sensing Image Scene Classification in Hybrid Classical-Quantum Transferring CNN with Small Samples
    Zhang, Zhouwei
    Mi, Xiaofei
    Yang, Jian
    Wei, Xiangqin
    Liu, Yan
    Yan, Jian
    Liu, Peizhuo
    Gu, Xingfa
    Yu, Tao
    SENSORS, 2023, 23 (18)
  • [33] The Classical-Quantum Limit
    Layton, Isaac
    Oppenheim, Jonathan
    PRX QUANTUM, 2024, 5 (02):
  • [34] Quantum Algorithm Cards: Streamlining the Development of Hybrid Classical-Quantum Applications
    Stirbu, Vlad
    Haghparast, Majid
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT II, 2024, 14484 : 125 - 130
  • [35] Classical-Quantum Limits
    Todd A. Oliynyk
    Foundations of Physics, 2016, 46 : 1551 - 1572
  • [36] Classical-Quantum Limits
    Oliynyk, Todd A.
    FOUNDATIONS OF PHYSICS, 2016, 46 (12) : 1551 - 1572
  • [37] Using Open API for the Development of Hybrid Classical-Quantum Services
    Romero-Alvarez, Javier
    Alvarado-Valiente, Jaime
    Moguel, Enrique
    Garcia-Alonso, Jose
    Murillo, Juan M.
    SERVICE-ORIENTED COMPUTING - ICSOC 2022 WORKSHOPS, 2023, 13821 : 364 - 368
  • [38] A modified classical-quantum model for diabetic foot ulcer classification
    Amin, Javeria
    Anjum, Muhammad Almas
    Sharif, Abida
    Sharif, Muhammad Imran
    INTELLIGENT DECISION TECHNOLOGIES-NETHERLANDS, 2022, 16 (01): : 23 - 28
  • [39] Solving Sudoku game using a hybrid classical-quantum algorithm
    Pal, Ankur
    Chandra, Sanghita
    Mongia, Vardaan
    Behera, Bikash K.
    Panigrahi, Prasanta K.
    EPL, 2019, 128 (04)
  • [40] Domain adaptation based on hybrid classical-quantum neural network
    Yihua Wu
    Chunhui Wu
    Anqi Zhang
    Shengmei Zhao
    Quantum Information Processing, 22