MCP
MY

Meng Yan

33 papers in the library

Papers

30
CoEffi: Enhance Efficient Code Generation via Dynamic Collaborative Decoding
Jiahui LinJingrui ZhangZixuan ZhangMeilin LiMan FuSiyao YuWeifeng SunMeng Yan
CoEffi is an inference-side, training-free decoding intervention that improves the computational efficiency of generated code across model scales. It pairs a small efficiency-expert proposal model with the base model as evaluator, and uses a region-aware dynamic acceptance threshold—driven by a sliding window of historical acceptance rates—to decide acceptance. Evaluated on four code LLM families and three benchmarks, it raises average Beyond@1 by 9.12%–38.62% over vanilla instruction-tuned models, improves Pass@1 on Mercury and ENAMEL, and yields model-dependent correctness changes on EffiBench.
ACL AnthologyACL Anthology · October 2026
0
RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks
Jinjun HuangZhongzhen WenTongtong XuMeng YanXin XiaZhongxin Liu
RealisticTritonBench is a benchmark for Triton kernel generation that extracts tasks from real-world pull requests in popular AI frameworks, moving beyond PyTorch-to-Triton translation. Each task provides a natural language requirement and corresponding implementation, evaluated by integrating the generated kernel into its original framework and running end-to-end tests. Leading LLMs still struggle on these realistic tasks.
arXivarXiv · · August 12, 2026
0
2
How Reasoning Shapes Social Bias in LLM-Generated Code?
Weifeng SunJieke ShiZhou YangYuchen ChenHongyan LiMeng YanDavid Lo
This paper studies how reasoning shapes social bias in LLM-generated code. It evaluates nine models on bias-sensitive tasks and finds that reasoning reduces the average bias rate from 0.64 to 0.40, but with substantial variation across models and at the cost of code quality dropping from 0.72 to 0.59. The authors propose ProbeDebias, a framework that detects and rewrites biased reasoning traces before code generation, achieving 87.76% F1 for bias detection and reducing code bias by 83.73% while largely preserving quality.
arXivarXiv · · August 7, 2026
0
0
TopoGR: Revealing and Preserving Latent Structure of Semantic ID in Generative Recommendation
Ziyu ZhengZhengshun DuYaming YangBin TongGuan WangMeng YanZiyu GuanWei Zhao
TopoGR addresses a structural mismatch in semantic ID-based generative recommendation: tokenization produces a topological code space with semantic neighborhood relations, but generation treats semantic IDs as independent symbols. It proposes Binary SID, a bit-decomposable representation that can be converted to a standard integer while exposing an explicit Hamming geometry. TopoGR preserves this topology in generation by using Hamming-proximity-aware input features, soft targets, and reranking, enabling the model to capture item relatedness beyond exact semantic ID overlap. Experiments on four benchmarks show consistent improvement over existing methods.
arXivarXiv · · July 28, 2026
1
0
DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregation
Li HuangZhongxin LiuYifan WuTao YinDong liJichao BiNankun MuHongyu ZhangMeng Yan
DeepGuard is a code-generation security framework that addresses the final-layer bottleneck in LLMs. Linear probing reveals that vulnerability cues are strongest in intermediate-to-upper layers but weaken toward the final output. DeepGuard aggregates representations from multiple upper layers via an attention-based module, feeding the result into a security analyzer trained with a multi-objective that balances security and correctness. An inference-time steering strategy is also supported. Across five models, DeepGuard improves the secure-and-correct rate by 11.9% over baselines like SVEN, preserving correctness and generalizing to unseen vulnerability types.
ACL AnthologyACL Anthology · · July 2026
0
MultiCodeAttack: Iterative Jailbreak Attacking on LLMs with Multi-Code Prompt Injection
Weifeng SunMeng YanZhou YangYuchen ChenSong SunDavid Lo
MultiCodeAttack is a structured jailbreak framework that exploits code templates across multiple programming languages. It maintains a diverse template library, uses a multi-armed bandit to dynamically select languages with higher attack effectiveness, and evolves templates via response-aware semantic-preserving mutation. On 8 LLMs, it achieves 28.23%–832.59% higher harmful text generation, and on malicious code generation across 11 LLMs, it produces up to 136.22% more malicious outputs than baseline methods.
ACL AnthologyACL Anthology · July 2026
0
1
EviRank: Evidence-Based Confidence Estimation for LLM-Based Ranking
Meng YanCai XvXujing WangZiyu GuanWei Zhao
EviRank estimates per-position confidence for LLM-based ranking. It extracts three complementary pieces of evidence from a single forward pass and aggregates them via reliable opinion aggregation. A position-aware calibration then adjusts the confidence, which is used to guide ranking optimization. On three datasets, EviRank achieves state-of-the-art performance in both recommendation accuracy and uncertainty quantification.
arXivarXiv · · June 3, 2026
2
0
Efficient Retrosynthesis Prediction with Integral Flow Matching and Latent Inversion
Tao YinXiaohong ZhangYinjie ZhuJiacheng ZhangHaotian ZouLi HuangJiajun CaiZhibin ZhangMeng Yan
FlashRetro is an Integral Flow Matching framework with Latent Inversion for efficient retrosynthesis prediction. Instead of local instantaneous velocity, it learns finite-interval latent transport that directly matches the transport quantity needed for one-step latent inversion, so inference avoids test-time numerical integration: a single learned integral-transport update maps a noise latent, conditioned on the product latent, to the reactant latent (1-NFE). On USPTO-50K it achieves superior top@1 accuracy, beating prior discrete flow-matching methods by 13.5% and diffusion baselines by 14.2%, with average inference time of only 5.1 ms per reactant---38$\times$ faster than multi-step diffusion models and nearly 22$\times$ faster than recent discrete flow models.
OpenReviewOpenReview · May 4, 2026
0
DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregation
Li HuangZhongxin LiuYifan WuTao YinDong LiJichao BiNankun MuHongyu ZhangMeng Yan
DeepGuard addresses the final-layer bottleneck in code LLMs, where vulnerability-discriminative cues become less detectable near output representations. It aggregates representations from multiple upper layers via an attention-based module, powering a security analyzer within a multi-objective objective that balances security and correctness. A lightweight inference-time steering strategy is also supported. Across five code LLMs, DeepGuard improves the secure-and-correct generation rate by 11.9% on average over strong baselines, preserving functional correctness and generalizing to held-out vulnerability types.
arXivarXiv · · April 10, 2026
0
0
Intention Chain-of-Thought Prompting with Dynamic Routing for Code Generation
Shen LiLi HuangShaoxiong ZhanWeifeng SunTao YinZhongxin LiuMeng Yan
Most chain-of-thought prompting methods for code generation apply the same reasoning strategy to all tasks, causing overthinking on simple problems and missing high-level intention such as core algorithm and time complexity. RoutingGen addresses this by dynamically routing between few-shot prompting for simple tasks and a novel Intention Chain-of-Thought (ICoT) for complex ones, which explicitly models task intention. Evaluated on three models and six benchmarks, RoutingGen achieves state-of-the-art performance in most settings while reducing total token usage by 46.37% on average.
arXivarXiv · · December 16, 2025
0
3
MoRA: On-the-fly Molecule-aware Low-Rank Adaptation Framework for LLM-based Multi-Modal Molecular Assistant
Tao YinXiaohong ZhangJiacheng ZhangLi HuangZhibin ZhangYuansong ZengJin XieMeng Yan
MoRA (Molecule-aware Low-Rank Adaptation) enables an LLM to adapt to each molecular graph individually by generating unique low-rank adaptation weights on-the-fly, rather than using a static shared adapter. These weights are dynamically injected into a frozen LLM, preserving its general reasoning while capturing instance-specific molecular structure. Experiments show MoRA outperforms static baselines, including a 14.1% relative gain in reaction prediction exact match and 22% error reduction in quantum property prediction.
arXivarXiv · · October 14, 2025
0
2
ScatterAD: Temporal-Topological Scattering Mechanism for Time Series Anomaly Detection
Tao YinXiaohong ZhangShaochen FuZhibin ZhangLi HuangYiyuan YangKaixiang YangMeng Yan
ScatterAD introduces a temporal-topological scattering mechanism for multivariate time series anomaly detection. It empirically observes that anomalous samples are more dispersed in high-dimensional space than normal ones, formalizing this as scattering via mean pairwise distance. The method uses a topological encoder to capture graph-structured scattering and a temporal encoder to constrain it via MSE minimization across time steps. A contrastive fusion and conditional mutual information maximization ensure complementary, discriminative representations. Experiments show state-of-the-art performance on public benchmarks.
arXivarXiv · · September 29, 2025
0
3
Conformalized Survival Counterfactuals Prediction for General Right-Censored Data
Sijie RenMeng YanZhen ZhangXu YinghuiXinwei Sun
The paper develops a lower prediction bound (LPB) for survival time across treatments under general right-censoring. Unlike prior conformal methods that give only PAC-type miscoverage guarantees, the authors propose a calibration procedure under the potential outcome framework. With the strong ignorability assumption, a reweighting scheme turns the problem into weighted conformal inference, yielding an LPB via quantile regression with an exact miscoverage guarantee and double robustness to model misspecification. Experiments on synthetic and real clinical data show the LPBs are valid and informative for personalized treatment comparison and selection.
OpenReviewOpenReview · September 18, 2025
0
1
Conf-GNNRec: Quantifying and Calibrating the Prediction Confidence for GNN-based Recommendation Methods
Meng YanCai XuXujing WangZiyu GuanWei ZhaoYuhang Zhou
Conf-GNNRec quantifies and calibrates overconfident predictions in GNN-based recommender systems. It proposes a rating calibration method that dynamically adjusts excessive ratings based on user personalization, and a confidence loss function to reduce overconfidence on negative samples. Experiments on public datasets validate the approach's effectiveness.
arXivarXiv · · May 22, 2025
3
5
QoSBERT: An Uncertainty-Aware Approach based on Pre-trained Language Models for Service Quality Prediction
Ziliang WangXiaohong ZhangZe Shi LiMeng Yan
QoSBERT reformulates Quality of Service (QoS) prediction as a semantic regression task by encoding user-service metadata into natural language descriptions and processing them with a pre-trained language model. It integrates Monte Carlo Dropout for uncertainty estimation, enabling confidence intervals alongside point predictions. Attentive pooling and a lightweight regressor are jointly fine-tuned. On standard benchmarks, QoSBERT reduces MAE by 11.7% and RMSE by 6.7% for response time prediction, and MAE by 6.9% for throughput, while providing well-calibrated uncertainty estimates.
arXivarXiv · · May 9, 2025
0
5
ScatterAD: Temporal-Topological Scattering Mechanism for Time Series Anomaly Detection
Tao YinShaochen FuZhibin ZhangLi HuangXiaohong ZhangYiyuan YangKaixiang YangMeng Yan
ScatterAD is proposed for multivariate time series anomaly detection in industrial IoT, addressing spatio-temporal couplings. Based on an empirical finding that both normal and anomalous samples scatter in high-dimensional space, with anomalies more dispersed, the method formalizes this as scattering—the mean pairwise distance among sample representations—and uses it as an inductive signal. It combines a topological encoder for graph-structured scattering and a temporal encoder with MSE constraints to limit over-scattering, enhanced by a contrastive fusion mechanism. Theoretical analysis shows maximizing conditional mutual information between the two views improves cross-view consistency and discriminative representations, achieving state-of-the-art results on public benchmarks.
OpenReviewOpenReview · · May 5, 2025
0
Issue Localization via LLM-Driven Iterative Code Graph Searching
Zhonghao JiangXiaoxue RenMeng YanWei JiangYong LiZhongxin Liu
CoSIL is a training-free, LLM-driven issue localization method that operates at the function level. It uses a two-phase code graph search: file-level exploration via a module call graph, followed by function-level analysis via an expanded function call graph with iterative searches. A pruner filters irrelevant directions, and a reflection mechanism improves formatting accuracy in long contexts. On SWE-bench Lite and Verified, CoSIL achieves 43.3% and 44.6% Top-1 accuracy with Qwen2.5-Coder-32B, outperforming state-of-the-art methods by 96.04% on average.
arXivarXiv · · March 28, 2025
0
31
DFEPT: Data Flow Embedding for Enhancing Pre-Trained Model Based Vulnerability Detection
Zhonghao JiangWeifeng SunXiaoyan GuJiaxin WuTao WenHaibo HuMeng Yan
DFEPT enhances pre-trained code models for vulnerability detection by injecting data-flow information. It parses a data flow graph (DFG) from function-level source code, uses variable data types as node features, applies graph learning to embed the DFG, and adds sine positional encoding to preserve relative positions. This supplies structural dependency cues that token-level pre-training misses. Evaluated on two benchmarks, DFEPT achieves 64.97% accuracy on Devign and a 47.9% F1-score on Reveal.
arXivarXiv · · October 24, 2024
0
18
Fixing Function-Level Code Generation Errors for Foundation Large Language Models
Hao WenYueheng ZhuChao LiuXiaoxue RenWeiwei DuMeng Yan
This paper investigates function-level code generation errors in foundation large language models by empirically analyzing 12,837 errors from 14 LLMs on the HumanEval dataset, identifying 19 error cause categories. Three causes—indentation errors, redundant code, and missing imports—are directly fixable. The authors propose LlmFix, a three-step method filtering code for indentation correction, truncating redundant code, and importing missing modules. On an error-fixing dataset, LlmFix achieves a 17.1% fix rate, outperforming the best baseline LDB by 8.9%. It also improves code generation accuracy by 7.5% on average across 14 LLMs on HumanEval and MBPP.
arXivarXiv · · September 1, 2024
0
8
M2CVD: Enhancing Vulnerability Semantic through Multi-Model Collaboration for Code Vulnerability Detection
Ziliang WangGe LiJia LiYingfei XiongMeng YanZhi Jin
M2CVD is a multi-model collaborative framework for code vulnerability detection that combines the strength of LLMs in vulnerability semantic analysis with the ease of fine-tuning of code models like CodeBERT. It first uses a code model's understanding of project code to refine the vulnerability semantic description produced by an LLM, then employs this improved description to boost the code model's detection accuracy. Experiments on two real-world datasets show M2CVD significantly outperforms baselines, and the approach generalizes to other LLM and code model pairs.
arXivarXiv · · June 10, 2024
0
7
TruthSR: Trustworthy Sequential Recommender Systems via User-generated Multimodal Content
Meng YanHaibin HuangYing LiuJuan ZhaoXiyue GaoCai XuZiyu GuanWei Zhao
TruthSR is a sequential recommender that handles noisy user-generated multimodal content (reviews, images) by explicitly capturing cross-modal consistency and complementarity. It models sequential user preferences over multimodal data and introduces a trustworthy decision mechanism that dynamically evaluates prediction uncertainty from both subjective user and objective item perspectives. Experiments on four datasets show it outperforms state-of-the-art methods.
arXivarXiv · · April 26, 2024
1
20
Acoustic Three-dimensional Chern Insulators with Arbitrary Chern Vectors
Yang LinyunXi XiangMeng YanZhu ZhenxiaoWu YingChen JingmingCheng MinqiXiang KexinShum Perry PingYang YihaoChen HongshengLi Jian  +4
The authors extend three-dimensional (3D) Chern insulators to acoustic crystals and propose a method to realize an arbitrary Chern vector, a vectorial generalization of the Chern number. This enables the emergence of surface-state torus knots or links on the surface of a single crystal, rather than only along an internal domain wall between two crystals with perpendicular Chern vectors. The work provides a complete picture of bulk-boundary correspondence for Chern vectors in topological acoustics.
arXivarXiv · · January 13, 2024
0
1
Dual Latent State Learning: Exploiting Regional Network Similarities for QoS Prediction
Ziliang WangXiaohong ZhangKechi ZhangZe Shi LiMeng Yan
R2SL improves QoS prediction by explicitly modeling regional network similarities. It constructs two latent states—city-network and AS-network—from aggregated regional data rather than individual objects, then uses a multi-scale perception network on a fused feature map for prediction. An enhanced Huber loss further addresses label imbalance. Experiments on real-world datasets show R2SL outperforms state-of-the-art methods.
arXivarXiv · · October 7, 2023
0
0
Revisiting and Improving Retrieval-Augmented Deep Assertion Generation
Weifeng SunHongyan LiMeng YanYan LeiHongyu Zhang
This paper identifies three limitations of an existing retrieval-augmented deep learning method for assertion generation in unit tests: its overall performance derives mainly from retrieval success, it struggles with semantic differences between retrieved and input focal-tests, and it cannot handle token addition or deletion. To address these, the authors propose EditAS, a retrieve-and-edit approach that retrieves a similar focal-test, uses its assertion as a prototype, and automatically edits it. Experiments on two datasets show EditAS outperforms state-of-the-art methods, with average improvements of 10.00%-87.48% in accuracy and 3.30%-42.65% in BLEU score.
arXivarXiv · · September 19, 2023
0
25
Feature Noise Resilient for QoS Prediction with Probabilistic Deep Supervision
Ziliang WangXiaohong ZhangZe Shi LiSheng HuangMeng Yan
The paper addresses feature noise in QoS prediction, overlooked by prior work. It proposes the Probabilistic Deep Supervision Network (PDS-Net), which uses a dual-branch architecture: a main branch learns a Gaussian prior from features, and a second branch derives a posterior from true labels. A condition-based noise recognition loss identifies noisy features, then refines the prior toward the posterior before propagating to intermediate layers. Experiments on two real-world datasets show PDS-Net outperforms state-of-the-art, with MAE improvements of 8.91% and 8.32%.
arXivarXiv · · August 3, 2023
0
2
Improving ChatGPT Prompt for Code Generation
Chao LiuXuanlin BaoHongyu ZhangNeng ZhangHaibo HuXiaohong ZhangMeng Yan
This paper investigates how prompt design affects ChatGPT's code generation performance. Using the CodeXGlue dataset, the authors evaluate text-to-code and code-to-code generation. By applying a chain-of-thought strategy with multi-step optimizations, they show that carefully crafted prompts substantially improve generation quality. The study also analyzes factors influencing prompt design, offering insights for future research.
arXivarXiv · · May 15, 2023
0
143
Unified Abstract Syntax Tree Representation Learning for Cross-Language Program Classification
Kesu WangMeng YanHe ZhangHaibo Hu
This paper proposes a Unified Abstract Syntax Tree (UAST) neural network for cross-language program classification. UAST employs two unified mechanisms: it learns an AST representation by combining the traversal sequence and graph-like structure, and it uses a unified vocabulary to reduce the feature gap between different programming languages. Experiments on a collected 20,000-file dataset of five languages show that the approach outperforms state-of-the-art baselines in precision, recall, F1-score, and accuracy.
arXivarXiv · · May 1, 2022
0
49
Predicting Crash Fault Residence via Simplified Deep Forest Based on A Reduced Feature Set
Kunsong ZhaoJin LiuZhou XuLi LiMeng YanJiaojiao YuYuxuan Zhou
This paper presents ConDF, a crashing fault residence prediction framework that combines a consistency-based feature subset selection method with a simplified deep forest classification model. The feature selection reduces the crash data dimension by retaining representative features, and the simplified deep forest then predicts whether the fault resides in the stack trace. Experiments on seven open-source projects show ConDF significantly outperforms 17 baselines on three performance indicators.
arXivarXiv · · April 5, 2021
0
15
Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Network
Zeyu WangSheng HuangZhongxin LiuMeng YanXin XiaBei WangDan Yang
Plot2API recommends graphic APIs from plot images. The authors propose SPGNN, a multi-task network that jointly performs multi-label classification and semantic parsing. The semantic parsing module helps the backbone CNN (EfficientNet) exploit semantic-relevant visual features while suppressing appearance-relevant ones that vary with API parameters. Random erasing data augmentation addresses class imbalance. On three new datasets collected from Stack Overflow covering R and Python APIs, SPGNN outperforms recent deep learning baselines.
arXivarXiv · · April 2, 2021
0
9
A Probability Distribution and Location-aware ResNet Approach for QoS Prediction
Wenyan ZhangLing XuMeng YanZiliang WangChunlei Fu
The paper proposes PLRes, a QoS prediction method that combines probability distribution and location features of users and services. It introduces ResNet to reuse features, mitigating gradient disappearance and model degradation. On the WS-DREAM dataset, PLRes outperforms the state-of-the-art LDCF by 12.35%-15.37% in MAE under sparse data densities of 5%-30%.
arXivarXiv · · November 16, 2020
0
16
Authors with the same name
Meng Yan · 0 papers
Meng Yan #0001 · 16 papers
Meng Yan #0009 · 2 papers
Meng Yan #0013 · 4 papers
Frequent collaborators
Xiaohong Zhang (8)
Li Huang (7)
Tao Yin (7)
Weifeng Sun (6)
Zhongxin Liu (6)
Ziliang Wang (5)
Ziyu Guan (4)
Wei Zhao (4)
Hongyu Zhang (4)
Zhibin Zhang (4)
Ze Shi Li (3)
Haibo Hu (3)