T-138Entity Grounding Analysis
Verifies whether Named Entities (people, places, organizations) are factually grounded. AI models frequently hallucinate non-existent entities or fabricate relationships between real ones to maintain narrative fluency.
Algorithm / Model
Named Entity Recognition (NER) & Factual Knowledge Graph Cross-referencing
How it works
Human writers generate informational text by drawing upon factual knowledge bases, ensuring that the entities they mention (authors, dates, institutions, software libraries) actually exist and relate to one another logically. Large Language Models, however, do not 'know' facts; they generate predicting sequences of tokens based on statistical co-occurrence. When prompting an LLM for obscure information, citations, or highly specific technical details, the model will often 'hallucinate' plausible-sounding but entirely fictitious entities. It might invent a researcher named 'Dr. X' who works at a real university, or reference a non-existent Python library that perfectly solves the user's problem. This method deploys Advanced Named Entity Recognition (NER) to extract all proper nouns, dates, and specialized terminology from the text. It then cross-references these extracted entities and their relational syntax against established Knowledge Graphs (like Wikidata or Google Knowledge Graph). A text containing a high density of 'ungrounded' entities—names or relationships that sound highly authoritative but yield zero external verifiable matches—is a definitive indicator of AI hallucination.
Technical Parameters
Analysis: Spacy NER Extraction & External Knowledge Graph API Verification
Metric: Ratio of Verifiable Entities to Unverifiable (Hallucinated) Entities
Output: 0-100 Entity Hallucination (Ungrounded) Score
Metric: Ratio of Verifiable Entities to Unverifiable (Hallucinated) Entities
Output: 0-100 Entity Hallucination (Ungrounded) Score
Accuracy & Reliability
High — 80-90% on informational text. It provides hard, verifiable evidence of generation rather than relying purely on statistical probability.
Strengths
• Highly deterministic when detecting AI hallucinations; a fabricated book title or fake researcher is a smoking gun for generative text.
• Extremely effective against older or ungrounded models (like standard ChatGPT-3.5 or Llama-2) that have a high propensity to invent facts when lacking data.
• Not reliant on stylistic or syntactical quirks, making it immune to simple prompting tricks like 'rewrite in a natural tone'.
• Extremely effective against older or ungrounded models (like standard ChatGPT-3.5 or Llama-2) that have a high propensity to invent facts when lacking data.
• Not reliant on stylistic or syntactical quirks, making it immune to simple prompting tricks like 'rewrite in a natural tone'.
Limitations
• Susceptible to false positives in creative writing (e.g., sci-fi, fantasy) where entities are intentionally invented.
• Cannot detect AI text that is perfectly grounded (e.g., if the user provided the AI with all the correct facts via RAG—Retrieval-Augmented Generation).
• Requires a connection to external Knowledge Graph APIs, meaning it may struggle with highly niche, extremely recent, or proprietary local knowledge.
• Cannot detect AI text that is perfectly grounded (e.g., if the user provided the AI with all the correct facts via RAG—Retrieval-Augmented Generation).
• Requires a connection to external Knowledge Graph APIs, meaning it may struggle with highly niche, extremely recent, or proprietary local knowledge.
Use Case
Analyzing academic papers, news articles, technical documentation, and historical essays where factual accuracy is paramount. Excellent for catching 'fake citations' generated by AI.