Reverse-Engineering Decoding Strategies Given Blackbox Access to a Language Generation System
Not on the map. Why?
Abstract (arXiv)
Neural language models are increasingly deployed into APIs and websites that allow a user to pass in a prompt and receive generated text. Many of these systems do not reveal generation parameters. In this paper, we present methods to reverse-engineer the decoding method used to generate text (i.e., top-k or nucleus sampling). Our ability to discover which decoding strategy was used has implications for detecting generated text. Additionally, the process of discovering the decoding strategy can reveal biases caused by selecting decoding settings which severely truncate a model's predicted distributions. We perform our attack on several families of open-source language models, as well as on production systems (e.g., ChatGPT).
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 10 of its 15 references that are in the map. First posted on arXiv 9 Sep 2023.
Builds on
10 of 15 references.
References · 10
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2018Hierarchical Neural Story Generationcited by 1,193
- 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 261
- 2022On Decoding Strategies for Neural Text Generatorscited by 90
- 2023Effective Prompt Extraction from Language Modelscited by 85
- 2023Stealing the Decoding Algorithms of Language Modelscited by 19
- 2020Reverse Engineering Configurations of Neural Text Generation Modelscited by 15
Built on by
Citing papers per year: 2023: 1; 2024: 2.
3 papers.
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2024Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Samplingcited by 20
- 2024Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Servicescited by 0
- 2024Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services5 Aug 2024
- 2024Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Sampling14 Feb 2024
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023