← Latest papers
💬 NLP

GPTKB 2.0: Direct Construction of Disambiguated Knowledge Bases from Large Language Models

The paper introduces GPTKB 2.0, a scalable methodology that constructs a million-scale, disambiguated knowledge base directly from large language models by implementing on-the-fly canonicalization of entities, relations, and classes to overcome native representation limitations.

Original authors: Yujia Hu, Tuan-Phong Nguyen, Simon Razniewski

Published 2026-08-05
📖 6 min read🧠 Deep dive

Original authors: Yujia Hu, Tuan-Phong Nguyen, Simon Razniewski

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to build the ultimate library of everything that exists in the world. For decades, librarians (computer scientists) have tried to do this by reading books and websites, cutting out facts, and pasting them into neat cards. But there's a tricky problem: names are messy. The word "Munich" could be a city in Germany or a movie about spies. The phrase "Ile-de-France" and "Ile-de-France region" might sound different but mean the exact same place. If your library isn't careful, it ends up with two different cards for the same thing, or it accidentally glues two different things together because they share a name.

Recently, a new kind of "super-brain" called a Large Language Model (LLM) has appeared. These models have read so much of the internet that they seem to know facts without needing a physical book. Some researchers thought, "Why not just ask the super-brain to build the library for us?" But here's the catch: the super-brain doesn't actually have a list of unique ID cards for things. It just knows words. If you ask it to list facts, it might accidentally create a duplicate entry for "Munich the city" and "Munich the movie" because it treats them as the same word, or it might forget that "Ile-de-France" and "Ile-de-France region" are the same place. This paper introduces a clever new method to fix that mess, turning the super-brain's wordy answers into a clean, organized, and massive library where every single thing has its own unique ID card, even if it shares a name with something else.


The Paper: GPTKB 2.0

The researchers behind this work, Yujia Hu, Tuan-Phong Nguyen, and Simon Razniewski, are tackling a big challenge in the world of Artificial Intelligence. They wanted to see if they could build a giant, organized knowledge base directly from a Large Language Model (LLM) without relying on existing databases like Wikipedia to tell them what is what.

The Problem: The "Name Game" Chaos
Think of an LLM as a very chatty friend who knows a million facts but has terrible handwriting and no filing system. If you ask this friend to write down facts about "Munich," they might write:

  • "Munich is a city in Germany."
  • "Munich is a movie about spies."

If you just write these down as they come, you end up with two different entries for "Munich" that look identical. Or, if your friend says "Ile-de-France" and "Ile-de-France region," you might think they are two different places and make two separate cards. This is called the problem of homonymy (same name, different things) and synonymy (different names, same thing). Previous attempts to build these libraries from LLMs mostly just used the words as they were, leading to a messy, duplicate-filled database.

The Solution: The "Context Detective"
The team created a new system called GPTKB 2.0. Instead of just asking the LLM for facts, they built a smart pipeline that acts like a detective. Here is how it works, step-by-step:

  1. The Seed: They start with one single entity, like a seed planted in the ground (they used "Vannevar Bush" as their starting point).
  2. The Ask (Elicitation): They ask the LLM, "Tell me facts about [Seed]." But they don't just ask for the name; they ask for the description too. So, if the seed is "Munich (the city)," the LLM knows to only talk about the city, not the movie.
  3. The Detective Work (Disambiguation): When the LLM gives a new fact, the system checks: "Wait, have we seen this name before?"
    • If the name is "Munich," the system looks at the context (the sentence it came from). If the sentence says "Munich is a capital," it matches it to the city card. If it says "Munich is a film," it creates a brand new card for the movie.
    • If the name is "Ile-de-France region," the system realizes this is just a fancy way of saying "Ile-de-France" and merges them into one card.
  4. The Guarded Parallel: Doing this one by one is slow. Doing it all at once is risky (you might create two "Munich" cards before you realize they are the same). The team invented a "guarded" way to do many checks at once, making sure they don't accidentally duplicate things while they are still figuring them out.

The Big Result
The team ran this system on a massive scale. They didn't just make a small list; they built a library containing:

  • 38.4 million facts (called "triples").
  • 1.6 million unique, disambiguated entities (things like people, places, and movies).
  • 207,633 relations (how things connect) and 66,523 classes (types of things).

What makes this special is that 36.8% of these entities are new. They don't exist in the famous Wikidata database. This means the LLM found things that human-curated libraries missed, especially in the "long tail" of obscure or less common topics.

Did it work?
The researchers tested their library to see if it was accurate.

  • Merging: When they tried to merge things that should be the same (synonyms), they were right 91% of the time.
  • Splitting: When they tried to keep different things separate (homonyms), they were right 100% of the time in their test samples.
  • Fact-Checking: They checked random facts against the web. About 94.5% of the facts were confirmed as true, and only 2% were false.

Why This Matters
Before this, most big knowledge bases relied on humans or existing databases like Wikipedia to keep things organized. This paper shows that you can build a massive, clean knowledge base directly from an AI model's "brain" without needing a pre-existing map. It proves that with the right "detective" tools, AI can organize its own knowledge, finding unique things and sorting out confusing names, creating a library that is bigger and more detailed than anything we've built before.

The system is now available for anyone to explore, showing that we can finally turn the chaotic, wordy knowledge of AI into a structured, reliable map of the world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →