YLYalan Lin

Yalan Lin

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Yalan Lin has a total of 16 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    LLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences

    by Yalan Lin, Silin Chen, Yingwei Ma, Rongyu Cao, Binhua Li, Fei Huang, Xiaodong Gu, Yongbin Li

  • Open Access

    LLMs as Continuous Learners: Improving Software Issue Reproduction by Distilling Experiences

    by Yalan Lin, Silin Chen, Yingwei Ma, Rongyu Cao, Binhua Li, Fei Huang, Yongbin Li, Xiaodong Gu

    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 Papers
    Open Access

    On the Effectiveness of Large Language Models in Domain-Specific Code Generation

    by Xiaodong Gu, Meng Chen, Yalan Lin, Yuhan Hu, Hongyu Zhang, Chengcheng Wan, Zhao Wei, Yong Xu, Juhong Wang

    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.


  • VarGAN: Adversarial Learning of Variable Semantic Representations

    by Yalan Lin, Chengcheng Wan, Shuwen Bai, Xiaodong Gu

    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.