Manuscript Offprint

arXiv:2610.17939

Sea-Net: A Small and Inherently Interpretable Neural Network for Time Series Classification

Ubaid Ur Rehman, Tanmoy Mondal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Traditional time-series classification methods often operate as black boxes, providing a class prediction without indicating which time point or time interval within the series led to that prediction. To improve temporal interpretability, MILLET (Multiple Instance Learning with Temporal Explanation), which combines an InceptionTime encoder with Conjunctive Pooling, provides both classification and temporal explanations. However, MILLET contains approximately 424 K parameters, making it unsuitable for deployment on resource-constrained micro-controllers, and it achieves an overall time-series accuracy of 0.888 and an explanation score of 0.681 NDCG@n. We therefore propose SEA-Net, a lightweight architecture using small multi-scale depthwise-separable convolutional TSC encoders and improved Multiple Instance Learning (MIL) pooling heads. Our SEA-Net bottleneck encoder with Top-k pooling achieves 0.931 accuracy and 0.765 NDCG@n with only 41 K parameters. Another variant, using a gated encoder with Top-k pooling, achieves 0.955 accuracy and 0.750 NDCG@n with 62 K parameters. These results demonstrate that lightweight architectures can maintain strong classification performance and temporal explanations while substantially reducing model size. The proposed variants address specific limitations of the pooling strategy used by MILLET, providing a practical direction for interpretable time-series classification on resource-constrained edge devices.

1 INTRODUCTION

Time Series Classification (TSC) assigns a label y∈{1,…,C}y \in \{1, \ldots, C\} to a univariate time series X=(x1,x2,…,xt)X = (x_1, x_2, \ldots, x_t), for example distinguishing a normal from an abnormal heartbeat recording, or a healthy from a faulty machine. Deep learning (DL) models solve this task well, and convolutional architectures in particular are its standard baselines. Accuracy alone is not enough in the applications that motivate this work, which impose three requirements at the same time. The first is accurate classification: the model must remain competitive with the strong convolutional baselines used in the TSC literature. The second is interpretable predictions: the model must show which time steps drove its decision, and this explanation must be part of the computation that produces the prediction itself, not a post-hoc approximation produced afterward by a separate tool. The third is a small parameter budget: the model must be small enough to be a realistic candidate for deployment on an edge device or a micro-controller unit (MCU), where memory is measured in hundreds of kilobytes.

We build on MILLET (Early et al., 2024; Dietterich et al., 1997), which performs TSC as a Multiple Instance Learning problem. In MIL a label is attached to a bag (Ilse et al., 2018) of instances, not to each instance. The whole time series and each time step are treated as the bag and the instances respectively, and only the bag-level label y is observed. This is exactly the structure of time series classification: the series as a whole is labeled, but only a few time steps carry the evidence; the abnormal beat in a long recording, the spike in a traffic trace. Treating the series as the bag and

∗^{*}Corresponding author.

Figure

Figure

Figure

Figure

Figure 1: The same WebTraffic series classified by three models. Each panel shows the predicted class and, its right side provides the explanation or interpretation of the prediction, given by the model. The red marks provide the evidence, supporting the predicted class at each time step. The “green shaded window” is the original ground truth of the time steps and was never used during training. MILLET (top) predicts the same class with 71 % confidence and does explain itself, but needs 424 K parameters. SEA-Net (bottom) is more confident, produces a sharper explanation, and uses 41 K parameters.

each time step as an instance turns interpretability into a MIL problem, recovering instance-level contributions from bag-level labels and so yielding interpretability alongside classification. MILLET provides both the time-series classification and a faithful built-in explanation.

But its InceptionTime (Ismail Fawaz et al., 2020) backbone needs about 423,707 parameters and 848 MFLOPs for one series of length 1008, so at 32-bit precision the weights alone take about 1.6 MB, which already exceeds the memory budget above, before activations, runtime or application code. Swapping MILLET's interpretable head for ordinary global average pooling on the same backbone removes only 1,041 of those parameters (Section C.1): the ability to explain itself costs a quarter of a percent of the model, and almost all of the cost is the encoder. This paper builds on that observation. Edge-oriented models fit micro-controllers (Banbury et al., 2021a; Jacob et al., 2018) but predict only a class label; to our knowledge no model meets all three requirements. Hence, we propose our Selective Evidence Aggregation Network (SEA-Net), an inherently interpretable architecture for time series classification. Both parts already exist — separable convolutions (Chollet, 2017; Howard et al., 2017), squeeze-and-expand bottlenecks (He et al., 2016; Iandola et al., 2016; Sandler et al., 2018) and k-max selection in MIL (Durand et al., 2016), and we claim none as new; what is new is their combination inside an interpretable MIL classifier. Our model has 41,324 parameters and 76.7 MFLOPs, 10.3× and 11.1× below MILLET. On WebTraffic, the one dataset whose ground truth marks the time steps carrying the class label, it beats MILLET on both jobs: accuracy 0.931 against 0.888 and NDCG@n 0.765 against 0.681 (Figure 1). Across the 85 UCR datasets, our method stays within two accuracy points of MILLET (Section 4.1). 1^{1} The following are our key contributions: i) A MIL encoder small enough to be a candidate for small devices (Section 3.2): multi-scale depthwise separable dilated convolutions with a bottlenecked pointwise mix, keeping the length unchanged so that the per-time-step interpretation is not lost. ii) Per-class Top-k conjunctive pooling (Section 3.3), which adds no parameters and becomes exactly the baseline head at κ=1\kappa = 1 (Property 2). This property is what makes the κ\kappa study of Section 4.1 a controlled experiment rather than a comparison of two different models. iii) A warning about the AOPCR measure (Section 4.1): AOPCR has no fixed scale, and with the architecture and the code held fixed it changes by 4.9×4.9\times when only the training budget changes, so we compare only against baselines we retrained ourselves.

1^{1}We reach 0.810 on the 85 UCR datasets against 0.827 for our re-run of MILLET using the authors’ released model and code, whose published figure is 0.845; the authors did not reply to our query about the gap.

References (32)

  • ATCN: Resource-efficient processing of time series on edge
  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
  • MLPerf tiny benchmark
  • MicroNets: Neural network architectures for deploying TinyML applications on commodity microcontrollers
  • The UCR time series archive
  • Solving the multiple instance problem with axis-parallel rectangles
  • WELDON: Weakly supervised learning of deep convolutional neural networks
  • Inherently interpretable time series classification via multiple instance learning
  • Multi-scale domain-adversarial multiple-instance CNN for cancer subtype classification with unannotated histopathological images
  • Deep residual learning for image recognition
  • MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
  • SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size (opens arXiv in a new tab)
  • Attention-based deep multiple instance learning
  • Batch normalization: Accelerating deep network training by reducing internal covariate shift
  • Deep learning for time series classification: A review
  • Inceptiontime: Finding AlexNet for time series classification
  • Quantization and training of neural networks for efficient integer-arithmetic-only inference
  • Cumulated gain-based evaluation of IR techniques
  • Adam: A method for stochastic optimization
  • Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning
  • MCUNet: Tiny deep learning on IoT devices
  • A unified approach to interpreting model predictions
  • why should I trust you?
  • Lightweight neural architecture search for temporal convolutional networks at the edge
  • Evaluating the visualization of what a deep neural network has learned
  • MobileNetV2: Inverted residuals and linear bottlenecks
  • Axiomatic attribution for deep networks
  • Revisiting multiple instance neural networks (opens the publisher in a new tab)
  • Time series classification from scratch with deep neural networks: A strong baseline
  • Abstracted shapes as tokens – a generalizable and interpretable model for time-series classification
  • Shedding light on time series classification using interpretability gated networks
  • Aggregated residual transformations for deep neural networks