Table of Contents
Fetching ...

FinTexTS: Financial Text-Paired Time-Series Dataset via Semantic-Based and Multi-Level Pairing

Jaehoon Lee, Suhwan Park, Tae Yoon Lim, Seunghan Lee, Jun Seo, Dongwan Kang, Hwanil Choi, Minjae Kim, Sungdong Yoo, SoonYoung Lee, Yongjae Lee, Wonbin Ahn

TL;DR

This work proposes a semantic-based and multi-level pairing framework that extracts company-specific context for the target company from SEC filings and applies an embedding-based matching mechanism to retrieve semantically relevant news articles based on this context, enabling multi-level pairing of news articles with the target company.

Abstract

The financial domain involves a variety of important time-series problems. Recently, time-series analysis methods that jointly leverage textual and numerical information have gained increasing attention. Accordingly, numerous efforts have been made to construct text-paired time-series datasets in the financial domain. However, financial markets are characterized by complex interdependencies, in which a company's stock price is influenced not only by company-specific events but also by events in other companies and broader macroeconomic factors. Existing approaches that pair text with financial time-series data based on simple keyword matching often fail to capture such complex relationships. To address this limitation, we propose a semantic-based and multi-level pairing framework. Specifically, we extract company-specific context for the target company from SEC filings and apply an embedding-based matching mechanism to retrieve semantically relevant news articles based on this context. Furthermore, we classify news articles into four levels (macro-level, sector-level, related company-level, and target-company level) using large language models (LLMs), enabling multi-level pairing of news articles with the target company. Applying this framework to publicly-available news datasets, we construct \textbf{FinTexTS}, a new large-scale text-paired stock price dataset. Experimental results on \textbf{FinTexTS} demonstrate the effectiveness of our semantic-based and multi-level pairing strategy in stock price forecasting. In addition to publicly-available news underlying \textbf{FinTexTS}, we show that applying our method to proprietary yet carefully curated news sources leads to higher-quality paired data and improved stock price forecasting performance.

FinTexTS: Financial Text-Paired Time-Series Dataset via Semantic-Based and Multi-Level Pairing

TL;DR

This work proposes a semantic-based and multi-level pairing framework that extracts company-specific context for the target company from SEC filings and applies an embedding-based matching mechanism to retrieve semantically relevant news articles based on this context, enabling multi-level pairing of news articles with the target company.

Abstract

The financial domain involves a variety of important time-series problems. Recently, time-series analysis methods that jointly leverage textual and numerical information have gained increasing attention. Accordingly, numerous efforts have been made to construct text-paired time-series datasets in the financial domain. However, financial markets are characterized by complex interdependencies, in which a company's stock price is influenced not only by company-specific events but also by events in other companies and broader macroeconomic factors. Existing approaches that pair text with financial time-series data based on simple keyword matching often fail to capture such complex relationships. To address this limitation, we propose a semantic-based and multi-level pairing framework. Specifically, we extract company-specific context for the target company from SEC filings and apply an embedding-based matching mechanism to retrieve semantically relevant news articles based on this context. Furthermore, we classify news articles into four levels (macro-level, sector-level, related company-level, and target-company level) using large language models (LLMs), enabling multi-level pairing of news articles with the target company. Applying this framework to publicly-available news datasets, we construct \textbf{FinTexTS}, a new large-scale text-paired stock price dataset. Experimental results on \textbf{FinTexTS} demonstrate the effectiveness of our semantic-based and multi-level pairing strategy in stock price forecasting. In addition to publicly-available news underlying \textbf{FinTexTS}, we show that applying our method to proprietary yet carefully curated news sources leads to higher-quality paired data and improved stock price forecasting performance.
Paper Structure (25 sections, 10 figures, 7 tables)

This paper contains 25 sections, 10 figures, 7 tables.

Figures (10)

  • Figure 1: Overview of the proposed semantic-based and multi-level pairing framework. Given a target company and a date, the framework retrieves semantically relevant texts at four levels (from 1 to 4) and pairs them with the target company’s stock price on that date. 1 represents the paired text at the macro level, while 2 corresponds to the sector-level paired text. 3 and 4 denote the paired texts at the company level, where 3 captures the information of related company and 4 represents the target company-specific information.
  • Figure 2: Keyword-based vs. Semantic-based pairing method. Existing approaches rely on keyword-based matching, whereas the proposed semantic-based method enables the retrieval of more semantically relevant text even without explicit keywords.
  • Figure 3: LLM prompts used in our framework. Full version of LLM prompts are available in Appendix \ref{['appen:llm_prompt']}.
  • Figure 4: Effect of Multi-Level Text Pairing on Forecasting Performance. In the left figure, textual information is progressively added from the macro level to the target company level to examine changes in forecasting performance, while the right figure shows performance changes when textual information is added in the reverse order.
  • Figure 5: Sensitivity analysis of the retrieval size $N$ using the evaluation metrics MSE (left) and MAE (right).
  • ...and 5 more figures