HyCoRA:用于角色扮演的超对比角色自适应学习
HyCoRA: Hyper-Contrastive Role-Adaptive Learning for Role-Playing
AI总结:
针对多角色角色扮演中现有方法无法平衡角色独特与共享特质的问题,提出HyCoRA框架,通过超半低秩适应结构和超对比学习机制,有效提升模型角色扮演能力,在中英文基准上表现优越且获GPT-4验证。
摘要:
多角色角色扮演旨在赋予模型模拟不同角色的能力。现有方法要么在所有角色间使用一个共享参数化模块,要么为每个角色分配一个独立参数化模块。然而,角色共享模块可能忽略每个角色的独特特质,削弱个性学习;而角色特定模块可能忽视多个角色间的共享特质,阻碍共性建模。本文提出一种新颖的HyCoRA:超对比角色自适应学习框架,通过平衡独特与共享特质的学习,有效提升多角色角色扮演能力。具体而言,我们提出超半低秩适应结构,其中一半是由轻量级超网络生成的角色特定模块,另一半是可训练的角色共享模块。角色特定模块用于表示独特的人物签名,而角色共享模块用于捕捉共性特质。此外,为更好地反映不同角色间的独特个性,我们设计超对比学习机制,帮助超网络区分它们的独特特征。在现有中英文基准上的大量实验结果证明了我们框架的优越性。进一步的GPT-4评估和可视化分析也验证了HyCoRA捕捉角色特征的能力。
英文摘要:
Multi-character role-playing aims to equip models with the capability to simulate diverse roles. Existing methods either use one shared parameterized module across all roles or assign a separate parameterized module to each role. However, the role-shared module may ignore distinct traits of each role, weakening personality learning, while the role-specific module may overlook shared traits across multiple roles, hindering commonality modeling. In this paper, we propose a novel HyCoRA: Hyper-Contrastive Role-Adaptive learning framework, which efficiently improves multi-character role-playing ability by balancing the learning of distinct and shared traits. Specifically, we propose a Hyper-Half Low-Rank Adaptation structure, where one half is a role-specific module generated by a lightweight hyper-network, and the other half is a trainable role-shared module. The role-specific module is devised to represent distinct persona signatures, while the role-shared module serves to capture common traits. Moreover, to better reflect distinct personalities across different roles, we design a hyper-contrastive learning mechanism to help the hyper-network distinguish their unique characteristics. Extensive experimental results on both English and Chinese available benchmarks demonstrate the superiority of our framework. Further GPT-4 evaluations and visual analyses also verify the capability of HyCoRA to capture role characteristics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。