MCP
JY

Jun Yan

200+ papers in the library

Papers

30
ChainVul: A Root-Cause-Chain-Based Vulnerability Benchmark for Precise LLM and Agent Assessment
Tiantian SunYuyang XieJinlong HeShixin ZhangJiwei YanJun YanJian Zhang
Existing vulnerability-detection benchmarks for LLMs and agents suffer from unclear boundaries of complete vulnerability-relevant code contexts and coarse-grained detection metrics. The authors propose an LLM- and agent-oriented benchmark-construction approach and build ChainVul, comprising 1,000 vulnerability samples whose core design is the Root Cause Chain (RCC), a representation capturing a vulnerability's root cause. RCC enables precise evaluation through RCC-oriented code-context identification and fine-grained RCC-based assessment metrics. Nearly 60% of samples involve complex contexts not adequately characterized by patch-based annotations alone; manual inspection shows the extracted RCCs achieve 87.8% key-statement coverage and 98.0% triggering-condition accuracy, and RCC-based matching improves evaluation accuracy by around 30%. Evaluations of four LLMs and two agents provide insights into their strengths and limitations.
arXivarXiv · · November 27, 2026
0
Where to Approximate: Understanding and Accelerating Looped Multi-View Reconstruction
Siyuan ZhangYuhan ChenYangyang NingNan WangJun Yan
This work analyzes how approximations within looped multi-view reconstruction affect refinement, using paired interventions in Déjà View and stacked reconstruction transformers to separate the error injected, its propagation, and its effect on output. In Déjà View, approximation errors are more strongly attenuated than matched random perturbations, and a Jacobian decomposition links channel gating to the response to spatial error structure; early spatial approximations benefit from later refinement, while cross-step reuse depends on what is cached and step spacing, with approximation errors changing predicted rotations 1.55 times as much as random errors at equal final norm. These findings guide a method that reduces spatial resolution and pools keys and values early, interleaves attention-output reuse with full attention, and uses lightweight self-distillation. Across five benchmarks, the balanced configuration runs $1.63\times$ faster than the official 16-step Déjà View with a 1.86-point drop in average pose AUC@$3^\circ$; at matched latency it exceeds a full-refinement trained baseline's interpolated curve by 4.73 points in AUC@$3^\circ$ and improves geometry metrics.
arXivarXiv · · November 25, 2026
0
BADGERS: Bayesian Adaptive Graph-Guided Errors-in-Variables Regression Solution for Structured High-Dimensional Data
Zeyu HuKewen QuQi LongJun YanWenrui Li
BADGERS is a Bayesian framework for knowledge-guided regression on structured high-dimensional data that jointly addresses covariate measurement error and graph information, allowing covariates to have different numbers of replicates. It treats the true covariates as latent variables, combining a Gaussian errors-in-variables model that uses replicates to inform them, a Bayesian adaptive graphical lasso with a graph-informed prior for their dependence structure, and a regression model with an adaptive structured shrinkage prior that leverages graph information for variable selection. An efficient MCMC algorithm samples the posterior, and simulations plus Alzheimer's disease and multiple myeloma gene expression analyses show advantages over existing methods.
arXivarXiv · · November 25, 2026
0
ScaleTraj: Scale-Decomposed Human Trajectory Generation
Yulin ZengYiheng ZhaoJun YanYuhong Liu
Bottom-up trajectory generators that synthesize individual mobility often fail to preserve population-level mobility regularities after aggregation, notably the heavy-tailed displacement distribution summarized by a truncated power law; the authors formalize this as the Population-Level Displacement Gap and show through a systematic evaluation of representative model-driven and data-driven generators that it is prevalent across diverse paradigms. To diagnose it, they introduce the Scale Fidelity Profile (SFP), a scale-decomposed metric quantifying discrepancies in trip allocations across spatial scales, which reveals that displacement mismatches co-occur with systematic errors in how trips are allocated across scales. Motivated by this, they propose ScaleTraj, an autoregressive Transformer that decomposes location prediction into a Scale Selection Head choosing the movement scale and a Scale-Aware Cell Selection Head predicting the destination conditioned on that scale. Experiments on two datasets show ScaleTraj reduces the Population-Level Displacement Gap versus baseline methods while preserving fidelity.
arXivarXiv · · November 3, 2026
0
Rare-Feature-Adaptive Subsampling for Big Data Regression
Qingkai DongJun YanQiang ZhangHaiYing Wang
Rare binary features cause instability and slow convergence in big-data regression, and subsampling risks discarding their informative observations. This paper shows that rare-feature coefficient convergence rates depend on feature prevalence and inclusion probabilities, motivating rarity-adaptive subsampling designs. It studies optimal rare-census designs (retaining all rare observations) and proposes a computationally efficient rarity-adaptive L-optimal design with inverse prevalence scaling, plus a balanced one-step design usable alone or as a pilot. For two-stage implementation, it develops a union-sample estimator and establishes asymptotic normality. Simulations confirm improved stability and efficiency.
arXivarXiv · · October 21, 2026
0
Device Model Linking Singlet and Triplet Spin-State Properties to Organic Photovoltaic Device Characteristics
Jun DuLiming LiuJun Yan
This work proposes an exciton-kinetics coupled drift-diffusion (EKDD) model that self-consistently solves singlet/triplet state populations and charge transport in organic photovoltaics, linking excited-state kinetics to device characteristics. It identifies the CT-CS energy offset as the primary factor governing the charge-generation–voltage-loss trade-off: a positive offset improves generation but increases voltage loss, while a negative offset is endothermic and temperature-sensitive. Triplet-recycling kinetics determines whether this balance survives at device level, supported by reproductions of PM6:Y6 and D18:NFA blends and proposed design rules.
arXivarXiv · · October 13, 2026
0
0
Poisoned into Action: Context Attacks on Typed Decision Workflows
Chenkai WuXing ChangJun Yan
This paper studies context poisoning of typed decision workflows and introduces an execution-aware protocol that traces poisoned evidence through retrieval, model choice, automated action, and persisted state. Evaluated with 1,659 calls to Jev-1.13.0 across 20 tasks in two synthetic workflows, a standalone payload reached all 60 trials, yielding five security-violating executions under natural retrieval. Defenses preserved correct decisions; factorial controls suggested improvements largely reflected general evidence value. Prespecified contrasts lacked statistical support, leaving findings exploratory, though the protocol offers an auditable framework for connecting poisoning-induced errors to execution outcomes.
arXivarXiv · · October 11, 2026
0
Generative AI in Publishing: An Editors' Panel on Ethics and Policies
Jun YanMark GlickmanPaul S. AlbertYulin HswenLan WangMinge Xie
This article presents an edited account of a 2026 Joint Statistical Meetings panel where editors from statistics-related fields discussed generative AI in publishing. The panel reached shared commitments on human accountability, protecting confidential submissions, and disclosing consequential assistance, but offered differing recommendations on AI assistance with ideas and proofs, disclosure rules, automated review, and policy enforcement. By separating these shared principles from unresolved implementation questions, the article clarifies the choices facing statistical publishing and outlines an agenda for evaluating policies as GenAI evolves.
arXivarXiv · · October 7, 2026
0
Contextual Causality with Large Language Models: A Survey
Yiheng ZhaoJun YanChengming Hu
Understanding contextual causality is critical for large language models (LLMs), as it enables them to accurately identify causal relations in specific situations and support more reliable decision-making. Despite its significance, a systematic exploration of contextual causality with LLMs is still lacking. To fill this gap, we present a comprehensive survey on this topic. In this survey, we first propose a taxonomy of contextual causality, consisting of semantic, intervention, and counterfactual causality, and characterize each category by its core causal question, required model capabilities, representative tasks, and practical uses in causality analysis. We then analyze existing studies and discuss their key limitations. Finally, we examine the gaps between current benchmarks and real-world needs and outline promising directions for future research. Our goal is to clarify the research landscape of contextual causality with LLMs, emphasize its importance, and highlight promising future directions.
ACL AnthologyACL Anthology · October 2026
0
Revisiting Certified Defense with Differential Privacy on Vision Transformers
Jun YanWeiquan HuangQixian ZhangYan BaiShutai Zhang
This paper revisits Pixel Differential Privacy (PixelDP) certified robustness in Vision Transformers, identifying a failure mode hidden in CNNs: after patch embedding, the Laplace mechanism with grouped ℓ₁ sensitivity collapses to chance accuracy, while the Gaussian mechanism trains. The culprit is the sensitivity geometry, not noise; attenuation scales like $C/(\sqrt{M}+\sqrt{N})$ with width and kernel size. Replacing with a spectral-norm constraint fixes training but breaks the standard Laplace certificate. The authors derive a dimension-free $(\varepsilon,\delta)$-privacy bound for the Laplace mechanism under ℓ₂ sensitivity via privacy-loss concentration.
arXivarXiv · · September 25, 2026
0
Contextual Causality with Large Language Models: A Survey
Yiheng ZhaoJun YanChengming Hu
This survey organizes contextual causality for LLMs into three categories—semantic, intervention, and counterfactual causality—each defined by its core causal question, required capabilities, representative tasks, and causal-analysis uses. It then reviews prior work, identifies key limitations, and highlights gaps between existing benchmarks and real-world needs, charting directions for future research to advance reliable causal reasoning in LLMs.
arXivarXiv · · September 18, 2026
0
Do Influence-Derived Data Perturbations Enable Machine Unlearning? A Controlled Study of Three Plausible Roles
Chenkai WuChrispine KambimbiQinyang ZengJun Yan
This paper evaluates Deep Perturbation Learning (DPL) for machine unlearning by testing three roles assigned to it in prior work: direct deletion signal, utility-preserving regularizer, and warm start. Under a controlled protocol with exact-seed retraining, the authors find two implementation errors in the public code—image perturbations mismatch between processed and raw data, and label perturbations are ineffective—and show that after correction, DPL fails direct deletion on CIFAR-10/ResNet-18 across all tested seeds, provides inconsistent utility effects, and underperforms simple warm-start baselines once computation time is included. The evaluation covers random instance deletion only.
arXivarXiv · · September 11, 2026
0
0
Extremal persistence probabilities of exchangeable sign-invariant random variables
Daniel IľkovičJun Yan
For exchangeable and sign-invariant random variables $(X_1,\ldots,X_n)$ taking values in $(\mathbb{R}\setminus\{0\})^n$, this paper completes the extremal bounds on persistence probabilities of the partial sums. The weak persistence probability $\mathbb{P}(S_1,\ldots,S_n\geq0)$ is bounded above by $\frac{1}{2^n}\binom{n}{\lfloor n/2\rfloor}$, and the strong persistence probability $\mathbb{P}(S_1,\ldots,S_n>0)$ is bounded below by $\frac{1}{2^n}\binom{n-1}{\lfloor (n-1)/2\rfloor}$, both orders $n^{-1/2}$. These bounds are optimal, complementing the previously known opposite bounds.
arXivarXiv · · September 4, 2026
0
0
Robust Community Detection for Noisy Networks with Covariates: Application to Functional Brain Networks
Zeyu HuFrederick H. XuSuprateek KunduYize ZhaoLi ShenJun YanWenrui Li
This paper proposes a Bayesian framework for community detection in noisy networks with node covariates. The model couples a degree-corrected stochastic block model for the latent network, a noise model linking observations to latent edges, and a covariate cluster model for node attributes, enabling covariate information to aid recovery when network signals are weak. An MCMC algorithm and the WAIC for model selection are provided. Simulations show improved community recovery, especially under high noise or few network realizations, and applications to functional brain networks yield interpretable structures.
arXivarXiv · · September 4, 2026
0
0
EnvHarness: Awakening Static Worlds for Agent Learning
Chengsong HuangZifeng WangRujun HanJun YanYanfei ChenZoey CuiZhuKe JiangPeng XiaHan YuYufan ZhuangYifei MingJiaqi Pan  +5
EnvHarness is a programmable layer of plug-in components that wraps a static environment to reshape its behavior without modifying the underlying logic. It operates through standard interfaces, preserves the original verifier, and is applied across diverse domains. Its companion EnvRigger diagnoses agent weaknesses from execution trajectories and synthesizes components to target those flaws. Across five benchmarks in four domains, EnvHarness outperforms original environments and domain-specific generators, achieving up to 9.0-point improvement on held-out instances with 9.8% fewer execution steps.
arXivarXiv · · August 20, 2026
0
13
PRM-as-a-Judge 1.5: A Toolkit for Robot Process Assessment
Yuyang LiuYanqing Shen…Jun Yan
PRM-as-a-Judge 1.5 is a toolkit for fine-grained robot process assessment that converts benchmark rollout videos into dense progress curves. It introduces three metrics—characterizing failure-side progress, post-drawdown recovery, and success-side execution quality—to deepen understanding of embodied model capability beyond binary success rates. The toolkit also includes RoboPulse++ for evaluating process reward model reliability and a user-friendly assessment suite for reproducible manipulation process evaluation.
arXivarXiv · · August 14, 2026
0
1
A Mixed-Resonance Counterexample to the Lukic Conjecture
Jun Yan
This paper disproves Lukic's conjecture on the unit circle, which claimed that a weighted entropy condition with finitely many critical points is equivalent to decomposing Verblunsky coefficients into components localized at those points. The authors construct a counterexample for two critical points of multiplicity three, using two phase modes with common power-decay exponent $3/20$. The resulting sequence satisfies Lukic's decomposition conditions, but its weighted entropy for the corresponding two-point weight is $-\infty$, contradicting the conjecture.
arXivarXiv · · July 29, 2026
0
0
AMPBench-MT: A Homology-Controlled Benchmark for Antimicrobial Peptide Potency, Spectrum, and Safety Prediction
Ziheng ZhouHuiyu LuoXiaohu ZhuNan WangXuebiao QinChaoyan ZhangJun Yan
AMPBench-MT is a benchmark that jointly evaluates antimicrobial peptide recognition, species-conditioned potency (pMIC), hemolysis, toxicity, and selectivity under a sequence-homology-controlled protocol. Analysis of 161 endpoint-specific evaluations shows that high binary recognition performance does not reliably predict assay-level behavior; frozen protein-language-model embeddings lead pMIC regression, while graph and classical regressors are close. The benchmark demonstrates that AMP evaluation should shift from recognition leaderboards toward endpoint-aware evidence auditing.
arXivarXiv · · July 28, 2026
0
0
Sharp small-deviation inequalities for sums of independent nonnegative random variables
Weibo FuYanjun HanGuanyang WangJun YanPeng ZhangZhengqing Zhou
For independent nonnegative random variables $X_i$ with $\mathbb{E} X_i\le 1$ and $S=\sum_i X_i$, a sharp lower bound on $\mathbb{P}(S<\mathbb{E} S+\delta)$ is established: $b_{n,\delta}=\delta(n/(n+\delta))^n$ for $0<\delta<1$ and $b_{n,\delta}=(1-1/(n+\delta))^n$ for $\delta\ge 1$. The bound is sharp for every $n$ and $\delta\ge 1$, and implies $\mathbb{P}(S<\mathbb{E} S+\delta)\ge e^{-1}$ for $\delta\ge 1$, confirming Feige's conjecture in that regime. The proof combines the exact Dirichlet calibration theorem, resolving Gaffke's conjecture, with convex geometry results including Grünbaum's centroid theorem.
arXivarXiv · · July 27, 2026
0
6
Exact enumeration of lozenge tilings of a triangular region
Jun Yan
This paper exactly enumerates lozenge tilings of a triangular region $\mathcal{T}_n$. The number $T_n$ is given by a product formula involving third roots of unity, where $\zeta = e^{2\pi i/(3n+3)}$. The proof reduces the problem to evaluating the determinant of the bipartite adjacency matrix $M_n$ of the dual graph of $\mathcal{T}_n$, which is then diagonalized to obtain the result. This answers a question of Ciucu and Krattenthaler by both providing the exact formula and explaining why $T_n$ has many prime factors.
arXivarXiv · · July 6, 2026
0
0
AMRM-Pure: Semantic-Preserving Adversarial Purification
Zhihao DouZhiqiang GaoDongfei CuiWeida WangQinjian ZhaoDinggen ZhangJun YanZeke XieShufei Zhang
AMRM-Pure is a semantic-preserving adversarial purification method. It exploits the observation that Attentive Mask Reconstruction Models (AMRM), such as MAE and MaskDiT, are highly sensitive to adversarial noise because such noise disrupts the semantic relationships among image patches. The framework formulates purification as a tractable optimization problem that denoises inputs by preserving patch-level semantics. Finetuning with classification loss further strengthens semantic consistency. Experiments demonstrate state-of-the-art defense across multiple benchmarks.
arXivarXiv · · July 5, 2026
0
4
Gemma 4 Technical Report
Gemma TeamSherif El Abd…Jun Yan
Gemma 4 is a family of open-weight, natively multimodal language models with dense and Mixture-of-Experts architectures ranging from 2.3B to 31B parameters. Its key contribution is a unified, encoder-free architecture for the 12B model that directly processes raw image and audio patches, alongside a thinking mode that generates reasoning traces before answering. These design choices improve inference and memory efficiency, long-context abilities, and establish a leap in STEM, multimodal, and long-context benchmarks, rivaling larger open models.
arXivarXiv · · July 2, 2026
0
585
Generating Effective CoT Traces for Mitigating Causal Hallucination
Yiheng ZhaoJun Yan
This paper addresses causal hallucination in event causality identification (ECI) for small large language models (≤1.5B parameters). It identifies criteria for effective Chain-of-Thought (CoT) traces, designs a pipeline to generate such traces, and introduces a new metric, the Causal Hallucination Rate (CHR), to quantify hallucination. Fine-tuning with these CoT traces reduces causal hallucination and improves mean accuracy in small models, with strong cross-dataset and cross-difficulty generalization and robustness to misleading prompts.
ACL AnthologyACL Anthology · · July 2026
0
Orca: The World is in Your Mind
Yihao WangYuheng Ji…Jun Yan
Orca is a world foundation model that learns a unified latent space from multimodal signals via Next-State-Prediction, rather than isolated next-token, next-frame, or next-action prediction. It uses unconscious learning from continuous videos and conscious learning from language-described events. Pre-trained on 125K hours of video and 160M event annotations, Orca's frozen backbone provides a world latent that supports downstream text, image, and embodied-action generation, outperforming similar-sized specialized baselines.
arXivarXiv · · June 29, 2026
1
12
Domain-Skewed Federated Learning with Feature Decoupling and Calibration
Huan WangJun ShenJun YanGuansong Pang
Federated learning (FL) allows distributed clients to collaboratively train a global model in a privacy-preserving manner. However, one major challenge is domain skew, where clients' data originating from diverse domains may hinder the aggregated global model from learning a consistent representation space, resulting in poor generalizable ability in multiple domains. In this paper, we argue that the domain skew is reflected in the domain-specific biased features of each client, causing the local model's representations to collapse into a narrow low-dimensional subspace. We then propose Federated Feature Decoupling and Calibration (**F^2DC**), which liberates valuable class-relevant information by calibrating the domain-specific biased features, enabling more consistent representations across domains. A novel component, Domain Feature Decoupler (DFD), is first introduced in F^2DC to determine the robustness of each feature unit, thereby separating the local features into domain-robust features and domain-related features. A Domain Feature Corrector (DFC) is further proposed to calibrate these domain-related features by explicitly linking discriminative signals, capturing additional class-relevant clues that complement the domain-robust features. Finally, a domain-aware aggregation of the local models is performed to promote consensus among clients. Empirical results on three popular multi-domain datasets demonstrate the effectiveness of the proposed F^2DC and the contributions of its two modules.
CVFCVF · June 2026
0
When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study
Jun YanWeiquan HuangJiankai ZuoYujian MoXi FangChengliang WuZeming Wei
This paper investigates whether the Muon optimizer, which orthogonalizes matrix-valued updates, can improve adversarial training (AT). Theoretically, Muon imposes a spectral-norm stability ceiling on matrix updates, limiting uncontrolled spectral growth without explicit weight shrinkage. Empirically, across five architectures and three $\ell_p$ threat models, Muon is competitive with SGD on CNNs and substantially outperforms AdamW on both CNNs and ViTs, identifying optimizer geometry as a security-relevant factor.
arXivarXiv · · May 26, 2026
0
0
Unobserved Heterogeneity in Threshold Regression Based on the Hitting Times of a Reflected Brownian Motion for Recurrent Hypoglycemia
Yingfa XieHaoda FuYuan HuangJun Yan
The paper proposes a finite mixture model based on the first hitting time of a reflected Brownian motion to capture unobserved heterogeneity in recurrent hypoglycemia. Unlike previous frailty models, it allows component-specific regression coefficients and frailty parameters, identified through a Bayesian framework with MCMC. Application to real data reveals two subgroups: one with lower volatility but larger variance (greater heterogeneity) and different risk profiles. Model comparison criteria (DIC, LPML) favor the richer specification.
arXivarXiv · · May 25, 2026
0
0
Beyond Normal References: Discriminative Few-Shot Anomaly Detection
Huan WangJun ShenJun YanGuansong Pang
This paper introduces IDEAL for discriminative few-shot anomaly detection, a practical setting where both normal and anomalous reference examples are available. IDEAL learns intrinsic deviation patterns that represent generalizable abnormality as deviations from normality, overcoming overfitting to seen anomalies. It comprises a Normal Variation Eraser suppressing nuisance normal variations and an Intrinsic Deviation Encoder decomposing denoised deviations into discriminative orthogonal vectors. Anomalies are scored by projecting query-to-normal deviations onto these vectors. Experiments on eight real-world datasets show IDEAL outperforms existing state-of-the-art methods, generalizing to unseen anomalies.
arXivarXiv · · May 22, 2026
0
0
QEDBENCH: Quantifying the Alignment Gap in Automated Evaluation of University-Level Mathematical Proofs
Santiago GonzalezAlireza Amiri Bavandpour…Jun Yan
QEDBench introduces a benchmark and audit protocol measuring whether frontier LLM judges align with expert mathematicians in grading upper-undergraduate and early-graduate natural-language proofs. It includes 272 proof problems across ten domains, over 1,300 generated proofs, extensive expert evaluation, and a $7\times5$ evaluator-solver matrix under two rubrics. Findings reveal a systematic alignment gap: some LLM judges accept flawed proofs frequently, with Llama 4 Maverick at 74.8% false-positive leniency, and score positively correlating with LaTeX density. Current LLM judges remain unreliable autonomous verifiers.
OpenReviewOpenReview · · May 22, 2026
0
FedHPro: Federated Hyper-Prototype Learning via Gradient Matching
Huan WangJun ShenHaoran LiZhenyu YangJun YanOusman ManjangYanlong ZhaiDi WuGuansong Pang
To mitigate semantic drift in prototype-based federated learning, this paper introduces hyper-prototypes—learnable global class-wise prototypes optimized via gradient matching to align with class characteristics distilled directly from clients' real samples, rather than from averaged prototype-level descriptors. The FedHPro framework then uses these hyper-prototypes in mutual-contrastive learning with a client-specific margin to promote inter-class separability, together with a consistency penalty for intra-class uniformity. Experiments show that hyper-prototypes yield a more semantically consistent global signal and that FedHPro achieves state-of-the-art performance under heterogeneous conditions.
arXivarXiv · · May 13, 2026
0
0
Authors with the same name
Jun Yan · 27 papers
Jun Yan #0001 · 12 papers
Jun Yan #0005 · 11 papers
Jun Yan #0006 · 4 papers
Jun Yan #0007 · 9 papers
Jun Yan #0009 · 10 papers
Jun Yan #0010 · 2 papers
Jun Yan #0012 · 9 papers
Jun Yan #0013 · 10 papers
Frequent collaborators
Chen-Yu Lee (19)
Zifeng Wang (16)
Yanfei Chen (15)
Tomas Pfister (15)
Xiang Ren (15)
Rujun Han (13)
Huan Wang (13)
Jun Shen (13)
I-Hung Hsu (12)
Shiyang Li (10)
Hai Wang (10)
Zheng Tang (10)