Skip to main content
QUICK REVIEW

[论文解读] S-Rocket: Selective Random Convolution Kernels for Time Series Classification

Hojjat Salehinejad, Yang Wang|arXiv (Cornell University)|Mar 7, 2022
Machine Learning and ELMComputer Science被引用 18
一句话总结

本文提出 S-Rocket,一种选择性剪枝时间序列分类框架 Rocket 中冗余随机卷积核的方法,同时保持分类准确率。通过使用基于种群的优化算法识别最具信息量的卷积核,S-Rocket 平均将模型复杂度降低超过 60%,在某些情况下仅使用原始卷积核的 1% 即可实现相近性能。

ABSTRACT

Random convolution kernel transform (Rocket) is a fast, efficient, and novel approach for time series feature extraction using a large number of independent randomly initialized 1-D convolution kernels of different configurations. The output of the convolution operation on each time series is represented by a partial positive value (PPV). A concatenation of PPVs from all kernels is the input feature vector to a Ridge regression classifier. Unlike typical deep learning models, the kernels are not trained and there is no weighted/trainable connection between kernels or concatenated features and the classifier. Since these kernels are generated randomly, a portion of these kernels may not positively contribute in performance of the model. Hence, selection of the most important kernels and pruning the redundant and less important ones is necessary to reduce computational complexity and accelerate inference of Rocket for applications on the edge devices. Selection of these kernels is a combinatorial optimization problem. In this paper, we propose a scheme for selecting these kernels while maintaining the classification performance. First, the original model is pre-trained at full capacity. Then, a population of binary candidate state vectors is initialized where each element of a vector represents the active/inactive status of a kernel. A population-based optimization algorithm evolves the population in order to find a best state vector which minimizes the number of active kernels while maximizing the accuracy of the classifier. This activation function is a linear combination of the total number of active kernels and the classification accuracy of the pre-trained classifier with the active kernels. Finally, the selected kernels in the best state vector are utilized to train the Ridge regression classifier with the selected kernels.

研究动机与目标

  • 解决 Rocket 时间序列分类模型中的过参数化问题,即大量未训练的随机卷积核可能包含冗余或无效的核。
  • 在不牺牲分类性能的前提下,降低计算复杂度并加速边缘设备上的推理。
  • 通过组合优化方法,识别出维持高准确率的最小最优随机卷积核子集。
  • 开发一种适用于 Rocket 和 MiniRocket 的剪枝框架,实现资源受限系统上的高效部署。

提出的方法

  • 使用全部随机卷积核预训练完整的 Rocket 模型,以建立基线性能。
  • 初始化一组二值状态向量,其中每个元素表示一个卷积核是否处于激活状态(1)或非激活状态(0)。
  • 应用二值差分进化(BDE)优化算法演化种群,最小化激活卷积核的数量,同时最大化分类准确率。
  • 将适应度函数定义为激活卷积核数量与剪枝后卷积核集合上分类器准确率的线性组合。
  • 使用最优状态向量中选定的卷积核重新训练岭回归分类器,生成最终的 S-Rocket 模型。
  • 通过主成分分析(PCA)可视化和特征距离分析,在标准时间序列数据集上验证方法,确认剪枝后特征分布得以保留。

实验结果

研究问题

  • RQ1能否选择一个随机卷积核子集,使其分类准确率与完整 Rocket 模型相当?
  • RQ2通过剪枝,卷积核数量最多可减少多少,同时仍保持性能?
  • RQ3剪枝后模型的特征空间分布是否与原始模型保持接近?
  • RQ4所提出的优化框架能否有效应用于 Rocket 和 MiniRocket?

主要发现

  • S-Rocket 在平均剪枝超过 60% 的卷积核的同时,实现了与原始 Rocket 模型相当的分类性能。
  • 在某些数据集中,S-Rocket 仅使用原始卷积核的 1% 即可保持高准确率,展现出极高的效率。
  • Rocket 与 S-Rocket 提取的特征之间的归一化欧氏距离极小,表明剪枝后特征表示得以保留。
  • PCA 可视化显示,S-Rocket 中各类别的特征聚类与原始 Rocket 模型高度一致,证实了模型的鲁棒性。
  • S-Rocket 在所有测试数据集上的推理时间均持续低于 Rocket,证实了计算成本的降低。
  • 该方法可推广至 MiniRocket,S-MiniRocket 实现了类似的性能提升,表明其具有广泛适用性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。