Legal Citation Hallucination Detector
ProseAI, via Break Through Tech
An NLP pipeline that flags hallucinated legal citations in AI-generated documents.
what i did
- Building a pipeline using citation parsing, existence checking and semantic similarity against a frozen Alaska family-law corpus.
- Implementing a citation extractor and existence checker with sentence-transformers and rapidfuzz.
- Developing a quote-fidelity checker that combines string and semantic similarity.
- Evaluating with precision, recall and F1 on a labeled benchmark of 200 documents, prioritizing recall on fabricated citations.
- Packaging findings into a failure taxonomy and an open-source Python module for ProseAI.
stackPython, sentence-transformers, rapidfuzz, NLP
project details