MCP
LS

Lu Sun

64 papers in the library

Papers

30
Lost in the Latent Space: How Code Embeddings Represent Functional Intent and Implementation Fidelity
Lu SunYuheng HuangLei MaZhijie Wang
This paper presents a large-scale empirical study of 14 code embedding models, probing internal representations beyond downstream performance. Through supervised probing, zero-shot retrieval, and perturbation experiments, the authors reveal a consistent abstraction–fidelity tension: models preserving stylistic and structural details sacrifice semantic generalization, and retrieval-equal models respond differently to implementation changes. They conclude that a single universal code embedding remains unattainable, urging representation-aware evaluation, selection, and deployment.
arXivarXiv · · October 29, 2026
0
Agent Transfer Protocol: Server-Mediated Agent-to-Agent Communication Architecture for the Agentic Web
Yuqi QiuZuyao XuLu SunXiang LiFasheng MiaoFubin WuHaixin DuanZheli Liu
We present ATP, a cross-organization agent communication protocol for the Agentic Web that uses a domain-mediated architecture. Administrative domains keep stable addresses and receiving entries for logical agents, so domain servers continuously handle cross-domain transmission, verify and store messages for offline instances, and the sending domain signs the message envelope. This lets the receiving instance independently reverify source and content integrity after the original connection ends, provided the verification public key remains trusted and obtainable. A prototype, tested in a controlled cross-organization LLM workflow with mechanism checks and latency measurements, confirms processing after offline or replaced instances and verifies saved messages.
arXivarXiv · · October 28, 2026
0
LG-Bench: A Graph-Structured Evaluation Benchmark for Life Sciences
Lu SunXiangyi ZhangXiangyang ZhuZijian ChenQiang HuYuan TianGuangtao Zhai
LG-Bench, the first graph-structured benchmark for life sciences, evaluates LLMs over 10,000 multiple-choice questions in medicine, biology, and chemistry. It builds a weighted evaluation graph using bidirectional matching and semantic similarity, where nodes are questions and edge weights indicate semantic relationships. Two new metrics are introduced: Global Coherence Score (GCS) for consistency within semantic neighborhoods, and Knowledge Balance Score (KBS) for revealing conceptual blind spots via error distribution. This shifts evaluation from flat accuracy to structure-aware analysis.
arXivarXiv · · October 19, 2026
0
0
PRET is a few-shot system for pan-cancer recognition without example training
Yi LiZiyu NingTianqi XiangQixiang ZhangZhihao LinMin YiFeiyan FengBaozhen ZengXuexia QianLu SunJiace QinLing Xiang  +8
PRET is a few-shot pan-cancer recognition system that requires no example training. Using only eight slide examples, it detects lymph node metastasis with clinical-grade performance, outperforming 11 pathologists. Evaluated on 23 international benchmarks with 4,484 whole-slide images, PRET surpasses existing methods across 20 tasks, achieving over 97% AUC on 15 benchmarks with a maximum improvement of 36.76%. It offers a flexible, scalable, and cost-effective solution for diverse organs, hospitals, and tasks, enhancing equitable AI-based pathology, especially for underserved regions.
arXivarXiv · · October 18, 2026
1
3
When Routing Reveals Membership: Privacy Leakage from MoE Router Telemetry
Yixin TanJiayang LiuLu SunYuke HuZheng LiRui Wen
This paper reveals that Mixture-of-Experts (MoE) router telemetry—routing information logged during inference—poses a privacy risk by enabling membership inference attacks on fine-tuned models. The authors introduce a router-augmented attack combining output-side signals with aggregated routing features, using a classifier trained on shadow models. Across three architectures and domains, this consistently improves inference over output-signal ensembles, raising true positive rate at 1% false positive rate by 2.7–9.4 percentage points in all nine settings. Leakage persists across training methods and even with restricted telemetry, as the router exposes hidden-representation membership signals without router-specific memorization.
arXivarXiv · · October 7, 2026
0
The Benchmark Illusion: Pruned LLMs Can Pass Multiple Choice but Fail to Answer
Rui WenLu SunJiayang LiuZesheng XuTianshuo CongZheng Li
Compressing large language models reduces memory use and inference cost, but it can also create failures that standard benchmarks miss. A pruned model may still perform well on multiple-choice evaluations, yet fail to answer the same question in open generation. We ask what pruning changes: does it erase the correct answer, or does it make the answer harder to produce as the top output? We study this question with multilingual question answering, tracking the same questions before and after pruning. We find a benchmark illusion. Under high-sparsity pruning, especially , models often fail in greedy open generation while still selecting the correct answer under multiple-choice scoring. In these recognition-only errors, the answer is usually not gone, but demoted: it often reappears with beam search, sampling, or one in-context example. Overall, multiple-choice benchmarks can overstate the usability of compressed LLMs, creating an evaluation blind spot. Compressed models should be tested on what they can produce, not only on what they can recognize.
ACL AnthologyACL Anthology · October 2026
0
MMedAgentBench: A Multi-Stage Benchmark for Evaluating LLM-based Medical Agents
Lu SunXiangyi ZhangXiangyang ZhuKaiyuan JiZijian ChenQiang HuZicheng ZhangYuan TianGuangtao Zhai
Large language models (LLMs) have demonstrated remarkable potential in medical AI through their natural language understanding and reasoning capabilities. However, real clinical practice involves multi-stage, dynamically evolving decision-making where physicians continuously adjust pathways based on updated examination results—far more complex than single-turn question answering. Existing medical benchmarks focus on static scenarios, failing to evaluate LLMs in realistic clinical environments. We present MMedAgentBench, a comprehensive benchmark for evaluating LLM-based medical agents in multi-stage clinical decision-making. Unlike previous benchmarks, MMedAgentBench captures the temporal complexity of clinical workflows by simulating authentic patient journeys across multiple diagnostic and treatment stages. The benchmark comprises a high-quality dataset of over 150 de-identified clinical cases from tertiary hospitals, encompassing 500+ clinical stages, with each case meticulously structured into sequential stages and annotated by board-certified physicians. Our evaluation framework simultaneously assesses diagnostic accuracy and resource efficiency, requiring agents to plan examinations and control costs while navigating progressive information disclosure. This enables systematic evaluation of medical agents across dynamic decision-making, cost control, and multi-stage reasoning dimensions, providing a realistic testbed for advancing medical AI toward clinical deployment.
ACL AnthologyACL Anthology · October 2026
0
Where Do LLMs Decide to Break the Rules? Mechanistic Localization of Prompt Injection Compliance
Rui WenJiayang LiuZeyu YangJun SakumaLu Sun
Prompt injection compliance has a mechanistically localized origin: causal activation patching across five 4B--32B models shows attack information decodes linearly from the first layer, yet causal control over compliance emerges only in a late-layer bottleneck within the final third of the network. Patching this bottleneck reverses compliance in 77--92% of cases, and the mechanism spans a compact linear subspace (rank-8 scaling to rank-64). This layer also best detects attacks, outperforming early-layer classifiers under obfuscation, aligning causal leverage with representational utility.
arXivarXiv · · September 29, 2026
0
Near-Duplicate Families Break Exact-Record Membership Inference
Yiyong LiuJiayang LiuYixin TanLu SunRui Wen
The paper shows that natural near-duplicate families cause standard membership inference (MI) to wrongly attribute training. The authors introduce a four-world audit that varies exact-record and family inclusion. In experiments on CC-News, clean-reference LiRA audits label 99.70% of family-present exact non-members as members at 1% FPR, even after deduplication. The effect persists across model architectures and is driven by the learning objective: in classification, family members substitute for the exact record, while in language modeling the exact record retains a residual signal. These results establish that positive MI evidence indicates family-level, not exact-record, provenance.
arXivarXiv · · September 27, 2026
0
0
What the Model Sees: A Safety Evaluation of LLM-based Email Assistants in Real Mail Clients
Lu SunXiang LiJiale YaoHongze Mo
This evaluation examines how the mail client's rendering and input path shape the safety of LLM-based email assistants, defining a run as safe only when the assistant recognizes the risk, warns the user, and refuses to act. Across 21 mail clients, 16 LLMs, four input forms, and six AI browser extensions, safe rates range from 28.6% to 100.0% across models and message accessibility from 16.7% to 97.8% across clients. Representation matters: the same attack message yields a safe verdict in 95.0% of screenshot runs versus 54.0% with HTML uploads. Client warnings raise the safe rate from 57.5% to 86.1% and a lightweight risk instruction from 68.1% to 81.4%, while only 24.4% of delegated tasks in AI browser extensions produce a warning or refusal. Safe email delegation thus depends on message exposure, input representation, and contextual safety signals, prompting the recommendation that mail services and clients supply assistants with both risk assessments and readable message content.
OpenReviewOpenReview · September 19, 2026
0
Ollama in the Wild: A Longitudinal Measurement of Exposed Ollama LLM Endpoints at Internet Scale
Zuyao XuXiang LiYuqi QiuLu Sun
This paper presents a 365-day longitudinal measurement of exposed Ollama LLM endpoints (port 11434) from February 2025 to February 2026, using daily active probing and enrichment. Across 4.8 million IP×day observations, 26.4% of 152,137 cumulative IPs appear for a single day, and only 0.43–2.90% of below-fix IPs upgraded in place for five CVEs. The findings characterize exposed Ollama as a structural exposure surface: persistent, growing, heavily concentrated in cloud and hosting ASNs, with recurring insecure deployment practices.
arXivarXiv · · September 7, 2026
0
0
Learning Local Feature Masks with Variational Information Bottleneck
Lu SunJun Sakuma
VIBMask is a unified framework for instance-wise feature selection built on the variational information bottleneck. It addresses co-adaptation—where the selector leaks label information into the mask, producing spurious correlations and unfaithful explanations—by penalizing mutual information between unselected features and the label, and improves expressivity through an ensemble of diverse selectors that capture heterogeneous sparse local patterns. The authors further derive a new variational lower bound for discrete masks, enabling efficient end-to-end training via reparameterization. Experiments on synthetic and real datasets show VIBMask consistently outperforms state-of-the-art IWFS methods in predictive accuracy and informative feature discovery.
IJCAIIJCAI · September 2026
0
High-dimensional Supermode Photonics Enabled by Hierarchical Supersymmetric Transformation
Yuan ZhongKaile ChenQi LuChunxue WangJingchi LiYuru LiZhaohui LiChao LuXinchen JiYikai SuLu Sun
This paper introduces a hierarchical second-order discrete supersymmetric (DSUSY) transformation method that enables high-purity excitation and extraction of arbitrary target supermodes in a compact, scalable waveguide array. The method achieves large, equidistant effective-index spacing and isospectrality, suppressing intermodal crosstalk. Experimental six-supermode multiplexing systems on silicon and silicon nitride platforms show low insertion loss (<2.6 dB) and crosstalk (<-11.1 dB) over 100 nm, and a 1.2 Tbit/s data rate with bit error rates below the forward-error-correction threshold. The approach also supports polarization-insensitive hybrid multiplexing.
arXivarXiv · · August 11, 2026
0
0
The Benchmark Illusion: Pruned LLMs Can Pass Multiple Choice but Fail to Answer
Rui WenLu SunJiayang LiuZesheng XuTianshuo CongZheng Li
Compressing LLMs by pruning can create a benchmark illusion: pruned models still pass multiple-choice evaluations yet fail to answer the same question in open generation. Studying this with Wanda at high sparsity, the authors find that the correct answer is typically not erased but demoted—it often reappears with beam search, sampling, or one in-context example. Thus, multiple-choice benchmarks overstate the usability of compressed LLMs, which should be tested on what they can produce, not only recognize.
arXivarXiv · · June 16, 2026
0
1
A3: Towards Advertising Aesthetic Assessment
Kaiyuan JiYixuan GaoLu SunYushuo ZhengZijian ChenJianbo ZhangXiangyang ZhuYuan TianZicheng ZhangGuangtao Zhai
A3 (Advertising Aesthetic Assessment) is a framework for evaluating advertising images. Its central component is A3-Law, a theory-driven paradigm with three hierarchical stages: Perceptual Attention (attraction), Formal Interest (composition), and Desire Impact (persuasion). Using this paradigm, the authors built A3-Dataset, 120K instruction-response pairs from 30K images with Chain-of-Thought rationales, and trained A3-Align, a multimodal large language model. Experiments on A3-Bench show A3-Align aligns with A3-Law better than existing models, generalizing to advertisement selection and critique.
CVFCVF · June 2026
0
LG-Bench: A Graph-Structured Evaluation Benchmark for Life Sciences
Lu SunXiangyi ZhangXiangyang ZhuZijian ChenQiang HuYuan TianGuangtao Zhai
LG-Bench is introduced as the first graph-structured benchmark for life sciences, comprising over 10,000 high-quality multiple-choice questions across medicine, biology, and chemistry. Its evaluation graph is built by bidirectional matching and semantic similarity, with question nodes and edge weights encoding semantic relations. Using this topology, two metrics are proposed: the Global Coherence Score (GCS), measuring a model's consistency within semantically related neighborhoods, and the Knowledge Balance Score (KBS), analyzing how errors are distributed across the graph to reveal conceptual blind spots. The framework shifts evaluation from flat accuracy toward structure-aware diagnosis of LLM performance.
OpenReviewOpenReview · · May 3, 2026
1
Integrated Supermode Photonics Enabled by Supersymmetric Transformation
Kaile ChenQi LuYuan ZhongJingchi LiYuru LiZhaohui LiChao LuYikai SuLu Sun
This work establishes a systematic methodology for integrated supermode photonics, centered on a 2nd-order discrete supersymmetric (DSUSY) transformation that enables simultaneous excitation and detection of multiple supermodes via cascading. Using a multi-well optical potential in a waveguide array, supermodes achieve maximal, equidistant effective index spacing. The approach is experimentally validated through two- and four-supermode multiplexing systems, achieving low insertion loss (<2.48 dB) and intermodal crosstalk (<−18 dB) over 1500–1600 nm. A four-channel data transmission experiment reaches 1.024 Tb/s with low bit error rates, demonstrating supermodes as a scalable information carrier for on-chip optical communications.
arXivarXiv · · April 21, 2026
0
0
A3^3: Towards Advertising Aesthetic Assessment
Kaiyuan JiYixuan GaoLu SunYushuo ZhengZijian ChenJianbo ZhangXiangyang ZhuYuan TianZicheng ZhangGuangtao Zhai
A^3 is a framework for evaluating advertising aesthetics. It introduces A^3-Law, a theory-driven paradigm with three hierarchical stages: Perceptual Attention, Formal Interest, and Desire Impact. Based on this law, the authors built A^3-Dataset, comprising 120K instruction-response pairs from 30K advertising images annotated with Chain-of-Thought rationales. They then trained A^3-Align, a multimodal large language model, using CoT-guided learning. Experiments on A^3-Bench show A^3-Align aligns better with A^3-Law than existing models, and this alignment generalizes to advertisement selection and critique.
arXivarXiv · · March 25, 2026
1
4
aCAPTCHA: Verifying That an Entity Is a Capable Agent via Asymmetric Hardness
Zuyao XuXiang LiFubin WuYuqi QiuLu SunFaSheng Miao
The paper introduces aCAPTCHA, a protocol for verifying whether an entity is an autonomous AI agent. It formalizes the problem with a three-class taxonomy (Human, Script, Agent) based on capability vector <x, r, s> (action, reasoning, memory). A timing threshold $t$ exploits asymmetric hardness between human cognition and AI processing. The protocol is a time-constrained security game instantiated via time-bounded natural-language understanding as a multi-round HTTP verification. Preliminary agent trials validate its soundness and completeness.
arXivarXiv · · March 7, 2026
0
0
SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond
Xiangyang ZhuYuan TianQi JiaKaiwei ZhangZicheng ZhangChunyi LiKaiyuan JiDongrui LiuZijian ChenLu SunRenrui ZhangYan Teng  +5
SafeSci is a framework for safety evaluation and enhancement of LLMs in scientific domains. It introduces SafeSciBench, a multi-disciplinary benchmark of 0.25M samples using deterministically answerable questions to separate safety knowledge from risk, and SafeSciTrain, a 1.5M-sample dataset for safety improvement. Evaluation of 24 LLMs reveals critical vulnerabilities and excessive refusal behaviors. Fine-tuning on SafeSciTrain significantly enhances safety alignment. The work argues that the safety of a scientific question depends on specific context.
arXivarXiv · · March 2, 2026
1
2
BLM-Guard: Explainable Multimodal Ad Moderation with Chain-of-Thought and Policy-Aligned Rewards
Yiran YangZhaowei LiuYuan YuanYukun SongXiong MaYinghao SongXiangji ZengLu SunYulu WangHai ZhouShuai CuiZhaohan Gong  +1
BLM-Guard is a multimodal moderation framework for short-video ads. It combines Chain-of-Thought reasoning with rule-based policy principles and a critic-guided reward. A rule-driven data synthesis pipeline generates structured scene descriptions and reasoning chains, reducing annotation costs. Reinforcement learning refines the model using a composite reward that balances causal coherence and policy adherence. A multitask architecture detects both intra-modal manipulations and cross-modal mismatches. Experiments on real ads show it surpasses baselines in accuracy, consistency, and generalization.
arXivarXiv · · February 20, 2026
0
0
GhostCite: A Large-Scale Analysis of Citation Validity in the Age of Large Language Models
Zuyao XuYuqi QiuLu SunFaSheng MiaoFubin WuXinyi WangXiang LiHaozhe LuZhengZe ZhangYuxin HuJialu LiJin Luo  +5
GhostCite provides the first large-scale analysis of citation validity in the LLM era. Using a new framework, CiteVerifier, the authors benchmark 13 LLMs across 40 domains, finding hallucination rates from 14.23% to 94.93%. Analyzing 2.2 million citations from 56,381 papers (2020–2025), they confirm 1.07% of papers contain invalid citations, with an 80.9% increase in 2025. A survey of 94 researchers reveals a verification gap: 41.5% copy-paste BibTeX unchecked and 44.4% take no action on suspicious references, while 76.7% of reviewers do not thoroughly check references.
arXivarXiv · · February 6, 2026
0
22
SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond
Xiangyang ZhuYuan TianQi JiaKaiwei ZhangZicheng ZhangChunyi LiZijian ChenLu SunKaiyuan JiRenrui ZhangWei SunGuangtao Zhai
We introduce SafeSci, a framework for evaluating and enhancing LLM safety in science. It includes SafeSciBench, a multi-disciplinary benchmark of 0.25M samples that separates safety knowledge from risk and uses objective, deterministically answerable questions, and SafeSciTrain, a 1.5M-sample dataset for enhancement. Evaluating 24 LLMs reveals critical vulnerabilities and varying excessive refusal behaviors. Fine-tuning on SafeSciTrain significantly improves safety alignment. We argue that scientific question safety depends on context, not universal categorization.
OpenReviewOpenReview · · January 20, 2026
1
Quaternion optical computing chip for parallel high-dimensional data processing
Songyue LiuQi LuYuan ZhongYuru LiMeng XiangZhaohui LiChao LuYikai SuLu Sun
The paper presents the first quaternion optical computing chip (QOCC), which uses wavelength-division multiplexing to process high-dimensional data simultaneously across multiple optical channels. By enabling direct operations on three- and four-dimensional data, the QOCC achieves higher computational fidelity (RMSE < 0.035) and reduces computational load by two-thirds compared to electronic computing, demonstrated in 3D point cloud processing, RGB chromatic transformation, and quaternion convolutional neural networks for color image recognition.
arXivarXiv · · January 4, 2026
0
0
A³: Towards Advertising Aesthetic Assessment
Kaiyuan JiYixuan GaoLu SunYushuo ZhengZijian ChenJianbo ZhangXiangyang ZhuYuan TianZicheng ZhangGuangtao Zhai
The paper presents A³, a framework for advertising aesthetic assessment that replaces subjective evaluation with a theory-driven, interpretable standard. Its core is A³-Law, a paradigm with three hierarchical stages—Perceptual Attention, Formal Interest, and Desire Impact—guiding the construction of a 120K instruction-response dataset from 30K advertising images, each annotated with multi-dimensional labels and Chain-of-Thought rationales. Based on this, A³-Align, a multimodal large language model trained with CoT guidance, achieves superior alignment with A³-Law in benchmarks and generalizes to advertisement selection and critique.
OpenReviewOpenReview · December 8, 2025
1
AdDriftBench: A Benchmark for Detecting Data Drift and Label Drift in Short Video Advertising
Yinghao SongXiangji ZengShuai CuiLu SunZhaowei LiuYuan YuanYulu WangHai ZhouZhaohan Gong
AdDriftBench (ADB) is a benchmark for evaluating vision-language models (VLMs) on short video advertising compliance auditing under data drift (DD) and label drift (LD). ADB provides 3,480 short video ads: 2,280 examples simulate DD caused by advertisers evading review mechanisms, testing generalization under rapid content distribution shifts; 1,200 examples simulate LD from evolving review guidelines, testing instruction following and fine-grained semantic understanding. Experiments on 16 open-source VLMs show moderate performance, with weaknesses in fine-grained semantics and adapting to shifting instructions.
ACL AnthologyACL Anthology · November 2025
0
0
LLM Agent Meets Agentic AI: Can LLM Agents Simulate Customers to Evaluate Agentic-AI-based Shopping Assistants?
Lu SunShihan FuBingsheng YaoYuxuan LuWenbo LiHansu GuJiri GesiJing HuangChen LuoDakuo Wang
This paper evaluates whether LLM agents can simulate human customers interacting with an agentic AI shopping assistant (Amazon Rufus). It compares 40 human participants' task traces, personas, and UX feedback with those of corresponding digital twins. While agents explored more diverse choices, their action patterns and design feedback closely matched humans. This is the first study to quantify the alignment between LLM agents and humans in multi-turn agentic AI interactions, suggesting scalability for system evaluation.
arXivarXiv · · September 25, 2025
0
19
Electrically Reconfigurable Arbitrary Splitting-Ratio Optical Splitter Based on Low-Loss Sb2Se3
Yuru LiWanting OuQi LuShunyu YaoNing ZhuSongyue LiuYuan ZhongYan LiLu SunYing LiTao ZhangZhaohuan Ao  +3
The paper presents an electrically reconfigurable optical splitter based on the low-loss phase-change material Sb2Se3, enabling non-volatile, multi-level control of arbitrary splitting ratios. By locally triggering phase transitions in the coupling region with integrated micro-electrodes, the device exploits the high refractive-index contrast between phases and negligible near-infrared absorption. Experimental results demonstrate 8 power-splitting states within a ~14.5-μm footprint, ~1 dB insertion loss across 1515–1550 nm, and near-zero static power, offering a compact, energy-efficient building block for reconfigurable photonic circuits.
arXivarXiv · · September 19, 2025
0
Learning Semi-Structured Sparsity for LLMs via Shared and Context-Aware Hypernetwork
Lu SunJun Sakuma
HyperPrune is a resource-efficient framework for directly optimizing $n:m$ semi-structured sparsity in LLMs. A lightweight hypernetwork, shared across layers and conditioned on learnable embeddings, generates structured masks one-shot and layer-wise. Continual pruning preserves cross-layer knowledge, and feature outlier regularization retains critical activations. Experiments on LLaMA-7B to 70B achieve state-of-the-art accuracy–sparsity trade-offs on a single A100 GPU, being more efficient, accurate, and scalable than prior methods.
OpenReviewOpenReview · September 19, 2025
0
3
LG-Bench: A Graph-Structured Evaluation Benchmark for Life Sciences
Lu SunXiangyi ZhangXiangyang ZhuZijian ChenQiang HuYuan TianGuangtao Zhai
LG-Bench is the first graph-structured evaluation benchmark for life sciences, with over 10,000 multiple-choice questions across medicine, biology, and chemistry. It builds a weighted evaluation graph via bidirectional matching and semantic similarity, where nodes are questions and edge weights capture semantic relationships. Two novel metrics leverage this topology: Global Coherence Score measures consistency within semantically related neighborhoods, and Knowledge Balance Score analyzes error distribution to reveal conceptual blind spots. This shifts evaluation from flat accuracy to structure-aware analysis, helping diagnose and improve LLM performance.
OpenReviewOpenReview · · September 1, 2025
1
Authors with the same name
Lu Sun · 21 papers
Lu Sun #0002 · 3 papers
Frequent collaborators
Xiangyang Zhu (9)
Zijian Chen (9)
Yuan Tian (9)
Guangtao Zhai (9)
Kaiyuan Ji (6)
Zicheng Zhang (6)
Xiang Li (5)
Jiayang Liu (5)
Rui Wen (5)
Yikai Su (5)
Yuqi Qiu (4)
Zuyao Xu (4)