mlsanityData to 7 Oct 2026

Model Stealing for Any Low-Rank Language Model

arXiv 2411.07536 ↗First posted 12 Nov 2024cs.LG cs.AI cs.DScited by 9

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  3. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  4. 2016Contextual Decision Processes with Low Bellman Rank are PAC-Learnablecited by 290
  5. 2024Stealing Part of a Production Language Modelcited by 152
  6. 2018Stealing Hyperparameters in Machine Learningcited by 115
  7. 2020Stealing Links from Graph Neural Networkscited by 114
  8. 2023Protecting Language Generation Models via Invisible Watermarkingcited by 81
  9. 2019Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attackscited by 79
  10. 2016Gradient Descent Learns Linear Dynamical Systemscited by 78
  11. 2018Non-asymptotic Identification of LTI Systems from a Single Trajectorycited by 77
  12. 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
18 more
  1. 2020A Rigorous Framework for the Mean Field Limit of Multilayer Neural Networkscited by 68
  2. 2019Learning Linear Dynamical Systems with Semi-Parametric Least Squarescited by 58
  3. 2020Superpolynomial Lower Bounds for Learning One-Layer Neural Networks using Gradient Descentcited by 57
  4. 2021Model Extraction and Adversarial Transferability, Your BERT is Vulnerable!cited by 51
  5. 2020Statistical-Query Lower Bounds via Functional Gradientscited by 50
  6. 2021Defending against Model Stealing via Verifying Embedded External Featurescited by 44
  7. 2021Undistillable: Making A Nasty Teacher That CANNOT teach studentscited by 36
  8. 2023A New Approach to Learning Linear Dynamical Systemscited by 23
  9. 2023Stealing the Decoding Algorithms of Language Modelscited by 19
  10. 2016Prediction with a Short Memorycited by 13
  11. 2020Learning and Testing Junta Distributions with Subcube Conditioningcited by 13
  12. 2020Information Laundering for Model Privacycited by 13
  13. 2023Learning Hidden Markov Models Using Conditional Samplescited by 12
  14. 2019Nonparametric Finite Time LTI System Identificationcited by 11
  15. 2017Learning Overcomplete HMMscited by 9
  16. 2018Smoothed Analysis in Unsupervised Learning via Decouplingcited by 9
  17. 2014Minimal Realization Problems for Hidden Markov Modelscited by 7
  18. 2013On learning parametric-output HMMscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 2.

9 papers.