压缩大模型比从头训练小模型更可信,量化效果优于剪枝。
Benchmarking Trustworthiness of SLMs: Pre-trained vs. Compressed

- 用量化压缩可靠大模型,比剪枝更保信任度。
- 量化压缩的小微模比从头训练的更可信、适应性更强。
- 从可信教师模型蒸馏可进一步提升小模型可靠性。
小型语言模型(SLMs)作为传统大语言模型(LLMs)的高效替代,在资源受限场景中展现出潜力。当前构建SLMs主要分两条路径:从头训练紧凑模型,或通过剪枝、量化、蒸馏等方法压缩预训练大模型。随着语言模型日益融入实际应用,其可信性成为关键问题。本文首次对SLMs在公平性、鲁棒性、隐私和伦理等多维度的可信性进行系统评估。结果表明,量化相比剪枝更能有效保持可信性;更重要的是,通过量化压缩可靠的大型模型所生成的SLMs,其可信性和适应性均优于从头训练的小模型。此外,从可信教师模型进行知识蒸馏可进一步增强小模型的可靠性。研究为可信SLMs的开发与部署提供实践指导与基础。
原文摘要 · Abstract (English)
Small Language Models (SLMs) have emerged as a more efficient alternative to traditional Large Language Models (LLMs), offering promising potential in resource-constrained scenarios. Existing approaches to building SLMs typically follow two paths: training compact models from scratch, or compressing larger pre-trained models using methods such as pruning, quantization, or distillation. As language models become increasingly integrated into real-world applications, ensuring their trustworthiness has become a critical concern. However, how to build trustworthy SLMs remains an underexplored question. In this work, we present a comprehensive evaluation of SLM trustworthiness across multiple dimensions, including fairness, robustness, privacy, and ethics. We first examine the effects of pruning and quantization, and find that quantization is significantly more effective in preserving trustworthiness compared to pruning. More importantly, we demonstrate that compressing a reliable large model via quantization can produce SLMs with superior trustworthiness and adaptability compared to using small models trained from scratch. Furthermore, knowledge distillation from trustworthy teacher models can further enhance the reliability of SLMs. We hope our findings provide practical guidance and a foundation for future research into the development and deployment of trustworthy small language models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。