MCP
AW

An Wang

96 papers in the library

Papers

30
KineState-SWAM: A Surgical World Action Model with Explicit Kinematics and Causal Interaction Dynamics
Rulin ZhouYujie MaRui TangQiujie SongWanhao LiuGuoheng MaLiangjing ShaoAn WangHongliang Ren
KineState-SWAM is a surgical world-action model that couples action prediction with video generation through a persistent interaction state, explicitly separating kinematically determined instrument motion from learned scene evolution. A flow-matching policy predicts joint trajectories from the interaction state, robot configuration, and task instruction; calibrated URDF kinematics then convert these trajectories into surface-motion tokens and spatially aligned instrument renderings. Causal Interaction Dynamics updates the state recurrently via geometry-guided attention and motion-aligned feature transport, carrying interaction history into later action predictions without intermediate video synthesis, while a State-Geometry Adapter guides generation. The authors also introduce dVRK-Chole5.2k (5,255 videos, 17 tasks); experiments show improved action accuracy and video fidelity over evaluated baselines under matched action conditioning, with ablations supporting state preservation and transport for long-horizon prediction.
arXivarXiv · · November 21, 2026
0
DKG: A Dual-Layer Knowledge Graph and LLM Co-Driven Framework for Fully Automated Side-Channel Analysis of Cryptosystems
Wenquan ZhouAn WangYaoling DingJiakun LiJingqi ZhangLiehuang Zhu
DKG is a dual-layer knowledge-graph and LLM co-driven agent framework for fully automated non-profiled side-channel key recovery. Its first SCA-specific graph schema pairs an upper layer of configuration components with a lower layer of diagnostic strategies linked by cross-layer relations; an LLM-driven three-step pipeline (Locate & Rewrite, Triple Extraction, Knowledge Fusion) builds the graph from raw technical documents without manual annotation, and retrieved knowledge drives a closed-loop attack workflow. From 166 documents the graph holds 1,334 entities and 1,813 relationships, and on eight AES, DES, and SM4 datasets across smartcards, FPGAs, and MCUs DKG with DeepSeek-V3.2 reaches a 97.5% end-to-end key-recovery success rate, versus 68.8% for ReAct-RAG, averaging 93.3% across three open-weights backbones.
IACR ePrintIACR ePrint · November 9, 2026
0
Dual Exam: Controlled Evaluation of Multimodal Agents and World Models
Zhefan RaoMeng Chu…An Wang
Dual Exam separately evaluates multimodal agents and world models to assess the interaction between action selection and state evolution. The agent track tests 10 configurations on 1,088 items; the world-model track covers 400 cases across eight scenarios. GPT 6 Astra leads the Agent Index at 31.3, while GPT-Image-2 leads the full-coverage WM Overall at 21.7, scores based on different tasks that are not directly comparable. Results show uneven performance and state-preservation failures, with predictive value for coupled success unestablished.
arXivarXiv · · October 22, 2026
0
Generative World Simulation with DAO and JING
XGEN TeamGuohao Cai…An Wang
The paper introduces a Generative World Simulation framework that couples persistent world state with continuous first-person audiovisual generation. It integrates DAO, a computable world engine maintaining characters, objects, spaces, and their relationships, advancing according to interaction rules and world time, with DAO, a computable world engine. JING, an Egocentric Interactive Experience Model, combines observer-specific conditions from DAO with references, history, and actions to generate each observer's experience. Users interact through viewpoint control and text, with actions shaping shared state. This forms a continuous loop, enabling persistent, evolving, history-retaining interactive worlds.
arXivarXiv · · October 14, 2026
0
ClawLoop: Self-Improving Agents via Harness-Native Training Loop
Hansi YangLinji HaoHongyan HaoAn WangHan WuQi GuXunliang Cai
ClawLoop is a framework enabling self-improvement for harness-based LLM agents without an external teacher model or heavy human priors. It iterates three phases into a self-sustaining cycle: Task Synthesis, which generates diverse training tasks via two complementary routines with diagnosis-conditioned difficulty growth and agent-free/agent-based validation; Training via SFT and/or RL; and Diagnosis and Feedback, which produces a capability analysis report feeding the next iteration. Using Qwen3.6-27B as the loop model, ClawLoop yields consistent benchmark improvements, and refined tasks transfer to smaller models, validating data quality.
arXivarXiv · · October 9, 2026
0
0
Towards a Comprehensive Scaling Law of Mixture-of-Experts
Guoliang ZhaoYuhan FuShuaipeng LiSamm SunRuobing XieAn WangWeidong HanZhen YangWeixuan SunYudong ZhangCheng-zhong XuDi Wang  +1
Mixture-of-Experts (MoE) has emerged as the dominant paradigm for parameter-efficient scaling and cost-effective deployment of Large Language Models (LLMs). However, scaling laws developed for dense models are fundamentally inapplicable to MoE architectures, owing to three critical challenges: the multiplicity of governing factors, their intricate interdependencies, and the non-monotonic nature of their effects on model performance. These challenges collectively demand a rigorous and fine-grained investigation into MoE-specific scaling laws. In this work, we present a systematic decomposition of MoE configurations, identifying five key factors that influence model performance from both size and structural perspectives: data size (D), total model size (N), activated model size (Na), number of active experts (G), and ratio of shared experts (S). We conduct 450 controlled experiments to characterize the marginal effects of each factor, culminating in a comprehensive and precise joint MoE scaling law. Building on this foundation, we derive the theoretically optimal and practically efficiency-aware optimal configurations for G, S and Na/N with detailed analyses. Our findings reveal that the optimal settings for G and S are invariant to model and data size, while the optimal activation ratio Na/N grows sparser as N increases. Our proposed MoE scaling law provides accurate and insightful guidance for future MoE model design and training.
ACL AnthologyACL Anthology · October 2026
1
Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Models
Guoli WangHaonan ShiTu OuyangAn Wang
Diffusion large language models (dLLMs) generate text through iterative denoising rather than left-to-right decoding. This generation paradigm introduces two axes that can influence safety alignment: when tokens are generated during denoising and where they appear in the response. In this paper, we measure dLLM safety behavior under harmful prompts by tracing intermediate token distributions and commitment decisions throughout denoising. Our analysis shows that refusal signals are concentrated in early denoising steps and leading response positions, and the tokens committed early can strongly shape the final safety outcome. Our measurements further show that the denoising step and persistence of refusal-token commitment are important for understanding dLLM safety. Based on these findings, we propose Refusal-Aware Early Commitment (RAEC), a simple training-free decoding method that commits persistent refusal signals from early steps. Experiments on LLaDA and Dream show that RAEC reduces attack success rates while largely preserving utility. The code is available at https://github.com/Glresearch1/RAEC.
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
CESBench: Benchmarking Large Language Models on Cryptographic Engineering Security for IoT Devices
Wenquan ZhouAn WangJing LiangPeien FengJingqi ZhangYaoling DingLiehuang Zhu
CESBench provides 380 expert-crafted items across six sub-domains of cryptographic engineering security for IoT devices, covering side-channel, fault injection, implementation, countermeasures, evaluation, and integration. Tested on 11 LLMs, the benchmark reveals that while models achieve up to 98.6% on multiple-choice and 95.1% on code tasks, their ability to justify security verdicts remains weak—only 53.4% of rubric marks for justifications despite 88.5% correct verdicts.
arXivarXiv · · September 18, 2026
1
0
Beyond Token Positions: Safety Alignment Across Denoising Steps in Diffusion Language Models
Guoli WangHaonan ShiTu OuyangAn Wang
Diffusion LLMs generate text by iterative denoising, introducing two axes of safety alignment: when tokens are generated and where they appear. The paper finds that refusal signals concentrate in early denoising steps and leading response positions, and tokens committed early strongly shape the final safety outcome. Based on this, the authors propose Refusal-Aware Early Commitment (RAEC), a training-free decoding method that commits persistent refusal signals from early steps. Experiments on LLaDA and Dream show RAEC reduces attack success rates while largely preserving utility.
arXivarXiv · · August 31, 2026
0
0
Practical Differential Fault Attacks on the GPRS Standard Ciphers
Zhengting LiLin DingAn WangHaotong XuZheng LiuZheng WuXinhai WangJiang Wan
This paper introduces the first differential fault attack on GEA-like stream ciphers under the random fault model, built around a dedicated algorithm that identifies the exact fault location. Applied to the GPRS standard ciphers, the attack recovers the 64-bit secret keys of GEA-1 and GEA-2 with time complexities of $2^{33.807}$ and $2^{33.858}$, respectively. Simulations of the full attacks on ChipWhisperer Lite show that both ciphers can be broken within sixteen minutes on a common laptop; possible countermeasures are also presented to protect data across massive GPRS devices.
IACR ePrintIACR ePrint · August 26, 2026
0
0
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
SurgLAT: Surgical Latent Attention Tracking for Depth-Aware Robotic Laparoscope Control
Rulin ZhouQiujie SongYujie MaAn WangWanhao LiuGuoheng MaYidu WangGuankun WangXingrong DiaoJiankun WangChaowei ZhuXianming Liu  +1
SurgLAT is a causal online framework for autonomous laparoscopic camera control that models the surgeon's evolving attention as a latent state. It uses a frozen DINOv3 encoder with a state-conditioned spatial token mixer and a selective causal latent memory module to capture short-term motion and long-term intent. The learned latent attention is decoded into a probabilistic heatmap guiding the endoscope, while a robotic deployment layer enforces Remote Center of Motion constraints via a virtual-axis formulation. The system is validated on real surgical videos and a physical robot, showing robust tracking under occlusion, rapid motion, and target transitions.
arXivarXiv · · August 8, 2026
0
0
SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces
Chang JinAn WangZeming WeiKai WangBiaojie ZengQiaosheng ZhangChao YangJingjing QuXia HuXingcheng Xu
SkillSafetyBench is a benchmark for evaluating agent safety when the attack surface resides in reusable skills, local artifacts, or execution-environment files rather than the user request. It contains 155 adversarial cases across 47 tasks, 6 risk domains, and 30 safety categories, each with a rule-based verifier. Experiments with CLI agents and model backends show that non-user attacks consistently induce unsafe behavior, revealing distinct failure patterns across domains, attack methods, and scaffold-model pairings. The work demonstrates that agent safety depends on how agents interpret skills, trust workflow context, and act through executable environments.
arXivarXiv · · May 12, 2026
0
13
Self-Distillation for Multi-Token Prediction
Guoliang ZhaoRuobing XieAn WangShuaipeng LiHuaibing XieXingwu Sun
MTP-D is a self-distillation method for Multi-Token Prediction (MTP) in LLMs. It boosts MTP head acceptance rates by 7.5% while preserving main-head performance, using minimal additional training cost. A looped extension strategy further achieves 220.4% inference speedup over 1-head MTP. Experiments on seven benchmarks validate the effectiveness of these strategies for enhancing MTP-head performance and inference efficiency.
arXivarXiv · · March 25, 2026
0
1
Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning
Guoli WangHaonan ShiTu OuyangAn Wang
PACT preserves LLM safety alignment during fine-tuning by constraining a small set of safety-related tokens. It regularizes the fine-tuned model's confidence on these tokens to match the aligned reference model, while leaving other tokens unconstrained. This targeted approach prevents alignment drift from benign data without sacrificing downstream task performance.
arXivarXiv · · March 8, 2026
0
5
SurgAtt-Tracker: Online Surgical Attention Tracking via Temporal Proposal Reranking and Motion-Aware Refinement
Rulin ZhouGuankun WangAn WangYujie MaLixin OuyangBolin CuiJunyan LiChaowei ZhuMingyang LiMing ChenXiaopin ZhongPeng Lu  +3
SurgAtt-Tracker formulates surgical attention tracking as a spatio-temporal learning problem, modeling surgeon focus as a dense heatmap for continuous and interpretable frame-wise field-of-view (FoV) guidance. The framework leverages temporal coherence via proposal-level reranking and motion-aware refinement rather than direct regression. To support this, the authors introduce SurgAtt-1.16M, a large-scale benchmark with a clinically grounded annotation protocol. Experiments show state-of-the-art performance and robustness under occlusion, multi-instrument interference, and cross-domain settings.
arXivarXiv · · February 24, 2026
0
1
SurgMotion: A Video-Native Foundation Model for Universal Understanding of Surgical Videos
Jinlin WuFelix HolmChuxi ChenAn WangYaxin HuXiaofan YeZelin ZangMiao XuLihua ZhouHuarui WuHuai LiaoDanny T. M. Chan  +9
SurgMotion is a video-native foundation model for surgical video understanding. It replaces pixel-level reconstruction with latent motion prediction via the V-JEPA architecture, incorporating motion-guided masked prediction, spatiotemporal affinity self-distillation, and feature diversity regularization to learn semantic motion patterns from surgical videos. Pretrained on SurgMotion-15M, the largest surgical video dataset (3,658 hours, 50 sources, 13 regions), it outperforms state-of-the-art methods across 17 benchmarks, including workflow recognition, action triplet recognition, skill assessment, polyp segmentation, and depth estimation.
arXivarXiv · · February 5, 2026
0
5
The Kähler submanifolds between the ball bundles and the complex Euclidean space
Mingming ChenYihong HaoAn Wang
This paper establishes a sufficient condition for the non-existence of Kähler submanifolds that can be isometrically immersed into both the complex Euclidean space and a ball bundle of a Hermitian vector bundle over a Kähler manifold. The condition leads to non-existence results for several ball bundles whose base spaces are Hermitian symmetric spaces or complete Kähler-Einstein manifolds.
arXivarXiv · · January 1, 2026
0
Bridging Vision and Language for Robust Context-Aware Surgical Point Tracking: The VL-SurgPT Dataset and Benchmark
Rulin ZhouWenlong HeAn WangJianhang ZhangXuanhui ZengXi ZhangChaowei ZhuHaijun HuHongliang Ren
VL-SurgPT is the first large-scale multimodal dataset pairing visual surgical point tracks with textual point-status descriptions, designed to improve tracking robustness under adverse visual conditions like smoke and deformation. It includes 908 in vivo clips with 17,171 annotated points across tissue and instrument tracking. The authors also propose TG-SurgPT, a text-guided tracker that uses semantic descriptions to boost accuracy where vision-only methods fail, and benchmark eight existing methods on the dataset.
arXivarXiv · · November 15, 2025
0
0
EASE: Practical and Efficient Safety Alignment for Small Language Models
Haonan ShiGuoli WangTu OuyangAn Wang
EASE is a framework for efficiently aligning small language models (SLMs) with safety. It first identifies an optimal teacher to distill safety reasoning capabilities into the SLM. Then, the model is trained to selectively activate this reasoning: it applies deep safety reasoning only to dangerous adversarial jailbreak queries, while giving direct responses to straightforward malicious queries and benign tasks. This selective mechanism reduces jailbreak attack success rates by up to 17% compared to shallow alignment and cuts inference overhead by up to 90% relative to full deliberative reasoning, making robust safety practical for edge deployment.
arXivarXiv · · November 9, 2025
0
6
HMoE: Heterogeneous Mixture of Experts for Language Modeling
An WangXingwu SunRuobing XieShuaipeng LiJiaqi ZhuZhen YangPinxue ZhaoWeidong HanZhanhui KangDi WangNaoaki OkazakiCheng-zhong Xu
HMoE replaces the typical homogeneous experts in a mixture-of-experts model with experts of varying sizes, each possessing different capacities. This heterogeneity enables more specialized handling of tokens with varying complexity. A new training objective encourages frequent activation of smaller experts, improving computational efficiency and parameter utilization. Experiments show HMoE achieves lower loss with fewer activated parameters and outperforms conventional homogeneous MoE models on pre-training benchmarks.
ACL AnthologyACL Anthology · · November 2025
0
Sparsifying Mamba
An WangRuobing XieShuaipeng LiXingwu SunZhanhui Kang
This paper proposes Mamba-MoZ, a framework that sparsifies parameters inside the Mamba state-space model rather than stacking entire blocks. The authors discover that sparsifying different internal mechanisms (e.g., those related to gating or state transitions) has markedly different effects on performance. Mamba-MoZ exploits this observation by flexibly applying sparsification to achieve parameter scalability and stronger performance than existing block-level integration of sparsity, offering a promising direction for scaling Mamba-based models.
ACL AnthologyACL Anthology · November 2025
0
1
DYNAMIX: RL-based Adaptive Batch Size Optimization in Distributed Machine Learning Systems
Yuanjun DaiKeqiang HeAn Wang
DYNAMIX is a reinforcement learning framework that optimizes batch size in distributed machine learning by formulating it as a sequential decision problem with Proximal Policy Optimization (PPO). It uses a multi-dimensional state representation combining network, system, and training statistics, removing the need for explicit system modeling. Evaluated on diverse workloads and hardware, DYNAMIX achieves up to 6.3% higher final accuracy and 46% shorter training time while maintaining performance across cluster sizes up to 32 nodes and generalizing to related architectures.
arXivarXiv · · October 9, 2025
0
1
Towards a Comprehensive Scaling Law of Mixture-of-Experts
Guoliang ZhaoYuhan FuShuaipeng LiXingwu SunRuobing XieAn WangWeidong HanZhen YangWeixuan SunYudong ZhangCheng-zhong XuDi Wang  +1
The authors propose a comprehensive scaling law for Mixture-of-Experts (MoE) models, addressing the inapplicability of existing dense-model scaling laws by systematically decomposing MoE settings into five key factors: data size ($D$), total model size ($N$), activated model size ($N_a$), number of active experts ($G$), and shared-expert ratio ($S$). Through 446 controlled experiments, they characterize each factor's marginal effect and construct a joint scaling law. They derive optimal, efficiency-aware configurations for $G$, $S$, and $N_a/N$, finding that optimal $G$ and $S$ are architecture- and data-size-independent, while the optimal $N_a/N$ becomes sparser as $N$ scales.
arXivarXiv · · September 28, 2025
0
4
Extract Discriminative Features: Profiled Side-Channel Analysis for Cryptosystems Based on Supervised Contrastive Learning
Zoushaojie JiangAn WangYaoling DingAnnyu LiuZheng LiuJing YuLiehuang Zhu
To address the limitations of contrastive-learning-based profiled side-channel analysis, which relies heavily on data augmentation and may incorrectly separate leakage traces of the same class, the authors propose SupCL-SCA, a profiled SCA method based on supervised contrastive learning. By using supervised information to guide similarity extraction in feature space, it enhances learning of discriminative features that facilitate key recovery, while retaining general applicability and removing reliance on complex augmentation and multi-stage training. A cosine-distance-based Intra-Inter Distance Ratio (IIDR) is also introduced to assess model discriminability, and experiments on three public datasets show SupCL-SCA consistently reduces traces needed for key recovery.
IACR ePrintIACR ePrint · September 18, 2025
0
0
GraphBreak: Systematic Exploitation of LLM Safety Mechanisms Through Semantic Structure Manipulation
Sinan HeAn Wang
This paper introduces GraphBreak, a graph-based method to systematically generate LLM jailbreak prompts by manipulating semantic structures. It represents malicious prompts as graph nodes with edges denoting transformations, using AMR and RDF to parse user goals, then instructs LLMs to generate code realizing those intents, achieving up to 87% success against leading commercial LLMs. Contextual framing and abstraction are especially effective, revealing gaps in safety alignment focused on surface patterns. The work provides a cost-efficient methodology for stress-testing LLM safety mechanisms.
OpenReviewOpenReview · September 18, 2025
0
0
Towards a Comprehensive Scaling Law of Mixture-of-Experts
Zhao GuoliangYuhan FuShuaipeng LiXingwu SunRuobing XieAn WangWeidong HanZhen YangWeixuan SunYudong ZhangCheng-zhong XuDi Wang  +1
This paper proposes a comprehensive scaling law for Mixture-of-Experts (MoE) models. Addressing the limitations of dense-model laws, it identifies five key factors: data size ($D$), total model size ($N$), activated model size ($N_a$), number of active experts ($G$), and shared expert ratio ($S$). Through 450 controlled experiments, it characterizes their marginal effects, constructing a joint MoE scaling law. The analysis derives optimal configurations for $G$, $S$, and $N_a/N$, finding that optimal $G$ and $S$ are architecture- and data-independent, while the optimal $N_a/N$ becomes sparser as $N$ scales.
OpenReviewOpenReview · · September 17, 2025
0
SCA-GPT: A Generation-Planning-Tool Assisted LLM Agent for Fully Automated Side-Channel Analysis on Cryptosystems
Wenquan ZhouAn WangYaoling DingAnnyu LiuJingqi ZhangJiakun LiLiehuang Zhu
SCA-GPT is an LLM agent that performs a full standard-conformant side-channel assessment from a single natural-language instruction, covering timing analysis, simple power analysis, and differential power analysis, and reporting a verdict, governing clause, and checkable numeric evidence for each test item. It combines a domain expert knowledge base curated from 155 documents (89.7% Hit Rate@5, 74.1% MRR@5) with specialized side-channel tools. On 13 real datasets spanning six cryptographic algorithms across smart-card, microcontroller, and FPGA targets, three LLMs achieved success rates of 90.0%, 87.7%, and 94.6%, versus 0.0% for a plain ReAct agent, at about 253 seconds per assessment; the authors describe it as the first such automated LLM agent.
IACR ePrintIACR ePrint · September 11, 2025
0
0
Comparative validation of surgical phase recognition, instrument keypoint estimation, and instrument instance segmentation in endoscopy: Results of the PhaKIR 2024 challenge
Tobias RueckertDavid Rauber…An Wang
The PhaKIR 2024 sub-challenge, part of MICCAI 2024's EndoVis challenge, introduces a multi-center dataset of thirteen full-length laparoscopic cholecystectomy videos from three institutions, with unified annotations for surgical phase recognition, instrument keypoint estimation, and instrument instance segmentation. This benchmark enables joint investigation of instrument localization and procedural context, supporting temporally aware, context-driven methods for computer- and robot-assisted minimally invasive surgery. The central contribution is a novel dataset that unifies these three interrelated tasks to advance robust surgical scene understanding.
arXivarXiv · · July 22, 2025
0
16
Authors with the same name
An Wang · 15 papers
An Wang #0002 · 9 papers
An Wang #0007 · 31 papers
An Wang #0001 · 1 papers
Frequent collaborators
Hongliang Ren (38)
Mengya Xu (19)
Long Bai (18)
Mobarakol Islam (14)
Ruobing Xie (9)
Rulin Zhou (8)
Shuaipeng Li (8)
Guankun Wang (8)
Xingwu Sun (8)
Zhen Yang (7)
Haonan Shi (7)
Tu Ouyang (7)