SIRIN: A Unified Toolkit for Detecting Contextual Hallucinations in Retrieval-Augmented and Memory-Grounded LLM Systems

Julia Belikova, Rauf Parchiev, Mikhail Filimonov, Konstantin Polev, Andrey Savchenko +1 more
7/20/2026
cs.AI
rag

Official code: sb-ai-lab/SIRIN (64 stars, Python, last commit 2026-09-28).

Abstract

SIRIN (Semantic Inconsistency Recognition and Inspection Nexus) is a unified toolkit and interactive web UI for detecting contextual hallucinations (fluent, plausible responses unsupported by the provided evidence) in retrieval-augmented, agentic, and memory-grounded LLM systems. SIRIN unifies three detector paradigms (representation probing, uncertainty estimation, and judge-style verification) and the complementary task of pre-generation query answerability under one interface, configuration system, and evaluation pipeline, supporting response- and span-level inspection in both white-box and black-box settings.

Show full abstract

The web UI enables live analysis of user-supplied context-query-answer triples through hallucination scores, unsupported-span highlighting, and side-by-side detector comparison, with a lightweight plug-in design for adding new detectors. We demonstrate SIRIN on hallucination detection, query answerability, and as a faithfulness gate within long-term memory systems. The source code is publicly available at https://github.com/sb-ai-lab/SIRIN.

View on arXivView PDF

Code Implementations(1)

sb-ai-lab/SIRINOfficial100%

SIRIN is a Python library for detecting and analyzing contextual inconsistencies in systems that use LLMs

643Python, JavaScriptJun 9, 20262 months agoNOASSERTION
factual-consistencyhallucination-detectionllm

Similar Papers

Cite this paper

@article{belikova2026sirin,
  title  = {SIRIN: A Unified Toolkit for Detecting Contextual Hallucinations in Retrieval-Augmented and Memory-Grounded LLM Systems},
  author = {Julia Belikova and Rauf Parchiev and Mikhail Filimonov and Konstantin Polev and Andrey Savchenko and Maksim Makarenko},
  year   = {2026},
  eprint = {2608.00033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.00033v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.00033.svg)](https://codeofpaper.com/paper/2608.00033)

Discussion