Papers by Pengyu Nie
Learning to Update Natural Language Comments Based on Code Changes (2020.acl-main)
Copied to clipboard
| Challenge: | a novel approach to update comments based on code changes is proposed . a dataset of open-source software projects is used to train and evaluate the model . |
| Approach: | They propose an approach that learns to correlate changes across two distinct language representations to generate a sequence of edits that are applied to the existing comment to reflect the source code modifications. |
| Outcome: | The proposed model outperforms baselines and automatic metrics with respect to making edits. |
TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammar (2026.acl-long)
Copied to clipboard
| Challenge: | Large language models (LLMs) for code rely on subword tokenizers learned from mixed natural language text and programming language code but driven by statistics rather than grammar. |
| Approach: | They propose a framework that applies semantic-preserving rewrite rules to create code variants differing only in tokenization. |
| Outcome: | The proposed framework can create code variants differing only in tokenization . the findings highlight the need for grammar-aware tokenization for future code LLMs. |
Impact of Evaluation Methodologies on Code Summarization (2022.acl-long)
Copied to clipboard
| Challenge: | Existing evaluation methodologies for code summarization tasks do not consider timestamps of code and comments. |
| Approach: | They propose a time-segmented evaluation methodology for code summarization that considers timestamps of code and comments during evaluation. |
| Outcome: | The proposed evaluation methodology compares with other evaluation methodologies that have been widely used. |