用多智能体自动学习可解释的规则集,提升大模型可控性
MAC: Multi-Agent Constitution Learning
- 设计多智能体网络动态优化结构化规则集
- 在少量标注数据下比现有方法高50%以上性能
- 规则可读可审计,适合对可控性要求高的场景
宪法式AI是一种基于自然语言规则来监督和控制大语言模型的方法。这些规则通常由人类专家编写,但理论上也可通过足够训练数据自动学习。现有基于LLM的提示优化器虽尝试此路径,但因需大量标注样本且优化后的提示缺乏结构,导致提示规模增大时性能提升逐渐减弱。为此,我们提出多智能体宪法学习(MAC),通过一组具备不同职责的智能体(接收、编辑或拒绝规则更新)来优化结构化规则集。我们还提出MAC+,通过在成功轨迹上训练智能体,强化带来更高奖励的更新策略。我们在个人身份信息(PII)标记这一标注数据有限且可解释性关键的分类任务上评估MAC,结果表明其可泛化至工具调用等其他智能体任务。MAC性能优于近期提示优化方法超过50%,生成人类可读且可审计的规则集,并达到与监督微调及GRPO相当的水平,无需参数更新。
原文摘要 · Abstract (English)
Constitutional AI is a method to oversee and control LLMs based on a set of rules written in natural language. These rules are typically written by human experts, but could in principle be learned automatically given sufficient training data for the desired behavior. Existing LLM-based prompt optimizers attempt this but are ineffective at learning constitutions since (i) they require many labeled examples and (ii) lack structure in the optimized prompts, leading to diminishing improvements as prompt size grows. To address these limitations, we propose Multi-Agent Constitutional Learning (MAC), which optimizes over structured prompts represented as sets of rules using a network of agents with specialized tasks to accept, edit, or reject rule updates. We also present MAC+, which improves performance by training agents on successful trajectories to reinforce updates leading to higher reward. We evaluate MAC on tagging Personally Identifiable Information (PII), a classification task with limited labels where interpretability is critical, and demonstrate that it generalizes to other agentic tasks such as tool calling. MAC outperforms recent prompt optimization methods by over 50%, produces human-readable and auditable rule sets, and achieves performance comparable to supervised fine-tuning and GRPO without requiring parameter updates.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。