- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
Large Language Model-based Multi-Agent Systems are highly vulnerable to malicious inputs because agents typically process incoming messages without evaluating their reliability. To address this, the authors introduce a Trust Management System powered by A-Trust, a lightweight method that detects harmful communications by analyzing the LLM's internal multi-head attention patterns across six distinct trust dimensions. Experiments show this system effectively filters malicious messages and identifies compromised agents, drastically reducing attack success rates while preserving overall task utility.
Strengths and weaknesses
Strenghts
- The findings are interesting and well motivated.
- The method is effective while efficient.
- The experiments are done extensively across diverse settings.
Weaknesses
- While the results look promising, the rationale behind why this method works is not stated. Intuitively, an LLM should have higher chance of ignoring irrelevant or intentionally malicious context, which should lead to placing less attention to those signals. However, this work reveals that the opposite is the case, and I am curious if there is an intuitive explanation of this phenomenon that justifies the method.
- Also, I am curious to see if this is a universal trend across model families and sizes, and whether the proposed approach is effective in all such settings. Please provide the experiment results on Qwen-7B or Gemma-4B, and also on models with greater sizes (e.g. Qwen-32B). I would like to see if the model size is not a confounding factor for the results.
- This method is only applicable to open-source models that provide internal attention states. Can there be work-arounds for black-box frontier models where no model internals are provided?
- (minor) There are a lot of grammar errors, particularly in the sections of the Appendix. Please fix them in the later version.
- (minor) The tables are scattered all over the place and it is slightly difficult to read. I think you can consider putting the main tables altogether.
My main concern is whether this method is generalizable to all LLM agents. If the authors can provide (1) an intuitive rationale for why this method makes sense, OR (2) promising experiment results on various model families and sizes, the paper will become a lot more convincing and impactful. I would love to re-evaluate based on the authors' responses.
Questions
- It would be useful to see qualitative examples, both for the attention map findings and the main experiments. I would love to see which tokens the agents actually placed higher attention values, and also which examples the method detected to be harmful and which were false positives. Could the authors provide them?
Limitations
yes
Paper formatting concerns
N/A
Final justification
Please see my comment below
We thank the valuable comments and will address the concerns accordingly.
Major concern. We sincerely thank the reviewer for raising this important concern. We fully agree that both the intuition behind A-Trust and its generalizability are central to establishing the practical value of the proposed framework.
(1) Intuition behind A-Trust. Our method does not assume that malicious or untrustworthy content universally receives higher attention. Instead, it is motivated by the empirical observation that certain attention heads exhibit distinguishable patterns when processing different categories of trust violations. A-Trust exploits these trust-related attention patterns rather than relying on the absolute attention magnitude of individual tokens or messages.
Importantly, this observation is also supported by prior work from both theoretical and empirical perspectives. Theoretically, recent studies on attention dynamics [1] show that attention heads naturally specialize into different functional roles during training, providing an intuitive explanation that some heads may become particularly sensitive to trust-related semantics. Empirically, recent prompt injection detection work [2] likewise reports distinctive attention responses to injected malicious content. Although the exact mechanism behind remains an open question, both prior work and our observations consistently suggest that attention patterns contain informative signals for distinguishing trust-related behaviors. We will incorporate this discussion into the revised paper to better motivate our design.
(2) Generalization across model families and agent systems. We would also like to clarify what "generalization" means in A-Trust. Our claim is not that identical attention heads or attention distributions exist across all LLMs. Different model families naturally have different architectures and attention-head organizations, so the specific heads associated with trust-related behaviors are expected to differ. Instead, our claim is that similar trust-related attention patterns can consistently emerge across diverse LLM families and can therefore be exploited by an auxiliary trust assessment module.
We believe our experiments already provide encouraging evidence supporting this claim from multiple perspectives. First, we directly examine whether the underlying attention phenomenon transfers across model families. In the appendix C, we extend the attention analysis to two additional open-source model families, Gemma and Qwen. We observe the same qualitative phenomenon across these models: although the specific attention heads differ, as expected, trust-violated messages continue to induce distinguishable attention patterns. This suggests that the phenomenon is not specific to a particular model family, even though different models encode these trust-related signals through different attention heads.
More importantly, we compare A-Trust against alternative representation baselines under the same auxiliary model and training protocol, including hidden-state probing, mean-attention representations, and Llama Guard. Following the experimental protocol in Table 2, we evaluate all methods on the chain structure across two datasets, reporting both clean errors and ASR under multiple attacks.
Across all settings, A-Trust consistently achieves the strongest performance. These results suggest that preserving head-specific attention information provides a more effective representation for trust assessment than more generic hidden-state or averaged-attention representations.
Second, beyond the attention analysis itself, the proposed framework is extensively evaluated across diverse experimental settings (section 4.2, 4.3), including multiple agent frameworks, multiple agent LLMs, and multiple downstream tasks. Importantly, the same trust assessment framework is applied across these settings without retraining or calibrating the classifier for different target agent models. The consistently strong performance across these heterogeneous agents further suggests that A-Trust captures transferable trust-related processing behaviors rather than artifacts tied to a particular backbone or application scenario.
Finally, we acknowledge that no empirical study can establish universality for all existing and future LLM agents. Our contribution is therefore not to claim a universal attention law shared by every LLM, but rather to demonstrate that trust-related attention patterns consistently emerge across representative model families and agent systems, and that these patterns can be effectively leveraged for trust assessment. We will revise the paper to more clearly articulate both the intuition behind these empirical observations and the scope of our generalization claims.
W1. Please refer to the major concern.
W2. Please refer to our response to the major concern. In particular, we additionally analyze Gemma and Qwen in the appendix C, where the same qualitative observations consistently hold across different model families. While the specific attention heads naturally differ due to architectural differences and varying numbers of attention heads, the trust-related attention patterns remain consistent. We agree that evaluating additional model scales (e.g., larger Qwen variants) would be valuable future validation, although our current cross-family analysis already suggests that the observed phenomenon is not tied to a specific architecture.
W3. We would like to clarify that A-Trust does not require the target LLM agent itself to expose internal attention states. Instead, attention is extracted from the auxiliary trust assessment model, which is intentionally decoupled from the target agent. Consequently, the target agent may still be a closed-source frontier model, while the trust assessment is performed by the open-source auxiliary model. We have more details in the response for the major concern.
W4&W5. We will fix the grammar errors and improve the visual of tables.
Q1. We thank the reviewer for this helpful suggestion. We agree that qualitative examples provide important interpretability beyond quantitative results. In the rebuttal, we provide representative qualitative examples from two perspectives. First, for the attention analysis, we provide some examples showing which tokens receive more attention from the identified trust-related attention heads.
Factual error: L.A. Reid is not the chairman anymore, and the group was formed in 1999.
Token with high attention: has, been, 1998
Logic inconsistency: it first invites alternative perspectives and then immediately instructs readers to ignore them. Moreover, it claims that ignoring potentially relevant factors would improve understanding, which contradicts the stated goal of sound reasoning.
Tokens: invite, others, ignore, no, effect, confused
Second, for the main evaluation, we present representative false positives.
This is classified as a factual violation, but actually not.
This is wrongly classified as a quality violation.
We will provide these additional analyses and visualizations in the revision.
[1] Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimality
[2] Attention Tracker: Detecting Prompt Injection Attacks in LLMs