用微调提示让大模型公平展现真实知识,不被格式要求误导。
Soft-Prompt Tuning for Fair and Efficient LLM Benchmark Evaluation
- 仅优化10个软提示向量,快速适配评测格式。
- 80步内达标,显著优于零样本和少样本提示。
- 适合评估基础模型,低成本预测后训练效果。
基准测试分数常因模型遵循特定格式的能力而失真,尤其惩罚了缺乏后训练格式能力的基础模型。为此,我们提出软提示微调,一种高效、公平且与架构无关的模型评估方法。通过在短周期内仅优化10个软提示向量(约70亿模型参数的0.0006%),使模型适配特定评测格式,弥合格式遵循差距,确保基准分数准确反映底层知识。我们在7个模型和7个数据集上验证该方法:(a) 软提示微调在80步(约640样本)内达到格式遵循饱和,效率极高;(b) 显著优于零样本和少样本提示,揭示出标准提示所遗漏的基础模型知识;(c) 即使已后训练模型也能通过软提示提升格式合规性;(d) 软提示基础模型表现更可靠地预测后训练模型排名,可作为下游模型质量的低成本代理。贡献包括:(1) 分离格式遵循与知识准确性的度量;(2) 更公平的LLM知识评估协议;(3) 低成本、低内存的早期预训练策略优选方案。
原文摘要 · Abstract (English)
Benchmark scores often misrepresent a large language model's (LLM's) knowledge, because they rely, e.g., on the model's ability to follow specific formatting requirements. This especially penalizes base models that may know the correct answers but lack the ability -- typically introduced in post-training -- to structure them as instructed. To overcome this, we propose soft-prompt tuning, an efficient, fair, and architecture-agnostic model evaluation. By optimizing only 10 soft-prompt vectors (roughly 0.0006% parameters for a 7B model) over a short tuning period, we adapt models to specific benchmark formats, closing gaps in format-following and ensuring that underlying knowledge is accurately reflected in benchmark scores. This allows one to fairly compare different base models -- trained with various pre-training recipes -- on benchmarks without the need for full post-training. We evaluated soft-prompt tuning across 7 models and 7 datasets. The results show that (a) soft-prompt tuning saturates format-following within 80 steps (~640 samples) making it highly efficient, (b) soft-prompt tuning significantly outperforms zero- and few-shot prompting, surfacing base model knowledge that standard prompting misses, that (c) even post-trained models can benefit from soft-prompts to maximize format compliance, and that (d) soft-prompted base model performance predicts post-trained model rankings more reliably than zero- and few-shot baselines, offering a low-cost proxy for downstream model quality. Our contributions include (1) metrics which disentangle format-following and knowledge accuracy, (2) a fairer benchmarking protocol of LLM knowledge, and (3) a cost- and memory-effective recipe to identify optimal pre-training strategies early in LLM development.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。