GENUINE: Graph Enhanced Multi-level Uncertainty Estimation for Large Language Models

Tuo Wang, Ashish Kulkarni, Tyler Cody, Peter A. Beling, Yujun Yan, Dawei Zhou

Abstract

Large Language Models (LLMs) are increasingly integrated into critical workflows, yet their tendency to produce authoritative-sounding hallucinations remains a significant challenge. Traditional Uncertainty Quantification (UQ) methods often treat generated text as a flat sequence of tokens, ignoring the underlying syntactic structure that defines meaning. This paper presents GENUINE, a framework that utilizes dependency parse trees and hierarchical graph pooling to estimate uncertainty. By identifying pivotal tokens through structural relationships, GENUINE improves uncertainty detection by up to 29% over traditional semantic entropy methods.

Introduction

While LLMs exhibit impressive generative capabilities, they are notoriously overconfident. Current UQ methods generally fall into two categories: self-evaluation (prompting the model to assess its own confidence) and token-level metrics (analyzing the probability or entropy of generated words). However, these approaches often fail to distinguish between minor stylistic variations and critical factual errors. In a complex response, a mistake on a "pivotal" word—such as a negation or a primary subject—can invalidate the entire output, whereas uncertainty regarding a minor adjective may be inconsequential. GENUINE addresses this gap by treating language as a structured graph rather than a simple stream of tokens.

Methodology

The GENUINE framework introduces a multi-level approach to uncertainty estimation through three primary stages:

1. Graph Formulation via Dependency Parsing

Instead of processing text linearly, GENUINE transforms responses into a Dependency Graph. Using a dependency parser, the framework identifies syntactic relationships (e.g., subject-verb-object). Each word is represented as a node, with grammatical dependencies serving as edges. For multi-sentence outputs, the root nodes of individual sentences are linked to form a comprehensive document-level graph, preserving both local and global context.

2. Hierarchical Graph Pooling

To manage the complexity of the generated text, GENUINE employs hierarchical graph pooling. This process groups tokens into clusters based on their structural importance within the dependency tree. This allows the framework to propagate uncertainty signals from the token level up to the sentence and document levels, effectively "zooming out" to see how specific local uncertainties impact the overall validity of the response.

3. Feature Fusion and Optimization

The framework integrates two distinct signal types:

  • Grey-box features: Token-level probabilities and entropy, which are accessible for most API-based models.
  • White-box features: Hidden-layer embeddings, available for open-source models.

A learnable fusion module balances these features using a soft assignment matrix, ensuring that high-dimensional embeddings complement rather than overwhelm the precise signals derived from probability distributions.

Experimental Setup

The authors evaluated GENUINE using several open-source LLMs, including Llama 2, Llama 3, Gemma, and Gemma 2. The framework was tested across five diverse NLP tasks:

  • Question Answering: CoQA, TriviaQA, and Finance QA.
  • Machine Translation: WMT 2014.
  • Summarization: CNN dataset.

Key Insights

  • Structure as a Proxy for Significance: Dependency trees naturally highlight core decision points. By following the tree structure, the UQ model prioritizes tokens that shape the response's fundamental meaning.
  • The Long-Form Advantage: GENUINE demonstrates its greatest strengths in long-form tasks like summarization. While traditional methods often accumulate errors over long sequences, GENUINE’s graph structure provides a stable anchor for the entire document.
  • Task-Aware Calibration: By incorporating supervised learning into the pooling process, the framework learns which structural patterns correlate with factual correctness for specific prompt types.

Results

  • Superior Detection: GENUINE achieved up to 29% higher AUROC (Area Under the Receiver Operating Characteristic curve) compared to semantic entropy baselines.
  • Improved Calibration: The framework reduced Expected Calibration Error (ECE) by over 15%, indicating that the uncertainty scores are more closely aligned with the actual likelihood of model error.
  • Efficiency and Robustness: Training time scales near-linearly with the number of nodes, and the model remains resilient even when training data contains label noise (up to 0.1%).

Limitations and Future Work

Despite its success, GENUINE faces certain constraints. The reliance on "white-box" features means performance may slightly degrade when applied to proprietary models like GPT-4. Additionally, the system is dependent on the accuracy of external dependency parsers; ungrammatical LLM outputs could lead to flawed graph structures. Future research aims to expand this graph-based UQ approach to multimodal models, exploring uncertainty in vision-language tasks.

Conclusion

By shifting the focus from "word-counting" to "structure-mapping," GENUINE provides a sophisticated lens for evaluating LLM reliability. It demonstrates that understanding the grammatical architecture of a response is key to determining whether an AI truly "knows" the information it is presenting.

Summary updated

BibTeX
@misc{wang2025genuine,
  author = {Tuo Wang and Ashish Kulkarni and Tyler Cody and Peter A. Beling and Yujun Yan and Dawei Zhou},
  title = {{GENUINE: Graph Enhanced Multi-level Uncertainty Estimation for Large Language Models}},
  year = {2025},
  eprint = {2509.07925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.07925},
}
Figure