MCP
BG

Bei Guan

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

Papers

14
SWE-bench-java: A GitHub Issue Resolving Benchmark for Java
Daoguang ZanZhirong Huang…Bei Guan
SWE-bench-java extends the GitHub issue-resolving benchmark to Java, providing a dataset, Docker-based evaluation environment, and leaderboard. The authors verify reliability by running SWE-agent with several LLMs, confirming the benchmark's utility. The work addresses industry demand for multilingual support beyond Python and invites community contributions to accelerate refinement.
arXivarXiv · · August 26, 2024
0
53
CodeM: Less Data Yields More Versatility via Ability Matrix
Daoguang ZanAilun YuWei LiuBo ShenShaoxin LinYongshun GongYafen YaoYan LiuBei GuanWeihua LuoYongji WangQianxiang Wang  +1
CodeM introduces a data construction strategy that uses an ability matrix to decouple code LLM abilities into two dimensions, enabling the training of a versatile model with less data by covering only a subset of target scenarios. Experiments on HumanEvalPack and MultiPL-E show that models can combine single-dimensional abilities to master composed abilities, validating the approach.
ACL AnthologyACL Anthology · August 2024
0
5
CodeS: Natural Language to Code Repository via Multi-Layer Sketch
Daoguang ZanAilun YuWei LiuDong ChenBo ShenWei LiYafen YaoYongshun GongXiaolin ChenBei GuanZhiguang YangYongji Wang  +2
CodeS addresses the new NL2Repo task of generating a complete code repository from natural-language requirements. It decomposes the problem into three sub-tasks via a multi-layer sketch: RepoSketcher creates a directory structure, FileSketcher drafts each file's skeleton, and SketchFiller implements each function. Evaluated on the new SketchEval benchmark and through user studies with a VSCode plugin, CodeS demonstrates effectiveness and practicality.
arXivarXiv · · March 25, 2024
0
41
Improving Natural Language Capability of Code Large Language Model
Wei LiDaoguang ZanBei GuanAilun YuXiaolin ChenYongji Wang
This paper proposes a framework to improve the natural language capability of code large language models (Code LLMs). It consists of two modules: AttentionExtractor extracts key phrases from user requirements written in natural language, and AttentionCoder uses those phrases to generate corresponding code. The framework integrates Code LLMs with traditional NLP tools. A new benchmark, MultiNL-H, covering five natural languages, is introduced. Experiments show the framework's effectiveness in code generation from diverse natural language inputs.
arXivarXiv · · January 25, 2024
0
3
A GAN-based data poisoning framework against anomaly detection in vertical federated learning
Xiaolin ChenDaoguang ZanWei LiBei GuanYongji Wang
This paper proposes P-GAN, a data poisoning framework for vertical federated learning (VFL) where a malicious participant lacks access to the server-side top model. The attacker first trains a surrogate target model via semi-supervised learning, then uses a GAN to generate adversarial perturbations that degrade that surrogate. The resulting generator is adapted for VFL poisoning. The paper also develops a deep auto-encoder based anomaly detection (DAE) as a defense, and evaluates both methods experimentally.
arXivarXiv · · January 17, 2024
0
24
Private-Library-Oriented Code Generation with Large Language Models
Daoguang ZanBei ChenYongshun GongJunzhi CaoFengji ZhangBingchao WuBei GuanYilong YinYongji Wang
This paper proposes a framework for code generation with private libraries that LLMs have not seen during pre-training. The framework has two modules: APIFinder, which retrieves relevant APIs from documentation using vector search with optional user involvement, and APICoder, which generates code from the retrieved APIs. A continually pre-trained version of APICoder, CodeGenAPI, is introduced to improve API invocation from prompts. The modules are trained on public libraries to generalize to private ones. Effectiveness is verified on four newly created private-library benchmarks with handcrafted test cases.
arXivarXiv · · July 28, 2023
0
52
Large Language Models Meet NL2Code: A Survey
Daoguang ZanBei ChenFengji ZhangDianjie LuBingchao WuBei GuanWang YongjiJian-Guang Lou
This survey reviews 27 large language models for NL2Code (generating code from natural language) and the corresponding benchmarks and metrics. It provides an intuitive comparison on the HumanEval benchmark and identifies the key factors for success as "Large Size, Premium Data, Expert Tuning". The paper also discusses the gap between model and human performance and hosts a crowd-sourced website for tracking progress. This is the first survey to focus specifically on large language models for NL2Code.
ACL AnthologyACL Anthology · · July 2023
0
Hierarchical and Contrastive Representation Learning for Knowledge-aware Recommendation
Bingchao WuYangyuxuan KangDaoguang ZanBei GuanYongji Wang
To address the over-smoothing issue caused by exponential neighbor expansion in knowledge-aware recommendation, HiCON proposes a hierarchical message aggregation mechanism that interacts separately with low-order neighbors and meta-path-constrained high-order neighbors. Additionally, cross-order contrastive learning enforces more discriminative representations. Experiments on three datasets demonstrate its superiority over state-of-the-art methods.
arXivarXiv · · April 15, 2023
0
9
Large Language Models Meet NL2Code: A Survey
Daoguang ZanBei ChenFengji ZhangDianjie LuBingchao WuBei GuanYongji WangJian-Guang Lou
This survey reviews 27 large language models (LLMs) for NL2Code, the task of generating code from natural language. It compares models on the HumanEval benchmark and identifies the key success factors as "Large Size, Premium Data, Expert Tuning." The paper also discusses model-human gaps and future challenges, providing the first dedicated survey of LLMs for NL2Code.
arXivarXiv · · December 19, 2022
0
386
When Language Model Meets Private Library
Daoguang ZanBei ChenZeqi LinBei GuanYongji WangJian-Guang Lou
This paper introduces a framework for enabling pre-trained language models to generate code using private libraries, whose APIs are unseen during training. The framework, APIRetriever + APICoder, first retrieves relevant APIs via a dense retrieval system and then generates code with off-the-shelf or continually pre-trained language models. Both modules are trained on public library data and generalize to private ones. Experiments on three new benchmarks show strong performance.
arXivarXiv · · October 31, 2022
0
127
CERT: Continual Pre-training on Sketches for Library-oriented Code Generation
Daoguang ZanBei ChenDejian YangZeqi LinMinsu KimBei GuanYongji WangWeizhu ChenJian-Guang Lou
This paper addresses library-oriented code generation, where expensive text-code paired data are scarce because of the many third-party libraries programmers reuse. Observing that such snippets tend to share similar code sketches, the authors propose CERT, which first has a sketcher generate a sketch and then a generator fill in the details; both components are continually pre-trained on unlabelled code from a base model. Two benchmarks, PandasEval and NumpyEval, are built for evaluation, and CERT surpasses the base model by an absolute 15.67% in pass@1 on PandasEval.
IJCAIIJCAI · July 2022
0
CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generation
Daoguang ZanBei ChenDejian YangZeqi LinMinsu KimBei GuanYongji WangWeizhu ChenJian-Guang Lou
CERT addresses library-oriented code generation by leveraging unlabeled code corpora, since text-code pairs for third-party libraries are scarce. It observes that library-oriented snippets share similar code sketches and proposes a two-step continual pre-training approach: a sketcher generates the sketch, then a generator fills in the details. Both are pre-trained on unlabeled data. Evaluated on the new PandasEval and NumpyEval benchmarks, CERT surpasses its base model by 15.67% in pass@1 on PandasEval.
arXivarXiv · · June 14, 2022
0
188
Fed-EINI: An Efficient and Interpretable Inference Framework for Decision Tree Ensembles in Federated Learning
Xiaolin ChenShuai ZhouBei guanKai YangHao FanHu WangYongji Wang
Fed-EINI improves interpretability in vertical federated learning for decision tree ensembles by disclosing feature meanings to the Guest Party without compromising privacy. The key observation is that a tree's prediction equals the intersection of sub-model results held by different parties. Based on this, Fed-EINI conceals decision paths and uses a communication-efficient secure computation method for inference. This preserves data privacy, efficiency, and accuracy while enhancing model interpretability.
arXivarXiv · · May 20, 2021
0
Killing Two Birds with One Stone: Malicious Domain Detection with High Accuracy and Coverage
Issa KhalilBei GuanMohamed NabeelTing Yu
This paper presents a malicious-domain detection scheme that improves both accuracy and coverage by distinguishing public IP addresses from dedicated ones through in-depth active DNS analysis. This refined association captures meaningful domain connections missed by prior methods. Combined with a generic belief-propagation algorithm, the approach achieves high scalability and efficiency with only minor accuracy loss, outperforming existing inference techniques.
arXivarXiv · · November 1, 2017
0
8
Frequent collaborators
Daoguang Zan (12)
Yongji Wang (12)
Bei Chen (6)
Jian-Guang Lou (5)
Ailun Yu (4)
Xiaolin Chen (4)
Bingchao Wu (4)
Wei Liu (3)
Bo Shen (3)
Qianxiang Wang (3)
Yongshun Gong (3)
Wei Li (3)