paper-with-me

Papers

Semantically Equivalent Adversarial Rules for Debugging NLP models

2018-07-01 · ACL 2018 7 · Marco Tulio Ribeiro, Sameer Singh, Carlos Guestrin

Complex machine learning models for NLP are often brittle, making different predictions for input instances that are extremely similar semantically. To automatically detect this behavior for individual instances, we present semantically equivalent adversaries (SEAs) {--} semantic-preserving perturbations that induce changes in the model{'}s predictions. We generalize these adversaries into semantically equivalent adversarial rules (SEARs) {--} simple, universal replacement rules that induce adversaries on many instances. We demonstrate the usefulness and flexibility of SEAs and SEARs by detecting bugs in black-box state-of-the-art models for three domains: machine comprehension, visual question-answering, and sentiment analysis. Via user studies, we demonstrate that we generate high-quality local adversaries for more instances than humans, and that SEARs induce four times as many mistakes as the bugs discovered by human experts. SEARs are also actionable: retraining models using data augmentation significantly reduces bugs, while maintaining accuracy.

📄 PDF Abstract BibTeX

Code (1)

marcotcr/sears 공식 구현 tf

Tasks

Data AugmentationQuestion AnsweringReading ComprehensionSentiment AnalysisVisual Question AnsweringVisual Question Answering (VQA)

Similar Papers 제목 키워드 기반

A Programmatic and Semantic Approach to Explaining and DebuggingNeural Network Based Object Detectors

2019-12-01 · Edward Kim, Divya Gopinath, Corina Pasareanu, Sanjit Seshia

Even as deep neural networks have become very effective for tasks in vision and perception, it remains difficult to explain and debug their behavior. In this paper, we present a programmatic and semantic approach to expl…

Probabilistic Programming

A Programmatic and Semantic Approach to Explaining and Debugging Neural Network Based Object Detectors

2020-06-01 · CVPR 2020 6 · Edward Kim, Divya Gopinath, Corina Pasareanu, Sanjit A. Seshia

Even as deep neural networks have become very effective for tasks in vision and perception, it remains difficult to explain and debug their behavior. In this paper, we present a programmatic and semantic approach to expl…

Probabilistic Programming

How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?

2025-12-17 · Hua Yang, Alejandro Velasco, Thanh Le-Cong, Md Nazmul Haque 외 arxiv

The success of large language models for code relies on vast amounts of code data, including public open-source repositories, such as GitHub, and private, confidential code from companies. This raises concerns about inte…

Beyond Binary Edits Robust Multimodal Knowledge Editing with Adversarial Subspace Alignment

2026-05-22 · Haoyuan Wang, Xiaohao Liu, Jiajie Su, Jianmao Xiao 외 arxiv

Multimodal large language models (MLLMs) need efficient mechanisms to update knowledge without degrading existing capabilities. While intrinsic multimodal knowledge editing achieves strong reliability and locality, it of…

knowledge editing

Self-Supervised Learning to Prove Equivalence Between Straight-Line Programs via Rewrite Rules

2021-09-22 · Steve Kommrusch, Martin Monperrus, Louis-Noël Pouchet

We target the problem of automatically synthesizing proofs of semantic equivalence between two programs made of sequences of statements. We represent programs using abstract syntax trees (AST), where a given set of seman…

Self-Supervised Learningvalid