A method for predicting the path of the kuroshio based on a deep learning model
By employing a deep learning model-based approach, combining the Gaussian weighted characteristic line method and empirical orthogonal function decomposition, and using a least squares lifting model and gated recurrent unit network, the problems of high computational cost and instability in existing Kuroshio path forecasting are solved, and accurate Kuroshio path forecasting is achieved.
Patent Information
- Application Number
- CN202611708977.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-11-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing methods for predicting the Kuroshio Current path involve large computational loads, produce unstable forecast results, and are greatly affected by initial values, making accurate predictions difficult.
A deep learning-based approach is employed to obtain grid data of eastward and northward current velocities within a defined sea area. The Kuroshio Current axis is identified using the Gaussian-weighted feature line method, and the Kuroshio Current path is predicted by combining empirical orthogonal function decomposition, least squares lifting model, and gated recurrent unit network.
Accurate prediction of the Kuroshio Current's path was achieved, reducing computational complexity and improving the stability of prediction results, while also reducing reliance on initial values.
Smart Images

Figure CN123178884A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of marine information technology, specifically to a method for predicting the Kuroshio Current path based on a deep learning model. Background Technology
[0002] The Kuroshio Current is a typical western boundary current in the Northwest Pacific, characterized by high velocity, deep color, high temperature, and high salinity. The Kuroshio Current axis represents the part with the highest current velocity, and its path can be characterized by its surface axis. Current Kuroshio Current path forecasts mostly employ numerical models such as NLOM and JCOPE, but these models suffer from problems such as high computational cost, unstable forecast results, and significant susceptibility to initial values. Summary of the Invention
[0003] To address the various problems of existing technologies, this invention provides a Kuroshio Current path prediction method based on a deep learning model. It improves the Kuroshio Current axis identification method by focusing on two parts: Kuroshio Current path identification and Kuroshio Current path prediction, thereby achieving accurate prediction of the Kuroshio Current path.
[0004] To achieve the above objectives, the present invention employs the following technical solution:
[0005] A method for predicting the Kuroshio Current path based on a deep learning model includes the following steps:
[0006] Step (1) Obtain grid data of eastward and northward current velocities at a set depth within a set sea area;
[0007] Step (2) uses the Gaussian weighted feature line method to identify the Kuroshio Current axis month by month;
[0008] Step (3) After smoothing the Kuroshio Current axis for each month, the Kuroshio Current axis data is divided into the first segment of Kuroshio Current path data and the second segment of Kuroshio Current path data according to the coordinate interval;
[0009] Step (4) Perform empirical orthogonal function decomposition on each path dataset to obtain spatial modes and time coefficients, and determine the modes to be retained according to predetermined rules;
[0010] Step (5) For each preserved mode, its time coefficient sequence and the first difference sequence of the sequence are used to form input features, and a least squares boosting model and a gated recurrent unit network are trained independently to obtain the predicted time coefficients of the preserved mode.
[0011] Step (6) Determine the fusion weights based on the prediction errors of the least squares boosting model and the gated recurrent unit network on the validation set, and use the fusion weights to perform weighted fusion of the prediction time coefficients of the least squares boosting model and the gated recurrent unit network to obtain the fused prediction time coefficients;
[0012] Step (7) After denormalizing the fusion prediction time coefficient, restore it to the flow axis coordinate, and combine the prediction results of the first Kuroshio path data with the second Kuroshio path data to obtain the Kuroshio path prediction result.
[0013] Further, in step (4), the empirical orthogonal function decomposition includes:
[0014] The time series of each spatial point is standardized using the following formula:
[0015]
[0016] In the formula, Let i be the value of the i-th spatial point at the n-th time point. Let be the time mean of the i-th spatial point. Let be the standard deviation of the i-th spatial point over time;
[0017] Calculate the covariance matrix using the following formula:
[0018]
[0019] In the formula, The number of spatial points, The number of time points, This is the transpose of the standardized data matrix;
[0020] Perform eigenvalue decomposition on the covariance matrix and sort the eigenvalues from largest to smallest to obtain:
[0021]
[0022] In the formula, For eigenvalues, The corresponding eigenvector matrix;
[0023] The standardized data is then projected onto the feature vector matrix using the following formula to obtain the time coefficient:
[0024]
[0025] In the formula, The time coefficient is... For the standardized data matrix, This is the transpose of the eigenvector matrix;
[0026] The predetermined rule is as follows: the first path dataset retains all modes obtained from its empirical orthogonal function decomposition; the second path dataset determines the number of modes to retain based on a cumulative variance contribution rate not being lower than a preset value, and the cumulative variance contribution rate is calculated using the following formula:
[0027]
[0028] In the formula, To preserve the number of modes, The number of spatial points; and the preserved modes must also pass a significance test, the error range of the j-th eigenvalue is calculated using the following formula:
[0029]
[0030] when At that time, the j-th mode passes the significance test;
[0031] When selecting modes in descending order of feature values, modes that fail the significance test are skipped and the selection proceeds to the next mode that passes the significance test, until the number of modes retained reaches the preset value.
[0032] Further, in step (5), the first-order difference sequence is calculated according to the following formula, and the resulting difference sequence is padded with zeros at the beginning to maintain the characteristic dimension consistent with the time coefficient sequence:
[0033]
[0034] In the formula, Let be the standardized time coefficient at time t. Let be the first-order difference value at time point t.
[0035] Furthermore, the least squares lifting model adopts a forward step-by-step addition model, which is iteratively constructed according to the following formula:
[0036]
[0037] In the formula, This is the output of the ensemble model after the k-th iteration. This is the output of the model from the previous iteration. This is the learning rate shrinkage factor. This is the weak learner obtained in the kth round of training;
[0038] Initialization:
[0039]
[0040] In the formula, The mean of the target variable in the training set;
[0041] The residual of the k-th iteration is calculated using the following formula:
[0042]
[0043] In the formula, The true observation value of the i-th sample;
[0044] Output after K iterations:
[0045]
[0046] In the formula, K represents the total number of iterations.
[0047] Furthermore, the gated loop unit network is updated according to the following formulas:
[0048]
[0049]
[0050]
[0051]
[0052] In the formula, Let be the input feature vector at time step t. , These are the outputs for resetting the door and updating the door, respectively. , These are the hidden states of the previous time step and the current time step, respectively. This represents the candidate hidden state at the current time step. It is the sigmoid activation function. This indicates element-wise multiplication. , , These are the weight matrices corresponding to the reset gate, update gate, and candidate hidden states, respectively. , , These are the bias terms corresponding to the reset gate, update gate, and candidate hidden state, respectively. This represents the concatenation of the hidden state from the previous time step and the input vector from the current time step.
[0053] Further, in step (6), the prediction error is taken as the root mean square error of the prediction, and the fusion weight is determined by the following formula:
[0054]
[0055]
[0056] In the formula, To improve the fusion weights of the least squares improvement model, For the fusion weights of the gated recurrent unit network, , These are the root mean square errors of the least squares lifting model and the gated recurrent unit network on the validation set, respectively; the fusion weights are calculated independently for each retained mode, calculated all at once before forecasting and remaining unchanged in subsequent forecasting processes, and It is limited to the range of 0.1 to 0.9.
[0057] Further, in step (7), for the first segment of the Kuroshio path dataset, the inversely normalized prediction time coefficient is directly used as its longitude forecast value on the grid latitude sequence; for the second segment of the Kuroshio path dataset, matrix multiplication is performed to reconstruct the main mode matrix corresponding to the retained mode and the fused prediction time coefficient, followed by inverse normalization, to obtain its latitude forecast value on the grid longitude sequence. The reconstruction and inverse normalization are performed according to the following formula:
[0058]
[0059] In the formula, To preserve the principal mode matrix corresponding to the mode, its order is M×P, where M is the number of spatial points in the segment and P is the number of modes to be preserved; It is a P-dimensional column vector composed of the prediction time coefficients obtained by fusing the various retained modes; This is a matrix multiplication, the result of which is an M-dimensional column vector; Let M be the M-dimensional vector formed by the standard deviations of each spatial point in this segment on the training set. Let M be the M-dimensional vector formed by the mean values of all points in the space segment on the training set;
[0060] When combining the forecast results of the first segment of Kuroshio path data with the second segment of Kuroshio path data, if there is an overlap between the two segments, the first segment of Kuroshio path data should be completely retained, while the overlapping part of the second segment of Kuroshio path data and the first segment of Kuroshio path data should be discarded, so that the starting longitude of the second segment of Kuroshio path data is not less than the longitude of the ending point of the first segment of Kuroshio path data.
[0061] Further, in step (1), the eastward and northward flow velocities of the set depth layer are obtained by vertical linear interpolation as follows: Take the two standard layers immediately above and below the set depth layer in the grid data, and interpolate the eastward flow velocity using the following formula; the northward flow velocity is interpolated independently in the same manner:
[0062]
[0063]
[0064] In the formula, The depth of the set depth layer is defined as follows: u(z1) and u(z2) are the eastward flow velocity values of the grid point at depths z1 and z2, respectively; v(z1) and v(z2) are the northward flow velocity values of the grid point at depths z1 and z2, respectively.
[0065] When the flow velocity of a grid point is missing in either of the upper or lower standard layers, the system searches vertically upwards and downwards from the location of the set depth layer, taking the upper and lower standard layers that are closest to the set depth layer and whose flow velocities are not missing as the new upper and lower standard layers to participate in the vertical linear interpolation; when no standard layer with non-missing flow velocities is found in either the upper or lower layers, the flow velocity of the grid point in the set depth layer is recorded as a missing value.
[0066] Further, in step (2), the method for identifying the Kuroshio Current axis based on the Gaussian weighted feature line method is as follows: an auxiliary line perpendicular to the flow direction is laid out at the current calculation position, and several sampling interpolation points are laid out along the auxiliary line; the eastward flow velocity component and the northward flow velocity component are weighted and averaged respectively according to the Gaussian weight that decreases exponentially with the distance to the center point of the auxiliary line, and the average flow direction is determined according to the obtained average component; the auxiliary line is adjusted to be perpendicular to the average flow direction and the sampling interpolation points are re-laid out, and the one with the largest flow velocity is taken as the flow axis point at the calculation position; the flow axis point is moved along the average flow direction by one tracking step and the tracking continues until the preset termination condition is met, and the flow axis points are connected in sequence to obtain the Kuroshio Current axis for that month.
[0067] In step (2), the set sea area is divided into the main body area and the extension body area by the set longitude. The longitude of the current calculated position is located in the extension body area east of the set longitude, and in the main body area west of the set longitude and exactly equal to the set longitude. The tracking step size of the main body area is smaller than the tracking step size of the extension body area.
[0068] The preset termination condition is one of the following conditions:
[0069] The longitude of the current calculated location exceeds the set termination longitude;
[0070] During the tracking process, it was determined a second time that the device had been caught in a vortex;
[0071] Step (2) also includes vortex interference processing: for each new flow axis point identified, the distance between the new flow axis point and each of the previously identified flow axis points is calculated. When the distance is less than a preset threshold, it is determined that the flow axis point is trapped in a vortex. The flow axis point is then back to the one that is identified earlier among the two flow axis points that constitute the distance. All flow axis points identified after the current flow axis point are cleared and the flow axis point is re-tracked. When re-tracking, the next flow axis point is selected only within the fan-shaped area within the preset angle range on both sides of the current average flow direction.
[0072] Further, in step (3), the smoothing is an equal-weighted moving average, and its window is a centrally symmetric window centered on the flow axis point to be smoothed. The window length is calculated based on the number of adjacent flow axis points. The window length of the flow axis point located in the mainstream region is greater than the window length of the flow axis point located in the extension region. Flow axis points at the beginning and end of the flow axis sequence that are insufficient to form a complete window are not smoothed.
[0073] The beneficial effects of this invention are:
[0074] 1) In the calculation of interpolation points of the auxiliary line, a Gaussian weight function is introduced. The weight decreases exponentially with the distance between the interpolation point and the center point of the auxiliary line. The weight is concentrated in the core region of the flow axis. The weight of the interpolation point far from the center point is very small, so that the average flow direction is dominated by the core dynamic region of the Kuroshio River and the interference of the chaotic flow field at the edge is suppressed.
[0075] 2) Empirical orthogonal function decomposition reduces the dimensionality of the flow axis sequence to a few modal time coefficients; the time coefficients and their first-order difference sequences constitute the input features. For each retained modality, a least squares boosting model and a gated recurrent unit network are trained independently with the same input features: the former uses ensemble regression to fit the residuals round by round to characterize the nonlinear relationship between the input features and the predicted time coefficients, while the latter uses gated recurrent units to characterize the temporal variation features of the input sequence; the fusion weights of the modality are determined by the reciprocal of the errors of the two on the validation set and upper and lower bound constraints are applied to avoid feature loss caused by excessive weight of a single model, and to ensure bidirectional preservation of nonlinear fitting ability and temporal memory ability.
[0076] 3) The least squares lifting model fits the residuals round by round using a forward step-by-step addition method, and uses the learning rate shrinkage coefficient to constrain the correction range of a single weak regression tree, so as to avoid iterative oscillation overfitting. Attached Figure Description
[0077] Figure 1 This is an overall flowchart of the method of the present invention.
[0078] Figure 2 This is a comparison chart of the actual Kuroshio Current axis in October 2024, the current axis predicted by the EOF-LSBoost-GRU method of this invention, and the current axis predicted by the persistent prediction method in an embodiment of this invention.
[0079] Figure 3 This is a comparison chart of the actual Kuroshio Current axis in November 2024, the current axis predicted by the EOF-LSBoost-GRU method of this invention, and the current axis predicted by the persistent prediction method in an embodiment of this invention.
[0080] Figure 4 This is a comparison chart of the actual Kuroshio Current axis in December 2024, the current axis predicted by the EOF-LSBoost-GRU method of this invention, and the current axis predicted by the persistent prediction method in an embodiment of this invention. Detailed Implementation
[0081] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0082] like Figure 1 As shown, this invention proposes a method for predicting the Kuroshio Current path based on a deep learning model, comprising the following steps:
[0083] Step 1, Obtain Ocean Current Data: Obtain current velocity grid data at a fixed depth layer within a given ocean area; the specific steps are as follows:
[0084] Step 1.1 Download the dataset: The data source is the monthly average dataset cmems_mod_glo_phy_my_0.083deg_P1M-m from the global multi-year physical ocean reanalysis product GLOBAL_MULTIYEAR_PHY_001_030 series under the global ocean reanalysis product GLORYS12V1 provided by the Copernicus Marine Environmental Monitoring Service (CMEMS). This product is a regular grid reanalysis product with a horizontal resolution of 1 / 12° (i.e., 0.083°) and 50 standard vertical layers. The data is distributed in NetCDF format and covers the entire globe. In this embodiment, the download time range is from January 1993 to December 2024, a total of 384 months.
[0085] Step 1.2 Extracting Velocity Variables: Extract the eastward velocity variable uo and the northward velocity variable vo from the downloaded dataset. Both are in m / s. The spatial range for extraction is 110°E~160°E and 10°N~45°N, and the time range is January 1993 to December 2024. The depth dimension is taken from all native standard layers of the product. Longitude and latitude are read together with the velocity variables in the form of one-dimensional coordinate vectors. The velocity values at land grids and invalid grids in the dataset have been masked and are represented as missing values (NaN). The land mask is an inherent property of the dataset, meaning that the dataset has already undergone land masking during distribution, and no further masking is applied in this step.
[0086] Step 1.3 Perform vertical linear interpolation on the flow velocity at a depth of 50m to obtain data files of the eastward flow velocity u(50) and northward flow velocity v(50) at the 50m depth from January 1993 to December 2024. The vertical linear interpolation method in this embodiment is as follows:
[0087] Select the two layers immediately adjacent to the 50 m depth in the vertical standard layer of the product, with layer depths z1 and z2 (z1 < 50 m < z2). For each grid point and each month, perform vertical linear interpolation on the eastward velocity variable uo and northward velocity variable vo according to the following formula to obtain the eastward velocity u(50) and northward velocity v(50) at the 50 m layer:
[0088]
[0089]
[0090] In the formula, u(z1) and u(z2) are the eastward velocity values (m / s) of the grid point at layer depths z1 and z2 in the corresponding month, respectively; v(z1) and v(z2) are the northward velocity values of the grid point at layer depths z1 and z2 in the corresponding month. The eastward velocity variable uo and northward velocity variable vo are interpolated independently according to the above formula.
[0091] If the velocity value of a grid point at layer z1 or layer z2 is missing, the two layers are not directly used for interpolation. Starting from the depth position of 50 m, search layer by layer upward and downward along the vertical direction, and take the two upper and lower layers closest to 50 m with non-missing velocity values as the new z1 layer and z2 layer to participate in the above vertical linear interpolation. If no layer with non-missing velocity value is found in either upward or downward search, the velocity at the 50 m layer of the grid point is recorded as a missing value (NaN) and does not participate in subsequent calculations.
[0092] In particular, when the actual sea depth of a grid point is less than the layer depth of the z2 layer (i.e., the lower layer used for interpolation is located below the seabed, hereinafter referred to as "bottoming out"), the velocity value of the grid point at the z2 layer is a missing value, and the interpolated velocity at the 50 m layer according to the above formula is also a missing value, so the grid point does not participate in subsequent calculations.
[0093] Step 1.4 Data storage: Save the obtained eastward velocity and northward velocity data of the 50 m layer as .mat data files in MATLAB format. Store the data month by month, i.e., each month corresponds to one .mat data file. Each .mat file contains two variables uo and vo, whose dimension order is longitude × latitude, unit is m / s, and missing values are represented by NaN. The longitude and latitude of the data are regular grids and do not change with months, so the longitude and latitude are stored separately as independent one-dimensional coordinate vectors, and are not repeatedly stored with uo and vo. The .mat data files are called in Step 2.
[0094] Step 2: Identify the Kuroshio axis using a Gaussian-weighted characteristic line method, and perform moving average and piecewise interpolation on the identified Kuroshio axis.
[0095] The method for identifying the Kuroshio axis based on the Gaussian-weighted characteristic line method is as follows:
[0096] Step 2.1 Determine the starting point: For the 50 m layer velocity data extracted in Step 1 for 384 months, select the point corresponding to the maximum velocity as the starting point; specifically:
[0097] Step 2.1.1 Within the spatial range of the data extracted in Step 1, a starting point is selected within a sub-region of longitude 121°E~123°E and latitude 22°N~23°N; this sub-region is the sea area through which the main Kuroshio Current flows, and the current axis identification in this embodiment starts from this sub-region.
[0098] Step 2.1.2 Among all the grid points in the sub-region, remove the grid points with missing flow velocity values, select the grid point corresponding to the maximum flow velocity value among the remaining grid points, and take the position of the grid point as the starting point; select the starting point of each month for each of the 384 months independently according to this step.
[0099] The maximum flow velocity refers to the maximum value of the flow velocity, which is calculated according to... calculate.
[0100] Step 2.2 Establish orthogonal auxiliary lines: At the starting point, construct an auxiliary line perpendicular to the flow direction at that point and with a length of 140 km; the flow direction at this point refers to the direction of the velocity vector at the starting point, i.e., the eastward velocity component and the northward velocity component at that point are arranged according to...
[0101] The direction obtained;
[0102] Step 2.3 Calculate the average flow direction of the auxiliary line based on the Gaussian weighting function:
[0103] Step 2.3.1 Set up sampling interpolation points at fixed intervals of 7km along the auxiliary line;
[0104] The total length L of the auxiliary line is set to 140km, with 70km extending to each side from the center point. Therefore, there are a total of 21 sampling interpolation points (1 center point and 10 on each side). The geographical location of each sampling interpolation point is determined as follows:
[0105] Using a spherical approximation and taking the Earth's radius R = 6371 km, the planar distance of the sampling points from the center point along the auxiliary line is converted into latitude and longitude increments:
[0106] Latitude direction: ;
[0107] Longitude direction: ;
[0108] Among them, the latitude used for conversion Take the latitude of the center point of the auxiliary line Furthermore, in the same auxiliary line layout, the latitude and longitude increment conversion of all sampling interpolation points uses the same method. .
[0109] Step 2.3.2 Calculate the original weights of each interpolation point using the Gaussian weighting function:
[0110]
[0111] in, The original weights of the i-th interpolation point; Represents the position coordinates of the i-th interpolation point; The coordinates of the center point of the auxiliary line; is the spatial distance (in km) between the i-th interpolation point and the center point of the auxiliary line. Standard deviation of Gaussian distribution (unit: km); Determined based on the length L of the auxiliary line:
[0112]
[0113] In this embodiment, L=140km, then =35km.
[0114] Step 2.3.3 normalizes the original weights to obtain the final weights for each interpolation point. :
[0115]
[0116] Normalized weights satisfy the constraints If a sampling interpolation point is missing, then set the weight of that point to 0, and normalize it again using the weights of the remaining valid sampling interpolation points, and then perform a weighted average according to step 2.3.4.
[0117] exist Under the conditions of a sampling distance of 35km and a sampling interval of 7km, the weights of the 21 sampling interpolation points are shown in Table 1. The sampling points on both sides are symmetrically located from the center point, and the values in the same row are shared by the sampling points on both sides; the weights in Table 1 are based on the premise that all 21 sampling interpolation points are valid points.
[0118] Table 1:
[0119]
[0120] Step 2.3.4: Calculate the average flow direction along the entire auxiliary line by applying a weighted average of the flow directions at all interpolation points using normalized weights. The specific method is as follows:
[0121] The eastward velocity component obtained by interpolation at each sampling interpolation point With northward flow velocity component Using normalized weights respectively By performing a weighted average, the average velocity component along the auxiliary line is obtained:
[0122]
[0123]
[0124] in, , These are the eastward and northward velocity components at the i-th sampling interpolation point, respectively; This represents the average eastward flow velocity component. This represents the average northward flow velocity component.
[0125] The average flow direction of the auxiliary line is calculated from the average velocity component using the following formula:
[0126]
[0127] in, For average flow direction, With due east as 0° and counterclockwise as positive, the value ranges from −180° to 180°.
[0128] Since the weighted average is performed on the velocity components uo and vo, and the flow direction, as a circulating quantity with discontinuities of ±180°, does not participate in the arithmetic average, there will be no erroneous result of direction reversal when there is reverse flow across the due north direction (i.e., the boundary between +180° and −180°) and on the auxiliary line.
[0129] In this embodiment Under the weighted distribution, the normalized weight of the sampling interpolation points at both ends 70km from the center point is only 0.0112 (see Table 1); while the flow velocity in the core dynamic zone of the Kuroshio Current is significantly greater than that at the edge, so the influence of the edge sampling interpolation points on the average flow direction is very small.
[0130] Step 2.4 Correct the orientation of the auxiliary lines and locate the current flow axis point:
[0131] Step 2.4.1 Adjust the auxiliary line to be perpendicular to the aforementioned weighted average flow direction. That is, take the current calculation position (the center point of the previous auxiliary line) as the new center point of the auxiliary line and adjust the direction of the auxiliary line to be perpendicular to the average flow direction. The direction perpendicular to each other; the perpendicularity refers to the direction angle of the auxiliary line being taken as... +90°. The length of the corrected auxiliary line remains unchanged at L=140 km.
[0132] Step 2.4.2 Perform equal-interval interpolation sampling again on the adjusted auxiliary line: the sampling interval remains 7km, and the total number of sampling points remains 21; the geographical location of each sampling point is determined according to the spherical approximation conversion method in step 2.3.1; the eastward velocity component uo and the northward velocity component vo at each sampling point are obtained by interpolation from the source data according to the interpolation method described in step 2.3; missing values in the sampling point interpolation results are not included in subsequent calculations.
[0133] Step 2.4.3 Among the valid sampling interpolation points on the auxiliary line, the point corresponding to the maximum value of the flow velocity is determined as the flow axis point of the current calculation position; the current flow axis point is recorded as the result of this round of flow axis tracking.
[0134] Step 2.5: Set the tracking step size for each partition and iterate forward to the next search position. The specific method is as follows:
[0135] Step 2.5.1 Divide the tracking area with longitude 141°E as the boundary: The area east of the current tracking position with longitude 141°E is the extension area, and the area west of 141°E and exactly at 141°E is the Kuroshio mainstream area. That is, when the current tracking position has longitude exactly at 141°E, it is included in the Kuroshio mainstream area.
[0136] Step 2.5.2 Dynamically determine the location during the tracking process: When a tracking location is reached, first determine the region (mainstream area or extension area of the Kuroshio Current) to which the location belongs according to the criteria described in Step 2.5.1, and then determine the tracking step length from that location; the tracking location is the center point of the auxiliary line of the current round.
[0137] Step 2.5.3 If the current tracking location belongs to the main Kuroshio area, the tracking step size is taken as... If it belongs to the extended body region, the tracking step length is taken as... ;
[0138] The above is the standard step size; in the corrective tracking after getting caught in the vortex, the step size in the Kuroshio mainstream area is increased to 20km according to step 2.7.3.
[0139] After determining the step size, starting from the current flow axis point (the flow axis point determined in step 2.4), move along the average flow direction obtained in step 2.3.4 to track the step size. To obtain the next search location; the distance moved. The latitude and longitude increments are calculated using the spherical approximation method in step 2.3.1; the direction of movement is taken as the average flow direction. The positive direction (i.e., going with the current, not against it).
[0140] Step 2.5.4: Use the next search position as the center point for the next round of auxiliary line layout, and return to step 2.2; the termination condition for flow axis tracking is executed according to the termination criterion described in step 2.6.2.
[0141] Step 2.6 Iteratively generate the original complete flow axis: Repeat the above steps, identifying the flow axis points one by one and connecting all the flow axis points to obtain the complete Kuroshio Current axis. The specific method is as follows:
[0142] Step 2.6.1 Perform flow axis tracing on a monthly basis: Starting from the starting point selected in step 2.1, repeat the vortex identification in steps 2.2-2.5 and step 2.7, identify the flow axis points one by one, and record them in the order of identification.
[0143] Step 2.6.2 During the tracking process, the flow axis tracking shall be terminated if one of the following conditions is met:
[0144] Condition 1: The longitude of the current tracking location exceeds 145°E;
[0145] Condition 2: The tracking process is judged for the second time to be trapped in a vortex (judged according to step 2.7.1);
[0146] After step 2.6.3 is terminated, all identified flow axis points are retained, and all flow axis points are connected in the order of identification to obtain the complete Kuroshio Current axis for that month; the last identified flow axis point at the end is the flow axis endpoint.
[0147] In the 384 monthly flow axis identifications in this embodiment, no termination occurred due to secondary entrapment into vortices. If the tracking of a certain month terminates due to condition two, the identification is considered incomplete. This method does not have an automatic completion mechanism (it does not replace data such as climatological flow paths), and the identification can be re-executed manually after selecting a new starting point.
[0148] Step 2.7 Vortex Interference Identification and Backtracking Correction Mechanism
[0149] To improve the robustness of the method, this method specifically designs a mechanism to deal with the situation of getting trapped in a vortex:
[0150] Step 2.7.1 For each new flow axis point identified, calculate its Euclidean distance to all previously identified points; the Euclidean distance is calculated as follows:
[0151] The longitude and latitude of the new current axis point and the identified current axis point are directly used as plane coordinates in the calculation, and the resulting distance is in degrees (°) (example: 1°≈111.195km in the latitude direction, 0.01°≈1.11km); this calculation is a simplification of the geodetic distance calculation.
[0152] If the distance is less than 0.01°, it is determined that the automatic identification process has encountered a vortex trap. This threshold is only used as a criterion for determining vortex trapping and does not involve the calculation of a specific distance value. The 0.01° is on the order of 1 / 10 of a tracking step size (approximately 0.09° for a main flow area step size of 10km, and approximately 0.18° for a step size of 20km). Therefore, two adjacent flow axis points will not trigger the above determination, and there is no need to exclude adjacent flow axis points from the determination.
[0153] After step 2.7.2 determines that the new flow axis point is trapped in a vortex, the new flow axis point and the identified flow axis point that meets the distance condition described in step 2.7.1 are marked as a pair of duplicate points (at this time, the identification path forms a loop).
[0154] Step 2.7.3 Revert to the one in the pair of repetitive points that is earlier in the identification sequence, clear all flow axis points identified after that position, and start tracing again from that position;
[0155] When retracing, the selection of the next flow axis point is restricted to a fan-shaped region of 30° on each side of the current average flow direction: that is, among the valid sampling interpolation points of the auxiliary line, only the sampling interpolation points located within the fan-shaped region are considered as candidates, and the one with the largest flow velocity value is selected as the next flow axis point. This prevents the next flow axis point from being selected at the edge of the auxiliary line and being affected by the surrounding cluttered flow field. The fan-shaped region has the flow axis point at the point of retracing as its vertex and the current average flow direction at that position as its center direction. The fan-shaped region does not involve the setting of the radius, but only constrains the direction of the flow axis point selection. This fan-shaped restriction only applies to the selection of the next flow axis point and is lifted once the next flow axis point is determined, without any other lifting conditions.
[0156] Zone step length: In the main Kuroshio current area, the tracking step length will be increased from 10km to 20km after retreating; in the Kuroshio extension area, the forward step length remains at 50km, only the range of the forward movement is restricted.
[0157] Step 2.7.4 If, during the continued tracking process after clearing, it is determined that the current flow axis identification has been trapped in a vortex again (i.e., trapped in a vortex for the second time), then the current flow axis identification is terminated; this method does not have an automatic retry mechanism.
[0158] Step 2.8 Smoothing by moving average, the specific method is as follows:
[0159] Step 2.8.1 Perform moving average calculations on the longitude and latitude values of each flow axis point in the original flow axis sequence obtained by identification, and output the noise-reduced and smoothed flow axis curve; the moving average is an equal-weight moving average, and the window is a centrally symmetric window centered on the flow axis point to be smoothed.
[0160] Step 2.8.2 The sliding window length is based on the number of adjacent flow axis points; the sliding window length in the non-Kuroshio extension area is 11, and the sliding window length in the Kuroshio extension area is 3; for the flow axis point to be smoothed, the window length of 11 or 3 is selected according to whether the longitude of its window center point is located in the main flow area or the extension area of the Kuroshio; adjacent flow axis points located on the same month's flow axis can select different window lengths.
[0161] Step 2.8.3 For the flow axis point to be smoothed, take all flow axis points within a window of length Wc centered on it, calculate the arithmetic mean of the longitude values of each flow axis point within the window, and use the average value as the smoothed longitude value of the flow axis point; similarly, calculate the arithmetic mean of the latitude values of each flow axis point within the window, and use the average value as the smoothed latitude value of the flow axis point; longitude and latitude are calculated independently and do not overlap.
[0162] The window length Wc is determined based on the region where the flow axis point to be smoothed is located: For flow axis points located in the main flow region of the Kuroshio Current, Wc=11. In this case, the window takes 5 adjacent flow axis points forward and 5 adjacent flow axis points backward from the flow axis point to be smoothed, totaling 11 flow axis points for averaging. For flow axis points located in the extended region, Wc=3. In this case, the window takes 1 adjacent flow axis point forward and 1 adjacent flow axis point backward from the flow axis point to be smoothed, totaling 3 flow axis points for averaging. All flow axis points within the window participate in the averaging with equal weight, meaning that the values of each flow axis point have the same weight in the arithmetic mean.
[0163] Repeat the above process for each flow axis point to be smoothed to obtain the smoothed flow axis sequence.
[0164] Step 2.8.4 The flow axis points at the beginning and end of the sequence that are insufficient to form a complete window are not smoothed (truncation process); that is, after smoothing, when the window length is 11, the beginning of the flow axis sequence is reduced by 5 points and the end by 5 points, and when the window length is 3, the beginning is reduced by 1 point and the end by 1 point. The smoothed flow axis is composed of the smoothed values of the remaining flow axis points.
[0165] The above-mentioned moving average smoothing process outputs a noise-reduced and smoothed flow axis curve.
[0166] Step 2.9 Piecewise interpolation gridding processing, the specific method is as follows:
[0167] After completing the moving average noise reduction in step 2.9.1, the entire complete flow axis is split into two independent Kuroshio paths, which are defined as the first Kuroshio path and the second Kuroshio path, respectively.
[0168] The range of the two segments is defined by the coordinates of the current axis points: the first segment of the Kuroshio path is the path segment composed of current axis points in the latitude range of 23°N to 25.5°N, and the second segment of the Kuroshio path is the path segment composed of current axis points in the longitude range of 122°E to 141°E; current axis points that are simultaneously within the overlapping range of the coordinate intervals of the two segments belong to both the first and second Kuroshio paths, that is, when splitting, the current axis points are counted into the two segments respectively; the results of the two segments are combined in the forecast stage according to the rules described in step 4.4.
[0169] Step 2.9.2 Gridding of the first segment of the Kuroshio Current path: The longitude of the first segment of the Kuroshio Current path is interpolated according to a latitude resolution of 1 / 12°; that is, a gridded latitude sequence is generated from 23°N as the starting point and at intervals of 1 / 12° up to 25.5°N. For each gridded latitude, the corresponding longitude is obtained by interpolation of the latitude-longitude sequence of the smoothed current axis. The interpolation method is linear interpolation, thereby gridding the first segment of the current axis into a longitude sequence with equal latitude intervals, thus ensuring the continuity of the current axis geometry.
[0170] Step 2.9.3 Gridding of the second segment of the Kuroshio Current path: The latitude of the second segment of the Kuroshio Current path is interpolated according to a longitude resolution of 1 / 12°; that is, a gridded longitude sequence is generated from 122°E as the starting point and at intervals of 1 / 12° up to 141°E. For each gridded longitude, the corresponding latitude is obtained by interpolation of the longitude-latitude sequence of the smoothed current axis. The interpolation method is linear interpolation, thereby gridding the second segment of the current axis into a latitude sequence with equal longitude intervals, thus ensuring the continuity of the current axis geometry.
[0171] By processing the monthly ocean current data obtained through the above current axis identification steps, the Kuroshio Current axis for January 1993 to December 2024 (a total of 384 months) is obtained. After this step, the points of the current axis are evenly and regularly arranged, which is convenient for subsequent analysis and time series modeling.
[0172] Step 3: Construct the deep learning model EOF-LSBoost-GRU using the Empirical Orthogonal Function (EOF), Least Squares Boost (LSBoost), and Gated Recurrent Unit (GRU).
[0173] The deep learning model EOF-LSBoost-GRU includes an EOF analysis unit and an LSBoost-GRU prediction unit. The EOF analysis unit and the LSBoost-GRU prediction unit are connected in sequence: the former decomposes the two Kuroshio Current path datasets into spatial modes and temporal coefficients, while the latter uses the temporal coefficients as the modeling object for training and prediction.
[0174] Step 3.1 The EOF analysis unit analyzes the two Kuroshio Current path datasets. For the Kuroshio Current axis dataset... It is decomposed into spatial modes and temporal coefficients; after piecewise interpolation, the two Kuroshio path datasets are given in matrix form:
[0175]
[0176] In the formula, The number of spatial points (grid points); This represents the number of time points. In the matrix... In this diagram, each column represents the spatial distribution at a specific point in time; each row represents the value of a spatial point at a series of points in time, which is usually a time series.
[0177] The first segment of the Kuroshio Current path contains 31 spatial points (grid points obtained by gridding at 1 / 12° intervals between latitudes 23°N and 25.5°N), and the second segment contains 229 spatial points (grid points obtained by gridding at 1 / 12° intervals between longitudes 122°E and 141°E); the time dimension is the number of months covered by the data, 384.
[0178] The dataset of the above 384 months is divided as follows, and this division applies consistently to both segments of the Kuroshio Current path:
[0179] Training set: Months 1 to 366 (January 1993 to June 2023), a total of 366 months;
[0180] Validation set: Months 367 to 375 (July 2023 to March 2024), a total of 9 months;
[0181] Test set: Months 376 to 384 (April 2024 to December 2024), a total of 9 months.
[0182] EOF decomposition is performed using only the training set data; the validation and test sets are not used for EOF fitting. Therefore, the length of the time coefficient sequence corresponding to each spatial point (or each preserved mode) after EOF is 366 on the training set.
[0183] The empirical orthogonal function decomposition of ocean element fields is to... Decomposed into eigenvector matrix and time coefficient The calculation process is as follows: (Two parts)
[0184] Step 3.1.1 Data Standardization
[0185] First, calculate the time average at the spatial points, and obtain... :
[0186]
[0187] in, , represents the climatological mean of the i-th spatial point;
[0188] Secondly, calculate the standard deviation. :
[0189]
[0190] in, , where represents the standard deviation of the i-th spatial point.
[0191] Finally, the standardized data matrix is obtained. ,satisfy:
[0192]
[0193] Standardized data matrix The time series of each spatial point has a mean of 0 and a standard deviation of 1.
[0194] Step 3.1.2 Calculate the covariance matrix:
[0195]
[0196] Step 3.1.3 Adjust the covariance matrix Perform eigenvalue decomposition:
[0197] Find the eigenvalues and eigenvectors: ;
[0198] Among them, the eigenvector matrix satisfy I, where I is an M×M identity matrix. It is a diagonal matrix, and the diagonal elements are eigenvalues. Sort the eigenvalues and corresponding eigenvectors from largest to smallest as follows:
[0199]
[0200] Step 3.1.4 Calculate the time coefficient:
[0201] Time coefficient It is by standardizing the data matrix Projected onto the eigenvector matrix What was obtained from:
[0202]
[0203] The time coefficient is the principal component time series; for each retained mode, a time series of length 366 is obtained on the training set.
[0204] Step 3.1.5 Extract principal components:
[0205] forward Multiplying the eigenvector fields and their corresponding time coefficients together yields a fitted field:
[0206]
[0207] Then the i-th eigenvector field is paired with the standardized field Contribution rate for:
[0208]
[0209] forward Cumulative contribution rate of each eigenvector field for:
[0210]
[0211] The number of preserved modes for each of the two Kuroshio Current paths is determined according to the following rules:
[0212] The first Kuroshio path retains all modes obtained from its empirical orthogonal function decomposition, with the number of modes being 31, which is equal to the number of spatial points, without dimensionality reduction;
[0213] The second Kuroshio path: the number of modes to be retained is determined based on the cumulative variance contribution rate being no less than 99%, and the number of modes to be retained is 30 (the variance contribution rate of the first 30 modes can reach 99%).
[0214] The retained modes must simultaneously meet the significance test described in step 3.1.6: when selecting modes in descending order of eigenvalues, skip modes that fail the significance test and proceed to the next mode that passes the test, until the number of retained modes reaches the predetermined value determined in this step; that is, the retained modes simultaneously meet both the conditions of "passing the significance test" and "meeting the cumulative variance contribution rate requirement".
[0215] Step 3.1.6 Significance test:
[0216] Selecting physically meaningful eigenvector fields based on the number of spatial points requires significance testing.
[0217]
[0218] in, Let j be the j-th eigenvalue; The number of spatial points in this segment, for the first segment of the Kuroshio path. =31. Regarding the second segment of the Kuroshio path =229. When When, it indicates the first The difference between the eigenvalue and the next eigenvalue is greater than the eigenvalue. The error range of the eigenvalues themselves indicates that there is no statistical overlap between the two modes, and that the two modes are distinguishable and independent real physical signals. The modality is preserved.
[0219] Step 3.1.7 Spatiotemporal matrix construction and modal feature supplementation:
[0220] Following the above process, the two stream axis point sequences are processed into a spatiotemporal matrix ( and ), whose dimensions are respectively and ;in, and The values are the number of fixed latitude points on the first flow axis (31) and the number of fixed longitude points on the second flow axis (229), respectively, which are called spatial dimensions; = This refers to the time dimension of the data coverage. In each spatial dimension, the time series is normalized. Based on this normalized sequence, a first-order differencing sequence is constructed as supplementary modal features to enhance the model's ability to capture data trends. The first-order differencing operation reduces the sequence length by one. To ensure the feature dimensions remain consistent with the original sequence, the differencing sequence is padded with leading zeros.
[0221] The formula for calculating the first-order difference is:
[0222] in, For the standardized data at time t, Let be the difference sequence value at time t.
[0223] The final constructed multimodal input features include the original normalized sequence and the first-order difference sequence, used as data input for the LSBoost-GRU forecasting unit. The construction object of the multimodal input features is the time coefficient sequence of each retained mode: for each retained mode, its normalized time coefficient sequence and the first-order difference sequence constitute the input features of that mode.
[0224] Step 3.2 The LSBoost-GRU prediction unit obtains the final prediction result through an adaptive weighted fusion strategy based on validation set errors. The LSBoost-GRU prediction unit consists of Least Squares Boost (LSBoost) and Gated Recurrent Unit (GRU).
[0225] Step 3.2.1 Establish forecast units and training samples
[0226] Forecasting units are established one set at a time according to the retained modes: for each retained mode, an LSBoost-GRU forecasting unit is trained independently; 31 sets are established for the first Kuroshio path and 30 sets are established for the second Kuroshio path, for a total of 61 sets; the parameters of each set of forecasting units are not shared and the training is independent of each other.
[0227] Using the time coefficient sequences (length 366) of each retained modality on the training set as the object, training samples are constructed using a sliding window method: the window length (length of the input sequence) is 6 months, the sliding step is 1 month, and adjacent windows are allowed to overlap;
[0228] The testing phase uses the same sliding window method as the training phase to construct test samples, and the test set lasts for 9 months.
[0229] The forecast units for both Kuroshio Current paths output the same object, which is the principal component (time coefficient): that is, the time coefficient of the last three months in the test set (a total of 9 months); the output is a scalar (each retained mode corresponds to a time coefficient value), and its dimension is a standardized dimensionless quantity.
[0230] The predicted time coefficients need to be de-standardized. De-standardization uses the same set of climatological mean and standard deviation used in step 3.1.1 standardization. After de-standardization, the flow axis coordinates are further restored: for the first segment of the Kuroshio Current path, the predicted longitude value of that segment on the gridded latitude sequence is obtained; for the second segment of the Kuroshio Current path, the predicted latitude value of that segment on the gridded longitude sequence is obtained after reconstruction of the principal mode matrix as described in step 4.3. That is, the restoration path from time coefficients to flow axis coordinates belongs to steps three and four, and de-standardization and coordinate restoration are performed sequentially.
[0231] Step 3.2.2 Construct the LSBoost model
[0232] The LSBoost model employs a squared error loss function to construct a gradient boosting regression framework. The model hyperparameters are set as follows: 100 iterations and a single iteration learning rate of 0.1. A shallow regression decision tree is used as the base learner to fit the temporal residuals round by round. The model input features consist of 12 dimensions, formed by concatenating 6 months of original normalized temporal features and 6 months of differencing temporal features, capturing the baseline distribution characteristics and short-term variation characteristics of the flow axis position.
[0233] LSBoost is a gradient boosting ensemble regression model that uses least squares squared error as the loss function. It employs a forward stepwise additive model to iteratively construct a weak learner ensemble prediction framework. The basic iterative calculation formula is as follows:
[0234]
[0235] in, For the first The total output of the ensemble model after rounds of iterations. This refers to the prediction results from the previous iteration model. The learning rate shrinkage coefficient is used to constrain the correction magnitude of a single weak regression tree and avoid iterative oscillations and overfitting. For the first The shallow regression decision tree weak learner obtained from rounds of training.
[0236] The complete iteration process of LSBoost is as follows:
[0237] Step 3.2.2.1 Initialize the global baseline model:
[0238]
[0239] In the formula, The target variable is the global mean of the training set.
[0240] Step 3.2.2.2 Calculate the residuals of the current model:
[0241]
[0242] In the formula, For the i-th sample, This represents the prediction result of the previous iteration model for the i-th group of samples;
[0243] Training a single shallow regression tree To minimize the squared residual loss of the tree:
[0244]
[0245] in, Total number of training samples;
[0246] The ensemble model is updated using the learning rate to complete this iteration.
[0247] Step 3.2.2.3 Iterate through all Post-round output final integrated prediction model:
[0248]
[0249] in, The total number of rounds. =100.
[0250] Step 3.3 Construction and Training of GRU Temporal Network
[0251] The GRU time series network adopts a fixed topology, with the input sequence length set to 6, the number of neurons in the GRU hidden layer set to 32, and the output mode set to output only the time series state at the last moment. A dropout layer with a dropout rate of 0.2 is set in the middle of the network to suppress overfitting, and then a fully connected layer and a single-output node fully connected layer are connected in sequence. Finally, the single-step time series prediction result is output through a regression layer.
[0252] GRU simplifies and optimizes recurrent temporal neural networks by setting only two sets of gating structures: update gate and reset gate. This reduces the number of model parameters and lowers training computational overhead while retaining the ability to capture long-term temporal dependencies.
[0253] Reset Door:
[0254] Update Gate:
[0255] Construct candidate hidden state vectors using tanh activation layers. Used to store newly added time-series feature information at the current time:
[0256]
[0257] By combining the historical hidden state and candidate state information of the updated gate weight allocation, the hidden state is updated at the current moment. Indicates element-wise multiplication:
[0258]
[0259] in, This represents the input time series feature vector at the current time step t. This indicates the output of the reset gate at time step t. This indicates the output of the update gate at time step t. This represents the hidden layer state at time step t. This represents the output of the hidden layer at the previous time step; This represents the output of the hidden layer at the previous time step. Input at the current time Perform vector concatenation; This indicates the current candidate state of the hidden layer; The sigmoid activation function used by the gating unit is represented by tanh, and the candidate state layer activation function is represented by tanh. , , Calculate the corresponding weight matrices for the reset gate, update gate, and candidate hidden states, respectively. , , These are the biases corresponding to the reset gate, update gate, and candidate hidden state, respectively.
[0260] The GRU network training uses the Adam adaptive optimizer, with a maximum training iteration count of 50 and a batch size of 32 per training iteration. The training samples are randomly shuffled in each iteration to ensure the network's generalization ability.
[0261] The initial learning rate is set to 0.001, and no learning rate decay strategy is set.
[0262] The loss function uses mean squared error (MSE): Divide the sum of the squares of the differences between the predicted and actual values by the sample batch size; where, For predicted values, These are actual observations. The sample batch size is specified; gradient clipping and early stopping strategies are not used; the regularization measure is the Dropout layer with a dropout rate of 0.2 as mentioned above; the weights and biases adopt the default initialization scheme of the MATLAB Deep Learning Toolbox: the input weights are initialized uniformly using Glorot (Xavier), the cyclic weights are initialized orthogonally, and all bias terms are initialized to a 0 vector.
[0263] Step 3.4 Construct an error adaptive weighted fusion mechanism. Calculate the root mean square error (RMSE) of the predictions for the LSBoost model and the GRU model using the validation set samples at the end of the training set, respectively. Dynamically generate the fusion weights for the two models using an inverse error weighting method.
[0264]
[0265]
[0266] The fusion weights are calculated independently for each retained mode: each forecast unit with a retained mode has its own set of fusion weights; the fusion weights are calculated once before each set of forecast units begins forecasting and remain unchanged during the subsequent 3-step sliding forecast process.
[0267] To avoid feature loss due to excessive weight of a single model, upper and lower limits are imposed on the fusion weights. The LSBoost weights are limited to the range of 0.1 to 0.9, and the GRU weights are adaptively matched according to the weight constraints to ensure that the nonlinear fitting ability and temporal memory ability are preserved in both directions.
[0268] Step 3.5 Testing and Output
[0269] The test set is constructed using the same sliding window method as the training phase, and the test set lasts for 9 months. The prediction units obtained from training each retained modality are used to predict the test samples. After fusion by the fusion weights described in step 3.4, the time coefficients for the last three months in the test set are output. The output time coefficients are denormalized and restored to the flow axis coordinates according to the method described in step 3.2.1, which is the Kuroshio path prediction result under the segmented interpolation coordinates.
[0270] Step four: Divide the segmented interpolated Kuroshio Current axis into training and testing sets; use the EOF-LSBoost-GRU model to train the model parameters; the specific method is as follows:
[0271] Step 4.1 Split the dataset
[0272] In this embodiment, the two segments of Kuroshio path data after segmented interpolation are divided into a modeling set and a test set. The two segments of Kuroshio path data for the first 375 months are used as the modeling set and input into the forecast model, while the last 9 months are used as the test set, to obtain the forecast results for October 2024 to December 2024 (a total of 3 months).
[0273] The modeling set is divided into a training set and a validation set: the training set covers months 1-366 (January 1993 - June 2023), the validation set covers months 367-375 (July 2023 - March 2024), and the test set covers months 376-384 (April 2024 - December 2024). The training set is used to fit the EOF decomposition and train the LSBoost-GRU prediction units, the validation set is used to calculate the root mean square error of the predictions of LSBoost and GRU to determine the fusion weights, and the test set is only used for performance evaluation and does not participate in training or weight calculation.
[0274] Step 4.2 Training and Forecasting of the First Segment of the Kuroshio Current Path
[0275] The first segment of the Kuroshio Current path data in the training set is input into the first segment of the Kuroshio Current path prediction model as the input data of the LSBoost-GRU prediction unit in the corresponding model; the LSBoost-GRU prediction unit in the corresponding model is used to train and predict the first segment of the Kuroshio Current path prediction model.
[0276] The first segment of the Kuroshio Current path prediction model consists of 31 prediction units, that is, each of the 31 modes retained after the decomposition of the EOF segment is established as an independent LSBoost-GRU prediction unit.
[0277] For the forecast model results of the first segment of the path, the model output is used directly. That is, no dimensionality reduction is performed on the first segment. The forecast results of the first segment are obtained by inverse standardization of the prediction time coefficients output by each modal forecast unit. This forecast result is the longitude forecast value of the first segment of the Kuroshio path on the gridded latitude sequence.
[0278] Step 4.3 Training and Forecasting of the Second Kuroshio Current Path
[0279] The second Kuroshio path data in the training set is input into the second Kuroshio path prediction model. The EOF analysis unit in the model is used to perform spatiotemporal decomposition on the training set. The spatial modes with a cumulative variance contribution rate of 99% and their corresponding time coefficients are taken from the second Kuroshio path data and used as input data for the LSBoost-GRU prediction unit in the corresponding model to train and predict the second Kuroshio path prediction model.
[0280] The second segment of the Kuroshio Current track forecast model consists of 30 forecast units, namely, 30 modes retained after EOF decomposition of this segment based on a cumulative variance contribution rate of not less than 99%, each of which is established as an independent LSBoost-GRU forecast unit. EOF decomposition is fitted only with the training set; the validation and test sets use the same set of spatial modes, climatological means, and standard deviations obtained from the training set, without refitting.
[0281] For the prediction model results of the second path segment, the data is reconstructed based on the principal mode matrix of EOF decomposition, and the calculation formula is as follows:
[0282]
[0283] in, To preserve the principal mode matrix corresponding to the mode, its order is M×P (M is the number of points in the space segment, 229, and P is the number of modes to be preserved, 30). The predicted principal component sequence is composed of the fusion prediction time coefficients of each retained mode, which is a P-dimensional column vector; This is a matrix multiplication, the result of which is an M-dimensional column vector; Let M be the M-dimensional vector formed by the standard deviations of each spatial point in this segment on the training set. Indicates The M-dimensional vector formed by multiplying each element by 1; Let M be the M-dimensional vector formed by the climatological mean values of each spatial point in this segment on the training set. Similarly; This indicates that two vectors of the same order are multiplied element by element.
[0284] That is: first, the standardized field is reconstructed by matrix multiplication of the principal mode matrix corresponding to the preserved mode and the predicted principal component sequence; then, the standard deviation and mean of the training set are used for inverse standardization to obtain the latitude prediction value of the second Kuroshio path on the grid longitude sequence.
[0285] Step 4.4 Combining the two forecast results
[0286] The prediction results of the first Kuroshio path prediction model and the second Kuroshio path prediction model are recombined. If there is an intersection between the two models, the first Kuroshio path is completely retained, and the intersection of the second Kuroshio path is discarded, so that the starting longitude of the second Kuroshio path is not less than the longitude of the ending point of the first Kuroshio path.
[0287] The overlapping section refers to the segment of the Kuroshio Current that geographically overlaps with the first Kuroshio Current path (latitude 23°N~25.5°N) and the second Kuroshio Current path (longitude 122°E~141°E); when combined, a continuous, non-repeating, and non-self-intersecting Kuroshio Current axis for that month is obtained.
[0288] Step 4.5 evaluates the prediction results using the root mean square error (RMSE) and the spatial anomaly correlation coefficient (ACC), as shown in the following formula:
[0289]
[0290]
[0291] in, The total number of grid points involved in the calculation for month j is the sum of the number of grid points retained in the first segment of the Kuroshio Current path and the number of grid points retained after cross-selection in step 4.4 for the second segment of the Kuroshio Current path. Since the cross-section range of the current axes differs in different months, the values for each month... The values can be different; This represents the true value of the i-th grid point in the j-th month; This represents the predicted value for the i-th grid point in the j-th month; This represents the average value of all grid points participating in the calculation for the j-th month; This represents the average value of all grid observations used in the calculation for month j.
[0292] The values for the actual and predicted values are determined by the segment to which the grid point belongs: for grid points belonging to the first segment of the Kuroshio Current path, the latitude value corresponding to that grid point is used in the calculation; for grid points belonging to the second segment of the Kuroshio Current path, the longitude value corresponding to that grid point is used in the calculation. Therefore, both RMSE and ACC are calculated in degrees (°) (converted to 1° ≈ 111.195 km in latitude). Both RMSE and ACC are calculated separately for each month, and the results from each month are not averaged.
[0293] In this embodiment, the RMSE predicted by the EOF-LSBoost-GRU model for October, November, and December 2024 were 0.222, 0.297, and 0.341 (unit: °), respectively, and the ACC were 0.999882, 0.999906, and 0.999914, respectively, all exceeding 0.999. A comparison of the actual flow axis for October-December 2024, the flow axis predicted by the EOF-LSBoost-GRU model of this invention, and the flow axis predicted using existing persistent prediction methods can be found in [link to documentation]. Figures 2-4 .
[0294] In the three figures, the solid black lines represent the actual Kuroshio Current path curves, the dashed red lines represent the Kuroshio Current path curves predicted by the method of this invention, and the dashed blue lines represent the Kuroshio Current path curves predicted by continuous methods. Figures 2-4 As can be seen, the forecast curve of the method of the present invention closely follows the actual flow axis curve throughout the entire length from the beginning to the end. The longitude positions of its peaks and troughs are basically aligned with the actual flow axis. In the sharp bend of the extension east of approximately 138°E, the sharp rise of the forecast curve of the method of the present invention is basically synchronous with the actual flow axis, and the latitudinal deviation is smaller than that of the persistent forecast curve. In this section, the persistent forecast curve shows a lag in its ascent and a detour, and its deviation from the actual flow axis is significantly greater than that of the forecast curve of the present method.
[0295] The above comparison shows that this method can follow the evolution of the Kuroshio Current axis morphology and can still maintain a close fit with the real current axis in areas with large current axis curvature and sharp northward bends. However, the persistence forecast is subject to the inherent limitation of its zero-order extrapolation, and deviates significantly from the real current axis in such areas.
[0296] Step 5: Input the Kuroshio Current path data before the forecast time into the trained deep learning model EOF-LSBoost-GRU to predict the future Kuroshio Current path.
[0297] The Kuroshio Current path data prior to the forecast time refers to the segmented interpolated Kuroshio Current axis data for six consecutive months prior to the forecast time, consistent with the time span input in the training phase of step three. The input data includes both the original standardized sequence and the first-order difference sequence (the first-order difference sequence is padded with zeros at the beginning to maintain consistent feature dimensions). EOF decomposition does not need to be re-executed during forecasting; the EOF spatial mode, climatological mean, and standard deviation obtained in the training phase of step four can be used directly. Flow axis identification in step two does not need to be re-executed during forecasting; the flow axis results identified in step two and smoothed, segmented, and gridded can be used directly.
[0298] The input data is fed into the corresponding LSBoost-GRU forecasting units in the first and second Kuroshio Current path prediction models, respectively, and each forecasting model provides its own prediction results. The outputs of each forecasting unit are fused using the fusion weights described in step four to obtain the prediction time coefficients for each mode. The first segment is output directly, while the second segment is output after reconstruction and inverse standardization of the principal mode matrix as described in step four. The results of the two segments are then combined according to the rules described in step four to obtain the complete Kuroshio Current axis prediction result for that prediction time.
[0299] This invention integrates the LSBoost ensemble regression model with the GRU gated recurrent network in a non-weighted manner. LSBoost is responsible for mining the nonlinear mapping relationship between the flow axis position and its short-term changes, while GRU is responsible for extracting the time-series dynamic evolution features. The final predicted value of the Kuroshio Current Flow Axis position is output through weighted fusion, which takes into account both nonlinear fitting ability and the ability to capture long-term time-series dependencies.
[0300] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are included within the patent protection scope of this application.
Claims
1. A method for predicting the Kuroshio Current path based on a deep learning model, characterized in that, Includes the following steps: Step (1) Obtain grid data of eastward and northward current velocities at a set depth within a set sea area; Step (2) uses the Gaussian weighted feature line method to identify the Kuroshio Current axis month by month; Step (3) After smoothing the Kuroshio Current axis for each month, the Kuroshio Current axis data is divided into the first segment of Kuroshio Current path data and the second segment of Kuroshio Current path data according to the coordinate interval; Step (4) Perform empirical orthogonal function decomposition on each path dataset to obtain spatial modes and time coefficients, and determine the modes to be retained according to predetermined rules; Step (5) For each preserved mode, its time coefficient sequence and the first difference sequence of the sequence are used to form input features, and a least squares boosting model and a gated recurrent unit network are trained independently to obtain the predicted time coefficients of the preserved mode. Step (6) Determine the fusion weights based on the prediction errors of the least squares boosting model and the gated recurrent unit network on the validation set, and use the fusion weights to perform weighted fusion of the prediction time coefficients of the least squares boosting model and the gated recurrent unit network to obtain the fused prediction time coefficients; Step (7) After denormalizing the fusion prediction time coefficient, restore it to the flow axis coordinate, and combine the prediction results of the first Kuroshio path data with the second Kuroshio path data to obtain the Kuroshio path prediction result.
2. The method according to claim 1, characterized in that, In step (4), the empirical orthogonal function decomposition includes: The time series of each spatial point is standardized using the following formula: In the formula, Let i be the value of the i-th spatial point at the n-th time point. Let be the time mean of the i-th spatial point. Let be the standard deviation of the i-th spatial point over time; Calculate the covariance matrix using the following formula: In the formula, The number of spatial points, The number of time points, This is the transpose of the standardized data matrix; Perform eigenvalue decomposition on the covariance matrix and sort the eigenvalues from largest to smallest to obtain: In the formula, For eigenvalues, The corresponding eigenvector matrix; The standardized data is then projected onto the feature vector matrix using the following formula to obtain the time coefficient: In the formula, The time coefficient is... For the standardized data matrix, This is the transpose of the eigenvector matrix; The predetermined rule is as follows: the first path dataset retains all modes obtained from its empirical orthogonal function decomposition; the second path dataset determines the number of modes to retain based on a cumulative variance contribution rate not being lower than a preset value, and the cumulative variance contribution rate is calculated using the following formula: In the formula, To preserve the number of modes, The number of spatial points; and the preserved modes must also pass a significance test, the error range of the j-th eigenvalue is calculated using the following formula: when At that time, the j-th mode passes the significance test; When selecting modes in descending order of feature values, modes that fail the significance test are skipped and the selection proceeds to the next mode that passes the significance test, until the number of modes retained reaches the preset value.
3. The method according to claim 1, characterized in that, In step (5), the first-order difference sequence is calculated according to the following formula, and the resulting difference sequence is padded with zeros at the beginning to maintain the characteristic dimension consistent with the time coefficient sequence: In the formula, Let be the standardized time coefficient at time t. Let be the first-order difference value at time point t.
4. The method according to claim 3, characterized in that, The least squares lifting model adopts a forward step-by-step addition model, and is iteratively constructed according to the following formula: In the formula, This is the output of the ensemble model after the k-th iteration. The output of the model from the previous iteration. The learning rate shrinkage factor, This is the weak learner obtained in the kth round of training; Initialization: In the formula, The mean of the target variable in the training set; The residual of the k-th iteration is calculated using the following formula: In the formula, The true observation value of the i-th sample group; Output after K iterations: In the formula, K is the total number of iterations.
5. The method according to claim 4, characterized in that, The gated loop unit network is updated according to the following formulas: In the formula, Let be the input feature vector at time step t. , These are the outputs for resetting the door and updating the door, respectively. , These are the hidden states of the previous time step and the current time step, respectively. This represents the candidate hidden state at the current time step. It is the sigmoid activation function. This indicates element-wise multiplication. , , These are the weight matrices corresponding to the reset gate, update gate, and candidate hidden states, respectively. , , These are the bias terms corresponding to the reset gate, update gate, and candidate hidden state, respectively. This represents the concatenation of the hidden state from the previous time step and the input vector from the current time step.
6. The method according to claim 1, characterized in that, In step (6), the prediction error is taken as the root mean square error of the prediction, and the fusion weight is determined by the following formula: In the formula, To improve the fusion weights of the least squares improvement model, For the fusion weights of the gated recurrent unit network, , These are the root mean square errors of the least squares lifting model and the gated recurrent unit network on the validation set, respectively; the fusion weights are calculated independently for each retained mode, calculated all at once before forecasting and remaining unchanged in subsequent forecasting processes, and It is limited to the range of 0.1 to 0.
9.
7. The method according to claim 1, characterized in that, In step (7), for the first segment of the Kuroshio path dataset, the predicted time coefficient after denormalization is directly used as its longitude prediction value on the grid latitude sequence; For the second segment of the Kuroshio Current path dataset, matrix multiplication is performed to reconstruct the dominant mode matrix corresponding to the preserved mode and the fused prediction time coefficients, followed by inverse standardization, to obtain its latitude forecast value on the grid longitude sequence. The reconstruction and inverse standardization are performed according to the following formula: In the formula, To preserve the principal mode matrix corresponding to the mode, its order is M×P, where M is the number of spatial points in the segment and P is the number of modes to be preserved; It is a P-dimensional column vector composed of the prediction time coefficients obtained by fusing the various retained modes; This is a matrix multiplication, the result of which is an M-dimensional column vector; Let M be the M-dimensional vector formed by the standard deviations of each spatial point in this segment on the training set. Let M be the M-dimensional vector formed by the mean values of all points in the space segment on the training set; When combining the forecast results of the first segment of Kuroshio path data with the second segment of Kuroshio path data, if there is an overlap between the two segments, the first segment of Kuroshio path data should be completely retained, while the overlapping part of the second segment of Kuroshio path data and the first segment of Kuroshio path data should be discarded, so that the starting longitude of the second segment of Kuroshio path data is not less than the longitude of the ending point of the first segment of Kuroshio path data.
8. The method according to claim 1, characterized in that, In step (1), the eastward and northward flow velocities of the set depth layer are obtained by vertical linear interpolation as follows: Take the two standard layers immediately above and below the set depth layer in the grid data, and interpolate the eastward flow velocity using the following formula; the northward flow velocity is interpolated independently in the same way: In the formula, The depth of the set depth layer is defined as follows: u(z1) and u(z2) are the eastward flow velocity values of the grid point at depths z1 and z2, respectively; v(z1) and v(z2) are the northward flow velocity values of the grid point at depths z1 and z2, respectively. When the flow velocity of a grid point is missing in either of the upper or lower standard layers, the system searches vertically upwards and downwards from the location of the set depth layer, taking the upper and lower standard layers that are closest to the set depth layer and whose flow velocities are not missing as the new upper and lower standard layers to participate in the vertical linear interpolation; when no standard layer with non-missing flow velocities is found in either the upper or lower layers, the flow velocity of the grid point in the set depth layer is recorded as a missing value.
9. The method according to claim 8, characterized in that, In step (2), the method for identifying the Kuroshio Current axis based on the Gaussian weighted feature line method is as follows: An auxiliary line perpendicular to the flow direction is laid out at the current calculation position, and several sampling interpolation points are laid out along the auxiliary line; the eastward and northward velocity components are weighted and averaged according to a Gaussian weight that decreases exponentially with the distance to the center point of the auxiliary line, and the average flow direction is determined based on the obtained average components; the auxiliary line is adjusted to be perpendicular to the average flow direction, and sampling interpolation points are re-laid out, and the point with the largest flow velocity is taken as the flow axis point at the calculation position; the flow axis point is moved along the average flow direction by one tracking step and the tracking continues until the preset termination condition is met, and the flow axis points are connected in sequence to obtain the Kuroshio Current axis for that month; In step (2), the set sea area is divided into the main body area and the extension body area by the set longitude. The longitude of the current calculated position is located east of the set longitude and belongs to the extension body area. The longitude of the current position is located west of the set longitude and exactly equal to the set longitude and belongs to the main body area. The tracking step size of the main body area is smaller than the tracking step size of the extension body area. The preset termination condition is one of the following conditions: The longitude of the current calculated position exceeds the set termination longitude; During the tracking process, it was determined a second time that the device had been caught in a vortex; Step (2) also includes vortex interference processing: for each new flow axis point identified, the distance between the new flow axis point and each of the previously identified flow axis points is calculated. When the distance is less than a preset threshold, it is determined that the flow axis point is trapped in a vortex. The flow axis point is then back to the one that is identified earlier among the two flow axis points that constitute the distance. All flow axis points identified after the current flow axis point are cleared and the flow axis point is re-tracked. When re-tracking, the next flow axis point is selected only within the fan-shaped area within the preset angle range on both sides of the current average flow direction.
10. The method according to claim 9, characterized in that, In step (3), the smoothing is an equal-weighted moving average, and its window is a centrally symmetric window centered on the flow axis point to be smoothed. The window length is calculated based on the number of adjacent flow axis points. The window length of the flow axis point located in the main flow region is greater than the window length of the flow axis point located in the extension region. Flow axis points at the beginning and end of the flow axis sequence that are insufficient to form a complete window are not smoothed.
