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

在边缘计算设备上进行时序数据分析的基于LLM的知识剪枝

LLM-based Knowledge Pruning for Time Series Data Analytics on Edge-computing Devices

Ruibing Jin, Qing Xu, Min Wu, Yuecong Xu, Dan Li, Xiaoli Li, Zhenghua Chen

AI总结:

针对边缘设备难以承载完整LLM的问题,提出知识剪枝范式,仅蒸馏与下游时序任务相关的知识到轻量模型,且训练测试均无需加载LLM。

摘要:

受限于时序数据的规模和多样性,在时序数据上训练的神经网络往往会过拟合,并表现出不尽如人意的性能。相比之下,大语言模型(LLM)近来在多个不同领域展现出令人瞩目的泛化能力。尽管已有大量基于LLM的方法被提出用于时序任务,但这些方法在训练和推理时都需要加载完整的LLM。这种高昂的计算需求限制了其在资源受限场景中的实际应用,例如边缘计算和IoT设备。为解决这一问题,本文提出了知识剪枝(Knowledge Pruning,KP),一种用于时序学习的新型范式。对于特定的下游任务,我们认为LLM学到的世界知识存在大量冗余,只有被称为“相关知识”的知识才是有用的。与其他方法不同,我们的KP旨在剪枝冗余知识,并且只将相关知识蒸馏到目标模型中。这显著减小了模型规模并降低了计算成本。此外,与现有基于LLM的方法不同,我们的KP在训练和测试过程中都不需要加载LLM,进一步减轻了计算负担。借助所提出的KP,轻量级网络能够有效学习相关知识,以较低的计算成本取得令人满意的性能。为验证KP的有效性,我们在实验中研究了边缘计算设备上的两个基础任务,并使用八个具有不同网络的多样化环境或基准来验证KP的泛化能力。实验表明,KP能够有效学习相关知识,在回归任务(平均提升19.7%)和分类任务(最高提升13.7%)中取得显著性能改进,展现出最先进的结果。

英文摘要:

Limited by the scale and diversity of time series data, the neural networks trained on time series data often overfit and show unsatisfacotry performances. In comparison, large language models (LLMs) recently exhibit impressive generalization in diverse fields. Although massive LLM based approaches are proposed for time series tasks, these methods require to load the whole LLM in both training and reference. This high computational demands limit practical applications in resource-constrained settings, like edge-computing and IoT devices. To address this issue, we propose Knowledge Pruning (KP), a novel paradigm for time series learning in this paper. For a specific downstream task, we argue that the world knowledge learned by LLMs is much redundant and only the related knowledge termed as "pertinent knowledge" is useful. Unlike other methods, our KP targets to prune the redundant knowledge and only distill the pertinent knowledge into the target model. This reduces model size and computational costs significantly. Additionally, different from existing LLM based approaches, our KP does not require to load the LLM in the process of training and testing, further easing computational burdens. With our proposed KP, a lightweight network can effectively learn the pertinent knowledge, achieving satisfactory performances with a low computation cost. To verify the effectiveness of our KP, two fundamental tasks on edge-computing devices are investigated in our experiments, where eight diverse environments or benchmarks with different networks are used to verify the generalization of our KP. Through experiments, our KP demonstrates effective learning of pertinent knowledge, achieving notable performance improvements in regression (19.7% on average) and classification (up to 13.7%) tasks, showcasing state-of-the-art results.

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

↑