高级检索

    基于结构解耦与语义引导的反事实故事生成方法

    Structural Decoupling and Semantic Guidance for Counterfactual Story Generation

    • 摘要: 针对反事实故事生成中最小改写与因果一致性难以兼顾的问题,提出一种基于结构解耦与语义引导的3阶段反事实故事生成方法。该方法首先在结构层面构建显式因果骨架解耦模块,通过U/V正交解耦机制分离原始结局中的背景不变信息与因果变化信息,并将隐式语义分离结果进一步映射为文本层面显式且可解释的因果骨架;随后,在语义层面设计语义引导学习模块,利用对比学习建立前提与反事实条件到目标因果语义空间的映射,得到语义引导向量;最后,在生成层面构建骨架-语义融合的可控生成模块,将显式骨架约束与目标语义引导统一到反事实结局生成过程中。实验结果表明,该方法在TIMETRAVEL数据集上取得了优于多种基线模型的综合性能,在核心因果一致性指标ENTScore和综合指标HMean上表现突出,能够在保持原叙事主线和最小必要改写的同时,显著提升生成结果与反事实条件之间的因果逻辑一致性。

       

      Abstract: To address the challenge of balancing minimal rewriting and causal consistency in counterfactual story generation, this paper proposes a three-stage counterfactual story generation method based on structure decoupling and semantic guidance. Firstly, an explicit causal skeleton decoupling module is constructed at the structural level. The U/V orthogonal decoupling mechanism is adopted to separate invariant background information and causal variation information from the original ending, and the implicit semantic separation results are further mapped into explicit, interpretable causal skeletons at the text level. Secondly, a semantic-guided learning module is designed at the semantic level. Contrastive learning is utilized to map premises and counterfactual conditions into the target causal semantic space to obtain semantic guidance vectors. Finally, a skeleton-semantic fusion controllable generation module is built at the generation level, which unifies explicit skeleton constraints and target semantic guidance into the counterfactual ending generation process. Experimental results on the TIMETRAVEL dataset demonstrate that the proposed method achieves overall performance superior to multiple baseline models. It yields prominent performance on the core causal consistency metric ENTScore and the comprehensive metric HMean. While maintaining the original narrative storyline and minimal necessary rewriting, the method significantly improves the causal-logical consistency between generated outputs and counterfactual conditions.

       

    /

    返回文章
    返回