用因果剧情图增强大模型,让小说自动转剧本更准确
R$^2$: A LLM Based Novel-to-Screenplay Generation Framework with Causal Plot Graphs
- 构建因果剧情图,捕捉事件间的逻辑关系
- 迭代消减幻觉,使生成内容更连贯一致
- 适合影视改编、内容自动化生产从业者
将小说自动改编为剧本对影视行业具有低成本推广价值。尽管大语言模型在长文本生成中表现优异,但仍面临两大挑战:一是模型幻觉导致剧情提取与剧本生成不一致;二是需有效提取蕴含因果关系的剧情线以保证连贯性。为此,提出基于大模型的读者-重写框架R²,包含两个核心策略:(1)幻觉感知精炼方法(HAR),通过迭代识别并消除幻觉影响;(2)基于贪心环路消除算法的因果剧情图构建方法(CPC),高效生成带因果关系的剧情线。R²由阅读模块和重写模块组成:阅读模块采用滑动窗口与CPC构建因果剧情图,重写模块基于图生成场景概要后输出剧本。HAR被集成至两模块以提升推理准确性。实验表明,R²在与三种现有方法的对比中,对GPT-4o的整体胜率分别提升了51.3%、22.6%和57.1%。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。