POLARIS:引导小模型撰写长篇小说
POLARIS: Guiding Small Models to Write Long Stories
AI总结:
提出POLARIS训练方法,结合LLM裁判奖励和人类参考注入,使9B小模型在长故事写作中达到与27B模型相当的质量,并展现出长度泛化能力。
摘要:
小型开源模型在长篇创意写作中表现不佳:它们生成的故事要么远低于要求的长度,要么随着长度增加质量显著下降,尤其是与前沿模型相比。我们提出了POLARIS(基于LLM裁判奖励和锚定参考注入的故事写作策略优化),这是一种低计算量的GRPO方法,包含两个关键要素:一个具有结构化故事质量评分标准的前沿LLM裁判作为在线奖励,以及人类参考注入(HRI),其中教师强制的人类撰写故事作为每个GRPO组内的高奖励锚点。通过将我们的训练方法应用于Qwen3.5-9B,使用从100部短篇小说集中提取的约1.4K个提示-故事对数据集和4块A100 GPU,我们得到了POLARIS-9B。在涵盖分布内和分布外提示及评分标准的五个基准测试中,POLARIS-9B与更大的开源模型竞争,同时更严格地遵循长度指令。盲人机评估证实,POLARIS-9B优于基础Qwen3.5-9B,并与Qwen3.5-27B相当。尽管仅在长达4000词的故事上训练,POLARIS-9B在要求故事长度达到训练长度3倍的提示下仍能保持质量,而大多数开源模型在此情况下质量、长度遵循度或两者均显著下降。更广泛地说,我们的结果表明,长度泛化是创意写作模型的一个有意义的压力测试,也是区分其他接近模型的有用视角。
英文摘要:
Small open-weight models struggle at long-form creative writing: their generated stories either fall far short of the requested length, or their quality significantly degrades as length increases, especially when compared to frontier models. We present POLARIS (Policy Optimization with LLM-as-a-judge rewards and Anchored-Reference Injection for Storywriting), a lower-compute GRPO recipe with two key ingredients: a frontier LLM judge with a structured Story Quality rubric as the online reward, and human-reference injection (HRI), where a teacher-forced human-written story serves as a high-reward anchor within each GRPO group. By applying our training recipe to Qwen3.5-9B, using a dataset of approximately 1.4K prompt-story pairs derived from 100 short-story anthologies and 4 A100 GPUs, we obtain POLARIS-9B. Across five benchmarks spanning in-distribution and out-of-distribution prompts and rubrics, POLARIS-9B is competitive with much larger open-weight models while following length instructions more closely. A blinded human evaluation confirms that POLARIS-9B is preferred to the base Qwen3.5-9B and on par with Qwen3.5-27B. Despite training only on stories up to 4k words, POLARIS-9B preserves quality on prompts requesting stories up to 3 times the training length, a regime where most open-weight models degrade substantially in quality, length adherence, or both. More broadly, our results suggest that length generalization is a meaningful stress test for creative-writing models and a useful lens for distinguishing otherwise close models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。