Abstract generation method and device
By combining user preference information and neural network models to generate representative summaries, the existing problem of a single thumbnail selection method is solved, and the user click-through rate and the delivery effect of information flow products are improved.
Patent Information
- Application Number
- CN201910804482.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-28
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-08-28
AI Technical Summary
The existing thumbnail selection method is single and unrepresentative, and cannot improve the delivery effect of information flow products.
By obtaining the user's historical operation information and attribute information, the neural network model is used to generate a representative summary, and the thumbnail image most likely to be clicked by the user is selected as the summary.
It increases the probability of users clicking on the summary, improves the delivery effect of content objects, and enhances the attractiveness of information flow products.
Smart Images

Figure CN112445921B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to information flow technology, and in particular to a summary generation method and device. Background Art
[0002] In recent years, information flow, as a new form of content product, has become the main way for people to obtain information. The form of information flow product is to organize the content into a list page. There are usually three ways to present the list page: no picture, single picture and multiple pictures. Among them, the no picture method only displays the title of the content, the single picture method displays the title of the content plus a thumbnail from the content, and the multiple picture method displays the title of the content plus multiple thumbnails from the content. Compared with only displaying the title, the information presented by the thumbnail is richer and more intuitive, and has a greater impact on user behavior. In addition, in the gallery application of the terminal device, when the user makes a video or creates an album, one or more pictures can also be selected to make thumbnails as the cover to intuitively show the content of the video or album to the user.
[0003] At present, the thumbnail selection method is to randomly select pictures from the pictures contained in the content or select specific pictures as thumbnails. However, the thumbnails obtained by this selection method are single and unrepresentative, and cannot help improve the effect of information delivery. Summary of the invention
[0004] The present application provides a summary generation method and device to increase the probability of users clicking on the summary and improve the delivery effect of the content object.
[0005] In a first aspect, the present application provides a method for generating a summary, comprising:
[0006] Obtain a content object, the content object including text information and N pictures, N being a natural number; obtain N thumbnails based on the N pictures; generate M candidate summaries based on the text information and the N thumbnails, each candidate summary including the text information and at least one thumbnail, M being a natural number; obtain user preference information, the preference information being obtained based on the user's historical operation information and / or the user's attribute information; select one from the M candidate summaries as a summary of the content object based on the preference information; display the summary or send the summary to a terminal device.
[0007] This application selects thumbnails from content objects for summary generation based on user preference information. The summary takes into account the user's historical operation information and / or preference information obtained from the user's attribute information, and is therefore very representative. It can increase the probability of users clicking on the summary and improve the delivery effect of the content object.
[0008] In a possible implementation, the historical operation information includes at least one of the following information: the title, category and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object; the attribute information includes at least one of the following information: the user's gender, age, location and tags selected by the user; the preference information includes at least one of the following information: the category of the content object preferred by the user, the theme of the content object preferred by the user and the ownership of the content object preferred by the user.
[0009] In a possible implementation manner, the text information is the title of the content object.
[0010] In a possible implementation, selecting one from the M candidate summaries as the summary of the content object according to the preference information includes: obtaining scores of the M candidate summaries, the scores being used to indicate the likelihood that the corresponding candidate summaries will be clicked, wherein a higher score indicates a greater likelihood that the corresponding candidate summaries will be clicked; and selecting a candidate summary with the highest score from the M candidate summaries as the summary.
[0011] In a possible implementation, obtaining the scores of the M candidate summaries includes: extracting features of text information and thumbnails contained in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of the multimodal features including text features of the text information of the corresponding candidate summary and image features of the thumbnail; scoring the M multimodal features respectively through a pre-trained scoring model, and obtaining the scores of the M multimodal features as the scores of the corresponding M candidate summaries.
[0012] In a possible implementation, before obtaining the user's preference information, the step further includes: training the scoring model based on historical user preference information.
[0013] In a possible implementation manner, obtaining the scores of the M candidate summaries includes: obtaining the scores of the M candidate summaries by adopting an exploration and discovery strategy based on the preference information.
[0014] In a second aspect, the present application provides a summary generation device, comprising:
[0015] An acquisition module is used to acquire a content object, wherein the content object includes text information and N pictures, where N is a natural number; a processing module is used to acquire N thumbnails based on the N pictures; M candidate summaries are generated based on the text information and the N thumbnails, each of the candidate summaries includes the text information and at least one thumbnail, where M is a natural number; the acquisition module is also used to acquire user preference information, wherein the preference information is acquired based on the user's historical operation information and / or the user's attribute information; the processing module is also used to select one from the M candidate summaries as a summary of the content object based on the preference information; a sending module is used to display the summary or send the summary to a terminal device.
[0016] In a possible implementation, the historical operation information includes at least one of the following information: the title, category and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object; the attribute information includes at least one of the following information: the user's gender, age, location and tags selected by the user; the preference information includes at least one of the following information: the category of the content object preferred by the user, the theme of the content object preferred by the user and the ownership of the content object preferred by the user.
[0017] In a possible implementation manner, the text information is the title of the content object.
[0018] In a possible implementation, the processing module is specifically configured to obtain scores of the M candidate summaries, where the scores are used to indicate the likelihood that the corresponding candidate summaries will be clicked, and a higher score indicates a greater likelihood that the corresponding candidate summaries will be clicked; and select a candidate summaries with the highest score from the M candidate summaries as the summaries.
[0019] In a possible implementation, the processing module is specifically used to perform feature extraction on the text information and thumbnail included in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of the multimodal features including text features of the text information of the corresponding candidate summary and image features of the thumbnail; and score the M multimodal features respectively through a pre-trained scoring model to obtain the scores of the M multimodal features as the scores of the corresponding M candidate summaries.
[0020] In a possible implementation, the processing module is further used to train the scoring model based on historical user preference information.
[0021] In a possible implementation manner, the processing module is specifically configured to obtain the scores of the M candidate summaries by adopting an exploration and discovery strategy based on the preference information.
[0022] In a third aspect, the present application provides a summary generation device, comprising:
[0023] one or more processors;
[0024] A memory for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the first aspects above.
[0026] In a fourth aspect, the present application provides a computer-readable storage medium, comprising a computer program, wherein when the computer program is executed on a computer, the computer executes any one of the methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A block diagram showing an application scenario of the abstract generation method of the present application is exemplified;
[0028] Figure 2 This is a flowchart of Embodiment 1 of the method for generating an abstract of this application;
[0029] Figure 3 A schematic diagram of a summary presentation method of a list page is given as an example;
[0030] Figure 4 A schematic diagram of another summary presentation method of a list page is given as an example;
[0031] Figure 5 A schematic diagram of the summary presentation method of the third list page is given as an example;
[0032] Figure 6 This is a schematic diagram of the process of the image-text separation method of this application;
[0033] Figure 7 This is a flow chart of Embodiment 1 of the method for generating an abstract of this application;
[0034] Figure 8 This is a flow chart of Embodiment 2 of the method for generating an abstract of this application;
[0035] Fig. 9 This is a schematic diagram of the structure of an embodiment of the abstract generation device of the present application;
[0036] Fig.10 A schematic structural diagram of a server 1000 provided in this application;
[0037] Fig.11 This is a schematic structural diagram of the terminal device 1100 provided in this application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The terms "first", "second", etc. in the specification embodiments, claims, and drawings of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product, or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0040] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0041] The following is a description of some key terms involved in this application:
[0042] Information flow: is a specific way of organizing content, specifically referring to the content flow presented in the form of a scrolling list.
[0043] Information flow products: products that use information flow as the main content presentation form. Representative products include news applications (Application, APP), video APP, picture APP, etc.
[0044] List page: The main page for information flow products to present content, that is, all information is arranged together in the form of a scrolling list and presented to the user.
[0045] Article display style in list page: refers to the combination of article title and thumbnail in list page, usually with no picture, single picture or three pictures. Figure 3 In the latter two styles, the combination of the article title and different thumbnails determines the specific display style of the article.
[0046] Multimodal features: Simple text features, voice features, and image features are called unimodal features. The combination of two or even three of the above unimodal features constitutes multimodal features.
[0047] Explore and Exploit: E&E for short, is one of the strategies of the recommendation system, which aims to maximize the global benefits by taking certain strategies based on the existing (but incomplete) information. The more famous solutions include the epsilon-Greedy algorithm, Thompson sampling algorithm, UCB (Upper confidence bound) algorithm and LinUCB algorithm.
[0048] Figure 1 The following is a block diagram showing an application scenario of the abstract generation method of the present application. Figure 1 As shown, the scenario includes a server and a terminal device, wherein the server can be a server of a supplier of information flow products, such as video APP, news APP, picture APP, etc. In order to provide content services to users, the suppliers of these APPs can deploy servers, which can be used as a cloud platform. On the one hand, it can ensure the normal operation of the APP, and on the other hand, it can collect a large amount of personal data of users and push personalized content object summaries to users based on big data (such as the content to be presented on the client's list page). The terminal device is used as a client for users. Users install the aforementioned APP on the terminal device, and can experience the acquisition and viewing of videos, news, pictures and other content on the terminal device.
[0049] Figure 2 Flow chart of an embodiment of the method for generating an abstract of the present application, such as Figure 2 As shown, the method of this embodiment can be performed by Figure 1 The server in the Figure 1 The terminal device in the embodiment is executed. Exemplarily, the summary generation method of the present application is described below with the server as the execution subject. The summary generation method may include:
[0050] Step 201: Get the content object.
[0051] The content object includes text information and N pictures, where N is a natural number. The server collects a large number of content objects, which may be, for example, edited news, which includes text information such as title, summary, news content, and some pictures that reflect the theme of the news; or, the content object may be, for example, a movie, TV series, short video or other video, which includes text information such as title, category, content introduction, and image frames in the video. The content objects involved in this application have a common feature, that is, in addition to the text information, the content object also includes at least one picture. For example, there are one or more on-site photos in the news, and the video itself is an image frame sequence composed of multiple frames.
[0052] Step 202: Obtain N thumbnails based on the N pictures.
[0053] The server compresses each image in the content object to obtain a thumbnail. The acquisition of thumbnails in this application can be implemented using existing related technologies, and no specific limitation is made to this.
[0054] Step 203: Generate M candidate summaries according to the text information and the N thumbnails.
[0055] Each candidate summary includes text information and at least one thumbnail, where M is a natural number. In this application, the server extracts text information (such as a title) from the content object and generates multiple candidate summaries in combination with the above thumbnails. The specific form of the candidate summary is related to the summary presentation method of the list page in the terminal device. For example, the summary presentation method of the list page can include the following three methods:
[0056] (1) No picture style
[0057] The list page only has titles, but no thumbnails. Figure 3 shown.
[0058] (2) Single image style
[0059] In addition to the title, the list page also has a thumbnail, which is selected from the N thumbnails above. Figure 4 shown.
[0060] (3) Three-image style
[0061] In addition to the title, the list page also has three thumbnails, which are selected from the above N thumbnails. Figure 5 shown.
[0062] Since this application only considers the case where there are pictures in the abstract, the style without pictures is excluded. Based on the abstract presentation method of the list page in (2) and (3) above, the candidate abstracts can also be divided into two categories: one is that each candidate abstract includes a title and a thumbnail, and the thumbnail is selected from N thumbnails at random, and a total of N candidate abstracts can be obtained; the other is that each candidate abstract includes a title and three thumbnails, and the three thumbnails are selected from N thumbnails at random, and a total of N candidate abstracts can be obtained. candidate summaries. Figure 6 As shown, the server separates text and images from the content object to obtain text information and a picture set. The text information may be the title of the content object, and the picture set includes N thumbnails obtained from N pictures in the content object. M candidate summaries are generated based on the text information and the N thumbnails.
[0063] It should be noted that the above examples provide three ways of presenting summaries of list pages, and corresponding examples provide the content included in the candidate summaries to be obtained. However, the summary of the list page can also be presented in other ways, as long as the prompt of the content object can be presented to the user. There is no specific limitation on this. Accordingly, this application does not make any specific limitation on the content included in the candidate summaries.
[0064] Step 204: Obtain user preference information.
[0065] The preference information is obtained based on the user's historical operation information and / or the user's attribute information, wherein the historical operation information includes at least one of the following information: the title, category and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each historical content object; the attribute information includes at least one of the following information: the user's gender, age, location and tags selected by the user; the preference information includes at least one of the following information: the category of the user's preferred content object, the theme of the user's preferred content object and the attribution of the user's preferred content object.
[0066] Different users have their own interests and hobbies, and they have different preferences for the news, videos, and pictures they like to watch. The terminal device obtains the user's historical operation information, such as the title, category, and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object, and reports it to the server, which analyzes the category, theme, and author of the content objects that the user likes to watch. Usually, when registering an account, users fill in attribute information such as gender, age, location (such as native place, home address, workplace, etc.) and tags that indicate their preferences (such as fashion, movies, travel, music, etc.). The server can combine these attribute information based on big data statistics, analyze and summarize multiple categories of users, and then obtain the preferences of similar users.
[0067] Step 205: Select one from the M candidate summaries as the summary of the content object according to the preference information.
[0068] The server may obtain scores of the M candidate summaries, where the scores are used to indicate the likelihood that the corresponding candidate summaries are clicked. A higher score indicates a greater likelihood that the corresponding candidate summaries are clicked. The server then selects a candidate summaries with the highest score from the M candidate summaries as the summary.
[0069] The scoring method in this application can be that the server extracts features from the text information and thumbnails contained in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of which includes the text features of the text information of the corresponding candidate summary and the image features of the thumbnail. Then, the pre-trained scoring model is used to score the M multimodal features respectively, and the scores of the M multimodal features are obtained as the scores of the corresponding M candidate summaries. Figure 7 As shown, the scoring model is divided into two parts: online and offline. The offline part is the training process of the scoring model, and the online part is the application process of the scoring model.
[0070] The training process of the scoring model includes: first, converting the business indicator of the content object into the training criteria of the scoring model. For example, the business indicator of the content object is the click-through rate, so the target problem is converted into a binary classification problem (for example, the user clicks or the user does not click), and the training criterion can be set to the cross-entropy criterion. Then, the user's historical operation information is combined with the above training criteria to convert it into positive and negative training samples. For example, among the content objects that have been displayed to the user, the content objects clicked by the user represent positive samples, and the content objects that the user did not click represent negative samples. Finally, the final scoring model is obtained through training through the positive and negative sample sets. The server can use the following abstract features:
[0071] (1) Have a quantifiable business indicator;
[0072] (2) Convert business indicators into training criteria for machine learning;
[0073] (3) The sample selection method is determined by the business indicators, and positive and negative samples are selected from the user's historical operation information;
[0074] (4) Extract features from training samples;
[0075] (5) Select a specific algorithm as the training algorithm and train the machine learning model based on the training samples.
[0076] The application process of the scoring model includes:
[0077] The server extracts the text information and thumbnails contained in each of the M candidate summaries through a neural network model to obtain M multimodal features, and uses the scoring model trained in the offline part to score the M multimodal features in combination with the user's attribute information, such as the user's gender, age, location, and tags selected by the user, and obtains the scores of the M multimodal features as the scores of the corresponding M candidate summaries. The obtained M scores are passed through the summary selector, and the candidate summary with the highest score is used as the summary. Since the scoring model is trained based on business indicators, the score of the scoring model also reflects the impact of the content object on the business indicators.
[0078] The scoring method in the present application can also be to obtain the scores of M candidate summaries based on the preference information using an exploration and discovery strategy. The server counts the probability of each candidate summary being clicked by the user, and the number of times each candidate summary is actually clicked by the user divided by the number of times the candidate summary is displayed indicates the popularity of the candidate summary among users. In the actual calculation process, candidate summaries that have never been displayed to users, or candidate summaries that have been displayed a relatively small number of times, will be smoothed in a certain way, usually by adding very small numbers to the numerator and denominator. The common feature of the E&E algorithm is that, based on the existing statistical information of the candidates, a certain candidate selection strategy is adopted so that within a limited number of selections, the business indicator obtained by the selection is maximized, such as the number of user clicks.
[0079] The server obtains the scores of the M candidate summaries through the above-mentioned scoring process, and selects the one with the highest score as the summary of the content object.
[0080] Step 206: Send the summary to the terminal device.
[0081] The server sends the determined summary with the highest score to the terminal device, and the summary will be displayed on the list page of the terminal device. Since the summary is obtained by considering the user's historical operation information and / or the preference information obtained by the user's attribute information, it is likely that the summary is satisfactory and representative, so the probability that the user will click on the summary will be greatly increased, thereby improving the delivery effect of the content object.
[0082] When the terminal device executes the summary generation method, the difference from the above step 206 is that the terminal device does not need to send the summary, and can directly display the summary after determining the summary.
[0083] This application selects thumbnails from content objects for summary generation based on user preference information. The summary takes into account the user's historical operation information and / or preference information obtained from the user's attribute information, and is therefore very representative. It can increase the probability of users clicking on the summary and improve the delivery effect of the content object.
[0084] In one possible implementation, Figure 8 This is a flow chart of the second embodiment of the method for generating an abstract of this application. Figure 8 As shown, the method of this embodiment can be executed by a terminal device, and the thumbnail is selected mainly to be used as the cover of a video or picture collection customized by the terminal user.
[0085] The same as the above embodiment is that the above steps 201-205 need to be used to generate M multimodal features in this embodiment. The difference is that before generating the multimodal features, the terminal device first classifies the image frames in the video, or classifies the pictures in the picture collection. The classification method can adopt various clustering algorithms in machine learning, such as kmeans algorithm, hierarchical clustering algorithm, density-based clustering algorithm, etc. After classification, the terminal device can select a representative picture from each classification item to generate the multimodal feature. The selected picture can be randomly selected, or it can be the picture with the most common features in the classification item, or it can be selected according to the user's preference information. In this embodiment, the text information used to generate the multimodal feature refers to the name of the video or picture collection, and the thumbnail is the thumbnail of the aforementioned selected picture.
[0086] In this embodiment, the user's preference information may include but is not limited to the user's attention to the type of picture, such as the type of picture (landscape or person) that the user often takes or views, and the user's attention to a specific group of people, such as the user often takes or views photos of babies. The terminal device trains a scoring model based on the user's preference information. Combined with the user's attribute information, the scoring model scores the M multimodal features, and obtains the scores of the M multimodal features as the scores of the corresponding M pictures. Finally, when generating the cover, the terminal device selects a corresponding number of pictures from the score ranking from high to low according to the number of pictures required for the cover, and generates the final cover.
[0087] Fig. 9 This is a schematic diagram of the structure of an embodiment of the abstract generation device of this application, such as Fig. 9 As shown, the device of this embodiment can be applied to Figure 1The server in the summary generation device may include: an acquisition module 901, a processing module 902 and a sending module 903, wherein the acquisition module 901 is used to acquire a content object, the content object includes text information and N pictures, N is a natural number; the processing module 902 is used to acquire N thumbnails according to the N pictures; M candidate summaries are generated according to the text information and the N thumbnails, each of the candidate summaries includes the text information and at least one thumbnail, M is a natural number; the acquisition module 901 is also used to acquire user preference information, the preference information is acquired based on the user's historical operation information and / or the user's attribute information; the processing module 902 is also used to select one from the M candidate summaries as the summary of the content object according to the preference information; the sending module 903 is used to display the summary or send the summary to a terminal device.
[0088] In a possible implementation, the historical operation information includes at least one of the following information: the title, category and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object; the attribute information includes at least one of the following information: the user's gender, age, location and tags selected by the user; the preference information includes at least one of the following information: the category of the content object preferred by the user, the theme of the content object preferred by the user and the ownership of the content object preferred by the user.
[0089] In a possible implementation manner, the text information is the title of the content object.
[0090] In a possible implementation, the processing module 902 is specifically configured to obtain scores of the M candidate summaries, where the scores are used to indicate the likelihood that the corresponding candidate summaries will be clicked, and a higher score indicates a greater likelihood that the corresponding candidate summaries will be clicked; and select a candidate summaries with the highest score from the M candidate summaries as the summaries.
[0091] In one possible implementation, the processing module 902 is specifically used to perform feature extraction on the text information and thumbnail included in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of the multimodal features including text features of the text information of the corresponding candidate summary and image features of the thumbnail; and score the M multimodal features respectively through a pre-trained scoring model to obtain the scores of the M multimodal features as the scores of the corresponding M candidate summaries.
[0092] In a possible implementation, the processing module 902 is further configured to obtain the scoring model through training based on historical user preference information.
[0093] In a possible implementation, the processing module 902 is specifically configured to obtain the scores of the M candidate summaries by adopting an exploration and discovery strategy based on the preference information.
[0094] The device of this embodiment can be used to perform Figure 2 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0095] Fig.10 Schematic diagram of the structure of the server 1000 provided in this application. Fig.10 As shown, the server 1000 includes a processor 1001 and a transceiver 1002 .
[0096] Optionally, the server 1000 further includes a memory 1003. The processor 1001, the transceiver 1002 and the memory 1003 may communicate with each other through an internal connection path to transmit control signals and / or data signals.
[0097] The memory 1003 is used to store computer programs. The processor 1001 is used to execute the computer programs stored in the memory 1003, so as to realize the functions of the summary generation device in the above device embodiment.
[0098] Optionally, the memory 1003 may also be integrated into the processor 1001 , or independent of the processor 1001 .
[0099] Optionally, the server 1000 may further include an antenna 1004 for transmitting the signal output by the transceiver 1002. Alternatively, the transceiver 1002 receives the signal through the antenna.
[0100] Optionally, the server 1000 may further include a power supply 1005 for providing power to various devices or circuits in the server.
[0101] In addition, in order to make the functions of the server more complete, the server 1000 may further include an input unit 1006 and a display unit 1007 (which may also be considered as an output unit).
[0102] Fig.11 1 is a schematic structural diagram of a terminal device 1100 provided in this application. Fig.11 As shown, the terminal device 1100 includes a processor 1101 and a transceiver 1102 .
[0103] Optionally, the terminal device 1100 further includes a memory 1103. The processor 1101, the transceiver 1102 and the memory 1103 may communicate with each other through an internal connection path to transfer control signals and / or data signals.
[0104] The memory 1103 is used to store computer programs. The processor 1101 is used to execute the computer programs stored in the memory 1103, so as to realize the functions of the summary generation device in the above device embodiment.
[0105] Optionally, the memory 1103 may also be integrated into the processor 1101 , or independent of the processor 1101 .
[0106] Optionally, the terminal device 1100 may further include an antenna 1104, which is used to transmit the signal output by the transceiver 1102. Alternatively, the transceiver 1102 receives the signal through the antenna.
[0107] Optionally, the terminal device 1100 may further include a power supply 1105 for providing power to various devices or circuits in the terminal device.
[0108] In addition, in order to make the functions of the terminal device more complete, the terminal device 1100 may also include one or more of an input unit 1106, a display unit 1107 (which may also be considered as an output unit), an audio circuit 1108, a camera 1109, and a sensor 1110. The audio circuit may also include a speaker 11081, a microphone 11082, etc., which will not be described in detail.
[0109] In addition, in order to make the functions of the terminal device more complete, the terminal device 1100 may further include an input unit 1106 and a display unit 1107 (which may also be considered as an output unit).
[0110] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, the computer executes the steps and / or processing in any of the above method embodiments.
[0111] In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application-specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware coding processor to be executed, or the hardware and software modules in the coding processor are combined to be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0112] The memory mentioned in the above embodiments may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0113] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0114] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0115] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0118] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0119] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for generating a summary, characterized in that: include: Obtain a content object, wherein the content object includes text information and N pictures, where N is a natural number; Obtain N thumbnails based on the N pictures; Generate M candidate summaries according to the text information and the N thumbnails, each of the candidate summaries includes the text information and at least one thumbnail, and M is a natural number; Acquire user preference information, where the preference information is acquired based on the user's historical operation information and / or the user's attribute information; selecting one from the M candidate summaries as a summary of the content object according to the preference information; The summary is displayed or sent to a terminal device.
2. The method according to claim 1, characterized in that The historical operation information includes at least one of the following information: the title, category and author of the historical content object clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object; The attribute information includes at least one of the following information: the gender, age, location of the user, and a tag selected by the user; The preference information includes at least one of the following information: the category of the content object preferred by the user, the theme of the content object preferred by the user, and the attribution of the content object preferred by the user.
3. The method according to claim 1 or 2, characterized in that: The text information is the title of the content object.
4. The method according to any one of claims 1 to 3, characterized in that The selecting one from the M candidate summaries as the summary of the content object according to the preference information includes: Obtaining scores of the M candidate summaries, where the scores are used to indicate the likelihood that the corresponding candidate summaries will be clicked, and a higher score indicates a greater likelihood that the corresponding candidate summaries will be clicked; A candidate summary with the highest score is selected from the M candidate summaries as the summary.
5. The method according to claim 4, characterized in that The obtaining the scores of the M candidate summaries includes: Extracting features of text information and thumbnails included in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of the multimodal features including text features of the text information of the corresponding candidate summary and image features of the thumbnail; The M multimodal features are scored respectively by a pre-trained scoring model, and the scores of the M multimodal features are obtained as the scores of the corresponding M candidate summaries.
6. The method according to claim 5, characterized in that Before obtaining the user's preference information, the method further includes: The scoring model is trained based on historical user preference information.
7. The method according to claim 4, characterized in that The obtaining the scores of the M candidate summaries includes: An exploration and discovery strategy is adopted based on the preference information to obtain scores of the M candidate summaries.
8. A summary generation device, characterized in that: include: An acquisition module, used to acquire a content object, wherein the content object includes text information and N pictures, where N is a natural number; A processing module, used for obtaining N thumbnails according to the N pictures; Generate M candidate summaries according to the text information and the N thumbnails, each of the candidate summaries includes the text information and at least one thumbnail, and M is a natural number; The acquisition module is further used to acquire user preference information, where the preference information is acquired based on the user's historical operation information and / or the user's attribute information; The processing module is further configured to select one of the M candidate summaries as a summary of the content object according to the preference information; The sending module is used to display the summary or send the summary to a terminal device.
9. The device according to claim 8, characterized in that The historical operation information includes at least one of the following information: the title, category and author of the historical content objects clicked by the user, the number of clicks and click time of each historical content object, and the viewing time of each content object; the attribute information includes at least one of the following information: the user's gender, age, location and the tag selected by the user; the preference information includes at least one of the following information: the category of the content object preferred by the user, the theme of the content object preferred by the user and the ownership of the content object preferred by the user.
10. The device according to claim 8 or 9, characterized in that The text information is the title of the content object.
11. The device according to any one of claims 8 to 10, characterized in that The processing module is specifically configured to obtain scores of the M candidate summaries, where the scores are used to indicate the possibility that the corresponding candidate summaries are clicked, and a higher score indicates a greater possibility that the corresponding candidate summaries are clicked; and select a candidate summaries with the highest score from the M candidate summaries as the summaries.
12. The device according to claim 11, characterized in that The processing module is specifically used to extract features from the text information and thumbnails contained in each of the M candidate summaries through a neural network model to obtain M multimodal features, each of the multimodal features including text features of the text information of the corresponding candidate summary and image features of the thumbnail; and score the M multimodal features respectively through a pre-trained scoring model to obtain the scores of the M multimodal features as the scores of the corresponding M candidate summaries.
13. The device according to claim 12, characterized in that The processing module is also used to train the scoring model based on historical user preference information.
14. The device according to claim 11, characterized in that The processing module is specifically configured to obtain the scores of the M candidate summaries by adopting an exploration and discovery strategy based on the preference information.
15. A summary generation device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that: The invention comprises a computer program, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.
