Diagnose, Localize, Align: A Full-Stack Framework for Reliable LLM Multi-Agent Systems under Instruction Conflicts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wan, Guancheng, Sun, Leixin, Dou, Longxu, Shi, Zitong, Wu, Fang, Jiang, Eric Hanchen, Huang, Wenke, Zhang, Guibin, Geng, Hejia, Tang, Xiangru, Yin, Zhenfei, Sun, Yizhou, Wang, Wei
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912763606990848
author Wan, Guancheng
Sun, Leixin
Dou, Longxu
Shi, Zitong
Wu, Fang
Jiang, Eric Hanchen
Huang, Wenke
Zhang, Guibin
Geng, Hejia
Tang, Xiangru
Yin, Zhenfei
Sun, Yizhou
Wang, Wei
author_facet Wan, Guancheng
Sun, Leixin
Dou, Longxu
Shi, Zitong
Wu, Fang
Jiang, Eric Hanchen
Huang, Wenke
Zhang, Guibin
Geng, Hejia
Tang, Xiangru
Yin, Zhenfei
Sun, Yizhou
Wang, Wei
contents Large Language Model (LLM)-powered multi-agent systems (MAS) have rapidly advanced collaborative reasoning, tool use, and role-specialized coordination in complex tasks. However, reliability-critical deployment remains hindered by a systemic failure mode: hierarchical compliance under instruction conflicts (system-user, peer-peer), where agents misprioritize system-level rules in the presence of competing demands. Moreover, widely used macro-level metrics (e.g., pass@k) obscure these micro-level violations and offer little actionable guidance for remedy. In this work, we present a full-stack, three-stage framework: (1) Diagnose - Contextualized Role Adherence Score (CRAS), a query-wise, context-aware scoring metric that decomposes role adherence into four measurable dimensions; (2) Localize - attention drift analysis revealing that instruction conflicts are resolved by attention heads that are largely concentrated in middle layers; (3) Align - Surgical Alignment of Instruction Layers (SAIL), which installs LoRA only on the localized focal layers and optimizes a token-weighted DPO-style preference objective that credits tokens by their focal attentional contribution. Across standard benchmarks and MAS frameworks, our surgical approach improves instruction hierarchy compliance (e.g., +5.60% with AutoGen on MedQA) without full-model finetuning.
format Preprint
id arxiv_https___arxiv_org_abs_2509_23188
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Diagnose, Localize, Align: A Full-Stack Framework for Reliable LLM Multi-Agent Systems under Instruction Conflicts
Wan, Guancheng
Sun, Leixin
Dou, Longxu
Shi, Zitong
Wu, Fang
Jiang, Eric Hanchen
Huang, Wenke
Zhang, Guibin
Geng, Hejia
Tang, Xiangru
Yin, Zhenfei
Sun, Yizhou
Wang, Wei
Computation and Language
Large Language Model (LLM)-powered multi-agent systems (MAS) have rapidly advanced collaborative reasoning, tool use, and role-specialized coordination in complex tasks. However, reliability-critical deployment remains hindered by a systemic failure mode: hierarchical compliance under instruction conflicts (system-user, peer-peer), where agents misprioritize system-level rules in the presence of competing demands. Moreover, widely used macro-level metrics (e.g., pass@k) obscure these micro-level violations and offer little actionable guidance for remedy. In this work, we present a full-stack, three-stage framework: (1) Diagnose - Contextualized Role Adherence Score (CRAS), a query-wise, context-aware scoring metric that decomposes role adherence into four measurable dimensions; (2) Localize - attention drift analysis revealing that instruction conflicts are resolved by attention heads that are largely concentrated in middle layers; (3) Align - Surgical Alignment of Instruction Layers (SAIL), which installs LoRA only on the localized focal layers and optimizes a token-weighted DPO-style preference objective that credits tokens by their focal attentional contribution. Across standard benchmarks and MAS frameworks, our surgical approach improves instruction hierarchy compliance (e.g., +5.60% with AutoGen on MedQA) without full-model finetuning.
title Diagnose, Localize, Align: A Full-Stack Framework for Reliable LLM Multi-Agent Systems under Instruction Conflicts
topic Computation and Language
url https://arxiv.org/abs/2509.23188