• 基于多智能体协作的可控评论生成方法

    Controllable comment generation based on multi-agent collaboration

    • 针对可控评论生成任务中大规模语言模型应对复杂新闻内容与多约束控制能力不足的问题,提出了一种基于多智能体协作的可控评论生成方法。首先,基于输入新闻文本构造携带主观情感的评论智能体,使模型能够从特定情感角度理解内容并生成评论。其次,依据任务指定的情感与关键词约束,从智能体库中筛选最契合的智能体,确保输出符合控制要求。最后,引入审查智能体对候选评论进行筛选,以保障生成内容的连贯性与新闻相关性。实验结果表明:相比提示学习方法,所提方法在ROUGE-1和BERTScore上分别提升4.79%和3.51%。人工评估亦验证了其在情感与关键词控制方面的显著优势。

       

      Abstract: To address the challenges of large-scale language models in handling complex news content and meeting multi-constraint requirements for controllable comment generation, a multi-agent collaborative approach is proposed. Initially, a comment agent endowed with subjective sentiment is constructed based on the input news text, enabling the model to interpret content and generate comments from a specific emotional perspective. Subsequently, the most suitable agent is selected from the agent repository according to the specified emotional and keyword constraints, ensuring that the output aligns with the control requirements. Finally, a review agent is introduced to filter candidate comments, thereby enhancing the coherence and relevance of the generated content to the news. Experimental results demonstrate that, compared to prompt-based learning methods, the proposed approach achieves improvements of 4.79% in ROUGE-1 and 3.51% in BERTScore. Human evaluations further confirm its significant advantages in emotional and keyword control.

       

    /

    返回文章
    返回