Information pushing method and device and storage medium
By using the preset vector conversion model to obtain the sentence vectors of the user and the data to be pushed, it accurately represents the similarity between the user's historical clicks and the content to be pushed, solves the problem of sentence integrity loss in information push in the existing technology, and improves the push data click-through rate.
Patent Information
- Application Number
- CN202310282984.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-09-24
AI Technical Summary
It is difficult to preserve the integrity of sentences in information push with the existing technology, resulting in the inability to accurately represent the similarity between the user's historical click content and the data to be pushed, thereby affecting the click-through rate of the pushed data.
The first preset vector conversion model and the second preset vector conversion model are used to obtain the user's first sentence vector and the category's second sentence vector based on the user's historical click data and data to be pushed respectively, and determine the user through similarity calculation groups to push data.
By retaining the integrity of the sentence, the user group corresponding to the data to be pushed is accurately obtained, and the click-through rate of the pushed data is improved.
Smart Images

Figure CN118690089A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic information technology, and in particular to an information push method, device and storage medium. Background Art
[0002] Various applications in terminal devices usually have an information push function, that is, determining the content that the user is interested in based on the user's historical click content, and pushing the relevant information in the data to be pushed to the user to increase the click rate of the pushed data. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an information push method, device and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an information push method, the information push method comprising:
[0005] Determine a first sentence vector for each user based on a first preset vector conversion model and historical click data of each user, where the first sentence vector is used to represent the content of the user's historical clicks;
[0006] Based on the second preset vector conversion model and multiple categories of data to be pushed, obtaining a second sentence vector for each category, where the second sentence vector is used to represent content of the corresponding category;
[0007] The first sentence vectors are compared with the second sentence vectors, the user groups corresponding to the categories are determined according to the comparison results, and the data to be pushed in each category is pushed to the corresponding user groups.
[0008] In an exemplary embodiment, determining the first sentence vector of each user based on the first preset vector conversion model and the historical click data of each user includes:
[0009] Acquire the historical click data of each user within a first preset time period, wherein the historical click data includes a user identifier and a historical clicked article identifier;
[0010] Acquire historical push data within a second preset time period, wherein the historical push data includes historical push article identifiers and historical push article content information;
[0011] Determine the sentence vector of each user's historical clicked article content information based on the first preset vector conversion model, the historical click data of each user, and the historical push data;
[0012] The first sentence vector is determined according to the sentence vectors of the content information of the articles clicked historically by each user.
[0013] In an exemplary embodiment, the historical click data further includes the click time of the historically clicked articles, and the determining the sentence vector of the content information of the historically pushed articles of each user based on the first preset vector conversion model, the historical click data of each user, and the historical push data includes:
[0014] Using the first preset vector conversion model to perform vector conversion on the historically pushed article content information to obtain sentence vectors of each of the historically pushed article content information;
[0015] According to the historical clicked article identifiers and the click times of the historical clicked articles of each user, a preset number of sentence vectors of the historical pushed article content information corresponding to each user are determined as the sentence vectors of the historical clicked article content information of each user.
[0016] In an exemplary embodiment, determining the first sentence vector according to the sentence vector of the content information of the historically clicked articles of each user includes:
[0017] The sentence vectors of a preset number of historical pushed article content information are averaged to obtain the first sentence vector.
[0018] In an exemplary embodiment, the historically pushed article content information includes the main title and subtitle of the historically pushed article.
[0019] In an exemplary embodiment, the step of acquiring the second sentence vector of each category based on the second preset vector conversion model and multiple categories of data to be pushed includes:
[0020] Obtaining content information of articles to be pushed from the data to be pushed in each category;
[0021] Using the second preset vector conversion model to perform vector conversion on the content information of the article to be pushed, so as to obtain sentence vectors of multiple content information of the article to be pushed in each category;
[0022] The second sentence vector of each category is determined according to the sentence vectors of the content information of the articles to be pushed in each category.
[0023] In an exemplary embodiment, determining the second sentence vector of each category according to the sentence vectors of the content information of the articles to be pushed in each category includes:
[0024] The sentence vectors of the multiple content information of the articles to be pushed in each category are averaged to obtain the second sentence vector of each category.
[0025] In an exemplary embodiment, comparing each of the first sentence vectors with each of the second sentence vectors and determining the user group corresponding to each category according to the comparison result includes:
[0026] Based on a preset similarity calculation model, obtaining the similarity between each of the first sentence vectors and each of the second sentence vectors;
[0027] A first sentence vector and a second sentence vector whose similarity is greater than a set value are determined, and users corresponding to the first sentence vector are grouped into a user group of a category corresponding to the second sentence vector.
[0028] In an exemplary embodiment, the first preset vector conversion model includes a Sentence-Bert neural network model; and / or,
[0029] The second preset vector conversion model includes a Sentence-Bert neural network model.
[0030] According to a second aspect of an embodiment of the present disclosure, there is provided an information push device, the information push device comprising:
[0031] A first acquisition module is configured to determine a first sentence vector of each user based on a first preset vector conversion model and historical click data of each user, wherein the first sentence vector is used to represent the content of the user's historical clicks;
[0032] A second acquisition module is configured to acquire a second sentence vector of each category based on a second preset vector conversion model and multiple categories of data to be pushed, wherein the second sentence vector is used to represent content of the corresponding category;
[0033] The push module is configured to compare each of the first sentence vectors with each of the second sentence vectors, determine the user group corresponding to each category according to the comparison result, and push the to-be-pushed data of each category to the corresponding user group.
[0034] In an exemplary embodiment, the first acquisition module is further configured to:
[0035] Acquire the historical click data of each user within a first preset time period, wherein the historical click data includes a user identifier and a historical clicked article identifier;
[0036] Acquire historical push data within a second preset time period, wherein the historical push data includes historical push article identifiers and historical push article content information;
[0037] Determine the sentence vector of each user's historical clicked article content information based on the first preset vector conversion model, the historical click data of each user, and the historical push data;
[0038] The first sentence vector is determined according to the sentence vectors of the content information of the articles clicked historically by each user.
[0039] In an exemplary embodiment, the historical click data also includes the click time of the historical clicked articles, and the first acquisition module is further configured to:
[0040] Using the first preset vector conversion model to perform vector conversion on the historically pushed article content information to obtain sentence vectors of each of the historically pushed article content information;
[0041] According to the historical clicked article identifiers and the click times of the historical clicked articles of each user, a preset number of sentence vectors of the historical pushed article content information corresponding to each user are determined as the sentence vectors of the historical clicked article content information of each user.
[0042] In an exemplary embodiment, the first acquisition module is further configured to:
[0043] The sentence vectors of a preset number of historical pushed article content information are averaged to obtain the first sentence vector.
[0044] In an exemplary embodiment, the historically pushed article content information includes the main title and subtitle of the historically pushed article.
[0045] In an exemplary embodiment, the second acquisition module is further configured to:
[0046] Obtaining content information of articles to be pushed from the data to be pushed in each category;
[0047] Using the second preset vector conversion model to perform vector conversion on the content information of the article to be pushed, so as to obtain sentence vectors of multiple content information of the article to be pushed in each category;
[0048] The second sentence vector of each category is determined according to the sentence vectors of the content information of the articles to be pushed in each category.
[0049] In an exemplary embodiment, the second acquisition module is further configured to:
[0050] The sentence vectors of the multiple content information of the articles to be pushed in each category are averaged to obtain the second sentence vector of each category.
[0051] In an exemplary embodiment, the push module is further configured to:
[0052] Based on a preset similarity calculation model, obtaining the similarity between each of the first sentence vectors and each of the second sentence vectors;
[0053] A first sentence vector and a second sentence vector whose similarity is greater than a set value are determined, and users corresponding to the first sentence vector are grouped into a user group of a category corresponding to the second sentence vector.
[0054] In an exemplary embodiment, the first preset vector conversion model includes a Sentence-Bert neural network model; and / or,
[0055] The second preset vector conversion model includes a Sentence-Bert neural network model.
[0056] According to a third aspect of an embodiment of the present disclosure, there is provided an information push device, including:
[0057] processor;
[0058] a memory for storing processor-executable instructions;
[0059] The processor is configured to execute a method as described in any one of the first aspects of the embodiments of the present disclosure.
[0060] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a device, the device is enabled to execute a method as described in any one of the first aspects of the embodiment of the present disclosure.
[0061] The above method of the present disclosure has the following beneficial effects: using the method of the present disclosure, the first sentence vector and the second sentence vector obtained can retain the integrity of the sentence, so that the user groups corresponding to each category of data to be pushed can be obtained more accurately. After the data to be pushed is pushed to the corresponding user group, the technical effect of improving the click rate of the pushed data is achieved.
[0062] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0064] Figure 1 is a flow chart of an information push method according to an exemplary embodiment;
[0065] Figure 2 is a flow chart of a method for determining the first sentence vector of each user in step S101 according to an exemplary embodiment;
[0066] Figure 3 is a flow chart of a method for determining the sentence vector of each user's historical pushed article content information in step S203 according to an exemplary embodiment;
[0067] Figure 4is a flow chart of a method for obtaining the second sentence vector of each category in step S102 according to an exemplary embodiment;
[0068] Figure 5 is a flow chart of a method for determining the user groups corresponding to each category according to the comparison result in step S103 according to an exemplary embodiment;
[0069] Figure 6 is a schematic diagram of an information push method according to an exemplary embodiment;
[0070] Figure 7 is a block diagram of an information push device according to an exemplary embodiment;
[0071] Figure 8 It is a block diagram of an information pushing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0073] When analyzing the user's historical click content and the data to be pushed, it is usually necessary to convert the text data into digital data that can be calculated by the computer. In the related art, the method of converting text data into digital data includes discrete representation methods such as One-hot encoding (abbreviated as one-hot vector encoding), bag of words model, term frequency-inverse document frequency index model (TF-IDF, TermFrequency-Inverse Document Frequency), N-gram model, and also includes neural network language model (NNLM, Neural Network Language model) model, Word2Vec model, Bert model, SimBert model and other word embedding neural network models. However, the method in the related art is to convert text data into word vectors, and then obtain sentence vectors based on word vectors, ignoring the meaning of the word itself and the influence of word order on the sentence, so it is impossible to retain the integrity of the sentence understanding, and it is impossible to take into account the generalization ability of the vector in the migration task, and it cannot represent unsupervised tasks.
[0074] In an exemplary embodiment of the present disclosure, in order to solve the technical problems existing in the prior art, an information push method is provided, which determines the first sentence vector of each user based on a first preset vector conversion model and the historical click data of each user, obtains the second sentence vector of each category based on a second preset vector conversion model and multiple categories of data to be pushed, wherein the first sentence vector is used to characterize the content of the user's historical clicks, and the second sentence vector is used to characterize the content of the corresponding category, compares each first sentence vector with each second sentence vector, determines the user group corresponding to each category according to the comparison result, and pushes the data to be pushed of each category to the corresponding user group. Using the method in the present disclosure, the first sentence vector and the second sentence vector obtained can retain the integrity of the sentence, so that the user group corresponding to the data to be pushed of each category can be obtained more accurately, and after the data to be pushed is pushed to the corresponding user group, the technical effect of improving the click rate of the pushed data is achieved.
[0075] In an exemplary embodiment of the present disclosure, an information push method is provided. Figure 1 is a flow chart of an information push method according to an exemplary embodiment. Figure 1 As shown, the following steps are included:
[0076] Step S101, based on a first preset vector conversion model and historical click data of each user, determining a first sentence vector of each user, where the first sentence vector is used to represent the content of the user's historical clicks;
[0077] Step S102, based on a second preset vector conversion model and multiple categories of data to be pushed, obtaining a second sentence vector for each category, where the second sentence vector is used to represent the content of the corresponding category;
[0078] Step S103 , comparing each first sentence vector with each second sentence vector, determining the user group corresponding to each category according to the comparison result, and pushing the to-be-pushed data of each category to the corresponding user group.
[0079] In step S101, the sentence vector is a digital symbol that can be calculated by a computer by converting the language symbols in the text sentence. The first preset vector conversion model is a model that can convert the text sentence into a sentence vector. Only when the converted sentence vector can clearly represent the sentence content can the computer accurately understand the sentence. Therefore, the first preset vector conversion model is a conversion model that is more friendly to sentences, that is, a conversion model that can include sentence integrity.
[0080] The historical click data of each user is the historical click content information of each user, which can be the historical click article content information of each user, or the historical click article identifier of each user. For example, user 1 clicked on an article related to content 1 yesterday, and user 2 clicked on an article related to content 2 the day before yesterday. When the historical click data of each user includes the user identifier and the historical click article content information corresponding to the user identifier, the historical click data of each user is: user 1, content 1; user 2, content 2. Through the first preset vector conversion model, the historical click data of each user is converted into the first sentence vector of each user, and the first sentence vector can represent the content of the user's historical clicks. For example, the historical click data content 1 corresponding to user 1 is converted into the first sentence vector of user 1, and the historical click data content 2 corresponding to user 2 is converted into the first sentence vector of user 2.
[0081] In one example, the first preset vector conversion model is a Sentence-Bert neural network model, which includes a pre-trained Bert neural network structure and a pooling layer network structure to obtain a semantically meaningful sentence vector, that is, a sentence vector that can accurately represent the content of a sentence. Among them, the pre-trained Bert neural network structure is used to convert a sentence into multiple output vectors, and the pooling layer network structure is used to pool the output vectors to generate a fixed-dimensional sentence vector.
[0082] It should be noted that the pre-trained Bert neural network structure includes a word segmenter. The function of the word segmenter is to segment the input sentence. Depending on the type of word segmenter, each character in the sentence can be separated, or each word in the sentence can be separated. The sentence can also be segmented according to other rules. For example, when segmenting the sentence "The weather is really good today", a word segmenter can be used to divide the sentence into "today", "day", "weather", "air", "real", and "good", or a word segmenter can be used to divide the sentence into "today", "weather", and "really good". The pooling strategies of the pooling layer network structure include the following three: the first is to use the output vector at the first position of the input sentence as the sentence vector of the input sentence. For example, when the input sentence is "The weather is really good today", the output vectors are the vectors corresponding to "today", "weather" and "really good", the vector corresponding to "today" is used as the sentence vector of the input sentence; the second is to use the maximum value of all output vectors of the input sentence as the sentence vector of the input sentence. For example, when the input sentence is "The weather is really good today", the output vectors are the vectors corresponding to "today", "weather" and "really good", the maximum value among the vector corresponding to "today", the vector corresponding to "weather" and the vector corresponding to "really good" is used as the sentence vector of the input sentence; the third is to use the average value of all output vectors of the input sentence as the sentence vector of the input sentence. For example, when the input sentence is "The weather is really good today", the output vectors are the vectors corresponding to "today", "weather" and "really good", the average value of the vector corresponding to "today", the vector corresponding to "weather" and the vector corresponding to "really good" is used as the sentence vector of the input sentence.
[0083] The historical click data of each user is composed of sentences. The sentences corresponding to the historical click data of each user are input into the Sentence-Bert neural network model. The pre-trained Bert neural network structure segments the input sentences and converts the segmented sentences into multiple output vectors. The output vectors are usually called token output vectors. When the sentences are segmented into words, the token output vectors are word vectors. When the sentences are segmented into words, the token output vectors are multiple word vectors. After obtaining multiple token output vectors, the multiple token output vectors are input into the pooling layer network structure. The pooling layer network structure pools the multiple token output vectors. In this disclosure, the average value of all token output vectors of the input sentence is used as the sentence vector of the input sentence, thereby obtaining the sentence vector of the historical click data of each user, that is, the first sentence vector.
[0084] In step S102, the second preset vector conversion model is a model that can convert text sentences into sentence vectors. Only when the converted sentence vectors can clearly represent the content of the sentence can the computer accurately understand the sentence. Therefore, the second preset vector conversion model is also a conversion model that is more friendly to sentences, that is, a conversion model that can include sentence integrity. The second preset vector conversion model can be the same as the first preset vector conversion model, or it can be different from the first preset vector conversion model. In one example, the second preset vector conversion model is a Sentence-Bert neural network model.
[0085] Multiple categories of data to be pushed are pre-classified data that you want to push to users. For example, there are 10 articles that you want to push to users. They are artificially classified, of which 3 are political articles, 2 are health articles, 4 are sports articles, and 1 is an entertainment article. Then the 10 articles include 4 categories of data to be pushed. The same category of data to be pushed is usually called vertical data, that is, data in a vertical field. Vertical data is helpful for specifying data to be pushed for limited users, such as pushing sports-based articles to users who like to read sports articles. Through the second preset vector conversion model, multiple categories of data to be pushed are converted into the second sentence vector corresponding to each category, and the second sentence vector can represent the content of the corresponding category. For example, content 1 corresponding to category 1 is converted into the second sentence vector of category 1, and content 2 corresponding to category 2 is converted into the second sentence vector of category 2.
[0086] In step S103, the first sentence vector of each user is compared with the second sentence vector of each category, the user group corresponding to each category is determined according to the comparison result, and the data to be pushed of each category is pushed to the corresponding user group. For example, when the first sentence vector of user 1 is the same or similar to the second sentence vector of category 1, it means that the data to be pushed of category 1 is the same or similar to the historical click data of user 1, then user 1 is considered to be one of the users of the data to be pushed of category 1, all users of the data to be pushed of category 1 are formed into a user group, and the data to be pushed of category 1 is pushed to the user group.
[0087] In an exemplary embodiment of the present disclosure, based on a first preset vector conversion model and each user's historical click data, the first sentence vector of each user is determined, and based on a second preset vector conversion model and multiple categories of data to be pushed, the second sentence vector of each category is obtained, wherein the first sentence vector is used to characterize the content of the user's historical clicks, and the second sentence vector is used to characterize the content of the corresponding category, and each first sentence vector is compared with each second sentence vector, and the user group corresponding to each category is determined according to the comparison result, and the data to be pushed of each category is pushed to the corresponding user group. Using the method in the present disclosure, the first sentence vector and the second sentence vector obtained can retain the integrity of the sentence, so that the user group corresponding to the data to be pushed of each category can be obtained more accurately, and after the data to be pushed is pushed to the corresponding user group, the technical effect of improving the click rate of the pushed data is achieved.
[0088] In an exemplary embodiment, Figure 2 is a flow chart of a method for determining the first sentence vector of each user in step S101 according to an exemplary embodiment. Figure 2 As shown, the following steps are included:
[0089] Step S201, obtaining historical click data of each user within a first preset time period, the historical click data including user identifiers and historical clicked article identifiers;
[0090] Step S202, obtaining historical push data within a second preset time period, the historical push data including historical push article identifiers and historical push article content information;
[0091] Step S203, based on the first preset vector conversion model, the historical click data and the historical push data of each user, determining the sentence vector of the content information of the historical clicked articles of each user;
[0092] Step S204: determine a first sentence vector based on the sentence vectors of the content information of the articles clicked by each user in history.
[0093] The first preset time period is an empirical value and can be determined according to actual needs, for example, within 30 days in history, that is, within 30 days before the time when the historical click data is obtained. The historical click data includes a user identifier and a historical click article identifier, the user identifier is the user ID, and the historical click article identifier is the historical click article ID. The second preset time period is an empirical value and can be determined according to actual needs, for example, within 90 days in history, that is, within 90 days before the time when the historical push data is obtained. The second preset time period and the first preset time period can be the same or different. The historical push data includes a historical push article identifier and a historical push article content information, the historical push article identifier is the historical push article ID, and the historical push article content information is the main title and subtitle of the historical push article, or other iconic article sentences.
[0094] After obtaining the historical click data and historical push data of each user, the historical click data and the historical push data are associated through the historical click article identifier and the historical push article identifier, so as to obtain the historical click article content information of each user. For example, user 1 has clicked on articles with article identifiers of article 1 and article identifiers of article 2 within a historical week, and has pushed articles with article identifiers of article 2 containing main title 1 and subtitle 1 and article identifiers of article 3 containing main title 2 and subtitle 2 within a historical month. By associating the historical click article identifier and the historical push article identifier, that is, associating through the same article identifier, it can be known that user 1 has clicked on the pushed article with article identifiers of article 2 containing main title 1 and subtitle 1 within a historical week, that is, the historical click article content information of user 1 is main title 1 and subtitle 1.
[0095] When determining the sentence vector of each user's historical click article content information based on the first preset vector conversion model, each user's historical click data and historical push data, the historical click data and historical push data of each user can be first associated to determine the historical click article content information of each user, and then the historical click article content information of each user is input into the first preset vector conversion model to output the sentence vector of each user's historical click article content information; or the historical push data can be first input into the first preset vector conversion model to output the sentence vector of the historical push data, and then the historical click data and the sentence vector of the historical push data of each user are associated to obtain the sentence vector of the historical click article content information of each user.
[0096] The number of sentence vectors of each user's historical clicked article content information is determined based on actual conditions. The sentence vectors of all historical clicked article content information can be counted and their statistical values can be used as the first sentence vector. For example, the maximum value of the sentence vectors of all historical clicked article content information can be determined as the first sentence vector, or the median of the sentence vectors of all historical clicked article content information can be determined as the first sentence vector, or the average value of the sentence vectors of some historical clicked article content information can be determined as the first sentence vector.
[0097] In one example, the sentence vectors of a preset number of historically pushed article content information are averaged to obtain a first sentence vector.
[0098] The preset number can be the sentence vectors of all the historical clicked article content information, or can be the sentence vectors of some of the historical clicked article content information, and its value is determined according to the actual situation. The average value of the sentence vectors of the preset number of historical pushed article content information is determined as the first sentence vector.
[0099] In an exemplary embodiment, the historical click data also includes the click time of the historical clicked articles. Figure 3 FIG. 1 is a flow chart of a method for determining the sentence vector of each user's historical pushed article content information in step S203 according to an exemplary embodiment. Figure 3 As shown, the following steps are included:
[0100] Step S301, using a first preset vector conversion model to perform vector conversion on the content information of historically pushed articles to obtain sentence vectors of the content information of each historically pushed article;
[0101] Step S302, based on each user's historical clicked article identifier and the click time of the historical clicked article, determine a preset number of sentence vectors of the historical pushed article content information corresponding to each user as the sentence vector of the historical clicked article content information of each user.
[0102] Each historical push article content information in the historical push data, such as the main title and subtitle of each historical push article, is input into the first preset vector conversion model for vector conversion, and the sentence vector of each historical push article content information is output. The historical click data of each user also includes the click time of the historical click article, that is, the user click time corresponding to the historical click article identifier. The historical click data and the historical push data are associated by the historical click article identifier in the historical click data of each user and the historical push article identifier in the historical push data, so that the click time corresponding to the sentence vector of each historical push article content information can be determined. According to the click time, the sentence vectors of the preset number of historical push article content information are determined, for example, the sentence vectors of the historical push article content information of the click event within the historical 10 days are determined, and the preset number is the actual number of sentence vectors of the historical push article content information within the historical 10 days. The sentence vectors of the preset number of historical push article content information can also be pre-set, for example, 5 sentence vectors of the historical push article content information are obtained in reverse order of the click time. The sentence vectors of the preset number of historical push article content information corresponding to each user are the sentence vectors of the historical click article content information of each user.
[0103] In an exemplary embodiment, Figure 4 is a flow chart of a method for obtaining the second sentence vector of each category in step S102 according to an exemplary embodiment. Figure 4 As shown, the following steps are included:
[0104] Step S401, obtaining content information of articles to be pushed in each category of data to be pushed;
[0105] Step S402, using a second preset vector conversion model to perform vector conversion on the content information of the article to be pushed, to obtain sentence vectors of multiple content information of the article to be pushed in each category;
[0106] Step S403 : determining a second sentence vector for each category based on the sentence vectors of the content information of the articles to be pushed in each category.
[0107] The content information of the articles to be pushed in each category of the data to be pushed can be the main title and subtitle of the article to be pushed, or other representative sentences of the article to be pushed. The category of the data to be pushed is an experience value, and the number of data to be pushed in each category is also an experience value. For example, the data to be pushed includes 10 articles on current affairs, 20 articles on finance, and 25 articles on health.
[0108] Each article content information to be pushed in each category is input into the second preset vector conversion model for vector conversion, and the sentence vector of each article content information to be pushed in each category is output. The sentence vectors of all the article content information to be pushed in each category can be counted, and the statistical value is used as the second sentence vector of each category, for example, the maximum value of the sentence vectors of all the article content information to be pushed is determined as the second sentence vector, or the median of the sentence vectors of all the article content information to be pushed is determined as the second sentence vector, or the average value of the sentence vectors of some of the article content information to be pushed is determined as the second sentence vector.
[0109] In one example, the sentence vectors of the content information of the multiple articles to be pushed in each category are averaged to obtain the second sentence vector of each category.
[0110] The sentence vectors of the multiple articles to be pushed in each category can be the sentence vectors of all the articles to be pushed in each category, or can be the sentence vectors of some of the articles to be pushed, and their values are determined according to actual needs. The average value of the sentence vectors of the multiple articles to be pushed is determined as the second sentence vector.
[0111] In an exemplary embodiment, Figure 5 is a flow chart of a method for determining the user groups corresponding to each category according to the comparison result in step S103 according to an exemplary embodiment. Figure 5 As shown, the following steps are included:
[0112] Step S501, obtaining the similarity between each first sentence vector and each second sentence vector based on a preset similarity calculation model;
[0113] Step S502 : determining a first sentence vector and a second sentence vector whose similarity is greater than a set value, and grouping users corresponding to the first sentence vector into a user group of a category corresponding to the second sentence vector.
[0114] The preset similarity calculation model is a model that can calculate the similarity between two sentence vectors, for example, using cosine similarity calculation or using Manhattan distance, Euclidean distance, etc. for similarity calculation or using a neural network similarity calculation model. The first sentence vector of each user and the second sentence vector of each category are respectively input into the preset similarity calculation model for similarity calculation, and the similarity value is output. The setting value is an empirical value, which can be determined according to actual needs, or it can be the maximum value of the similarity between the second sentence vector of each category and the first sentence vector of each user. When the similarity between the first sentence vector and the second sentence vector is greater than the set value, it means that the user's historical clicked article content information is very similar to the content information of the article to be pushed, and the user is more interested in the push data of this category, so the user corresponding to the first sentence vector is formed into a user group of the category corresponding to the second sentence vector, and the data to be pushed of this category is pushed to the user group.
[0115] For example, the first sentence vector of user 1 and the second sentence vector of category 1 are input into the preset similarity calculation model, and the output similarity is 40%. The first sentence vector of user 1 and the second sentence vector of category 2 are input into the preset similarity calculation model, and the output similarity is 80%. The first sentence vector of user 2 and the second sentence vector of category 1 are input into the preset similarity calculation model, and the output similarity is 70%. The first sentence vector of user 2 and the second sentence vector of category 2 are input into the preset similarity calculation model, and the output similarity is 50%. The first sentence vector of user 3 and the second sentence vector of category 1 are input into the preset similarity calculation model, and the output similarity is 30%. The first sentence vector of user 3 and the second sentence vector of category 2 are input into the preset similarity calculation model, and the output similarity is 70%. When the set value is 60%, the user group of category 1 is user 2, and the user group of category 2 is user 1 and user 3.
[0116] In an exemplary embodiment of the present disclosure, a method for pushing information is provided. Figure 6 is a schematic diagram of an information push method according to an exemplary embodiment. Figure 6 As shown, the following steps are included:
[0117] Step S601, obtaining historical click data of each user within a first preset time period;
[0118] The historical click data includes the user ID, the historical clicked article ID and the click time of the historical clicked article;
[0119] Step S602, obtaining historical push data within a second preset time period;
[0120] The historical push data includes the historical push article identifier and the historical push article content information. The historical push article content information includes the main title and subtitle of the historical push article.
[0121] Step S603, using a first preset vector conversion model to perform vector conversion on the historically pushed article content information to obtain a sentence vector of each historically pushed article content information;
[0122] The first preset vector conversion model includes a Sentence-Bert neural network model;
[0123] Step S604, determining a preset number of sentence vectors of the historical pushed article content information corresponding to each user according to the historical clicked article identifiers and the click times of the historical clicked articles of each user as the sentence vectors of the historical clicked article content information of each user;
[0124] Step S605, calculating the average of the sentence vectors of a preset number of historical pushed article content information to obtain a first sentence vector;
[0125] Step S606, obtaining content information of articles to be pushed in each category of data to be pushed;
[0126] Step S607, using a second preset vector conversion model to perform vector conversion on the content information of the article to be pushed, to obtain sentence vectors of multiple content information of the article to be pushed in each category;
[0127] The second preset vector conversion model includes a Sentence-Bert neural network model;
[0128] Step S608, respectively calculating the average of the sentence vectors of the plurality of to-be-pushed article content information of each category to obtain the second sentence vector of each category;
[0129] Step S609, obtaining the similarity between each first sentence vector and each second sentence vector based on a preset similarity calculation model;
[0130] Step S610, determining a first sentence vector and a second sentence vector whose similarity is greater than a set value, and grouping users corresponding to the first sentence vector into a user group of a category corresponding to the second sentence vector;
[0131] Step S611: push each category of data to be pushed to the corresponding user group.
[0132] In one example, the effectiveness of the information push method provided in the present disclosure is verified by the following control experiment. The experimental group is the information push method provided in the present disclosure, and the control group is the information push method using the SimBert model in the related technology. The data to be pushed include health, current affairs, finance and sports. After the data to be pushed in each category is pushed to the corresponding user group, the exposure number and click number of the pushed data in each category are obtained, and the click rate of the pushed data in each category is determined by the ratio of the click number to the exposure number. Table 1 is the click rate of the pushed data of the experimental group, and Table 2 is the click rate of the pushed data of the control group. As shown in Tables 1 and 2, the click rate of the health push data increased by 1.13%, the click rate of the current affairs push data increased by 1.90%, the click rate of the finance push data increased by 1.35%, and the click rate of the sports push data increased by 3.74%.
[0133] Table 1 Click rate of push data in the experimental group
[0134] category exposure Click Click-through rate healthy 950618 7649 0.81% Current Affairs 2535104 31218 1.23% Finance 1942398 21889 1.13% physical education 841680 6779 0.81%
[0135] Table 2 Click rate of push data in control group
[0136] category exposure Click Click-through rate healthy 947828 7548 0.80% Current Affairs 2515756 30394 1.21% Finance 1929262 21453 1.11% physical education 833353 6467 0.78%
[0137] In an exemplary embodiment of the present disclosure, an information push device is provided. Figure 7 is a block diagram of an information push device according to an exemplary embodiment. Figure 7 As shown, including:
[0138] The first acquisition module 701 is configured to determine a first sentence vector of each user based on a first preset vector conversion model and historical click data of each user, where the first sentence vector is used to represent the content of the user's historical clicks;
[0139] The second acquisition module 702 is configured to acquire a second sentence vector of each category based on a second preset vector conversion model and multiple categories of data to be pushed, where the second sentence vector is used to represent the content of the corresponding category;
[0140] The push module 703 is configured to compare each of the first sentence vectors with each of the second sentence vectors, determine the user group corresponding to each category according to the comparison result, and push the to-be-pushed data of each category to the corresponding user group.
[0141] In an exemplary embodiment, the first acquisition module 701 is further configured to:
[0142] Acquire the historical click data of each user within a first preset time period, wherein the historical click data includes a user identifier and a historical clicked article identifier;
[0143] Acquire historical push data within a second preset time period, wherein the historical push data includes historical push article identifiers and historical push article content information;
[0144] Determine the sentence vector of each user's historical clicked article content information based on the first preset vector conversion model, the historical click data of each user, and the historical push data;
[0145] The first sentence vector is determined according to the sentence vectors of the content information of the articles clicked historically by each user.
[0146] In an exemplary embodiment, the historical click data also includes the click time of the historically clicked articles, and the first acquisition module 701 is further configured to:
[0147] Using the first preset vector conversion model to perform vector conversion on the historically pushed article content information to obtain sentence vectors of each of the historically pushed article content information;
[0148] According to the historical clicked article identifiers and the click times of the historical clicked articles of each user, a preset number of sentence vectors of the historical pushed article content information corresponding to each user are determined as the sentence vectors of the historical clicked article content information of each user.
[0149] In an exemplary embodiment, the first acquisition module 701 is further configured to:
[0150] The sentence vectors of a preset number of historical pushed article content information are averaged to obtain the first sentence vector.
[0151] In an exemplary embodiment, the historically pushed article content information includes the main title and subtitle of the historically pushed article.
[0152] In an exemplary embodiment, the second acquisition module 702 is further configured to:
[0153] Obtaining content information of articles to be pushed from the data to be pushed in each category;
[0154] Using the second preset vector conversion model to perform vector conversion on the content information of the article to be pushed, so as to obtain sentence vectors of multiple content information of the article to be pushed in each category;
[0155] The second sentence vector of each category is determined according to the sentence vectors of the content information of the articles to be pushed in each category.
[0156] In an exemplary embodiment, the second acquisition module 702 is further configured to:
[0157] The sentence vectors of the multiple content information of the articles to be pushed in each category are averaged to obtain the second sentence vector of each category.
[0158] In an exemplary embodiment, the push module 703 is further configured to:
[0159] Based on a preset similarity calculation model, obtaining the similarity between each of the first sentence vectors and each of the second sentence vectors;
[0160] A first sentence vector and a second sentence vector whose similarity is greater than a set value are determined, and users corresponding to the first sentence vector are grouped into a user group of a category corresponding to the second sentence vector.
[0161] In an exemplary embodiment, the first preset vector conversion model includes a Sentence-Bert neural network model; and / or,
[0162] The second preset vector conversion model includes a Sentence-Bert neural network model.
[0163] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0164] Figure 8 It is a block diagram of an information pushing device 800 according to an exemplary embodiment.
[0165] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0166] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0167] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0168] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0169] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0170] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0171] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0172] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0173] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0174] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0175] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0176] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device, enables the device to execute an information push method, the method including any of the above methods.
[0177] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0178] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An information push method, characterized in that: The information pushing method includes: Determining a first sentence vector for each user based on a first preset vector conversion model and historical click data of each user, where the first sentence vector is used to represent the content of the user's historical clicks; Based on the second preset vector conversion model and the multiple categories of data to be pushed, obtaining a second sentence vector for each category, where the second sentence vector is used to represent the content of the corresponding category; Compare each of the first sentence vectors with each of the second sentence vectors, determine the user group corresponding to each category according to the comparison result, and push the to-be-pushed data of each category to the corresponding user group.
2. The information push method according to claim 1, characterized in that: The determining of the first sentence vector of each user based on the first preset vector conversion model and the historical click data of each user includes: Acquire the historical click data of each user within a first preset time period, the historical click data including a user identifier and a historical clicked article identifier; Acquire historical push data within a second preset time period, wherein the historical push data includes historical push article identifiers and historical push article content information; Determining, based on the first preset vector conversion model, the historical click data and the historical push data of each user, a sentence vector of the content information of the historical clicked articles of each user; The first sentence vector is determined based on the sentence vectors of the content information of the articles clicked by each user in history.
3. The information push method according to claim 2, characterized in that: The historical click data also includes the click time of the historically clicked articles. The determining of the sentence vector of the content information of the historically pushed articles of each user based on the first preset vector conversion model, the historical click data of each user, and the historical push data includes: Performing vector conversion on the historically pushed article content information using the first preset vector conversion model to obtain sentence vectors for each of the historically pushed article content information; According to the historical clicked article identifiers and click times of the historical clicked articles of each user, a preset number of sentence vectors of the historical pushed article content information corresponding to each user are determined as the sentence vectors of the historical clicked article content information of each user.
4. The information push method according to claim 3, characterized in that: The determining of the first sentence vector based on the sentence vector of the content information of the articles clicked by each user in history includes: The sentence vectors of a preset number of historically pushed article content information are averaged to obtain the first sentence vector.
5. The information push method according to claim 2, characterized in that: The content information of the historically pushed articles includes the main title and subtitle of the historically pushed articles.
6. The information push method according to claim 1, characterized in that: The step of obtaining a second sentence vector for each category based on the second preset vector conversion model and the multiple categories of data to be pushed includes: Obtaining content information of articles to be pushed from the data to be pushed in each category; Performing vector conversion on the content information of the article to be pushed using the second preset vector conversion model to obtain sentence vectors of multiple content information of the article to be pushed in each category; The second sentence vector for each category is determined based on the sentence vectors of the plurality of content information of the articles to be pushed in each category.
7. The information push method according to claim 6, characterized in that: The determining of the second sentence vector for each category based on the sentence vectors of the content information of the articles to be pushed in each category includes: The sentence vectors of the multiple articles to be pushed in each category are averaged to obtain the second sentence vector of each category.
8. The information push method according to claim 1, characterized in that: The comparing each of the first sentence vectors with each of the second sentence vectors and determining the user group corresponding to each category according to the comparison result includes: Based on a preset similarity calculation model, obtaining the similarity between each of the first sentence vectors and each of the second sentence vectors; A first sentence vector and a second sentence vector whose similarity is greater than a set value are determined, and users corresponding to the first sentence vector are grouped into a user group of the category corresponding to the second sentence vector.
9. The information push method according to any one of claims 1 to 8, characterized in that: The first preset vector conversion model includes a Sentence-Bert neural network model; and / or, The second preset vector conversion model includes a Sentence-Bert neural network model.
10. An information push device, characterized in that: The information pushing device includes: A first acquisition module is configured to determine a first sentence vector for each user based on a first preset vector conversion model and historical click data of each user, where the first sentence vector is used to represent the content of the user's historical clicks; A second acquisition module is configured to acquire a second sentence vector for each category based on a second preset vector conversion model and multiple categories of data to be pushed, wherein the second sentence vector is used to represent content of the corresponding category; The push module is configured to compare each of the first sentence vectors with each of the second sentence vectors, determine the user group corresponding to each category according to the comparison result, and push the to-be-pushed data of each category to the corresponding user group.
11. An information push device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of a device, the device is enabled to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Content pushing method and device, computer equipment and storage medium
CN110162701A
Information pushing method and device and server
CN114722267A
Text pushing method and device, electronic equipment and computer readable storage medium
CN115114425A
Knowledge point pushing method and device, and computer readable storage medium
WO2020056977A1
