arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.09943cs.CL
收藏

最小化基于预训练语言模型(PLM)的少样本意图检测器

Minimizing PLM-Based Few-Shot Intent Detectors

The Hong Kong Polytechnic University(香港理工大学);Fano Labs(范诺实验室)

Haode Zhang, Albert Y. S. Lam, Xiao-Ming Wu

AI总结:

针对PLM基少样本意图检测器体积大、难在资源受限环境部署的问题,结合LLM数据增强、知识蒸馏与V-Prune词表剪枝,实现21倍内存压缩且性能基本不变。

摘要:

近期研究已证实,基于预训练语言模型(PLM)、利用有限标注数据训练高效意图检测器具备可行性。然而,这类检测器体积庞大,在移动设备等资源受限环境中部署面临挑战。本文旨在通过探索相关技术,缩小经少样本数据训练的PLM基意图检测器的体积,以解决该问题。具体而言,我们利用大语言模型(LLMs)进行数据增强,采用前沿的模型压缩方法实现知识蒸馏,并设计了一种名为V-Prune的词表剪枝机制。通过这些方法,我们成功将模型内存占用(包括Transformer层与词表)压缩至原来的1/21,同时在四个真实基准数据集上保持了几乎一致的性能水平。

英文摘要:

Recent research has demonstrated the feasibility of training efficient intent detectors based on pre-trained language model~(PLM) with limited labeled data. However, deploying these detectors in resource-constrained environments such as mobile devices poses challenges due to their large sizes. In this work, we aim to address this issue by exploring techniques to minimize the size of PLM-based intent detectors trained with few-shot data. Specifically, we utilize large language models (LLMs) for data augmentation, employ a cutting-edge model compression method for knowledge distillation, and devise a vocabulary pruning mechanism called V-Prune. Through these approaches, we successfully achieve a compression ratio of 21 in model memory usage, including both Transformer and the vocabulary, while maintaining almost identical performance levels on four real-world benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑