FACTTRACK: Time-Aware World State Tracking in Story Outlines

Zhiheng Lyu, Kevin Yang, Lingpeng Kong, Daniel Klein
7/23/2024
cs.CL

No confident code implementation found for this paper.

Abstract

While accurately detecting and correcting factual contradictions in language model outputs has become increasingly important as their capabilities improve, doing so is highly challenging. We propose a novel method, FACTTRACK, for tracking atomic facts and addressing factual contradictions. Crucially, FACTTRACK also maintains time-aware validity intervals for each fact, allowing for change over time. At a high level, FACTTRACK consists of a four-step pipeline to update a world state data structure for each new event: (1) decompose the event into directional atomic facts; (2) determine the validity interval of each atomic fact using the world state; (3) detect contradictions with existing facts in the world state; and finally (4) add new facts to the world state and update existing atomic facts. When we apply FACTTRACK to contradiction detection on structured story outlines, we find that FACTTRACK using LLaMA2-7B-Chat substantially outperforms a fair baseline using LLaMA2-7B-Chat, and achieves performance comparable to a GPT4 baseline. Moreover, when using GPT4, FACTTRACK significantly outperforms the GPT4 baseline.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{lyu2024facttrack,
  title  = {FACTTRACK: Time-Aware World State Tracking in Story Outlines},
  author = {Zhiheng Lyu and Kevin Yang and Lingpeng Kong and Daniel Klein},
  year   = {2024},
  eprint = {2407.16347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.16347v2}
}

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/2407.16347.svg)](https://codeofpaper.com/paper/2407.16347)

Discussion