arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.15655cs.AI
收藏

R$^2$:一种基于大语言模型的带因果情节图的小说转剧本生成框架

R$^2$: A LLM Based Novel-to-Screenplay Generation Framework with Causal Plot Graphs

University of Science and Technology of China(中国科学技术大学)

Zefeng Lin, Yi Xiao, Zhiqiang Mo, Qifan Zhang, Jie Wang, Jiayang Chen, Jiajing Zhang, Hui Zhang, Zhengyi Liu, Xianyong Fang, Xiaohua Xu

AI总结:

针对小说转剧本任务中LLM幻觉致内容不一致、因果情节线难提取的问题,提出带HAR幻觉优化与CPC因果图构建的R²框架,通过读-写双模块生成剧本,在GPT-4o对比实验中显著优于现有方法。

摘要:

自动将小说改编为剧本对影视、戏剧行业以低成本推广作品而言具有重要意义。大语言模型(LLM)在长文本生成中的出色表现促使我们提出一种基于LLM的Reader-Rewriter(R$^2$)框架来完成该任务。但该任务存在两大核心挑战:其一,LLM的幻觉问题可能导致情节提取与剧本生成出现不一致;其二,需要有效提取嵌入因果关系的情节线以实现连贯改写。对此我们提出两项对应策略:1)幻觉感知优化方法(HAR),可迭代发现并消除幻觉的影响;2)基于贪心破环算法的因果情节图构建方法(CPC),能高效构建带有事件因果关系的情节线。依托这些高效技术,R$^2$通过两个模块模拟人类剧本改写流程:Reader模块采用滑动窗口与CPC构建因果情节图,Rewriter模块则基于该图先生成场景大纲再生成剧本,两个模块均集成了HAR以保障LLM的推理准确性。实验结果证明了R$^2$的优越性:在基于GPT-4o的整体胜率成对比较中,它较三种现有方法分别实现了51.3%、22.6%和57.1%的绝对提升,表现显著更优。

英文摘要:

Automatically adapting novels into screenplays is important for the TV, film, or opera industries to promote products with low costs. The strong performances of large language models (LLMs) in long-text generation call us to propose a LLM based framework Reader-Rewriter (R$^2$) for this task. However, there are two fundamental challenges here. First, the LLM hallucinations may cause inconsistent plot extraction and screenplay generation. Second, the causality-embedded plot lines should be effectively extracted for coherent rewriting. Therefore, two corresponding tactics are proposed: 1) A hallucination-aware refinement method (HAR) to iteratively discover and eliminate the affections of hallucinations; and 2) a causal plot-graph construction method (CPC) based on a greedy cycle-breaking algorithm to efficiently construct plot lines with event causalities. Recruiting those efficient techniques, R$^2$ utilizes two modules to mimic the human screenplay rewriting process: The Reader module adopts a sliding window and CPC to build the causal plot graphs, while the Rewriter module generates first the scene outlines based on the graphs and then the screenplays. HAR is integrated into both modules for accurate inferences of LLMs. Experimental results demonstrate the superiority of R$^2$, which substantially outperforms three existing approaches (51.3%, 22.6%, and 57.1% absolute increases) in pairwise comparison at the overall win rate for GPT-4o.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑