Skip to main navigation Skip to search Skip to main content

KG-UQ: knowledge graph-based uncertainty quantification for long text in large language models

Research output: Chapter in Book/Report/Conference proceeding › Conference proceeding contribution › peer-review

261 Downloads (Pure)

Abstract

With the commercialization of large language models (LLMs) and their integration into daily life, addressing their susceptibility to hallucinations-unfactual information in generated outputs-has become an urgent priority. Existing uncertainty quantification (UQ) methods often rely on access to LLMs' internal states, which is unavailable for closed-source models like GPTs, or are primarily designed for short text. Current research on long text typically evaluates sentences individually, overlooking smaller semantic units that better capture the text's complexity. Recognizing the potential of knowledge graphs (KGs) to extract structured relationships from unstructured text, we propose KG-UQ, a UQ method leveraging KGs to address the semantic intricacies of long text. Our approach involves constructing KGs from long-text outputs and utilizing their embeddings to estimate uncertainties. Through our analysis, we demonstrate that knowledge graphs are an effective tool for decomposing long text into fundamental statements. However, we also highlight the increased uncertainty introduced during KG construction, stemming from inherent challenges in accurately capturing all semantic information.

Original languageEnglish
Title of host publicationWWW Companion '25
Subtitle of host publicationCompanion proceedings of the ACM Web Conference 2025
Place of PublicationNew York
PublisherAssociation for Computing Machinery
Pages2071-2077
Number of pages7
ISBN (Electronic)9798400713316
DOIs
Publication statusPublished - 2025
Event34th ACM Web Conference, WWW Companion 2025 - Sydney, Australia
Duration: 28 Apr 2025 → 2 May 2025

Conference

Conference34th ACM Web Conference, WWW Companion 2025
Country/TerritoryAustralia
CitySydney
Period28/04/25 → 2/05/25

Bibliographical note

Copyright the Author(s) 2025. Version archived for private and non-commercial use with the permission of the author/s and according to publisher conditions. For further rights please contact the publisher.

Alternative title of the host publication: "WWW '25: Companion Proceedings of the ACM on Web Conference 2025"; "Companion Proceedings of the ACM Web Conference 2025 (WWW Companion '25), April 28-May 2, 2025, Sydney, NSW, Australia"

Keywords

  • Large Language Models
  • Hallucinations
  • Uncertainty Quantification
  • Knowledge Graphs

Fingerprint

Dive into the research topics of 'KG-UQ: knowledge graph-based uncertainty quantification for long text in large language models'. Together they form a unique fingerprint.

Cite this