Lune

ICML2021Top-tier venue

RNNRepair: Automatic RNN Repair via Model-based Analysis

Xiaofei Xie, Wenbo Guo, Lei Ma, Wei Le, Jian Wang, Lingjun Zhou, Yang Liu, Xinyu Xing

Abstract

Deep neural networks are vulnerable to adversarial attacks. Due to their black-box nature, it is rather challenging to interpret and properly repair these incorrect behaviors. This paper focuses on interpreting and repairing the incorrect behaviors of Recurrent Neural Networks (RNNs). We propose a lightweight model-based approach (RN-NRepair) to help understand and repair incorrect behaviors of an RNN. Specifically, we build an influence model to characterize the stateful and statistical behaviors of an RNN over all the training data and to perform the influence analysis for the errors. Compared with the existing techniques on influence function, our method can efficiently estimate the influence of existing or newly added training samples for a given prediction at both sample level and segmentation level. Our empirical evaluation shows that the proposed influence model is able to extract accurate and understandable features. Based on the influence model, our proposed technique could effectively infer the influential instances from not only an entire testing sequence but also a segment within that sequence. Moreover, with the sample-level and segmentlevel influence relations, RNNRepair could further remediate two types of incorrect predictions at the sample level and segment level.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DeepSeer: Interactive RNN Explanation and Debugging via State Abstraction cites Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces
  • Decision-Guided Weighted Automata Extraction from Recurrent Neural Networks cites Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. DeepSeer: Interactive RNN Explanation and Debugging via State AbstractionZhijie Wang, Yuheng Huang, Da Song, Lei Ma et al.CHI 2023 · 7 citations
  2. BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input RepairingWai Kin Wong, Huaijin Wang, Zongjie Li, Shuai WangICSE 2024 · 4 citations
  3. An Empirical Study to Evaluate AIGC Detectors on Code ContentJian Wang, Shangqing Liu, Xiaofei Xie, Yi LiASE 2024 · 4 citations
  4. Cross-lingual transfer learning for statistical type inferenceZhiming Li, Xiaofei Xie, Haoliang Li, Zhengzi Xu et al.ISSTA 2022 · 4 citations
  5. A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code GenerationJian Gu, Aldeida Aleti, Chunyang Chen, Hongyu ZhangICSE 2026

Builds on2

  1. Weighted Automata Extraction from Recurrent Neural Networks via Regression on State SpacesTakamasa Okudono, Masaki Waga, Taro Sekiyama, Ichiro HasuoAAAI 2020 · 44 citations
  2. Decision-Guided Weighted Automata Extraction from Recurrent Neural NetworksXiyue Zhang, Xiaoning Du, Xiaofei Xie, Lei Ma et al.AAAI 2021 · 25 citations

Related papers

  1. Interpretability Based Neural Network RepairZuohui Chen, Jun Zhou, Youcheng Sun, Jingyi Wang et al.ISSTA 2024 · 3 citations
  2. Influence Functions for Sequence Tagging ModelsSarthak Jain, Varun Manjunatha, Byron C. Wallace, Ani NenkovaEMNLP Findings 2022 · 6 citations
  3. TRADER: trace divergence analysis and embedding regulation for debugging recurrent neural networksGuanhong Tao, Shiqing Ma, Yingqi Liu, Qiuling Xu et al.ICSE 2020 · 14 citations
  4. Frequentist Uncertainty in Recurrent Neural Networks via Blockwise Influence FunctionsAhmed M. Alaa, Mihaela van der SchaarICML 2020 · 26 citations
  5. Understanding the Robustness of Randomized Feature Defense Against Query-Based Adversarial AttacksNguyen Hung-Quang, Yingjie Lao, Tung Pham, Kok-Seng Wong et al.ICLR 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines