A lightweight next-position prediction method and system based on zero-sample two-stage dynamic weighted ranking

By constructing a statistical feature matrix based on historical check-in sequences and employing improved entropy-weighted TOPSIS and CRITIC-TOPSIS algorithms for two-stage sorting, the real-time performance and cross-scene adaptability issues of deep learning models in next-position prediction in existing technologies are solved, achieving efficient and accurate position prediction without training.

CN121615092BActive Publication Date: 2026-04-17ZHEJIANG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG UNIV
Filing Date
2026-01-30
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Current next position prediction technologies rely on deep learning models, which make it difficult to balance real-time performance, interpretability, and cross-scenario adaptability, and individual differences and behavioral sparsity are not adequately modeled.

Method used

A lightweight prediction method with zero-sample two-stage dynamic weighted ranking is adopted. By constructing a statistical feature matrix based on historical check-in sequences, and using improved entropy-weighted-TOPSIS and CRITIC-TOPSIS algorithms for two-stage ranking, the feature weights are dynamically adjusted to achieve a prediction process without training.

Benefits of technology

It improves prediction accuracy, interpretability, and cross-scenario adaptability, reduces computational complexity and resource consumption, is suitable for data-scarce and cross-scenario environments, and has high real-time performance and good scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121615092B_ABST
    Figure CN121615092B_ABST
Patent Text Reader

Abstract

This invention discloses a lightweight next-position prediction method and system based on zero-sample, two-stage dynamic weighted ranking. The method includes first constructing a three-dimensional evaluation matrix, then using an improved entropy-weighted TOPSIS algorithm and a CRITIC-TOPSIS algorithm to obtain a first-stage candidate set of location identifiers and a second-stage candidate set of location identifiers, respectively. Finally, based on the first-stage and second-stage candidate sets of location identifiers, a candidate set of the next position for the user's current check-in location is obtained. This invention requires no model training, is suitable for data-scarce and cross-scene environments, possesses high real-time performance and lightweight computational features, is suitable for online prediction applications, and has good interpretability and scalability. Furthermore, this invention outperforms traditional models in both accuracy and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of human mobility behavior modeling and location intelligent recommendation technology, specifically involving a lightweight next-position prediction method and system with zero-sample two-stage dynamic weighted ranking. Background Technology

[0002] With the development of mobile internet and location technology, location-based services (LBS) have been widely applied in fields such as travel recommendations, urban transportation, business layout, and social behavior research. Among these, next location prediction is one of the core tasks of LBS, aiming to predict a user's next likely location based on their historical check-in data and contextual characteristics. High-precision next location prediction results can not only improve the intelligence level of travel recommendations but also provide important support for infectious disease transmission prediction, urban traffic management, energy scheduling, and business decision-making.

[0003] Currently, mainstream research in academia and industry focuses on sequence modeling methods based on deep learning, such as recurrent neural networks (RNN) and graph neural networks (GNN). These methods typically capture potential behavioral patterns by learning users' spatiotemporal trajectory patterns, possessing strong nonlinear fitting capabilities and prediction accuracy. However, with the expansion of data scale and the diversification of application scenarios, existing methods still have the following prominent problems: (1) High dependence on model training, making it difficult to transfer and generalize. Deep learning models require a large amount of labeled data and computing resources during training. Data differences between different cities or platforms can lead to a significant decrease in model transfer performance, making it difficult to deploy quickly in new scenarios. (2) Insufficient interpretability and controllability. Due to the complex structure and high parameter dimension of deep neural networks, they are essentially black box models, and their prediction results are difficult to fundamentally explain, which is not conducive to scenarios such as urban travel analysis that require interpretable decision-making basis. (3) Individual differences and behavioral sparsity are not fully modeled. User check-in data often has characteristics such as strong temporal fluctuations and sparse spatial distribution. Existing models usually start from the overall pattern and have weak identification capabilities for users with few samples or unpopular locations. (4) Insufficient real-time performance and high resource consumption. Large neural networks have long inference times, making them unsuitable for real-time online prediction or edge computing environments; simultaneously, model updates are costly and difficult to support dynamically changing travel behavior patterns. In summary, most existing next-location prediction technologies rely on deep learning models, making it difficult to balance real-time performance, interpretability, and cross-scenario adaptability. Against this backdrop, there is an urgent need for a lightweight method that requires no training, can adaptively evaluate the importance of candidate locations based on statistical features, and achieve dynamic ranking, thereby ensuring computational efficiency while enhancing prediction accuracy and the algorithm's sensitivity to time fluctuations and individual user differences. Summary of the Invention

[0004] To address the problems existing in the background technology, this invention provides a lightweight next-position prediction method and system based on zero-sample, two-stage dynamic weighted ranking. This solves the technical problem that most existing next-position prediction technologies rely on deep learning models, making it difficult to balance real-time performance, interpretability, and cross-scenario adaptability. Addressing the issues of strong training dependence, insufficient modeling of individual differences, static feature weighting, and poor real-time performance in existing methods, this invention proposes a lightweight prediction framework based on the fusion of statistical features and dynamic weights. This framework enables adaptive inference of user travel behavior without requiring deep learning model training. This invention improves prediction accuracy, interpretability, and cross-scenario adaptability while maintaining computational efficiency.

[0005] The technical solution adopted in this invention is:

[0006] I. A lightweight next position prediction method based on zero-sample two-stage dynamic weighted ranking:

[0007] S1. Obtain check-in samples of user movement behavior, serialize all check-in samples in chronological order to obtain historical check-in sequences, obtain historical check-in location subsequences, historical check-in activity subsequences and next location candidate sets based on historical check-in sequence, construct location access frequency features, activity subnetwork access frequency features and location subnetwork access frequency features based on historical check-in location subsequences, historical check-in activity subsequences and next location candidate sets respectively, and construct a three-dimensional evaluation matrix based on the three types of features.

[0008] S2. Based on the three-dimensional evaluation matrix, the improved entropy weight-TOPSIS algorithm is used to sort the candidate set of the next position in the first stage, resulting in the first stage candidate set of position identifiers; based on the three-dimensional evaluation matrix, the CRITIC-TOPSIS algorithm is used to sort the candidate set of the next position in the second stage, resulting in the second stage candidate set of position identifiers.

[0009] S3. Select the first few location identifiers from the first stage location identifier candidate set, remove the selected location identifiers from the second stage location identifier candidate set to obtain the second stage location identifier candidate set after removal, and then select the first few location identifiers from the second stage location identifier candidate set to supplement it. Thus, all the location identifiers selected in succession constitute the next location candidate set of the user's current check-in location.

[0010] Step S1 specifically involves:

[0011] S11. Obtain the current check-in sample of the user's movement behavior and several consecutive historical check-in samples preceding the current check-in sample. Serialize all check-in samples in chronological order to obtain the historical check-in sequence. Each check-in sample in the historical check-in sequence includes a location identifier, an activity type identifier, and a timestamp.

[0012] S12. The historical check-in position subsequence is formed by combining the position identifiers of the current check-in sample and the h check-in samples before the current check-in sample in the historical check-in sequence.

[0013] S13. The current check-in sample and all activity identifiers of the h check-in samples before the current check-in sample in the historical check-in sequence constitute the historical check-in activity subsequence.

[0014] S14. The set of position identifiers obtained by deduplicating the same position identifiers in the historical check-in position subsequence is used as the next position candidate set of the current check-in sample; each position identifier in the next position candidate set is a candidate position.

[0015] S15. Construct location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequence, historical check-in activity subsequence, and next location candidate set, respectively. Construct a three-dimensional evaluation matrix based on the three types of features.

[0016] Step S15 specifically involves:

[0017] S151. The sequence formed by the frequency of each location identifier in the next candidate location set appearing in the historical check-in location subsequence is used as the location access frequency feature.

[0018] S152. The sequence consisting of the total frequency of each candidate position appearing in the preset window after all marked positions are counted in the historical check-in position subsequence is used as the access frequency feature of the position sub-network.

[0019] S153. The sequence consisting of the total frequency of the activity identifier corresponding to each candidate position in the preset window after all marked activities in the historical check-in activity subsequence is used as the access frequency feature of the activity sub-network.

[0020] S154. The location access frequency features, activity subnetwork access frequency features and location subnetwork access frequency features are sequentially concatenated to form an initial three-dimensional evaluation matrix. The range normalization of each column of the initial three-dimensional evaluation matrix is ​​performed to obtain the three-dimensional evaluation matrix.

[0021] The improved entropy weight-TOPSIS algorithm is specifically as follows:

[0022] D1. Calculate the positive ideal solution and the negative ideal solution based on the three-dimensional evaluation matrix.

[0023] D2. Construct a time stability correction factor based on the set of timestamps of each location identifier accessed in the next location candidate set; construct a user sparsity correction factor based on the set of users accessed for each location identifier in the next location candidate set.

[0024] D3. Calculate the weight of each feature in the first stage of the three-dimensional evaluation matrix based on the time stability correction factor, the user sparsity correction factor, and the information entropy of each feature in the three-dimensional evaluation matrix.

[0025] D4. Based on the positive ideal solution, negative ideal solution, and the weight of each column of features in the three-dimensional evaluation matrix in the first stage, the TOPSIS method is used to sort the candidate set of the next position in the first stage, thus obtaining the candidate set of position identifiers after the first stage sorting, i.e., the candidate set of position identifiers in the first stage.

[0026] The time stability correction factor and the user sparsity correction factor are set according to the following formulas:

[0027] CV time =(1 / K)∑ i=1 K ((1 / p)∑ z=1 p (t i,z -t i ') 2 ) 1 / 2

[0028] CV user =(1 / K)∑ i=1 K (1 / Q i )

[0029] Among them, CV time and CV user These represent the time stability correction factor and the user sparsity correction factor, respectively; i is the index; K represents the number of location identifiers in the next location candidate set; p represents the total number of timestamps in the timestamp set of the i-th location identifier in the next location candidate set that have been accessed; z is the index; t i,z This represents the z-th timestamp of the i-th location identifier in the next location candidate set being visited; t i ' represents the average of all timestamps in the set of timestamps for the i-th location identifier in the next location candidate set that was visited; Q i This represents the number of users in the user set whose i-th position identifier in the next position candidate set is visited.

[0030] The weights of each feature column in the three-dimensional evaluation matrix for the first stage are set according to the following formula:

[0031] w e,t,h,j u=(1-e t,h,j u )CV j ) / (∑ y=1 3 ((1-e t,h,y u )CV y j=1,2,3

[0032] CV1=CV time ;CV2=1;CV3=CV user

[0033] e t,h,j u =(1 / lnK)∑ i=1 K (z t,h,ij u ·lnz t,h,ij u )

[0034] z t,h,ij u =(m t,h,ij u ) / (∑ i=1 K m t,h,ij u )

[0035] Where j and y are both indices; w e,t,h,j u e represents the weight of the first stage of the j-th column feature; t,h,j u and e t,h,y u These represent the information entropy of the features in the j-th and y-th columns of the three-dimensional evaluation matrix, respectively; CV j and CV y CV1, CV2, and CV3 represent the correction values ​​corresponding to the features in columns j and y, respectively; CV1, CV2, and CV3 represent the correction values ​​in columns 1, 2, and 3 of the three-dimensional evaluation matrix, respectively; CV time and CV user These represent the time stability correction factor and the user sparsity correction factor, respectively; i is the index; K represents the number of location identifiers in the next location candidate set; z t,h,ij u Let m be the weight value of the feature in column j for the i-th position identifier; t,h,ij u This represents the eigenvalue of the i-th position in the j-th column of the three-dimensional evaluation matrix.

[0036] The CRITIC-TOPSIS algorithm is specifically as follows:

[0037] F1. Calculate the positive and negative ideal solutions based on the three-dimensional evaluation matrix.

[0038] F2. Obtain the contrast intensity and conflict intensity of each column of features based on all eigenvalues ​​in the three-dimensional evaluation matrix.

[0039] F3. Obtain the weight of each feature in the second stage of the three-dimensional evaluation matrix based on the contrast intensity and conflict intensity of each feature.

[0040] F4. Based on the weights of the features in the second stage of each column of the three-dimensional evaluation matrix, the next position candidate set is sorted in the second stage using the TOPSIS method to obtain the position identifier candidate set after the second stage sorting, which is the second stage position identifier candidate set.

[0041] The contrast intensity and conflict intensity of each column of features are set according to the following formula:

[0042] σ t,h,j u =((1 / K)∑ i=1 K (m t,h,ij u -m t,h,·j u’ ) 2 ) 1 / 2

[0043] I t,h,j u =∑ j’=1 3 (1-|r jj’ |), j≠j'

[0044] r jj’ =(∑ i=1 K ((m t,h,ij u -m t,h,·j u’ (m) t,h,ij’ u -m t,h,·j’ u’ ))) / ((∑ i=1 K (m t,ij u -m t,h,·j u’ ) 2 ) 1 / 2 ·(∑ i=1 K (m t,ij’ u -m t,h,·j’ u’ ) 2 ) 1 / 2)

[0045] Where i, j, and j' all represent indices; σ t,h,j u Indicates the contrast intensity of the feature in column j; I t,h,j u The value r represents the conflict intensity of the feature in column j; jj’ The feature correlation value between the features in column j and column j' represents the value of the feature correlation between them; K represents the number of location identifiers in the next location candidate set; m t,h,ij u and m t,h,ij’ u These represent the feature values ​​of the i-th position identifier in the j-th and j'-th columns, respectively; m t,h,·j u’ and m t,h,·j’ u’ Let represent the average eigenvalues ​​obtained by summing and averaging all eigenvalues ​​corresponding to the j-th column and the j'-th column, respectively.

[0046] The weights of each feature column in the second stage of the three-dimensional evaluation matrix are set according to the following formula:

[0047] w c,t,h,j u =(σ t,h,j u ·I t,h,j u ) / (∑ j=1 3 (σ t,h,j u ·I t,h,j u j=1,2,3

[0048] Where j represents the index; w c,t,h,j u σ represents the weight of the second stage of the j-th column feature; t,h,j u Indicates the contrast intensity of the feature in column j; I t,h,j u This represents the conflict intensity of the feature in column j.

[0049] II. A lightweight next-position prediction system with zero-sample two-stage dynamic weighted ranking:

[0050] The three-dimensional evaluation matrix construction module obtains check-in samples of user movement behavior, serializes all check-in samples in chronological order to obtain historical check-in sequences, obtains historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets based on the historical check-in sequence, and constructs location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets, respectively, and constructs a three-dimensional evaluation matrix based on the three types of features.

[0051] The first-stage location identifier candidate set acquisition module uses an improved entropy weight-TOPSIS algorithm based on the three-dimensional evaluation matrix to sort the next location candidate set in the first stage, resulting in the first-stage sorted location identifier candidate set, which is the first-stage location identifier candidate set.

[0052] The second-stage location identifier candidate set acquisition module uses the CRITIC-TOPSIS algorithm to sort the next location candidate set in the second stage according to the three-dimensional evaluation matrix, and obtains the second-stage sorted location identifier candidate set, which is the second-stage location identifier candidate set.

[0053] The next position candidate set acquisition module selects the first few position identifiers from the first stage position identifier candidate set, removes the selected position identifiers from the second stage position identifier candidate set, and obtains the second stage position identifier candidate set after removal. Then, it selects the first few position identifiers from the second stage position identifier candidate set to supplement it. Thus, all the position identifiers selected in succession constitute the final next position candidate set.

[0054] The beneficial effects of this invention are:

[0055] 1. No model training required, suitable for data-scarce and cross-scenario environments. This invention constructs a statistical feature matrix based on historical check-in sequences and uses a two-stage dynamic weighted sorting method to replace the traditional neural network training process, achieving a completely training-free prediction process. Therefore, this method can be directly applied to new user or new region data, avoiding the high cost of model training and parameter migration, and significantly improving the versatility and deployment efficiency of the method.

[0056] 2. A time stability correction factor and a user sparsity correction factor are introduced to enhance the ability to characterize individual differences. These factors reflect the temporal regularity of user access behavior and the location access sparsity, respectively. This correction mechanism can dynamically adjust the contribution weights of different features, making the prediction results more reflective of user behavior rhythms and individual preferences, thereby effectively improving the problem of inaccurate predictions for unpopular locations and small sample sizes using traditional methods.

[0057] 3. An improved two-stage fusion mechanism of entropy-weighted TOPSIS and CRITIC-TOPSIS is proposed to enhance ranking accuracy and robustness. The first stage, the improved entropy-weighted TOPSIS model, is used to characterize the importance distribution of features, and adaptive weight allocation is achieved by combining a time stability correction factor and a user sparsity correction factor. The second stage, the CRITIC-TOPSIS model, compensates for the redundant influence between features by calculating the feature contrast strength and conflict. After fusing the results of the two stages, both feature discriminative power and information independence can be taken into account, making the comprehensive evaluation of candidate positions more comprehensive and stable.

[0058] 4. It possesses high real-time performance and lightweight computational characteristics, making it suitable for online prediction applications. The overall complexity of the algorithm in this invention is linear, and the time taken for a single prediction can be controlled within milliseconds, far lower than algorithms based on deep learning models. It can run directly on mobile devices, edge devices, and real-time recommendation systems. Compared to deep learning models, this method can quickly output results without requiring dedicated GPU memory or a parallel acceleration environment, significantly reducing the computational burden on the system.

[0059] 5. Excellent interpretability and scalability. Each candidate location output by this invention comes with a feature weight index, which can intuitively explain the formation logic of the prediction results and facilitate subsequent user profile analysis and model auditing. In addition, this method can be further extended to introduce a geographic distance decay factor and a point of interest (POI) semantic similarity index, achieving multi-dimensional feature fusion without changing the algorithm structure, and providing a scalable statistical reasoning framework for the next location prediction.

[0060] 6. Experiments show that the proposed method outperforms traditional models in both prediction accuracy and stability. On a typical urban user historical check-in dataset, the method of this invention demonstrates greater advantages over advanced deep learning models in multiple metrics, while reducing computation time by more than 88%. These results indicate that the proposed method has significant advantages in balancing performance and efficiency, possessing good engineering applicability and potential for widespread adoption. Attached Figure Description

[0061] Figure 1 This is a flowchart of the method of the present invention.

[0062] Figure 2 This is a block diagram of the system of the present invention.

[0063] Figure 3 This is a bar chart comparing the time required for multiple algorithms to predict a single sample in an embodiment of the present invention.

[0064] Figure 4 This is a schematic diagram illustrating the scenario in which the algorithm is implemented in an embodiment of the present invention.

[0065] Figure 5This is a bar chart comparing the effects of multiple algorithms in the embodiments of the present invention. Detailed Implementation

[0066] The present invention will now be described in more detail with reference to the accompanying drawings and embodiments. However, the present invention is not limited thereto. For those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention. Contents not described in detail in this specification are prior art known to those skilled in the art.

[0067] like Figure 1 As shown, the lightweight next position prediction method in this embodiment includes the following steps:

[0068] S11. Obtain the current check-in sample of the current user's current movement behavior and obtain several consecutive historical check-in samples before the current check-in sample from the database. Serialize all check-in samples in chronological order to obtain the historical check-in sequence.

[0069] Each check-in sample in the historical check-in sequence includes a location identifier, an activity type identifier, and a timestamp.

[0070] A day is divided into 24 time slices as discrete time labels; timestamps are mapped to discrete time labels; missing or abnormal records are removed or repaired; and the reliability of subsequent statistics is ensured.

[0071] The location identifier refers to a unique serial number label for each location; the activity type refers to the activity a user performs at this location, such as working or drinking coffee; the activity type identifier refers to a unique serial number label for each activity; the timestamp refers to a serial number representing the time of day, an integer ranging from 1 to 24, with each integer representing a slice of time in one hour.

[0072] Since subsequent statistical calculations require structured data, sequence preparation is necessary.

[0073] Serializing all user check-in samples in chronological order yields the following historical check-in sequence:

[0074] S u ={(g i u ,a i u ,t i u )} i=1 n

[0075] Where u is the user index, representing the u-th user; S uThis represents the historical check-in sequence of the u-th user; i is the index, representing the ith check-in sample; n represents the length of the historical check-in sequence and also the total number of check-in samples; g i u This represents the location identifier of the i-th check-in sample of the u-th user; all location identifiers belong to the location identifier set G; a i u The activity type identifier for the i-th check-in sample of the u-th user; t i u Let represent the timestamp of the i-th check-in sample of the u-th user; therefore, each element (check-in sample) in the user's historical check-in sequence can be represented as a structured form of a triple consisting of a location identifier, an activity type identifier, and a timestamp.

[0076] S12. The position identifiers of the current check-in sample and the h pre-set check-in samples in the historical check-in sequence are used to form the historical check-in position subsequence.

[0077] The historical check-in location subsequence is set according to the following formula:

[0078] S g,t-h:t u ={g t-h u ,g t-h+1 u ,…,g t u}

[0079] Where t represents the index of the current check-in sample; h represents the number of check-in samples selected from the historical check-in sequence before the current check-in sample; S g,t-h:t u g represents the historical check-in position subsequence of the current check-in sample of the u-th user (the subsequence consisting of the position identifiers of the current check-in sample and the h check-in samples preceding the current check-in sample in the historical check-in sequence for the u-th user); t-h u and g t-h+1 u These represent the position identifiers of the first h and first h-1 check-in samples of the current check-in sample for the u-th user, respectively; g t u This indicates the location identifier of the current sign-in sample.

[0080] S13. The activity identifiers of the current check-in sample and the h pre-set check-in samples in the historical check-in sequence are used to form a historical check-in activity subsequence.

[0081] The historical check-in activity sub-sequence is set according to the following formula:

[0082] Sa,t-h:t u ={a t-h u ,a t-h+1 u ,…,a t u}

[0083] Where t represents the index of the current check-in sample; h represents the number of check-in samples selected from the historical check-in sequence before the current check-in sample; S a,t-h:t u This represents the historical check-in activity subsequence of the current check-in sample for the u-th user (the subsequence consisting of the current check-in sample t and all activity identifiers of the previous h check-in samples in the historical check-in sequence for the u-th user); a t-h u and a t-h+1 u These represent the activity identifiers of the first h and first h-1 check-in samples of the current check-in sample for the u-th user, respectively; a t u This indicates the activity identifier of the current sign-in sample.

[0084] S14. The set of location identifiers obtained by deduplicating the identical location identifiers in the historical check-in location subsequence is used as the next location candidate set for the current check-in sample. Each location identifier in the next location candidate set is a candidate location. The activity identifier corresponding to the candidate location is a candidate activity.

[0085] The resulting candidate set for the next position is set according to the following formula:

[0086] C t,h u ={c t,h u(1) ,c t,h u(2) ,…,c t,h u(K)}

[0087] Among them, C t,h u Let K be the candidate set of the next location for the current check-in sample of the u-th user; K represents the total number of location identifiers (number of elements) in the candidate set of the next location; c t,h u(1) c t,h u(2) and c t,h u(K) These represent the 1st, 2nd, and Kth position identifiers (elements) in the candidate set of the next position for the current check-in sample, respectively. Since there may be duplicate position identifiers in the historical check-in position subsequence, K... <h。

[0088] S15. Construct location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequence, historical check-in activity subsequence, and next location candidate set, respectively. Construct a three-dimensional evaluation matrix based on the three types of features.

[0089] S151. Construct a location access frequency feature based on the historical check-in location subsequence and the next location candidate set; the location access frequency feature refers to the frequency of each location identifier in the next location candidate set appearing in the historical check-in location subsequence, taking into account that locations frequently visited by users are more likely to be the next locations visited by users, representing the user's access preference for that location, and is set according to the following formula:

[0090] F t,h u ={f t,h u(1) ,f t,h u(2) ,…,f t,h u(K)}

[0091] Among them, F t,h u This represents the location access frequency characteristic calculated based on the historical check-in location subsequence; f t,h u(1) f t,h u(2) and f t,h u(K) Each represents a position identifier c in the candidate set for the next position. t,h u(1) c t,h u(2) and c t,h u(K) The frequency of occurrence of the corresponding position in the historical check-in subsequence.

[0092] S152. Using the current sign-in sample's location identifier as the marked location, calculate the total frequency of each candidate location appearing within a preset window after all marked locations are in the historical sign-in location subsequence.

[0093] Considering the higher-order characteristics of user access habits, this is used to characterize short-term travel associations; unlike the location access frequency feature F. t,h u The location subnetwork access frequency feature only considers the location identifier g of the current check-in sample. t u Subsequence S of historical check-in locations g,t-h:t uThe total frequency of each candidate location appearing within a neighboring window of length q when the current location appears; these locations are highly correlated with the current location because the user's journey is likely to form subnetworks (e.g., home-restaurant-office). The next location candidate set C is calculated. t,h u The location subnetwork access frequency characteristic can be obtained by calculating the total frequency of each location identifier in the historical check-in location subsequence within a neighboring window of length q following the location identifier that is the same as the user's current location identifier. This frequency can be set according to the following formula:

[0094] D t,h,gs u ={d t,h,gs u(1) ,d t,h,gs u(2) ,…,d t,h,gs u(K)}

[0095] Among them, D t,h,gs u Indicates the location subnetwork access frequency characteristics; d t,h,gs u(1) d t,h,gs u(2) and d t,h,gs u(K) These represent the 1st, 2nd, and Kth elements in the location subnetwork access frequency feature, respectively; d t,h,gs u(1) d t,h,gs u(2) and d t,h,gs u(K) They also represent the candidate set C for the next position. t,h u The first, second, and Kth positions in the array represent the total frequency of each occurrence; gs represents the position.

[0096] S153. Using the activity identifier of the current check-in sample as the marked activity, calculate the total frequency of the activity identifier corresponding to each candidate position in the preset window after all marked activities in the historical check-in activity subsequence.

[0097] Considering the higher-order characteristics of user access habits, this is used to characterize short-term travel associations; unlike the location access frequency feature F. t,h u The activity subnetwork access frequency characteristics only consider the location identifier g of the current check-in sample. t u Corresponding activity identifier a t u Subsequence S of historical check-in locations g,t-h:t uThe total frequency of activity identifiers corresponding to each candidate location within a neighboring window of length q when a certain activity occurs is calculated. These activities are highly correlated with the activity identifiers of the user's current check-in sample, as the user's itinerary is likely to form subnetworks (e.g., home-restaurant-office). The next location candidate set C is calculated. t,h u The activity sub-network access frequency characteristic can be obtained by calculating the total frequency of the activity identifier corresponding to each location identifier in the historical check-in activity sub-sequence within a neighboring window of length q following the activity identifier that is the same as the user's current activity identifier. This frequency can be set according to the following formula:

[0098] D t,h,as u ={d t,h,as u(1) ,d t,h,as u(2) ,…,d t,h,as u(K)}

[0099] Among them, D t,h,as u Indicates the frequency characteristics of active subnetwork access; d t,h,as u(1) d t,h,as u(2) and d t,h,as u(K) These represent the 1st, 2nd, and Kth elements in the active subnetwork access frequency characteristic, respectively; d t,h,as u(1) d t,h,as u(2) and d t,h,as u(K) They also represent the candidate set C for the next position. t,h u The total frequency of the activity identifier corresponding to the 1st, 2nd, and 3rd position identifiers in the table; as represents the activity.

[0100] It should be noted that, due to the candidate set C for the next position t,h u The activity identifier corresponding to each location identifier in the network may be duplicated, therefore the activity subnetwork access frequency characteristic D t,h,as u The elements in the index may be repeated, but this does not affect the representativeness of the index.

[0101] The feature lengths of the obtained location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features are all k'.

[0102] S154. The location access frequency feature, the activity subnetwork access frequency feature, and the location subnetwork access frequency feature are sequentially concatenated to form an initial three-dimensional evaluation matrix. The range normalization is performed on the feature of each column dimension (a total of three columns) of the initial three-dimensional evaluation matrix to make the features of different dimensions have a consistent measurement standard, thus obtaining the three-dimensional evaluation matrix.

[0103] The three-dimensional evaluation matrix is ​​set according to the following formula:

[0104] M t,h u =[F t,h u ',D t,h,gs u ',D t,h,as u ']

[0105] Among them, M t,h u This represents a three-dimensional evaluation matrix considering the h most recent location identifiers of user u, with a dimension of 3k'; F t,h u ' is the location access frequency feature after range normalization; D t,h,gs u ' is the location subnetwork access frequency characteristic after range normalization; D t,h,as u 'This represents the frequency characteristics of active subnetwork access after range normalization;

[0106] S21. Based on the three-dimensional evaluation matrix, the improved entropy weight-TOPSIS algorithm is used to sort the next position candidate set in the first stage, and the position identifier candidate set after the first stage sorting is obtained, that is, the first stage position identifier candidate set.

[0107] D1. The positive ideal solution of the three-dimensional evaluation matrix calculated from the three-dimensional evaluation matrix is ​​P. t,h u =[p t,h u(1) ,p t,h u(2) ,p t,h u(3) The negative ideal solution is N. t,h u =[n t,h u(1) ,n t,h u(2) ,n t,h u(3) ],in:

[0108] p t,h u(j) =max 1≤r≤K (mt,h,rj u ), j=1,2,3

[0109] n t,h u(j) =min 1≤r≤K (m t,h,rj u ), j=1,2,3

[0110] Where j is the index, representing the feature of the j-th column in the three-dimensional evaluation matrix, j=1,2,3; p t,h u(j) The positive ideal solution P is represented by t,h u The j-th column feature in n; t,h u(j) N represents the negative ideal solution t,h u The j-th column of the feature; r is the index, representing the r-th location identifier in the next location candidate set; K represents the number of location identifiers in the next location candidate set; m t,h,rj u This represents the feature value of the r-th position identifier in the j-th column (the feature value in the r-th row and j-th column).

[0111] D2. Construct a time stability correction factor based on the set of timestamps of each location identifier visited in the next location candidate set: Considering that in actual human travel behavior, the access behavior to different locations has significant differences in time stability, if a user has visited a location at many different time periods, it is more like a random behavior, and the probability of its recurrence in the future is difficult to predict. Conversely, if it only appears at fixed times, it indicates that it has periodicity, high regularity, and stronger predictability. If the i-th location identifier c in the next location candidate set... t,h u(i) The set of timestamps accessed (searching from 1 to 24) is T. i ={t i,1 ,t i,2 ,…,t i,p A time stability correction factor is introduced to the location access frequency feature:

[0112] CV time =(1 / K)∑ i=1 K (1 / p∑ z=1 p (t i,z -t i ') 2 ) 1 / 2

[0113] Among them, CV timeRepresents the time stability correction factor; i and z are both indices; K represents the number of position identifiers in the next position candidate set; p represents the i-th position identifier c in the next position candidate set. t,h u(i) The total number of timestamps in the accessed timestamp set; t i,z c represents the identifier of the i-th position in the candidate set for the next position. t,h u(i) The z-th timestamp accessed; t i 'Represents the identifier c of the i-th position in the next position candidate set. t,h u(i) The average of all timestamps in the set of timestamps accessed.

[0114] Construct a user sparsity correction factor based on the set of users visited by each location identifier in the next location candidate set: Obtain the historical check-in sequence of all users. Considering that in actual human travel behavior, different users have different access habits for different types of locations, if the current user's access habits are relatively rare, frequently visiting locations with low access frequency, then their travel characteristics may not conform to common subnetwork rules. If the i-th location identifier c in the next location candidate set... t,h u(i) The set of users accessed is U i ={u i,1 ,u i,2 ,…,u i,Qi Introduce a user sparsity correction factor to the location subnetwork access frequency characteristics:

[0115] CV user =(1 / K)∑ i=1 K (1 / Q i )

[0116] Among them, CV user K represents the user sparsity correction factor; K represents the number of location identifiers in the next location candidate set; i is the index; Q represents the number of location identifiers in the next location candidate set. i c represents the identifier of the i-th position in the candidate set for the next position. t,h u(i) The number of users in the visited user set.

[0117] D3. Calculate the weight of each feature in the first stage of the three-dimensional evaluation matrix based on the time stability correction factor, the user sparsity correction factor, and the information entropy of each feature in the three-dimensional evaluation matrix.

[0118] The weights of each feature column in the three-dimensional evaluation matrix for the first stage are set according to the following formula:

[0119] w e,t,h,j u=(1-e t,h,j u )CV j ) / (∑ y=1 3 ((1-e t,h,y u )CV y j=1,2,3

[0120] CV1=CV time ;CV2=1;CV3=CV user

[0121] e t,h,j u =(1 / lnK)∑ i=1 K (z t,h,ij u ·lnz t,h,ij u ), j=1,2,3

[0122] z t,h,ij u =(m t,h,ij u ) / (∑ i=1 K m t,h,ij u ), j=1,2,3

[0123] Where j and y are both indices; w e,t,h,j u e represents the weight of the first stage of the j-th column feature; t,h,j u and e t,h,y u These represent the information entropy of the features in the j-th and y-th columns of the three-dimensional evaluation matrix, respectively; CV j and CV y These represent the correction values ​​corresponding to the features in column j and column y, respectively; CV time and CV user These represent the time stability correction factor and the user sparsity correction factor, respectively; i is the index; K represents the number of location identifiers in the next location candidate set; z t,h,ij u Let be the weight value of the feature in the j-th column for the i-th position; ln represents the logarithm to the base e; m t,h,ij u Represents the three-dimensional evaluation matrix M t,h u The eigenvalue at the i-th position in the j-th column (the eigenvalue in the i-th row and j-th column); CV1, CV2, and CV3 represent the correction values ​​in the 1st, 2nd, and 3rd columns of the three-dimensional evaluation matrix, respectively.

[0124] D4. Based on the three-dimensional evaluation matrix, the positive ideal solution, the negative ideal solution, and the weight of each column of features in the three-dimensional evaluation matrix in the first stage, the TOPSIS method is used to sort the candidate set of the next position in the first stage, and the candidate set of position identifiers after the first stage sorting is obtained, namely the first stage candidate set of position identifiers Rank1.

[0125] The TOPSIS method is implemented in the following steps:

[0126] H1. Calculate the distance from each position identifier in the next position candidate set to the positive and negative ideal solutions based on the three-dimensional evaluation matrix, the weight of each feature in the first stage of the three-dimensional evaluation matrix, the positive ideal solution, and the negative ideal solution.

[0127] s t,h,p,i u =(∑ j=1 3 w e,t,h,j u (m t,h,ij u -p t,h u(j) ) 2 ) 1 / 2 i=1,,2,…,K

[0128] s t,h,n,i u =(∑ j=1 3 w e,t,h,j u (m t,h,ij u -n t,h u(j) ) 2 ) 1 / 2 i=1,,2,…,K

[0129] Among them, s t,h,p,i u s represents the distance from the i-th position marker to the positive ideal solution; t,h,n,i u w represents the distance from the i-th position marker to the negative ideal solution; e,t,h,j u The m represents the weight of the j-th feature in the first stage; t,h,ij u p represents the feature value of the i-th position identifier in the j-th column (the feature value in the r-th row and j-th column); t,h u(j) The positive ideal solution P is represented by t,h u The j-th column feature in n; t,h u(j) N represents the negative ideal solution t,hu The first column of features.

[0130] H2. Obtain the proximity value of each location identifier to the positive ideal solution based on the distance of each location identifier to the positive ideal solution and the negative ideal solution. Sort the location identifiers in descending order based on the proximity value of each location identifier to the positive ideal solution to obtain the first-stage sorted candidate set of location identifiers, namely the first-stage candidate set of location identifiers Rank1.

[0131] The proximity value of each location identifier to the positive ideal solution is set according to the following formula:

[0132] v t,h,i u =s t,h,n,i u / (s t,h,p,i u +s t,h,n,i u ), i=1,2,…,K

[0133] Among them, v t,h,i u v represents the proximity value from the i-th position identifier to the positive ideal solution. t,h,i u ∈[0,1];s t,h,p,i u s represents the distance from the i-th position marker to the positive ideal solution; t,h,n,i u This represents the distance from the i-th position identifier to the negative ideal solution.

[0134] The first-stage candidate set of location identifiers is set according to the following formula:

[0135] Rank1={c rank1,t,h u(1) ,c rank1,t,h u(2) ,…,c rank1,t,h u(K)}

[0136] Wherein, Rank1 represents the candidate set of location identifiers in the first stage; c rank1,t,h u(1) c rank1,t,h u(2) and c rank1,t,h u(K) These represent the 1st, 2nd, and Kth location identifiers in the first-stage location identifier candidate set, respectively.

[0137] S22. Based on the three-dimensional evaluation matrix, the CRITIC-TOPSIS algorithm is used to sort the next position candidate set in the second stage, resulting in the position identifier candidate set after the second stage sorting, i.e., the second stage position identifier candidate set.

[0138] F1, using the positive ideal solution P obtained in step D1 t,h u and negative ideal solution N t,h u .

[0139] F2. Obtain the contrast intensity and conflict intensity of each column of features based on all eigenvalues ​​in the three-dimensional evaluation matrix.

[0140] F3. Obtain the weight of each feature in the second stage of the three-dimensional evaluation matrix based on the contrast intensity and conflict intensity of each feature.

[0141] The weights of each feature column in the second stage of the three-dimensional evaluation matrix are set according to the following formula:

[0142] w c,t,h,j u =(σ t,h,j u ·I t,h,j u ) / (∑ j=1 3 (σ t,h,j u ·I t,h,j u j=1,2,3

[0143] σ t,h,j u =((1 / K)(∑ i=1 K (m t,h,ij u -m t,h,·j u ˉ) 2 )) 1 / 2

[0144] I t,h,j u =∑ j’=1 3 (1-|r jj’ |), j≠j'

[0145] r jj’ =(∑ i=1 K ((m t,h,ij u -m t,h,·j u’ (m) t,h,ij’ u -m t,h,·j’ u’ ))) / ((∑ i=1 K (m t,iju -m t,h,·j u’ ) 2 ) 1 / 2 ·(∑ i=1 K (m t,ij’ u -m t,h,·j’ u’ ) 2 ) 1 / 2 )

[0146] Where i, j, and j' all represent indices; w c,t,h,j u σ represents the weight of the second stage of the j-th column feature; t,h,j u Indicates the contrast intensity of the feature in column j; I t,h,j u The value r represents the conflict intensity of the feature in column j; jj’ Represents the feature correlation value between the features in column j and column j'; |r jj’ | indicates taking the feature correlation value r jj’ The absolute value; K represents the number of location identifiers in the next location candidate set; m t,h,ij u and m t,h,ij’ u These represent the feature values ​​corresponding to the i-th position identifier in the j-th and j'-th columns (the feature value in the i-th row and j-th column and the feature value in the i-th row and j'-th column, respectively); m t,h,·j u’ m represents the average eigenvalue obtained by summing and averaging all eigenvalues ​​in column j; t,h,·j’ u’ This represents the average eigenvalue obtained by summing and averaging all eigenvalues ​​in column j'.

[0147] F4. Based on the weights of the features in the second stage of each column of the three-dimensional evaluation matrix, the same TOPSIS algorithm as in step 21 is used to sort the next position candidate set in the second stage, resulting in the position identifier candidate set after the second stage sorting, i.e., the second stage position identifier candidate set Rank2.

[0148] The resulting second-stage location identifier candidate set is set according to the following formula:

[0149] Rank2={c rank2,t,h u(1) ,c rank2,t,h u(2) ,…,c rank2,t,h u(K)}

[0150] Wherein, Rank2 represents the candidate set of location identifiers for the second stage; crank2,t,h u(1) c rank2,t,h u(2) and c rank2,t,h u(K) These represent the 1st, 2nd, and Kth location identifiers in the candidate set of location identifiers for the second stage, respectively.

[0151] Step S3: Select the top K1 (TOP K1) location identifiers from the first-stage location identifier candidate set Rank1, remove the selected location identifiers from the second-stage location identifier candidate set Rank2, and obtain the second-stage location identifier candidate set Rank2' after removal. Then select the top K2 (TOP K2) location identifiers from the second-stage location identifier candidate set Rank2' to supplement it. Thus, the combination of the K1 and K2 location identifiers selected successively constitutes the final next location candidate set Rank.

[0152] The final set of candidate next positions is set according to the following steps:

[0153] Rank={c rank,t u(1) ,c rank,t u(2) ,…,c rank,t u(K1) ,…,c rank,t u(K1+K2)}

[0154] Where Rank represents the final set of candidate positions for the next position; c rank,t u(1) c rank,t u(2) c rank,t u(K1) and c rank,t u(K1+K2) These represent the 1st, 2nd, K1th, and (K1+K2)th position identifiers in the final candidate set Rank for the next position, respectively.

[0155] Rank1 reflects a ranking based on the dominant trend of behavioral preferences, while Rank2 provides a differentiated ranking perspective based on feature conflict. By taking Rank1 and Rank2 into account, the final ranked candidate set of positions is obtained.

[0156] The resulting Rank set represents the set of locations where the current user is most likely to move next, improving the intelligence level of user travel recommendations and providing important support for infectious disease transmission prediction, urban traffic management, energy scheduling, and business decision-making.

[0157] like Figure 2As shown, this embodiment also provides a next location prediction system, including:

[0158] The three-dimensional evaluation matrix construction module obtains check-in samples of user movement behavior, serializes all check-in samples in chronological order to obtain historical check-in sequences, obtains historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets based on the historical check-in sequence, and constructs location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets, respectively, and constructs a three-dimensional evaluation matrix based on the three types of features.

[0159] The first-stage location identifier candidate set acquisition module uses an improved entropy weight-TOPSIS algorithm based on the three-dimensional evaluation matrix to sort the next location candidate set in the first stage, resulting in the first-stage sorted location identifier candidate set, which is the first-stage location identifier candidate set.

[0160] The second-stage location identifier candidate set acquisition module uses the CRITIC-TOPSIS algorithm to sort the next location candidate set in the second stage according to the three-dimensional evaluation matrix, and obtains the second-stage sorted location identifier candidate set, which is the second-stage location identifier candidate set.

[0161] The next position candidate set acquisition module selects the first few position identifiers from the first stage position identifier candidate set, removes the selected position identifiers from the second stage position identifier candidate set, and obtains the second stage position identifier candidate set after removal. Then, it selects the first few position identifiers from the second stage position identifier candidate set to supplement it. Thus, all the position identifiers selected in succession constitute the final next position candidate set.

[0162] Furthermore, to demonstrate the beneficial effects of the present invention, this embodiment obtains the user's historical check-in records (continuous historical check-in samples) based on the user's check-in activities on the check-in website, and then obtains the user's historical check-in sequence. Based on the user's historical check-in sequence, the existing MC, GRU, Time-LSTM, DeepMove, Flashback, MSSRM, and HGARN algorithms are directly used for next position prediction. The comparison results of directly using the MC, GRU, Time-LSTM, DeepMove, Flashback, MSSRM, and HGARN algorithms and the method of the present invention under the same hardware and software conditions are shown in the following table:

[0163] Model Recall rate @1 Recall rate @5 Recall rate @10 Normalized loss cumulative gain @5 Normalized loss cumulative gain @10 Time (in seconds) required to predict a single sample GRU 0.210 0.503 0.626 0.363 0.403 0.009 Time-LSTM 0.225 0.526 0.653 0.382 0.424 0.016 DeepMove 0.206 0.519 0.649 0.369 0.412 0.023 Flashback 0.220 0.541 0.677 0.386 0.430 0.014 MSSRM 0.239 0.554 0.668 0.404 0.441 0.012 HGARN 0.277 0.574 0.657 0.438 0.464 0.014 This invention 0.288 0.579 0.701 0.443 0.482 0.001

[0164] As shown in the table above and Figure 3 , Figure 4 , Figure 5 It is evident that the method proposed in this invention outperforms existing models in multiple evaluation metrics. As shown in the table, this invention achieves recall rates of 0.288, 0.579, and 0.701 for @1, @5, and @10, respectively, representing improvements of approximately 1.1%, 0.5%, and 4.4% compared to the best-performing deep learning model HGARN. Furthermore, it achieves 0.443 and 0.482 for @5 and @10 of the normalized loss cumulative gain, respectively, indicating that this method excels in the rationality of candidate position ranking and top relevance. In addition, this invention demonstrates exceptional inference efficiency, with a single-sample prediction time of only 0.001 seconds, an improvement of approximately one order of magnitude compared to the average deep learning model. Since this method requires no training process and only performs explicit calculations based on historical check-in data, it significantly reduces computational costs and storage requirements, making it suitable for deployment in resource-constrained or real-time prediction scenarios. In summary, this invention combines high accuracy, high interpretability, and high efficiency. By introducing time stability correction factors and user sparsity correction factors, the algorithm can maintain stable prediction performance under conditions of few samples. The two-stage weighting strategy based on information entropy and feature conflict degree enables the model to achieve a good balance between interpretability and generalization, and has significant application potential and promotion value.

[0165] The embodiments described above are merely preferred embodiments for fully illustrating the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on the present invention are all within the scope of protection of the present invention. The scope of protection of the present invention is defined by the claims.

Claims

1. A lightweight next-position prediction method based on zero-sample, two-stage dynamic weighted ranking, characterized in that, Includes the following steps: S1. Obtain check-in samples of user movement behavior, serialize all check-in samples in chronological order to obtain historical check-in sequences, obtain historical check-in location subsequences, historical check-in activity subsequences and next location candidate sets based on historical check-in sequence, construct location access frequency features, activity subnetwork access frequency features and location subnetwork access frequency features based on historical check-in location subsequences, historical check-in activity subsequences and next location candidate sets respectively, and construct a three-dimensional evaluation matrix based on the three types of features; S2. Based on the three-dimensional evaluation matrix, the improved entropy weight-TOPSIS algorithm is used to sort the candidate set of the next position in the first stage, and the candidate set of the position identifier in the first stage is obtained. Based on the three-dimensional evaluation matrix, the CRITIC-TOPSIS algorithm is used to sort the candidate set for the next position in the second stage, thus obtaining the candidate set for the second stage position identifiers. The improved entropy weight-TOPSIS algorithm is specifically as follows: D1. Calculate the positive and negative ideal solutions based on the three-dimensional evaluation matrix; D2. Construct a time stability correction factor based on the set of timestamps of each location identifier visited in the next candidate location set; Construct a user sparsity correction factor based on the set of users whose location identifiers are visited in the next location candidate set; D3. Calculate the weight of each feature in the first stage of the three-dimensional evaluation matrix based on the time stability correction factor, the user sparsity correction factor, and the information entropy of each feature in the three-dimensional evaluation matrix. D4. Based on the positive ideal solution, negative ideal solution and the weight of each column of features in the three-dimensional evaluation matrix in the first stage, the TOPSIS method is used to sort the next position candidate set in the first stage, and the position identifier candidate set after the first stage sorting is obtained, that is, the first stage position identifier candidate set. S3. Select the first few location identifiers from the first stage location identifier candidate set, remove the selected location identifiers from the second stage location identifier candidate set to obtain the second stage location identifier candidate set after removal, and then select the first few location identifiers from the second stage location identifier candidate set to supplement it. Thus, all the location identifiers selected in succession constitute the next location candidate set of the user's current check-in location.

2. The lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 1, characterized in that, Step S1 specifically involves: S11. Obtain the current check-in sample of the user's mobile behavior and several consecutive historical check-in samples before the current check-in sample, and serialize all check-in samples in chronological order to obtain the historical check-in sequence. Each check-in sample in the historical check-in sequence includes a location identifier, an activity type identifier, and a timestamp; S12. Construct a historical check-in position subsequence from the position identifiers of the current check-in sample and the h check-in samples preceding the current check-in sample in the historical check-in sequence; S13. Construct a historical check-in activity subsequence from the current check-in sample and all activity identifiers of the h check-in samples preceding the current check-in sample in the historical check-in sequence; S14. The set of position identifiers obtained after deduplicating the same position identifiers in the historical check-in position subsequence is used as the next position candidate set for the current check-in sample; each position identifier in the next position candidate set is a candidate position. S15. Construct location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequence, historical check-in activity subsequence, and next location candidate set, respectively. Construct a three-dimensional evaluation matrix based on the three types of features.

3. The lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 2, characterized in that, Step S15 specifically involves: S151. The sequence formed by the frequency of each location identifier in the next candidate location set appearing in the historical check-in location subsequence is used as the location access frequency feature. S152. The sequence consisting of the total frequency of each candidate position appearing in the preset window after all marked positions are counted in the historical check-in location subsequence is used as the location sub-network access frequency feature. S153. The sequence consisting of the total frequency of the activity identifier corresponding to each candidate position in the preset window after all marked activities in the historical check-in activity subsequence is used as the activity sub-network access frequency feature. S154. The location access frequency features, activity subnetwork access frequency features and location subnetwork access frequency features are sequentially concatenated to form an initial three-dimensional evaluation matrix. The range normalization of each column of the initial three-dimensional evaluation matrix is ​​performed to obtain the three-dimensional evaluation matrix.

4. The lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 1, characterized in that: The time stability correction factor and the user sparsity correction factor are set according to the following formulas: CV time =(1 / K)∑ i=1 K ((1 / p)∑ z=1 p (t i,z -t i ’) 2 ) 1 / 2 CV user =(1 / K)∑ i=1 K (1 / Q i ) Among them, CV time and CV user These represent the time stability correction factor and the user sparsity correction factor, respectively; i is the index; K represents the number of location identifiers in the next location candidate set; p represents the total number of timestamps in the timestamp set of the i-th location identifier in the next location candidate set that have been accessed; z is the index; t i,z This represents the z-th timestamp of the i-th location identifier in the next location candidate set being visited; t i ' represents the average of all timestamps in the set of timestamps for the i-th location identifier in the next location candidate set that was visited; Q i This represents the number of users in the user set whose i-th position identifier in the next position candidate set is visited.

5. The lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 1, characterized in that: The weights of each feature column in the three-dimensional evaluation matrix for the first stage are set according to the following formula: w e,t,h,j u =((1-e t,h,j u )CV j ) / (∑ y=1 3 ((1-e t,h,y u )CV y )),j=1,2,3 CV1=CV time ;CV2=1;CV3=CV user in t,h,j u =(1 / lnK)∑ i=1 K (z t,h,ij u ·lnz t,h,ij u ) z t,h,ij u =(m t,h,ij u ) / (∑ i=1 K m t,h,ij u ) Where j and y are both indices; w e,t,h,j u e represents the weight of the first stage of the feature in column j; t,h,j u and e t,h,y u These represent the information entropy of the features in the j-th and y-th columns of the three-dimensional evaluation matrix, respectively; CV j and CV y CV1, CV2, and CV3 represent the correction values ​​corresponding to the features in columns j and y, respectively; CV1, CV2, and CV3 represent the correction values ​​in columns 1, 2, and 3 of the three-dimensional evaluation matrix, respectively; CV time and CV user These represent the time stability correction factor and the user sparsity correction factor, respectively; i is the index; K represents the number of location identifiers in the next location candidate set; z t,h,ij u Let m be the weight value of the feature in column j for the i-th position identifier; t,h,ij u This represents the eigenvalue of the i-th position in the j-th column of the three-dimensional evaluation matrix.

6. The lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 1, characterized in that, The CRITIC-TOPSIS algorithm is specifically as follows: F1. Calculate the positive and negative ideal solutions based on the three-dimensional evaluation matrix; F2. Obtain the contrast intensity and conflict intensity of each column of features based on all eigenvalues ​​in the three-dimensional evaluation matrix; F3. Obtain the weight of each feature in the second stage in the three-dimensional evaluation matrix based on the contrast intensity and conflict intensity of each feature. F4. Based on the weights of the features in the second stage of each column of the three-dimensional evaluation matrix, the next position candidate set is sorted in the second stage using the TOPSIS method to obtain the position identifier candidate set after the second stage sorting, which is the second stage position identifier candidate set.

7. A lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 6, characterized in that: The contrast intensity and conflict intensity of each column of features are set according to the following formula: s t,h,j u =((1 / K)∑ i=1 K (m t,h,ij u -m t,h,·j u’ ) 2 ) 1 / 2 I t,h,j u =∑ j’=1 3 (1-|r jj’ |),j≠j’ r jj’ =(∑ i=1 K ((m t,h,ij u -m t,h,·j u’ )(m t,h,ij’ u -m t,h,·j’ u’ ))) / ((∑ i=1 K (m t,ij u -m t,h,·j u’ ) 2 ) 1 / 2 ·(∑ i=1 K (m t,ij’ u -m t,h,·j’ u’ ) 2 ) 1 / 2 ) Where i, j, and j' all represent indices; σ t,h,j u Indicates the contrast intensity of the feature in column j; I t,h,j u The value r represents the conflict intensity of the feature in column j; jj’ The feature correlation value between the features in column j and column j' represents the value of the feature correlation between them; K represents the number of location identifiers in the next location candidate set; m t,h,ij u and m t,h,ij’ u These represent the feature values ​​of the i-th position identifier in the j-th and j'-th columns, respectively; m t,h,·j u’ and m t,h,·j’ u’ Let represent the average eigenvalues ​​obtained by summing and averaging all eigenvalues ​​corresponding to the j-th column and the j'-th column, respectively.

8. A lightweight next-position prediction method based on zero-sample two-stage dynamic weighted ranking according to claim 6, characterized in that: The weights of each feature column in the second stage of the three-dimensional evaluation matrix are set according to the following formula: w c,t,h,j u =(σ t,h,j u ·I t,h,j u ) / (∑ j=1 3 (s t,h,j u ·I t,h,j u )),j=1,2,3 Where j represents the index; w c,t,h,j u σ represents the weight of the second stage of the j-th column feature; t,h,j u Indicates the contrast intensity of the feature in column j; I t,h,j u This represents the conflict intensity of the feature in column j.

9. A next position prediction system employing a lightweight next position prediction method based on zero-sample two-stage dynamic weighted sorting as described in any one of claims 1-8, characterized in that, include: The three-dimensional evaluation matrix construction module obtains check-in samples of user movement behavior, serializes all check-in samples in chronological order to obtain historical check-in sequences, obtains historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets based on the historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets, constructs location access frequency features, location subnetwork access frequency features, and activity subnetwork access frequency features based on the historical check-in location subsequences, historical check-in activity subsequences, and next location candidate sets, and constructs a three-dimensional evaluation matrix based on the three types of features. The first-stage location identifier candidate set acquisition module uses an improved entropy weight-TOPSIS algorithm based on the three-dimensional evaluation matrix to sort the next location candidate set in the first stage, thus obtaining the first-stage sorted location identifier candidate set, which is the first-stage location identifier candidate set. The second-stage location identifier candidate set acquisition module uses the CRITIC-TOPSIS algorithm to sort the next location candidate set in the second stage according to the three-dimensional evaluation matrix, and obtains the second-stage sorted location identifier candidate set, which is the second-stage location identifier candidate set. The next position candidate set acquisition module selects the first few position identifiers from the first stage position identifier candidate set, removes the selected position identifiers from the second stage position identifier candidate set, and obtains the second stage position identifier candidate set after removal. Then, it selects the first few position identifiers from the second stage position identifier candidate set to supplement it. Thus, all the position identifiers selected in succession constitute the final next position candidate set.

Citation Information

Patent Citations

  • Boiler slagging tendency evaluation method

    CN118280459A

  • Injection molding process parameter multi-objective optimization method

    CN119538702A