The Canonical Order Problem: When Large Language Models Are Unreliable Knowledge Bases for Multi-Valued Relations

Timo Pierre Schrader, Annemarie Friedrich, Simon Razniewski, Lukas Lange
9/28/2026
cs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large language models (LLMs) are increasingly used as knowledge bases (KBs) due to the vast amount of knowledge they acquire during pre-training. While many works focus on extracting single relational triples, most real-world relations are multi-valued and require generating sets of entities. In this paper, we investigate how LLMs represent and generate multi-valued relations. We identify the canonical order problem: The probabilistic distributions inside LLMs organize many multi-valued relations according to a canonical ordering (e.g., alphabetical or chronological). Through mechanistic analysis, we show that set generation in LLMs can be thought of in terms of three phases: (1) retrieval of candidate entities, (2) internal sorting, and (3) selection of the next element. As a result, prompts aiming to construct KBs that deviate from this internal canonical ordering lead to a markedly reduced reliability of LLMs when aiming to generate complete sets for multi-valued relations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{schrader2026canonical,
  title  = {The Canonical Order Problem: When Large Language Models Are Unreliable Knowledge Bases for Multi-Valued Relations},
  author = {Timo Pierre Schrader and Annemarie Friedrich and Simon Razniewski and Lukas Lange},
  year   = {2026},
  eprint = {2609.36209},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.36209v1}
}

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

Discussion