Enhancing stock timing predictions based on multimodal architecture: Leveraging large language models (LLMs) for text quality improvement

M Mingming Chen Y Yifan Tang Q Qi Qi (State Key Laboratory of Animal Biodiversity Conservation and Integrated Pest Management, Institute of Zoology, Chinese Academy of Sciences) H Hongyi Dai Y Yi Lin C Chengxiu Ling T Tenglong Li (Key Laboratory of Bio-inspired Materials and Interfacial Science, Technical Institute of Physics and Chemistry)

Abstract

This study aims to enhance stock timing predictions by leveraging large language models (LLMs), specifically GPT-4, to filter and analyze online investor comment data. Recognizing challenges such as variable comment quality, redundancy, and authenticity issues, we propose a multimodal architecture that integrates filtered comment data with stock price dynamics and technical indicators. Using data from nine Chinese banks, we compare four filtering models and demonstrate that employing GPT-4 significantly improves financial metrics like profit-loss ratio, win rate, and excess return rate. The multimodal architecture outperforms baseline models by effectively preprocessing comment data and combining it with quantitative financial data. While focused on Chinese banks, the approach can be adapted to broader markets by modifying the prompts of large language models. Our findings highlight the potential of LLMs in financial forecasting and provide more reliable decision support for investors.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 6
Published June 18, 2025
Pages e0326034
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (7)

M

Mingming Chen

Y

Yifan Tang

Q

Qi Qi

State Key Laboratory of Animal Biodiversity Conservation and Integrated Pest Management, Institute of Zoology, Chinese Academy of Sciences

H

Hongyi Dai

Y

Yi Lin

C

Chengxiu Ling

T

Tenglong Li

Key Laboratory of Bio-inspired Materials and Interfacial Science, Technical Institute of Physics and Chemistry