Abstract
Large Language Models (LLMs) have demonstrated remarkable creative writing capabilities, yet their substantial computational demands hinder widespread use. Enhancing Small Language Models (SLMs) offers a promising alternative, but current methods like Supervised Fine-Tuning (SFT) struggle with novelty, and Reinforcement Learning from Human Feedback (RLHF) is costly. This paper explores two distinct AI-driven reward strategies within a Reinforcement Learning from AI Feedback (RLAIF) framework to ignite the creative writing of a 7B-parameter SLM, specifically for generating Chinese greetings. The first strategy employs a Reward Model (RM) trained on high-quality preference data curated by a novel multi-agent rejection sampling framework designed for creative tasks. The second, more novel strategy utilizes a principle-guided LLM-as-a-Judge, whose reward function is optimized via an adversarial training scheme with a reflection mechanism, to directly provide reward signals. Comprehensive experiments reveal that while both approaches significantly enhance creative output over baselines, the principle-guided LLM-as-a-Judge demonstrably yields superior generation quality. Furthermore, it offers notable advantages in training efficiency and reduced dependency on human-annotated data, presenting a more scalable and effective path towards creative SLMs. Our automated evaluation methods also exhibit strong alignment with human judgments. Our code and data are publicly available at https://github.com/weixiaolong94-hub/Igniting-Creative-Writing-in-Small-Language-Models.
Introduction
While Large Language Models (LLMs) excel at creative tasks, their high inference latency and computational demands make them impractical for high-volume, real-time applications. Small Language Models (SLMs, <10B parameters) are efficient alternatives but typically struggle with the "novelty" and "emotional resonance" required for high-quality creative writing. Standard techniques like Supervised Fine-Tuning (SFT) often lead to models that mimic style but lack genuine creativity, while Reinforcement Learning from Human Feedback (RLHF) is prohibitively expensive and slow. This paper addresses the challenge of "igniting" creativity in a 7B-parameter model (Qwen2.5-7B) using Reinforcement Learning from AI Feedback (RLAIF), specifically focusing on the culturally nuanced domain of Chinese greetings.
Methodology
We investigate two distinct AI-driven reward strategies to guide policy optimization using the Group Relative Policy Optimization (GRPO) algorithm:
Multi-Agent Rejection Sampling Framework
This system uses a pipeline of specialized agents to curate high-quality preference data. A Retrieval Agent finds relevant examples from a corpus of 23,442 high-quality instances; a Debate Agent pair (one positive, one negative) argues the merits and flaws of a response to avoid confirmation bias; a Judge Agent synthesizes these views; and a Reflect Agent performs a final sanity check. This data (7,896 preference pairs) is then used to train a standard Reward Model (RM).
Principle-Guided LLM-as-a-Judge (Adversarial)
Instead of a static RM, this approach uses a powerful LLM directly as the reward provider. To ensure robustness, we employ an adversarial training scheme: a "Generator" tries to produce "bad" responses that fool a "Detector" (the judge). A Reflector module analyzes mistakes against ground-truth labels to provide structured feedback, iteratively refining the judge’s ability to provide high-fidelity reward signals.
Experimental Results
Models were evaluated across five dimensions: Language Quality, Creativity, Emotion, Cultural Appropriateness, and Content Richness. The adversarial LLM-as-a-Judge approach proved more effective than the traditional Reward Model, providing a dynamic signal that evolves with the training process.
As shown in the performance comparison for high-frequency greetings, the LLM-as-a-Judge + RL model achieved a human excellence rate of 95.0%, outperforming the SFT + Reward Model + RL approach (94.6%) and significantly beating the base Qwen2.5-7B-Instruct (57.6%). Notably, in this specific domain, the optimized 7B SLM outperformed much larger models like GPT-4o (50.0%) and Ernie-4.5 (87.6%).
Ablation studies confirmed the importance of the multi-layered critique; removing the "Reflect Agent" or "Debate Agents" caused significant drops in F1-scores and recall, highlighting that these components are essential for maintaining high data quality.
Conclusion
This research demonstrates that domain-specific RL can bridge the gap between small and large models in creative writing. The principle-guided LLM-as-a-Judge strategy is more streamlined and scalable, bypassing labor-intensive RM training. Future work will explore the generalizability of these reward mechanisms to other creative forms and even smaller model scales.
Summary updated