Multi-level Adversarial Training for Stock Sentiment Prediction

Zimu Wang*, Hong Seng Gan

*Corresponding author for this work

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

1 Citation (Scopus)

Abstract

Stock sentiment prediction is a task to evaluate whether the investors are expecting or gaining a positive or negative return from a stock, which has a high correlation with investors' sentiments towards the business. However, as the nature of social media, the textual information posted by ordinary people is usually noisy, inconsistent, and even grammatically incorrect, leading the model to generate unsatisfied predictions. In this paper, we improve the performance of stock sentiment prediction by applying and comparing adversarial training at multiple levels, including character, word, and sentence levels, with the utilization of three novel adversarial attack models: DeepWordBug, BAE, and Generative Adversarial Network (GAN). We also propose an effective pre-processing technique and a novel adversarial examples incorporation method to improve the prediction results. To make an objective evaluation, we select three backbone models: Embedding Bag, BERT, and RoBERTa-Twitter, and validate the models before and after adversarial training on the TweetFinSent dataset. Experimental results demonstrate remarkable improvements in the models after adversarial training, and the RoBERTa-Twitter model with word-level adversarial training performs optimally among the experimented models. We conclude that sentence-level and word-level adversarial training are the most appropriate for deep learning and pre-trained language models, respectively, and we further conduct ablation studies to highlight the usefulness of our data pre-processing and adversarial examples incorporation approaches and a case study to display the adversarial examples generated by the proposed adversarial attack models.

Original languageEnglish
Title of host publication2023 IEEE 3rd International Conference on Computer Communication and Artificial Intelligence, CCAI 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages127-134
Number of pages8
ISBN (Electronic)9798350335262
DOIs
Publication statusPublished - 2023
Event3rd IEEE International Conference on Computer Communication and Artificial Intelligence, CCAI 2023 - Taiyuan, China
Duration: 26 May 202328 May 2023

Publication series

Name2023 IEEE 3rd International Conference on Computer Communication and Artificial Intelligence, CCAI 2023

Conference

Conference3rd IEEE International Conference on Computer Communication and Artificial Intelligence, CCAI 2023
Country/TerritoryChina
CityTaiyuan
Period26/05/2328/05/23

Keywords

  • Adversarial Training
  • Natural Language Processing
  • Sentiment Analysis
  • Stock Sentiment
  • Textual Adversarial Attack

Fingerprint

Dive into the research topics of 'Multi-level Adversarial Training for Stock Sentiment Prediction'. Together they form a unique fingerprint.

Cite this