Abstract
Great novels create immersive worlds with rich character arcs, well-structured plots, and nuanced writing styles. However, current novel generation methods often rely on brief, simplistic story outlines and generate details using plain, generic language. To bridge this gap, we introduce the task of Pastiche Novel Generation, which requires the generated novels to imitate the distinctive features of the original work, including understanding character profiles, predicting plausible plot developments, and writing concrete details using vivid, expressive language. To achieve this, we propose WriterAgent, a novel generation system designed to master the core aspects of literary pastiche. WriterAgent is trained through a curriculum learning paradigm, progressing from low-level stylistic mastery to high-level narrative coherence. Its key tasks include language style learning, character modeling, plot planning, and stylish writing, ensuring comprehensive narrative control. To support this, WriterAgent leverages the WriterLoRA framework, an extension of LoRA with hierarchical and cumulative task-specific modules, each specializing in a different narrative aspect. We evaluate WriterAgent on multilingual classics like Harry Potter and Dream of the Red Chamber, demonstrating its superiority over baselines in capturing the target author's settings, character dynamics, and writing style to produce coherent, faithful narratives.
Introduction
While Large Language Models (LLMs) have revolutionized text generation, they often struggle with the high-level creative demands of literary fiction. Standard models tend to produce "plain, generic language" and often fail to maintain character consistency or complex plot logic over long sequences. The authors identify a specific gap in current research: Pastiche. Writing a successful pastiche requires more than just following a prompt; it requires an intimate understanding of an author's "literary soul"—their specific vocabulary, the nuances of character interaction, and the underlying worldview that governs narrative progression.
Existing methods often fall into "stylistic drift" or create "hallucinated" character relationships (e.g., misidentifying a character's mother) because they treat story generation as a flat, one-step prediction task. To solve this, a more structured approach is needed that mimics the human creative process.
Methodology
The researchers propose WriterAgent, a system built on two core innovations designed to capture the multi-faceted nature of creative writing: WriterLoRA and a Curriculum Learning paradigm.
WriterLoRA Architecture
WriterLoRA is an extension of Low-Rank Adaptation (LoRA). Instead of a single set of adapter matrices, WriterLoRA utilizes a Shared Foundation ($A$ matrix) to capture core language understanding and a series of Task-Specific B-matrices. This allows the model to specialize in different narrative aspects—such as world-building, plotting, and stylistic prose—without "forgetting" the author's unique voice or the general rules of language.
Curriculum Learning Paradigm
The model is trained in a sequence that mimics how a human author might master a specific style:
- Language Style Learning: Next-word prediction to capture the specific vocabulary and "vibe" of the author.
- World Building: Learning to generate detailed character profiles and relationship maps to ensure internal consistency.
- Plot Planning: Predicting plausible narrative arcs based on previous events and character motivations.
- Stylish Writing: Synthesizing the previous steps to write the actual prose, ensuring it is rich in the original author's style.
Experimental Setup
The study evaluated WriterAgent on two culturally significant, multi-volume works to test its cross-lingual and cross-cultural capabilities:
- English: The Harry Potter series (Books 1-6 for training, Book 7 for testing).
- Chinese: Dream of the Red Chamber (Chapters 1-80 for training, 81-120 for testing).
To support training, the authors used GPT-4 to segment the original texts and generate concise plot summaries, creating a structured dataset of character profiles, plot points, and corresponding prose.
Key Results and Insights
WriterAgent consistently outperformed baselines like Qwen-2, Llama-3, and MoELoRA (Mixture of Experts LoRA) across several metrics:
- Quantitative Superiority: It achieved higher ROUGE scores and significantly better marks in "Advanced Metrics" (evaluated by GPT-4o) for Language Style (LS), Expression Methods (EX), and Plot Mainline.
- Qualitative Preference: In human evaluations conducted by PhDs with literary backgrounds, WriterAgent was preferred in 73.1% of cases compared to other fine-tuned models.
- The "Frozen Foundation" Strategy: A key technical finding was that freezing the foundation matrix ($A_{fdn}$) after the initial style learning phase is crucial. If the model continues to update this matrix during complex plot training, the "literary style" tends to degrade. Stability in the foundation is the secret to stylistic consistency.
- Error Reduction: The model successfully avoided common baseline errors, such as "modernizing" the language of a historical novel or shifting the thematic focus from political risk to simple financial issues.
Conclusion
WriterAgent demonstrates that high-quality pastiche generation is possible by decomposing the creative process into hierarchical, specialized tasks. By explicitly modeling world-building and plot planning before final prose generation, the system maintains character integrity and stylistic depth where standard LLMs fail. Future work will aim to reduce the reliance on semi-automatically extracted plot summaries and extend the framework to more diverse, non-linear storytelling styles.
Summary updated