TL;DR
CrimeNER Demo is an AI-powered platform designed to automatically extract and classify crime-related information from text documents using a two-level hierarchical entity schema. By providing pretrained transformer models alongside a user-friendly pipeline for custom fine-tuning, it offers law enforcement and researchers a practical tool to accelerate forensic document analysis.
What Problem Does This Problem Address?
Law enforcement agencies and forensic researchers are drowning in paperwork. The sheer volume of crime reports, press releases, and legal documents makes manual information extraction impossible to scale.
While Named Entity Recognition (NER) is a mature field in domains like biomedicine or general news, existing crime-domain tools are often restricted to highly specific niches like cyber threat intelligence or formal legal statutes. There is a distinct lack of tools optimized for day-to-day general criminal cases—identifying who did what, where, when, and who investigated it. CrimeNER addresses this gap by providing a generalized, multi-granular extraction system tailored specifically for the broader crime domain.
Methods
The authors developed the CrimeNER Demo system, which operates via a four-stage pipeline:
- Document Preprocessing: Accepts single or batched documents. Users can choose to use out-of-the-box pretrained models or upload custom annotated data.
- Specific Fine-tuning: Allows users to adapt the underlying models to specific jurisdictions, crime types, or languages with minimal data.
- Coarse and Fine Entity Extraction: A two-step classification process. First, tokens are classified into 4 broad "coarse" categories. Then, the system drills down into 21 highly specific "fine-grained" sub-types.
- Postprocessing: Re-injects the extracted entity spans directly back into the document, highlighting them visually for the user and generating a structured JSON file.
The underlying architecture leverages standard state-of-the-art transformer models (such as XLM-RoBERTa, DeBERTa-V3, and BERT) adapted to this specialized hierarchical taxonomy.
Datasets
The platform relies on the CrimeNER-db dataset, which contains over 1,500 annotated documents drawn from real-world scenarios, including terrorist reports and official US press notes. The dataset establishes a two-level hierarchy across four main categories:
- Crime: (e.g., Terrorism, Fraud, Theft, Homicide)
- Actor: (e.g., Criminal Person, Terrorist Organization)
- Agent & Agency: (e.g., Law Enforcement, Legal)
- Logistic: (e.g., Location, Weapons & Explosives, Money)
Key Insights and Ideas
- The Power of Two-Level Granularity: Instead of a flat entity structure, the coarse-to-fine approach allows the system to capture broad context (e.g., identifying a "Logistic" entity) before specifying the exact detail (e.g., "Weapons & Explosives"). This mimics how human investigators skim and then analyze documents.
- Model Discrepancies in Span Length: A fascinating qualitative finding was that different transformer architectures yield noticeably different entity span boundaries for the exact same text. For instance, one model might highlight just a name, while another highlights the full title and name.
- Data Efficiency via Fine-Tuning: Law enforcement agencies frequently deal with localized vocabulary or non-English text. By enabling localized fine-tuning on top of pretrained crime-domain representations, the system requires significantly fewer annotated samples to achieve high accuracy in a new target domain.
Key Results
The authors benchmarked six popular transformer models on the CrimeNER-db test split using both "Strict" (exact span match) and "Flexible" (overlapping span match) F1 scores.
- XLM-RoBERTa-Base proved to be the most precise model, leading the pack in Strict F1 scores for both Coarse (0.650) and Fine (0.650) entity types.
- DeBERTa-V3-Base excelled at capturing the general vicinity of entities, achieving the highest Flexible F1 scores for Coarse (0.902) and Fine (0.892) entities.
The performance breakdown can be seen in the benchmark table below:
The user interface provides a clean dashboard for model selection, document upload, and visual verification of these extractions:
Limitations and Future Work
A primary technical limitation noted by the authors is a visual misalignment issue: the bounding boxes in the generated PDF metadata do not always perfectly align with the visual text positions in the document layout.
Looking ahead, the authors plan to transition CrimeNER into a multimodal architecture, combining natural language processing with computer vision models to better handle text embedded in images or scanned documents. Additionally, they aim to integrate features to detect AI-generated text, deepfakes, and document manipulations—critical capabilities for modern digital forensics.
Summary updated