Wild bird image data stream online identification method and system fusing deep learning and width learning
By integrating deep learning and wide learning methods, and combining EfficientNet-B0 and BLS systems, the problem of recognition accuracy and efficiency in real-time processing of large-scale wild bird image data streams is solved, achieving efficient and real-time bird image recognition, which is suitable for ecological monitoring in future 6G network environments.
Patent Information
- Application Number
- CN202411138122.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-01
AI Technical Summary
Existing technologies suffer from problems such as low recognition accuracy, long training time, and high computational resource requirements in real-time processing of large-scale wild bird image data streams, making it difficult to meet the real-time and efficiency requirements of future 6G network environments.
By combining the powerful feature extraction capabilities of deep learning with the rapid incremental learning advantages of wide learning, the EfficientNet-B0 model and the BLS system are integrated to achieve online recognition of wild bird image data streams. The incremental update mechanism and efficient feature extraction enable rapid adaptation to new data streams.
It significantly improves the recognition accuracy and real-time performance of large-scale wild bird image data streams, enhances the training efficiency and adaptability of the model, and is suitable for forest wildlife monitoring in future 6G network environments.
Smart Images

Figure CN118887704A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of bird image data stream recognition, and in particular relates to a method and system for online recognition of wild bird image data streams integrating deep learning and width learning. Background Art
[0002] As global awareness of ecological environmental protection continues to increase, real-time online monitoring of wild animals, especially wild birds, has become one of the core contents of ecological research. Real-time monitoring of bird activities not only helps to understand their behavioral habits and migration patterns, but also provides important reference data for assessing the health of the ecosystem. In recent years, with the rapid development of big data and artificial intelligence technology, image-based bird recognition technology has become one of the important means of wildlife monitoring.
[0003] Traditional bird recognition methods mainly rely on manual feature extraction and traditional machine learning algorithms. However, these methods often have problems such as low recognition accuracy and poor generalization ability when facing large-scale and highly diverse wild bird images. With the rise of deep learning technology, convolutional neural networks (CNNs) have been widely used in image recognition tasks, significantly improving the accuracy of bird recognition. However, the application of deep learning models is usually accompanied by high demands for large amounts of training data and computing resources. Especially when processing large-scale wild bird image data streams, traditional deep learning models often face challenges such as high computational overhead, long training time, and high storage resource requirements. In addition, with the development of 5G and even future 6G network technologies, real-time requirements are becoming more and more prominent. How to efficiently and accurately identify and classify birds in a real-time environment of large-scale image data streams has become an important problem in current technical research. Although existing deep learning methods perform well in image feature extraction, they still have certain limitations when dealing with rapidly growing real-time data streams and environmental changes, such as slow model updates and difficulty in quickly adapting to new environments and new data.
[0004] In this context, the Broad Learning System (BLS) has gradually attracted attention due to its fast training and incremental update characteristics. The BLS structure can achieve rapid model updates and learning without significantly increasing computing and storage resources, and adapt to changing input data. However, the image recognition capability of relying solely on the broad learning system is still insufficient, especially in complex field environments, where the recognition accuracy is difficult to meet the requirements of practical applications. Therefore, how to combine the powerful feature extraction capabilities of deep learning with the fast incremental learning advantages of broad learning has become a key technical direction for solving the problem of online recognition of large-scale wild bird image data streams. Through this technical fusion, not only can high recognition accuracy be maintained, but the training efficiency and adaptability of the model can also be significantly improved to meet the online recognition needs of future large-scale image data streams.
[0005] Based on this demand, the present invention proposes an online identification method and system for wild bird image data streams that integrate deep learning and width learning, aiming to solve the efficiency and accuracy problems of existing technologies in real-time processing of large-scale wild bird image data streams, and provide effective technical support for forest wildlife monitoring in the future 6G network environment. Summary of the invention
[0006] Aiming at the efficiency and accuracy problems of existing technologies in real-time processing of large-scale wild bird image data streams, the present invention proposes an online recognition method and system for wild bird image data streams that integrates deep learning and wide learning. By combining the powerful feature extraction capability of deep learning and the fast incremental learning advantage of wide learning, the present invention effectively solves the recognition accuracy and real-time problems under wild bird image data streams, and is suitable for large-scale ecological monitoring and protection.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions:
[0008] The present invention proposes a method for online recognition of wild bird image data streams by integrating deep learning and width learning, which specifically comprises the following steps:
[0009] S1: Obtain the wild bird image data stream (Data Streaming, DS) transmitted at a high speed at the initial moment, annotate the images in the DS, and construct an initial wild bird image dataset (Birds Image Dataset, BID) containing N samples;
[0010] S2: Input the image in the DS described in step S1 into the bird image feature extraction module (Feature Extraction Module, FEM) based on deep learning EfficientNet-B0, and combine the label data of the image in BID to generate an initial sample matrix, including an initial sample feature P0 with a dimension of N×1280, and a bird sample label Y0 with a dimension of N×1 corresponding to P0;
[0011] S3: Input the initial sample matrix (P0 and Y0) described in step S2 into the Broad Learning System (BLS) model for training to obtain a wild bird recognition module (Birds Recognition Module, BRM), which can preliminarily realize the recognition and classification of wild birds;
[0012] S4: Determine whether a new high-speed bird image data stream has arrived, or whether the recognition accuracy of the current BLS model has not reached the preset requirements; if no new data stream has arrived, and the model accuracy has reached the requirements, then output the trained wild bird recognition model and test its performance, and jump to step S7; if a new data stream has arrived, or the model accuracy has not reached the preset requirements, then enter step S5;
[0013] S5: The number of training samples N used by the BLS model at the current time t t , the number of enhanced nodes m t and the number of samples of the newly added bird image data stream I t , calculate the number of newly added enhanced nodes in the BLS model at the next time t+1, the calculation formula is Thus, an enhanced node count calculation module (CCM) is obtained;
[0014] S6: Using the bird image incremental data stream DS arriving at time t+1 t+1 , update the connection weight W of the BLS model t+1 , and then obtain the BLS model parameter update module (Parameter Update Module, PUM); after updating, jump to step S4 to continue to determine whether the conditions are met and execute in a loop;
[0015] S7: Use the bird image feature extraction module FEM to extract features from the wild bird images to be identified, generate a high-dimensional sample feature vector, and input it into the wild bird identification module that finally outputs the trained fusion deep learning EfficientNet-B0 and width learning BLS to obtain the predicted bird species label and its confidence, and record and output the bird identification results.
[0016] Preferably, the construction of the bird image feature extraction module FEM described in step S2 specifically includes:
[0017] S21: Select the pre-trained model of EfficientNet-B0 as the initial bird image feature extraction module, add a fully connected layer on top of the pre-trained model of EfficientNet-B0, and build a bird image classification model based on EfficientNet-B0;
[0018] S22: Use the initial wild bird image dataset BID with a resolution of 224×224×3 to fine-tune the bird image classification model based on EfficientNet-B0 to optimize the model parameters;
[0019] S23: Determine whether the test accuracy of the bird image classification model based on EfficientNet-B0 reaches the preset test accuracy. If so, output the trained bird image feature extraction module FEM; if not, return to step S22 to continue fine-tuning the model.
[0020] Furthermore, the pre-trained model of EfficientNet-B0 in step S21 is obtained by deep learning on the large-scale natural image dataset ImageNet.
[0021] Preferably, the training process of the BLS model described in step S3 specifically includes:
[0022] S31: Set the initial linear feature mapping nodes and nonlinear feature enhancement nodes of the BLS model to n=5 and m=50, respectively, denoted as Z=[Z1,…,Z i ,…,Z n ],H=[H1,…,H j ,…,H m ]; the calculation formula for the i-th feature map node is Z i =XW ei , the calculation formula for the jth enhancement node is Each feature map node contains k = 5 features, and X is an input matrix with a dimension of N × 1281 [P0|1 N], the initial sample feature matrix P0 is horizontally concatenated with a full-1 column vector 1 with a dimension of N×1 N Q is a matrix with dimension N×(n×k+1) [Z|1 N ], a full-1 column vector 1 with dimension N×1 is horizontally concatenated from feature map node Z N Composition, W ei is a randomly generated set of connection weights with a dimension of 1281×n, W hj is a randomly generated set of connection weights with dimensions (n×k+1)×m, is a hyperbolic tangent activation function tansig;
[0023] S32: The calculation formula of the connection weight of the BLS model is W = A -1 Y0 or W = (λI + AA T ) -1 A T Y0, where A is a feature layer composed of a linear feature mapping node Z and a nonlinear feature enhancement node H. A=[Z|H], A -1 represents the inverse matrix of matrix A, A T represents the transpose of matrix A, I represents the identity matrix, and the value of the regularization coefficient λ is 0.85.
[0024] Furthermore, in step S32, W=(λI+AA T ) -1 A T Y0 is the weight matrix obtained by ridge regression optimization.
[0025] Furthermore, the α in step S5 is an adjustment coefficient ranging from 0 to 1, which is used to control the growth rate of the enhanced nodes. The mathematical symbol is Indicates rounding up.
[0026] Preferably, the connection weight W described in step S6 t+1 The specific calculation includes the following steps:
[0027] S61: The bird image incremental data stream DS arriving at time t+1 t+1 The picture in step S2 is input into the bird image feature extraction module FEM, and combined with BID t+1 The label information of the image in generates a dimension of N t+1 ×1280 sample feature matrix P t+1 , and a t+1 The corresponding dimension is N t+1 ×1 bird sample label vector Y t+1 ;
[0028] S62: Based on the newly calculated sample feature matrix P t+1 and sample label vector Y t+1 , according to the BLS model parameter setting at time t, calculate the corresponding feature A after adding data x t+1 =[Z x t+1 |H x t+1 ], where Z x t+1 =[X t+1 W e1 ,…,X t+ 1W ei ,…,X t+1 W en ], X t+1 =[P t+1 |1 Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Q x t+1 =[Z x t+1 |1 Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, W ei and W hj The incremental data flow DS of the BLS model at time t t The corresponding weights are:
[0029] S63: According to the mapping feature Z of the BLS model at time t+1 t+1 =[Z t |Z x t+1 ], calculate the increase Δm t+1 The corresponding enhanced features after the enhanced nodes Among them, H Δm t+1 is the enhanced feature of the BLS model at time t+1, Q t+1 =[Z t+1 |1 Nt+1 ] is a Z t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Z t is the mapping feature of the BLS model at the tth moment;
[0030] S64: Based on the feature layer A of the BLS model at time t t , calculate the new feature layer A after adding data and enhancing nodes at time t+1 t+1 =[A m t+1 ;H Δm t+1 ], where A m t+1 =[A t ;(A x t+1 ) T ] is the feature after adding data at time t+1;
[0031] S65: According to formula W t+1 =(λI+A t+1 (A t+1 ) T ) -1 (A t+1 ) T Y t+1 It can be deduced that after adding enhanced nodes, the final update formula of the BLS model weight parameter is W t+1 =[W t –DB T Y t+1 ; B T Y t+1 ],in (A t+1 ) + =[(A m t+1 ) + -DB T ]; if C = 0, then B T =(C) + , otherwise B T =(I+D T D) -1 D T (A m ) + .
[0032] A wild bird image data stream online recognition system integrating deep learning and width learning, comprising: a bird image data acquisition module, a bird image feature extraction module, a wild bird recognition module, a system judgment output module, an enhanced node number calculation module and a model parameter update module;
[0033] The bird image data acquisition module is used to collect image data of wild birds and transmit the data to the bird image feature extraction module;
[0034] The bird image feature extraction module is used to extract features from the wild bird image data stream, generate a sample matrix, and input the generated sample matrix into the wild bird recognition module;
[0035] The wild bird identification module is used to test the wild bird images to be identified online and obtain the classification results of the wild bird images to be identified;
[0036] The system judgment output module is used to output the trained wild bird recognition model and wild bird image recognition results;
[0037] The enhanced node number calculation module is used to calculate the number of enhanced nodes newly added to the BLS model at the next moment;
[0038] The model parameter updating module updates the BLS model parameters according to the newly added wild bird image data stream.
[0039] Advantages and beneficial effects of the present invention:
[0040] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0041] Incremental update mechanism: This invention uses the incremental update mechanism of width learning to solve the real-time and storage requirements of current technology in the online recognition of large-scale wildlife bird image data streams. Through incremental updates, the model can quickly adapt to new data streams, improving the timeliness of recognition.
[0042] Efficient feature extraction: This invention combines the efficient image feature extraction capability of the deep learning EfficientNet-B0 model with the incremental learning of the wide learning system BLS structure, solving the problems of long training time, low classification accuracy, and poor generalization ability of traditional bird recognition models. EfficientNet-B0 is optimized based on pre-training to ensure the efficient performance of the fusion model in various field environments.
[0043] Technology fusion: This invention organically combines deep learning with wide learning technology to provide a new perspective solution for online recognition of large-scale wildlife bird image data streams. This fusion technology not only improves recognition accuracy and efficiency, but also provides technical support for online monitoring of forest wildlife with ultra-high real-time, ultra-high performance, and ultra-high computing and storage efficiency in the future 6G network environment.
[0044] Through the application of the present invention, the real-time performance and accuracy of online recognition of large-scale wild bird image data streams can be significantly improved, providing a strong technical guarantee for future ecological environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1It is a flowchart of the present invention;
[0046] Figure 2 is a system architecture block diagram in an embodiment of the present invention;
[0047] Figure 3 Schematic diagram of bird image data stream recognition results in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. The described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] like Figure 1 As shown, the present invention proposes an online recognition method for wild bird image data stream integrating deep learning and width learning, which specifically includes the following steps:
[0050] S1: Obtain the wild bird image data stream (Data Streaming, DS) transmitted at a high speed at the initial moment, annotate the images in the DS, and construct an initial wild bird image dataset (Birds Image Dataset, BID) containing N samples;
[0051] S2: Input the image in the DS described in step S1 into the bird image feature extraction module (Feature Extraction Module, FEM) based on deep learning EfficientNet-B0, and combine the label data of the image in BID to generate an initial sample matrix, including an initial sample feature P0 with a dimension of N×1280, and a bird sample label Y0 with a dimension of N×1 corresponding to P0;
[0052] S3: Input the initial sample matrix (P0 and Y0) described in step S2 into the Broad Learning System (BLS) model for training to obtain a wild bird recognition module (Birds Recognition Module, BRM), which can preliminarily realize the recognition and classification of wild birds;
[0053] S4: Determine whether a new high-speed bird image data stream has arrived, or whether the recognition accuracy of the current BLS model has not reached the preset requirements; if no new data stream has arrived, and the model accuracy has reached the requirements, then output the trained wild bird recognition model and test its performance, and jump to step S7; if a new data stream has arrived, or the model accuracy has not reached the preset requirements, then enter step S5;
[0054] S5: The number of training samples N used by the BLS model at the current time t t , the number of enhanced nodes m t and the number of samples of the newly added bird image data stream I t , calculate the number of newly added enhanced nodes in the BLS model at the next time t+1, the calculation formula is Thus, an enhanced node count calculation module (CCM) is obtained;
[0055] S6: Using the bird image incremental data stream DS arriving at time t+1 t+1 , update the connection weight W of the BLS model t+1 , and then obtain the BLS model parameter update module (Parameter Update Module, PUM); after updating, jump to step S4 to continue to determine whether the conditions are met and execute in a loop;
[0056] S7: Use the bird image feature extraction module FEM to extract features from the wild bird images to be identified, generate a high-dimensional sample feature vector, and input it into the wild bird identification module that finally outputs the trained fusion deep learning EfficientNet-B0 and width learning BLS to obtain the predicted bird species label and its confidence, and record and output the bird identification results.
[0057] Preferably, the construction of the bird image feature extraction module FEM described in step S2 specifically includes:
[0058] S21: Select the pre-trained model of EfficientNet-B0 as the initial bird image feature extraction module, add a fully connected layer on top of the pre-trained model of EfficientNet-B0, and build a bird image classification model based on EfficientNet-B0;
[0059] S22: Use the initial wild bird image dataset BID with a resolution of 224×224×3 to fine-tune the bird image classification model based on EfficientNet-B0 to optimize the model parameters;
[0060] S23: Determine whether the test accuracy of the bird image classification model based on EfficientNet-B0 reaches the preset test accuracy. If so, output the trained bird image feature extraction module FEM; if not, return to step S22 to continue fine-tuning the model.
[0061] Furthermore, the pre-trained model of EfficientNet-B0 in step S21 is obtained by deep learning on the large-scale natural image dataset ImageNet.
[0062] Preferably, the training process of the BLS model described in step S3 specifically includes:
[0063] S31: Set the initial linear feature mapping nodes and nonlinear feature enhancement nodes of the BLS model to n=5 and m=50, respectively, denoted as Z=[Z1,…,Z i ,…,Z n ],H=[H1,…,H j ,…,H m ]; the calculation formula for the i-th feature map node is Z i =XW ei , the calculation formula for the jth enhancement node is Each feature map node contains k = 5 features, and X is an input matrix with a dimension of N × 1281 [P0|1 N ], the initial sample feature matrix P0 is horizontally concatenated with a full-1 column vector 1 of dimension N×1 N Q is a matrix with dimension N×(n×k+1) [Z|1 N ], a full-1 column vector 1 with dimension N×1 is horizontally concatenated from feature map node Z N Composition, W ei is a randomly generated set of connection weights with a dimension of 1281×n, W hj is a randomly generated set of connection weights with dimensions (n×k+1)×m, is a hyperbolic tangent activation function tansig;
[0064] S32: The calculation formula of the connection weight of the BLS model is W = A -1 Y0 or W = (λI + AA T ) -1 A T Y0, where A is a feature layer composed of a linear feature mapping node Z and a nonlinear feature enhancement node H. A=[Z|H], A -1 represents the inverse matrix of matrix A, A T represents the transpose of matrix A, I represents the identity matrix, and the value of the regularization coefficient λ is 0.85.
[0065] Furthermore, in step S32, W=(λI+AA T ) -1 A T Y0 is the weight matrix obtained by ridge regression optimization.
[0066] Furthermore, the α in step S5 is an adjustment coefficient ranging from 0 to 1, which is used to control the growth rate of the enhanced nodes. The mathematical symbol is Indicates rounding up.
[0067] Preferably, the connection weight W described in step S6 t+1 The specific calculation includes the following steps:
[0068] S61: The bird image incremental data stream DS arriving at time t+1 t+1 The picture in step S2 is input into the bird image feature extraction module FEM, and combined with BID t+1 The label information of the image in generates a dimension of N t+1 ×1280 sample feature matrix P t+1 , and a t+1 The corresponding dimension is N t+1 ×1 bird sample label vector Y t+1 ;
[0069] S62: Based on the newly calculated sample feature matrix P t+1 and sample label vector Y t+1 , according to the BLS model parameter setting at time t, calculate the corresponding feature A after adding data x t+1 =[Z x t+1 |H x t+1 ], where Z x t+1 =[X t+1 W e1 ,…,X t+ 1W ei ,…,X t+1 W en ], X t+1 =[P t+1 |1 Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Q x t+1 =[Z x t+1 |1Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, W ei and W hj The incremental data flow DS of the BLS model at time t t The corresponding weights are:
[0070] S63: According to the mapping feature Z of the BLS model at time t+1 t+1 =[Z t |Z x t+1 ], calculate the increase Δm t+1 The corresponding enhanced features after the enhanced nodes Among them, H Δm t+1 is the enhanced feature of the BLS model at time t+1, Q t+1 =[Z t+1 |1 Nt+1 ] is a Z t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Z t is the mapping feature of the BLS model at the tth moment;
[0071] S64: Based on the feature layer A of the BLS model at time t t , calculate the new feature layer A after adding data and enhancing nodes at time t+1 t+1 =[A m t+1 ;H Δm t+1 ], where A m t+1 =[A t ;(A x t+1 ) T ] is the feature after adding data at time t+1;
[0072] S65: According to formula W t+1 =(λI+A t+1 (A t+1 ) T ) -1 (A t+1 ) T Y t+1 It can be deduced that after adding enhanced nodes, the final update formula of the BLS model weight parameter is W t+1 =[W t –DB T Y t+1 ; BT Y t+1 ],in (A t+1 ) + =[(A m t+1 ) + -DB T ]; if C = 0, then B T =(C) + , otherwise B T =(I+D T D) -1 D T (A m ) + .
[0073] like Figure 2 As shown, the present invention provides an online recognition system for wild bird image data streams integrating deep learning and width learning, including: a bird image data acquisition module, a bird image feature extraction module, a wild bird recognition module, a system judgment output module, an enhanced node quantity calculation module, and a model parameter update module; the system is composed of an Internet of Things front-end layer, an intelligent analysis layer, a transmission link layer, a cloud computing service layer, and a business application layer;
[0074] The bird image data acquisition module is used to collect image data of wild birds and transmit the data to the bird image feature extraction module;
[0075] The bird image feature extraction module is used to extract features from the wild bird image data stream, generate a sample matrix, and input the generated sample matrix into the wild bird recognition module;
[0076] The wild bird identification module is used to test the wild bird images to be identified online and obtain the classification results of the wild bird images to be identified;
[0077] The system judgment output module is used to output the trained wild bird recognition model and wild bird image recognition results;
[0078] The enhanced node number calculation module is used to calculate the number of enhanced nodes newly added to the BLS model at the next moment;
[0079] The model parameter updating module updates the BLS model parameters according to the newly added wild bird image data stream.
[0080] The process of collecting wild bird image data by the bird image data acquisition module includes: collecting image data of wild birds in the forest through IoT front-end devices such as high-altitude gimbals, drones, snapshot cameras or smart card ports. These devices can capture real-time moving images of birds at different heights and angles, ensuring the acquisition of diverse image data to meet the needs of subsequent online recognition systems.
[0081] The process of feature extraction of wild bird image data stream by the bird image feature extraction module includes: first, using edge AI high-performance processors, hard disk burners and other intelligent analysis devices to preprocess the input wild bird image data stream (such as image scaling, denoising, color normalization, etc.) to improve image quality and consistency. Then, the preprocessed image is input into the deep learning model EfficientNet-B0, and the high-level features of the image are extracted through the convolutional neural network layer to generate a high-dimensional feature vector. Finally, the extracted feature vectors are assembled into a feature matrix, where each row corresponds to the features of an image, and then these features are combined with the corresponding image label data to form a sample matrix input to the width learning BLS model.
[0082] The process of online testing of wild bird images to be identified by the wild bird identification module includes: the system uploads the sample feature vectors of wild bird images to be identified generated by the bird image feature extraction module FEM to the cloud computing service layer through the transmission link layer, performs feature matching and classification prediction, and outputs the bird species label and its confidence. The classification results are recorded through the business application layer and can be subsequently processed or output according to needs. The business application layer is not only responsible for storing and managing the classification results, but also supports further data analysis and system updates to ensure the continuous optimization and improvement of the identification system.
[0083] The system judgment output module updates and outputs the trained recognition model and results: the currently trained BLS model is tested to determine whether its recognition accuracy on the validation set or test set meets the preset standard; if the model accuracy meets the requirements, the currently trained BLS model is output, and the recognition results are sent to the output module to update the system status; based on the system's real-time data stream input and model accuracy requirements, it is determined whether the next step of model update or node enhancement operation is required.
[0084] The process of calculating the number of enhanced nodes added to the BLS model at the next moment by the enhanced node number calculation module includes: according to the number of training samples N used by the BLS model at the current moment t t and the number of samples of the newly added bird image data stream I t , and combined with the number of enhanced nodes m of the current model t , evaluate the number of enhanced nodes that need to be added at the next time t+1; use the formula Calculate the number of enhanced nodes that need to be added at the next moment, where α is the adjustment coefficient to ensure that the number of new nodes adapts to the data growth rate; based on the calculation results, update the enhanced node configuration of the BLS model at the next moment to prepare for subsequent model training and parameter updates, ensuring the dynamic adaptability and accuracy of the BLS model when processing new data.
[0085] The process of updating the connection weight parameters in the model parameter update module includes: inputting the newly added wild bird image incremental data stream into the feature extraction module to generate a new feature matrix and corresponding label vector; combining the mapping features and newly added features of the BLS model at the current moment to update the feature layer of the model, including linear feature mapping and nonlinear enhancement features; according to the updated feature layer, using the ridge regression optimization algorithm to solve the new connection weight matrix to complete the incremental update of the model, ensuring that the model maintains efficient and accurate recognition capabilities when processing new data.
[0086] The specific implementation of the system of the present invention is the same as the specific implementation of the method of the present invention.
[0087] In order to further illustrate the technical effect of the present invention, the BIRDS 525SPECIES bird dataset is used to test and verify the method of the present invention. The dataset contains 89,885 high-quality bird images, covering 525 different bird categories, and each image is a true color image of 224×224 pixels. Specifically, the dataset is divided into three parts: 84,635 images as training sets, 2,625 images as validation sets, and another 2,625 images as test sets.
[0088] In the experimental design, in order to simulate the actual bird image data flow scenario, the training data set was divided into five batches, including an initial data batch and four subsequent incremental data batches. In the initial stage of the experiment, 44,635 images were selected as the initial training samples, and then 10,000 images were added each time in four experiments to simulate the dynamic update process of bird image data. The main configuration of the experimental test server is: the CPU is a 16-core Intel (R) Xeon (R) Platinum 8352V processor with a main frequency of 2.10GHz; the memory capacity is 120GB; the GPU configuration is NVIDIA RTX 4090 graphics card with a video memory of 24GB; the solid-state drive (SSD) capacity is 50GB.
[0089] In the experiment, 25 mapping features were initially configured (determined by multiplying the number of linear feature mapping nodes n=5 by the number of features contained in each feature mapping node k=5), and the number of enhancement nodes m=50. With the arrival of each new data stream, the system correspondingly increases Δm=10 enhancement nodes to improve the learning ability and adaptability of the model.
[0090] like Figure 3 As shown in Table 1, the experimental results show that the method of the present invention performs very well on the BIRDS 525SPECIES bird dataset, can quickly find a better model structure, and significantly improve the final performance of the model. Specifically, with the increase of bird image data streams, the recognition accuracy of the model in the training set, validation set, and test set gradually improves, eventually reaching 93.7%, 94.1%, and 96.3%, respectively. It is worth noting that although the recognition accuracy of the model is significantly improved, the training time for each batch increases by less than 2.3% compared to the initial model training time. This result fully verifies the advantages of the method of the present invention in terms of efficiency and practicality, and is particularly suitable for online recognition tasks of large-scale bird image data streams.
[0091] Table 1 Training time and performance test results of the present invention in a simulated actual bird image data stream scenario
[0092] Enter the number of training samples Increase the number of nodes Training time (seconds) Training set accuracy (%) Validation set accuracy (%) Test set accuracy (%) 44635 50 4553.77 80.9 81.2 83.0 +10000 +10 +102.98 90.9 91.6 93.6 +10000 +10 +103.55 92.5 93.3 95.3 +10000 +10 +104.76 93.2 94.0 96.1 +10000 +10 +105.27 93.7 94.1 96.3
[0093] The above embodiments further illustrate the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above embodiments are only preferred implementation modes of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made to the present invention within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for online recognition of wild bird image data streams integrating deep learning and width learning, characterized in that: The following steps are involved: S1: Obtain the wild bird image data stream DS transmitted at high speed at the initial moment, annotate the images in DS, and construct an initial wild bird image dataset BID containing N samples; S2: Input the image in DS described in step S1 into the bird image feature extraction module FEM based on deep learning EfficientNet-B0, and combine the label data of the image in BID to generate an initial sample matrix, including an initial sample feature P0 with a dimension of N×1280, and a bird sample label Y0 with a dimension of N×1 corresponding to P0; S3: Input the initial sample matrix (P0 and Y0) described in step S2 into the width learning system BLS model for training to obtain a wild bird recognition module BRM; S4: determining whether a new high-speed bird image data stream has arrived, or whether the recognition accuracy of the current BLS model has not reached the preset requirement; If no new data stream arrives and the model accuracy has reached the requirement, the trained wild bird recognition model is output and its performance is tested, and the process jumps to step S7; if a new data stream arrives or the model accuracy does not reach the preset requirement, the process goes to step S5; S5: The number of training samples N used by the BLS model at the current time t t , the number of enhanced nodes m t and the number of samples of the newly added bird image data stream I t , calculate the number of newly added enhanced nodes in the BLS model at the next time t+1, the calculation formula is Get the enhanced node quantity calculation module CCM; S6: Using the bird image incremental data stream DS arriving at time t+1 t+1 , update the connection weight W of the BLS model t+1 , get the BLS model parameter update module PUM; After updating, jump to step S4 to continue to determine whether the conditions are met and execute in a loop; S7: Use the bird image feature extraction module FEM to extract features from the wild bird images to be identified, generate a high-dimensional sample feature vector, and input it into the wild bird identification module that finally outputs the trained fusion deep learning EfficientNet-B0 and width learning BLS to obtain the predicted bird species label and its confidence, and record and output the bird identification results.
2. The method for online recognition of wild bird image data streams integrating deep learning and width learning according to claim 1 is characterized in that: The construction of the bird image feature extraction module FEM described in step S2 specifically includes: S21: Select the pre-trained model of EfficientNet-B0 as the initial bird image feature extraction module, add a fully connected layer on top of the pre-trained model of EfficientNet-B0, and build a bird image classification model based on EfficientNet-B0; S22: Use the initial wild bird image dataset BID with a resolution of 224×224×3 to fine-tune the bird image classification model based on EfficientNet-B0 to optimize the model parameters; S23: Determine whether the test accuracy of the bird image classification model based on EfficientNet-B0 reaches the preset test accuracy. If so, output the trained bird image feature extraction module FEM; if not, return to step S22 to continue fine-tuning the model.
3. The method for online recognition of wild bird image data streams integrating deep learning and width learning according to claim 1 is characterized in that: The training process of the BLS model described in step S3 specifically includes: S31: Set the initial linear feature mapping nodes and nonlinear feature enhancement nodes of the BLS model to n=5 and m=50, respectively, denoted as Z=[Z1,…,Z i ,…,Z n ],H=[H1,…,H j ,…,H m ]; the calculation formula for the i-th feature map node is Z i =XW ei , the calculation formula for the jth enhancement node is Each feature map node contains k = 5 features, and X is an input matrix with a dimension of N × 1281 [P0|1 N ], the initial sample feature matrix P0 is horizontally concatenated with a full-1 column vector 1 of dimension N×1 N Q is a matrix with dimension N×(n×k+1) [Z|1 N ], a full-1 column vector 1 with dimension N×1 is horizontally concatenated from feature map node Z N Composition, W ei is a randomly generated set of connection weights with a dimension of 1281×n, W hj is a randomly generated set of connection weights with dimensions (n×k+1)×m, is a hyperbolic tangent activation function tansig; S32: The calculation formula of the connection weight of the BLS model is W = A -1 Y0 or W = (λI + AA T ) -1 A T Y0, where A is a feature layer composed of a linear feature mapping node Z and a nonlinear feature enhancement node H. A=[Z|H], A -1 represents the inverse matrix of matrix A, A T represents the transpose of matrix A, I represents the identity matrix, and the value of the regularization coefficient λ is 0.
85.
4. The method for online recognition of wild bird image data streams integrating deep learning and width learning according to claim 1 is characterized in that: The connection weight W described in step S6 t+1 The specific calculation includes the following steps: S61: The bird image incremental data stream DS arriving at time t+1 t+1 The picture in step S2 is input into the bird image feature extraction module FEM, and combined with BID t+1 The label information of the image in generates a dimension of N t+1 ×1280 sample feature matrix P t+1 , and a t+1 The corresponding dimension is N t+1 ×1 bird sample label vector Y t+1 ; S62: Based on the newly calculated sample feature matrix P t+1 and sample label vector Y t+1 , according to the BLS model parameter setting at time t, calculate the corresponding feature A after adding data x t+1 =[Z x t+1 |H x t+1 ], where Z x t+1 =[X t+1 W e1 ,…,X t+1 W ei ,…,X t+1 W en ], X t+1 =[P t+1 |1 Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Q x t+1 =[Z x t+1 |1 Nt+1 ] is a t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, W ei and W hj The incremental data flow DS of the BLS model at time t t The corresponding weights are: S63: According to the mapping feature Z of the BLS model at time t+1 t+1 =[Z t |Z x t+1 ], calculate the increase Δm t+1 The corresponding enhanced features after the enhanced nodes Among them, H Δm t+1 is the enhanced feature of the BLS model at time t+1, Q t+1 =[Z t+1 |1 Nt+1 ] is a Z t+1 Horizontally splice a dimension of N t+1 ×1 all-1 column vector 1 Nt+1 Composition, Z t is the mapping feature of the BLS model at the tth moment; S64: Based on the feature layer A of the BLS model at time t t , calculate the new feature layer A after adding data and enhancing nodes at time t+1 t+1 =[A m t+1 ;H Δm t+1 ], where A m t+1 =[A t ;(A x t+1 ) T ] is the feature after adding data at time t+1; S65: According to formula W t+1 =(λI+A t+1 (A t+1 ) T ) -1 (A t+1 ) T Y t+1 It can be deduced that after adding enhanced nodes, the final update formula of the BLS model weight parameter is W t+1 =[W t –DB T Y t+1 ; B T Y t+1 ],in (A t+1 ) + =[(A m t+1 ) + -DB T ]; if C = 0, then B T =(C) + , otherwise B T =(I+D T D) -1 D T (A m ) + .
5. An online recognition system for wild bird image data streams integrating deep learning and width learning, characterized in that: The system includes: a bird image data acquisition module, a bird image feature extraction module, a wild bird identification module, a system judgment output module, an enhanced node quantity calculation module and a model parameter update module; The bird image data acquisition module is used to collect image data of wild birds and transmit the data to the bird image feature extraction module; The bird image feature extraction module is used to extract features from the wild bird image data stream, generate a sample matrix, and input the generated sample matrix into the wild bird recognition module; The wild bird identification module is used to test the wild bird images to be identified online and obtain the classification results of the wild bird images to be identified; The system judgment output module is used to output the trained wild bird recognition model and wild bird image recognition results; The enhanced node number calculation module is used to calculate the number of enhanced nodes newly added to the BLS model at the next moment; The model parameter updating module updates the BLS model parameters according to the newly added wild bird image data stream.
Citation Information
Cited By
Class incremental learning method for edge scene image recognition and electronic equipment
CN120125968A
An incremental learning method and electronic equipment for edge scene image recognition
CN120125968B
Protection area bird monitoring protection system based on machine learning
CN120279478A
Parallel increment width learning method and system based on updated triangular matrix
CN120430377A
Tunnel construction geological disaster dynamic identification method and system
CN121999374A
