LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Meiyun, Izumi, Kiyoshi, Sakaji, Hiroki
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911919241166848
author Wang, Meiyun
Izumi, Kiyoshi
Sakaji, Hiroki
author_facet Wang, Meiyun
Izumi, Kiyoshi
Sakaji, Hiroki
contents Recently, Large Language Models (LLMs) have attracted significant attention for their exceptional performance across a broad range of tasks, particularly in text analysis. However, the finance sector presents a distinct challenge due to its dependence on time-series data for complex forecasting tasks. In this study, we introduce a novel framework called LLMFactor, which employs Sequential Knowledge-Guided Prompting (SKGP) to identify factors that influence stock movements using LLMs. Unlike previous methods that relied on keyphrases or sentiment analysis, this approach focuses on extracting factors more directly related to stock market dynamics, providing clear explanations for complex temporal changes. Our framework directs the LLMs to create background knowledge through a fill-in-the-blank strategy and then discerns potential factors affecting stock prices from related news. Guided by background knowledge and identified factors, we leverage historical stock prices in textual format to predict stock movement. An extensive evaluation of the LLMFactor framework across four benchmark datasets from both the U.S. and Chinese stock markets demonstrates its superiority over existing state-of-the-art methods and its effectiveness in financial time-series forecasting.
format Preprint
id arxiv_https___arxiv_org_abs_2406_10811
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction
Wang, Meiyun
Izumi, Kiyoshi
Sakaji, Hiroki
Computation and Language
Artificial Intelligence
Computational Engineering, Finance, and Science
Recently, Large Language Models (LLMs) have attracted significant attention for their exceptional performance across a broad range of tasks, particularly in text analysis. However, the finance sector presents a distinct challenge due to its dependence on time-series data for complex forecasting tasks. In this study, we introduce a novel framework called LLMFactor, which employs Sequential Knowledge-Guided Prompting (SKGP) to identify factors that influence stock movements using LLMs. Unlike previous methods that relied on keyphrases or sentiment analysis, this approach focuses on extracting factors more directly related to stock market dynamics, providing clear explanations for complex temporal changes. Our framework directs the LLMs to create background knowledge through a fill-in-the-blank strategy and then discerns potential factors affecting stock prices from related news. Guided by background knowledge and identified factors, we leverage historical stock prices in textual format to predict stock movement. An extensive evaluation of the LLMFactor framework across four benchmark datasets from both the U.S. and Chinese stock markets demonstrates its superiority over existing state-of-the-art methods and its effectiveness in financial time-series forecasting.
title LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction
topic Computation and Language
Artificial Intelligence
Computational Engineering, Finance, and Science
url https://arxiv.org/abs/2406.10811