Yalan Lin
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Yalan Lin has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Xiaodong Gu
Shanghai Jiao Tong University, Shanghai, China
3 shared publications - Binhua Li
Tongyi Lab, Alibaba, Hangzhou, China
2 shared publications - Chengcheng Wan
East China Normal University, Shanghai, China and Shanghai Innovation Institute, Shanghai, China
2 shared publications - Fei Huang
DAMO Academy Alibaba Group China
2 shared publications - Rongyu Cao
Tongyi Lab, Alibaba, Hangzhou, China
2 shared publications - Silin Chen
Shanghai Jiao Tong University, Shanghai, China
2 shared publications
Latest Publications
- Open Access
- 18 July 2026
- Published by Association for Computing Machinery (ACM)
- p. 394-405
LLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences
- 18 July 2026
- Published by Association for Computing Machinery (ACM)
- p. 394-405
Open AccessLLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences
- Open Access
- 2 February 2026
- Published by Elsevier in SSRN Electronic Journal
LLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences
The reproduction of faulty code is a critical step in software debugging, as it enables both the localization of underlying issues and the validation of candidate patches. However, existing approaches often rely on static heuristics or one-shot generation, which limits their ability to handle repository-specific characteristics and the evolving nature of real-world software. To address this challenge, we propose EvoReproducer, a multi-agent online learning framework that continuously refines its reproduction strategies through reflection on past attempts. Central to EvoReproducer is a hierarchical experience pool that adaptively distinguishes between generalizable knowledge and repository-specific experiences, ensuring effective knowledge reuse while preventing uncontrolled experience growth. This design allows the framework to incrementally accumulate useful experiences within the same repository and dynamically adapt to new issues over time. Experimental results on SWEbench Lite show that EvoReproducer substantially improves the success rate of faulty-code reproduction. Moreover, when integrated with downstream debugging agents on SWE-bench Lite, the reproduced tests lead to notable improvements in issue resolution, demonstrating the practical benefits of online experience accumulation for software engineering workflows.
- 2 February 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessLLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences
The reproduction of faulty code is a critical step in software debugging, as it enables both the localization of underlying issues and the validation of candidate patches. However, existing approaches often rely on static heuristics or one-shot generation, which limits their ability to handle repository-specific characteristics and the evolving nature of real-world software. To address this challenge, we propose EvoReproducer, a multi-agent online learning framework that continuously refines its reproduction strategies through reflection on past attempts. Central to EvoReproducer is a hierarchical experience pool that adaptively distinguishes between generalizable knowledge and repository-specific experiences, ensuring effective knowledge reuse while preventing uncontrolled experience growth. This design allows the framework to incrementally accumulate useful experiences within the same repository and dynamically adapt to new issues over time. Experimental results on SWEbench Lite show that EvoReproducer substantially improves the success rate of faulty-code reproduction. Moreover, when integrated with downstream debugging agents on SWE-bench Lite, the reproduced tests lead to notable improvements in issue resolution, demonstrating the practical benefits of online experience accumulation for software engineering workflows.
- Top Cited PapersOpen Access
- 23 February 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 34 (3) , 1-22
On the Effectiveness of Large Language Models in Domain-Specific Code Generation
Large language models (LLMs) such as ChatGPT have shown remarkable capabilities in code generation. Despite significant achievements, they rely on enormous training data to acquire a broad spectrum of open-domain knowledge. Besides, their evaluation revolves around open-domain benchmarks like HumanEval, which primarily consist of programming contests. Therefore, it is hard to fully characterize the intricacies and challenges associated with particular domains (e.g., Web, game, and math). In this article, we conduct an in-depth study of the LLMs in domain-specific code generation. Our results demonstrate that LLMs exhibit sub-optimal performance in generating domain-specific code, due to their limited proficiency in utilizing domain-specific libraries. We further observe that incorporating API knowledge as prompts can empower LLMs to generate more professional code. Based on these findings, we further investigate how to effectively incorporate API knowledge into the code generation process. We experiment with three strategies for incorporating domain knowledge, namely, external knowledge inquirer, chain-of-thought prompting, and chain-of-thought fine-tuning. We refer to these strategies as a new code generation approach called DomCoder . Experimental results show that all strategies of DomCoder improve the effectiveness of domain-specific code generation under certain settings.
- 23 February 2025
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 34 (3) , 1-22
Top Cited PapersOpen AccessOn the Effectiveness of Large Language Models in Domain-Specific Code Generation
Large language models (LLMs) such as ChatGPT have shown remarkable capabilities in code generation. Despite significant achievements, they rely on enormous training data to acquire a broad spectrum of open-domain knowledge. Besides, their evaluation revolves around open-domain benchmarks like HumanEval, which primarily consist of programming contests. Therefore, it is hard to fully characterize the intricacies and challenges associated with particular domains (e.g., Web, game, and math). In this article, we conduct an in-depth study of the LLMs in domain-specific code generation. Our results demonstrate that LLMs exhibit sub-optimal performance in generating domain-specific code, due to their limited proficiency in utilizing domain-specific libraries. We further observe that incorporating API knowledge as prompts can empower LLMs to generate more professional code. Based on these findings, we further investigate how to effectively incorporate API knowledge into the code generation process. We experiment with three strategies for incorporating domain knowledge, namely, external knowledge inquirer, chain-of-thought prompting, and chain-of-thought fine-tuning. We refer to these strategies as a new code generation approach called DomCoder . Experimental results show that all strategies of DomCoder improve the effectiveness of domain-specific code generation under certain settings.
- 25 April 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (6) , 1505-1517
VarGAN: Adversarial Learning of Variable Semantic Representations
Variable names are of critical importance in code representation learning. However, due to diverse naming conventions, variables often receive arbitrary names, leading to long-tail, out-of-vocabulary (OOV), and other well-known problems. While the Byte-Pair Encoding (BPE) tokenizer has addressed the surface-level recognition of low-frequency tokens, it has not noticed the inadequate training of low-frequency identifiers by code representation models, resulting in an imbalanced distribution of rare and common identifiers. Consequently, code representation models struggle to effectively capture the semantics of low-frequency variable names. In this paper, we propose VarGAN, a novel method for variable name representations. VarGAN strengthens the training of low-frequency variables through adversarial training. Specifically, we regard the code representation model as a generator responsible for producing vectors from source code. Additionally, we employ a discriminator that detects whether the code input to the generator contains low-frequency variables. This adversarial setup regularizes the distribution of rare variables, making them overlap with their corresponding high-frequency counterparts in the vector space. Experimental results demonstrate that VarGAN empowers CodeBERT to generate code vectors that exhibit more uniform distribution for both low- and high-frequency identifiers. There is an improvement of 8% in similarity and relatedness scores compared to VarCLR in the IdBench benchmark. VarGAN is also validated in downstream tasks, where it exhibits enhanced capabilities in capturing token- and code-level semantics.
- 25 April 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (6) , 1505-1517
VarGAN: Adversarial Learning of Variable Semantic Representations
Variable names are of critical importance in code representation learning. However, due to diverse naming conventions, variables often receive arbitrary names, leading to long-tail, out-of-vocabulary (OOV), and other well-known problems. While the Byte-Pair Encoding (BPE) tokenizer has addressed the surface-level recognition of low-frequency tokens, it has not noticed the inadequate training of low-frequency identifiers by code representation models, resulting in an imbalanced distribution of rare and common identifiers. Consequently, code representation models struggle to effectively capture the semantics of low-frequency variable names. In this paper, we propose VarGAN, a novel method for variable name representations. VarGAN strengthens the training of low-frequency variables through adversarial training. Specifically, we regard the code representation model as a generator responsible for producing vectors from source code. Additionally, we employ a discriminator that detects whether the code input to the generator contains low-frequency variables. This adversarial setup regularizes the distribution of rare variables, making them overlap with their corresponding high-frequency counterparts in the vector space. Experimental results demonstrate that VarGAN empowers CodeBERT to generate code vectors that exhibit more uniform distribution for both low- and high-frequency identifiers. There is an improvement of 8% in similarity and relatedness scores compared to VarCLR in the IdBench benchmark. VarGAN is also validated in downstream tasks, where it exhibits enhanced capabilities in capturing token- and code-level semantics.