Warum KI halluziniert – und warum Narraboros die Ausnahme ist
When characters in a story suddenly forget their names, doors that actually appear again were destroyed, or the inventory magically changed, this is what we speak of in AI development Hallucination. This may be an amusing glitch for chatbots - for serious interactive ones Fictionit's an atmosphere killer.
Why do Large Language Models (LLMs) do this? And how does the Narraboros Engine solve this fundamental problem caused by the Neuro-Symbolic Architecture?
Die Anatomie der Täuschung: Wie Halluzinationen entstehen
Um zu verstehen, warum Narraboros anders arbeitet, müssen wir zuerst verstehen, wie herkömmliche KI „denkt“.
1. Das „Next-Token“-Problem
Eine KI wie GPT-4 oder Claude besitzt kein echtes Verständnis von Wahrheit. Sie ist eine Wahrscheinlichkeitsmaschine.
- Funktionsweise: Das Modell berechnet Wort für Wort (Token für Token), was statistisch gesehen am besten als nächstes folgt.
- Das Risiko: Sie optimiert auf Plausibilität, nicht auf Fakten. Ein Satz kann grammatikalisch perfekt und inhaltlich vollkommen erfunden sein. Wenn die Statistik sagt, dass auf „Der König öffnet…“ das Wort „…die Schatztruhe“ folgen soll, wird sie das schreiben – selbst wenn der König laut Story-Logik gar keine Truhe besitzt.
2. Der Schneeballeffekt (Context Drift)
In langen Text-Adventures oder Rollenspielen verlässt sich eine normale KI auf den bisherigen Chat-Verlauf (Kontext).
- Das Problem: Wenn die KI einmal einen kleinen Fehler macht (z.B. die Augenfarbe eines NPC verwechselt), wird dieser Fehler Teil des neuen Kontextes.
- Die Folge: Zukünftige Generierungen basieren auf diesem Fehler. Die Halluzination validiert sich selbst und wird zur neuen „Wahrheit“. Das System leidet an schleichendem Gedächtnisverlust (Memory Drift).
3. Die „Weiche Welt“ (Soft World Hypothesis)
Da herkömmliche Modelle keine externe Datenbank für Fakten nutzen, ist die Welt nicht fest. Sie ist „weich“.
- Beispiel: Wenn ein Spieler behauptet: „Ich ziehe mein Schwert“ (obwohl er keines hat), neigen LLMs dazu, kooperativ zu sein und die Handlung zu akzeptieren („Ja, und…“-Prinzip). Die Realität wird vom Text geformt, statt den Text zu begrenzen.
Der Paradigmenwechsel: Neuro-Symbolic Architecture
Narraboros eliminates these weaknesses by not trying to improve the LLM, but rather its Role changed. We use a neuro-symbolic approach: The fusion creative neural AI and hard symbolic logic.
1. Separation of narrator and truth
In Narraboros, the AI is not the god of the world, but only its biographer.
- The State (Truth): A strict SQL database keeps the facts (inventory, HP, space status, relationships). That is the symbolic component.
- The Narrator (KI): The LLM receives these facts as irrefutable instructions. It may embellish the style, but never change the facts.
The difference: A normal AI guesses what is in the chest. Narraboroslooks in the database and says the AI: "There's a rusty key in there. Describe it as creepy."
2. Precision context instead of chat history
We don't feed the AI endless chat logs that might confuse it.
- Zero Memory Drift: The context is freshly reconstructed for each scene (“Re-Hydration”).
- Atomic Facts: The system only loads the exact data that is relevant for that moment
are (e.g.
door_status: broken,npc_mood: hostile). Contradictions are technical impossible because the data source is always the current database is.
3. Server-Side Reality (The Hard Resistance)
Whether an action succeeds is not decided by the AI, but by the server.
- No “Yes, and…”: If the player tries to walk through a wall, the server checks the physics.
- The result: The AI is forced to describe the failure. You can the player not successful “hallucinate” the wall because the code in the backend dictates the result.
Zusammenfassung: KI vs. Narraboros
| Feature | Traditional AI (Standard) | Narraboros (Neuro-Symbolic) |
|---|---|---|
| Source of Truth | Probabilities (Rates) | Database (Facts) |
| Memory | Chat history (error prone) | State Management (Permanent) |
| Consistency | Decreases over time (drift) | Remains constant (100%) |
| Object permanence | Items can disappear | Inventory is database-supported |
| Hallucination | System-inherent feature | Technically prohibited (for facts) |