A Sentiment Analysis Method Based on a Blockchain-Supported Long Short-Term Memory Deep Network

Sensors (Basel). 2022 Jun 11;22(12):4419. doi: 10.3390/s22124419.

Abstract

Traditional sentiment analysis methods are based on text-, visual- or audio-processing using different machine learning and/or deep learning architecture, depending on the data type. This situation comes with technical processing diversity and cultural temperament effect on analysis of the results, which means the results can change according to the cultural diversities. This study integrates a blockchain layer with an LSTM architecture. This approach can be regarded as a machine learning application that enables the transfer of the metadata of the ledger to the learning database by establishing a cryptographic connection, which is created by adding the next sentiment with the same value to the ledger as a smart contract. Thus, a "Proof of Learning" consensus blockchain layer integrity framework, which constitutes the confirmation mechanism of the machine learning process and handles data management, is provided. The proposed method is applied to a Twitter dataset with the emotions of negative, neutral and positive. Previous sentiment analysis methods on the same data achieved accuracy rates of 14% in a specific culture and 63% in a the culture that has appealed to a wider audience in the past. This study puts forth a very promising improvement by increasing the accuracy to 92.85%.

Keywords: blockchain; machine learning; sentiment analysis; smart contracts.

MeSH terms

  • Attitude
  • Blockchain*
  • Humans
  • Machine Learning
  • Memory, Short-Term
  • Sentiment Analysis