atlas

Research map / Large language models / Instruction and fine-tuning

BBox-Adapter: Lightweight Adapting for Black-Box Large Language Models

ICML 2024 · Large language models › Instruction and fine-tuning · approach: Low-rank adaptation variants · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes BBOX-ADAPTER, a 0.1B-0.3B energy-based adapter trained with a ranking-based NCE loss and online positive/negative sampling to adapt black-box LLMs (GPT-3.5-turbo, Mixtral-8x7B) without access to parameters or output probabilities.

Problem

Adapting state-of-the-art black-box LLMs such as GPT-3.5 and GPT-4 to specific tasks is hard because their parameters, embeddings, and output token probabilities are inaccessible, and fine-tuning APIs raise transparency, privacy, and cost concerns.

Approach

Treat black-box LLM adaptation as sampling from an energy-based model in which a small adapter reweights LLM outputs; train it with a ranking-based NCE loss (target data as positives, LLM generations as negatives) in an online loop where positives can come from ground truth, AI feedback, or both, and use the adapter to score sentence-level beam search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply BBOX-ADAPTER (Combined)gpt-3.5-turbo · StrategyQAaccuracy (%): +5.68Helped
apply BBOX-ADAPTER (Combined)gpt-3.5-turbo · GSM8Kaccuracy (%): +6.77Helped
apply BBOX-ADAPTER (Combined)gpt-3.5-turbo · TruthfulQATrue + Info (%): +6.60Helped
apply BBOX-ADAPTER (Combined)gpt-3.5-turbo · ScienceQAaccuracy (%): +6.50Helped
replace MLM loss with ranking-based NCE loss (ablation)BBOX-ADAPTER (0.1B) · StrategyQAaccuracy (%): 61.52 -> 71.62Helped
replace MLM loss with ranking-based NCE loss (ablation)BBOX-ADAPTER (0.3B) · StrategyQAaccuracy (%): 60.41 -> 71.18Helped
replace MLM loss with ranking-based NCE loss (ablation)BBOX-ADAPTER (0.1B) · GSM8Kaccuracy (%): 70.56 -> 72.06Helped
replace MLM loss with ranking-based NCE loss (ablation)BBOX-ADAPTER (0.3B) · GSM8Kaccuracy (%): 70.81 -> 73.86Helped
use combined ground-truth and AI-feedback positive samples instead of ground-truth samplesBBOX-ADAPTER · GSM8Kaccuracy (%): 73.86 -> 74.28Helped
increase beam size (ablation)BBOX-ADAPTER · StrategyQAaccuracy (%): +2.41%Helped
increase online adaptation iterations (ablation)BBOX-ADAPTER · StrategyQAaccuracy (%)Helped
apply BBOX-ADAPTER to Mixtral-8×7BMixtral-8×7B · StrategyQAaccuracy (%): +5.76%Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K StrategyQA TruthfulQA ScienceQA

Benchmarks: GSM8K StrategyQA TruthfulQA ScienceQA

Metrics: accuracy True+Info rate training cost ($) inference cost ($) VRAM (GiB)

Baselines: Chain-of-Thought Azure-SFT LoRA MLM loss gpt-3.5-turbo

Builds on: noise contrastive estimation supervised fine-tuning chain-of-thought LoRA proxy-tuning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy