Matches in SemOpenAlex for { <https://semopenalex.org/work/W4288092382> ?p ?o ?g. }
Showing items 1 to 51 of
51
with 100 items per page.
- W4288092382 abstract "Neural models of code have shown impressive results when performing tasks such as predicting method names and identifying certain kinds of bugs. We show that these models are vulnerable to adversarial examples, and introduce a novel approach for attacking trained models of code using adversarial examples. The main idea of our approach is to force a given trained model to make an incorrect prediction, as specified by the adversary, by introducing small perturbations that do not change the program's semantics, thereby creating an adversarial example. To find such perturbations, we present a new technique for Discrete Adversarial Manipulation of Programs (DAMP). DAMP works by deriving the desired prediction with respect to the model's inputs, while holding the model weights constant, and following the gradients to slightly modify the input code. We show that our DAMP attack is effective across three neural architectures: code2vec, GGNN, and GNN-FiLM, in both Java and C#. Our evaluations demonstrate that DAMP has up to 89% success rate in changing a prediction to the adversary's choice (a targeted attack) and a success rate of up to 94% in changing a given prediction to any incorrect prediction (a non-targeted attack). To defend a model against such attacks, we empirically examine a variety of possible defenses and discuss their trade-offs. We show that some of these defenses can dramatically drop the success rate of the attacker, with a minor penalty of 2% relative degradation in accuracy when they are not performing under attack. Our code, data, and trained models are available at https://github.com/tech-srl/adversarial-examples ." @default.
- W4288092382 created "2022-07-28" @default.
- W4288092382 creator A5010209966 @default.
- W4288092382 creator A5020791638 @default.
- W4288092382 creator A5061044883 @default.
- W4288092382 date "2019-10-15" @default.
- W4288092382 modified "2023-09-29" @default.
- W4288092382 title "Adversarial Examples for Models of Code" @default.
- W4288092382 doi "https://doi.org/10.48550/arxiv.1910.07517" @default.
- W4288092382 hasPublicationYear "2019" @default.
- W4288092382 type Work @default.
- W4288092382 citedByCount "0" @default.
- W4288092382 crossrefType "posted-content" @default.
- W4288092382 hasAuthorship W4288092382A5010209966 @default.
- W4288092382 hasAuthorship W4288092382A5020791638 @default.
- W4288092382 hasAuthorship W4288092382A5061044883 @default.
- W4288092382 hasBestOaLocation W42880923821 @default.
- W4288092382 hasConcept C119857082 @default.
- W4288092382 hasConcept C154945302 @default.
- W4288092382 hasConcept C177264268 @default.
- W4288092382 hasConcept C199360897 @default.
- W4288092382 hasConcept C2776760102 @default.
- W4288092382 hasConcept C37736160 @default.
- W4288092382 hasConcept C38652104 @default.
- W4288092382 hasConcept C41008148 @default.
- W4288092382 hasConcept C41065033 @default.
- W4288092382 hasConceptScore W4288092382C119857082 @default.
- W4288092382 hasConceptScore W4288092382C154945302 @default.
- W4288092382 hasConceptScore W4288092382C177264268 @default.
- W4288092382 hasConceptScore W4288092382C199360897 @default.
- W4288092382 hasConceptScore W4288092382C2776760102 @default.
- W4288092382 hasConceptScore W4288092382C37736160 @default.
- W4288092382 hasConceptScore W4288092382C38652104 @default.
- W4288092382 hasConceptScore W4288092382C41008148 @default.
- W4288092382 hasConceptScore W4288092382C41065033 @default.
- W4288092382 hasLocation W42880923821 @default.
- W4288092382 hasOpenAccess W4288092382 @default.
- W4288092382 hasPrimaryLocation W42880923821 @default.
- W4288092382 hasRelatedWork W2030611346 @default.
- W4288092382 hasRelatedWork W2095577883 @default.
- W4288092382 hasRelatedWork W2497864078 @default.
- W4288092382 hasRelatedWork W2585881251 @default.
- W4288092382 hasRelatedWork W2610321374 @default.
- W4288092382 hasRelatedWork W2952919291 @default.
- W4288092382 hasRelatedWork W2953920146 @default.
- W4288092382 hasRelatedWork W3124408655 @default.
- W4288092382 hasRelatedWork W4287702505 @default.
- W4288092382 hasRelatedWork W9657784 @default.
- W4288092382 isParatext "false" @default.
- W4288092382 isRetracted "false" @default.
- W4288092382 workType "article" @default.