Introduction
In the entertainment industry, the rapid evaluation of scripts for films and dramas is a high-stakes task. Producers must grasp complex character arcs, power dynamics, and relationship webs to make informed production decisions. Traditional automated methods, such as co-occurrence networks, often fail to capture the nuances of human interaction. While Large Language Models (LLMs) offer a potential solution, they frequently struggle with long-form narratives due to "context walls," leading to failures in coreference resolution, missing implicit relations, and information overload.
CREFT (Character Relation Extraction Framework) is a novel multi-agent system designed to transform raw narrative scripts into structured character networks. By decomposing the extraction process into a sequential pipeline of specialized LLM agents, CREFT addresses these challenges and achieves significant performance gains over single-pass models.
Methodology
The CREFT framework shifts from a monolithic prompting strategy to a two-stage sequential process:
1. Base Character Graph Construction
To protect intellectual property, the framework utilizes knowledge distillation. A specialized Korean-language LLM is fine-tuned using data generated by GPT-4o to extract Subject-Predicate-Object (SPO) triplets from script chunks, forming an initial "noisy" graph.
2. Sequential Multi-Agent Refinement
A chain of specialized agents (Mistral-Large-Instruct-2411) iteratively refines the graph through several steps:
- Character Selection: Uses Personalized PageRank (PPR) to identify narratively significant characters.
- Merging Duplicate Nodes: Resolves aliases and titles to consolidate the character list.
- Relation Extraction: Categorizes connections into explicit (e.g., family) and implicit (e.g., wariness) types.
- Filtering & Role Identification: Removes noise characters and assigns narrative roles.
- Grouping: Clusters characters into functional units like "Hospital Staff."
Experimental Setup
The framework was evaluated using a curated dataset of 15 Korean drama scripts aired between 2014 and 2023. The study focused on the first four episodes of each series—the critical window for production "green-lighting" decisions. These scripts were manually annotated by domain experts to establish a ground-truth baseline for character roles, group affiliations, and relationship types.
Results and Discussion
CREFT demonstrated a clear "multi-agent advantage" over single-pass baselines across several metrics:
- Character Recall: Improved from 54.1% to 72.9%.
- Group Match F1-Score: Increased by 16.5% absolute (from 25.9% to 42.4%).
- Role Similarity: Achieved 84.8% accuracy.
Qualitatively, the multi-agent approach significantly improved the clarity of the Character Relation Structure (CRS). The multi-agent approach successfully merged multiple aliases and identified complex relations that the single-agent baseline failed to capture accurately, as illustrated in the following comparison:
Key Insights
- Decomposition: Reducing cognitive load by assigning specific tasks to individual agents significantly improves performance.
- Topology over Frequency: Using PPR instead of simple frequency counts helps identify narratively significant "bridge" characters who might have fewer lines but are central to the plot.
- Implicit Relations: Specialized emotional prompting is necessary to detect subtle tensions, which are often more important for narrative analysis than explicit familial ties.
Conclusion
While CREFT marks a significant advancement in automated script analysis, group assignment remains a challenge due to the evolving nature of narrative dynamics. Future work will explore adaptive refinement strategies based on genre, human-in-the-loop integration for real-time corrections, and deeper context modeling to capture longer-range narrative arcs.
Summary updated