Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1801.07175

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computation and Language

arXiv:1801.07175 (cs)
This paper has been withdrawn by Zhitao Gong
[Submitted on 22 Jan 2018 (v1), last revised 24 Jan 2018 (this version, v2)]

Title:Adversarial Texts with Gradient Methods

Authors:Zhitao Gong, Wenlu Wang, Bo Li, Dawn Song, Wei-Shinn Ku
View a PDF of the paper titled Adversarial Texts with Gradient Methods, by Zhitao Gong and Wenlu Wang and Bo Li and Dawn Song and Wei-Shinn Ku
No PDF available, click to view other formats
Abstract:Adversarial samples for images have been extensively studied in the literature. Among many of the attacking methods, gradient-based methods are both effective and easy to compute. In this work, we propose a framework to adapt the gradient attacking methods on images to text domain. The main difficulties for generating adversarial texts with gradient methods are i) the input space is discrete, which makes it difficult to accumulate small noise directly in the inputs, and ii) the measurement of the quality of the adversarial texts is difficult. We tackle the first problem by searching for adversarials in the embedding space and then reconstruct the adversarial texts via nearest neighbor search. For the latter problem, we employ the Word Mover's Distance (WMD) to quantify the quality of adversarial texts. Through extensive experiments on three datasets, IMDB movie reviews, Reuters-2 and Reuters-5 newswires, we show that our framework can leverage gradient attacking methods to generate very high-quality adversarial texts that are only a few words different from the original texts. There are many cases where we can change one word to alter the label of the whole piece of text. We successfully incorporate FGM and DeepFool into our framework. In addition, we empirically show that WMD is closely related to the quality of adversarial texts.
Comments: This work lacks some crucial details. After careful discussion, we decided to withdraw it temporarily and resubmit a full version afterward
Subjects: Computation and Language (cs.CL); Cryptography and Security (cs.CR); Machine Learning (cs.LG)
Cite as: arXiv:1801.07175 [cs.CL]
  (or arXiv:1801.07175v2 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.1801.07175
arXiv-issued DOI via DataCite

Submission history

From: Zhitao Gong [view email]
[v1] Mon, 22 Jan 2018 16:19:52 UTC (230 KB)
[v2] Wed, 24 Jan 2018 19:54:27 UTC (1 KB) (withdrawn)
Full-text links:

Access Paper:

    View a PDF of the paper titled Adversarial Texts with Gradient Methods, by Zhitao Gong and Wenlu Wang and Bo Li and Dawn Song and Wei-Shinn Ku
  • Withdrawn
No license for this version due to withdrawn
Current browse context:
cs.CL
< prev   |   next >
new | recent | 2018-01
Change to browse by:
cs
cs.CR
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack