MCP
JS

Jun Shao

47 papers in the library

Papers

30
Appreciation Teaches Unauthorized Execution: Self-Evolution Degrades the Robustness of Personal Agents to Indirect Prompt Injection
Xinyan WangXiaogeng LiuJun ShaoChaowei Xiao
This paper investigates whether self-evolution degrades the robustness of personal agents to indirect prompt injection (IPI). Using a two-phase methodology—an adaptation phase where the agent learns from user feedback after reading external content, and a test phase where a third party injects a new task not authorized by the user—the authors find that self-evolution substantially increases attack success rates: by 14.0–48.8 percentage points under skill evolution and by 3.0–39.3 percentage points under reinforcement learning, compared with a non-evolving base agent. Code is public.
arXivarXiv · · October 29, 2026
0
CAGE: Concept Algebra for Guardrail Evasion and Jailbreak Attacks via Lexical-Semantic Decoupling
Zekai HeYuxiang ChenJun ShaoXiao SongHaibo Hong
Modern Large Language Models (LLMs) depend heavily on surface-level lexical filters for safety alignment, exposing a critical lexical-semantic gap: harmful intent can be fully decoupled from explicit wording. Motivated by this vulnerability, we propose CAGE (Concept Algebra for Guardrail Evasion), a single-turn black-box jailbreak leveraging the victim’s reasoning to reconstruct masked harmful intent. Through slot masking and concept equations, CAGE eliminates explicit triggers while guiding the target model to internally deduce the payload. Because standard evaluations conflate generic harmfulness with precise intent execution, we introduce the Strict Attack Success Rate (sASR), a metric that mandates verbatim slot recovery to measure reconstructive controllability beyond mere compliance. Across seven frontier models and three benchmarks, CAGE achieves an average ASR of 93.7% and sASR of 85.1%. Defense stress tests and keyword-recovery analysis reveal that existing token-level guardrails remain largely ineffective against reasoning-driven semantic evasion, suggesting that robust alignment must go beyond surface token filtering to address threats at the reasoning level. WARNING: THIS PAPER CONTAINS UNSAFE CONTENTS.
ACL AnthologyACL Anthology · October 2026
0
How to Learn from What a Human Would Avoid? Intervention-Aware World Models with Real-World RL for Dexterous Manipulation
Jiaju YinZhenhui ZhangLixin XuHeng ZhangJun ShaoYating FengArash AjoudaniRenjing Xu
WHIRL is a safety-aware reinforcement learning framework for dexterous manipulation that treats human interventions not as reactive corrections but as forward-predictive signals. It augments a latent world model with a per-state intervention-probability head that predicts the likelihood of a human takeover. This provides an actor-side risk-shaping term that discourages the policy from entering intervention-prone regions. On a 16-DoF LEAP Hand, WHIRL achieves a 96.7% success rate on complex grasping tasks while reducing operator intervention burden by up to 84%.
arXivarXiv · · September 5, 2026
0
0
Shape-Preserving Covariate Adjustment via Empirical Likelihood in Randomized Experiment
Zhilan LouJun ShaoYuhan QianTuo WangYanyao YiYu DuTing Ye
This paper proposes a covariate adjustment method for randomized experiments that preserves the monotonicity of distributional functionals. Using empirical likelihood with covariate-balancing constraints, it constructs an adjusted empirical measure for each treatment arm. Plug-in estimators of CDFs, survival functions, quantiles, and restricted mean survival times automatically inherit shape constraints. The estimators are asymptotically normal with a guaranteed efficiency gain and are invariant to the randomization scheme, unifying inference under simple or covariate-adaptive designs.
arXivarXiv · · August 19, 2026
0
0
How to Learn from What a Human Would Avoid? Intervention-Aware World Models with Real-World RL for Dexterous Manipulation
Jiaju YinZhenhui ZhangLixin XuHeng ZhangJun ShaoYating FengArash AjoudaniRenjing Xu
WHIRL is a safety-aware reinforcement learning framework that turns binary human interventions during dexterous manipulation into forward-predictive risk signals. Its intervention-aware latent world model adds a per-state intervention-probability head, which learns to predict the likelihood of future human takeovers and shapes the actor to avoid intervention-prone regions. Evaluated on a 16-DoF LEAP Hand across grasping, prismatic, and long-horizon tasks, WHIRL achieved a 96.7% success rate on complex grasping while cutting step-weighted operator interventions by up to 84%.
OpenReviewOpenReview · · May 25, 2026
0
Fused Multinomial Logistic Regression Utilizing Summary-Level External Machine-learning Information
Chi-Shian DaiJun Shao
This paper proposes a fused multinomial logistic regression estimator that integrates summary-level external machine-learning predictions into a primary individual-level study via an empirical-likelihood framework with moment constraints. The method is robust to covariate shift under a mild overlap condition, and it handles data-quality issues like coarsened outcomes and concept shift. The authors establish consistency and asymptotic normality, and provide sufficient conditions for strict efficiency gain over the primary-only estimator.
arXivarXiv · · April 5, 2026
0
Covariate Adjustment for Wilcoxon Two Sample Statistic and Test
Zhilan LouJun ShaoTing YeTuo WangYanyao YiYu Du
This paper proposes covariate adjustment via calibration for the Wilcoxon two-sample statistic and Mann–Whitney test. The method reduces variance, guarantees efficiency gain, and extends applicability to covariate-adaptive randomization. The adjusted statistic has an asymptotic distribution that is invariant across all common covariate-adaptive randomization schemes, enabling a unified inference formula regardless of the specific randomization used.
arXivarXiv · · February 17, 2026
0
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Environment Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
The paper argues that existing benchmarks evaluate deductive, inductive, and abductive reasoning in isolation, missing the integrated reasoning needed in interactive, unknown environments. To address this, it introduces a black-box interaction paradigm where an LLM must infer a hidden input-output function by querying it within a limited number of exploration turns. The authors build the Oracle benchmark with six task types and 96 black-boxes, benchmarking 19 modern LLMs. OpenAI's o3 tops five of six tasks but still drops below 40% average accuracy on hard cases, revealing a universal lack of high-level planning for efficient exploration and hypothesis refinement.
OpenReviewOpenReview · · January 20, 2026
0
CoordMail: Exploiting SMTP Timeout and Command Interaction to Coordinate Email Middleware for Convergence Amplification Attack
Ruixuan LiChaoyi LuBaojun LiuYanzhong LinQingfeng PanJun Shao
NDSSNDSS · 2026
0
1
MSF-Mamba: Motion-aware State Fusion Mamba for Efficient Micro-Gesture Recognition
Deng LiJun ShaoBohao XingRong GaoBihan WenHeikki KälviäinenXin Liu
MSF-Mamba enhances Mamba for micro-gesture recognition by fusing local contextual neighboring states within the state space model, enabling motion-aware local spatiotemporal modeling that vanilla Mamba lacks. The motion-aware state fusion module uses central frame difference to capture subtle motion cues. A multiscale version (MSF-Mamba+) further adds adaptive scale weighting. Experiments on two public datasets show that the lightweight MSF-Mamba achieves state-of-the-art performance, surpassing CNN-, Transformer-, and SSM-based models while maintaining high efficiency.
arXivarXiv · · October 12, 2025
0
10
Instrument, Variable and Model Selection with Nonignorable Nonresponse
Ji ChenJun Shao
This paper addresses the problem of nonignorable nonresponse, where the missing-data mechanism depends on the unobserved outcome. The authors propose a method to simultaneously select an instrument variable (a covariate excluded from the nonresponse propensity but correlated with the outcome), other covariates, and the response model. The method is based on a pseudo-likelihood approach and is shown to yield consistent selection as sample size grows, under regularity conditions. Simulation studies and real examples demonstrate its effectiveness.
arXivarXiv · · September 16, 2025
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
Existing tasks fail to assess LLM reasoning in interactive, unknown environments, isolating deductive, inductive, and abductive reasoning. This paper introduces black-box interaction, where a hidden function maps inputs to outputs and LLMs must uncover it through limited exploration turns and reasoning over observed pairs. They build the Oracle benchmark with 6 task types and 96 black-boxes, benchmarking 19 LLMs. o3 ranks first in 5 tasks, exceeding 70% accuracy on easy ones, but drops below 40% on hard tasks. Analysis reveals a universal lack of high-level planning for adaptive exploration and hypothesis refinement.
OpenReviewOpenReview · September 3, 2025
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
Existing tasks inadequately evaluate large language models (LLMs) in interactive, unknown settings, assessing deductive, inductive, and abductive reasoning in isolation. The authors introduce a black-box interaction paradigm, where a hidden function maps inputs to outputs, and LLMs must uncover it through exploration turns and reasoning over observed pairs. Building the Oracle benchmark with 6 task types and 96 black-boxes, they benchmark 19 LLMs; o3 ranks first in 5 tasks with over 70% accuracy on easy cases but drops below 40% on hard ones. They find LLMs lack high-level planning for efficient exploration.
OpenReviewOpenReview · August 27, 2025
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Environment Interaction
Congchi YinTianyi WuYankai ShuAlex GuYunhan WangJun ShaoXun JiangPiji Li
The paper introduces a black-box environment interaction paradigm to evaluate LLMs' integrated reasoning. An LLM must infer a hidden function, which maps specific inputs to outputs, by interacting with the environment over limited exploration turns. On the accompanying Oracle benchmark, top models like o3 achieve over 70% accuracy on easy tasks but fall below 40% on hard ones, revealing a universal difficulty: LLMs lack high-level planning for efficient, adaptive hypothesis-testing strategies.
arXivarXiv · · August 26, 2025
0
1
Direct Behavior Optimization: Unlocking the Potential of Lightweight LLMs
Hongming YangShi LinJun ShaoChangting LinDonghai ZhuMeng HanQinglei Kong
Lightweight large language models (LwLLMs) are efficient but often lack reasoning capability. Existing prompt optimization methods are ineffective for them because they rely on manual effort or the meta-cognitive abilities of large models. This paper introduces DeBoP, a Direct Behavior Optimization Paradigm that automatically optimizes LwLLM behavior by transforming complex-prompt optimization into the optimization of discrete, quantifiable execution sequences via gradient-free Monte Carlo Tree Search. On seven challenging tasks, DeBoP significantly outperforms recent prompt optimization methods; DeBoP-optimized LwLLMs surpass GPT-3.5 on most tasks while reducing computational time by about 60% compared to other automatic methods.
ACL AnthologyACL Anthology · · July 2025
0
Direct Behavior Optimization: Unlocking the Potential of Lightweight LLMs
Hongming YangShi LinJun ShaoChangting LinDonghai ZhuMeng HanQinglei Kong
DeBoP is a direct behavior optimization paradigm for lightweight LLMs that transforms complex prompt optimization into discrete, quantifiable execution sequences via a gradient-free Monte Carlo Tree Search. Unlike manual or meta-cognitive methods, it automatically optimizes the model's behavior rather than the prompt text. Evaluated on seven challenging tasks, DeBoP-optimized lightweight LLMs surpass GPT-3.5 on most tasks while reducing computation time by about 60% compared to other automatic prompt optimization methods.
arXivarXiv · · June 6, 2025
0
3
MDD-5k: A New Diagnostic Conversation Dataset for Mental Disorders Synthesized via Neuro-Symbolic LLM Agents
Congchi YinFeng LiShu ZhangZike WangJun ShaoPiji LiJianhua ChenXun Jiang
To overcome the near impossibility of collecting real diagnostic conversations due to privacy and ethical constraints, this work synthesizes them from easier-to-access anonymized patient cases using a neuro-symbolic multi-agent framework with large language models. The framework, taking a patient case as input, generates multiple diverse conversations per case through interaction between a doctor agent and a patient agent, with symbolic control via a dynamic diagnosis tree. Applying it with Shanghai Mental Health Center yields MDD-5k, built on 1000 real anonymized cases: 5000 high-quality long Chinese conversations labeled with diagnosis results and treatment opinions, described as the largest such dataset and the first labeled Chinese mental-disorder diagnosis dataset. Human evaluation shows it simulates a human-like diagnostic process.
AAAI · April 11, 2025
0
HADES Attack: Understanding and Evaluating Manipulation Risks of Email Blocklists
Ruixuan LiChaoyi LuBaojun LiuYunyi ZhangGeng HongHaixin DuanYanzhong LinQingfeng PanMin YangJun Shao
NDSSNDSS · 2025
0
5
Efficiently Achieving Secure Model Training and Secure Aggregation to Ensure Bidirectional Privacy-Preservation in Federated Learning
Xue YangDepan PengYan FengXiaohu TangWeijun FangJun Shao
This paper proposes a bidirectional privacy-preserving federated learning scheme that combines two mechanisms: MP_Server, an accuracy-lossless model perturbation on the server side, and DDP_Client, a distributed differential privacy mechanism on the client side. This combination ensures local differential privacy (LDP) for both local gradients and the global model while achieving the model accuracy of central differential privacy (CDP). Experiments show that the scheme significantly reduces training time (by 200x to over 1000x) and accuracy loss (under 6% vs. up to 20% for state-of-the-art) under small privacy budgets, also improving defense against privacy attacks.
arXivarXiv · · December 16, 2024
0
1
From Estimands to Robust Inference of Treatment Effects in Master Protocol Trials
Yuhan QianYifan YiJun ShaoYanyao YiGregory LevinNicole Mayer-HamblettPatrick J. HeagertyTing Ye
Master protocol trials randomize patients to intervention subsets based on individual characteristics, creating a non-uniform assignment that can make target estimands depend on the allocation ratio, thus preventing full pre-specification. This work introduces the first formal estimand framework for such trials, defining the entire concurrently eligible (ECE) population, which preserves randomized comparisons and remains invariant to the randomization ratio. Weighting and post-stratification estimators are then developed under the same minimal assumptions as traditional randomized trials, along with model-assisted covariate adjustment for robust efficiency gains.
arXivarXiv · · November 20, 2024
0
Improve the Precision of Area Under the Curve Estimation for Recurrent Events Through Covariate Adjustment
Jiren SunTuo WangYanyao YiTing YeJun ShaoYu Du
For recurrent events, the area under the curve (AUC) of the mean cumulative function (MCF) is a novel estimand that captures overall disease burden without requiring proportional hazards. We propose a nonparametric covariate-adjustment method that improves the precision of AUC estimation while preserving unconditional interpretability. Theoretical results guarantee efficiency gain over unadjusted analysis, and the approach works under simple and covariate-adaptive randomization. Simulations confirm increased statistical power, supporting its use in randomized trials.
arXivarXiv · · October 31, 2024
0
4
MDD-5k: A New Diagnostic Conversation Dataset for Mental Disorders Synthesized via Neuro-Symbolic LLM Agents
Congchi YinFeng LiShu ZhangZike WangJun ShaoPiji LiJianhua ChenXun Jiang
The paper presents a neuro-symbolic multi-agent framework that synthesizes diagnostic conversations for mental disorders by using anonymized patient cases. The framework employs a doctor agent and a patient agent interacting under symbolic control via a dynamic diagnosis tree, generating multiple diverse conversations from one case. Applied to 1000 real anonymized cases from Shanghai Mental Health Center, it produced MDD-5k, the largest labeled Chinese mental disorders diagnosis dataset (5000 conversations with diagnosis and treatment labels). Human evaluation confirms the conversations simulate human-like diagnostic processes.
arXivarXiv · · August 22, 2024
0
MLDT: Multi-Level Decomposition for Complex Long-Horizon Robotic Task Planning with Open-Source Large Language Model
Yike WuJiatao ZhangNan HuLanLing TangGuilin QiJun ShaoJie RenWei Song
MLDT (Multi-Level Decomposition for Task planning) enhances open-source LLMs for complex long-horizon robotic task planning by decomposing tasks at three levels: goal-level, task-level, and action-level. The method also introduces a goal-sensitive corpus generation method for high-quality training data and instruction tuning. Evaluated on VirtualHome with four datasets, including the newly constructed challenging LongTasks dataset, MLDT significantly improves planning performance, demonstrating its effectiveness in complex, real-world scenarios.
arXivarXiv · · March 27, 2024
0
47
A Worldwide View on the Reachability of Encrypted DNS Services
Ruixuan LiBaojun LiuChaoyi LuHaixin DuanJun Shao
We present the first comprehensive worldwide measurement of DNS-over-Encryption (DoE) service reachability, covering DoT, DoH, DoQ, and DoH3. Using a 15-month scan, we identified 1302 operational DoE domains (448 supporting IPv6) and performed 10M IPv4 and 570K IPv6 queries from 5K vantage points across 102 countries over two months. We found poor accessibility in some regions, with 592K IPv4 and 28K IPv6 queries blocked. In non-free countries, blocking often targets TCP connections and QUIC version negotiation; DoE over IPv6 is more reachable, and some policies block only specific IPs or protocols, allowing circumvention.
OpenReviewOpenReview · October 5, 2023
0
28
A General Form of Covariate Adjustment in Randomized Clinical Trials
Marlena S. BannickJun ShaoJingyi LiuYu DuYanyao YiTing Ye
This paper establishes general asymptotic theorems for the augmented inverse propensity weighted (AIPW) estimator in randomized clinical trials under covariate-adaptive randomization. The results cover linear, generalized linear, and non-parametric or machine learning models for the conditional mean, providing the first rigorous justification for using cross-fitting with dependent data. The theory clarifies conditions for guaranteed efficiency gain and universal applicability across randomization schemes, motivating a joint calibration strategy. The methods are implemented in the R package RobinCar.
arXivarXiv · · June 16, 2023
0
A Transformer-based representation-learning model with unified processing of multimodal input for clinical diagnostics
Hong-Yu ZhouYizhou YuChengdi WangShu ZhangYuanxu GaoJia PanJun ShaoGuangming LuKang ZhangWeimin Li
This paper presents a Transformer-based model that processes multimodal clinical input—radiographs, unstructured chief complaints and clinical history, and structured lab results and demographics—in a unified manner. Instead of learning modality-specific features, it embeds all inputs into visual and text tokens, then uses bidirectional blocks with intra- and intermodal attention to learn a holistic representation. The unified model outperforms an image-only model and non-unified multimodal models, improving pulmonary disease identification by 12% and 9% and COVID-19 adverse outcome prediction by 29% and 7% respectively.
arXivarXiv · · June 1, 2023
0
419
Robust Variance Estimation for Covariate-Adjusted Unconditional Treatment Effect in Randomized Clinical Trials with Binary Outcomes
Ting YeMarlena BannickYanyao YiJun Shao
This paper addresses the lack of an explicit robust variance formula for g-computation estimators of covariate-adjusted unconditional treatment effects in randomized trials with binary outcomes. The authors provide explicit variance estimators and demonstrate through simulations that these estimators are reliable for practical application, thereby facilitating the use of g-computation for improved precision and power.
arXivarXiv · · February 21, 2023
0
28
Covariate-Adjusted Log-Rank Test: Guaranteed Efficiency Gain and Universal Applicability
Ting YeJun ShaoYanyao Yi
This paper proposes a nonparametric covariate-adjusted log-rank test for right-censored time-to-event data following covariate-adaptive randomization in clinical trials. The test has a simple closed-form formula and guarantees an efficiency gain over the unadjusted test. It is universally applicable to simple randomization and all common covariate-adaptive schemes, including stratified permuted block and Pocock and Simon's minimization, a property not shared by the unadjusted log-rank test. The method is supported by asymptotic theory and empirical evaluations of type I error and power.
arXivarXiv · · January 28, 2022
0
Achieve Efficient Position-Heap-based Privacy-Preserving Substring-of-Keyword Query over Cloud
Fan YinRongxing LuYandong ZhengJun ShaoXue YangXiaohu Tang
We propose an efficient, privacy-preserving substring-of-keyword query scheme for encrypted cloud data. The scheme builds a novel tree-based index using the position heap technique to match substrings to keywords. Queries occur in two phases: first, keywords matching a given substring are retrieved; second, files containing the user's keyword of interest are returned. Security analysis and experiments confirm the scheme's security and efficiency.
arXivarXiv · · March 15, 2021
0
4
Toward Better Practice of Covariate Adjustment in Analyzing Randomized Clinical Trials
Ting YeJun ShaoYanyao YiQingyuan Zhao
This paper provides three recommendations for better practice of model-assisted covariate adjustment in randomized clinical trials: (1) guaranteed efficiency gain, meaning adjustment should not harm efficiency; (2) wide applicability to all common randomization schemes, including covariate-adaptive ones; (3) robust standard error estimation under model misspecification and heteroscedasticity. The authors propose using an analysis of heterogeneous covariance working model that includes all covariates used in randomization. Their asymptotic theory covers arbitrary functions of response means, multiple arms, and demonstrates guaranteed efficiency gain and optimality.
arXivarXiv · · September 24, 2020
0
123
Authors with the same name
Jun Shao · 8 papers
Jun Shao #0001 · 4 papers
Frequent collaborators
Ting Ye (11)
Yanyao Yi (9)
Congchi Yin (7)
Piji Li (7)
Yu Du (4)
Tianyi Wu (4)
Yankai Shu (4)
Alex Gu (4)
Xun Jiang (4)
Shu Zhang (4)
Haibo Hong (3)
Tuo Wang (3)