Maritime target behavior prediction method based on machine learning

Through machine learning-based methods, using multi-source heterogeneous data and attention mechanism models, the shortcomings of traditional fish migration tracking methods are solved, and efficient and accurate prediction of the migration location of target fish schools in the ocean is achieved, integrating static and Dynamic factors improve the quality of predictions.

CN118861631AInactive Publication Date: 2024-10-29GUANGDONG OCEAN UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411043067.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional fish migration tracking methods are costly, poor in timeliness, difficult to predict migration locations, and difficult to fully consider the impact of static environment and dynamic biological factors.

Method used

Using a machine learning-based prediction method for marine target behavior, we collect multi-source heterogeneous data, build an encoder model and a decoder model with an attention mechanism, and integrate static and dynamic feature sequences to achieve efficient prediction of the migration location of target fish schools. , accurate prediction.

Benefits of technology

It achieves efficient and accurate prediction of the migration location of target fish schools in the ocean, integrates static environment and dynamic biological factors, improves feature representation capabilities, and improves the accuracy and robustness of predictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118861631A_ABST
    Figure CN118861631A_ABST
Patent Text Reader

Abstract

The invention discloses a marine target behavior prediction method based on machine learning, relates to the technical field of machine learning, and collects migration multi-source heterogeneous data of a target fish school in a target sea area, and extracts global static data and historical dynamic data. Constructing a dynamic feature sequence set based on historical dynamic data, and inputting an encoder model with an attention mechanism to obtain an encoding dynamic feature sequence; and based on the global static data, using a static change model to obtain a coding static feature sequence consistent with the coding dynamic feature sequence in form. And fusing the coding dynamic feature sequence and the coding static feature sequence to obtain a fused feature sequence, and inputting the fused feature sequence into a decoder model for training. During prediction, latest dynamic data and global static data which are collected in real time are input into the model, so that migration position prediction of the target fish school at the next moment is obtained. Therefore, the migration position of the target fish school in the ocean can be predicted efficiently and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine learning, and in particular to a method for predicting maritime target behavior based on machine learning. Background Art

[0002] Fish resources are one of the important sources of protein and economy for human beings. With the continuous growth of population and the deterioration of marine environment, the protection and rational use of fish resources have become crucial. Among them, understanding and predicting the migration patterns of target fish stocks is crucial for formulating sustainable fishing policies, protecting fish habitats and managing marine resources.

[0003] The migration behavior of target fish is affected by a variety of environmental and biological factors, such as static environmental factors such as ocean temperature and coastline, as well as dynamic factors such as climate and ocean currents. Traditional fish migration tracking methods mainly rely on manual methods such as ship observation, marking and recapture, which have defects such as high cost, poor timeliness and limited coverage. Moreover, they can only achieve real-time tracking and it is difficult to predict the migration location.

[0004] To this end, the present invention proposes a method for predicting maritime target behavior based on machine learning. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method for predicting marine target behavior based on machine learning, which achieves efficient and accurate prediction of the migration position of target fish schools in the ocean.

[0006] To achieve the above objectives, a method for predicting maritime target behavior based on machine learning is proposed, which includes the following steps:

[0007] Step 1: Collect multi-source heterogeneous data on the migration of target fish schools in the target sea area, and extract global static data and historical dynamic data based on the multi-source heterogeneous data;

[0008] Step 2: Based on historical dynamic data, construct several sets of dynamic feature sequence sets, input the dynamic feature sequence sets into the encoder model with attention mechanism, and obtain the encoded dynamic feature sequence;

[0009] Step 3: Based on the global static data, use the static change model to perform nonlinear transformation on the static features to obtain a coded static feature sequence that is consistent with the coded dynamic feature sequence;

[0010] Step 4: Fusing the encoded dynamic feature sequence and the encoded static feature sequence of each set of dynamic feature sequences to obtain a fused feature sequence;

[0011] Step 5: Input the fused feature sequence into the decoder model. The decoder model uses the predicted migration position of the target fish school at the next moment as output to train the encoder-decoder model.

[0012] Step 6: Collect the latest dynamic data of the target fish school in real time, and obtain the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model;

[0013] The method of collecting multi-source heterogeneous data of the migration of target fish schools in the target sea area is:

[0014] Collect ship-borne sensor data, satellite remote sensing data, historical migration records of target fish schools, meteorological data, and multi-source heterogeneous data on migration composed of ship activities in the target sea area;

[0015] The method of constructing several sets of dynamic feature sequence sets based on historical dynamic data is as follows:

[0016] Preset the sample time window length and time step;

[0017] For each dynamic parameter in the historical dynamic data, a parameter time series of the parameter value of the dynamic parameter in time order is collected at each time step; the length of the parameter series is the length of the sample time window; the dynamic parameter is each parameter that can be collected separately in the historical dynamic data;

[0018] The parameter time series of each dynamic parameter at each time step is taken as a set of dynamic feature series;

[0019] The step of inputting the dynamic feature sequence set into the encoder model with the attention mechanism to obtain the encoded dynamic feature sequence comprises the following steps:

[0020] Step 11: Build an encoder model with attention mechanism;

[0021] Step 22: Input the dynamic feature sequence set of each time step into the encoder model with attention mechanism;

[0022] The time series model of the encoder model with attention mechanism converts the dynamic feature sequence set into an output sequence transformation vector;

[0023] The attention layer linearly transforms the input sequence transformation vector in the current time step to obtain the query vector;

[0024] The attention layer simultaneously performs different linear transformations on the sequence transformation vectors input in all time steps to obtain key-value pairs;

[0025] The attention weight for each time step is obtained by calculating the similarity score between the query vector and all key-value pairs;

[0026] Use these attention weights to perform weighted summation on the value vector to obtain the attention feature representation of the current time step;

[0027] At each time step, the hidden state and attention feature representation of the unit in the time series model are concatenated or fused;

[0028] The concatenated or fused feature vectors are arranged by time step, forming an encoded dynamic feature sequence;

[0029] The hidden state of the last time step of the unit where the time series model is located is represented as the encoded dynamic feature sequence of the encoded dynamic feature sequence;

[0030] The method of obtaining the encoded static feature sequence consistent with the encoded dynamic feature sequence is:

[0031] For each time step corresponding to each set of dynamic feature sequence sets, the global static data is used as the input of the static change model; the static change model is a deep neural network model or a multi-layer perceptron model;

[0032] The number of neurons in the last layer before the output layer of the static change model is consistent with the length of the encoded dynamic feature sequence;

[0033] The output layer of the static change model is the predicted migration position of the target fish school at the next unit time after the current time step;

[0034] The static change model forms an error loss function with the MSE loss between the migration position predicted at the next unit time and the actual migration position of the target fish school at the next unit time in the historical migration record;

[0035] Using the chain rule, the gradient of the total loss function is back-propagated to complete the training of the static change model;

[0036] The output of the last layer before the output layer of the static change model is used as the encoded static feature sequence;

[0037] The method for training the encoder-decoder model is:

[0038] Use the sequence-to-sequence framework to cascade the encoder model and the decoder model. The decoder model also uses a recurrent neural network structure.

[0039] The decoder model uses the fused feature sequence at each time step as the initial hidden state;

[0040] At each time step, the decoder model takes the output of the previous time step and the fused feature sequence as input;

[0041] At each time step, the decoder model outputs a feature vector representing the predicted migration position of the target fish school at the next moment;

[0042] For each time step, the sum of the migration position of the time step in the historical dynamic data and the migration position output by the decoder model and the loss function of the static change model is calculated as the loss function of the decoder model;

[0043] Through back-propagation, the algorithm calculates the gradient of the loss with respect to the model parameters and applies the optimization algorithm to update the parameters to train the encoder-decoder model.

[0044] The method of collecting the latest dynamic data of the target fish school in real time and obtaining the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model is as follows:

[0045] The parameter sequence of the target fish school in the target sea area that changes with time within the length of the most recent sample time window is collected in real time to form the most recent dynamic data;

[0046] Input the most recent dynamic data into the encoder model to obtain the most recent encoded dynamic feature sequence at each time step;

[0047] Input the global static data into the static change model to obtain the most recently encoded static feature sequence output by the static change model;

[0048] The most recently encoded dynamic feature sequence and the most recently encoded static feature sequence of each time step are fused to obtain the most recently fused feature sequence;

[0049] The most recently fused feature sequence is input into the decoder model to obtain the predicted migration position of the target fish school at the next unit time output by the decoder model.

[0050] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; the processor executes the above-mentioned method for predicting maritime target behavior based on machine learning by calling the computer program stored in the memory.

[0051] A computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for predicting maritime target behavior based on machine learning.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] The present invention collects multi-source heterogeneous data of the migration of target fish schools in the target sea area, and extracts global static data and historical dynamic data respectively. Based on the historical dynamic data, a dynamic feature sequence set is constructed, and an encoder model with an attention mechanism is input to obtain a coded dynamic feature sequence; based on the global static data, a static change model is used to obtain a coded static feature sequence consistent with the coded dynamic feature sequence. The coded dynamic feature sequence and the coded static feature sequence are fused to obtain a fused feature sequence, which is input into the decoder model for training. During prediction, the latest dynamic data and global static data collected in real time are input into the model to obtain a prediction of the migration position of the target fish school at the next moment. In this way, static environmental factors and dynamic biological factors are integrated, the modeling is more comprehensive, and the attention mechanism encoder-decoder model is used to capture long-term dependencies, improve feature representation capabilities, and achieve efficient and accurate prediction of the migration position of target fish schools in the ocean. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a flow chart of a method for predicting maritime target behavior based on machine learning in Example 1 of the present invention;

[0055] Figure 2 This is a schematic diagram of the structure of an electronic device in Embodiment 2 of the present invention;

[0056] Figure 3 This is a schematic diagram of the computer-readable storage medium structure in Example 3 of the present invention. DETAILED DESCRIPTION

[0057] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, 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.

[0058] Example 1

[0059] like Figure 1 As shown, the method for predicting maritime target behavior based on machine learning includes the following steps:

[0060] Step 1: Collect multi-source heterogeneous data on the migration of target fish schools in the target sea area, and extract global static data and historical dynamic data based on the multi-source heterogeneous data;

[0061] Step 2: Based on historical dynamic data, construct several sets of dynamic feature sequence sets, input the dynamic feature sequence sets into the encoder model with attention mechanism, and obtain the encoded dynamic feature sequence;

[0062] Step 3: Based on the global static data, use the static change model to perform nonlinear transformation on the static features to obtain a coded static feature sequence that is consistent with the coded dynamic feature sequence;

[0063] Step 4: Fusing the encoded dynamic feature sequence and the encoded static feature sequence of each set of dynamic feature sequences to obtain a fused feature sequence;

[0064] Step 5: Input the fused feature sequence into the decoder model. The decoder model uses the predicted migration position of the target fish school at the next moment as output to train the encoder-decoder model.

[0065] Step 6: Collect the latest dynamic data of the target fish school in real time, and obtain the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model;

[0066] The method of collecting multi-source heterogeneous data of the migration of target fish schools in the target sea area is as follows:

[0067] Collect ship-borne sensor data, satellite remote sensing data, historical migration records of target fish schools, meteorological data, and multi-source heterogeneous data on migration composed of ship activities in the target sea area;

[0068] Specifically, the shipboard sensor data is obtained by real-time acquisition through sonar equipment or video capture equipment installed on the monitoring ship. The shipboard sensor data may include but is not limited to plankton abundance. The plankton abundance may be first subjected to image segmentation and target detection, and then the number of different categories in each area may be counted;

[0069] Specifically, the satellite remote sensing data is obtained through satellite remote sensing technology, and the satellite remote sensing data includes sea temperature, chlorophyll, geographical features (coastline length, island distribution, etc.), etc. For sea temperature, salinity, etc., corresponding pixel values ​​can be directly extracted from satellite remote sensing images to construct a spatiotemporal three-dimensional data cube;

[0070] The historical migration record of the target fish school includes a sequence of position changes of the target fish school migration since records were kept in the past; the position can be expressed in latitude and longitude coordinates;

[0071] The meteorological data includes a parameter sequence of various meteorological parameters in the target sea area that have changed over time since records began; the meteorological parameters include but are not limited to wind direction, wind speed, flow field, ocean currents, etc.;

[0072] Said fishing activities include the movement paths of humans engaged in boating activities since recorded history;

[0073] In a preferred embodiment, the method of extracting global static data based on migrating multi-source heterogeneous data is:

[0074] Extract all static parameters that do not change over time from migrating multi-source heterogeneous data to form global static data, including satellite remote sensing data; for example, geographic features in satellite remote sensing data;

[0075] In another preferred embodiment, the global static data may also include all parameters that fluctuate less over time, such as sea temperature distribution and chlorophyll distribution in satellite remote sensing data;

[0076] Understandably, these static features are usually global and defined for the entire study area, and are therefore input into the model as background information, thus providing global context for the model;

[0077] Furthermore, the historical dynamic data is extracted in the following manner:

[0078] The time-varying parameters in the migration multi-source heterogeneous data are combined into historical dynamic data, including ship-borne sensor data, historical migration records of target fish schools, meteorological data, and ship activities;

[0079] It can be understood that the historical dynamic data describes the temporal evolution of the target, so the combination of global static data and historical dynamic data helps to improve the accuracy and robustness of the prediction.

[0080] Furthermore, the method of constructing several groups of dynamic feature sequence sets based on historical dynamic data is:

[0081] Preset the sample time window length and time step;

[0082] For each dynamic parameter in the historical dynamic data, a parameter time series of the parameter value of the dynamic parameter in time order is collected at each time step; the length of the parameter series is the length of the sample time window; the dynamic parameter is each parameter that can be collected separately in the historical dynamic data, such as wind direction, wind speed, target fish position, real-time position of navigation activities, etc.;

[0083] The parameter time series of each dynamic parameter at each time step is taken as a set of dynamic feature series;

[0084] Furthermore, the step of inputting the dynamic feature sequence set into an encoder model with an attention mechanism to obtain the encoded dynamic feature sequence includes the following steps:

[0085] Step 11: Build an encoder model with attention mechanism;

[0086] Specifically, the process of constructing the encoder model with the attention mechanism includes:

[0087] Using a time series model as the basic structure of the encoder; specifically, the time series model may be LSTM or GRU;

[0088] An attention layer is connected after the unit where the sequence model is located at each time step;

[0089] Step 22: Input the dynamic feature sequence set of each time step into the encoder model with attention mechanism;

[0090] The time series model of the encoder model with attention mechanism converts the dynamic feature sequence set into an output sequence transformation vector;

[0091] The attention layer linearly transforms the input sequence transformation vector in the current time step to obtain the query vector;

[0092] The attention layer simultaneously performs different linear transformations on the sequence transformation vectors input in all time steps to obtain key-value pairs;

[0093] The attention weight of each time step is obtained by calculating the similarity score between the query vector and all key-value pairs; the similarity score may be calculated by a dot product;

[0094] Use these attention weights to perform weighted summation on the value vector to obtain the attention feature representation of the current time step;

[0095] At each time step, the hidden state and attention feature representations of the unit in the time series model are concatenated or fused.

[0096] The concatenated or fused feature vectors are arranged by time step, forming an encoded dynamic feature sequence.

[0097] The hidden state of the last time step of the unit where the time series model is located can be represented as the encoded dynamic feature sequence of the encoded dynamic feature sequence;

[0098] It can be understood that by adding the attention mechanism to the encoder model, the attention layer can automatically learn which time steps and features in the input sequence to pay more attention to, so that the features related to the predicted target (such as the next position) are given greater weight, thereby improving the quality of feature representation.

[0099] Furthermore, the method of performing nonlinear transformation on the static features using the static change model based on the global static data to obtain the coded static feature sequence consistent with the coded dynamic feature sequence is:

[0100] For each time step corresponding to each set of dynamic feature sequence sets, the global static data is used as the input of the static change model; the static change model is a deep neural network model or a multi-layer perceptron model;

[0101] The number of neurons in the last layer before the output layer of the static change model is consistent with the length of the encoded dynamic feature sequence; for example, when the static change model is a deep neural network model, the number of neurons in each layer of its fully connected layer can be set to the length of the encoded dynamic feature sequence, and the model structure parameters such as the number of layers of the static change model can be debugged and determined according to the actual model training experience or the amount of training data;

[0102] The output layer of the static change model is the predicted migration position of the target fish school at the next unit time after the current time step;

[0103] The static change model forms an error loss function with the MSE loss between the migration position predicted at the next unit time and the actual migration position of the target fish school at the next unit time in the historical migration record;

[0104] Using the chain rule, the gradient of the total loss function is back-propagated to complete the training of the static change model;

[0105] The output of the last layer before the output layer of the static change model is used as the encoded static feature sequence;

[0106] It should be noted that although the static features themselves are constants, the mapping of the fully connected layer to the static features is learned during the training process as part of the entire encoder-decoder model. In other words, the parameters of the fully connected layer are updated during the training of the overall model through backpropagation and gradient descent algorithms.

[0107] Furthermore, the method of fusing the encoded dynamic feature sequence and the encoded static feature sequence of each set of dynamic feature sequences to obtain the fused feature sequence is:

[0108] By means of vector concatenation or element-level addition of vectors, the coded dynamic feature sequence and the coded static feature sequence are fused to obtain a fused feature sequence;

[0109] It is understandable that for different fusion methods, the length of the obtained fusion feature sequence is different, and the number of neurons in the input layer of the decoder is adjusted accordingly to adapt to the length of the input sequence;

[0110] Furthermore, the fused feature sequence is input into the decoder model, and the decoder model takes the predicted migration position of the target fish school at the next moment as output. The encoder-decoder model is trained in the following manner:

[0111] Use the sequence-to-sequence framework to cascade the encoder model and the decoder model. The decoder model also uses a recurrent neural network structure.

[0112] The decoder model uses the fused feature sequence at each time step as the initial hidden state;

[0113] At each time step, the decoder model takes the output of the previous time step and the fused feature sequence as input;

[0114] At each time step, the decoder model outputs a feature vector representing the predicted migration position of the target fish school at the next moment;

[0115] For each time step, the sum of the migration position of the time step in the historical dynamic data and the migration position output by the decoder model and the loss function of the static change model is calculated as the loss function of the decoder model;

[0116] Through back-propagation, the algorithm calculates the gradient of the loss with respect to the model parameters and applies the optimization algorithm to update the parameters to train the encoder-decoder model.

[0117] Furthermore, the method of collecting the latest dynamic data of the target fish school in real time and obtaining the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model is as follows:

[0118] The parameter sequence of the target fish school in the target sea area that changes with time within the length of the most recent sample time window is collected in real time to form the most recent dynamic data;

[0119] Input the most recent dynamic data into the encoder model to obtain the most recent encoded dynamic feature sequence at each time step;

[0120] Input the global static data into the static change model to obtain the most recently encoded static feature sequence output by the static change model;

[0121] The most recently encoded dynamic feature sequence and the most recently encoded static feature sequence of each time step are fused to obtain the most recently fused feature sequence;

[0122] The most recently fused feature sequence is input into the decoder model to obtain the predicted migration position of the target fish school at the next unit time output by the decoder model.

[0123] Example 2

[0124] See also Figure 2As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the method for predicting marine target behavior based on machine learning as described above may be executed.

[0125] The method or system according to the embodiment of the present application can also be used by Figure 2 The electronic device architecture shown in FIG. Figure 2 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a read-only memory (ROM) 503, a random access memory (RAM) 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, etc. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, may store the marine target behavior prediction method based on machine learning provided by the present application. Furthermore, the electronic device 500 may also include a user interface 508. Of course, Figure 2 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 2 One or more components of an electronic device are shown.

[0126] Example 3

[0127] See also Figure 3 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, the method for predicting maritime target behavior based on machine learning according to the embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0128] In addition, according to the embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided by the present application;

[0129] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through a wired network or a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0130] Those skilled in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0132] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a method for predicting maritime target behavior based on machine learning. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0135] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A method for predicting maritime target behavior based on machine learning, characterized in that: The following steps are involved: Step 1: Collect multi-source heterogeneous data on the migration of target fish schools in the target sea area, and extract global static data and historical dynamic data based on the multi-source heterogeneous data; Step 2: Based on historical dynamic data, construct several sets of dynamic feature sequence sets, input the dynamic feature sequence sets into the encoder model with attention mechanism, and obtain the encoded dynamic feature sequence; Step 3: Based on the global static data, use the static change model to perform nonlinear transformation on the static features to obtain a coded static feature sequence that is consistent with the coded dynamic feature sequence; Step 4: Fusing the encoded dynamic feature sequence and the encoded static feature sequence of each set of dynamic feature sequences to obtain a fused feature sequence; Step 5: Input the fused feature sequence into the decoder model. The decoder model uses the predicted migration position of the target fish school at the next moment as output to train the encoder-decoder model. Step 6: Collect the latest dynamic data of the target fish school in real time, and obtain the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model.

2. The method for predicting marine target behavior based on machine learning according to claim 1, characterized in that: The method of collecting multi-source heterogeneous data of the migration of target fish schools in the target sea area is: Collect ship-borne sensor data, satellite remote sensing data, historical migration records of target fish schools, meteorological data, and multi-source heterogeneous migration data composed of ship activities in the target sea area.

3. The method for predicting marine target behavior based on machine learning according to claim 2, characterized in that: The method of constructing several sets of dynamic feature sequence sets based on historical dynamic data is as follows: Preset the sample time window length and time step; For each dynamic parameter in the historical dynamic data, a parameter time series of the parameter value of the dynamic parameter in time order is collected at each time step; the length of the parameter series is the length of the sample time window; the dynamic parameter is each parameter that can be collected separately in the historical dynamic data; The parameter time series of each dynamic parameter at each time step is taken as a set of dynamic feature series.

4. The method for predicting marine target behavior based on machine learning according to claim 3, characterized in that: The step of inputting the dynamic feature sequence set into the encoder model with the attention mechanism to obtain the encoded dynamic feature sequence comprises the following steps: Step 11: Build an encoder model with attention mechanism; Step 22: Input the dynamic feature sequence set of each time step into the encoder model with attention mechanism; The time series model of the encoder model with attention mechanism converts the dynamic feature sequence set into an output sequence transformation vector; The attention layer linearly transforms the input sequence transformation vector in the current time step to obtain the query vector; The attention layer simultaneously performs different linear transformations on the sequence transformation vectors input in all time steps to obtain key-value pairs; The attention weight for each time step is obtained by calculating the similarity score between the query vector and all key-value pairs; Use these attention weights to perform weighted summation on the value vector to obtain the attention feature representation of the current time step; At each time step, the hidden state and attention feature representation of the unit in the time series model are concatenated or fused; The concatenated or fused feature vectors are arranged by time step, forming an encoded dynamic feature sequence; The hidden state of the last time step of the unit in the time series model is represented as the encoded dynamic feature sequence of the encoded dynamic feature sequence.

5. The method for predicting marine target behavior based on machine learning according to claim 4, characterized in that: The method of obtaining the encoded static feature sequence consistent with the encoded dynamic feature sequence is: For each time step corresponding to each set of dynamic feature sequence sets, the global static data is used as the input of the static change model; the static change model is a deep neural network model or a multi-layer perceptron model; The number of neurons in the last layer before the output layer of the static change model is consistent with the length of the encoded dynamic feature sequence; The output layer of the static change model is the predicted migration position of the target fish school at the next unit time after the current time step; The static change model forms an error loss function with the MSE loss between the migration position predicted at the next unit time and the actual migration position of the target fish school at the next unit time in the historical migration record; Using the chain rule, the gradient of the total loss function is back-propagated to complete the training of the static change model; The output of the last layer before the output layer of the static change model is used as the encoded static feature sequence.

6. The method for predicting marine target behavior based on machine learning according to claim 5, characterized in that: The method for training the encoder-decoder model is: Use the sequence-to-sequence framework to cascade the encoder model and the decoder model. The decoder model also uses a recurrent neural network structure. The decoder model uses the fused feature sequence at each time step as the initial hidden state; At each time step, the decoder model takes the output of the previous time step and the fused feature sequence as input; At each time step, the decoder model outputs a feature vector representing the predicted migration position of the target fish school at the next moment; For each time step, the sum of the migration position of the time step in the historical dynamic data and the migration position output by the decoder model and the loss function of the static change model is calculated as the loss function of the decoder model; Through back-propagation, the algorithm calculates the gradient of the loss with respect to the model parameters and applies an optimization algorithm to update the parameters to train the encoder-decoder model.

7. The method for predicting marine target behavior based on machine learning according to claim 6, characterized in that: The method of collecting the latest dynamic data of the target fish school in real time and obtaining the predicted migration position of the target fish school at the next moment based on the latest dynamic data, global static data and encoder-decoder model is as follows: The parameter sequence of the target fish school in the target sea area that changes with time within the length of the most recent sample time window is collected in real time to form the most recent dynamic data; Input the most recent dynamic data into the encoder model to obtain the most recent encoded dynamic feature sequence at each time step; Input the global static data into the static change model to obtain the most recently encoded static feature sequence output by the static change model; The most recently encoded dynamic feature sequence and the most recently encoded static feature sequence of each time step are fused to obtain the most recently fused feature sequence; The most recently fused feature sequence is input into the decoder model to obtain the predicted migration position of the target fish school at the next unit time output by the decoder model.

8. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the method for predicting maritime target behavior based on machine learning as described in any one of claims 1 to 7 by calling the computer program stored in the memory.

9. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer executes the method for predicting maritime target behavior based on machine learning as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Robot action prediction method and device, equipment and storage medium

    CN120002675A