Model Stealing for Any Low-Rank Language Model
Not on the map. Why?
Abstract (arXiv)
Model stealing, where a learner tries to recover an unknown model via carefully chosen queries, is a critical problem in machine learning, as it threatens the security of proprietary models and the privacy of data they are trained on. In recent years, there has been particular interest in stealing large language models (LLMs). In this paper, we aim to build a theoretical understanding of stealing language models by studying a simple and mathematically tractable setting. We study model stealing for Hidden Markov Models (HMMs), and more generally low-rank language models. We assume that the learner works in the conditional query model, introduced by Kakade, Krishnamurthy, Mahajan and Zhang. Our main result is an efficient algorithm in the conditional query model, for learning any low-rank distribution. In other words, our algorithm succeeds at stealing any language model whose output distribution is low-rank. This improves upon the previous result by Kakade, Krishnamurthy, Mahajan and Zhang, which also requires the unknown distribution to have high "fidelity", a property that holds only in restricted cases. There are two key insights behind our algorithm: First, we represent the conditional distributions at each timestep by constructing barycentric spanners among a collection of vectors of exponentially large dimension. Second, for sampling from our representation, we iteratively solve a sequence of convex optimization problems that involve projection in relative entropy to prevent compounding of errors over the length of the sequence. This is an interesting example where, at least theoretically, allowing a machine learning model to solve more complex problems at inference time can lead to drastic improvements in its performance.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 30 of its 50 references that are in the map. First posted on arXiv 12 Nov 2024.
Builds on
30 of 50 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2016Contextual Decision Processes with Low Bellman Rank are PAC-Learnablecited by 290
- 2024Stealing Part of a Production Language Modelcited by 152
- 2018Stealing Hyperparameters in Machine Learningcited by 115
- 2020Stealing Links from Graph Neural Networkscited by 114
- 2023Protecting Language Generation Models via Invisible Watermarkingcited by 81
- 2019Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attackscited by 79
- 2016Gradient Descent Learns Linear Dynamical Systemscited by 78
- 2018Non-asymptotic Identification of LTI Systems from a Single Trajectorycited by 77
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
18 more
- 2020A Rigorous Framework for the Mean Field Limit of Multilayer Neural Networkscited by 68
- 2019Learning Linear Dynamical Systems with Semi-Parametric Least Squarescited by 58
- 2020Superpolynomial Lower Bounds for Learning One-Layer Neural Networks using Gradient Descentcited by 57
- 2021Model Extraction and Adversarial Transferability, Your BERT is Vulnerable!cited by 51
- 2020Statistical-Query Lower Bounds via Functional Gradientscited by 50
- 2021Defending against Model Stealing via Verifying Embedded External Featurescited by 44
- 2021Undistillable: Making A Nasty Teacher That CANNOT teach studentscited by 36
- 2023A New Approach to Learning Linear Dynamical Systemscited by 23
- 2023Stealing the Decoding Algorithms of Language Modelscited by 19
- 2016Prediction with a Short Memorycited by 13
- 2020Learning and Testing Junta Distributions with Subcube Conditioningcited by 13
- 2020Information Laundering for Model Privacycited by 13
- 2023Learning Hidden Markov Models Using Conditional Samplescited by 12
- 2019Nonparametric Finite Time LTI System Identificationcited by 11
- 2017Learning Overcomplete HMMscited by 9
- 2018Smoothed Analysis in Unsupervised Learning via Decouplingcited by 9
- 2014Minimal Realization Problems for Hidden Markov Modelscited by 7
- 2013On learning parametric-output HMMscited by 5
Built on by
Citing papers per year: 2025: 7; 2026: 2.
9 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 14
- 2025Sequences of Logits Reveal the Low Rank Structure of Language Modelscited by 8
- 2025Clone What You Can't Steal: Black-Box LLM Replication via Logit Leakage and Distillationcited by 3
- 2025Provably Learning from Modern Language Models via Low Logit Rankcited by 3
- 2025Provably Extracting the Features from a General Superpositioncited by 1
- 2025CryptoTensors: A Light-Weight Large Language Model File Format for Highly-Secure Model Distributioncited by 0
- 2026The Role of Generator Access in Autoregressive Post-Trainingcited by 0
- 2026Proofs of Ownership for Machine Learning Modelscited by 0
- 2026Proofs of Ownership for Machine Learning Models29 Jun 2026
- 2026The Role of Generator Access in Autoregressive Post-Training6 Apr 2026
- 2025Provably Extracting the Features from a General Superposition17 Dec 2025
- 2025Provably Learning from Modern Language Models via Low Logit Rank10 Dec 2025
- 2025CryptoTensors: A Light-Weight Large Language Model File Format for Highly-Secure Model Distribution4 Dec 2025
- 2025Sequences of Logits Reveal the Low Rank Structure of Language Models28 Oct 2025
- 2025Clone What You Can't Steal: Black-Box LLM Replication via Logit Leakage and Distillation31 Aug 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025