[Paper Review] A 1d convolutional network for leaf and time series classification
This paper proposes a 1D convolutional neural network (1D-CNN) that classifies plant leaves using only the centroid contour distance curve (CCDC) as input, achieving state-of-the-art performance comparable to methods using multiple handcrafted features. The model acts as both an end-to-end classifier and a universal feature extractor, with strong generalization to 1D time series classification, validated through benchmark datasets and interpretability techniques like Grad-CAM.
In this paper, a 1d convolutional neural network is designed for classification tasks of plant leaves. This network based classifier is analyzed in two directions. In the forward direction, the proposed network can be used in two ways: a classifier and an automatic feature extractor. As a classifier, it takes the simple centroid contour distance curve as the single feature and achieves comparable performance with state-of-art methods that usually require multiple extracted features. As a feature extractor, it produces nearly linear separable features, hence can be used together with other classifiers such as support vector machines to provide better performance. The proposed network adopts simple 1d input and is generally applicable for other tasks such as classifying one dimensional time series in an end-to-end fashion without changes. Experiments on some benchmark datasets show this architecture can provide classification accuracies that are comparable or higher than some existing methods. In the backward direction, methods like gradient-weighted class activation mapping and maximum activation map of neurons in the classification layer with respect to inputs are performed to help investigate and further validate that hidden signatures helping trigger the trained classifier's specific decisions can be human interpretable. Code for the paper is available at https://github.com/dykuang/Leaf_Project.
Motivation & Objective
- To develop a simple, end-to-end 1D-CNN classifier for plant leaf recognition using minimal, easily extractable features like the CCDC.
- To evaluate whether a single, low-dimensional shape descriptor (CCDC) can achieve high classification accuracy when paired with deep learning.
- To demonstrate the model's generalizability beyond leaf classification by applying it to diverse 1D time series datasets.
- To enable interpretability of model decisions using visualization techniques such as gradient-weighted class activation mapping (Grad-CAM).
- To provide a universal feature extractor that enhances performance when combined with downstream classifiers like SVM or kNN.
Proposed method
- The model uses a 1D convolutional neural network architecture with multiple convolutional and pooling layers to process the 1D CCDC feature sequence.
- The input is a single, simple 1D feature—centroid contour distance curve (CCDC)—derived from leaf shape, avoiding complex feature engineering.
- The network is trained in an end-to-end fashion, allowing direct classification from raw CCDC input without additional preprocessing.
- For feature extraction, the network's intermediate layers are used to generate nearly linear-separable features that improve downstream classifier performance.
- Interpretability is achieved via gradient-weighted class activation mapping (Grad-CAM) and activation maximization to visualize which input regions trigger specific predictions.
- The same architecture is applied to four UEA & UCR time series datasets without architectural changes, demonstrating generalization to 1D sequence tasks.
Experimental results
Research questions
- RQ1Can a 1D CNN achieve high accuracy in leaf classification using only the CCDC as input, without relying on multiple handcrafted features?
- RQ2Does the 1D-CNN learn discriminative, human-interpretable patterns from the CCDC input that correspond to meaningful biological or shape-level distinctions?
- RQ3Can the trained 1D-CNN serve as a universal feature extractor that improves performance when combined with traditional classifiers like SVM or kNN?
- RQ4How well does the 1D-CNN generalize to other 1D time series classification tasks beyond leaf classification?
- RQ5To what extent can visualization techniques like Grad-CAM and activation maps reveal the decision-making process of the network?
Key findings
- On the UCI 100-leaf dataset, the 1D-CNN achieved 73.99% ± 3.72% accuracy using only the CCDC feature, outperforming methods that rely on multiple features.
- When combined with SVM, the 1D-CNN achieved 99.43% ± 0.62% accuracy on the full 3-feature input, surpassing the best-reported methods on this benchmark.
- The 1D-CNN achieved 99.77% accuracy on the ChlorineConcentration time series dataset, exceeding the previously reported best method (SVM-Q at 84.57%).
- On the InsectWingbeatSound dataset, the model reached 76.61% accuracy, outperforming the best-reported method (RF at 63.89%).
- The model achieved 94.34% accuracy on ElectricDevices and 71.22% on DistalPhalanXTW, both exceeding the respective best-reported results.
- Visualization techniques confirmed that the network learns meaningful, localized patterns in the CCDC that correlate with class-discriminative features, enhancing model interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.