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.
Medical Multimodal Model Stealing Attacks via Adversarial Domain Alignment
Bosch Center for Artificial Intelligence(博世人工智能中心);Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Saarland University(萨尔大学);University of Strasbourg(斯特拉斯堡大学);IHU Strasbourg(斯特拉斯堡大学医院研究所);CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心)
CoreGuard: Safeguarding Foundational Capabilities of LLMs Against Model Stealing in Edge Deployment
School of Software Technology, Zhejiang University(浙江大学软件学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Ningbo Global Innovation Center, Zhejiang University(浙江大学宁波全球创新中心);Washington University in St. Louis(圣路易斯华盛顿大学);University of Science and Technology of China(中国科学技术大学);College of Computer Science and Technology, Zhejiang Normal University(浙江师范大学计算机科学与技术学院);China Electronics Technology Design and Research Institute(中国电子技术设计与研究院)
From Service Access to Capability Theft: Cloning Task-Solving Capabilities of Proprietary LLM Agents onto Weak Open-Weight Agents
Xi’an Jiaotong University(西安交通大学);INRIA(法国国家信息与自动化研究所);University of Warwick(华威大学);Zhejiang Key Laboratory of Artificial Intelligence of Things (AIoT) Network and Data Security(浙江省人工智能物联网(AIoT)网络与数据安全重点实验室)
Stealing Reasoning Traces from Proprietary LLM APIs
MATS Research(MATS研究院);ELLIS Institute Tübingen(图宾根ELLIS研究所);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Tübingen AI Center(图宾根人工智能中心);University of Tübingen(图宾根大学)
A Survey on Model Extraction Attacks and Defenses for Large Language Models
University of Notre Dame(圣约翰大学);Florida State University(佛罗里达州立大学);Northwestern University(西北大学);Duke University(杜克大学);University of Southern California(南加州大学)
Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languages
New Jersey Institute of Technology(新泽西理工学院);University of Georgia(佐治亚大学);University of Minnesota at Twin Cities(明尼苏达大学双城分校);Wake Forest University(维克森林大学);Cisco Research(思科研究院)
An Explainable Transformer-based Model for Phishing Email Detection: A Large Language Model Approach
Department of Computer Science and Engineering, BGC Trust University Bangladesh(Bangladesh BGC Trust 大学 计算机科学与工程系);Department of Computer Science and Engineering, International Islamic University Chittagong(Bangladesh 国际伊斯兰大学 昌德加荣分校 计算机科学与工程系);Centre for Securing Digital Futures, School of Science, Edith Cowan University(澳大利亚 埃德温·考文大学 科学学院 安全数字未来中心)
HFIPS, Chinese Academy of Sciences(中国科学院合肥物质科学研究院);University of Science and Technology of China(中国科学技术大学);University of Chicago(芝加哥大学);Carnegie Mellon University(卡内基梅隆大学)
Multimodal Generative Engine Optimization: Rank Manipulation for Vision-Language Model Rankers
Georgetown University(乔治城大学);University of Southern California(南加州大学);University of Maryland, College Park(马里兰大学学院公园分校);Arizona State University(亚利桑那州立大学)
Adaptive Feature-based Low-Rank Compression of Large Language Models via Bayesian Optimization
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Huawei Cloud, China(华为云);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))
Language Ranker: A Lightweight Ranking framework for LLM Decoding
State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(一般人工智能国家重点实验室,智能科学与技术学院,北京大学);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学);MIT CSAIL, MA, USA(MIT CSAIL,马萨诸塞州,美国);Microsoft Research Asia(微软亚洲研究院)
ASU at TextGraphs 2019 Shared Task: Explanation ReGeneration using Language Models and Iterative Re-Ranking
Arizona State University(亚利桑那州立大学)
在这项工作中,我们描述了来自亚利桑那州立大学自然语言处理小组的TextGraphs 2019共享任务的系统。该任务的重点是解释再生,这是在大型图上进行一般多跳推理的中间步骤。我们的方法包括建模的解释再生任务作为一个\textit{learning to rank}问题,我们使用最先进的语言模型和探索数据集准备技术。我们利用一个迭代的重新排名为基础的方法,以进一步提高排名。我们的系统在测试集上以41.3%的平均精度(MAP)获得了任务的第二名。
LOST: Low-rank and Sparse Pre-training for Large Language Models
University of Surrey(塞维利亚大学);University of Oxford(牛津大学);Sun Yat-sen University(中山大学);Bytedance(字节跳动);Alibaba Group(阿里巴巴集团);University of Exeter(埃克塞特大学)