paper-with-me

Papers

Tuning Language Models by Proxy

2024-01-16 · Alisa Liu, Xiaochuang Han, Yizhong Wang, Yulia Tsvetkov, Yejin Choi, Noah A. Smith

Despite the general capabilities of large pretrained language models, they consistently benefit from further adaptation to better achieve desired behaviors. However, tuning these models has become increasingly resource-intensive, or impossible when model weights are private. We introduce proxy-tuning, a lightweight decoding-time algorithm that operates on top of black-box LMs to achieve the same end as direct tuning, but by accessing only its predictions over the output vocabulary, not its parameters. Our method tunes a smaller LM, then applies the difference between the predictions of the small tuned and untuned LMs to shift the original predictions of the larger untuned model in the direction of tuning, while retaining the benefits of larger-scale pretraining. In experiments, when we apply proxy-tuning to Llama2-70B using proxies of only 7B size, we can close 88% of the gap between Llama2-70B and its truly-tuned chat version, when evaluated across knowledge, reasoning, and safety benchmarks. We then demonstrate the generality of proxy-tuning by applying it to domain adaptation on code, and task-specific finetuning on question-answering and math problems. Finally, we show how to proxy-tune a truly black-box LM, GPT-3.5, for temporal adaptation, increasing its knowledge about recent events. Our work demonstrates the promise of using small tuned LMs to efficiently customize large, potentially proprietary LMs through decoding-time guidance.

📄 PDF Abstract BibTeX arXiv:2401.08565

Code (2)

alisawuffles/proxy-tuning 공식 구현 pytorch
ZHZisZZ/emulated-disalignment pytorch

Tasks

Domain AdaptationMathQuestion AnsweringTruthfulQA

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

CPT: Consistent Proxy Tuning for Black-box Optimization

2024-07-01 · Yuanyang He, Zitong Huang, Xinxing Xu, Rick Siow Mong Goh 외

Black-box tuning has attracted recent attention due to that the structure or inner parameters of advanced proprietary models are not accessible. Proxy-tuning provides a test-time output adjustment for tuning black-box la…

FedProxy: Federated Fine-Tuning of LLMs via Proxy SLMs and Heterogeneity-Aware Fusion

2026-04-21 · Tao Fan, Guoqiang Ma, Yuanfeng Song, Lixin Fan 외 arxiv

Federated fine-tuning of Large Language Models (LLMs) is obstructed by a trilemma of challenges: protecting LLMs intellectual property (IP), ensuring client privacy, and mitigating performance loss on heterogeneous data.…

LoFT: Local Proxy Fine-tuning For Improving Transferability Of Adversarial Attacks Against Large Language Model

2023-10-02 · Muhammad Ahmed Shah, Roshan Sharma, Hira Dhamyal, Raphael Olivier 외

It has been shown that Large Language Model (LLM) alignments can be circumvented by appending specially crafted attack suffixes with harmful queries to elicit harmful responses. To conduct attacks against private target …

Language ModelingLanguage ModellingLarge Language Model

ProxyLM: Predicting Language Model Performance on Multilingual Tasks via Proxy Models

2024-06-13 · David Anugraha, Genta Indra Winata, Chenyue Li, Patrick Amadeus Irawan 외

Performance prediction is a method to estimate the performance of Language Models (LMs) on various Natural Language Processing (NLP) tasks, mitigating computational costs associated with model capacity and data for fine-…

Language ModelingLanguage ModellingModel SelectionMultilingual NLP

Long-Context Reasoning Through Proxy-Based Chain-of-Thought Tuning

2026-04-06 · Miao Li, Irina Saparina, Alexander Gurung, Mirella Lapata arxiv

Recent large language models support inputs of up to 10 million tokens, yet they perform poorly on long-context tasks that require complex reasoning. Such tasks can be solved using only a subset of the input -- a proxy c…

Reinforcement Learning