EP3554040A1

Method and apparatus for recommending entity

Abstract

Embodiments of the present disclosure disclose a method and apparatus for recommending entity. A method for recommending entity includes: acquiring a candidate entity set associated with a to-be-searched entity, in response to receiving a user's search request for an entity; inputting the candidate entity set into a pre-trained ranking model to obtain a candidate entity sequence; and selecting a candidate entity from the candidate entity sequence and recommending the selected candidate entity to the user. The ranking model ranks the candidate entity set based on at least one of: a degree of correlation between each candidate entity in the candidate entity set and the to-be-searched entity; a degree of interest of the user in the each candidate entity in the candidate entity set; and a degree of expectation of the user for the each candidate entity in the candidate entity set. This embodiment achieves a more relevant, individualized, surprising, and diversified entity recommendation for the user and/or the to-be-searched entity.

EP3554040A1, drawing sheet 1
Sheet 1 of 42

Term

Projected expiry 11 July 2038.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

15 claims: 5 independent, 10 dependent

  1. 1
    A method for recommending entity, characterized in that the method comprises:acquiring a candidate entity set associated with a to-be-searched entity, in response to receiving a user's search request for the entity;inputting the candidate entity set into a pre-trained ranking model to obtain a candidate entity sequence;and selecting a candidate entity from the candidate entity sequence and recommending the selected candidate entity to the user, wherein, the ranking model ranks the candidate entity set based on at least one of: a degree of correlation between each candidate entity in the candidate entity set and the to-be-searched entity;a degree of interest of the user in the each candidate entity in the candidate entity set;and a degree of expectation of the user for the each candidate entity in the candidate entity set.
  2. 5
    The method according to one of the preceding claims, characterized in that the ranking model is obtained by training through following steps:generating a training sample set, each training sample in the training sample set comprising a triplet and a click behavior tag, the triplet comprising a user identification, a first entity, and a second entity, and the click behavior tag being used to indicate whether the user clicked on the second entity in a search result obtained by searching the first entity;generating a feature vector of a training sample, for each training sample in the generated training sample set;inputting the training sample set and the generated feature vector into a pre-established gradient boosting decision tree model, and training the gradient boosting decision tree model based on a stochastic gradient descent algorithm;and generating the ranking model, in response to a minimum cross-entropy loss function, wherein, the feature vector comprises a feature value for indicating at least one of: a degree of correlation between the first entity and the second entity in the triplet;a degree of interest of the user of the triplet in the second entity in the triplet;and a degree of expectation of the user of the triplet for the second entity in the triplet.
  3. 9
    An apparatus for recommending entity, characterized in that the apparatus comprises:an acquisition unit, configured to acquire a candidate entity set associated with a to-be-searched entity, in response to receiving a user's search request for an entity;a rank unit, configured to input the candidate entity set into a pre-trained ranking model to obtain a candidate entity sequence;and a recommendation unit, configured to select a candidate entity from the candidate entity sequence and recommend the selected candidate entity to the user, wherein, the ranking model ranks the candidate entity set based on at least one of: a degree of correlation between each candidate entity in the candidate entity set and the to-be-searched entity;a degree of interest of the user in the each candidate entity in the candidate entity set;and a degree of expectation of the user for the each candidate entity in the candidate entity set.
  4. 14
    A device, characterized in that the device comprises:one or more processors;and a storage apparatus, to store one or more programs, and when the one or more programs being executed by the one or more processors, cause the one or more processors to execute a method described by any one of claims 1 to 8.
  5. 15
    A computer readable storage medium, characterized in that the storage medium stores a computer program thereon, the computer program, when executed by a processor, executes a method described by any one of claims 1 to 8.