Introduction
Analyzing human smuggling networks is a high-stakes challenge for law enforcement and social scientists. While court documents and legal transcripts contain a wealth of information about actors, routes, and methods, this data is often "trapped" in dense, unstructured formats that are difficult for machines to parse. CORE-KG is a modular, LLM-driven framework designed to transform these messy legal documents into clean, interpretable Knowledge Graphs (KGs). By implementing specialized "type-aware" coreference resolution and domain-specific filtering, it significantly reduces redundant data and filters out irrelevant "legal noise."
The Challenge of Legal Data
Legal texts are notoriously dense and present two specific hurdles for automated network analysis:
- Coreference Ambiguity: A single individual might be referred to as "Paul Silva," "S.," "the defendant," or "the driver" within a few pages. Standard tools often treat these as separate entities, leading to fragmented, "shattered" graphs where one person appears as multiple disconnected nodes.
- Legal Noise: Documents are cluttered with procedural boilerplate—terms like "District Court," "Jury," or "Motion for Acquittal." If a standard extractor pulls these into a graph, these irrelevant nodes often appear as central hubs simply because they are mentioned so frequently, obscuring the actual criminal network.
The CORE-KG Framework
The CORE-KG pipeline, built on the LLaMA 3.3 70B model, moves beyond generic extraction through two primary architectural innovations:
- Type-Aware Coreference Resolution: Instead of asking the LLM to resolve all names at once, the system processes entities type-by-type (e.g., resolving all "Person" mentions, then all "Location" mentions). This prevents "attention diffusion," where the model loses focus when juggling too many categories, leading to higher accuracy in linking aliases to canonical names.
- Structured, Sequential Extraction: Built on an adapted GraphRAG framework, CORE-KG uses "in-prompt" filtering. The model is explicitly instructed to ignore government-related entities and procedural terms. Furthermore, it extracts entities in a strict sequence (Person $\rightarrow$ Location $\rightarrow$ Route, etc.) to ensure the LLM maintains high semantic precision for each category.
Experimental Setup
The researchers evaluated CORE-KG using a dataset of U.S. federal and state court cases related to human smuggling filed between 1994 and 2024. Documents were retrieved from the Nexis Uni academic search engine, focusing specifically on the "Opinion" sections which contain the core factual narratives. Since no "gold standard" annotated graph exists for these cases, the authors benchmarked CORE-KG against a standard GraphRAG baseline.
Key Insights and Results
One of the paper's most significant takeaways is that LLMs perform significantly better when their internal attention is guided. By forcing the model to resolve coreferences for one entity type at a time, the framework effectively manages the model's cognitive load.
As shown in the qualitative analysis above, CORE-KG successfully consolidates variants like "A.Y." and "J.C.D.A" into unified nodes and filters out task-irrelevant terms like "appeal process" or "judgment of acquittal." This prevents procedural entities from appearing as central coordinators in the criminal network.
Quantitatively, CORE-KG showed dramatic improvements over the baseline:
- 33.28% Reduction in Node Duplication: The coreference resolution successfully collapsed multiple aliases into single, meaningful nodes.
- 38.37% Reduction in Legal Noise: The "in-prompt" filtering effectively scrubbed the graphs of irrelevant procedural entities.
Conclusion and Future Work
CORE-KG demonstrates that domain-specific constraints and sequential processing can turn LLMs into highly effective tools for legal knowledge extraction. While the system still faces challenges with certain geopolitical entities (e.g., distinguishing "United States" as a location versus a government actor), it provides a much clearer map of criminal networks than general-purpose tools.
Future work will focus on scaling the study to larger corpora, developing automated "group discovery" to identify specific smuggling cells, and adding a temporal dimension to track how these networks evolve in response to enforcement policies.
Summary updated