JOURNAL ARTICLE

BLADE: Enhancing Black-Box Large Language Models with Small Domain-Specific Models

Haitao LiQingyao AiJia ChenQian DongZhijing WuYiqun Liu

Year: 2025 Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Vol: 39 (23)Pages: 24422-24430   Publisher: Association for the Advancement of Artificial Intelligence

Abstract

Large Language Models (LLMs) like ChatGPT and GPT-4 are versatile and capable of addressing open-domain question-answering(QA) tasks effectively. However, general LLMs, which are developed on open-domain data, may lack the domain-specific knowledge essential for tasks in vertical domains, such as legal, medical, etc. To address this issue, previous approaches either conduct continuous pre-training with domain-specific data or employ retrieval augmentation to support general LLMs in handling QA tasks. Unfortunately, these strategies are either cost-intensive or unreliable in practical applications. To this end, we present a novel framework named BLADE, which enhances Black-box LArge language models with small Domain-spEcific models. BLADE consists of a black-box LLM and a small domain-specific LM. The small LM preserves domain-specific knowledge and offers specialized insights, while the general LLM contributes robust language comprehension and reasoning capabilities. Specifically, our method involves three steps: 1) pre-training the small LM with domain-specific data, 2) fine-tuning this model using knowledge instruction data, and 3) joint Bayesian optimization of the general LLM and the small LM. In our experiments, we verify the effectiveness of BLADE on diverse LLMs and datasets across different domains. This shows the potential of BLADE as an effective and cost-efficient solution in adapting general LLMs for vertical domains.

Keywords:
Black box Box model Domain (mathematical analysis) Computer science Domain-specific language Language model Blade (archaeology) Natural language processing Artificial intelligence Engineering Mathematics Geology Programming language Mechanical engineering

Metrics

4
Cited By
12.86
FWCI (Field Weighted Citation Impact)
0
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

BOOK-CHAPTER

Enhancing Domain-Specific Interactions in Large Language Models

Dimitrios P. PanagouliasGeorge A. TsihrintzisMaria Virvou

Learning and analytics in intelligent systems Year: 2025 Pages: 181-210
JOURNAL ARTICLE

Black-Box Steganography for Large Language Models

Xinxin LiZichi WangXinpeng Zhang

Journal:   IEEE Transactions on Circuits and Systems for Video Technology Year: 2025 Vol: 35 (11)Pages: 11698-11707
JOURNAL ARTICLE

Enhancing programming productivity through domain specific code generation with large language models

Aatishkumar DhamiDinesh Kumar

Journal:   International Journal of Research in all Subjects in Multi Languages Year: 2025 Vol: 13 (3)Pages: 108-126
© 2026 ScienceGate Book Chapters — All rights reserved.