Adaptive Template Reconstruction for Effective Pattern Classification
<p>The proposed I-ATR approach.</p> "> Figure 2
<p>Training set matrix <math display="inline"><semantics><mrow><msub><mrow><mi>T</mi></mrow><mrow><mi>n</mi><mo>,</mo><mi>i</mi><mo>,</mo><mi>l</mi></mrow></msub></mrow></semantics></math> where <math display="inline"><semantics><mrow><mn>1</mn><mo>≤</mo><mi>n</mi><mo>≤</mo><mi>N</mi><mo>,</mo><mn>1</mn><mo>≤</mo><mi>i</mi><mo>≤</mo><mi>I</mi><mo>(</mo><mi>n</mi><mo>)</mo><mo>,</mo><mn>1</mn><mo>≤</mo><mi>l</mi><mo>≤</mo><mi>L</mi></mrow></semantics></math>.</p> "> Figure 3
<p>An illustrative display of the images before and after performing the I-ATR transformation. Two random training samples (<span class="html-italic">T</span>) from each class are included for visual comparisons. The non-contributing patterns of the images were automatically ignored in the reconstructed <span class="html-italic">T”</span> and <span class="html-italic">Q’</span> samples.</p> "> Figure 4
<p>Comparison of reconstructed templates and queries. When the test attempts are from different classes, the resulting image is not recognizable and is hence rejected by the I-ATR classifier.</p> "> Figure 5
<p>A few random samples from the CIFAR-10 dataset.</p> "> Figure 6
<p>The overall architecture of the employed CNN for the NN-based feature extraction. The final fully connected layer produces a vector of size 10.</p> "> Figure 7
<p>Preliminary tests for optimizing <span class="html-italic">P</span>%. The analysis was carried out by dividing the training set into six roughly equal size portions and the preserved data for training were incrementally tested.</p> "> Figure 8
<p>Average recognition performances with three algorithms, using the MM/I database with 105 subjects. The SVM with second-order polynomial kernel and 1-NN are optimized for this scenario.</p> "> Figure 9
<p>DET curves of three learning algorithms, using the MM/I database with 105 subjects.</p> "> Figure 10
<p>CMC curves of the three learning algorithms, using the Mobile Sensor database, captured from 30 subjects using a single EEG sensor.</p> "> Figure 11
<p>DET curves of three learning algorithms, using the MSD with 30 subjects.</p> "> Figure 12
<p>Original template patterns. Class 1 and Class 2 indicate features of the two classes.</p> "> Figure 13
<p>New training set patterns after Training Phase. Class 1 and Class 2 indicate features of the two classes.</p> "> Figure 14
<p>Illustration of the Phase 2 process of the I-ATR algorithm using only the first 2-dimensions of the feature vector for a 2-class problem, where the query Q is from Class 1. (<b>a</b>) T and Q are biased for Class 1. (<b>b</b>) T and Q are biased for Class 2. (<b>c</b>) The training-query features for the two-class scenario merged together. (<b>d</b>) The classification outcome.</p> "> Figure 15
<p>Comparative analysis of FASHION-MNIST and CIFAR-10 datasets using boxplots; each column was generated using 100 tests. The impacts of parameter <span class="html-italic">K</span> and recognition time on classification rate are illustrated.</p> "> Figure 16
<p>The impact of parameter <span class="html-italic">K</span> on classification rate for CIFAR-100 with 100 image classes. Each boxplot was generated from 100 tests.</p> ">
Abstract
:1. Introduction
- (1)
- A novel instance-based template reconstruction algorithm is proposed for pattern recognition. The algorithm is divided into two phases: Phase I is designed to generate a training set with improved quality for pattern recognition by maximizing the between-class separation. Phase II is designed to further optimize the recognition process. The key innovation of the algorithm is to adaptively modify the training and the probe templates to ensure best use of the available date for establishing the correct class for each matching action. The proposed method can achieve good classification performance by leveraging only a small amount of training data.
- (2)
- The proposed method is found to perform robustly across two popular benchmarking image databases, showing its effectiveness in image classification. For the more challenging classification problem of non-stationary time-series data, the proposed algorithm has also been tested and found to be effective for EEG signal classification, indicating its versatility for wider applications.
2. Instance-Based Template Regeneration
2.1. Data Structure
2.2. Phase 1 (Training Phase)
2.3. Phase 2 (Matching Phase)
3. Case Study Evaluations
3.1. Image Data Classifications
3.1.1. Evaluation Using Greyscale Images
3.1.2. Evaluation Using Color Image Data
3.1.3. Comparison with the State-of-the-Art Results
3.2. Classification of 1D Time-Series Data
3.2.1. Evaluation Using MM/I Dataset for Person Recognition
- (1)
- EEG signals were segmented into multiple 4 s overlapping windows (50% overlapping).
- (2)
- The wavelet packet decomposition (WPD) [21] was carried out for each time-domain window up to level 3. The resulting level 3 wavelet coefficients between 0 and 60 Hz were extracted (each approximately corresponds to a bandwidth of 10 Hz).
- (3)
- The variance in the wavelet coefficients in each window was used as the feature.
- (4)
- The I-ATR algorithm was then invoked for the template generation and classification process.
Parameter Optimization
Person Identification for MM/I
Person Verification for MM/I
3.2.2. Performance Using Mobile Sensor Database
- (1)
- Data were captured using a gaming-grade single dry electrode, positioned at Fp1, designed for ease of deployment (NeuroSky MindWave [25]).
- (2)
- Data were collected from 30 individuals (age ranges from 21 to 55).
- (3)
- Participants were required to engage in a simple sub-vocal number-counting activity (with eyes closed), i.e., the subject sat in a silent room counting numbers, while EEG data were recorded.
- (4)
- Data were collected in two sessions, with the time interval between the sessions ranging from three to eight weeks.
Longitudinal Template Ageing Effect
Identification Scenario Using MSD
Verification Scenario Using MSD
4. Discussion
4.1. Visualization of Feature-Space Transformation
4.2. Computational Efficiency Analysis
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Pedro, D. A few useful things to know about machine learning. Commun. ACM 2012, 55, 78–87. [Google Scholar] [CrossRef] [Green Version]
- Tarvainen, M.; Hiltunen, J.; Ranta-Aho, P.; Karjalainen, P. Estimation of Nonstationary EEG With Kalman Smoother Approach: An Application to Event-Related Synchronization (ERS). IEEE Trans. Biomed. Eng. 2004, 51, 516–524. [Google Scholar] [CrossRef] [PubMed]
- Daelemans, W.; Van den Bosch, A. Memory-Based Language Processing; Cambridge University Press: Cambridge, UK, 2005. [Google Scholar] [CrossRef]
- Hendrickx, I.; Den Van Bosch, A. Hybrid Algorithms with Instance-Based Classification. In Machine Learning: ECML 2005, Proceedings of the 16th European Conference on Machine Learning, Porto, Portugal, 3–7 October 2005; Gama, J., Camacho, R., Brazdil, P.B., Jorge, A.M., Torgo, L., Eds.; Lecture Notes in Artificial Intelligence; Springer: Berlin/Heidelberg, Germany, 2005; Volume 3720, pp. 158–169. [Google Scholar] [CrossRef] [Green Version]
- Triguero, I.; Derrac, J.; Garcia, S.; Herrera, F. A Taxonomy and Experimental Study on Prototype Generation for Nearest Neighbor Classification. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 2011, 42, 86–100. [Google Scholar] [CrossRef]
- Yang, S.; Deravi, F. On the Usability of Electroencephalographic Signals for Biometric Recognition: A Survey. IEEE Trans. Hum. Mach. Syst. 2017, 47, 958–969. [Google Scholar] [CrossRef] [Green Version]
- Rockafellar, R.T.; Wets, R.J.-B. Variational Analysis; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
- GitHub—Zalandoresearch/Fashion-Mnist: A MNIST-Like Fashion Product Database. Benchmark. Available online: https://github.com/zalandoresearch/fashion-mnist (accessed on 25 November 2021).
- CIFAR-10 and CIFAR-100 Datasets. Available online: https://www.cs.toronto.edu/~kriz/cifar.html (accessed on 25 November 2021).
- Fashion-MNIST Benchmark (Image Classification). Papers with Code. Available online: https://paperswithcode.com/sota/image-classification-on-fashion-mnist (accessed on 25 November 2021).
- Classification Datasets Results. Available online: https://rodrigob.github.io/are_we_there_yet/build/classification_datasets_results.html#43494641522d3130 (accessed on 25 November 2021).
- Tanveer, M.S.; Khan, M.U.K.; Kyung, C.M. Fine-tuning DARTS for image classification. In Proceedings of the 2020 25th International Conference on Pattern Recognition (ICPR), Milan, Italy, 10–15 January 2021; pp. 4789–4796. [Google Scholar] [CrossRef]
- Foret, P.; Kleiner, A.; Mobahi, H.; Neyshabur, B. Sharpness-Aware Minimization for Efficiently Improving Generalization. arXiv 2020, arXiv:2010.01412. Available online: http://arxiv.org/abs/2010.01412 (accessed on 28 June 2023).
- Harris, E.; Marcu, A.; Painter, M.; Niranjan, M.; Prügel-Bennett, A.; Hare, J. FMix: Enhancing Mixed Sample Data Augmentation. arXiv 2020, arXiv:2002.12047. Available online: http://arxiv.org/abs/2002.12047 (accessed on 28 June 2023).
- Graham, B. Fractional Max-Pooling. arXiv 2014, arXiv:1412.6071. Available online: http://arxiv.org/abs/1412.6071 (accessed on 28 June 2023).
- Springenberg, J.T.; Dosovitskiy, A.; Brox, T.; Riedmiller, M. Striving for simplicity: The all convolutional net. In Proceedings of the 3rd International Conference on Learning Representations ICLR 2015—Workshop Track, San Diego, CA, USA, 7–9 May 2015; pp. 1–14. Available online: https://arxiv.org/pdf/1412.6806v3.pdf (accessed on 28 June 2023).
- Mishkin, D.; Matas, J. All you need is a good init. In Proceedings of the 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, 2–4 May 2016; pp. 1–13. Available online: https://arxiv.org/abs/1511.06422 (accessed on 28 June 2023).
- Schalk, G.; McFarland, D.; Hinterberger, T.; Birbaumer, N.; Wolpaw, J. BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE Trans. Biomed. Eng. 2004, 51, 1034–1043. [Google Scholar] [CrossRef] [PubMed]
- Yang, S.; Deravi, F. Novel HHT-Based Features for Biometric Identification Using EEG Signals. In Proceedings of the 2014 22nd International Conference on Pattern Recognition, Stockholm, Sweden, 24–28 August 2014; pp. 1922–1927. [Google Scholar] [CrossRef]
- Yang, S.; Deravi, F. Wavelet-based EEG preprocessing for biometric applications. In Proceedings of the 2013 Fourth International Conference on Emerging Security Technologies. EST 2013, Cambridge, UK, 9–11 September 2013; pp. 43–46. [Google Scholar] [CrossRef]
- Daubechies, I. Ten Lectures on Wavelets; Society for Industrial and Applied Mathematics: Pennsylvania, PA, USA, 1992; Volume 61. [Google Scholar]
- Duin, D.M.J.; Juszczak, R.P.W.; de Ridder, P.; Paclık, D.; Pezkalska, P.; Tax, E. PRTools. 2004. Available online: http://37steps.com/prhtml/prtools.html (accessed on 21 April 2015).
- Zhang, D.; Jain, A.K. (Eds.) Biometric Authentication; Springer: Berlin/Heidelberg, Germany, 2004; Volume 3072. [Google Scholar]
- Martin, A.; Doddington, G.; Kamm, T.; Ordowski, M.; Przybocki, M. The DET Curve in Assessment of Detection Task Performance. National Institute of Standards and Technology. 1997. Available online: https://apps.dtic.mil/sti/citations/ADA530509 (accessed on 21 April 2021).
- Neurosky Products. Available online: http://store.neurosky.com/products (accessed on 25 November 2021).
- Zhu, Z.; Huang, T.; Shi, B.; Yu, M.; Wang, B.; Bai, X. Progressive Pose Attention Transfer for Person Image Generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 16–20 June 2019; Volume 2019, pp. 2342–2351. [Google Scholar] [CrossRef] [Green Version]
- Zheng, Z.; Zheng, L.; Yang, Y. Pedestrian Alignment Network for Large-Scale Person Re-Identification. IEEE Trans. Circuits Syst. Video Technol. 2019, 29, 3037–3045. [Google Scholar] [CrossRef] [Green Version]
- Aggarwal, C.C.; Hinneburg, A.; Keim, D.A. On the Surprising Behavior of Distance Metrics in High Dimensional Space. In Proceedings of the International Conference on Database Theory, London, UK, 4–6 January 2001; pp. 420–434. [Google Scholar] [CrossRef] [Green Version]
- Uma Maheswari, V. Rajanikanth Aluvalu, and Krishna Keerthi Chennam. Application of machine learning algorithms for facial expression analysis. Mach. Learn. Sustain. Dev. 2021, 9, 77–96. [Google Scholar]
- Maheswari, V. Uma, Rajanikanth Aluvalu, MVV Prasad Kantipudi, Krishna Keerthi Chennam, Ketan Kotecha, and Jatinderkumar R. Saini. Driver Drowsiness Prediction Based on Multiple Aspects Using Image Processing Techniques. IEEE Access 2022, 10, 54980–54990. [Google Scholar] [CrossRef]
Datasets | Accuracy Rates for Various Techniques | |||
---|---|---|---|---|
Fashion-MNIST | DARTS [12] | SAM [13] | MSDA [14] | I-ATR: |
96.91% | 96.41% | 96.36% | 99.53% | |
CIFAR-10 | Fractional Max-Pooling [15] | CNN [16] | LSUV [17] | I-ATR: |
96.53% | 95.59% | 94.16% | 98.18% |
Template Stability | Classification Accuracy (%) | ||||
---|---|---|---|---|---|
1-NN | SVM | I-ATR Training Phase | I-ATR Matching Phase | Full I-ATR | |
Single Session | 93.61 | 93.24 | 95.35 | 96.54 | 98.76 |
Multiple Sessions | 11.23 | 10.10 | 53.57 | 59.29 | 85.71 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, S.; Hoque, S.; Deravi, F. Adaptive Template Reconstruction for Effective Pattern Classification. Sensors 2023, 23, 6707. https://doi.org/10.3390/s23156707
Yang S, Hoque S, Deravi F. Adaptive Template Reconstruction for Effective Pattern Classification. Sensors. 2023; 23(15):6707. https://doi.org/10.3390/s23156707
Chicago/Turabian StyleYang, Su, Sanaul Hoque, and Farzin Deravi. 2023. "Adaptive Template Reconstruction for Effective Pattern Classification" Sensors 23, no. 15: 6707. https://doi.org/10.3390/s23156707
APA StyleYang, S., Hoque, S., & Deravi, F. (2023). Adaptive Template Reconstruction for Effective Pattern Classification. Sensors, 23(15), 6707. https://doi.org/10.3390/s23156707