LINK-KG: LLM-Driven Coreference-Resolved Knowledge Graphs for Human Smuggling Networks

Dipak Falgun Meher, Carlotta Domeniconi, Guadalupe Correa‐Cabrera2025

Introduction

Analyzing human smuggling networks requires extracting actionable intelligence from vast quantities of unstructured legal data, such as court rulings and case transcripts. While Knowledge Graphs (KGs) offer a powerful way to represent these networks, automated construction often suffers from significant noise and fragmentation. Specifically, legal documents are replete with coreference ambiguities—where individuals are referred to by roles (e.g., "the driver") or aliases—and irrelevant procedural jargon. This paper introduces LINK-KG, a modular framework designed to resolve these ambiguities and produce cleaner, more accurate KGs using Large Language Models (LLMs).

Automated KG construction in the legal domain faces three primary hurdles:

  1. Coreference Ambiguity: Entities frequently shift roles (a "smuggler" becomes "the defendant" or "the driver"). Standard extraction tools often treat these as distinct entities, leading to redundant nodes and a fragmented graph.
  2. Positional Bias ("Loss-in-the-Middle"): LLMs often struggle to maintain context over long documents, losing track of entities mentioned in the middle of the text due to positional encoding limits.
  3. Domain Noise: Legal filings contain high-frequency but irrelevant entities like "the jury" or "the court," which obscure the actual criminal network structure.

LINK-KG addresses these issues through a three-phase pipeline centered around a "type-specific Prompt Cache."

Phase 1: NER-LLM

The system first partitions the text into manageable chunks. An LLM performs Named Entity Recognition (NER) to extract proper nouns, noun phrases, and brief descriptive identifiers for each entity type (e.g., Person, Location, Organization).

Phase 2: Mapping-LLM and Prompt Cache

This phase acts as the system's memory. LINK-KG builds a persistent cache that maps various aliases and role-based descriptions to a single "canonical" name. A "gleaning" step allows the model to perform a second pass, revising earlier mappings based on information discovered later in the document. By maintaining separate caches for different entity types, the system prevents cross-type mapping errors (e.g., confusing a person with a location).

Phase 3: Resolve-LLM

The final phase rewrites the original text. Every ambiguous alias is replaced with its canonical name from the cache, creating a "coreference-resolved" narrative. This resolved text is then passed to a KG construction module (extending the GraphRAG framework).

To further enhance quality, LINK-KG employs Sequential Entity Extraction, where the LLM extracts entity types in a fixed order to prevent attention spread, and In-prompt Filtering to strip out procedural legal jargon automatically.

Experimental Setup

The framework was evaluated using a custom dataset of 16 judicial cases related to human smuggling retrieved from the Nexis Uni database (1994–2024). The dataset included 7 short documents (≤2,500 words) and 9 long documents (>2,500 words), focusing specifically on the "Opinion" sections which contain the factual narratives of the smuggling operations.

Results and Impact

LINK-KG was compared against standard GraphRAG and CORE-KG baselines. The results demonstrate significant improvements in graph quality:

  • Node Duplication: LINK-KG reduced average node duplication by 45.21%. Its performance was particularly notable on long documents, where the Prompt Cache significantly outperformed single-pass methods.
  • Noise Reduction: The system achieved a 32.22% reduction in noisy, irrelevant nodes.
  • Qualitative Resolution: Case studies showed that LINK-KG successfully resolved complex plural mentions (e.g., "the occupants") to specific named defendants, whereas baselines left these as fragmented, orphaned nodes.

Conclusion and Future Work

LINK-KG provides a robust solution for transforming messy legal narratives into structured, coreference-resolved knowledge graphs. By implementing type-specific memory and explicit grounding rules for plural mentions, the framework mitigates the common pitfalls of LLM-based extraction. While currently dependent on pre-extracted "Opinion" sections, future iterations will focus on processing raw legal data and utilizing these cleaner graphs for advanced tasks such as group detection, role attribution, and event prediction to assist law enforcement and policy-makers.

Summary updated

BibTeX
@misc{meher2025link,
  author = {Dipak Falgun Meher and Carlotta Domeniconi and Guadalupe Correa‐Cabrera},
  title = {{LINK-KG: LLM-Driven Coreference-Resolved Knowledge Graphs for Human Smuggling Networks}},
  year = {2025},
  eprint = {2510.26486},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26486},
}
Figure