TL;DR
The paper introduces CrimeNER-db, the first large-scale, manually annotated dataset specifically designed for general crime-related Named-Entity Recognition (NER). Spanning over 1.5K documents with a hierarchical taxonomy of 4 coarse and 21 fine-grained entity types, the dataset provides a crucial benchmark for training NLP models in forensics. The authors demonstrate that while supervised Pretrained Language Models (PLMs) still hold the crown for strict entity extraction, open-source Large Language Models (LLMs) offer impressive generalization capabilities under flexible evaluation settings.
What Problem Does This Paper Address?
Law enforcement and forensic agencies are inundated with text data, from daily press notes to complex incident reports. Manually extracting critical details—such as who committed a crime, what weapons were used, or where an asset was moved—is incredibly time-consuming and inefficient.
While Named-Entity Recognition (NER) is a mature NLP task, existing datasets heavily favor general domains (like news or biomedical literature) or highly specific niches (like cyber threat intelligence). There has been a glaring lack of high-quality, annotated data covering general real-world crime scenarios. The authors address this low-resource domain gap by creating a standardized dataset and establishing robust baselines.
Methods
The authors developed a two-level hierarchical annotation schema to capture both broad context and granular details:
- 4 Coarse Entities: Crime, Actor, Agent & Agency, and Logistic.
- 21 Fine-Grained Entities: Sub-categories mapping directly to the coarse types (e.g., Logistic breaks down into Location, GPE, Date, Weapons and Explosives, and Money).
A key feature of their methodology is the inclusion of nested entities (entities inside other entities), which reflects the complexity of real-world legal and criminal texts.
To evaluate performance, the authors implemented a two-stage pipeline: a coarse entity extractor identifies the main text spans, and a fine classifier assigns the granular sub-types. They evaluated this setup using two paradigms:
- Supervised Fine-Tuning (SFT): Testing 6 common PLMs (including XLM-RoBERTa, DeBERTa-V3, and BERT).
- Zero- and Few-Shot Prompting: Evaluating 4 open-source LLMs (Llama 3.2, Gemma 4, Mistral 7B, and Phi-2) via the Ollama framework across varying numbers of context examples (from 1 to 200 shots).
Datasets
The paper introduces CrimeNER-db, which consists of 1,568 manually annotated documents filtered to lengths between 100 and 500 characters. The data was compiled from two primary real-world sources:
- U.S. Department of Justice (DOJ) Press Releases (2009–2018): Providing a rich vocabulary of everyday criminal offenses like fraud, theft, and drug trafficking.
- Global Terrorism Database (GTD) 2021 Release: Integrated specifically to counteract the underrepresentation of international locations and terrorist organizations in the DOJ data.
Three independent annotators processed the documents over three rigorous rounds of validation and sanity checks using the Doccano library.
Key Insights and Ideas
- The LLM Span Mismatch Penalty: Autoregressive LLMs struggle significantly under strict evaluation metrics. Because they generate text token-by-token rather than classifying spans directly, minor punctuation or whitespace discrepancies penalize their scores, even if they correctly identify the core entity.
- Context Overload in Few-Shot Learning: More data isn't always better for LLMs. For instance, Llama 3.2 showed a performance degradation when context examples exceeded 10 shots. The authors hypothesize that too many examples overwhelm the model's context window, leading to confusion.
- Balancing the Taxonomy: While Logistic entities (like dates and geopolitical entities) are numerically the most frequent spans, Crime entities contain the highest number of total tokens, highlighting the descriptive complexity of criminal acts in text.
Key Results
The experiments evaluated models using both Strict F1 (exact span match) and Flexible F1 (partial overlap or subset match) scores.
- Supervised Champions: In the fully supervised setting, XLM-RoBERTa-Base achieved the highest Strict F1 score (0.650 for both coarse and fine entities). Meanwhile, DeBERTa-V3-Base excelled in Flexible F1, reaching a top score of 0.902 for coarse entities.
- LLM Generalization: While no LLM outperformed the supervised baselines, Gemma 4 emerged as the strongest few-shot performer, achieving its best flexible F1 score at 100 shots. This underscores its potential utility in scenarios where labeled data is completely unavailable.
Limitations and Future Work
Despite being the largest dataset of its kind, CrimeNER-db remains relatively small compared to massive general-domain NER corpora like OntoNotes. It is also currently restricted to English-language documents.
Moving forward, the authors plan to:
- Extend the database by incorporating multi-lingual crime documents.
- Explore synthetic data generation techniques to expand the dataset's scale safely.
- Transition toward multimodal architectures that combine text processing with visual document layout analysis to parse scanned police reports and physical evidence more effectively.
Summary updated