Abstract
Large Language Models (LLMs) often struggle with a "copyright catch-22": they either regurgitate protected training data or provide blunt, unhelpful refusals that destroy user utility. We introduce FUA-LLM (Fair Use Aligned LLM), a framework that moves beyond binary string-matching filters toward a nuanced understanding of legal doctrine. By fine-tuning models on judicial precedents and expert-curated preference data, we enable LLMs to generate transformative, legally compliant responses. Our results show that FUA-LLM significantly outperforms existing safeguards like SHIELD in balancing helpfulness with copyright compliance.
Introduction: The Copyright Catch-22
LLMs are prone to "regurgitation"—the verbatim reproduction of copyrighted training data—which has led to significant legal challenges. Current industry solutions typically rely on restrictive filters (e.g., SHIELD) that trigger blunt refusals. These filters often fail to distinguish between infringing requests and legal "Fair Use" requests, such as scholarly analysis or transformative critiques. This lack of legal nuance results in a massive drop in model utility, where the system treats copyright as a simple string-matching problem rather than a complex legal doctrine involving purpose, nature, amount, and market effect.
Methodology: Aligning with Fair Use
The FUA-LLM framework employs a multi-stage alignment process to teach models the reasoning chains used by legal experts:
- Legal Grounding (SFT): The base model undergoes Supervised Fine-Tuning on 252 US federal court case proceedings where Fair Use was a central issue. This grounds the model in judicial reasoning.
- Preference Alignment (DPO): Using the FairUseDB dataset, we apply Direct Preference Optimization (DPO). The model is trained to prefer "chosen" responses—those that are legally compliant, transformative, and helpful—over "rejected" responses that are either infringing or overly restrictive.
- Agentic Deployment: To maintain performance without excessive latency, a lightweight triage system is used. A Topic Analysis Agent flags sensitive prompts, and a Web Search Agent verifies copyright status before routing the request to the specialized FUA-LLM.
Data and Expert Alignment
In collaboration with ten Intellectual Property (IP) lawyers, we developed two primary datasets:
- Fair-Use Court Case Dataset ($D_{fu}$): 252 distinct US court proceedings categorized by legal outcomes.
- FairUseDB ($D_{pref}$): A preference dataset of 18,000 examples covering nine high-risk categories, including fan fiction, unauthorized translations, and style mimicry. Each "chosen" response was crafted by legal experts to be transformative rather than derivative.
Results: Utility vs. Compliance
FUA-LLM was tested across Llama 3.1, Gemma-3, and Qwen-2.5 families. Traditional metrics like ROUGE are insufficient for this task, so we introduced the Compliance-Aware Harmonic Mean (CAH), which penalizes models that fail in either helpfulness or safety.
FUA-LLM achieved a CAH score of 0.76 (on Llama 3.1), vastly outperforming SHIELD (0.21) and simple prompting (0.03). Blinded evaluations by IP lawyers rated FUA-LLM responses at ~8.0/10 for being both compliant and helpful. In contrast, baseline models were frequently rated as either "dangerous" due to verbatim text or "useless" due to blunt refusals.
Conclusion and Future Work
FUA-LLM demonstrates that LLMs can be trained to respect copyright while remaining useful. By focusing on "transformativeness," the model provides summaries or critiques instead of infringing verbatim quotes. Future work will focus on reducing the inference overhead of the agentic pipeline and adapting the framework to international copyright jurisdictions beyond the U.S. Fair Use doctrine.
Summary updated