Have We Designed Generalizable Structural Knowledge Promptings? Systematic Evaluation and Rethinking

Yichi Zhang, Zhuo Chen, Lingbing Guo, Yajing Xu, Shaokai Chen, Mengshu Sun, Binbin Hu, Zhiqiang Zhang, Lei Liang, Wen Zhang, Huajun Chen

Introduction

Large Language Models (LLMs) are powerful but often struggle with factual accuracy and hallucinations. Structural Knowledge Prompting (SKP) is a popular technique that attempts to mitigate these issues by injecting structured data from Knowledge Graphs (KGs) into the model's prompt space. While promising, most SKP research has been task-specific, leaving questions about its generalizability unanswered. This paper introduces SUBARU, a multi-granular benchmark, to systematically evaluate whether SKP truly understands knowledge structures or merely overfits to specific tasks.

The Structural Knowledge Prompting Paradigm

The SKP paradigm is structured as a three-part pipeline designed to bridge the gap between graph-based embeddings and the textual space of an LLM.

The Structural Knowledge Prompting (SKP) paradigm.
  1. Structural Encoder: A pre-trained model (such as TransE or R-GCN) that encodes Knowledge Graph elements into vector embeddings.
  2. Adapter: A neural network bridge that aligns graph embeddings with the LLM’s representation space.
  3. Frozen LLM: The core language model that receives these structural prompts alongside standard text instructions to perform reasoning tasks.

The SUBARU Benchmark

To evaluate the limits of SKP, the authors developed the StrUctural Prompting BenchmArk with Reasoning and Understanding (SUBARU). Built from Wikidata, SUBARU provides a comprehensive suite of nine tasks organized by granularity and difficulty.

Overview of the SUBARU benchmark construction and evaluation process.

The benchmark covers three levels of granularity: Entity-level, Triple-level, and Subgraph-level. Tasks include binary classification (CLS), multiple-choice (MC), and description generation (DESC), allowing for a nuanced analysis of where knowledge injection succeeds and where it falters.

Key Insights and Results

The systematic evaluation of SKP across the SUBARU benchmark revealed several critical findings:

  • The Superiority of Simple Adapters: Despite the trend toward complex architectures like Qformers or Mixture-of-Experts (MoE), a simple Multi-Layer Perceptron (MLP) consistently achieved the best results.
  • Coarse vs. Fine-Grained Reasoning: SKP is highly effective for coarse-grained tasks, such as selecting the correct entity in a multiple-choice setting. However, it struggles with fine-grained precision, such as generating exact entity names from embeddings. It appears SKP provides a "semantic gist" rather than precise factual identity.
  • Robust Inductive Strength: One of SKP's greatest strengths is its ability to handle unseen entities. Models trained on specific structural patterns can generalize to new entities in the test set, provided the structural context is familiar.
  • Limited Task Transfer: Training on multiple task levels (e.g., CLS and MC) does not necessarily improve performance on a target task, suggesting that SKP models may be learning task-specific shortcuts rather than a generalized understanding of knowledge.

Scalability and Universality

The study found a "sweet spot" for adapter depth, with performance typically peaking at 3-4 layers for MLP adapters. Furthermore, the SKP framework demonstrated high universality; experiments across Llama-2, Llama-3, and Mistral showed consistent trends, proving the paradigm's effectiveness across different model architectures.

Conclusion

While Structural Knowledge Prompting is a powerful tool for providing coarse-grained context and handling unseen entities, achieving fine-grained, precise factual awareness remains a significant open challenge. Future research must focus on scaling benchmarks and uncovering the internal mechanisms that allow LLMs to process non-textual structural tokens.

Summary updated

BibTeX
@inproceedings{zhang2025have,
  author = {Yichi Zhang and Zhuo Chen and Lingbing Guo and Yajing Xu and Shaokai Chen and Mengshu Sun and Binbin Hu and Zhiqiang Zhang and Lei Liang and Wen Zhang and Huajun Chen},
  title = {{Have We Designed Generalizable Structural Knowledge Promptings? Systematic Evaluation and Rethinking}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure