TL;DR
Instead of poking Large Language Models with predefined multiple-choice benchmarks to guess what they know, what if we just asked them to empty their pockets and map out everything they believe about a topic? GPTKB Studio is an open-source, interactive web tool that extracts, disambiguates, and visualizes structured knowledge bases directly from any LLM, on any topic, in real time. It turns knowledge extraction from a multi-thousand-dollar offline compute job into an everyday, steerable browser session.
What Problem Does This Paper Address?
Right now, we measure what LLMs know almost exclusively through benchmarks. Benchmarks suffer from a classic cognitive trap: availability bias. They only test facts that a human designer thought to ask about, leaving millions of model beliefs—and bizarre hallucinations—completely invisible.
Knowledge materialization flips this script. You give an LLM a starting "seed" entity (say, San Francisco), ask it to state facts as subject-predicate-object triples, take the new entities mentioned in those facts, and repeat recursively. Soon, you have an "epistemic twin"—a queryable database of what the model believes.
The catch? Until now, materializations were massive, static artifacts built offline. Previous large-scale runs cost between $3.5k and $14k each, ran on a single model in one language, and only let researchers browse the pre-baked output. Worse, naive string-based extraction gets tangled up in homonyms (is Paris the city or the Trojan prince?) and synonyms (Marduk Temple vs. Temple of Marduk), which can trap models in infinite, non-terminating loops.
Methods
GPTKB Studio moves us from browsing static artifacts to running a live knowledge factory. Built on a lightweight Python/FastAPI backend and a SQLite database per run, it adapts the context-guided disambiguation pipeline of GPTKB 2.0 for interactive, topic-restricted exploration.
Here is how a session works:
- Modular Configuration: Users point the browser to any OpenAI-compatible API (commercial or local vLLM), pick a topic, seed entity, language, and set hard budget caps (cost, depth, entities, or time). Crucially, you can assign different models to the three pipeline phases: fact elicitation, Named Entity Recognition (NER), and Named Entity Disambiguation (NED)—letting you audit a pricey frontier model while offloading repetitive cleanup calls to free local models.
- On-the-Fly Disambiguation: Rather than treating words as mere strings, every entity gets an ID, description, and aliases. Using local label embeddings (
Qwen3-Embedding-4B), the NED model compares newly extracted objects against existing entities in context—merging synonyms while keeping homonyms cleanly apart.
- New Steerability & Pacing: What's brand new over standard GPTKB 2.0 is topic-contextualized disambiguation, an interactive "entity merging slider" (letting users tune how conservatively or aggressively entities are merged), and automatic rate-limit pacing that reads endpoint HTTP headers to avoid API throttling.
Datasets
Because GPTKB Studio extracts knowledge from models themselves rather than external text corpora, no traditional training datasets are used.
For evaluation, the authors materialized domain-specific knowledge bases across four topics: Babylon (tested in English, German, and Italian), The Big Bang Theory, DAX 40, and a long-tail topic (Radebeul), alongside showcase runs on Germany, San Francisco, and AI Hardware. To evaluate disambiguation accuracy, an author blindly annotated a stratified sample of 541 pipeline items (184 NED decisions, 140 NER decisions, and 217 pairs of similarly/equally named entities).
Key Insights and Ideas
- Watching Failure Modes Live: Pathologies that used to be dry statistics in research papers—like synonym explosions or degenerate entity loops—are immediately visible in the live queue. A healthy run's queue rises and drains; a degenerate one balloons endlessly with near-duplicate names.
- Cross-Lingual Quirks: Models don't hold uniform knowledge across languages. Prompting
Gemma 4 26Babout San Francisco in Spanish yielded 63.9K facts, compared to only 51.2K in English. - Auditable Hallucinations & Ambiguities: Because every merge decision logs the exact candidates and context the model saw, you can catch subtle quirks—like a model believing San Francisco's Transamerica Pyramid has wings at its base instead of its top, or freezing up over whether a character from The Kite Runner belongs to the 2003 novel or the 2007 film.
Key Results
- Accuracy: Across configurations, 78% of merges into existing entities were correct, and 82% of entities declared new genuinely had no match. NER hit 85% accuracy (beating the baseline pipeline's 70%). Cranking the merging slider to "cautious" boosted merge precision from 73% to 87%, though at the cost of leaving more unmerged duplicates (1,104 vs. 662 entities on Babylon).
- Speed & Pacing: First triples arrive in under 30 seconds, and disambiguation decisions start within 6–11 seconds. Smart header-based pacing eliminated all 58 rate-limit errors on a capped Big Bang Theory run and finished 11% faster.
- Scalability on a Shoestring: Their largest test—Germany seeded with Berlin—ran for 6.3 days, terminating organically with 29,423 disambiguated entities and 223,237 triples in a 408 MB SQLite file. Four parallel runs comfortably shared a modest 8-GB RAM virtual machine, using just 140–210 MB of memory each.
Limitations and Future Work
The authors are upfront about two fundamental boundaries:
- A Lower Bound on Knowledge: What gets materialized depends heavily on prompt phrasing. If a model doesn't state a fact, it doesn't prove the model doesn't "know" it.
- Beliefs $\neq$ Truth: GPTKB Studio is an X-ray of model beliefs, not a verified encyclopedia. It intentionally captures false beliefs alongside true ones; verifying factual accuracy requires pairing the output with external fact-checking tools.
Looking ahead, the authors envision tools like GPTKB Studio making "epistemic twins" a standard auditing artifact shipped alongside new LLMs, right next to model cards.
Summary updated