Cited by 166Adversarial Robustness in Machine LearningSoftware Engineering ResearchSoftware Testing and Debugging Techniques

Natural Attack for Pre-trained Models of Code

Open access
Yang, Zhou, Shi, Jieke, He, Junda, Lo, David·2022·Proceedings of the 44th International Conference on Software Engineering

Abstract

Pre-trained models of code have achieved success in many important software engineering tasks. However, these powerful models are vulnerable to adversarial attacks that slightly perturb model inputs to make a victim model produce wrong outputs. Current works mainly attack models of code with examples that preserve operational program semantics but ignore a fundamental requirement for adversarial example generation: perturbations should be natural to human judges, which we refer to as naturalness requirement.

Integrity signals

Registry

Crossref · 10.1145/3510003.3510146

Cites

7 of 7 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • The study uses test sets for inference and training sets for selecting ICL demonstrations, aligned with previous ICL work.

    “It is important to note that, aligned with previous ICL work [50], we use the test sets of these datasets for inference, while the selection of ICL demonstrations is drawn from the training sets.”

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Yang, Z., Shi, J., He, J., & Lo, D.
Affiliations
Singapore Management University (SG)
Venue
Proceedings of the 44th International Conference on Software Engineering
Publisher
ACM
Published
2022-05-21
Pages
1482-1493
ISSN
0270-5257 (ISSN-L)
OpenAlex
W4220722393
Cited by
166
References
7
Citations by year
2026: 27 · 2025: 50 · 2024: 47 · 2023: 35 · 2022: 7
FWCI
19.22
Type
conference paper
Language
en
Open access
Locations
  • ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • Singapore Management University Institutional Knowledge (InK) (Singapore Management University) (submittedVersion, other-oa)
  • arXiv (Cornell University) (cc-by)
Funders
Singapore Ministry of Education (MOE) Academic Research Fund (AcRF) (19-C220-SMU-002)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
Keywords
adversarial attacks, pre-trained code models, adversarial example generation, code embeddings

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review