Knowledge-Driven Event Embedding for Stock Prediction

Xiao Ding, Yue Zhang, Ting Liu, Junwen Duan

Abstract

Financial news events are critical drivers of stock market volatility, yet standard natural language processing models often fail to capture the underlying "common sense" context necessary for accurate forecasting. This paper presents a Knowledge-Driven Event Embedding (KGEB) framework that bridges this gap by integrating structured background knowledge from Knowledge Graphs (KG) into neural event representations. By jointly training event and knowledge embeddings, the model learns to differentiate semantically distinct events with similar syntactic structures. Experimental results on S&P 500 index prediction demonstrate that KGEB significantly outperforms state-of-the-art text-only models, achieving an accuracy of 66.93% and a Matthews Correlation Coefficient of 0.5072.

Introduction

Event-driven stock prediction relies on extracting structured information from news (e.g., "Microsoft profit rises") and converting it into dense vector embeddings. However, text-only models suffer from two primary issues: false similarities (syntactically similar but semantically different events) and missing links (failure to connect related entities like competitors). For instance, "Steve Jobs quits Apple" carries significantly more market weight than a generic employee departure, a distinction that requires external knowledge to interpret correctly.

Methodology

The researchers developed the Knowledge-Driven Event Embedding (KGEB) framework to address these limitations. The system consists of three integrated components:

  1. The Event Model: Utilizes a Neural Tensor Network (NTN) to combine the embeddings of an event's components—the Agent (A), Predicate (P), and Object (O)—into a single dense vector.
  2. The Knowledge Model: Encodes information from the YAGO Knowledge Graph, capturing both categorical knowledge (e.g., "Steve Jobs is a billionaire") and relational knowledge (e.g., "Steve Jobs is the CEO of Apple").
  3. The Joint Model: The core innovation where the model jointly trains event and knowledge embeddings in a shared vector space. By sharing entity vectors, the model "anchors" news events in real-world facts.
The KGEB framework architecture illustrating the integration of relational and categorical knowledge into a joint event vector space.

The objective function is a linear combination of losses from both models, optimized with a weighting parameter $\alpha = 0.4$.

Experimental Results

The model was trained on a corpus of 550,000 financial news documents from Reuters and Bloomberg (2006–2013) and a financial sub-graph of YAGO containing 2,000 entities. Performance was evaluated against the S&P 500 index and 15 individual stocks.

KGEB achieved a Spearman’s rank correlation of 0.616 in event similarity tasks, outperforming baseline event embeddings (0.591). In stock prediction, the KGEB-CNN model reached an accuracy of 66.93%, compared to the previous state-of-the-art of 64.21%. Most significantly, the Matthews Correlation Coefficient (MCC)—a key metric for financial reliability—saw a massive jump to 0.5072 from a baseline of 0.4035.

Visualization of knowledge-driven event embeddings, demonstrating clear semantic clustering of news events such as acquisitions and financial reports.

Discussion and Conclusion

The Knowledge Graph acts as a semantic regularizer, preventing the model from drifting into purely lexical associations. This allows the model to handle "data sparsity"; for example, it can predict movements for Ford based on news about GM because the KG explicitly links them as industry competitors.

Future work will focus on scaling the framework to larger Knowledge Graphs (like the full Freebase) and incorporating temporal dynamics to account for changing corporate relationships, such as CEO successions or mergers.

Summary updated

BibTeX
@inproceedings{ding2016knowledge,
  author = {Xiao Ding and Yue Zhang and Ting Liu and Junwen Duan},
  title = {{Knowledge-Driven Event Embedding for Stock Prediction}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2016},
}
Figure