A fast and accurate resource retrieval method based on SOM and cycle weight
Through the combination of SOM neural network algorithm and period weight, the problem of dynamic changes in user characteristics and insufficient time validity of historical browsing resources is solved, the accuracy and speed of resource retrieval are improved, and fast and accurate recommendation of resources is realized.
Patent Information
- Application Number
- CN202111392241.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-11-23
AI Technical Summary
The existing technology fails to effectively consider the validity of the user's historical resource browsing time and the dynamic changes of user characteristics, resulting in insufficient accuracy and speed of resource retrieval.
The SOM neural network algorithm is used to cluster the user feature set, and periodic weights are given based on the user's browsing history and search time. The user feature set is updated and re-clustered to generate associated resource clusters to achieve rapid resource recommendation.
It improves the accuracy and speed of resource retrieval, overcomes the shortcomings of insufficient consideration of the time validity and feature changes of users' historical browsing resources, and achieves fast and accurate recommendations for users' desired resources.
Smart Images

Figure CN114329180B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of resource retrieval, and in particular relates to a method for rapid and accurate resource retrieval based on SOM and periodic weights. Background Art
[0002] Resource information retrieval is the process of searching for required information from the World Wide Web, local area network or specific resource information database using specific search instructions, search terms and search strategies on a computer or computer retrieval network terminal, and then displaying or printing it on the terminal device. User retrieval of resources is random, and user search habits, resource classification, etc. will affect the speed and accuracy of the search.
[0003] Precise resource push. Currently available patents include (1) Patent No.: CN202011430854.5. Patent name: A method for determining content resource push and related devices. A method for determining content resource push and related devices are disclosed. When determining the push strategy of content resources each time, the push strategy is no longer determined by the publisher based on report data with static results and human experience, but based on the number of target users obtained by the content resource push and the push cost of the content resource. Determining the return on investment parameter of the content resource based on the modified weight will be more in line with the actual situation. Determining the push strategy of the content resource investment based on the return on investment parameter can maximize the benefits and improve the stability and accuracy of the push strategy. However, the patent does not consider that user stratification is also dynamically changing. (2) Patent No.: CN202011219336.9. Patent name: A method for precise push of archive resources based on user behavior. A method for accurately pushing archive resources based on user behavior is provided, wherein the method comprises a server, the server comprises a user behavior library, the user behavior library comprises user behavior information, the user behavior information comprises user tags and user types; the archive library comprises archive data, the archive data comprises archive tags and archive types, thereby improving the efficiency of archive retrieval and utilization, but does not consider the changes in user tag weights at different stages. (3) Patent number: CN202011580983.2. Patent name: Intelligent push method for lifelong learning resources based on credit bank and big data analysis. A method for intelligent push of lifelong learning resources based on credit bank and big data analysis is disclosed, which relates to the technical field of credit bank and solves the technical problem of poor accuracy in pushing courses in the existing credit bank system. The method comprises: querying the credit bank to obtain the student's historical learning records, the historical learning records include courses learned, grades obtained, and credits obtained. However, the patent does not consider the dynamic changes in the student's learning interests at different learning stages and adjust the recommended courses accordingly.
[0004] The above patent contents have realized the basic function of resource push, which is consistent with this patent. On this basis, the patents that use clustering algorithms include (1) Patent No.: CN202011025785.X. Patent name: Target information push method, device and storage medium based on clustering algorithm. A target information push method, device and storage medium based on clustering algorithm is disclosed, which includes: determining an ordered tree based on customer behavior characteristics; determining the similarity between customers based on the ordered tree; clustering customers based on the similarity to obtain multiple groups; pushing target information based on multiple groups, so that target information such as coupons can be consistent with group characteristics, and the accuracy of pushing target information such as coupons can be improved, but the user clustering group is not adjusted in time according to changes in user characteristics. (2) Patent No.: CN201810871853.0. Patent name: An image retrieval method based on feature point clustering. Disclosed is an image retrieval method based on feature point clustering, comprising the following steps: extracting local feature points of all images in an image database, clustering all extracted local feature points; calculating local feature aggregation descriptors; extracting local feature points of the retrieved image, and clustering the local feature points using a clustering algorithm. The invention can effectively reduce the interference of the surrounding background image content and achieve successful image retrieval, but does not consider the impact of the user's search features on the search results. (3) Patent number: CN202010047322.7. Patent name: A feature retrieval system based on clustering filtering and its application method. The invention applies mature target clustering algorithms, such as personnel clustering, vehicle clustering, etc., to group massive target feature libraries. When performing feature retrieval, target features are filtered according to cluster categories to reduce unnecessary feature memory access and improve feature retrieval efficiency. Secondly, through a distributed system for target feature retrieval, a series of problems such as slow loading of massive feature data, inconsistent feature data, and re-clustering of target features are solved. However, the invention does not consider the dynamic changes of target clustering features. Existing patents have considered the impact of search term weights on search results when pushing resources, such as (1) Patent No.: CN201610881716.6. Patent name: Method for determining search term weights, method and device for pushing network resources. The invention discloses a method for determining search term weights, a method and device for pushing network resources. Among them, the method for determining the search term weight includes: calculating the word frequency of the search term; calculating the reverse document frequency of the search term; correcting the word frequency and / or the reverse document frequency based on the user's click data on the network resource; and calculating the search term weight based on the correction result, which enables the user to quickly and accurately obtain the desired network resources, but the invention does not consider the time validity of the search term.
[0005] This patent is based on the basic function of existing resource search, using the SOM neural network algorithm to cluster user feature sets, and generate associated resource clusters based on clustering groups to build a user resource quick recommendation library; then, according to the user's browsing history and the distance between the current search time, the browsing resources are assigned periodic weights, and the user feature sets are updated and re-clustered according to the assigned periodic weights to obtain the associated resource clusters generated by the re-clustering groups, and then a resource quick recommendation library close to the user's expectations is obtained, thereby realizing fast and accurate retrieval of platform resources. No existing patents have considered weight period and keyword frequency at the same time when analyzing user retrieval resource clusters. Summary of the invention
[0006] In view of the deficiencies of the above-mentioned technologies, the present invention provides a method for fast and accurate resource retrieval based on SOM and periodic weights, which overcomes the defects of the prior art in that the time validity of users' historical browsing resources and the dynamic changes of user characteristics are insufficiently considered, thereby improving the retrieval accuracy and shortening the retrieval time.
[0007] In order to solve the above technical problems, the present invention provides a method for fast and accurate resource retrieval based on SOM and cycle weight, comprising the following steps:
[0008] Step 1) User clustering
[0009] User features are extracted based on each user's basic information and historical browsing history to obtain a feature set; the SOM algorithm is used to cluster the feature sets of all users to obtain clusters, and all user historical browsing records in each cluster are counted to form a related resource recommendation library;
[0010] Step 2) Resource Recommendation
[0011] Extract the cluster where the user is located, then extract features from the information input by the user and match them with the user's feature set; if the match is successful, recommend resources from the associated resource recommendation library; if the match is unsuccessful or the associated resource recommendation library does not have resources that meet the user's requirements, search and recommend from the platform's total resource library;
[0012] Step 3) Update the user feature set based on the periodic weight.
[0013] Furthermore, in step 1), the user characteristics include personnel skill level, resource type, job object, business type and / or job level. Any user characteristic set can be represented by an n-dimensional characteristic vector as
[0014] N k =[x k1 ,x k2 ,…,x kn ]
[0015] Where N kis the feature set of any employee k; x kn is the nth feature of employee k, where n is a positive integer.
[0016] Furthermore, in step 3), the specific updating process of updating the user feature set based on periodic weights is as follows: determining the effective historical time span t, and then evenly dividing the effective historical time span t into n weight periods T from near to far. The relationship between the effective time span t and the weight period can be expressed as
[0017] t=[T1,T2,…,T j ,…,T n ] (1)
[0018] Where, T j is the jth weight period within the valid historical time span t;
[0019] The historical browsing resources in the same weight period take the same period weight value. The weight value of each weight period is calculated according to the period weight function and the weight value vector is taken to obtain the weight value vector y=[y1,y2,…,y j ,…,y n ];
[0020] Among them, the period weight function is:
[0021] w=ke -bt (2)
[0022] In the formula, k and b are constants;
[0023] The weight value y of any user k in the jth weight period kj The normalization of
[0024]
[0025] Therefore, the i-th eigenvalue of any user k can be expressed as
[0026]
[0027] In the formula, x ki is the i-th eigenvalue of user k, i = 1, 2, …, m; w kj is the normalized weight value of user k in the jth weight period, j = 1, 2, ..., n; N ji is the number of occurrences of the i-th feature in the j-th weight cycle of user k;
[0028] According to formula (5), determine whether the user feature set is updated
[0029]
[0030] In the formula, xki (j) is the feature value of the jth period of the i-th feature of user k; x ki (j+1) is the feature value of the j+1th period of the ith feature of user k; X it is the threshold value of the i-th feature within the effective historical time span t. When the user's feature value changes and satisfies formula (5), the user feature set is re-clustered and updated; otherwise, the original clustering result is maintained and the user feature set is not updated.
[0031] Compared with the prior art, the present invention has the following advantages: the present invention is based on the method for fast and accurate resource retrieval based on SOM and periodic weights, combined with user clustering and the time validity of user historical browsing resources, overcomes the defect of insufficient consideration of the time validity of user historical browsing resources in the prior art, improves the retrieval accuracy, shortens the retrieval time, and well solves the problem of the influence of user historical retrieval resources on the current retrieval. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of the method for fast and accurate resource retrieval based on SOM and periodic weight.
[0033] Figure 2 Resource retrieval accuracy for new employee users.
[0034] Figure 3 Retrieval accuracy of user resources for old employees. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0036] The resource fast and accurate retrieval method based on SOM (neural network clustering algorithm) and cycle weight includes the following steps:
[0037] Step 1) User clustering
[0038] Extract user features and obtain feature sets based on each user's basic information and historical browsing records; use the SOM algorithm to cluster the feature sets of all users to obtain cluster clusters, and collect statistics on all user historical browsing records in each cluster to form an associated resource recommendation library, in preparation for refreshing the fast recommendation resource library;
[0039] User characteristics include personnel skill level, resource type, job object, business type and / or job level, etc. Then, a user feature set is established based on user information and historical browsing records. Any user feature set can be represented by an n-dimensional feature vector as
[0040] N k =[x k1 ,x k2 ,…,xkn ]
[0041] Where N k is the feature set of any employee k; x kn is the nth feature of employee k, where n is a positive integer;
[0042] The SOM neural network algorithm is an n×m architecture. Its input layer consists of n neurons, representing the n features in the user feature set; the output layer consists of m neurons, representing the number of output clusters. After clustering is completed, clusters with similar features are constructed based on the clustering results;
[0043] Step 2) Resource Recommendation
[0044] Extract the cluster where the user is located, then extract features from the information input by the user and match them with the user's feature set; if the match is successful, recommend resources from the associated resource recommendation library; if the match is unsuccessful or the associated resource recommendation library does not have resources that meet the user's requirements, search and recommend from the platform's total resource library; the associated resource recommendation library is generated based on the historical browsing records of the cluster group members, and its number of resources is far smaller than the platform's total resource library;
[0045] Step 3) Update user feature set based on periodic weights
[0046] Determine the effective historical time span t, that is, the length of time covered by the selected effective browsing history records, and then evenly divide the effective historical time span t into n weight periods T from near to far (by time). The relationship between the effective time span t and the weight period can be expressed as
[0047] t=[T1,T2,…,T j ,…,T n ] (1)
[0048] Where, T j is the jth weight period within the valid historical time span t;
[0049] According to the characteristics of user browsing resources, a suitable function is selected as the periodic weight function. The exponential function has the characteristics of fast initial decreasing speed and large proportion of recent resource weight, which is more in line with the actual situation of resource retrieval. Therefore, the exponential function is selected as the periodic weight function.
[0050] w=ke -bt (2)
[0051] In the formula, k and b are constants;
[0052] The historical browsing resources in the same weight period take the same period weight value. The weight value of each weight period is calculated according to the period weight function and the weight value vector is taken to obtain the weight value vector y=[y1,y2,…,y j ,…,y n ], and the weight value y of any user k in the jth weight period kj The normalization of
[0053]
[0054] Therefore, the i-th eigenvalue of any user k can be expressed as
[0055]
[0056] In the formula, x ki is the i-th eigenvalue of user k, i = 1, 2, …, m; w kj is the normalized weight value of user k in the jth weight period, j = 1, 2, ..., n; N ji is the number of occurrences of the i-th feature in the j-th weight cycle of user k;
[0057] The criterion for whether the user feature set is updated can be expressed as
[0058]
[0059] In the formula, x ki (j) is the feature value of the jth period of the i-th feature of user k; x ki (j+1) is the feature value of the j+1th period of the ith feature of user k; X it is the threshold value of the i-th feature within the effective historical time span t. When the user's feature value changes and satisfies formula (5), the user feature set is re-clustered and updated; otherwise, the original clustering result is maintained and the user feature set is not updated.
[0060] Based on the above user clustering, it is assumed that new employees have no clustering groups and associated resource clusters, while old employees have clustering groups and associated resource clusters; 300 consecutive historical data (including search information and adopted resource information) of multiple new and old employees are randomly extracted from the platform; the undetermined coefficient of the periodic weight function is determined by experiment. Through statistical analysis, the change trends of the accuracy of resource search for new and old employees are obtained as follows: Figure 2 , Figure 3 , as shown in Table 1 and Table 2.
[0061] Table 1
[0062]
[0063]
[0064] Table 2
[0065]
[0066] The results show that when using the exponential periodic weight function, it is possible to extract new features in historical browsing records more quickly, accelerate clustering and update the fast recommendation resource library. Therefore, the resource retrieval accuracy using the exponential periodic weight function is the highest.
[0067] The contents not described in detail in this specification belong to the prior art known to the professional and technical personnel in this field. It should be understood that those of ordinary skill in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. A method for rapid and accurate resource retrieval based on SOM and period weight, characterized by: The following steps are involved: Step 1) User clustering Extract user features and obtain feature sets based on each user's basic information and historical browsing records; The SOM algorithm is used to cluster the feature sets of all users to obtain clusters, and all user browsing history records in each cluster are counted to form a related resource recommendation library; Step 2) Resource Recommendation Extract the cluster where the user is located, then extract features from the information input by the user and match them with the user's feature set; if the match is successful, recommend resources from the associated resource recommendation library; if the match is unsuccessful or the associated resource recommendation library does not have resources that meet the user's requirements, search and recommend from the platform's total resource library; Step 3) updating the user feature set based on the periodic weight; The specific updating process of the user feature set update based on periodic weight is as follows: determine the effective historical time span t, and then evenly divide the effective historical time span t into n weight periods T from near to far. The relationship between the effective time span t and the weight period can be expressed as t=[T1,T2,L,T j ,L,T n ] (1) Where, T j is the jth weight period within the valid historical time span t; The historical browsing resources in the same weight period take the same period weight value. The weight value of each weight period is calculated according to the period weight function and the weight value vector is taken to obtain the weight value vector y=[y1,y2,L,y j ,L,y n ]; Among them, the period weight function is: w=the -bt (2) In the formula, k and b are constants; The weight value y of any user k in the jth weight period kj The normalization of Therefore, the i-th eigenvalue of any user k can be expressed as In the formula, x ki is the i-th eigenvalue of user k, i = 1, 2, L, m; w kj is the normalized weight value of user k in the jth weight cycle, j = 1, 2, L, n; N ji is the number of occurrences of the i-th feature in the j-th weight cycle of user k; According to formula (5), determine whether the user feature set is updated In the formula, x ki (j) is the feature value of the jth period of the i-th feature of user k; x ki (j+1) is the feature value of the j+1th period of the ith feature of user k; X it is the threshold value of the i-th feature within the effective historical time span t. When the user's feature value changes and satisfies formula (5), the user feature set is re-clustered and updated; otherwise, the original clustering result is maintained and the user feature set is not updated.
2. The method for rapid and accurate resource retrieval based on SOM and periodic weight according to claim 1 is characterized in that: In step 1), user characteristics include personnel skill level, resource type, job object, business type and / or job level. Any user characteristic set can be represented by an n-dimensional characteristic vector as N k =[x k1 ,x k2 ,L,x kn ] Where N k is the feature set of any employee k; x kn is the nth feature of employee k, where n is a positive integer.
