paper-with-me

홈 › Papers

"Yes, My LoRD." Guiding Language Model Extraction with Locality Reinforced Distillation

2024-09-04 · Zi Liang, Qingqing Ye, Yanyun Wang, Sen Zhang, Yaxin Xiao, RongHua Li, Jianliang Xu, Haibo Hu

Model extraction attacks (MEAs) on large language models (LLMs) have received increasing attention in recent research. However, existing attack methods typically adapt the extraction strategies originally developed for deep neural networks (DNNs). They neglect the underlying inconsistency between the training tasks of MEA and LLM alignment, leading to suboptimal attack performance. To tackle this issue, we propose Locality Reinforced Distillation (LoRD), a novel model extraction algorithm specifically designed for LLMs. In particular, LoRD employs a newly defined policy-gradient-style training task that utilizes the responses of victim model as the signal to guide the crafting of preference for the local model. Theoretical analyses demonstrate that I) The convergence procedure of LoRD in model extraction is consistent with the alignment procedure of LLMs, and II) LoRD can reduce query complexity while mitigating watermark protection through our exploration-based stealing. Extensive experiments validate the superiority of our method in extracting various state-of-the-art commercial LLMs. Our code is available at: https://github.com/liangzid/LoRD-MEA .

📄 PDF Abstract BibTeX arXiv:2409.02718

Code (2)

liangzid/alignmentextraction 공식 구현 pytorch
liangzid/lord-mea 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingModel extraction

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Nonlocality-Reinforced Convolutional Neural Networks for Image Denoising

2018-03-06 · Cristóvão Cruz, Alessandro Foi, Vladimir Katkovnik, Karen Egiazarian

We introduce a paradigm for nonlocal sparsity reinforced deep convolutional neural network denoising. It is a combination of a local multiscale denoising by a convolutional neural network (CNN) based denoiser and a nonlo…

DenoisingImage Denoising

SQLord: A Robust Enterprise Text-to-SQL Solution via Reverse Data Generation and Workflow Decomposition

2025-07-14 · Song Cheng, Qiannan Cheng, Linbo Jin, Lei Yi 외 arxiv

Transforming natural language into SQL queries (NL2SQL) is crucial for data-driven business applications. Existing frameworks, trained on open-source datasets, struggle with complex business logic and lack domain-specifi…

Human-Free Automated Prompting for Vision-Language Anomaly Detection: Prompt Optimization with Meta-guiding Prompt Scheme

2024-06-26 · Pi-Wei Chen, Jerry Chun-Wei Lin, Jia Ji, Feng-Hao Yeh 외

Pre-trained vision-language models (VLMs) are highly adaptable to various downstream tasks through few-shot learning, making prompt-based anomaly detection a promising approach. Traditional methods depend on human-crafte…

Anomaly DetectionAnomaly SegmentationFew-Shot Learning

LORD: Low Rank Decomposition Of Monolingual Code LLMs For One-Shot Compression

2023-09-25 · Ayush Kaushal, Tejas Vaidhya, Irina Rish

Low Rank Decomposition of matrix - splitting a large matrix into a product of two smaller matrix offers a means for compression that reduces the parameters of a model without sparsification, and hence delivering more spe…

Code GenerationHumanEvalparameter-efficient fine-tuningQuantization

LoRDO: Distributed Low-Rank Optimization with Infrequent Communication

2026-02-04 · Andrej Jovanović, Alex Iacob, Mher Safaryan, Ionut-Vlad Modoranu 외 arxiv

Distributed training of foundation models via $\texttt{DDP}$ is limited by interconnect bandwidth. While infrequent communication strategies reduce synchronization frequency, they remain bottlenecked by the memory and co…