MCP
YW

Yanjun Wu

73 papers in the library · Same-name authors told apart using DBLP

Papers

30
Diagnose Before You Tune: Agentic Bottleneck Diagnosis for Database Tuning
Xinyue YangChaozheng WangChen ZhengHeng ZhangYanjun Wu
The paper proposes DiagTune, an agentic database tuning framework built on a diagnose-before-you-tune principle that iteratively diagnoses and resolves resource bottlenecks rather than tuning over a predetermined knob subset. It combines a structured diagnosis mechanism coordinating specialized LLM agents across seven resource categories to distill runtime state into unified evidence documents, an adaptive bottleneck selection strategy balancing severity estimates, discounted historical reward, and exploration, and an LLM-based decision agent that derives targeted knob adjustments from the selected diagnostic evidence. Evaluations show DiagTune improves performance by 106.72% and converges 2.3x faster on average than the state-of-the-art baseline.
arXivarXiv · · December 1, 2026
0
SteadyThought: Mitigating LLM Under-Thinking via Thought-Level Preference Optimization
Zhenyue PengLin YangJie WangXiaoqi NiHanzhu ChenXize LiangYanjun WuRujing WangKaiwen ZhouJianye Hao
SteadyThought (ST) addresses "under-thinking" in large reasoning models, where models switch reasoning trajectories excessively yet abandon promising thoughts, by reframing it as a preference problem at switching points rather than simply suppressing switching, which may discard valuable trajectories. ST forces single-path continuations from identified switching points to produce high-quality reasoning, then applies thought-level preference optimization treating these new responses as preferred over the originals. Across multiple models and datasets, ST cuts token consumption by up to 63.8% while maintaining strong reasoning accuracy, and analysis suggests the resulting reduction of redundant switching generalizes across domains and languages.
arXivarXiv · · October 18, 2026
0
0
RVANNS: Mixed-Precision Indexing and Locality-Aware Graph Traversal on RISC-V
Chengying HuanYudong LiuJianguo WangLizheng ChenRenling YinWeijia ChenJi QiJiageng YuJunjie XuJie ZhangChen TianYanjun Wu
RVANNS is a RISC-V Vector Extension (RVV) engine for approximate nearest neighbor search (ANNS). It introduces a Mixed-Precision Multi-Layer Index (MPMI) that stores vectors as 8-bit affine bases with sparse FP16/FP32 residuals, fusing reconstruction with distance computation to match LMUL register groups. Its ROrder scheme remaps graph nodes and adjacency lists so that traversal generates denser, forward-moving memory accesses. Integrated into Milvus, RVANNS achieves 3.39x and 4.94x speedups over scalar execution on 128-bit and 256-bit RVV processors, and outperforms AVX-512 and SVE baselines by 1.18--1.59x.
arXivarXiv · · August 10, 2026
1
0
EasyBalance: Cross-Layer Load Balancing in Distributed MoE Inference
Yize WuKe GaoLing LiYanjun Wu
EasyBalance is a cross-layer load-balancing strategy for expert-parallel Mixture-of-Experts (MoE) inference. Instead of replicating or migrating experts within a layer, it treats experts from other layers as naturally redundant and jointly executes cross-layer workloads to mitigate individual imbalance. A greedy scheduling algorithm selects a subset of cross-layer workloads at each MoE step, deferring remaining work for future balancing. Experiments show that EasyBalance reduces GPU idling by over 40% across models and tasks.
arXivarXiv · · August 8, 2026
0
AgenticDB: Self-Evolving Reconfiguration Framework for Database Workloads
Xinyue YangChaozheng WangChen ZhengHeng ZhangYanjun Wu
AgenticDB is a self-evolving framework that reconfigures database and OS parameters to improve workload performance. Its LLM-based DBA Planner performs context-grounded bottleneck diagnosis using workload, configuration, and runtime data to recommend targeted actions, and then updates its diagnosis through closed-loop context evolution based on observed performance changes, terminating when performance plateaus. It consolidates reconfiguration experience for reuse on similar workloads and validates configurations before applying them, with automatic failure recovery. On MySQL and PostgreSQL, AgenticDB outperforms the best baseline by 118.1% on average and reduces total time-to-best by 22.6%.
arXivarXiv · · June 18, 2026
0
Speculative Rollback Correction for Quality-Diverse Web Agent Imitation
Longkun HaoHongyu LinHao LiZhuowen LiuZhichao YangHaojie HaoDongshuo HuangHaitao YangHongyu GeMing jie XieYanjun WuZi Hao Yin  +2
Imitation learning for web agents suffers from delayed expert intervention (accumulating errors) or premature intervention (overfitting to a single trajectory). Speculative Rollback Correction (SRC) remedies this with a branch-level framework: student executes a fixed-horizon segment, teacher reviews only when local progress stalls, rolls back to the first harmful deviation, and preserves useful prefixes. Successful rollouts are filtered by a hard verifier and stored in a quality-diversity archive. On WebArena-Infinity, SRC collected 977 verifier-passing trajectories and 9,183 next-action examples, improving the recovery-versus-query tradeoff over step-level review.
arXivarXiv · · June 10, 2026
0
Toward Compiler World Models: Learning Latent Dynamics for Efficient Tensor Program Search
Haolin PanLianghong HuangXvlin ZhouMingjie XingYanjun Wu
This paper introduces a world-model-inspired evaluator for tensor program search that models schedule evaluation as action-conditioned latent dynamics. Instead of treating each candidate as a static snapshot, it rolls out scheduling actions in a continuous latent space using a lightweight transition model, avoiding expensive AST mutation. The final dynamic representation, combined with action and hardware features, ranks candidates. Implemented in TVM AutoScheduler, the method improves latency over Ansor by 1.37× on GPU and 1.54× on CPU under 64 trials, and matches Ansor-10K within 2.2% using 10× fewer measurements.
arXivarXiv · · June 8, 2026
0
0
A Case for Agentic Tuning: From Documentation to Action in PostgreSQL
Hongyu LinMingyu LiWeichen ZhangYihang LouMingjie XingYanjun WuHaibo Chen
PerfEvolve shifts PostgreSQL tuning from static documentation to dynamic agentic action. It encodes expert tuning methodologies as executable skills, enabling LLM-based agents to perform version-consistency checks, workload-specific profiling, and multi-parameter joint optimization. On TPC-C and TPC-H benchmarks, PerfEvolve outperforms documentation-driven baselines by up to 35.2%, addressing the deficiencies of stale, workload-agnostic, and parameter-isolating guides.
arXivarXiv · · May 19, 2026
0
0
SteadyThought: Mitigating LLM Under-Thinking via Thought-Level Preference Optimization
Zhenyue PengLin YangXiaoqi NiHanzhu ChenXize LiangYanjun WuRujingWangKaiwen ZhouJianye HAOJie Wang
Large reasoning models can switch between reasoning trajectories to improve their reasoning, but they often switch excessively without sustaining promising thoughts, a phenomenon called "under-thinking". Rather than suppressing switching, which may discard valuable trajectories, Steady Thought (ST) formalizes under-thinking as a preference problem at switching points, forcing single-path continuations from identified points to yield high-quality reasoning. ST then performs thought-level preference optimization, treating the newly generated response as preferred and the original as dispreferred. Across multiple models and datasets, ST reduces token consumption by up to 63.8% while maintaining strong reasoning accuracy, and analysis suggests it fosters a generalizable ability to reduce redundant switching across domains and languages.
OpenReviewOpenReview · · May 5, 2026
0
Stable-LoRA: Stabilizing Feature Learning of Low-Rank Adaptation
Yize WuKe GaoLing LiYanjun Wu
Stable-LoRA improves Low-Rank Adaptation (LoRA) by stabilizing feature learning. LoRA updates weights as $W=W_0+sBA$; it can theoretically be self-stabilizing under proper initialization, but the necessary non-zero start of $A$ compromises stability. Stable-LoRA dynamically shrinks $A$ during early training, eliminating instability while retaining the benefits of non-zero initialization. Experiments show consistent gains over baselines with negligible overhead.
arXivarXiv · · March 5, 2026
0
0
EasyBalance: Cross-Layer Load Balancing in Distributed MoE Inference
Yize WuKE GAOLing LiYanjun Wu
EasyBalance is a cross-layer load-balancing strategy for expert-parallel inference of Mixture-of-Experts models. It requires no changes to the expert-device mapping, enabling instant adaptation with essentially no overhead. The method exploits two insights—experts of other layers act as natural redundancies, and cross-layer workloads can be jointly executed to offset individual imbalances. By greedily scheduling a subset of cross-layer workloads each MoE step and deferring the rest, EasyBalance reduces GPU idling by mostly over 40% across models, tasks, and configurations.
OpenReviewOpenReview · · January 24, 2026
0
ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization
Haolin PanLianghong HuangJinyuan DongMingjie XingYanjun Wu
ECCO is a compiler optimization framework that replaces black-box search and LLM pattern matching with interpretable causal reasoning. It builds a Chain-of-Thought dataset by reverse-engineering static code features into verifiable performance evidence, so the model learns causal logic rather than sequence imitation. The LLM then acts as a strategist, defining optimization intents that dynamically guide a genetic algorithm’s mutations. On seven datasets, ECCO reduces execution cycles by 24.44% on average over LLVM -O3.
arXivarXiv · · January 23, 2026
0
3
ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization
Haolin PanLianghong HuangDong JinyuanMingjie XingYanjun Wu
ECCO bridges interpretable reasoning with combinatorial search for compiler auto-tuning. It builds a Chain-of-Thought dataset by reverse engineering, mapping static code features to verifiable performance evidence so the model learns causal logic rather than imitating sequences. Using this prior, a collaborative inference mechanism lets the LLM act as a strategist, defining optimization intents that guide a genetic algorithm's mutations. On seven datasets, ECCO beats LLVM opt -O3, averaging a 24.44% cycle reduction.
OpenReviewOpenReview · · January 12, 2026
0
A Large Scale Empirical Analysis on the Adherence Gap between Standards and Tools in SBOM
Chengjie WangJingzheng WuHao LyuXiang LingTianyue LuoYanjun WuChen Zhao
This paper presents the first large-scale empirical analysis of the adherence gap between SBOM standards and tools using an automated framework called SAP. Analyzing 55,444 SBOMs from six tools across 3,287 real-world repositories through a baseline and one-year longitudinal study, the authors reveal persistent fundamental limitations: inadequate compliance with policy requirements, poor inter-tool consistency (package detection rates as low as 7.84%–12.77% across languages), and mediocre to poor accuracy for detailed software information (e.g., package license accuracy below 20%). Root causes and practical solutions are provided.
arXivarXiv · · January 9, 2026
0
12
Feature Slice Matching for Precise Bug Detection
Ke MaJianjun HuangWei YouBin LiangJingzheng WuYanjun WuYuanjun Gong
MATUS is a bug detection method that measures similarity between code slices. It extracts a feature slice from the buggy query and guides the slicing of candidate targets using the query's prior knowledge, thereby suppressing noise from bug-unrelated statements. Feature slices are embedded and compared via vector similarity. Applied to the Linux kernel, MATUS found 31 confirmed unknown bugs, 11 of which have been assigned CVEs.
arXivarXiv · · December 31, 2025
0
0
QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generation
Xinguo ZhuShaohui PengJiaming GuoYunji ChenQi GuoYuanbo WenHang QinRuizhi ChenQirui ZhouKe GaoYanjun WuChen Zhao  +1
The paper presents Macro Thinking Micro Coding (MTMC), a hierarchical framework that decouples GPU kernel optimization strategy from implementation details. Macro Thinking uses reinforcement learning to explore high-level optimization policies, while Micro Coding employs general-purpose LLMs to incrementally implement those proposals. On KernelBench, MTMC achieves near 100% accuracy at Levels 1-2, over 50% higher than state-of-the-art LLMs, and up to 7.3x speedup over LLMs and 2.2x over expert-optimized PyTorch Eager kernels.
arXivarXiv · · November 25, 2025
0
27
VecIntrinBench: Benchmarking Cross-Architecture Intrinsic Code Migration for RISC-V Vector
Liutong HanChu KangMingjie XingYanjun Wu
VecIntrinBench is the first benchmark designed to evaluate cross-architecture migration of intrinsic functions to the RISC-V Vector (RVV) extension. It contains 50 function-level tasks from open-source repositories, each implemented as scalar, RVV, Arm Neon, and x86 intrinsics, with functional and performance tests. The authors evaluate rule-based and LLM-based migration approaches, finding that advanced LLMs match rule-based methods in correctness and achieve superior performance, while also identifying directions for LLM improvement in code migration.
arXivarXiv · · November 24, 2025
0
2
Exploring the Feasibility of End-to-End Large Language Model as a Compiler
Hongbin ZhangShihao GaoYang LiuMingjie XingYanjun WuChen Zhao
This paper explores the feasibility of using an LLM as an end-to-end compiler (LaaC). The authors introduce the CompilerEval dataset and framework to test LLMs on source-code comprehension and assembly generation. Results show that LLMs have basic compiler capabilities but low compilation success rates. Optimizing prompts, scaling models, and adding reasoning methods significantly improve assembly quality. The authors propose practical architectures and future directions, suggesting that targeted training and specialized infrastructure could make LaaC a viable paradigm shift.
arXivarXiv · · November 6, 2025
0
1
L2T-Tune:LLM-Guided Hybrid Database Tuning with LHS and TD3
Xinyue YangChen ZhengYaoyang HouRenhao ZhangYinyan ZhangYanjun WuHeng Zhang
L2T-Tune is a hybrid database tuning framework that uses a large language model to guide configuration optimization. It first performs a warm start by uniformly sampling the knob space into a shared pool. The LLM then mines tuning hints from manuals and community documents for rapid convergence. Finally, Twin Delayed Deep Deterministic Policy Gradient (TD3) is applied on the reduced knob space from the warm-start samples. Experiments show a 37.1% average performance improvement over the best alternative across workloads, up to 73% on TPC-C, and convergence within 30 online steps.
arXivarXiv · · November 3, 2025
0
A Hybrid, Knowledge-Guided Evolutionary Framework for Personalized Compiler Auto-Tuning
Haolin PanHongbin ZhangMingjie XingYanjun Wu
This paper introduces a hybrid knowledge-guided evolutionary framework for compiler auto-tuning that personalizes optimization sequences per program. An offline stage builds a compilation knowledge base comprising pass behavioral vectors, pass groups, a synergy pass graph, and prototype pass sequences. A bespoke genetic algorithm online uses this knowledge via semantically-aware recombination and targeted mutations. On seven public datasets, the framework achieves an average 11.0% additional LLVM IR instruction reduction over the opt -Oz baseline, demonstrating state-of-the-art personalized optimization.
arXivarXiv · · October 16, 2025
0
1
Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction
Haolin PanJinyuan DongHongbin ZhangHongyu LinMingjie XingYanjun Wu
This paper introduces a quasi-dynamic framework for program embedding that models a program's optimization sensitivity rather than relying on static source code or expensive runtime profiling. The approach generates a Program Behavior Spectrum by probing the program's IR with diverse optimization sequences and quantifying changes in static features. Product Quantization discretizes the continuous reaction vectors into compositional sub-words, and a multi-task Transformer, PQ-BERT, learns the contextual grammar of these behavioral codes. Experiments on Best Pass Prediction and -Oz Benefit Prediction show that the method outperforms state-of-the-art static baselines.
arXivarXiv · · October 15, 2025
1
0
GRACE: Cluster-Specific Sequence Reuse for Compiler Auto-Tuning
Haolin PanChao ZhaJinyuan DongMingjie XingYanjun Wu
GRACE is a compiler auto-tuning framework that uses cluster-specific sequence reuse to balance optimization quality and cost. It constructs a small reusable sequence coreset for each group of similar programs, combining global pass synergy analysis, optimization-response-guided program organization, and cluster-specific evolutionary search. At deployment, it evaluates the coreset on the target program with optional minimal refinement, yielding bounded overhead. On LLVM 10.0.0 and 18.1.6, GRACE reduces LLVM IR instruction count by 9.92% and 10.30% on average relative to `opt -Oz` for code-size optimization, with less than 1 second tuning time per program.
arXivarXiv · · October 15, 2025
0
4
Synergy-Guided Compiler Auto-Tuning of Nested LLVM Pass Pipelines
Haolin PanJinyuan DongMingjie XingYanjun Wu
Existing compiler auto-tuning assumes linear pass sequences, which is incompatible with the hierarchical LLVM New Pass Manager and cannot guarantee valid pipelines. This work introduces a framework designed for the New Pass Manager, defining a formal grammar for valid nested pipelines and a forest-based representation. A structure-aware genetic algorithm directly manipulates these forests, ensuring all candidates are syntactically valid. Synergistic pass relationships mined from the grammar guide the search. Evaluated with LLVM 18.1.6, the discovered pipelines achieved an average 13.62% additional instruction count reduction over the standard opt -Oz level.
arXivarXiv · · October 15, 2025
0
4
AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework
Hongyu LinHaolin PanHaoran LuoYuchen LiKaichun YaoLibo ZhangMingjie XingYanjun Wu
AwareCompiler, an agentic agentic framework for compiler optimization, integrates structured knowledge and data-driven training to address three challenges: semantic misalignment between program representations and optimization passes, inefficient agent-compiler interaction, and sparse reward signals. It introduces knowledge integration and dataset construction, knowledge-driven adaptive pass generation, and a hybrid training pipeline. Evaluations on standard benchmarks show it significantly outperforms existing baselines in performance and efficiency.
arXivarXiv · · October 13, 2025
0
3
IntrinTrans: LLM-based Intrinsic Code Translator for RISC-V Vector
Liutong HanZhiyuan TanHongbin ZhangPengcheng WangChu KangMingjie XingYanjun Wu
IntrinTrans is an LLM-based agent that automatically translates existing SIMD intrinsic code (e.g., Arm Neon) to RISC-V Vector (RVV) intrinsics. It uses compile-and-test feedback to iteratively correct translations and applies liveness analysis to guide register usage optimization. Evaluated by translating an open-source benchmark from Neon to RVV, the method achieved a pass rate of 47%–100% depending on the base LLM, with performance ranging from 0.85x to 1.28x of the native RVV implementation.
arXivarXiv · · October 11, 2025
0
1
SteadyThought: Mitigating LLM Under-Thinking via Thought-Level Preference Optimization
Zhenyue PengLin YangJie WangXiaoqi NiHanzhu ChenXize LiangYanjun WuRujingWangKaiwen ZhouJianye HAO
Because large reasoning models often switch reasoning trajectories excessively without sustaining promising thoughts (
OpenReviewOpenReview · · September 20, 2025
0
Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction
Haolin PanDong JinyuanHongbin ZhangHongyu LinMingjie XingYanjun Wu
This paper introduces a quasi-dynamic framework for program embeddings that captures optimization sensitivity. The authors generate a Program Behavior Spectrum by probing intermediate representation with diverse optimization sequences and quantifying static feature changes. They then use product quantization to discretize reaction vectors into compositional sub-words and pre-train a multi-task Transformer (PQ-BERT) to learn their grammar. Experiments on best pass prediction and -Oz benefit prediction show improvements over static baselines, with code publicly available.
OpenReviewOpenReview · · September 20, 2025
0
HLD: Approximate Hierarchical Linguistic Distribution Modeling for LLM-Generated Text Detection
Rui GuoWeibin ZengFuzhang WuYan Kongsicheng shenYanjun WuWeiming Dong
The paper proposes HLD-Detector, a zero-shot framework for detecting LLM-generated text. Instead of relying on proxy models at a single token level, it approximates hierarchical linguistic distributions using n-grams at word, syntactic, and semantic levels, comparing human-written versus machine-generated distributions under Bayesian theory. This progressive modeling mitigates limitations of single-level detectors, improving robustness and performance. It requires only a small offline corpus for estimation, lowering computational overhead, and achieves state-of-the-art results in multi-LLM and multi-domain detection tasks.
OpenReviewOpenReview · September 19, 2025
0
2
Stable-LoRA: Stabilizing Feature Learning of Low-Rank Adaptation
Yize WuKE GAOLing LiYanjun Wu
This paper studies whether Low-Rank Adaptation (LoRA), which updates weights as $W=W_0+sBA$, can maintain stable feature learning. The authors show LoRA can be self-stabilized under suitable hyper-parameters and initializations, but the required non-zero initialization of $A$ compromises this stability and hurts performance. They propose Stable-LoRA, a weight-shrinkage strategy that progressively shrinks $A$ during early training, restoring stability while keeping the non-zero start's benefits. Experiments confirm it outperforms baselines across models and tasks with negligible overhead.
OpenReviewOpenReview · · September 19, 2025
0
KnowOS: Knowledge-driven Large Language Models for Operating System Kernel Tuning
Hongyu LinYuchen LiHaoran LuoKaichun YaoLibo ZhangMingjie XingYanjun Wu
KnowOS is a knowledge-driven framework that automates operating system kernel tuning with large language models. It addresses the semantic gap between tuning objectives and config options, LLM hallucinations from limited environment interaction, and rapid kernel version evolution through three innovations: structured knowledge construction and mapping, knowledge-driven configuration generation, and continuous knowledge maintenance. Experiments show performance improvements of 7.1% to 155.4% over default configurations across standard benchmarks and real-world applications, demonstrating the value of structured knowledge over pure LLM approaches.
OpenReviewOpenReview · September 18, 2025
0
0
Frequent collaborators
Libo Zhang (23)
Mingjie Xing (21)
Chen Zhao (13)
Ling Li (12)
Hongyu Lin (12)
Haolin Pan (12)
Kaichun Yao (9)
Tiejian Luo (9)
Dawei Du (9)
Ke Gao (8)
Yunji Chen (8)
Ruizhi Chen (8)