← Search

Yanlin Wang

14 accepted papers

2026

Towards Better Code Understanding in Decoder-Only Models with Contrastive Learning

AAAI 2026technical

Recent advances in large-scale code generation models have led to remarkable progress in producing high-quality code. These models are trained in a self-supervised manner on extensive unlabeled code corpora using a decoder-only architecture. However, despite their generative strength, decoder-only m

Cited by 0SourcePDFScholar
2025

MidPO: Dual Preference Optimization for Safety and Helpfulness in Large Language Models via a Mixture of Experts Framework

EMNLP 2025

As large language models (LLMs) are increasingly applied across various domains, enhancing safety while maintaining the helpfulness of LLMs has become a critical challenge. Recent studies solve this problem through safety-constrained online preference optimization or safety-constrained offline prefe

2024

AGIEval: A Human-Centric Benchmark for Evaluating Foundation Models

NAACL 2024findings

Assessing foundation models’ abilities for human-level tasks is crucial for Artificial General Intelligence (AGI) development.Traditional benchmarks, which rely on artificial datasets, may not accurately represent these capabilities. In this paper, we introduce AGIEval, a novel bilingual benchmark d…

2024

MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution

NeurIPS 2024poster

In software development, resolving the emergent issues within GitHub repositories is a complex challenge that involves not only the incorporation of new code but also the maintenance of existing code. Large Language Models (LLMs) have shown promise in code generation but face difficulties in resolvi…

Cited by 39SourcePDFScholar
2024

MemoryBank: Enhancing Large Language Models with Long-Term Memory

AAAI 2024technical

Large Language Models (LLMs) have drastically reshaped our interactions with artificial intelligence (AI) systems, showcasing impressive performance across an extensive array of tasks. Despite this, a notable hindrance remains—the deficiency of a long-term memory mechanism within these models. This…

2024

Tackling Long Code Search with Splitting, Encoding, and Aggregating

COLING 2024main

Code search with natural language helps us reuse existing code snippets. Thanks to the Transformer-based pretraining models, the performance of code search has been improved significantly. However, due to the quadratic complexity of multi-head self-attention, there is a limit on the input token leng…

2023

Implementation of Basic Reflex Functions on Musculoskeletal Robots Driven by Pneumatic Artificial Muscles

RA-L 2023

Musculoskeletal robots hold significant potential for the design of future robots. One of the challenges is the possibility of output delays from the muscles, which may prevent higher centers from compensating during sudden disturbances. The reflex system, widely observed in animals, is viewed as an

Cited by 7SourceScholar
2023

Unveiling the Black Box of PLMs with Semantic Anchors: Towards Interpretable Neural Semantic Parsing

AAAI 2023technical

The recent prevalence of pretrained language models (PLMs) has dramatically shifted the paradigm of semantic parsing, where the mapping from natural language utterances to structured logical forms is now formulated as a Seq2Seq task. Despite the promising performance, previous PLM-based approaches o…

Cited by 5SourcePDFScholar
2022

Accelerating Code Search with Deep Hashing and Code Classification

ACL 2022long

Code search is to search reusable code snippets from source code corpus based on natural languages queries. Deep learning-based methods on code search have shown promising results. However, previous methods focus on retrieval accuracy, but lacked attention to the efficiency of the retrieval process.…

Cited by 18SourcePDFScholar
2022

Exploring Representation-level Augmentation for Code Search

EMNLP 2022main

Code search, which aims at retrieving the most relevant code fragment for a given natural language query, is a common activity in software development practice. Recently, contrastive learning is widely used in code search research, where many data augmentation approaches for source code (e.g., seman…

2022

RACE: Retrieval-augmented Commit Message Generation

EMNLP 2022main

Commit messages are important for software development and maintenance. Many neural network-based approaches have been proposed and shown promising results on automatic commit message generation. However, the generated commit messages could be repetitive or redundant. In this paper, we propose RACE,…

2022

UniXcoder: Unified Cross-Modal Pre-training for Code Representation

ACL 2022long

Pre-trained models for programming languages have recently demonstrated great success on code intelligence. To support both code-related understanding and generation tasks, recent works attempt to pre-train unified encoder-decoder models. However, such encoder-decoder framework is sub-optimal for au…

2021

CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Trees

EMNLP 2021main

Code summarization aims to generate concise natural language descriptions of source code, which can help improve program comprehension and maintenance. Recent studies show that syntactic and structural information extracted from abstract syntax trees (ASTs) is conducive to summary generation. Howeve…