Table of Contents
Fetching ...

STaRK: Benchmarking LLM Retrieval on Textual and Relational Knowledge Bases

Shirley Wu, Shiyu Zhao, Michihiro Yasunaga, Kexin Huang, Kaidi Cao, Qian Huang, Vassilis N. Ioannidis, Karthik Subbian, James Zou, Jure Leskovec

TL;DR

This work develops STARK, a large-scale Semi-structure retrieval benchmark on Textual and Relational Knowledge Bases, which serves as a comprehensive testbed for evaluating the performance of retrieval systems driven by large language models (LLMs).

Abstract

Answering real-world complex queries, such as complex product search, often requires accurate retrieval from semi-structured knowledge bases that involve blend of unstructured (e.g., textual descriptions of products) and structured (e.g., entity relations of products) information. However, many previous works studied textual and relational retrieval tasks as separate topics. To address the gap, we develop STARK, a large-scale Semi-structure retrieval benchmark on Textual and Relational Knowledge Bases. Our benchmark covers three domains: product search, academic paper search, and queries in precision medicine. We design a novel pipeline to synthesize realistic user queries that integrate diverse relational information and complex textual properties, together with their ground-truth answers (items). We conduct rigorous human evaluation to validate the quality of our synthesized queries. We further enhance the benchmark with high-quality human-generated queries to provide an authentic reference. STARK serves as a comprehensive testbed for evaluating the performance of retrieval systems driven by large language models (LLMs). Our experiments suggest that STARK presents significant challenges to the current retrieval and LLM systems, highlighting the need for more capable semi-structured retrieval systems. The benchmark data and code are available on https://github.com/snap-stanford/STaRK.

STaRK: Benchmarking LLM Retrieval on Textual and Relational Knowledge Bases

TL;DR

This work develops STARK, a large-scale Semi-structure retrieval benchmark on Textual and Relational Knowledge Bases, which serves as a comprehensive testbed for evaluating the performance of retrieval systems driven by large language models (LLMs).

Abstract

Answering real-world complex queries, such as complex product search, often requires accurate retrieval from semi-structured knowledge bases that involve blend of unstructured (e.g., textual descriptions of products) and structured (e.g., entity relations of products) information. However, many previous works studied textual and relational retrieval tasks as separate topics. To address the gap, we develop STARK, a large-scale Semi-structure retrieval benchmark on Textual and Relational Knowledge Bases. Our benchmark covers three domains: product search, academic paper search, and queries in precision medicine. We design a novel pipeline to synthesize realistic user queries that integrate diverse relational information and complex textual properties, together with their ground-truth answers (items). We conduct rigorous human evaluation to validate the quality of our synthesized queries. We further enhance the benchmark with high-quality human-generated queries to provide an authentic reference. STARK serves as a comprehensive testbed for evaluating the performance of retrieval systems driven by large language models (LLMs). Our experiments suggest that STARK presents significant challenges to the current retrieval and LLM systems, highlighting the need for more capable semi-structured retrieval systems. The benchmark data and code are available on https://github.com/snap-stanford/STaRK.
Paper Structure (27 sections, 2 equations, 7 figures, 11 tables)

This paper contains 27 sections, 2 equations, 7 figures, 11 tables.

Figures (7)

  • Figure 1: STaRK features queries on Semi-structured Knowledge Base (SKB) with textual and relational knowledge, with node entities as ground-truth answers. STaRK consists of synthesized queries simulating user interactions with a SKB and human-generated queries which provide an authentic reference. It evaluates LLM retrieval systems' performance in providing accurate responses.
  • Figure 2: Demonstration of Semi-structured Knowledge Bases, where each knowledge base combines both textual and relational information in a complex way, making the retrieval tasks challenging.
  • Figure 3: The construct pipeline to generate our semi-structured retrieval datasets.
  • Figure 4: Distribution of query and answer lengths on STaRK datasets.
  • Figure 4: Query diversity measurement on STaRK. See Appendix \ref{['app:math']} for the metric definition.
  • ...and 2 more figures