← Search

Samson Tan

8 accepted papers

2024

Extreme Miscalibration and the Illusion of Adversarial Robustness

ACL 2024long

Deep learning-based Natural Language Processing (NLP) models are vulnerable to adversarial attacks, where small perturbations can cause a model to misclassify. Adversarial Training (AT) is often used to increase model robustness. However, we have discovered an intriguing phenomenon: deliberately or…

Cited by 2SourcePDFScholar
2024

Fine-tuning Language Models for Joint Rewriting and Completion of Code with Potential Bugs

ACL 2024findings

Handling drafty partial code remains a notable challenge in real-time code suggestion applications. Previous work has demonstrated shortcomings of large language models of code (CodeLLMs) in completing partial code with potential bugs. In this study, we view partial code as implementation hints and…

Cited by 1SourcePDFScholar
2024

Learning to Generate Answers with Citations via Factual Consistency Models

ACL 2024long

Large Language Models (LLMs) frequently hallucinate, impeding their reliability in mission-critical situations. One approach to address this issue is to provide citations to relevant sources alongside generated content, enhancing the verifiability of generations. However, citing passages accurately…

2023

Large Language Models of Code Fail at Completing Code with Potential Bugs

NeurIPS 2023poster

Large language models of code (Code-LLMs) have recently brought tremendous advances to code completion, a fundamental feature of programming assistance and code intelligence. However, most existing works ignore the possible presence of bugs in the code context for generation, which are inevitable in…

2023

ReCode: Robustness Evaluation of Code Generation Models

ACL 2023long

Code generation models have achieved impressive performance. However, they tend to be brittle as slight edits to a prompt could lead to very different generations; these robustness properties, critical for user experience when deployed in real-life applications, are not well understood. Most existin…

2022

Interpreting the Robustness of Neural NLP Models to Textual Perturbations

ACL 2022findings

Modern Natural Language Processing (NLP) models are known to be sensitive to input perturbations and their performance can decrease when applied to real-world, noisy data. However, it is still unclear why models are less robust to some perturbations than others. In this work, we test the hypothesis…

Cited by 21SourcePDFScholar
2021

Reliability Testing for Natural Language Processing Systems

ACL 2021long

Questions of fairness, robustness, and transparency are paramount to address before deploying NLP systems. Central to these concerns is the question of reliability: Can NLP systems reliably treat different demographics fairly and function correctly in diverse and noisy environments? To address this,…