One-Shot Simple Pattern Detection without Pre-Training and Gradient-Based Strategy

Sensors (Basel). 2023 Nov 15;23(22):9188. doi: 10.3390/s23229188.

Abstract

One-shot object detection has been a highly demanded yet challenging task since the early age of convolutional neural networks (CNNs). For some newly started projects, a handy network that can learn the target's pattern using a single picture and automatically decide its architecture is needed. To specifically address a scenario in which a single or multiple targets are standing in relatively stable circumstances with hardly any training data, where the rough location of the target is required, we propose a one-shot simple target detection model that focuses on two main tasks: (1) deciding if the target is in the testing image, and (2) if yes, outputting the target's location in the image. This model requires no pre-training and decides its architecture automatically; therefore, it could be applied to a newly started target detection project with unconventionally simple targets and few training examples. We also propose an architecture with a non-training parameter-gaining strategy and correlation coefficient-based feedforward and activation functions, as well as easy interpretability, which might provide a perspective on studies in neural networks. We tested this design on the data we collected in our project, the Brown-Yosemite dataset and part of the Mnist dataset. It successfully returned the target area in our project and obtained an IOU of up to 87.04%, reached 80.28% accuracy on the Brown-Yosemite dataset with disposable networks, and obtained an accuracy of up to 89.4% on part of the Mnist dataset in the detection task.

Keywords: bionic; correlation coefficient; machine learning; neural network; one-shot.

Grants and funding

This research was funded by Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences grant number [2020YFF0400402]. And the APC was funded by Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences.