mlsanityData to 14 Oct 2026

A One-Layer Decoder-Only Transformer is a Two-Layer RNN: With an Application to Certified Robustness

arXiv 2405.17361 ↗First posted 27 May 2024cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper reveals a key insight that a one-layer decoder-only Transformer is equivalent to a two-layer Recurrent Neural Network (RNN). Building on this insight, we propose ARC-Tran, a novel approach for verifying the robustness of decoder-only Transformers against arbitrary perturbation spaces. Compared to ARC-Tran, current robustness verification techniques are limited either to specific and length-preserving perturbations like word substitutions or to recursive models like LSTMs. ARC-Tran addresses these limitations by meticulously managing position encoding to prevent mismatches and by utilizing our key insight to achieve precise and scalable verification. Our evaluation shows that ARC-Tran (1) trains models more robust to arbitrary perturbation spaces than those produced by existing techniques and (2) shows high certification accuracy of the resulting models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 9 of its 17 references that are in the map. First posted on arXiv 27 May 2024.

Builds on

9 of 17 references.

References · 9

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  5. 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 445
  6. 2020Robustness Verification for Transformerscited by 76
  7. 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 34
  8. 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
  9. 2020Robustness to Programmable String Transformations via Augmented Abstract Trainingcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.