mlsanityData to 14 Oct 2026

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

arXiv 2609.36209 ↗First posted 28 Sep 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 42 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

21 of 42 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  6. 2019Language Models as Knowledge Bases?cited by 1,936
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  8. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  9. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  10. 2019How Can We Know What Language Models Know?cited by 959
  11. 2019Attention is not Explanationcited by 929
  12. 2020Quantifying Attention Flow in Transformerscited by 775
9 more
  1. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  2. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
  3. 2022A Review on Language Models as Knowledge Basescited by 157
  4. 2025Knowledge Graph-Guided Retrieval Augmented Generationcited by 58
  5. 2025Lost in Multilinguality: Dissecting Cross-lingual Factual Inconsistency in Transformer Language Modelscited by 44
  6. 2024Do LLMs Really Adapt to Domains? An Ontology Learning Perspectivecited by 11
  7. 2025OntoTune: Ontology-Driven Self-training for Aligning Large Language Modelscited by 8
  8. 2023Extracting Multi-valued Relations from Language Modelscited by 3
  9. 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributionscited by 3

Built on by

Not cited yet.