Igniting Creative Writing in Small Language Models: LLM-as-a-Judge versus Multi-Agent Refined Rewards

Xiaolong Wei, Bo Lu, Xingyu Zhang, Zhejun Zhao, Dongdong Shen, Long Xia, Dawei Yin

TL;DR

This paper tackles the challenge of making Small Language Models (SLMs) more creative, specifically for generating Chinese greetings. They propose two AI-driven reward strategies within a Reinforcement Learning from AI Feedback (RLAIF) framework: a refined reward model trained on multi-agent curated data and a novel "LLM-as-a-Judge" approach. The LLM-as-a-Judge method, guided by explicit principles and adversarial training, proves superior, achieving state-of-the-art results with greater efficiency and less reliance on human data.

What Problem Does This Paper Address?

Large Language Models (LLMs) are great at creative writing, but they're computationally expensive. This makes them impractical for widespread use, especially for tasks requiring high volumes of personalized content. Small Language Models (SLMs) offer a more efficient alternative, but they often lack the creative flair of their larger counterparts. Existing methods like Supervised Fine-Tuning (SFT) struggle with novelty, and Reinforcement Learning from Human Feedback (RLHF) is costly due to the need for extensive human-annotated preference data. The authors aim to bridge this gap by developing AI-driven reward mechanisms that can effectively guide SLMs towards producing high-quality, creative text without the prohibitive costs of LLMs or human feedback.

Methods

The core of the paper lies in two distinct AI-driven reward strategies integrated into a Reinforcement Learning from AI Feedback (RLAIF) framework to train a 7B-parameter SLM (Qwen2.5-7B-Instruct) for generating Chinese greetings:

  1. Refined Reward Model (RM): This approach uses a multi-agent system to generate and filter high-quality preference data. This data is then used to train a reward model. The multi-agent system involves:
  2. Retrieval Agent: Fetches relevant context for evaluation.
  3. Debate Agents (Positive & Negative): These agents identify strengths and weaknesses of a generated response, respectively.
  4. Judge Agent: Synthesizes the debate agents' evaluations into an initial judgment.
  5. Reflect Agent: Critically reviews the Judge Agent's reasoning and potentially ratifies or overrides the judgment. This process generates preference pairs for RM training.
  6. LLM-as-a-Judge: This novel strategy directly employs a powerful LLM as the reward provider. Key aspects include:
  7. Adversarial Dynamics: A Generator (the SLM being trained) and a Detector (the LLM judge) engage in adversarial training. The Generator tries to produce "bad" responses that fool the Detector, while the Detector learns to distinguish good from bad.
  8. Reflector-Enhanced Detector: A "Reflector" module is introduced to improve the Detector's reliability. It analyzes misclassifications and provides feedback to guide the Detector's learning, making it more robust.
  9. Principle-Guided: The LLM-as-a-Judge's judgments are guided by explicitly defined creative writing principles, and its reward function is optimized via this adversarial training.

Both reward signals are then used to train the target SLM using the GRPO (Proximal Policy Optimization) algorithm.

Datasets

  • Retrieval Corpus: 23,442 instances used to provide high-quality contextual examples for the multi-agent evaluation system.
  • Reward Model Training Data: 7,896 preference pairs (query, chosen_response, rejected_response) generated by the multi-agent system, split into 80% training and 20% testing.
  • Policy Optimization (GRPO) Data: 4,000 distinct online queries used for fine-tuning the SLM, split into 80% train and 20% test.
  • Final Evaluation Set: 2,000 query-response pairs, balanced with 1,000 "high-quality" and 1,000 "low-quality" instances, used for comprehensive automated and human evaluations.

Key Insights and Ideas

  • LLM-as-a-Judge is a powerful, efficient alternative: The paper strongly advocates for the LLM-as-a-Judge approach, demonstrating its ability to achieve state-of-the-art results with significantly less complexity and human annotation effort compared to training a separate reward model.
  • Multi-agent debate enhances preference data quality: The multi-agent framework for generating preference data is crucial for training effective reward models, as it allows for a more nuanced and less biased assessment of creative text.
  • Principle-guided LLMs are key for creative tasks: Explicitly defining principles for the LLM-as-a-Judge is vital for steering creative generation, especially in subjective domains like writing.
  • Discrete rewards can drive performance: The LLM-as-a-Judge provides a binary (0 or 1) reward, which, contrary to the expectation that continuous rewards are always better, proves highly effective in driving substantial performance gains in RL for creative tasks.
  • Alignment with human judgment is achievable: Both proposed AI-driven evaluation frameworks show substantial agreement with human evaluations, suggesting they can effectively approximate human assessment.

Key Results

  • Superior Performance: The LLM-as-a-Judge + RL approach achieved state-of-the-art (SOTA) performance with excellence rates of 92.4%, 96.6%, and 95.0% across three distinct evaluation metrics. This surpassed contemporary mainstream LLMs and the refined RM approach.
  • Efficiency Gains: The LLM-as-a-Judge method demonstrated greater training efficiency and reduced reliance on expensive human annotations.
  • Human Evaluation Alignment: Both the Multi-Agent Framework and Adversarial Framework showed strong agreement rates (exceeding 70%) with human evaluations, with the Multi-Agent Framework showing slightly higher alignment (80-87%).
  • Ablation Studies: Removing key components of the multi-agent framework (especially the debate agents) significantly degraded performance, highlighting the importance of each module. The reflection mechanism in the adversarial framework was also shown to be critical for robustness.
  • Quantitative Scores: In human evaluations across five dimensions (Language Quality, Creativity, Emotion, Cultural Appropriateness, Content), the LLM-as-a-Judge + RL model consistently achieved the highest average scores. For example, in Table 5, it scored 2.612 in Content, compared to 2.306 for SFT + Qwen2.5-7B-Instruct.

Limitations and Future Work

  • Task and Language Specificity: Experiments were limited to Chinese greetings. Generalizability to other creative writing tasks (e.g., poetry, storytelling) and languages requires further investigation.
  • Scale of SLMs: The study focused on 7B-parameter SLMs. The effectiveness and scalability of the proposed mechanisms for smaller or larger SLMs need to be explored.
  • Subjectivity of Creativity: "Creativity" is inherently subjective. The principles guiding the LLM-as-a-Judge might embed biases, and finding optimal principles for diverse creative tasks remains an open question.
  • Complexity of Multi-Agent System: While LLM-as-a-Judge is more efficient, the multi-agent framework for RM curation is complex to design and operate.
  • Depth of Reflection: The reflection mechanism's depth and how to systematically improve its error-correction capabilities are areas for future work.
  • Potential Risk of Bias Reinforcement: The principles or data used might unknowingly encapsulate societal biases, which RLAIF could amplify, leading to stereotypical outputs. Future research could explore broader task domains, diverse languages, different model scales, and more sophisticated methods for defining creative principles.

Summary updated

BibTeX
@inproceedings{wei2025igniting,
  author = {Xiaolong Wei and Bo Lu and Xingyu Zhang and Zhejun Zhao and Dongdong Shen and Long Xia and Dawei Yin},
  title = {{Igniting Creative Writing in Small Language Models: LLM-as-a-Judge versus Multi-Agent Refined Rewards}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure