Highway data completion method based on low-rank prior
By expanding the highway data into a fourth-order tensor and using weighted gamma-norm, a rank minimization model is constructed, which solves the problem of difficulty in mining 'weekly' time scale correlation and large non-convex norm deviation in the existing technology. problem, achieving more efficient and accurate traffic data completion.
Patent Information
- Application Number
- CN202411010420.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The existing rank minimization model is difficult to mine the correlation on the 'week' time scale when completing traffic data, and the non-convex norm has a large deviation when approximating the rank, and cannot accurately depict the low rank of highway data. This results in insufficient completion accuracy.
Expand highway data into a fourth-order tensor form of 'sensor × time series of day × day of week × week' and use weighted gamma-norm as a non-convex proxy for tensor rank to construct a rank minimum The model is solved by alternating direction multiplier method to achieve data completion.
It improves the accuracy of data completion, can more effectively utilize low-rank prior information, accurately capture the multi-dimensional characteristics of traffic data, and enhances the compactness and accuracy of completion.
Smart Images

Figure CN118535564A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of traffic data completion, and in particular relates to a highway data completion method based on low-rank prior. Background Art
[0002] As an important transportation infrastructure, highways play an important role in promoting regional economic integration, improving logistics efficiency, and improving people's quality of life. With the development of technologies such as sensors, the Internet of Things, and databases, highway systems collect and store massive amounts of data. Data integrity is a key factor in ensuring the intelligent, networked, and smart development of highways. However, in real life, data missing is very common due to various reasons such as sensor damage, communication delays, and network failures. How to accurately and efficiently complete missing data is an important and challenging task.
[0003] In recent years, low-rank tensor completion (LRTC) has attracted wide attention in the field of traffic data completion. Its principle is to use the low-rank prior information of traffic data to complete the tensor according to the known data, and then restore the original data. As a typical representative of LRTC, the rank minimization model realizes data completion by minimizing the rank of the tensor. It can reduce the noise and error that may occur in the completion process while retaining the original data structure. However, this type of model still has the following problems when used for traffic data completion: First, the existing rank minimization model usually models traffic data as a third-order tensor form of "sensor × time series in a day × day", and the third-order tensor may not be able to fully express the difference in traffic flow between weekdays and non-workdays, especially the periodic changes across weeks. Second, in order to achieve a compact rank approximation, the existing rank minimization model usually uses the truncated nuclear norm, Schatten-p norm, etc. as non-convex proxies for rank, but when the singular value is large, the deviation from the true rank is still obvious. The above problems may lead to insufficient accuracy of traffic data completion.
[0004] By analyzing the problems existing in the prior art, the present invention mainly solves the following technical problems: First, the third-order tensor form of "sensor × time series in a day × day" is difficult to mine the correlation on the time scale of "week". Second, the existing non-convex norm has a large deviation when approximating the rank, and cannot accurately characterize the low-rank nature of highway data, making it difficult to achieve effective use of low-rank prior information. Summary of the invention
[0005] In order to solve the above problems, this paper proposes a highway data completion method based on low-rank prior, which expands the highway data into a fourth-order tensor form of "sensor × time series in a day × day in a week × week", which can more comprehensively capture the multi-dimensional characteristics of traffic data. On this basis, a novel weighted gamma- The norm, as a non-convex proxy for tensor rank, can achieve a more compact rank approximation, thereby more effectively utilizing low-rank prior information.
[0006] The technical solution of the present invention is as follows: A highway data completion method based on low-rank prior includes the following steps: Step 1: Obtain the highway data with missing items and normalize them, and then represent the normalized data as a fourth-order tensor of “sensor × time series in a day × day in a week × week”; Step 2: Treat the highway data completion problem as a low-rank tensor completion problem, build a rank minimization model and use the weighted gamma- Norm for model transformation; Step 3: Introduce auxiliary variables and additional constraints to construct the objective function; Step 4: Use the alternating direction multiplier method to solve the objective function and obtain the final highway completion data.
[0007] Furthermore, in step 2, the highway data completion problem is expressed as the following constrained rank minimization model: (1); (1) In the formula, Indicates finding the minimum value; is the normalized partially observable tensor with missing values, is the completion tensor, is the set of real numbers, , , , They correspond to the sizes of different dimensions of the tensor respectively; Indicates rank; Indicates constraints; yes The set of observable data points in ; yes Orthogonal projection on ; Definition yes The complement of Projection on, the two operators satisfy ; In formula (1), the weighted gamma- The norm is used as a non-convex proxy for the tensor rank, and formula (1) is transformed into: (2); (2) In the formula, is the weight coefficient; yes Model- Expand the matrix; It's Gamma- norm; The calculation formula is: , and They are The number of rows and columns, yes No. singular values, is the singular value index, , is a non-negative parameter, .
[0008] Furthermore, in step 3, an auxiliary variable is introduced and a set of additional constraints , formula (2) is transformed into the following objective function: (3); (3) In the formula, is an auxiliary variable Model- Expand the matrix; The augmented Lagrangian function corresponding to formula (3) is expressed as: (4); (4) In the formula, , , , All are auxiliary variables; according to The value of corresponds to different Lagrange multipliers , , , ; is the penalty parameter; Represents the inner product of two tensors; yes -The square of the norm.
[0009] Furthermore, in step 4, the solution process is: Step 4.1: Input normalized partial observable tensor with missing values , observable index set , weight coefficient , , , , penalty parameter , non-negative parameter , , termination condition , update rate , number of iterations , maximum number of iterations ; Step 4.2: Initialize the parameters to get the initial value of the completed tensor , Auxiliary variable initial value , , , and the initial value of the Lagrange multiplier , , , ; Step 4.3, iteratively update each variable using the alternating direction multiplier method; Step 4.4, determine whether the iteration stop condition is met, and the iteration stops when the iteration stop condition is met; Step 4.5: After the iteration stops, output the final completion tensor, denormalize the final completion tensor, and obtain the final highway completion data.
[0010] Furthermore, in step 4.3, the updating process is: Step 4.3.1. Update and complete the tensor , the formula is as follows: (5); (5) In the formula, It is The completed tensor after iterations; It is Auxiliary variables after iterations; It is Lagrange multiplier after iterations; Step 4.3.2. Update auxiliary variables , the formula is as follows: (6); (6) In the formula, It is The auxiliary tensor after iterations; Indicates that the target matrix is transformed modulo- To perform the folding operation, is the dimension of the tensor, ; represents a diagonal matrix; and The matrix The two orthogonal matrices obtained after singular value decomposition; The matrix The diagonal matrix obtained after singular value decomposition is , Indicates that the target tensor is transformed modulo- Perform expansion operation; It means to find the maximum value; Represents the matrix Gamma- Norm on singular values Find the gradient until convergence; is the transpose symbol; It is After iterations Model- Expand the matrix; It is After iterations Model- Expand the matrix; Step 4.3.3: Update the Lagrange multiplier , the formula is as follows: (7); (7) In the formula, and They are Second and Lagrange multiplier after iterations; Step 4.3.4: Update penalty parameters , the formula is as follows: (8); (8) In the formula, is the updated penalty parameter; is the update rate; Step 4.3.5: Update the number of iterations .
[0011] Furthermore, in step 4.4, the iteration stopping condition is: when or The iteration is terminated when It is The completed tensor after iterations; express -norm.
[0012] The beneficial technical effects of the present invention are as follows: In view of the problem that the existing methods in this field do not fully utilize the low-rank prior information of highway data, the present invention proposes a novel rank minimization model. The model models the traffic data in the form of a fourth-order tensor and uses a weighted gamma- The norm is used as a non-convex proxy for the tensor rank. Compared with existing models in this field, our model has higher completion accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a flow chart of the highway data completion method based on low-rank prior of the present invention.
[0014] Figure 2 It is a line graph of the root mean square error of each model in the random missing scenario in the experiment of the present invention.
[0015] Figure 3 It is a line graph of the root mean square error of each model in the space missing scenario in the experiment of the present invention.
[0016] Figure 4 It is a line graph of the root mean square error of each model in the time missing scenario in the experiment of the present invention. DETAILED DESCRIPTION
[0017] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments: like Figure 1 As shown in FIG. 1 , a highway data completion method based on low-rank prior includes the following steps: Step 1: Obtain highway data with missing items and use the Min-Max data normalization method to normalize the data. The formula of the Min-Max data normalization method is expressed as ,in, is the original data point of the highway, and are the maximum and minimum values of all data points in the highway dataset, are the normalized highway data points; the normalized highway data is then represented as a fourth-order tensor form of “sensor × time series in a day × day in a week × week”.
[0018] Step 2: Treat the highway data completion problem as a low-rank tensor completion problem, build a rank minimization model and use the weighted gamma- Norm for model transformation; The highway data completion problem can be expressed as the following constrained rank minimization model: (1); (1) In the formula, Indicates finding the minimum value; is the normalized partially observable tensor with missing values, is the completion tensor, , , , They correspond to the sizes of the four dimensions of the tensor respectively; is the rank of the tensor; Indicates constraints; yes The observable set of indices of known elements in ; yes Orthogonal projection on ; Definition yes The complement of Projection on, the two operators satisfy ; Observable data points in The value is equal to the value at the same index The value of , , , The indices corresponding to different dimensions of the tensor; In formula (1), the weighted gamma- The norm is used as a non-convex proxy for the tensor rank, and formula (1) is transformed into: (2); (2) In the formula, is the weight coefficient; yes Model- Expand the matrix; It's Gamma- norm; The calculation formula is: , and They are The number of rows and columns, yes No. singular values, is the singular value index, , are different non-negative parameters, Step 3: Introduce auxiliary variables and additional constraints to construct the objective function; Considering that there is non-negligible interdependence between the variables in the objective function due to shared terms, in order to optimize each variable independently, an auxiliary variable is introduced and a set of additional constraints , formula (2) is transformed into the following objective function: (3); (3) In the formula, Auxiliary variables Model- Expand the matrix to replace .
[0019] The augmented Lagrangian function corresponding to formula (3) is expressed as: (4); (4) In the formula, , , , All are auxiliary variables; according to The value of corresponds to different Lagrange multipliers , , , ; is the penalty parameter; Represents the inner product of two tensors; yes -The square of the norm.
[0020] Step 4: Use the alternating direction multiplier method (ADMM) to solve the objective function and obtain the final highway completion data.
[0021] The core principle of the alternating direction multiplier method (ADMM) is to decompose the original problem into multiple sub-problems and solve these sub-problems alternately to finally obtain the solution to the original problem. Based on the ADMM framework, the minimization of formula (5) can be transformed into iterative solutions to multiple sub-problems respectively. The specific solution process is: Step 4.1: Input normalized partial observable tensor with missing values , observable index set , weight coefficient , , , , penalty parameter , non-negative parameter , , termination condition , update rate , number of iterations , maximum number of iterations ; Step 4.2: Initialize the parameters to get the initial value of the completed tensor , Auxiliary variable initial value , , , and the initial value of the Lagrange multiplier , , , ; Step 4.3, use the alternating direction multiplier method to iteratively update each variable; the updating process is: Step 4.3.1. Update and complete the tensor , the formula is as follows: (5); (5) In the formula, It is The completed tensor after iterations; It is Auxiliary variables after iterations; It is Lagrange multiplier after iterations; Step 4.3.2. Update auxiliary variables , the formula is as follows: (6); (6) In the formula, It is The auxiliary tensor after iterations; Indicates that the target matrix is transformed modulo- To perform the folding operation, is the dimension of the tensor, ; Represents the function of constructing a diagonal matrix; and The matrix The two orthogonal matrices obtained after singular value decomposition; The matrix The diagonal matrix obtained after singular value decomposition is , Indicates that the target tensor is transformed modulo- Perform expansion operation; It means to find the maximum value; Represents the matrix Gamma- Norm on singular values Find the gradient until convergence; is the transpose symbol; It is After iterations Model- Expand the matrix; It is After iterations Model- Expand the matrix; Step 4.3.3: Update the Lagrange multiplier , the formula is as follows: (7); (7) In the formula, and They are Second and Lagrange multiplier after iterations; Step 4.3.4: Update penalty parameters , the formula is as follows: (8); (8) In the formula, is the updated penalty parameter; is the update rate; Step 4.3.5: Update the number of iterations .
[0022] Step 4.4, determine whether the iteration stop condition is met, and the iteration stops when the iteration stop condition is met; The iteration stopping condition is: or The iteration is terminated when is the termination condition, is the maximum number of iterations; for -norm.
[0023] Step 4.5: After the iteration stops, the final completion tensor is output, and the final completion tensor is denormalized to obtain the final highway completion data; The anti-normalization formula is expressed as ,in are the denormalized highway data points.
[0024] In order to prove the feasibility and superiority of the present invention, the following comparative experiments are given. The data set selects the PEMS03 highway traffic data set. The missing scenarios include random missing, spatial missing and temporal missing. The missing rates include 20%, 40% and 60%. The comparative models select HaLRTC (rank minimization model based on nuclear norm), LRTC-TNN (rank minimization model based on truncated nuclear norm) and SpBCD (rank minimization model based on Schatten-p norm). The evaluation index selects the root mean square error. The comparison results are shown in Figure 2. Figure 2-Figure 4 shown. Figure 2-Figure 4 The line graphs are respectively the root mean square errors of the models in the random missing, spatial missing and temporal missing scenarios in the experiment of the present invention. It can be clearly seen that the root mean square error of the present invention achieves the minimum value in all scenarios and all missing rates, indicating that the present invention can achieve higher completion accuracy.
[0025] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A highway data completion method based on low-rank prior, characterized in that: The following steps are included: Step 1: Obtain the highway data with missing items and normalize it, and then represent the normalized data as a fourth-order tensor of "sensor × time series in a day × day in a week × week"; Step 2: Treat the highway data completion problem as a low-rank tensor completion problem, build a rank minimization model and use the weighted gamma- Norm for model transformation; Step 3: Introduce auxiliary variables and additional constraints to construct the objective function; Step 4: Use the alternating direction multiplier method to solve the objective function and obtain the final highway completion data.
2. The highway data completion method based on low-rank prior according to claim 1 is characterized in that: In step 2, the highway data completion problem is expressed as the following constrained rank minimization model: (1); (1) In the formula, Indicates finding the minimum value; is the normalized partially observable tensor with missing values, is the completion tensor, is the set of real numbers, , , , They correspond to the sizes of different dimensions of the tensor respectively; Indicates rank; Indicates constraints; yes The set of observable data points in ; yes Orthogonal projection on ; Definition yes The complement of Projection on, the two operators satisfy ; In formula (1), the weighted gamma- The norm is used as a non-convex proxy for the tensor rank, and formula (1) is transformed into: (2); (2) In the formula, is the weight coefficient; yes Model- Expand the matrix; It's Gamma- norm; The calculation formula is: , and They are The number of rows and columns, yes No. singular values, is the singular value index, , is a non-negative parameter, .
3. The highway data completion method based on low-rank prior according to claim 1 is characterized in that: In step 3, an auxiliary variable is introduced and a set of additional constraints , formula (2) is transformed into the following objective function: (3); (3) In the formula, is an auxiliary variable Model- Expand the matrix; The augmented Lagrangian function corresponding to formula (3) is expressed as: (4); (4) In the formula, , , , All are auxiliary variables; according to The value of corresponds to different Lagrange multipliers , , , ; is the penalty parameter; Represents the inner product of two tensors; yes -The square of the norm.
4. The highway data completion method based on low-rank prior according to claim 3 is characterized in that: In step 4, the solution process is: Step 4.1: Input normalized partial observable tensor with missing values , observable index set , weight coefficient , , , , penalty parameter , non-negative parameter , , termination condition , update rate , number of iterations , maximum number of iterations ; Step 4.2: Initialize the parameters to get the initial value of the completed tensor , Auxiliary variable initial value , , , and the initial value of the Lagrange multiplier , , , ; Step 4.3, iteratively update each variable using the alternating direction multiplier method; Step 4.4, determine whether the iteration stop condition is met, and the iteration stops when the iteration stop condition is met; Step 4.5: After the iteration stops, output the final completion tensor, denormalize the final completion tensor, and obtain the final highway completion data.
5. The highway data completion method based on low-rank prior according to claim 4 is characterized in that: In step 4.3, the updating process is: Step 4.3.
1. Update and complete the tensor , the formula is as follows: (5); (5) In the formula, It is The completed tensor after iterations; It is Auxiliary variables after iterations; It is Lagrange multiplier after iterations; Step 4.3.
2. Update auxiliary variables , the formula is as follows: (6); (6) In the formula, It is The auxiliary tensor after iterations; Indicates that the target matrix is transformed modulo- To perform the folding operation, is the dimension of the tensor, ; represents a diagonal matrix; and The matrix The two orthogonal matrices obtained after singular value decomposition; The matrix The diagonal matrix obtained after singular value decomposition is , Indicates that the target tensor is transformed modulo- Perform expansion operation; It means to find the maximum value; Represents the matrix Gamma- Norm on singular values Find the gradient until convergence; is the transpose symbol; It is After iterations Model- Expand the matrix; It is After iterations Model- Expand the matrix; Step 4.3.3: Update the Lagrange multiplier , the formula is as follows: (7); (7) In the formula, and They are Second and Lagrange multiplier after iterations; Step 4.3.4: Update penalty parameters , the formula is as follows: (8); (8) In the formula, is the updated penalty parameter; is the update rate; Step 4.3.5: Update the number of iterations .
6. The highway data completion method based on low-rank prior according to claim 5 is characterized in that: In step 4.4, the iteration stopping condition is: or The iteration is terminated when It is The completed tensor after iterations; express -norm.
Citation Information
Patent Citations
Visual data completion method based on low-rank tensor ring decomposition and factor prior
CN114841888A
Traffic data tensor completion method based on space-time constraint
CN115630211A
Traffic data restoration method based on non-convex low-rank tensor representation
CN115828039A
Industrial time series data completion method based on tensor weighted gamma norm
CN117056327A
Visual data completion method based on low-rank total variation depth prior fusion
CN117745570A
