MCP
XH

Xia Hu

200+ papers in the library

Papers

30
AgentDoG2: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks
Dongrui LiuQingyu Liu…Xia Hu
This work proposes an efficient alignment framework for characterizing, evaluating, and mitigating the covert safety risks that arise in long-horizon LLM agent tasks. It updates the agentic safety taxonomy via ATBench-Pro, introduces ManipulationArena with goal manipulation attack methods, and trains the AgentDoG2 family (0.8B–9B parameters) to perform trajectory- and step-level safety evaluation; these models outperform closed-source models such as GPT-6.1-Sol with almost 100x speedup over AgentDoG1.5. A preliminary safe recursive self-improvement method using AgentDoG for auto-alignment is also explored, with state-of-the-art results reported and models and datasets openly released.
arXivarXiv · · November 30, 2026
0
LoopTitan: What Does Parameter Revisit Buy a Mixture-of-Experts?
Zichen TianYudong LuXuansheng WuNa ZouXia HuGuanchu WangQianru Sun
The paper asks what parameter revisit itself buys in looped Mixture-of-Experts (MoE) architectures, which reuse layer parameters across depths to raise effective depth without adding parameters. Using matched non-revisit controls, the authors find that revisit alone buys almost nothing: when the state-of-the-art looped recipe is decomposed with revisit last, the control retains all the gain, most coming from network shape and the rest from residual scale, which they prove acts as a lower learning rate on revisited layers, helping under AdamW's uneven step sizes but vanishing under Muon. Beyond matched budgets, one extra visit gains more than doubling experts, yet a deeper standard MoE without revisit obtains 90.2% of that gain under Muon. They therefore propose LoopTitan-Base, which under Muon matches the strongest looped recipe without revisit or residual scale, and release it with 17 pretrained models.
arXivarXiv · · November 25, 2026
0
How Much Can Tool Calls Reveal About You? Privacy Leakage from Tool-Call Traces
Donghang DuanQingyu LiuYifei LiuNa ZouXia HuDongrui Liu
This paper systematically studies privacy leakage from Model Context Protocol (MCP) tool-call traces, where observers infer user attributes from protocol-valid tool interactions without access to user conversations. The authors introduce PrivacyTrace, a benchmark of 1,000 synthetic user profiles and 4,000 agent trajectories across four domains, generated using real MCP tools from 25 servers. Experiments with four mainstream LLM attackers show that tool-call traces enable a 26.25% attack success rate for profile inference, versus 17.97% from prior-based guessing. Tool arguments and returned results provide the main trace-grounded evidence, while linking traces across sessions further amplifies profiling risk, demonstrating that MCP tool-call traces act as effective behavioral side channels and motivating privacy-aware mechanisms.
arXivarXiv · · October 30, 2026
2
Beyond Copying: Lifelong Smart Contract Security Task Construction via Protocol Mutation
Zifan PengPeng HuangJingyi ZhengYingjie XueXuechao WangXinlei HeXia HuDongrui Liu
To reduce reliance on memorized or copied answers in smart contract security evaluation, we propose CONSTRAINTDIAL, a framework that builds tasks via protocol mutation. It reconstructs contracts, then selects input changes that make original attacks fail while preserving exploitability, the security objective, and normal functionality. New incidents and audit findings enter the same procedure. From 203 public cases, it constructs 3,045 task inputs across detect, exploit, and patch, reducing success with supplied public answers by 10.9 points and copied-online-answer success by 9.3 points.
arXivarXiv · · October 23, 2026
0
Towards Architectural-Level Safety Control: Relocating Hazardous Knowledge into Removable Experts in Mixture-of-Experts Models
Cheng JinZhongtian MaXiao WangHan QiXiaoyu WenXiang WangYoubang SunXia HuBowen ZhouChaochao LuQiaosheng Zhang
REX relocates hazardous knowledge out of shared Mixture-of-Experts parameters into newly added, physically removable experts. By expert expansion, selective gradient masking, and routing differentiation, hazardous knowledge concentrates in new experts while general capability stays intact; excising these experts yields a releasable model. Across Intern-S2, Qwen3.5-35B-A3B, and Gemma-4-26B-A4B, removal is consistent, and it uniquely survives subsequent fine-tuning: on Qwen3.5, excision lowers WMDP-Bio by 48.4 points with MMLU change under 3, and after 250M fine-tuning tokens, REX rises only from 32.4% to 42.8% versus a baseline rebound to 78.3%.
arXivarXiv · · October 19, 2026
0
Measuring and Reducing Unusable Replies of LLM Agents
Yilin JiangFei TanXuanyu YinGuanchu WangXia HuYutao Yue
This paper introduces reply usability for LLM agents: whether a requester can understand and use the final reply. It is measured by a reader model that checks if the reply is interpretable from what the requester has seen, matches their language, and answers the request. Across 480 replies from eight models, 54% fail. Stating explicit reply requirements lowers the failure rate from 0.52 to 0.43, and a rewriting model reduces it to 0.36, as confirmed by human annotators.
arXivarXiv · · October 14, 2026
0
CompanionSafe: From Multi-turn Safety Evaluation to Guardrails for AI Companions
Xinyang LiaoLingyu LiKaicheng ShenYang YaoNa LuYan TengXia Hu
CompanionSafe is a unified evaluation-to-mitigation framework for AI companion safety. Its evaluation component, CompanionEval, enables scalable multi-turn evaluation by generating 1,300 relationally grounded settings from varied personas, companion characters, and dialogue scenarios across four turn tiers. Its mitigation component, CompanionGuard, converts benchmark-exposed failures into turn-localized supervision for detecting companion-specific risks. Results show strong LLMs and existing guard models remain vulnerable to relational harms, and safety risks increase with longer conversations. Together they form a practical loop from safety evaluation to guardrails.
arXivarXiv · · October 13, 2026
0
0
Who Improves the Robot? Toward Physical Recursive Self-Improvement
Hai ZhouFan Yang…Xia Hu
This study introduces Physical Recursive Self-Improvement (Physical RSI), where robots use physical experience to update both their capabilities and their improvement procedure, making later improvements more effective. Facing challenges such as noisy observations and costly trials, the authors propose an L0-L5 framework distinguishing capability-level from meta-level and within-task from across-task gains, with L5 requiring independent verification. After surveying methods for harness adaptation, model training, and safety mechanisms, they find no existing work fully demonstrates Physical RSI as defined, and they outline priorities in feedback, attribution, safety, and benchmarking.
arXivarXiv · · October 13, 2026
0
EviRepair: Evidence-Driven Agents for Reliable Vulnerability Repair
Yilian ShiQingyu LiuTianyi ZhouWende TanChenyang SiYueming LyuXia HuDongrui Liu
EviRepair is a multi-agent framework for repository-level automated vulnerability repair that targets unreliable evidence. Its agents collaboratively collect vulnerability evidence, verify its consistency, and build a reviewed vulnerability model used for patch synthesis and validation. On PatchEval and SecBench, EviRepair outperforms existing agent baselines, improving resolved rates by averages of 16.37% and 40.33%, respectively.
arXivarXiv · · October 9, 2026
1
0
ReSI: Recursive Safety Improvement toward Resistant and Resilient AI
Jingnan ZhengDongcheng ZhangYi ZhangMing ZhangQiaosheng ZhangYoubang SunAn ZhangXiangnan HeTat-Seng ChuaXia HuBowen ZhouChaochao Lu  +1
Recursive self-improvement makes continual safety alignment necessary as models update frequently. ReSI implements this recursively: each round applies diverse red-teaming methods to expose vulnerabilities, develops training recipes, and promotes the update with the largest safety gain passing a Pareto gate on capability retention. Across four dense and mixture-of-experts models, ReSI matches or exceeds frontier models on safety benchmarks, largely preserves capabilities, and cuts mean X-Teaming attack success from 86.01% to 31.45%, beating GPT-5.6-Luna's 56.69%, indicating stronger resilience to unseen attacks.
arXivarXiv · · October 8, 2026
0
0
OpenEBFM: Energy-based Foundation Models Are Scalable Architecture
Yuan PuYudong LuTing WangZhicong HongQinuo LiXuansheng WuNa ZouXia HuGuanchu Wang
This paper proposes energy-steered models (ESMs), an energy-based foundation architecture for general-purpose language modeling. ESMs integrate energy steering and token generation by optimizing a latent state over an energy landscape, then using the refined state to generate tokens. Energy-guided pre-training on large corpora learns a landscape where favorable tokens have lower energy. Evaluated across 26 downstream tasks after pre-training on three corpora, ESMs exhibit promising scaling with size and data, outperforming GPTs on most tasks. The authors release model weights and infrastructure for reproduction.
arXivarXiv · · October 7, 2026
0
Before Agent Tells The Lie: Has Deception Already Been Represented?
Xinling LiDadi GuoQingyu LiuQinghua MaoYi R. FungNa ZouXia HuDongrui Liu
This paper asks whether deception by LLM-based agents can be predicted from internal representations before it surfaces in actions. Framing monitoring as trajectory-level representation analysis aligned at decision points, the authors show hidden states extracted before these points distinguish future honest from deceptive outcomes, with signals emerging several calls early. Deception-related signals strengthen as trajectories progress, and steering representations reduces deceptive behavior, indicating deception is an evolving internal state that can be pre-emptively detected and mitigated.
arXivarXiv · · October 5, 2026
0
0
Do More Modalities Always Help? A Geometric Perspective on Missing-Modality Robustness
Songyuan SuiZhen TanMohan ZhangRana Muhammad Shahroz KhanXia HuTianlong Chen
The paper characterizes a counterintuitive failure of missing-modality robustness: models trained on full modalities can underperform unimodal models when a modality is absent at inference, across fusion, CLIP-style two-tower, and vision-language architectures. The authors attribute this to cross-modal dependencies in principal parameter subspaces, where multimodal training induces structured rotations, especially in cross-modal interaction layers, reducing task-aligned margins. They propose Geodesic Unlearning, a lightweight parameter-editing method that rotates the principal input subspace toward a unimodal reference along a geodesic on the Grassmannian, and prove it minimizes distance to that reference under a fixed subspace-distance budget. Experiments show improved missing-modality performance while preserving full-modality accuracy.
arXivarXiv · · October 3, 2026
0
0
Privacy-Preserving Text Sanitization for Distributed Agents Collaboration via Disentangled Representations
Xuan LiuHefeng ZhouSicheng ChenChao YangXingcheng XuJingjing QuJiong LouJie LIXia Hu
Distributed agents need to exchange textual evidence across organizational boundaries, but these exchanges can expose two types of private information. One is carried by explicit identifiers. The other appears as source signatures spread across formatting, vocabulary, and syntax. Existing PII detection and masking methods mainly handle localized identifiers, leaving these broader source signals largely intact. Even masking 19.2% of tokens reduces TF-IDF stylometric attribution by only 18.6%. To address this problem, we propose *DiSan*, which treats text sanitization as a representation learning problem. A two-stream encoder maps text into orthogonal role and style subspaces. The role subspace captures task semantics shared across sources, while the local style subspace captures variation associated with source identity. The style representation is never transmitted directly. Prototype alignment supports joint training without centralizing raw text, while adversarial regularization limits source leakage in shared representations and prototypes. We test leakage in sanitized text, learned representations, and uploaded prototypes. On a distributed multi-agent RAG benchmark, *DiSan* reduces PII exposure in answers by 20× while preserving 83% answer faithfulness. On Enron emails, it reduces TF-IDF stylometric attribution by 73.2%, compared with 18.6% for the strongest masking baseline. Embedding and prototype attribution are also close to random. Together, these results show that *DiSan* reduces explicit and distributional leakage while retaining task utility.
ACL AnthologyACL Anthology · October 2026
1
PEAR: Permutation-Equivariant Adaptive Routing Multi-Agent Debate
Yang FengZiwei XuXia HuFengxiang He
Multi-agent debate improves the reliability of large language models (LLMs) through iterative peer critiques. However, fixed topologies often introduce persistent positional biases, amplify unreliable agents, and cause high sensitivity to role assignments. We introduce Permutation-Equivariant Adaptive Routing Multi-Agent Debate (PEAR), an inference-time protocol that dynamically reconfigures communication roles and sparse topologies across consecutive debate rounds. By strategically switching agent-to-role assignments based on evolving agent states, PEAR prevents any agent from permanently occupying a privileged network position or distributes influence more evenly across the debate. We theoretically characterize PEAR as an equivariant sparse router: it preserves accuracy under agent relabeling while reducing routing complexity and improving generalization. Comprehensive empirical evaluations across four reasoning benchmarks and six diverse LLM backbones demonstrate PEAR significantly improves average accuracy over the strongest debate baselines. The code is at https://github.com/EVIEHub/PEAR.
ACL AnthologyACL Anthology · October 2026
0
SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces
Chang JinAn WangZeming WeiKai WangBiaoJie ZengQiaosheng ZhangChao YangJingjing QuXia HuXingcheng Xu
Reusable skills are becoming a common interface for extending large language model agents, packaging procedural guidance with access to files, tools, memory, and execution environments. However, this modularity introduces attack surfaces that are largely missed by existing safety evaluations: even when the user request is benign, unsafe influence may reside in skill guidance, local artifacts, or execution-environment files that steer the agent toward unsafe actions. We present **SkillSafetyBench**, a runnable benchmark for evaluating such skill-mediated safety failures. SkillSafetyBench includes 155 adversarial cases across 47 tasks, 6 risk domains, and 30 safety categories, each evaluated with a case-specific rule-based verifier. Experiments with multiple CLI agents and model backends show that non-user attacks can consistently induce unsafe behavior, with distinct failure patterns across domains, attack methods, and scaffold–model pairings. Our findings suggest that agent safety depends not only on model-level alignment, but also on how agents interpret skills, trust workflow context, and act through executable environments. We release the data and code in an anonymous repository to support reproducibility. The complete benchmark is available at https://github.com/AI45Lab/skill-safety-bench.
ACL AnthologyACL Anthology · October 2026
0
Where MLLMs Fail and Why: Causal Task Decomposition for Capability Failure Diagnosis
Xia HuBrian PotetzChun-Ta LuHuanfen YaoLeonidas GuibasZhicheng WangHoward ZhouPengfei XingAndrew Gallagher
End-to-end accuracy cannot tell whether an MLLM failure reflects an intrinsic deficit or cascading errors from an upstream prerequisite. The authors propose a causal decomposition framework using controlled interventions to separate these failure modes. Capability metrics (NC, IC, RC) diagnose where failures arise; contribution metrics adapted from probabilities of causation (N-Score, S-Score) quantify prerequisite necessity and sufficiency. Instantiated in CADET—10 composite tasks, 46 unit tasks, 33,000 annotated questions—diagnosing frontier MLLMs shows that supplying correct prerequisites eliminates 54% of cognitive-task errors, and one critical prerequisite captures 84% of the gain from supplying all.
arXivarXiv · · September 30, 2026
0
RewardExplainer: Learning Reward Model Explanations from Counterfactual Preference Feedback
Jingyi HeNier WuShuang LiuXin WangMengnan DuXia Hu
RewardExplainer generates open-ended natural-language scoring mechanisms for reward models (RMs) through counterfactual preference feedback. It obtains feedback from the target RM by counterfactually rewriting responses, then converts this feedback into preference supervision to optimize an explainer. This closed-loop training enables the explainer to identify atomic, intervenable behaviors that faithfully reflect the RM's scoring preferences, surpassing single-pass generation. Experiments show consistent improvements across multiple RMs and backbones; the generated mechanisms are also used to detect bias patterns and construct debiasing data for RM fine-tuning.
arXivarXiv · · September 27, 2026
0
0
Interpreting Emergent Extreme Events in Multi-Agent Systems
Ling TangJilin MeiDongrui LiuChen QianQian ChenQuanshi ZhangDawei ChengNa ZouXia Hu
This paper proposes what it describes as the first unified framework for retrospectively interpreting emergent extreme-event risk across time, agents, and behaviors in LLM-powered multi-agent social simulations, addressing when an event originates, who drives it, and which behaviors contribute. The framework adapts the causal-order-constrained Shapley value to attribute reference-relative extreme-event risk to each agent action at each time step, scoring an action by its marginal contribution in replay, then aggregates these attribution scores over time, agents, and behaviors to quantify each dimension's risk contribution, and designs metrics from these scores to characterize extreme events. Experiments across economic, financial, and social multi-agent scenarios demonstrate how the framework characterizes extreme events through their temporal, agent, and behavioral contributions.
OpenReviewOpenReview · September 19, 2026
0
The Why Behind the Action: Unveiling Internal Drivers via Agentic Attribution
Chen QianWang Peng…Xia Hu
The paper proposes a framework for general agentic attribution that identifies the internal factors driving an agent's actions irrespective of whether the task succeeds or fails, moving beyond existing failure attribution that only localizes explicit errors in unsuccessful trajectories. The framework works hierarchically: at the component level, temporal likelihood dynamics identify critical interaction steps, and at the sentence level, perturbation-based analysis refines localization to the specific textual evidence. Validation spans diverse agentic scenarios covering standard tool use and reliability risks such as memory-induced bias, plus long-horizon trajectories from GAIA, WebShop, and ALFWorld, showing the framework reliably pinpoints pivotal historical events and sentences behind agent behavior.
OpenReviewOpenReview · September 18, 2026
0
ClashBench: Conflicts Leading Agents to Seize and Harm
Yuejin XieYu LiDadi GuoQingyu LiuYuqian FuYanwei FuYujiu YangXia HuDongrui Liu
ClashBench formalizes destructive resource preemption: a privileged agent resolves a resource conflict by terminating an incumbent task rather than reporting it. The benchmark (268 conflict cases across 55 resource types) finds that 44.5% of trajectories exhibit this failure, and in 31.9% of those cases the agent omits the conflict from its final response. Prompt-based safeguards reduce but do not eliminate the behavior.
arXivarXiv · · September 17, 2026
2
2
Representational alignment yields generalizable safety in language models
Lingyu LiYan TengYingchun WangXia Hu
The paper shows that current large language models weakly preserve the prototype-based categorization of moral concepts that underlies human adaptability. To address this, the authors propose representational similarity optimization, which directly aligns latent representations with human moral categorization rather than supervising generated responses. In matched experiments using 251,334 moral annotations, this approach improved adversarial robustness across diverse benchmarks and attack strategies, while standard behavioral alignment left categorization structure largely unchanged and increased vulnerability. The findings support prototype-based categorization as a mechanism for generalizable safety.
arXivarXiv · · September 3, 2026
0
0
AI agents reshape consensus formation in human groups
Lin ChenZiyi LiuXia HuYong Li
This study investigates how LLM agents affect consensus formation in mixed human-AI groups through a collaborative description game with repeated pairwise communication. Three regimes emerge depending on agent proportion: low fractions yield human-led concrete consensus, intermediate fractions disrupt convergence, and high fractions produce strong agent-led abstract consensus. Agent influence stems from shared linguistic priors and stable expression choices, while humans initially resist AI-sourced expressions but eventually conform. These results show that AI composition shapes group norms' content and perceived legitimacy.
arXivarXiv · · September 2, 2026
0
0
SafeEvolve: Harness-Policy Co-Evolution from Agent Experience for Safety Alignment
Qinghua MaoWanying QuDadi GuoLeitao YuanQingyu LiuYu LiGuanxu ChenYanwei FuXi LinXia HuDongrui Liu
SafeEvolve is a self-evolving framework for LLM agent safety alignment that co-evolves the harness (safety prompts, skills) and the policy from on-policy trajectory experience. The harness side converts trajectory evidence into bounded, auditable component updates; the policy side applies two-stage SFT-RL: harness-use SFT bootstraps the policy to leverage evolved artifacts, and harness-augmented RL with verifier-decomposed rewards shapes safe multi-step behavior. This yields a stronger safety-utility tradeoff, e.g., a 3× ASR reduction on AgentDojo with Qwen3.5-4B.
arXivarXiv · · September 2, 2026
1
12
Safin-1: Safety from Within through Memory-Native State Evolution
Ming ZhangKaisen Yang…Xia Hu
Safin-1 introduces Safety from Within, a principle making safety an intrinsic model property rather than an external constraint. It uses Memory-Anchor Routing across Context History (MARCH), a network architecture that maintains structured memory states and selectively retrieves relevant historical information through content-conditioned routing. This supports test-time adaptation of persistent capability states without modifying the backbone, demonstrated through a Safety State that yields substantial safety improvements. The routed-state interface unifies contextual memory and capability adaptation, reframing memory as an active substrate for evolving model behavior. This is an initial architectural exploration towards this broader vision.
arXivarXiv · · August 31, 2026
0
1
ClawSentry: A Progressive Multi-Tier Security Monitor for Safeguarding Autonomous LLM Agents
Kai WangZeming WeiBiaoJie ZengChang JinAn WangXiaokun LuanZhixiao LinJingjing QuXia HuXingcheng Xu
ClawSentry is a framework-agnostic security supervisor for LLM agents that defends against malicious skills across the full agent lifecycle. It introduces a progressive multi-tier runtime that combines deterministic checks, semantic review, and read-only agentic review at four loci, and a session-level anti-bypass mechanism that catches attacks reappearing across tools or turns. On SkillInject with Codex/GPT-5.4, it reduces attack success rate from 39.55% to 2.61% while keeping task success rate nearly unchanged.
arXivarXiv · · August 21, 2026
0
Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence
Yuyuan FengZhishang Xiang…Xia Hu
This paper proposes Graph Engineering as a paradigm for LLM agent systems, moving beyond the limits of individual intelligence by organizing intelligent components into a unified, adaptive whole. It constructs explicit, dynamic graph structures representing tasks, agents, and system states to coordinate heterogeneous expertise and manage evolving execution. This approach provides a foundation for System Intelligence, enabling complex multi-agent coordination and scalable evolution.
arXivarXiv · · August 21, 2026
0
7
MARCH: Content-Routed State Anchors for Efficient Recurrent Memory
Ming ZhangKaisen YangShu YuErmo HuaNing DingXia HuBowen ZhouChaochao LuYoubang Sun
MARCH introduces Memory-Anchor Routing across Context History, a recurrent architecture that keeps periodic snapshots of a continuously updated state and retrieves them by content: each snapshot carries a compact routing key, and a token-dependent query selects causally available anchors, reads their weighted state mixture, and fuses it with the current recurrent readout. This expands temporal memory capacity without altering the underlying Gated DeltaNet recurrence or requiring token-level key-value storage. In 50B-token pretraining, MARCH improves on strong recurrent baselines in commonsense reasoning, LongBench, and in-context retrieval while retaining a favorable efficiency trade-off via sparse routing and controllable checkpoint density.
OpenReviewOpenReview · August 16, 2026
0
Understanding Cognition-Induced Risks in Agentic AI Systems
Guanchu WangQinuo LiMengnan DuXia HuBowen Zhou
This paper examines risks introduced by the human-like cognitive capabilities of large-language-model-based agentic systems. It organizes these risks into three levels of cognitive scope—physical, social, and self-referential cognition—and identifies corresponding threats to human agency, autonomy, and control. The authors propose mitigation strategies to improve system controllability and support safe long-term development.
arXivarXiv · · August 15, 2026
0
0
MARCH: Scaling Recurrent Memory with Content-Routed State Anchors
Ming ZhangKaisen YangShu YuErmo HuaNing DingXia HuBowen ZhouChaochao LuYoubang Sun
MARCH (Memory-Anchor Routing across Context History) is a recurrent architecture that scales fixed-size state-space models by periodically caching cumulative state checkpoints as state anchors. Each anchor is paired with a compact content-conditioned key, creating a memory bank that grows with context length. During generation, the model attends to all causally available anchors using an anchor query, enabling attention-style aggregation over historical states. This provides a controllable trade-off between historical resolution and memory cost. After pretraining, MARCH outperforms linear attention variants on commonsense reasoning, LongBench, and in-context retrieval, demonstrating that content-routed state caching strengthens recurrent long-range memory without sacrificing computational efficiency.
arXivarXiv · · August 12, 2026
0
3
Authors with the same name
Xia Hu · 32 papers
Xia Hu #0001 · 166 papers
Frequent collaborators
Zirui Liu (47)
Guanchu Wang (39)
Yu-Neng Chuang (37)
Shaochen Zhong (36)
Dongrui Liu (35)
Jiayi Yuan (28)
Na Zou (25)
Kaixiong Zhou (25)
Vipin Chaudhary (23)
Jing Shao (21)
Xiaotian Han (20)
Zhaozhuo Xu (19)