POCKET: Pruning Random Convolution Kernels for Time Series Classification from a Feature Selection Perspective

Shaowu Chen, Weize Sun, Lei Huang, Xiaopeng Li, Qingyuan Wang +1 more
9/15/2023
16 citations
cs.LGcs.AI

Official code: ShaowuChen/POCKET (6 stars, Python, last commit 2024-12-20).

Abstract

In recent years, two competitive time series classification models, namely, ROCKET and MINIROCKET, have garnered considerable attention due to their low training cost and high accuracy. However, they rely on a large number of random 1-D convolutional kernels to comprehensively capture features, which is incompatible with resource-constrained devices.

Show full abstract

Despite the development of heuristic algorithms designed to recognize and prune redundant kernels, the inherent time-consuming nature of evolutionary algorithms hinders efficient evaluation. To efficiently prune models, this paper eliminates feature groups contributing minimally to the classifier, thereby discarding the associated random kernels without direct evaluation. To this end, we incorporate both group-level ($l_{2,1}$-norm) and element-level ($l_2$-norm) regularizations to the classifier, formulating the pruning challenge as a group elastic net classification problem. An ADMM-based algorithm is initially introduced to solve the problem, but it is computationally intensive. Building on the ADMM-based algorithm, we then propose our core algorithm, POCKET, which significantly speeds up the process by dividing the task into two sequential stages. In Stage 1, POCKET utilizes dynamically varying penalties to efficiently achieve group sparsity within the classifier, removing features associated with zero weights and their corresponding kernels. In Stage 2, the remaining kernels and features are used to refit a $l_2$-regularized classifier for enhanced performance. Experimental results on diverse time series datasets show that POCKET prunes up to 60% of kernels without a significant reduction in accuracy and performs 11$\times$ faster than its counterparts. Our code is publicly available at https://github.com/ShaowuChen/POCKET.

View on arXivView PDF

Code Implementations(1)

ShaowuChen/POCKETOfficial100%

Code for the paper "POCKET: Pruning Random Convolution Kernels for Time Series Classification from a Feature Selection Perspective'"

60PythonJul 10, 20231 years ago

Similar Papers

Cite this paper

@article{chen2023pocket,
  title  = {POCKET: Pruning Random Convolution Kernels for Time Series Classification from a Feature Selection Perspective},
  author = {Shaowu Chen and Weize Sun and Lei Huang and Xiaopeng Li and Qingyuan Wang and Deepu John},
  year   = {2023},
  eprint = {2309.08499},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.08499v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.08499.svg)](https://codeofpaper.com/paper/2309.08499)

Discussion