MCP
WB

Wang Bin

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

Papers

8
Knowledge Boundaries Are Not Defined by Prompts : Improving the Reachability of Knowledge through Question-Level Probing
Wang BinYilu ZhongShuping ChenHui LI
We argue that prompt-level uncertainty signals overly conservatively define a model's knowledge boundary, since question reformulations can change stability. We propose a test-time question-level probing framework: when the original prompt is unstable, it probes semantically equivalent reformulations and accepts an answer only when multiple stable views give consistent low-entropy evidence. This observable behavior serves as an operational proxy for question-level answerability, requiring no training or parameter updates, and is compatible with semantic entropy and variants. Experiments show it recovers prompt-sensitive answers wrongly rejected and improves the risk-coverage trade-off.
ACL AnthologyACL Anthology · October 2026
0
VulnGym: Benchmarking Coding Agents for Repository-Level Vulnerability Detection
Kexing JiJiachen LiuEnze HuCuiyun GaoKeke LianYongheng LiuLei ZhangTian DongHao ChenWang Bin
VulnGym is a benchmark for evaluating coding agents on repository-level vulnerability detection, moving beyond classification on preselected code snippets. It provides 408 vulnerability entries across 23 real-world repositories, each annotated with line-level entry points, critical operations, and vulnerability traces. The benchmark defines an end-to-end detection task and three oracle-based subtasks to jointly assess detection accuracy and diagnose limitations in code localization and evidence construction. Evaluation shows current coding agents remain limited in both end-to-end detection and constructing accurate supporting traces.
arXivarXiv · · August 3, 2026
0
0
Safety Sidecar: Reflection-Driven Runtime Control for Safer Agents
Wang BinQuan JiazhengXingrui YuHu HansenYu HaoAnjun GaoZhenglin WanHui LIIvor Tsang
Safety Sidecar is a model-agnostic, plug-and-play module that provides runtime safety control for arbitrary LLM agent workflows. It operationalizes reflection as a closed-loop controller: it monitors decision traces, retrieves evidence-based repair exemplars from a reflective memory, and enforces risk-mitigating revisions before execution. External verifiers gate both action release and memory updates, producing an auditable trail. In secure code generation across eight CWE scenarios and four LLMs, it improves the secure-solution rate by 2.9–11.2 percentage points while maintaining competitive functional correctness, with reflection adding only 3.2s latency.
ACL AnthologyACL Anthology · July 2026
0
3
A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Code
Keke LianWang BinLei ZhangLibo ChenJunjie WangZiming ZhaoYujiu YangMiaoqian LinHaotong DuanHaoran ZhaoShuang LiaoMingda Guo  +10
The increasing adoption of large language models (LLMs) in software engineering necessitates rigorous security evaluation of their generated code. However, existing benchmarks often lack relevance to real-world AI-assisted programming scenarios, making them inadequate for assessing the practical security risks associated with AI-generated code in production environments. To address this gap, we introduce A.S.E (AI Code Generation Security Evaluation), a repository-level evaluation benchmark designed to closely mirror real-world AI programming tasks, offering a comprehensive and reliable framework for assessing the security of AI-generated code. Our evaluation of leading LLMs on A.S.E reveals several key findings. In particular, current LLMs still struggle with secure coding. The complexity in repository-level scenarios presents challenges for LLMs that typically perform well on snippet-level tasks. Moreover, a larger reasoning budget does not necessarily lead to better code generation. These observations offer valuable insights into the current state of AI code generation and help developers identify the most suitable models for practical tasks. They also lay the groundwork for refining LLMs to generate secure and efficient code in real-world applications.
ACL AnthologyACL Anthology · July 2026
0
Webis: A Multi-Level Pipeline Integrating Node Classification, Reverse-Coloring, and Semantic Pruning for Web Content Extraction
Wang BinZiyan ZhangLi SichenKairui WangIvor TsangXingrui YuHui LI
We propose Webis, a multi-level framework for web content extraction that integrates node classification, subtree reverse-coloring, and semantic pruning to refine local and global semantics. It combines neural precision with engineering scalability, improving node-level noise detection and end-to-end extraction quality. On SWDE-small, it achieves 82.2 node-level F1, outperforming GPT-4o by +37.0; on SWDE-huge, it attains 99.6% execution success, matching Trafilatura's robustness while delivering +1.9 CEQI over the strongest heuristic baseline.
OpenReviewOpenReview · January 23, 2026
0
0
Learn from Your Mistakes: Tree-like Self-Play for Secure Code LLMs
Wenqi ChenZiyan ZhangWang BinLin LiuHengheng ZhangZhengsu Chen
Tree-like Self-Play (TSP) reframes secure code generation as a fine-grained sequential decision process, where the model explores branching trajectories to create both secure and vulnerable code variants. By treating generation as a self-play game, TSP learns to discriminate against its own localized errors, providing dense on-policy signals at critical decision nodes. In Python benchmarks, TSP boosts CodeLlama-7B's pass rate to 75.8%, outperforming SFT, and reduces unseen CWE vulnerabilities by 24.5%, inducing out-of-distribution generalization across languages. The results indicate TSP internalizes language-agnostic security logic rather than memorizing patches.
OpenReviewOpenReview · · January 23, 2026
0
Attention Distance: A Novel Metric for Directed Fuzzing with Large Language Models
Wang BinAo YangKedan LiAofan LiuHui LiGuibo LuoWeixiang HuangYan Zhuang
This paper introduces attention distance, a metric for directed grey-box fuzzing that uses a large language model's contextual analysis to compute attention scores between code elements, capturing logical relationships beyond physical path distance. Replacing the physical distance in AFLGo with attention distance across 38 vulnerability reproduction experiments yields a 3.43× average improvement in testing efficiency, and outperforms state-of-the-art directed fuzzers DAFL (2.89×) and WindRanger (7.13×). The metric also generalizes to improve DAFL and WindRanger when integrated into them.
arXivarXiv · · December 19, 2025
0
2
Porous Lattice-based Transformer Encoder for Chinese NER
Xue MenggeYu BowenLiu TingwenZhang YueMeng ErliWang Bin
Chinese NER gains from word-level lattice information, but prior recurrent and convolutional models handle the lattice's DAG or variable-sized token sets inefficiently, preventing batched computation. This paper proposes a porous lattice-based transformer encoder. It uses lattice-aware self-attention with relative position representations and introduces a porous structure where every two non-neighboring tokens connect through a shared pivot node, strengthening local dependencies. The model enables GPU parallelism and batched computation via the transformer's mask mechanism, achieving up to 9.47 times faster inference than state-of-the-art models with comparable accuracy.
arXivarXiv · · November 7, 2019
0
31
Frequent collaborators
Hui LI (4)
Yilu Zhong (2)
Keke Lian (2)
Lei Zhang (2)
Quan Jiazheng (2)
Xingrui Yu (2)
Ivor Tsang (2)
Ziyan Zhang (2)
Shuping Chen (1)
Kexing Ji (1)
Jiachen Liu (1)
Enze Hu (1)