Large Language Models as Interpolated and Extrapolated Event Predictors

Libo Zhang, Yue Ning
6/15/2024
cs.CLcs.LG

No official code found. Best implementation: Libo1023/LEAP (0 stars, last commit 2024-11-30).

Abstract

Salient facts of sociopolitical events are distilled into quadruples following a format of subject, relation, object, and timestamp. Machine learning methods, such as graph neural networks (GNNs) and recurrent neural networks (RNNs), have been built to make predictions and infer relations on the quadruple-based knowledge graphs (KGs). In many applications, quadruples are extended to quintuples with auxiliary attributes such as text summaries that describe the quadruple events. In this paper, we comprehensively investigate how large language models (LLMs) streamline the design of event prediction frameworks using quadruple-based or quintuple-based data while maintaining competitive accuracy. We propose LEAP, a unified framework that leverages large language models as event predictors. Specifically, we develop multiple prompt templates to frame the object prediction (OP) task as a standard question-answering (QA) task, suitable for instruction fine-tuning with an encoder-decoder LLM. For multi-event forecasting (MEF) task, we design a simple yet effective prompt template for each event quintuple. This novel approach removes the need for GNNs and RNNs, instead utilizing an encoder-only LLM to generate fixed intermediate embeddings, which are processed by a customized downstream head with a self-attention mechanism to predict potential relation occurrences in the future. Extensive experiments on multiple real-world datasets using various evaluation metrics validate the effectiveness of our approach.

View on arXivView PDF

Code Implementations(1)

Libo1023/LEAPCommunity100%

Large Language Models as Interpolated and Extrapolated Event Predictors

00Shell, PythonOct 16, 20241 years ago
information-retrivalnatural-language-processing

Similar Papers

Cite this paper

@article{zhang2024large,
  title  = {Large Language Models as Interpolated and Extrapolated Event Predictors},
  author = {Libo Zhang and Yue Ning},
  year   = {2024},
  eprint = {2406.10492},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10492v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.10492.svg)](https://codeofpaper.com/paper/2406.10492)

Discussion