atlas

Research map / Large language models / Retrieval and knowledge

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

AAAI 2025 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 11 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 BLADE, which pairs a black-box general LLM with a small (<3B) domain-specific LM trained via domain pretraining, knowledge instruction tuning from LLM-generated knowledge, and Bayesian prompt optimization over soft prompts, improving zero-shot legal and medical QA accuracy.

Problem

General LLMs lack domain-specific knowledge for vertical domains like law and medicine, while continued pretraining is costly and requires weight access, and retrieval augmentation is unreliable.

Approach

Treat the general LLM as a black box and train a small domain LM to generate question-specific knowledge that the black-box LLM consumes as context; the small LM is trained with domain pretraining, consistency-filtered knowledge instruction tuning, and derivative-free Bayesian optimization of soft prompts through the black-box LLM's accuracy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add BLADEChatGLM2-6B · JEC-QA Allaccuracy: 25.32 -> 28.01Helped
Add BLADEChatGPT · CaseHOLDaccuracy: 62.58 -> 64.78Helped
Add BLADEBaichuan2-13B-Chat · MLEC-QAaccuracy: 58.98 -> 61.62*; 54.39 -> 58.79**; 57.92 -> 63.80**; 50.39 -> 57.84**; 54.87 -> 57.34*Helped
Add domain-specific pretraining to BLOOMZ_1b7 (ablation)ChatGLM2-6B with BLOOMZ_1b7 · JEC-QA Allaccuracy: 23.89 -> 24.85Helped
Add Knowledge Instruction Tuning after domain-specific pretraining (ablation)ChatGLM2-6B with BLOOMZ_1b7 · JEC-QA Allaccuracy: 24.85 -> 26.23Helped
Add Bayesian Prompted Optimization after domain-specific pretraining and Knowledge Instruction Tuning (ablation)ChatGLM2-6B with BLOOMZ_1b7 · JEC-QA Allaccuracy: 26.23 -> 28.01Helped
Use BLOOMZ_560m instead of BLOOMZ_1b7 (ablation)ChatGLM2-6B with BLADE · JEC-QA Allaccuracy: 28.01 -> 26.47Hurt
Use BLOOMZ_1b1 instead of BLOOMZ_1b7 (ablation)ChatGLM2-6B with BLADE · JEC-QA Allaccuracy: 28.01 -> 27.13Hurt

Surprising findings

Limitations

Experimental setup

Datasets: JEC-QA CaseHOLD MLEC-QA MultiLegalPile

Benchmarks: JEC-QA CaseHOLD MLEC-QA

Metrics: accuracy relative gain %

Baselines: ChatGLM-6B ChatGLM2-6B Qwen-7B-Chat Baichuan2-13B-Chat ChatGPT LawyerLLaMA ChatLaw-33B Zhongjing Taiyi M3E-base retrieval augmentation

Builds on: retrieval augmentation CMA-ES BLOOMZ

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