MCP
WL

Weihao Li

72 papers in the library

Papers

30
Reframing Spatial Uncertainty Visualisation with a Layered Grammar of Graphics
Maggie Xueqi MaWeihao LiQuan VuFrancis HuiEmi Tanaka
The authors reframe spatial uncertainty visualisation as an extension of the layered grammar of graphics, rather than as dedicated map types. By integrating uncertainty-specific representations into the composable layered architecture of ggplot2, they show that techniques such as bivariate choropleth, pixel, and glyph maps can be expressed, customised, and extended alongside other graphical components. This perspective also motivates new approaches, such as the dual map for selective attention between estimated values and uncertainty. The framework is implemented in the R package ggincerta and demonstrated through three case studies.
arXivarXiv · · October 29, 2026
0
0
RIPPLE: Recovery Internalization through Process-Level Policy Learning and Effect-Aware Credit for Long-Horizon Agentic Coding
Jingxuan XuZihang XuYuechen LuoZiqi MiaoWenqiang ZhuWeihao LiJunhao FanXinshun FengZhiyi LaiYanan WuHaoyang HuangKen Deng
RIPPLE targets the Critique-to-Action Handoff Gap, in which long-horizon coding agents diagnose a failure but keep following the same incorrect trajectory. Its framework internalizes process-level guidance into a single self-recovering policy: a prefix-only teacher, seeing neither future actions nor terminal outcomes, supplies evidence-grounded recovery supervision; after light distillation, reinforcement learning assigns stage-specific credit to reflection triggering, diagnosis, and corrective action, while local validity signals gate trajectory advantages so intermediate decisions do not inherit terminal outcomes indiscriminately. Across four repository-level benchmarks it raises the base policy by an arithmetic mean of 4.8 score points with no auxiliary critic at deployment, with gains concentrated where diagnostic evidence suffices and the repository remains reversible within budget.
arXivarXiv · · October 22, 2026
0
0
OPRD: On-Policy Reminder Distillation for Long-Horizon Coding Agents
Yuechen LuoZhiyi LaiMiao ZiqiZihang XuJingxuan XuSongwei YuWenqiang ZhuWeihao LiJunhao FanHaoyang HuangYanan WuKen Deng
Long-horizon coding agents often ignore relevant in-context reminders, while sparse Pass/Fail outcomes offer weak supervision. We introduce On-Policy Reminder Distillation (OPRD), combining Multi-Scope Reminder supervision with outcome-based routing: successful rollouts provide self-imitation targets, while failed ones receive reverse-KL supervision from a teacher conditioned on Reminders over the same student prefixes. A Global Reminder guides trajectories, and Turn-local Reminders affect the next decision. At inference, no Reminders are used. OPRD raises the average task resolution by 11.3 points over Qwen3.5-4B across three SWE-bench benchmarks and cuts error events by 50.2%.
arXivarXiv · · October 15, 2026
1
1
WEAVE: Weaving Real-World Code Evolution into Dependency-Structured Tasks for Benchmarking and Training Code Agents
Weihao LiZihang XuZhongqiu WangSongwei YuWenqiang ZhuYuechen LuoJingxuan XuYanan WuHaoyang HuangKen Deng
WEAVE transforms verified pull-request histories into executable, dependency-structured coding tasks. It clusters related PRs into bounded DAGs using repository-calibrated typed change loci, yielding coherent tasks where features or migrations span multiple changes. For evaluation and training, Graph Credit provides a deterministic, test-grounded metric that measures dependency-consistent partial progress and supplies dense, verifiable rewards for reinforcement learning. Experiments confirm WEAVE produces coherent tasks, enables more faithful progress measurement than flat scoring, and offers effective supervision for code-agent training.
arXivarXiv · · October 15, 2026
0
1
XferAgent: Cross-Agent Experience Transfer for Self-Improving LLM Agents
Weihao LiJun BaiShijie ChenQincheng LuXinyu WangZiyang Song
XferAgent is a framework for cross-agent experience transfer that organizes reusable experience into local and shared experience graphs. It reconciles compatible contributions from heterogeneous agents while avoiding unreliable merges. For each new task, it selects shared experiences and integrates them with the target agent's local experience to support task execution. Experiments show improvements over representative memory-based methods and effective transfer between heterogeneous agent frameworks, with cumulative task success increasing over successive task passes.
arXivarXiv · · October 14, 2026
0
0
SWE-Nexus: Automated Composition of Software Engineering Tasks from Test Execution
Songwei YuZiqi MiaoJingxuan XuJunhao FanHaoyang HuangYuan XiongZihang XuWeihao LiWenqiang ZhuYuechen LuoXinshun FengYanan Wu  +1
SWE-Nexus is a fully automated pipeline that constructs repository-level software engineering implementation tasks from test execution, extending task construction beyond single historical changes. Four agents select tests, adapt tracing/evaluation protocols, and generate behavioral specifications. For each selected test file, tracing records exercised production function bodies; a scope is kept only if all scoring points pass originally and masking those bodies causes at least one failure. Compatible scopes compose deterministically, with shared functions counted once and each constituent file revalidated. The benchmark has 600 tasks from 105 repositories across six languages; the top configuration resolves 37.8% in one attempt, with scope-weighted scoring measuring partial recovery.
arXivarXiv · · October 14, 2026
0
0
SMI: Ontology-Grounded Semantic IDs for Hierarchy-Aware Medical Concept Representation
Ziyang SongLia ShenYixuan LiQincheng LuWeihao LiHaoran XuHe ZhuXinyu WangYue Li
Biomedical language models often miss the hierarchical structure among medical concepts, especially for rare, fine-grained codes. The authors introduce Semantic Medical Identifier (SMI), a training-free framework that assigns each concept a Semantic ID as its coarse-to-fine path through a medical ontology, then aggregates frozen biomedical LM embeddings across ontology levels to build hierarchy-aware representations. A level-weighted variant tunes global weights on validation data. Theoretically, SMI is more informative than hierarchy-agnostic embeddings, particularly for rare concepts; experiments show improved clinical relation prediction and patient-outcome tasks on MIMIC-IV and eICU.
arXivarXiv · · October 13, 2026
0
0
ANCHOR: Assessing Naturalistic Constraint Hierarchies and Ordering in Repository-Grounded Agentic Coding
Wenqiang ZhuXinping LeiZhiyi LaiZhengshuo GongTianzhuang HeSongwei YuWeihao LiJingxuan XuZihang XuZiqi MiaoGang WuZhongqiu Wang  +9
ANCHOR is a benchmark for "engineering constraint following" in repository-grounded coding agents: whether a patch respects how a task must be done—modification scope, workflow order, validation, tool use, reporting—not just whether it is functionally correct. Built from naturalistic multilingual tasks across eight language groups, it pairs a 78-leaf constraint taxonomy distilled from developer interactions with an automated pipeline that composes atomic constraints into AND/THEN/PRIORITY relations and a trajectory-grounded evaluator checking both diffs and execution traces. Across 19 agent configurations on 358 tasks, the best system reaches 70.1% atomic and 63.7% relation compliance, and only 19.0% of tasks pass every scored item, showing that functional success and constraint compliance diverge.
arXivarXiv · · October 12, 2026
0
Can Post-Training Turn LLMs into Good Medical Coders? An Empirical Study of Generative ICD Coding
Ziqing WangWeihao LiShijie ChenYuan LuoKaize Ding
Automated International Classification of Diseases (ICD) coding is a core medical-coding task for billing, epidemiology, and clinical decision support. Generative large language models (LLMs) are often reported as weak medical coders, but this finding mainly comes from inference-time settings such as prompting, retrieval, reranking, or tool use; the role of task-specific post-training has received limited systematic study. We present a controlled empirical study of post-training for generative ICD coding, comparing discriminative baselines with LLM coders across prompting, supervised fine-tuning (SFT), and reinforcement learning (RL) under a common protocol and metric set. To our knowledge, this is the first comprehensive controlled study of post-training for generative ICD prediction. We further introduce Progressive Hint Injection (PHI), a diagnostic missed-code curriculum within Group Relative Policy Optimization (GRPO) training. Our results show that prompting-only evaluation substantially underestimates the potential of LLMs for ICD coding. SFT provides the main capability jump, GRPO further improves code-set prediction beyond SFT, and PHI provides targeted gains on macro-level performance. These findings suggest that the main bottleneck is not the generative formulation alone, but how the model is adapted and optimized for full-taxonomy recall. We release our code, data splits, and checkpoints at https://anonymous.4open.science/r/LLM4ICD.
ACL AnthologyACL Anthology · October 2026
0
HCOE: Hyperbolic Clinical Ontology Embeddings from Biomedical Language Models
Yixuan LiWeihao LiZiyang Song
HCOE learns hierarchy-aware clinical concept embeddings by mapping frozen BioBERT embeddings into a Poincaré ball. It combines parent-side and child-side contrastive learning guided by ICD and ATC hierarchies, plus coarse-to-fine ontology-path aggregation. Evaluated on MIMIC-IV, HCOE achieves the best results in clinical relation prediction, hierarchy transfer, mortality and readmission prediction, medication recommendation, and rare drug prediction.
arXivarXiv · · September 25, 2026
0
FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Model
Jingxuan XuGang WuYanan WuYutao MouSongwei YuTianzhuang HeZhengshuo GongZhao LiuZihang XuWenqiang ZhuXinping LeiWeihao Li  +5
FLARE (Full-Lifecycle Alignment and Reward Engine) is a dense supervision paradigm for long-horizon coding agents built on a lightweight Generative Reward Model (GRM), which is distilled offline by RADAR, a causal-aware diagnostic framework that extracts hindsight-free supervision via causal-chain backtracking to give real-time, step-level risk feedback. FLARE then applies this GRM across inference, where it acts as an Active Scaffold that intercepts high-risk generation steps for localized breakpoint re-execution, and post-training, where its structured signals provide process-supervised reranking scores for SFT and step-level dense rewards for RL. Evaluations report a new Pareto frontier: FLARE (N=1) outperforms Global Rollout (N=5) at 5x lower token cost, with relative gains of 19.13% in SFT and 9.19% in RL.
arXivarXiv · · September 20, 2026
2
Socialized UAV Cross-Task Learning: Towards Cross-Granularity Collaboration through Hierarchical Interaction
Xinjie YaoRuipu ZhaoYunqi ZhuZhihe FanZhoupeng GuoWeihao LiZhen WangQilong WangPengfei Zhu
Cross-granularity learning, as in joint detection and segmentation for UAV perception, is treated as hierarchical interaction regulation rather than simple task coupling. The authors introduce CGSC, a framework that progressively activates cross-task interactions and adaptively adjusts their strength based on task contribution, using the new CrossUAV benchmark. Experiments show consistent improvements on both object detection and instance segmentation, confirming that hierarchical dynamic interaction effectively enables cross-granularity collaboration.
arXivarXiv · · September 17, 2026
0
0
AI Control Scientist: LLM-driven Agentic System for Automated Control Design
Haiteng WangWeihao LiJing ZhangLei Ren
AI Control Scientist (AICS) is the first LLM-driven agent that automatically generates optimized controllers from language requirements. It uses three agents: a Task Modeling Agent converts requirements into engineering constraints, a Controller Design Agent produces candidate structures and code, and a Parameter Tuning Agent refines parameters under closed-loop criteria. Experiments show AICS outperforms automated baselines in design success rate and optimization efficiency, marking a shift from human-driven to agent-driven control design.
arXivarXiv · · August 27, 2026
1
Socialized Detector Learning: Trajectory-Guided and Reciprocal Distillation for Heterogeneous Object Detectors
Weihao LiYunqi ZhuZhihe FanRuipu ZhaoBoan TaoXinjie YaoYan FanPengfei Zhu
Socialized Detector Learning (SDL) formulates a society of heterogeneous, category-specialized object detectors. Its core method, Trajectory-Guided and Reciprocal Distillation (TGRD), estimates directed Inter-Detector Transfer Difficulty (IDTD) from feature-alignment residuals, precomputes a fixed score table, and greedily constructs a carrier trajectory. Along this trajectory, knowledge is progressively consolidated into a union-category carrier and then returned to experts via reciprocal transfer. A conditional analysis shows the progressive certificate is no larger than an aggregated-target counterpart. On MS COCO with four experts and two initializations, final carriers outperform epoch-matched simultaneous aggregation controls by 2.6 AP, and reciprocal detectors gain 20.8--28.4 AP on new categories while staying within 1.3 AP of original expert performance.
arXivarXiv · · August 26, 2026
0
0
Orbital Hall Effect Enables Field-Free Magnetization Reversal in Ferrimagnets without Additional Conversion Layer
Zelalem Abebe BekeleKun LeiXiukai LanXiangyu LiuHui WenWeihao LiYongcheng DengWenkai ZhuKaiming CaiLishu ZhangKaiyou Wang
The authors demonstrate field-free magnetization reversal in a Mo/CoGd bilayer driven by the orbital Hall effect, without an additional orbital-to-spin conversion layer. Mo acts as an orbital current source, while CoGd provides both conversion and switching. First-principles calculations predict a large orbital Hall conductivity in Mo, and measurements show a z-polarized damping-like torque from interfacial symmetry breaking. Increasing Mo thickness enhances torque efficiency, enabling switching with a critical current density of $2.51 \times 10^6$ A cm$^{-2}$.
arXivarXiv · · July 23, 2026
0
FedAgentKE: Federated Semantic Knowledge Evolution for Heterogeneous Agents
Weihao LiJun BaiZiyang Song
FedAgentKE is a lightweight federated framework enabling heterogeneous LLM-based agents to collaboratively evolve transferable reasoning abstractions. It iteratively distills, aggregates, and adapts semantic knowledge across distributed agent frameworks without sharing raw trajectories, thus overcoming the fragmentation of local experiences. Evaluations show consistent performance gains in both cross-framework and cross-task settings, demonstrating the potential of federated semantic knowledge evolution for collaborative agent ecosystems.
arXivarXiv · · July 23, 2026
0
0
Automated Residual Plot Assessment With the R Package autovi and the Shiny Application autovi.web
Weihao LiDianne CookEmi TanakaSusan VanderPlasKlaus Ackermann
The paper introduces autovi, an R package that automates residual-plot assessment for linear models using a computer vision model. Given a residual sample, the model predicts a visual signal strength (VSS) to quantify deviation from ideal patterns, reducing the subjectivity and manual effort of traditional lineup protocols. The package is accompanied by the Shiny application autovi.web for ease of use.
arXivarXiv · · June 23, 2026
0
1
Can Post-Training Turn LLMs into Good Medical Coders? An Empirical Study of Generative ICD Coding
Ziqing WangWeihao LiShijie ChenYuan LuoKaize Ding
This study investigates whether post-training can make generative large language models (LLMs) effective for automated ICD coding. Comparing prompting, supervised fine-tuning (SFT), and reinforcement learning (GRPO) under a common protocol, the authors find that prompting-only evaluation underestimates LLM potential. SFT provides the main capability jump, GRPO further improves code-set prediction, and a novel curriculum PHI targeting missed-code cases yields additional macro-level gains. The results indicate that the bottleneck is not the generative formulation but how the model is adapted for full-taxonomy recall.
arXivarXiv · · June 11, 2026
0
0
TopoScope: A Graph-Scoped LLM Agent for Printed Circuit Board Schematic Design
Jiale GuoShiji TongWeihao LiYu WuBoxian LinMengji Shi
TopoScope is a training-free LLM agent that treats the printed circuit board schematic graph not only as the final output but also as the runtime guide for generation and verification, addressing the difficulty of automating schematic design under real-IC pin-level constraints and cross-component topological relations that generic simulation, local rule checks, or direct LLM generation do not capture. It couples Topology-Guided Context Scoping, which computes a scoped view for each component-level wiring decision, with Pattern-Based Rule Verification, which encodes datasheet-derived electrical constraints as graph patterns used as in-loop feedback. Accompanying a new 20-design benchmark spanning three complexity tiers and six application domains, with functional assertions evaluated on the generated graph and calibrated against expert judgments, TopoScope across seven recent LLMs improves functional correctness, reduces invalid graph references, and enables more reliable generation of medium and hard multi-IC schematics than knowledge-provided baselines.
OpenReviewOpenReview · April 30, 2026
0
AusSmoke meets MultiNatSmoke: a fully-labelled diverse smoke segmentation dataset
Weihao LiHongjin ZhaoGao ZhuGe-Peng JiNicholas WilsonMarta YebraNick Barnes
This paper presents AusSmoke, a new smoke segmentation dataset from Australia, and MultiNatSmoke, a consolidated benchmark that merges AusSmoke with existing international datasets, achieving an order-of-magnitude increase in scale. By benchmarking segmentation models on this geographically diverse data, the authors demonstrate improved performance and generalization across different regions, addressing the limitations of prior synthetic or small-scale datasets.
arXivarXiv · · April 26, 2026
0
5
SMI: Ontology-Grounded Semantic IDs for Hierarchy-Aware Medical Concept Representation
Ziyang SongLia ShenYIXUAN LIQincheng LuWeihao LiHaoran XuHe ZhuXinyu WangYue Li
We introduce Semantic Medical Identifier (SMI), a training-free framework that builds ontology-grounded Semantic IDs and hierarchy-aware representations for medical concepts. Each diagnosis, procedure, or medication concept is assigned a Semantic ID: its coarse-to-fine path through an expert-defined medical ontology. SMI then aggregates frozen biomedical LM embeddings across the corresponding ontology levels, using uniform weights in the base version or global level weights selected on validation data in a level-weighted variant, so that coarse-to-fine clinical semantics are preserved. Theoretical analysis indicates SMI yields more informative representations than hierarchy-agnostic LM embeddings, especially for rare and fine-grained codes; experiments show it captures hierarchical structure and improves clinical relation prediction, mortality and readmission prediction, drug and rare drug recommendation on MIMIC-IV, and robustness under cross-hospital shift on eICU.
OpenReviewOpenReview · · April 23, 2026
0
Primitive elements in Ringel-Hall algebras of tame hereditary algebras
Bangming DengWeihao Li
The paper studies primitive elements in the Ringel-Hall algebra of a tame hereditary algebra over a finite field. It generalizes and improves a prior result for tame quivers by describing these elements explicitly. Furthermore, the authors obtain an identity involving primitive elements in the subalgebra generated by regular modules, which yields an explicit basis for the space of all primitive elements in the full algebra.
arXivarXiv · · March 9, 2026
0
TCRL: Temporal-Coupled Adversarial Training for Robust Constrained Reinforcement Learning in Worst-Case Scenarios
Wentao XuZhongming YaoWeihao LiZhenghang SongYumeng SongTianyi LiYushuai Li
TCRL is a temporal-coupled adversarial training framework for robust constrained reinforcement learning. It introduces a worst-case-perceived cost constraint function that estimates safety costs under temporally coupled perturbations without explicit adversarial attackers, and a dual-constraint defense mechanism on the reward that maintains reward unpredictability. Experiments show TCRL outperforms existing methods in robustness against temporally coupled perturbations across various CRL tasks.
arXivarXiv · · February 13, 2026
0
3
NoiseSDF2NoiseSDF: Learning Clean Neural Fields from Noisy Supervision
Tengkai WangWeihao LiRuikai CuiShi QiuNick Barnes
NoiseSDF2NoiseSDF extends the 2D Noise2Noise idea to 3D neural fields, learning clean signed distance functions (SDFs) from noisy point clouds via noisy supervision. It minimizes the MSE loss between noisy SDF representations, enabling the network to implicitly denoise and refine surface estimates. Evaluated on ShapeNet, ABC, Famous, and Real datasets, the method markedly improves surface reconstruction quality from noisy inputs compared to prior approaches.
OpenReviewOpenReview · · January 23, 2026
0
Signal Strength Estimation in Logistic Regression Using Data Splitting
Weihao LiJun S. Liu
This paper addresses logistic regression when the feature dimension grows with the sample size, where M-estimator asymptotics depend on unknown signal strength. The authors propose a data-splitting strategy to estimate this signal strength efficiently. To handle separable data, they analyze exact asymptotics of an M-estimator with a data-driven, non-decomposable regularizer that adapts to the true covariance structure. Validity is established through theoretical analysis and numerical experiments.
OpenReviewOpenReview · January 21, 2026
0
0
SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
Jingxuan XuKen DengWeihao LiSongwei YuHaoyang HuangXinping LeiYifan YaoHuaixi TangZhiyi LaiKepeng LeiZizheng ZhanYanan Wu  +26
SWE-Compass is a production-aligned benchmark that unifies heterogeneous code-related evaluations of LLMs into one structured framework, covering 8 task types, 8 programming scenarios, and 10 languages with 2000 instances curated from real GitHub pull requests. Benchmarking ten LLMs under SWE-Agent and Claude Code exposes a clear difficulty hierarchy across tasks, languages, and scenarios, offering a rigorous, reproducible foundation for advancing agentic coding abilities.
OpenReviewOpenReview · · January 19, 2026
0
SmokeBench: Evaluating Multimodal Large Language Models for Wildfire Smoke Detection
Tianye QiWeihao LiNick Barnes
SmokeBench evaluates multimodal large language models (MLLMs) on wildfire smoke detection, which is challenging because smoke is transparent, amorphous, and confounded with clouds. The benchmark comprises four tasks: classification, tile-based localization, grid-based localization, and detection. Among tested models, including Idefics2, Qwen2.5-VL, and GPT-4o, some classify smoke when it covers a large area, but all struggle with accurate localization, especially in early stages. Smoke volume strongly correlates with performance, while contrast plays a minor role. This reveals critical limitations for safety-critical monitoring.
arXivarXiv · · December 12, 2025
0
5
Improving the accuracy and generalizability of molecular property regression models with a substructure-substitution-rule-informed framework
Xiaoyu FanLin GuoRuizhen JiaYang TianZhihao YangWeihao LiBoxue Tian
MolRuleLoss is a substructure-substitution-rule-informed framework that improves accuracy and generalizability of molecular property regression models. It adds partial derivative constraints for substructure substitution rules (SSRs) into the loss function. For GEM models on lipophilicity, ESOL, and freeSolv datasets, root mean squared error (RMSE) decreased by 2.6–33.3% (e.g., 0.587 vs. 0.660 for lipophilicity). The framework also enhances performance on out-of-distribution and activity cliff molecules, with a formal demonstration that the upper bound of SSR property change variation correlates positively with model error.
arXivarXiv · · November 11, 2025
0
SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
Jingxuan XuKen DengWeihao LiSongwei YuHuaixi TangHaoyang HuangZhiyi LaiZizheng ZhanYanan WuChenchen ZhangKepeng LeiYifan Yao  +27
SWE-Compass is a benchmark that unifies diverse code-related evaluations into a structured framework covering 8 task types, 8 programming scenarios, and 10 languages, with 2000 instances from real GitHub pull requests. Testing ten state-of-the-art LLMs under two agentic frameworks (SWE-Agent and Claude Code) reveals a clear difficulty hierarchy across tasks, languages, and scenarios. This provides a reproducible foundation for diagnosing and advancing agentic coding abilities in LLMs, addressing limitations of prior benchmarks that were narrow in scope, language-biased, or misaligned with real-world workflows.
arXivarXiv · · November 7, 2025
0
24
KAT-Coder Technical Report
Zizheng ZhanKen Deng…Weihao Li
KAT-Coder is a large agentic code model trained via a multi-stage curriculum. Mid-Term Training uses real software-engineering data and synthetic agentic interactions to improve reasoning, planning, and reflection. Supervised Fine-Tuning (SFT) builds a million-sample dataset balanced across 20 programming languages, 10 contexts, and 10 task archetypes. Reinforcement Fine-Tuning (RFT) introduces a multi-ground-truth reward formulation for stable policy optimization. Reinforcement-to-Deployment Adaptation applies Error-Masked SFT and Tree-Structured Trajectory Training to adapt the model to production IDE environments. The resulting KAT-Dev 32B model is open-sourced.
arXivarXiv · · October 21, 2025
0
16
Authors with the same name
Weihao Li · 22 papers
Weihao Li #0005 · 11 papers
Weihao Li #0006 · 3 papers
Frequent collaborators
Wenqiang Zhu (12)
Nick Barnes (12)
Jingxuan Xu (11)
Yanan Wu (11)
Haoyang Huang (10)
Ken Deng (10)
Songwei Yu (10)
Zhiyi Lai (8)
Lars Petersson (8)
Xinping Lei (7)
Jiaheng Liu (7)
Yuqun Zhang (7)