This paper presents a text classification algorithm inspired by the notion of superposition of states in quantum physics. By regarding text as a superposition of words, we derive the wave function of a document and we compute the transition probability of the document to a target class according to Born’s rule. Two complementary implementations are presented. In the first one, wave functions are calculated explicitly. The second implementation embeds the classifier in a neural network architecture. Through analysis of three benchmark datasets, we illustrate several aspects of the proposed method, such as classification performance, explainability, and computational efficiency. These ideas are also applicable to non-textual data.

Text Classification with Born's Rule / E. Guidotti, A. Ferrara - In: Advances in Neural Information Processing Systems 36 (NeurIPS 2022) / [a cura di] S. Koyejo and S. Mohamed and A. Agarwal and D. Belgrave and K. Cho and A. Oh. - [s.l] : Curran Associates, Inc., 2022. - pp. 30990-31001 (( Intervento presentato al 35. convegno Advances in Neural Information Processing Systems 3(NeurIPS 2022) tenutosi a New Orleans nel 2022.

Text Classification with Born's Rule

A. Ferrara
2022

Abstract

This paper presents a text classification algorithm inspired by the notion of superposition of states in quantum physics. By regarding text as a superposition of words, we derive the wave function of a document and we compute the transition probability of the document to a target class according to Born’s rule. Two complementary implementations are presented. In the first one, wave functions are calculated explicitly. The second implementation embeds the classifier in a neural network architecture. Through analysis of three benchmark datasets, we illustrate several aspects of the proposed method, such as classification performance, explainability, and computational efficiency. These ideas are also applicable to non-textual data.
Text classification; machine learning; artificial intelligence
Settore INF/01 - Informatica
2022
https://proceedings.neurips.cc/paper_files/paper/2022/file/c88d0c9bea6230b518ce71268c8e49e0-Paper-Conference.pdf
Book Part (author)
File in questo prodotto:
File Dimensione Formato  
Text_Classification_with_Born_s_Rule.pdf

accesso aperto

Tipologia: Post-print, accepted manuscript ecc. (versione accettata dall'editore)
Dimensione 1.7 MB
Formato Adobe PDF
1.7 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/962256
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact