CombLM: Adapting Black-Box Language Models through Small Fine-Tuned Models
Aitor Ormazabal, Mikel Artetxe, Eneko Agirre
Abstract
Methods for adapting language models (LMs) to new tasks and domains have traditionally assumed white-box access to the model, and work by modifying its parameters. However, this is incompatible with a recent trend in the field, where the highest quality models are only available as black-boxes through inference APIs. Even when the model weights are available, the computational cost of fine-tuning large LMs can be prohibitive for most practitioners. In this work, we present a lightweight method for adapting large LMs to new domains and tasks, assuming no access to their weights or intermediate activations. Our approach fine-tunes a small white-box LM and combines it with the large black-box LM at the probability level through a small network, learned on a small validation set. We validate our approach by adapting a large LM (OPT-30B) to several domains and a downstream task (machine translation), observing improved performance in all cases, of up to 9%, while using a domain expert 23x smaller.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Advanced Black-Box Tuning of Large Language Models with Limited API Calls cites LoRA: Low-Rank Adaptation of Large Language Models
- Generalized and Personalized Federated Learning with Black-Box Foundation Models via Orthogonal Transformations cites LoRA: Low-Rank Adaptation of Large Language Models
- Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching cites LoRA: Low-Rank Adaptation of Large Language Models
- HYDRA: Model Factorization Framework for Black-Box LLM Personalization cites LoRA: Low-Rank Adaptation of Large Language Models
- HYDRA: Model Factorization Framework for Black-Box LLM Personalization cites MedAdapter: Efficient Test-Time Adaptation of Large Language Models Towards Medical Reasoning
- HYDRA: Model Factorization Framework for Black-Box LLM Personalization cites Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
- MedAdapter: Efficient Test-Time Adaptation of Large Language Models Towards Medical Reasoning cites LoRA: Low-Rank Adaptation of Large Language Models
Cited by top-tier papers12
- HYDRA: Model Factorization Framework for Black-Box LLM PersonalizationYuchen Zhuang, Haotian Sun, Yue Yu, Rushi Qiang et al.NeurIPS 2024 · 79 citations
- Universal Cross-Tokenizer Distillation via Approximate Likelihood MatchingBenjamin Minixhofer, Ivan Vulic, Edoardo Maria PontiNeurIPS 2025 · 48 citations
- MedAdapter: Efficient Test-Time Adaptation of Large Language Models Towards Medical ReasoningWenqi Shi, Ran Xu, Yuchen Zhuang, Yue Yu et al.EMNLP 2024 · 7 citations
- Advanced Black-Box Tuning of Large Language Models with Limited API CallsZhikang Xie, Weilin Wan, Peizhu Gong, Weizhong Zhang et al.AAAI 2026 · 1 citation
- Generalized and Personalized Federated Learning with Black-Box Foundation Models via Orthogonal TransformationsEun Gyung Kong, Je Won Yeom, Yonghoon Jeon, Taesup KimCVPR 2026 · 1 citation
Builds on7
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
- Prompting Large Language Model for Machine Translation: A Case StudyBiao Zhang, Barry Haddow, Alexandra BirchICML 2023 · 402 citations
- Don't Stop Pretraining: Adapt Language Models to Domains and TasksSuchin Gururangan, Ana Marasovic, Swabha Swayamdipta, Kyle Lo et al.ACL 2020 · 93 citations
- BLEURT: Learning Robust Metrics for Text GenerationThibault Sellam, Dipanjan Das, Ankur P. ParikhACL 2020 · 40 citations
Related papers
- BBox-Adapter: Lightweight Adapting for Black-Box Large Language ModelsHaotian Sun, Yuchen Zhuang, Wei Wei, Chao Zhang et al.ICML 2024 · 8 citations
- Black-Box Tuning of Vision-Language Models with Effective Gradient ApproximationZixian Guo, Yuxiang Wei, Ming Liu, Zhilong Ji et al.EMNLP Findings 2023 · 5 citations
- LLM-wrapper: Black-Box Semantic-Aware Adaptation of Vision-Language Models for Referring Expression ComprehensionAmaia Cardiel, Eloi Zablocki, Elias Ramzi, Oriane Siméoni et al.ICLR 2025
- Modality-Agnostic Zeroth-Order LoRA Fine-Tuning for Black-Box Prompt OptimizationXingchen Li, Jia Zhang, Tianxing Man, Wenkang Wang et al.KDD 2026
- Logits are All We Need to Adapt Closed ModelsGaurush Hiranandani, Haolun Wu, Subhojyoti Mukherjee, Sanmi KoyejoICML 2025
