arXiv:2502.19765cs.CLcs.LG2025-02ACL被引 3

用扩散模型实现从粗到细的可控文本编辑,支持粗调与微调。

EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language Models

  • 结合SDEdit与自条件机制,实现多尺度文本编辑。
  • 在毒性与情感控制任务中展现强鲁棒性,支持灵活调整程度。
  • 适合需要精确文本修改的研究者与应用开发人员。

我们提出EdiText,一种可控制的文本编辑方法,能在不同尺度上将参考文本修改为目标属性。该方法整合了基于SDEdit的编辑技术,支持大范围的文本调整。此外,我们提出一种基于自条件的新颖细粒度编辑方法,可对参考文本进行细微控制。该细粒度方法独立运作,亦可与SDEdit结合使用,使EdiText能够在指定范围内实现精准调整。EdiText在多种任务中展现出良好的可控性,包括毒性控制和情感控制,能稳健地在广泛水平上调整参考文本。

原文摘要 · Abstract (English)

We propose EdiText, a controllable text editing method that modifies the reference text to desired attributes at various scales. We integrate an SDEdit-based editing technique that allows for broad adjustments in the degree of text editing. Additionally, we introduce a novel fine-level editing method based on self-conditioning, which allows subtle control of reference text. While being capable of editing on its own, this fine-grained method, integrated with the SDEdit approach, enables EdiText to make precise adjustments within the desired range. EdiText demonstrates its controllability to robustly adjust reference text at a broad range of levels across various tasks, including toxicity control and sentiment control.

文本编辑扩散模型可控生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。