Method of recommending content based on characteristic of chat room and characteristic of user in chat room, computer apparatus, and computer program
By generating feature vectors for chat rooms and users within instant messengers, personalized content recommendations are made, enhancing engagement through relevance to the unique characteristics of each chat room and user.
Patent Information
- Application Number
- JP2024064654
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2024-04-12
- Publication Date
- 2024-10-31
AI Technical Summary
Existing instant messenger platforms lack the ability to personalize content recommendations based on the unique characteristics of chat rooms and users within those chat rooms, leading to a lack of relevance and engagement.
A content recommendation method that generates chat room and user feature vectors using machine learning models to analyze conversation content, allowing for personalized recommendations of emojis, stamps, and reaction icons tailored to the chat room and user characteristics.
Enhances user engagement by providing content that aligns with the specific atmosphere and style of each chat room and user, improving the relevance and effectiveness of content suggestions.
Smart Images

Figure 2024155778000001_ABST
Abstract
Description
[Technical field]
[0001] The following description relates to techniques for recommending content within a social platform. [Background technology]
[0002] Instant messenger, a common communication tool, is software for sending and receiving messages and data in real time. Users can register chat partners on the messenger and exchange messages in real time with those registered on the chat list.
[0003] The use of such messenger functions has become commonplace not only on PCs but also in the mobile environment of mobile communication devices.
[0004] For example, Patent Document 1 (Publication date: September 30, 2002) discloses a mobile messenger service system and method for a mobile terminal using a wireless communication network, which enables a messenger service to be provided between mobile messengers installed on the mobile terminal.
[0005] As instant messenger use becomes more widespread, the features offered by instant messengers are becoming increasingly diverse, and services are now available that recommend a variety of content within the messenger, such as emojis, stamps, reaction icons, and reply messages. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Korean Patent Publication No. 10-2002-0074304 Summary of the Invention [Problem to be solved by the invention]
[0007] The features of the chat room and the features of the users within this chat room can be used to recommend content within the messenger.
[0008] It is possible to recommend content personalized to each chat room, taking into account the style of the user exhibited in each chat room. [Means for solving the problem]
[0009] The present invention provides a content recommendation method executed on a computer device, the computer device including at least one processor configured to execute computer-readable instructions contained in a memory, the content recommendation method including a step of generating, by the at least one processor, for each chat room, a chat room feature vector representing the chat room using conversation content contained in the chat room, a step of generating, by the at least one processor, for each user participating in the chat room, a user feature vector representing the user using conversation content of the user in the chat room, and a step of recommending content within the chat room by the at least one processor using the chat room feature vector and the user feature vector.
[0010] According to one aspect, the content recommendation method may further include a step of pre-processing, by the at least one processor, conversation content contained in the chat room into a form that can be input to a machine learning model.
[0011] According to another aspect, the pre-processing step may include adding special tokens or symbols to distinguish sentence units from each other in order to concatenate the conversation messages.
[0012] According to another aspect, the pre-processing step may include adding special tokens or symbols that divide paragraphs based on time intervals or content-based topics between conversation messages in order to link the conversation messages.
[0013] According to another aspect, the pre-processing step may include converting a conversation message in at least one non-text form, such as an emoji, a stamp, a photo, a video, or a voice, into text.
[0014] According to yet another aspect, the pre-processing step may include adding to each conversation message at least one speaker identification information of a speaker name, ID, or phone number indicative of the subject of the conversation.
[0015] According to another aspect, the generating the chat room feature vector and the generating the user feature vector may include obtaining a feature vector from the conversation content using at least one machine learning model of a document embedding model, a sequence model, or a language model.
[0016] According to another aspect, the recommending step may include providing recommended content for a conversation message identified by the user in the chat room based on the chat room feature vector and the user feature vector.
[0017] According to another aspect, the recommending step may include a step of recommending at least one of a reaction icon or a reply message based on the chat room feature vector and the user feature vector for a conversation message selected by the user in the chat room.
[0018] According to another aspect, the recommending step may include a step of recommending at least one of an emoji or a stamp based on the chat room feature vector and the user feature vector for a conversation message entered by the user in the chat room.
[0019] According to another aspect, the providing step may include selecting the recommended content using a feature vector in the chat room of a person associated with the conversation message.
[0020] According to another aspect, the providing step may include providing information on the other person's expected reaction to the recommended content by using a feature vector in the chat room of the other person associated with the conversation message.
[0021] According to yet another aspect, the providing step may include selecting the recommended content using content used in another chat room having a feature vector similar to that of the chat room.
[0022] The content recommendation method further includes a computer program recorded on a non-transitory computer-readable recording medium to cause the computer device to execute the content recommendation method.
[0023] A computer device is provided that includes at least one processor configured to execute computer-readable instructions contained in a memory, wherein the at least one processor processes a process for generating, for each chat room, a chat room feature vector that represents the chat room using conversation content contained in the chat room, a process for generating, for each user participating in the chat room, a user feature vector that represents the user using conversation content of the user in the chat room, and a process for recommending content within the chat room using the chat room feature vector and the user feature vector. [Brief description of the drawings]
[0024] [Figure 1] FIG. 1 illustrates an example of a network environment in accordance with an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a computing device in accordance with an embodiment of the present invention. [Diagram 3] 4 is a flow chart illustrating an example of a method that may be performed by a computing device in accordance with an embodiment of the present invention. [Figure 4] FIG. 2 illustrates an example process for pre-processing conversation content in accordance with an embodiment of the present invention. [Diagram 5] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 6] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 7] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 8] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 9] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 10] FIG. 2 illustrates an example method for generating a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 11] FIG. 2 illustrates an example process for providing recommended content using a chat room feature vector and a user feature vector in accordance with an embodiment of the present invention. [Figure 12] FIG. 4 is a diagram showing an example of recommended content in one embodiment of the present invention. [Figure 13]FIG. 4 is a diagram showing an example of recommended content in one embodiment of the present invention. [Figure 14] FIG. 4 is a diagram showing an example of recommended content in one embodiment of the present invention. [Figure 15] FIG. 4 is a diagram showing an example of recommended content in one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0026] SUMMARY OF THE DISCLOSURE The present invention relates to techniques for recommending content within a social platform.
[0027] Embodiments including those specifically disclosed in this specification can recommend different content for each chat room and user as personalized content for the user, in accordance with the conversation style and atmosphere of the chat room as well as the user's conversation style and atmosphere in the chat room.
[0028] The content recommendation system according to the embodiment of the present invention may be realized by at least one computer device, and the content recommendation method according to the embodiment of the present invention may be executed by at least one computer device included in the content recommendation system. In this case, a computer program according to an embodiment of the present invention may be installed and executed in the computer device, and the computer device may execute the content recommendation method according to the embodiment of the present invention according to the control of the executed computer program. The above-mentioned computer program may be recorded in a computer-readable recording medium in combination with the computer device to cause the computer to execute the content recommendation method.
[0029] Fig. 1 is a diagram showing an example of a network environment in one embodiment of the present invention. The network environment in Fig. 1 shows an example including a plurality of electronic devices 110, 120, 130, 140, a plurality of servers 150, 160, and a network 170. Such Fig. 1 is merely an example for explaining the invention, and the number of electronic devices and the number of servers are not limited to those shown in Fig. 1. Furthermore, the network environment in Fig. 1 is merely an example of an environment applicable to this embodiment, and the environment applicable to this embodiment is not limited to the network environment in Fig. 1.
[0030] The electronic devices 110, 120, 130, and 140 may be fixed terminals or mobile terminals realized by computer devices. Examples of the electronic devices 110, 120, 130, and 140 include a smartphone, a mobile phone, a navigation system, a personal computer (PC), a notebook PC, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), and a tablet. As an example, a smartphone is shown as an example of the electronic device 110 in FIG. 1, but in the embodiment of the present invention, the electronic device 110 may mean one of various physical computer devices that can communicate with other electronic devices 120, 130, and 140 and / or servers 150 and 160 via a network 170 using a substantially wireless or wired communication method.
[0031] The communication method is not limited, and may include not only a communication method using a communication network (for example, a mobile communication network, a wired Internet, a wireless Internet, a broadcasting network) that the network 170 can include, but also short-range wireless communication between devices. For example, the network 170 may include any one or more of a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, and the like. Furthermore, the network 170 may include any one or more of a network topology including, but not limited to, a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or hierarchical network, and the like.
[0032] Each of the servers 150, 160 may be realized by one or more computing devices that communicate with the multiple electronic devices 110, 120, 130, 140 via the network 170 to provide instructions, code, files, content, services, etc. For example, the server 150 may be a system that provides a service (such as a messenger service, for example) to the multiple electronic devices 110, 120, 130, 140 connected via the network 170.
[0033] 2 is a block diagram showing an example of a computer device according to an embodiment of the present invention. Each of the electronic devices 110, 120, 130, and 140 and the servers 150 and 160 described above may be realized by a computer device 200 shown in FIG.
[0034] Such a computer device 200 may include a memory 210, a processor 220, a communication interface 230, and an input / output interface 240, as shown in FIG. 2. The memory 210 is a computer-readable recording medium and may include a random access memory (RAM), a read only memory (ROM), and a permanent mass storage device such as a disk drive. Here, a permanent mass storage device such as a ROM or a disk drive may be included in the computer device 200 as a separate permanent storage device distinct from the memory 210. The memory 210 may also store an operating system and at least one program code. Such software components may be loaded into the memory 210 from a computer-readable recording medium separate from the memory 210. Such separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, a memory card, etc. In another embodiment, the software components may be loaded into the memory 210 through a communication interface 230 that is not a computer-readable recording medium. For example, the software components may be loaded into the memory 210 of the computing device 200 based on a computer program installed by a file received over the network 170 .
[0035] The processor 220 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input / output operations. The instructions may be provided to the processor 220 by the memory 210 or the communication interface 230. For example, the processor 220 may be configured to execute instructions received according to program code stored in a storage device such as the memory 210.
[0036] The communication interface 230 may provide a function for the computer device 200 to communicate with other devices (for example, the above-mentioned recording device) via the network 170. For example, requests, instructions, data, files, etc. generated by the processor 220 of the computer device 200 according to program codes recorded in a recording device such as the memory 210 may be transmitted to other devices via the network 170 under the control of the communication interface 230. Conversely, signals, instructions, data, files, etc. from other devices may be received by the computer device 200 via the communication interface 230 of the computer device 200 via the network 170. The signals, instructions, data, etc. received via the communication interface 230 may be transmitted to the processor 220 or the memory 210, and the files, etc. may be recorded on a recording medium (the above-mentioned permanent recording device) that the computer device 200 may further include.
[0037] The input / output interface 240 may be a means for interfacing with the input / output device 250. For example, the input device may include a device such as a microphone, a keyboard, or a mouse, and the output device may include a device such as a display and a speaker. As another example, the input / output interface 240 may be a means for interfacing with a device in which functions for input and output are integrated into one, such as a touch screen. The input / output device 250 may be configured as a single device together with the computer device 200.
[0038] Also, in other embodiments, computing device 200 may include fewer or more components than those of Figure 2. However, most prior art components need not be explicitly illustrated. For example, computing device 200 may be implemented to include at least some of the input / output devices 250 described above, and may further include other components such as a transceiver, a database, etc.
[0039] Specific embodiments of a method and apparatus for recommending content based on chat room characteristics and user characteristics within a chat room are described below.
[0040] In this specification, a social platform refers to a service platform that provides not only social network services such as messengers and various communities, but also various services that utilize resources such as user profile information and friendships within the social network services.
[0041] In the following, a specific embodiment of a social platform will be described using a messenger as an example, but the present invention is not limited to this and can be applied to any communication platform that allows users to share various contents using their accounts, phone numbers, etc.
[0042] In recent years, messengers have been providing various functions by analyzing conversations in chat rooms, for example, using natural language processing technology to provide a variety of services such as content recommendation, conversation summarization, and emotion inference.
[0043] Users will be able to talk to a variety of people in multiple chat rooms, each with a different atmosphere, and the same person may appear in a family chat room, a high school chat room, a company chat room, and so on, depending on the needs of each chat room.
[0044] In this embodiment, in a messenger chat room, when content such as emoticons, stamps (including all image-type expression means available for expressing a user's emotions or intentions), reaction icons, and reply messages are recommended to users in the chat room, the content can be recommended according to the characteristics of the chat room and the characteristics of the users in the chat room.
[0045] The computer device 200 according to the embodiment may provide a messenger service to a client by connecting to a dedicated application installed on the client or a web / mobile site related to the computer device 200. A computer-implemented content recommendation system may be configured in the computer device 200. For example, the content recommendation system may be implemented in the form of a program that operates independently, or may be implemented in the form of an in-app of a specific application so as to be operable on the specific application.
[0046] The processor 220 of the computer device 200 may be implemented with components for performing the following content recommendation method. Depending on the embodiment, the components of the processor 220 may be selectively included or excluded from the processor 220. Also, depending on the embodiment, the components of the processor 220 may be separated or combined to represent the functions of the processor 220.
[0047] Such processor 220 and its components may control the computer device 200 to execute steps included in the following content recommendation method. For example, the processor 220 and its components may be implemented to execute instructions from the operating system code and at least one program code contained in the memory 210.
[0048] Here, the components of the processor 220 may represent different functions that are performed by the processor 220 according to instructions provided by program code stored in the computing device 200 .
[0049] The processor 220 may read the necessary instructions from the memory 210, which is loaded with instructions for controlling the computing device 200. In this case, the read instructions may include instructions for controlling the processor 220 to perform the steps described below.
[0050] The steps included in the message movement method described below may be performed in an order different from that shown in the figures, some steps may be omitted, or additional processes may be included.
[0051] The steps involved in the content recommendation method may be performed on the server 150, although in some embodiments at least some of the steps may be performed on the client.
[0052] FIG. 3 is a flow chart illustrating an example method that may be performed by a computing device in accordance with an embodiment of the present invention.
[0053] Referring to FIG. 3, in step 310, the processor 220 may generate a chat room feature vector, which is an embedding vector representing each chat room, by using the conversation content included in the chat room. The processor 220 may analyze the entire conversation content in the chat room or the conversation content for a predetermined period (e.g., the last six months) for each chat room to generate a feature vector representing the conversation style, atmosphere, etc. of the chat room. In order to generate the chat room feature vector, the conversation content exchanged by all users participating in the chat room as conversation participants may be utilized. In this case, the processor 220 may extract a feature vector representing the chat room from the conversation content by using a known machine learning model such as an embedding model, a sequence model, a language model, etc. for document classification.
[0054] In step 320, the processor 220 may generate a user feature vector, which is an embedding vector representing a user, for each user participating in the chat room as a conversation participant, using the conversation content exchanged by the user. The processor 220 may analyze the user's conversation content among the conversation contents included in the chat room to generate a feature vector representing the user's conversation style, atmosphere, etc. in the chat room. In order to generate the user feature vector, the entire conversation content of the user in the chat room or the conversation content for a predetermined period (e.g., the last six months) may be utilized. As with the chat room feature vector, a machine learning model such as a document embedding model, a sequence model, or a language model may be used to extract a feature vector representing a user in the chat room from the conversation content of the user in the chat room. A user can participate in one or more chat rooms, and the conversation content of the user differs for each chat room in which the user participates, so that the user has a different user feature vector for each chat room. The processor 220 may generate a user feature vector for each chat room for the user, and manage the user feature vector in association with the chat room.
[0055] In step 330, the processor 220 may provide the recommended content corresponding to the conversation sentence given by the target user in the target chat room based on a chat room feature vector corresponding to the target chat room (i.e., a target chat room feature vector) and a user feature vector corresponding to the target user in the target chat room (i.e., a target user feature vector). When a specific message is given by the target user in the target chat room, the machine learning model-based recommendation engine may recommend content that matches the message using the message as an input. In particular, the processor 220 may recommend content that matches the characteristics of the target chat room and the characteristics of the target user by additionally inputting the target chat room feature vector and the target user feature vector together with the message specified by the user to the recommendation engine. For example, the processor 220 may recommend a reaction icon or a reply message for a conversation message of another user selected by the target user in the target chat room, and may recommend a stamp for a message input by the target user for sending in the target chat room. In this case, the processor 220 may recommend content that matches the overall characteristics of the target chat room and the characteristics of the target user in the target chat room for the conversation sentence specified by the target user in the target chat room.
[0056] FIG. 4 illustrates an example process for pre-processing conversation content in accordance with one embodiment of the present invention.
[0057] In this embodiment, in order to utilize the conversation content in a chat room to generate a chat room feature vector and a user feature vector, a process is required to preprocess the conversation content into an input form for a machine learning model, i.e., a form that can be processed using natural language.
[0058] Referring to FIG. 4, in step 401, the processor 220 may convert a non-text type conversation message among conversation messages into text. For example, in a chat room of a messenger, in addition to conversation messages exchanged in text form, there are non-text type conversation messages such as stamps, photos, videos, and audio. In this case, in the case of stamps, predefined tag information may be used to convert the stamp exchanged in the chat room into tag information of the stamp. In the case of photos, image classification technology based on image analysis may be used to obtain text corresponding to the photo. In the case of videos, image classification technology based on image analysis or video summarization technology may be used to obtain text corresponding to the video. In the case of audio, speech to text technology may be used to obtain text corresponding to the audio.
[0059] In step 402, the processor 220 may add speaker identification information indicating the subject of the conversation to the conversation message. As the speaker identification information, the speaker name (for example, the profile name set by the speaker, the nickname set by the user for the speaker, etc.), messenger ID, phone number, etc. may be used. For example, for the conversation message "Has everyone come to work?" sent by a speaker "Director Kim" with a messenger ID of 12584, when the speaker name is added, it may be processed as <[nickname:Director Kim] Have you all come to work?>, and when the ID is added, it may be processed as <[ID:12584] Have you all come to work?>. When the speaker name is added, an additional meaning caused by the speaker name may be additionally reflected in the feature vector. On the other hand, when a unique ID or phone number is added as speaker information, the characteristics of the same person may be continuously tracked and reflected.
[0060] In step 403, the processor 220 may distinguish and concatenate each conversation message included in the conversation content utilized for generating the feature vector as a unit sentence. In order to use the conversation content as an input for a machine learning model, the conversation messages need to be concatenated in chronological order. For example, the processor 220 may append a special token (e.g., [sep], etc.) or a sentence code (e.g., a period (.), etc.) that means a unit sentence to each conversation message, and then concatenate the conversation messages in chronological order. In other words, the processor 220 may distinguish and concatenate conversation messages of one speech bubble as one sentence using a predefined sentence token or sentence code. Furthermore, the processor 220 may distinguish paragraphs when concatenating the conversation messages. For example, the processor 220 may distinguish and concatenate the previous message group and the next message group as different paragraphs when the time interval between the conversation messages is equal to or longer than a certain time. As another example, the processor 220 may grasp the topic of the conversation through content analysis, and when the topic of the conversation changes, distinguish and concatenate the previous message group and the next message group as different paragraphs. Similarly, when concatenating conversation messages, paragraphs may be distinguished by adding tokens or symbols for distinguishing paragraphs.
[0061] The processor 220 may use various machine learning models to obtain feature vectors (chat room feature vector and user feature vector) from the conversation contents preprocessed in the above-mentioned processes 401 to 403.
[0062] As one method, a document embedding algorithm may be used to calculate the chat room feature vector and the user feature vector.
[0063] 5, the processor 220 may obtain the chat room feature vector by replacing each word in the entire conversation used to generate the chat room feature vector with a word embedding vector, and then aggregating all the replaced vectors. In this case, the aggregation of the word embedding vectors may utilize functions such as sum, average, max, min, and median in the vector space.
[0064] 6, the processor 220 may replace each word in the entire conversation used to generate the chat room feature vector with a word embedding vector, and then generate the chat room feature vector in the form of a weighted sum of topic vectors corresponding to each word embedding vector based on a predefined topic vector and weight using topic modeling. In this case, a topic modeling algorithm such as LSA (Latent Semantic Analysis) may be used to define topics for document classification, and a document expression may be used as a topic vector by creating an eigen vector that indicates a document based on the latent meaning of a word rather than a simple word vector through a matrix operation.
[0065] As another example, referring to FIG. 7, the processor 220 may first perform word clustering on the entire conversation used to generate the chat room feature vector, and then replace the center word of each cluster with a word embedding vector and acquire the chat room feature vector by aggregating the word topic vectors of the words. In this case, the processor 220 may use a SCDV (Sparse Composite Document Vectors) method to calculate the chat room feature vector from the contents of the conversation in the chat room. That is, the processor 220 may generate each word of the entire conversation as a vector, cluster the word vectors by SCDV, calculate the cluster center points, and accumulate them to use the result as the chat room feature vector. The core idea of the SCDV method is to partially cluster documents. A general document embedding method converts words into vectors and then averages or sums all the word vectors of the document to generate a document vector, whereas SCDV divides a document into word clusters and calculates the center points of each cluster to generate a document vector. This allows the SCDV method to reflect the importance of words in a document.
[0066] The process of generating a user feature vector using a document embedding algorithm is the same as the process described above for generating a chat room feature vector.
[0067] Alternatively, a sequence model may be used to generate the chat room feature vectors and the user feature vectors.
[0068] As an example, referring to FIG. 8, processor 220 may input the entire conversation to be used to generate the chat room feature vector into a Long Short-Term Memory (LSTM) model, which is one of the sequence models, to generate an LSTM representation, which is a vector, and use it as the chat room feature vector.
[0069] As another example, referring to FIG. 9, the processor 220 may input each conversation message corresponding to a unit sentence into the LSTM for the entire conversation to be used to generate the chat room feature vector, obtain a sentence vector, and then input the sentence vector back into the LSTM to obtain a final chat room feature vector as one vector.
[0070] The process of generating a user feature vector using the sequence model is the same as the process described above for generating a chat room feature vector.
[0071] Alternatively, a language model may be used to generate the chat room feature vector and the user feature vector.
[0072] As an example, referring to FIG. 10, the processor 220 may obtain the chat room feature vector by inputting the entire conversation to be used for generating the chat room feature vector into BERT (Bidirectional Encoder Representations from Transformers), which is one of large language models, and aggregating the vectors obtained. The processor 220 may input each conversation message corresponding to a unit sentence into the BERT model following the [SEP] token. Then, the processor 220 may obtain the chat room feature vector by aggregating the CLS output, which is a classification representation of BERT. Depending on the embodiment, the CLS output of BERT may be re-input as an input of the LSTM to generate one vector by the LSTM, and this may be used as the chat room feature vector.
[0073] The process of generating a user feature vector using a language model is the same as the process described above for generating a chat room feature vector.
[0074] In addition to the above-mentioned method, the chat room feature vector and the user feature vector can be generated using various natural language processing techniques for document expression.
[0075] FIG. 11 illustrates an example process for providing recommended content using chat room feature vectors and user feature vectors in accordance with an embodiment of the present invention.
[0076] 11, when the target user selects another user's conversation message in the target chat room or inputs a conversation message for sending, the processor 220 recognizes the conversation message as a conversation sentence 1101 given by the target user. After this, the processor 220 may input a feature vector 1102 consisting of a target chat room feature vector which is a feature vector for the target chat room and a target user feature vector which is a feature vector for the target user in the target chat room, together with the conversation sentence 1101 to a recommendation engine 1100 based on a machine learning model (e.g., BERT, etc.). In other words, the input parameters of the recommendation engine 1100 are the conversation sentence 1101 given by the target user, the target chat room feature vector which is the feature vector 1102, and the target user feature vector in the target chat room. The processor 220 may use the recommendation engine 1100 to provide content such as emojis, stamps, reaction icons, and reply messages based on the feature vector 1102 as recommended content for the conversation sentence 1101.
[0077] 12 to 15 are diagrams showing examples of recommended content in one embodiment of the present invention. It is assumed that Fig. 12 to Fig. 14 show a chat room A screen 1200 of a messenger installed in a user I's electronic device.
[0078] As an example, the processor 220 may infer the usual conversation style of a person creating a message in a chat room and recommend emojis or stickers that match this.
[0079] Referring to FIG. 12, when a conversation sentence 1201 to be sent by a user I is input in a message input window 1210 of a chat room A screen 1200, the processor 220 may provide a stamp 1220 as one of the recommended contents for the conversation sentence 1201. At this time, the stamp 1220 may be selected based on a feature vector indicating the characteristics of the chat room A and a feature vector indicating the characteristics of the user I in the chat room A. The recommended contents may be different for each chat room or user for the same conversation sentence 1201. That is, the recommended stamp when the user I inputs the same conversation sentence 1201 in the chat room A may be different from the recommended stamp when the user inputs the same conversation sentence 1201 in the chat room B. For example, a stamp including the text "Let's go for dinner" may be recommended to the user I in the chat room A, but a stamp including the text "Dinner!" may be recommended in the chat room B. Also, the recommended stamp when the user I inputs the same conversation sentence 1201 and the recommended stamp when the user II inputs the same conversation sentence 1201 may be different from each other among the users participating in the chat room A. In some embodiments, emotion inference may be used to recommend a stamp that indicates how user I is feeling for the conversation sentence 1201 created by user I based on the emotion inference of user I.
[0080] Although not shown in the figure, in another embodiment, when user I inputs conversation sentence 1201 to be sent in message input window 1210 on chat room A screen 1200, processor 220 may provide a stamp by inserting recommended text into a changeable text field included in the stamp among the recommended contents for conversation sentence 1201. For example, when recommending stamps of the same image of a person eating to user I, a stamp with the text "Let's go eat" inserted in chat room A and a stamp with the text "Eat!" inserted in chat room B may be recommended.
[0081] As another example, the processor 220 may infer the usual conversation style of a person reading a message in a chat room and recommend appropriate reaction icons, reply messages, and the like.
[0082] 13, the processor 220 may recommend a reaction icon 1330 for a conversation sentence 1301 selected by a user I from among the conversation sentences on the chat room A screen 1200. At this time, the processor 220 may select and provide the reaction icon 1330 based on a feature vector indicating the characteristics of the chat room A and a feature vector indicating the characteristics of the user I in the chat room A. The recommended content may differ depending on which user selected the conversation sentence 1301 among the users participating in the chat room A. The recommended reaction icon when the user I selects the conversation sentence 1301 in the chat room A may be different from the recommended reaction icon when the user II selects the conversation sentence 1301.
[0083] Referring to FIG. 14, when user I selects one conversation sentence 1301 from the conversation sentences on chat room A screen 1200, processor 220 provides a menu list (1340 in FIG. 13) configured with message utilization functions. At this time, when a reply function is selected from the menu list, processor 220 may recommend a reply message 1450 to conversation sentence 1301. As message utilization functions, messenger may provide a copy function for copying the contents of a message, a bookmark function for adding a message to a bookmark, a reply function for replying to a message, a share function for sharing a message with other users, a notification function for registering a message in a chat room notification, a capture function for capturing a message, a delete function for deleting a message, and the like. At this time, processor 220 may recommend a reply message 1450 suitable for chat room A and user I in chat room A based on a feature vector indicating the characteristics of chat room A and a feature vector indicating the characteristics of user I in chat room A. Recommended content may differ depending on who is the user who selected conversation sentence 1301 among users participating in chat room A. The recommendation reply message when user I selects conversation sentence 1301 in chat room A may be different from the recommendation reply message when user II selects it.
[0084] In another example, it is also possible to provide recommended content by taking into consideration both the usual conversation styles of the person reading the message and the person who sent the message. The messenger server has feature vectors of both user I and user II who are participating in chat room A. When user I is about to reply to a message sent by user II, content may be recommended by taking into consideration not only the features of user I but also the features of user II.
[0085] 15, when user I selects a reply function to conversation sentence 1301 sent by user II from among conversation sentences on chat room A screen 1200, processor 220 recommends reply message 1450 using a feature vector indicating the characteristics of chat room A and a feature vector indicating the characteristics of user I in chat room A. At this time, processor 220 may provide expected reaction information 1560 by predicting user II's reaction to reply message 1450. For example, expected reaction information 1560 may be provided by grasping positive and negative reactions based on the similarity between the feature vector of reply message 1450 and the feature vector of user II in chat room A. In some embodiments, when there are multiple reply messages 1450 to be recommended to user I for conversation sentence 1301, at least some of them may be recommended in descending order of positive reactions of user II.
[0086] In another example, when recommending content such as emojis, stamps, reaction icons, and reply messages using the feature vector of chat room A and the feature vector of user I in chat room A for the conversation text on chat room A screen 1200, the recommended content may be selected using the feature vector of other chat rooms. For example, it is also possible to compare each chat room feature vector using cosine similarity or the like, and recommend in chat room A content suitable for chat room A among the contents frequently used or recommended in chat rooms similar to chat room A. The content to be recommended in chat room A may be selected from the contents frequently used in chat room B similar to chat room A.
[0087] Thus, according to an embodiment of the present invention, when recommending content within a messenger, the characteristics of a chat room and the characteristics of a user within the chat room can be utilized to recommend content suitable for the user.
[0088] The above-mentioned devices may be realized by hardware components, software components, and / or a combination of hardware and software components. For example, the devices and components described in the embodiments may be realized using one or more general-purpose or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or various devices capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications that run on the OS. The processing device may also respond to the execution of the software and access, record, manipulate, process, and generate data. For convenience of understanding, a single processing device may be described as being used, but one skilled in the art will understand that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, the processing device may include multiple processors or one processor and one controller. Other processing configurations, such as parallel processors, are also possible.
[0089] The software may include computer programs, codes, instructions, or a combination of one or more of these, and may configure or instruct the processing device to perform a desired operation, either individually or collectively. The software and / or data may be implemented in any type of machine, component, physical device, computer storage medium, or device to be interpreted by or provide instructions or data to the processing device. The software may be distributed and stored or executed in a distributed manner on computer systems connected by a network. The software and data may be stored in one or more computer-readable storage media.
[0090] The method according to the embodiment may be realized in the form of program instructions executable by various computer means and recorded on a computer-readable medium. In this case, the medium may be one that continuously records a computer-executable program, or one that temporarily records the program for execution or download. The medium may be one of various recording means or storage means in the form of a single or multiple hardware devices combined, and may be a medium directly connected to a certain computer system, as well as one that is distributed on a network. Examples of the medium may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and media configured to record program instructions such as ROMs, RAMs, flash memories, etc. Examples of other media include recording media and storage media managed by app stores that distribute applications, sites that supply and distribute various other software, and servers.
[0091] Although the embodiments have been described based on the limited embodiments and drawings as above, those skilled in the art will be able to make various modifications and variations from the above description. For example, the described techniques may be performed in an order different from that described, and / or the components of the described systems, structures, devices, circuits, etc. may be combined or combined in a manner different from that described, or may be counterbalanced or replaced by other components or equivalents, and still achieve suitable results.
[0092] Therefore, different embodiments are within the scope of the appended claims provided that they are equivalent to the claims. [Explanation of symbols]
[0093] 110, 120, 130, 140: Electronic equipment 150, 160: Server 170: Network
Claims
1. 1. A content recommendation method implemented on a computer device, comprising: The computing device includes at least one processor configured to execute computer-readable instructions contained in a memory; The content recommendation method includes: generating, by the at least one processor, for each chat room, a chat room feature vector that represents the chat room using conversation content included in the chat room; generating, by the at least one processor, for each user participating in the chat room, a user feature vector representing the user using the content of the user's conversation in the chat room; and recommending content within the chat room using the chat room feature vector and the user feature vector, by the at least one processor. A content recommendation method comprising:
2. The content recommendation method includes: preprocessing, by the at least one processor, conversational content contained in the chat room into a form that can be input to a machine learning model. The content recommendation method of claim 1 , further comprising:
3. The pre-processing step includes: adding a special token or code for dividing a unit sentence into each conversation message in order to concatenate the conversation messages; The content recommendation method according to claim 2 , comprising:
4. The pre-processing step includes: Adding special tokens or symbols to separate paragraphs based on time intervals or content-based topics between conversation messages to link the conversation messages. The content recommendation method according to claim 2 , comprising:
5. The pre-processing step includes: Converting the conversation message in at least one non-text form of emojis, stickers, photos, videos, or audio into text. The content recommendation method according to claim 2 , comprising:
6. The pre-processing step includes: adding at least one of speaker identification information, such as a speaker name, ID, or phone number, to each conversation message to indicate the subject of the conversation; The content recommendation method according to claim 2 , comprising:
7. The steps of generating a chat room feature vector and generating a user feature vector include: Obtaining a feature vector from the conversation using at least one machine learning model of a document embedding model, a sequence model, or a language model. The content recommendation method according to claim 1 , comprising:
8. The recommending step includes: providing recommended content for a conversation message specified by the user in the chat room based on the chat room feature vector and the user feature vector; The content recommendation method according to claim 1 , comprising:
9. The recommending step includes: recommending at least one of a reaction icon or a reply message based on the chat room feature vector and the user feature vector for a conversation message selected by the user in the chat room. The content recommendation method according to claim 1 , comprising:
10. The recommending step includes: recommending at least one of an emoji or a stamp based on the chat room feature vector and the user feature vector for a conversation message input by the user in the chat room; The content recommendation method according to claim 1 , comprising:
11. The providing step includes: selecting the recommended content by using a feature vector in the chat room of a person related to the conversation message; The content recommendation method according to claim 8 , comprising:
12. The providing step includes: Providing information on the other person's expected reaction to the recommended content by using a feature vector in the chat room of the other person related to the conversation message. The content recommendation method according to claim 8 , comprising:
13. The providing step includes: selecting the recommended content by using content used in other chat rooms having a feature vector similar to that of the chat room; The content recommendation method according to claim 8 , comprising:
14. A computer program recorded on a non-transitory computer-readable recording medium for causing the computer device to execute the content recommendation method according to any one of claims 1 to 13.
15. 1. A computing device comprising: At least one processor configured to execute computer-readable instructions contained in the memory. Including, The at least one processor a process for generating, for each chat room, a chat room feature vector that represents the chat room using the conversation content contained in the chat room; A process for generating, for each user participating in the chat room, a user feature vector representing the user using the content of the user's conversation in the chat room; and A process for recommending content within the chat room using the chat room feature vector and the user feature vector. A computer device that processes.
16. The at least one processor A method for preprocessing conversation content contained in the chat room into a form that can be input to a machine learning model, In order to link conversation messages, a special token or code that separates unit sentences is added to each conversation message.
16. The computer device of claim 15.
17. The at least one processor A method for preprocessing conversation content contained in the chat room into a form that can be input to a machine learning model, Converting at least one non-text form of conversation message, such as emojis, stickers, photos, videos, or audio, into text; Adding at least one of speaker identification information, such as a speaker name, ID, or phone number, to each conversation message to indicate the subject of the conversation 16. The computer device of claim 15.
18. The at least one processor Obtaining the chat room feature vector and the user feature vector from the conversation content using at least one machine learning model of a document embedding model, a sequence model, or a language model.
16. The computer device of claim 15.
19. The at least one processor providing recommended content for a conversation message specified by the user in the chat room based on the chat room feature vector and the user feature vector; 16. The computer device of claim 15.
20. The at least one processor Selecting the recommended content by using a feature vector in the chat room of a person related to the conversation message or content used in another chat room having a feature vector similar to that of the chat room.
20. The computer device of claim 19.
Citation Information
Patent Citations
Service system and method for mobile messenger ofmobile phone using wireless communication network
KR1020020074304A
