RECOMMODATION METHOD, RECOMMODATION APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM
A recommendation method, a recommendation apparatus, an electronic device and a storage medium are provided, which relate to the field of computer technology. Specific implementation solution is the following: determining a current round of requirement and contextual information, according to session information; determining a plurality of recommendation items according to the current round of requirement and the contextual information; for each recommendation item of the recommendation items, determining a predicted click-through rate of the recommendation item according to the contextual information and a feature of the recommendation item; and determining at least one final recommendation item from the plurality of recommendation items, according to predicted click-through rates of the recommendation items. This application improves the analysis accuracy of the user's requirement, thereby improving the recommendation quality.
1 . A recommendation method, comprising:
determining a current round of requirement and contextual information, according to session information;
determining a plurality of recommendation items according to the current round of requirement and the contextual information;
for each recommendation item of the recommendation items, determining a predicted click-through rate of the recommendation item according to the contextual information and a feature of the recommendation item; and
determining at least one final recommendation item from the plurality of recommendation items, according to predicted click-through rates of the recommendation items.
2 . The recommendation method according to claim 1 , wherein the determining a plurality of recommendation items according to the current round of requirement and the contextual information, comprises:
extracting a user intention and a keyword from the current round of requirement and the contextual information; and
retrieving the plurality of recommendation items from search data, according to the user intention and the keyword.
3 . The recommendation method according to claim 2 , further comprising: performing a preliminary filtering process on the plurality of recommendation items, to acquire a plurality of recommendation items after the preliminary filtering process, wherein
the preliminary filtering process comprises at least one of:
determining historical access data of the recommendation items and relevancies between the recommendation items and the keyword, and filtering out a recommendation item whose historical access data and relevancy do not satisfy a preset condition; and
filtering out a repetitive recommendation item from the plurality of recommendation items.
4 . The recommendation method according to claim 1 , wherein the determining a predicted click-through rate of the recommendation item according to the contextual information and the feature of the recommendation item, comprises:
extracting a contextual feature from the contextual information; and
inputting the contextual feature and the feature of the recommendation item into a pre-trained click-through rate prediction model, and outputting the predicted click-through rate of the recommendation item by the click-through rate prediction model.
5 . The recommendation method according to claim 1 , further comprising:
acquiring user feedback behavior data of a historical recommendation item;
determining a recommendation strategy of the final recommendation item, according to the user feedback behavior data.
6 . The recommendation method according to claim 1 , wherein the contextual information comprises: at least one of user inquiry information, system prompt information and user interest information.
7 . The recommendation method according to claim 4 , wherein the click-through rate prediction model is trained by:
determining a current round of training requirement and training contextual information, according to training session information;
determining a plurality of training recommendation items according to the current round of training requirement and the training contextual information; and
acquiring actual click-through rates of the training recommendation items, and training the click-through rate prediction model by taking the training contextual information, features of the training recommendation items and the actual click-through rates of the training recommendation items as training samples.
8 . The recommendation method according to claim 7 , wherein a feature of each training recommendation item of the training recommendation items comprises at least one of a matching degree between the training recommendation item and the current round of training requirement, an edit distance between the training recommendation item and the current round of training requirement, a consistency between the training recommendation item and an intention of the current round of training requirement, and a presentation position of the training recommendation item.
9 . A recommendation apparatus, comprising:
one or more processors; and
a storage device configured to store one or more programs, wherein
the one or more programs, when executed by the one or more processors, cause the one or more processors to:
determine a current round of requirement and contextual information, according to session information;
determine a plurality of recommendation items according to the current round of requirement and the contextual information;
for each recommendation item of the recommendation items, determine a predicted click-through rate of the recommendation item according to the contextual information and a feature of the recommendation item; and
determine at least one final recommendation item from the plurality of recommendation items, according to predicted click-through rates of the recommendation items.
10 . The recommendation apparatus according to claim 9 , wherein the one or more programs, when executed by the one or more processors, cause the one or more processors further to:
perform a preliminary filtering process on the plurality of recommendation items, to acquire a plurality of recommendation items after the preliminary filtering process, wherein
the one or more programs, when executed by the one or more processors, cause the one or more processors further to:
determine historical access data of the recommendation items and relevancies between the recommendation items and the keyword, and filter out a recommendation item whose historical access data and relevancy do not satisfy a preset condition; and/or
filter out a repetitive recommendation item from the plurality of recommendation items.
11 . The recommendation apparatus according to claim 9 , wherein the one or more programs, when executed by the one or more processors, cause the one or more processors further to:
extract a contextual feature from the contextual information; and
input the contextual feature and the feature of the recommendation item into a pre-trained click-through rate prediction model, and output the predicted click-through rate of the recommendation item by the click-through rate prediction model.
12 . The recommendation apparatus according to claim 9 , wherein the one or more programs, when executed by the one or more processors, cause the one or more processors further to:
acquire user feedback behavior data of a historical recommendation item; and
determine a recommendation strategy of the final recommendation item, according to the user feedback behavior data.
13 . The recommendation apparatus according to claim 11 , wherein the click-through rate prediction model is trained by:
determining a current round of training requirement and training contextual information, according to training session information;
determining a plurality of training recommendation items according to the current round of training requirement and the training contextual information; and
acquiring actual click-through rates of the training recommendation items, and training the click-through rate prediction model by taking the training contextual information, features of the training recommendation items and the actual click-through rates of the training recommendation items as training samples.
14 . A non-transitory computer readable storage medium comprising computer executable instructions stored thereon, wherein the executable instructions, when executed by a computer, causes the computer to:
determine a current round of requirement and contextual information, according to session information;
determine a plurality of recommendation items according to the current round of requirement and the contextual information;
for each recommendation item of the recommendation items, determine a predicted click-through rate of the recommendation item according to the contextual information and a feature of the recommendation item; and
determine at least one final recommendation item from the plurality of recommendation items, according to predicted click-through rates of the recommendation items.
15 . The non-transitory computer-readable storage medium according to claim 14 , wherein the executable instructions, when executed by the computer, causes the computer further to:
extract a user intention and a keyword from the current round of requirement and the contextual information; and
retrieve the plurality of recommendation items from search data, according to the user intention and the keyword.
16 . The non-transitory computer-readable storage medium according to claim 15 , wherein the executable instructions, when executed by the computer, causes the computer further to:
perform a preliminary filtering process on the plurality of recommendation items, to acquire a plurality of recommendation items after the preliminary filtering process, wherein
the executable instructions, when executed by the computer, causes the computer further to:
determine historical access data of the recommendation items and relevancies between the recommendation items and the keyword, and filter out a recommendation item whose historical access data and relevancy do not satisfy a preset condition; and/or
filter out a repetitive recommendation item from the plurality of recommendation items.
17 . The non-transitory computer-readable storage medium according to claim 14 , wherein the executable instructions, when executed by the computer, causes the computer further to:
extract a contextual feature from the contextual information; and
input the contextual feature and the feature of the recommendation item into a pre-trained click-through rate prediction model, and output the predicted click-through rate of the recommendation item by the click-through rate prediction model.
18 . The non-transitory computer-readable storage medium according to claim 14 , wherein the executable instructions, when executed by the computer, causes the computer further to:
acquire user feedback behavior data of a historical recommendation item;
determine a recommendation strategy of the final recommendation item, according to the user feedback behavior data.
19 . The non-transitory computer-readable storage medium according to claim 14 , wherein the contextual information comprises: at least one of user inquiry information, system prompt information and user interest information.
20 . The non-transitory computer-readable storage medium according to claim 17 , wherein the click-through rate prediction model is trained by:
determining a current round of training requirement and training contextual information, according to training session information;
determining a plurality of training recommendation items according to the current round of training requirement and the training contextual information; and
acquiring actual click-through rates of the training recommendation items, and training the click-through rate prediction model by taking the training contextual information, features of the training recommendation items and the actual click-through rates of the training recommendation items as training samples.