Backtracing: Retrieving the Cause of the Query

Rose E. Wang, Pawan Wirawarn, Omar Khattab, Noah Goodman, Dorottya Demszky
3/6/2024
cs.IRcs.CL

Official code: rosewang2008/backtracing (91 stars, MIT, last commit 2024-07-21).

Abstract

Many online content portals allow users to ask questions to supplement their understanding (e.g., of lectures). While information retrieval (IR) systems may provide answers for such user queries, they do not directly assist content creators -- such as lecturers who want to improve their content -- identify segments that _caused_ a user to ask those questions. We introduce the task of backtracing, in which systems retrieve the text segment that most likely caused a user query. We formalize three real-world domains for which backtracing is important in improving content delivery and communication: understanding the cause of (a) student confusion in the Lecture domain, (b) reader curiosity in the News Article domain, and (c) user emotion in the Conversation domain. We evaluate the zero-shot performance of popular information retrieval methods and language modeling methods, including bi-encoder, re-ranking and likelihood-based methods and ChatGPT. While traditional IR systems retrieve semantically relevant information (e.g., details on "projection matrices" for a query "does projecting multiple times still lead to the same point?"), they often miss the causally relevant context (e.g., the lecturer states "projecting twice gets me the same answer as one projection"). Our results show that there is room for improvement on backtracing and it requires new retrieval approaches. We hope our benchmark serves to improve future retrieval systems for backtracing, spawning systems that refine content generation and identify linguistic triggers influencing user queries. Our code and data are open-sourced: https://github.com/rosewang2008/backtracing.

View on arXivView PDF

Code Implementations(1)

MIT

Backtracing: Retrieving the Cause of the Query, EACL 2024 Long Paper, Findings.

915Shell, PythonFeb 2, 20242 years agoMIT

Similar Papers

Cite this paper

@article{wang2024backtracing,
  title  = {Backtracing: Retrieving the Cause of the Query},
  author = {Rose E. Wang and Pawan Wirawarn and Omar Khattab and Noah Goodman and Dorottya Demszky},
  year   = {2024},
  eprint = {2403.03956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.03956v1}
}

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

Discussion