KR102645901B1 - Method and apparatus for personalized item recommendation applying knowledge graph embedding - Google Patents

Method and apparatus for personalized item recommendation applying knowledge graph embedding Download PDF

Info

Publication number
KR102645901B1
KR102645901B1 KR1020210100596A KR20210100596A KR102645901B1 KR 102645901 B1 KR102645901 B1 KR 102645901B1 KR 1020210100596 A KR1020210100596 A KR 1020210100596A KR 20210100596 A KR20210100596 A KR 20210100596A KR 102645901 B1 KR102645901 B1 KR 102645901B1
Authority
KR
South Korea
Prior art keywords
item
vector
buyer
purchase
graph
Prior art date
Application number
KR1020210100596A
Other languages
Korean (ko)
Other versions
KR20230018728A (en
Inventor
김명호
서민지
Original Assignee
숭실대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 숭실대학교산학협력단 filed Critical 숭실대학교산학협력단
Priority to KR1020210100596A priority Critical patent/KR102645901B1/en
Publication of KR20230018728A publication Critical patent/KR20230018728A/en
Application granted granted Critical
Publication of KR102645901B1 publication Critical patent/KR102645901B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Algebra (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 지식 그래프 임베딩을 응용한 개인화된 아이템 추천 방법 및 장치를 개시한다. 본 발명에 따르면, 프로세서 및 상기 프로세서에 연결되는 메모리를 포함하되, 상기 메모리는, 구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받고, 상기 구매 이력에 셀프 어텐션 메커니즘을 적용하여 산출된 가중치가 반영된 제1 구매자 벡터를 생성하고, 상기 구매 이력을 기반으로 서로 다른 시점마다 상기 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그래프를 생성하고, 상기 생성된 그래프를 이용하여 아이템 벡터를 생성하고, 상기 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생성하고, 상기 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하여 추천 아이템을 결정하도록, 상기 프로세서에 의해 실행 가능한 프로그램 명령어들을 저장하는 개인화된 아이템 추천 장치가 제공된다. The present invention discloses a personalized item recommendation method and device using knowledge graph embedding. According to the present invention, it includes a processor and a memory connected to the processor, wherein the memory includes a purchase item list, a purchase history including purchase times of items included in the purchase item list, and an item purchase log including a buyer ID. receives input, generates a first buyer vector reflecting the weight calculated by applying a self-attention mechanism to the purchase history, and establishes a correlation between at least some items included in the purchase item list at different times based on the purchase history. Generate a graph representing the relationship, generate an item vector using the generated graph, generate an updated second buyer vector using the first buyer vector and the item vector, and create a knowledge graph with the second buyer vector. A personalized item recommendation device is provided that stores program instructions executable by the processor to determine a recommended item by calculating a similarity score using embedding.

Description

지식 그래프 임베딩을 응용한 개인화된 아이템 추천 방법 및 장치{Method and apparatus for personalized item recommendation applying knowledge graph embedding}Method and apparatus for personalized item recommendation applying knowledge graph embedding}

본 발명은 지식 그래프 임베딩을 응용한 개인화된 아이템 추천 방법 및 장치에 관한 것이다. The present invention relates to a personalized item recommendation method and device using knowledge graph embedding.

최근 아마존 등의 온라인 플랫폼에서의 거래가 증가함에 따라, 순차 데이터(예를 들어, 구매자의 클릭 로그나 시간에 따른 구매자의 구매 이력)를 이용한 추천 시스템에 대한 관심이 높아지고 있다. Recently, as transactions on online platforms such as Amazon have increased, interest in recommendation systems using sequential data (for example, a buyer's click log or a buyer's purchase history over time) is increasing.

순차 데이터 기반의 추천 시스템은 저장된 구매자의 이력을 분석하여 구매자가 다음에 구매할 아이템을 추천해준다. 순차 데이터 기반의 추천 시스템은 딥러닝 기반이나 비 딥러닝 기반으로 연구되고 있다. The sequential data-based recommendation system analyzes the stored buyer history and recommends the item the buyer will purchase next. Recommendation systems based on sequential data are being studied either based on deep learning or non-deep learning.

딥러닝 기반 추천 시스템으로는 RNN(Recursive Neural Network) 기반의 GRU4Rec이나 CNN(Convolutional Neural Network) 기반의 CASER(Convolutional Sequence Embedding)가 존재한다. Deep learning-based recommendation systems include GRU4Rec based on RNN (Recursive Neural Network) or CASER (Convolutional Sequence Embedding) based on CNN (Convolutional Neural Network).

비 딥러닝 기반 추천 시스템은 구매자와 아이템 혹은 아이템 간의 상호작용 상태의 시간에 따른 변화를 조건부 확률로 표현하는 FPMC(Factorized Personalized Markov Chains)을 이용하여, 가장 최근에 구매한 아이템을 기반으로 아이템을 구매자에게 추천해준다. Non-deep learning-based recommendation systems use Factorized Personalized Markov Chains (FPMC), which express changes over time in the interaction state between a buyer and an item or items as a conditional probability, to purchase an item based on the most recently purchased item. I recommend it to

하지만 딥러닝 기반의 추천 시스템은 과거의 모든 행동을 요약한 데이터를 기반으로 구매자가 구매할 아이템을 예측하기 때문에 데이터의 양이 희소할 경우엔 좋은 성능을 기대하기 어려운 문제점을 가지고 있다. However, since deep learning-based recommendation systems predict items to be purchased by buyers based on data that summarizes all past actions, it is difficult to expect good performance when the amount of data is sparse.

또한, 비-딥러닝 기반의 추천 시스템은 예측 과정이 너무 단순하여 희소한 데이터에만 잘 작동한다는 단점을 가진다. 최근 새롭게 연구된 SASRec(Self-Attentive Sequential Recommendation)은 이전에 구매한 아이템 리스트와 아이템의 구매 순서를 입력 받아 Self-Attention 매커니즘을 적용하여 구매했던 아이템에 가중치를 부여하고, 추천해 줄 아이템 리스트와 구매한 아이템 리스트의 관계 정도를 계산하여 관계도가 가장 높게 나타난 아이템을 추천해준다. Additionally, non-deep learning-based recommendation systems have the disadvantage that the prediction process is too simple and therefore only works well on sparse data. SASRec (Self-Attentive Sequential Recommendation), a newly researched method, receives the list of previously purchased items and the purchase order of items, applies a Self-Attention mechanism to give weight to the purchased items, and provides a list of recommended items and purchase order. The degree of relationship in an item list is calculated and the item with the highest degree of relationship is recommended.

이와 같은 방법은 기존의 방법보다 높은 추천 성능을 보였으나, 아이템과 아이템 사이의 상관관계나 구매자와 아이템간의 상관관계를 정밀하게 나타낼 수 없는 문제점을 가진다. Although this method showed higher recommendation performance than existing methods, it has the problem of not being able to accurately represent the correlation between items or between buyers and items.

대한민국공개특허공보 10-2020-0114969Republic of Korea Patent Publication 10-2020-0114969

상기한 종래기술의 문제점을 해결하기 위해, 본 발명은 아이템과 아이템 사이의 상관관계나 구매자와 아이템간의 상관관계를 정밀하게 나타낼 수 있는 지식 그래프 임베딩을 응용한 개인화된 아이템 추천 방법 및 장치를 제안하고자 한다. In order to solve the problems of the prior art described above, the present invention seeks to propose a personalized item recommendation method and device applying knowledge graph embedding that can precisely represent the correlation between items or between buyers and items. do.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따르면, 개인화된 아이템 추천 장치로서, 프로세서; 및 상기 프로세서에 연결되는 메모리를 포함하되, 상기 메모리는, 구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받고, 상기 구매 이력에 셀프 어텐션 메커니즘을 적용하여 산출된 가중치가 반영된 제1 구매자 벡터를 생성하고, 상기 구매 이력을 기반으로 서로 다른 시점마다 상기 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그래프를 생성하고, 상기 생성된 그래프를 이용하여 아이템 벡터를 생성하고, 상기 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생성하고, 상기 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하여 추천 아이템을 결정하도록, 상기 프로세서에 의해 실행 가능한 프로그램 명령어들을 저장하는 개인화된 아이템 추천 장치가 제공된다. In order to achieve the above-mentioned object, according to an embodiment of the present invention, there is provided a personalized item recommendation device, comprising: a processor; and a memory connected to the processor, wherein the memory receives an item purchase log including a purchase history and purchaser ID including a purchase item list and purchase times of items included in the purchase item list, and Applying a self-attention mechanism to the history generates a first buyer vector reflecting the calculated weight, and generates a graph showing the correlation between at least some items included in the purchase item list at different time points based on the purchase history. An item vector is generated using the generated graph, an updated second buyer vector is generated using the first buyer vector and the item vector, and a similarity score is calculated using the second buyer vector and knowledge graph embedding. A personalized item recommendation device is provided that stores program instructions executable by the processor to calculate and determine a recommended item.

상기 그래프는 미리 설정된 시간 간격의 서로 다른 시점별로 생성되며, 제1 시점에 구매한 아이템에 상응하는 제1 노드 및 상기 제1 노드와 간선으로 연결되며 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템에 상응하는 하나 이상의 제2 노드를 포함할 수 있다. The graph is generated at different time points at preset time intervals, is connected to a first node corresponding to the item purchased at the first time point, and the first node is connected to the first node, and is connected to the first node at a predetermined time interval before and after the first time point. It may include one or more second nodes corresponding to the item purchased at the corresponding time.

상기 프로그램 명령어들은, 그래프 뉴럴 네트워크 알고리즘을 이용하여 상기 서로 다른 시점별로 생성된 그래프에 포함되는 노드를 전환 공간에 임베딩하여 상기 구매 아이템 리스트에 포함된 모든 아이템의 특성값을 결정할 수 있다. The program instructions may determine characteristic values of all items included in the purchase item list by embedding nodes included in the graph generated at different viewpoints in the transition space using a graph neural network algorithm.

상기 간선은 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템의 개수에 따른 가중치가 부여될 수 있다. The trunk line may be given a weight according to the number of items purchased at a time corresponding to a predetermined time interval before and after the first time point.

상기 제2 구매자 벡터는 상기 제1 구매자 벡터와 상기 아이템 벡터를 더한 값에 엔트로피 계산을 통해 가중치를 계산하고, 상기 계산된 가중치를 상기 제1 구매자 벡터에 부여하여 생성될 수 있다. The second buyer vector may be generated by calculating a weight through entropy calculation to the value obtained by adding the first buyer vector and the item vector, and assigning the calculated weight to the first buyer vector.

상기 제1 구매자 벡터는 상기 구매 아이템 리스트에 포함된 아이템의 구매 순서를 고려하여 생성될 수 있다. The first buyer vector may be generated by considering the purchase order of items included in the purchase item list.

상기 유사도 점수는 다음의 수학식에 따라 계산되며, 후보 아이템들 중 가장 유사도 점수가 미리 설정된 순위 이상의 상위로 랭크되는 아이템을 추천 아이템으로 결정할 수 있다. The similarity score is calculated according to the following equation, and the item whose similarity score is ranked higher than a preset rank among the candidate items can be determined as the recommended item.

[수학식][Equation]

여기서, 는 제1 구매자 벡터, 는 아이템 벡터, 는 후보 아이템 벡터, 는 제2 구매자 벡터임here, is the first buyer vector, is the item vector, is the candidate item vector, is the second buyer vector

상기 제2 구매자 벡터는 아래의 수학식에 따라 생성될 수 있다. The second buyer vector can be generated according to the equation below.

[수학식][Equation]

여기서, 는 시그모이드 함수 이고, 이며, 는 learnable parameter, b는 바이어스 벡터임here, is the sigmoid function ego, and is a learnable parameter, b is a bias vector

본 발명의 다른 측면에 따르면, 프로세서 및 메모리를 포함하는 장치에서 개인화된 아이템을 추천하는 방법으로서, 구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받는 단계; 상기 구매 이력에 셀프 어텐션 메커니즘을 적용하여 산출된 가중치가 반영된 제1 구매자 벡터를 생성하는 단계; 상기 구매 이력을 기반으로 서로 다른 시점마다 상기 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그래프를 생성하는 단계; 상기 생성된 그래프를 이용하여 아이템 벡터를 생성하는 단계; 상기 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생성하는 단계; 및 상기 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하여 추천 아이템을 결정하는 단계를 포함하는 개인화된 아이템 추천 방법이 제공된다. According to another aspect of the present invention, there is a method of recommending personalized items in a device including a processor and memory, including a purchase item list, purchase history including the purchase time of the items included in the purchase item list, and a buyer ID. Step of receiving an item purchase log; generating a first buyer vector reflecting weights calculated by applying a self-attention mechanism to the purchase history; generating a graph representing a correlation between at least some items included in the purchased item list at different times based on the purchase history; generating an item vector using the generated graph; generating an updated second buyer vector using the first buyer vector and the item vector; and determining a recommended item by calculating a similarity score using the second buyer vector and knowledge graph embedding.

본 발명의 또 다른 측면에 따르면, 상기한 방법을 수행하는 컴퓨터 판독 가능한 프로그램이 제공된다. According to another aspect of the present invention, a computer readable program for performing the above method is provided.

본 발명에 따르면, 그래프 작성시 아이템 노드 사이의 간선을 최신 구매 기준을 기준으로 나타내지 않고, 구매 시점으로부터 일정 기간이 지난 시점을 유동적으로 적용시킴으로써 임베딩 시 아이템 간의 상관관계를 계산하여 가중치를 새롭게 작성하여 부여하기 때문에 아이템 벡터가 다른 아이템들과의 의존 관계, 상속 관계, 상호작용 관계, 고객이 해당 아이템을 구매할 때의 상황 등을 잘 나타낼 수 있는 장점이 있다. According to the present invention, when creating a graph, the edges between item nodes are not represented based on the latest purchase criteria, but the point in time that has passed a certain period of time from the time of purchase is flexibly applied, and the correlation between items is calculated at the time of embedding to create new weights. Because it is given, the item vector has the advantage of being able to well represent the dependency relationship with other items, inheritance relationship, interaction relationship, and the situation when the customer purchases the item.

또한, 본 발명에 따르면, 구매 이력에 self-attention 매커니즘을 적용하여 구매자 벡터로 나타내기 때문에 구매자 정보를 구매한 아이템과 구매한 아이템의 시간적 순서로 표현하여 구매자의 특성을 더 잘 나타낼 수 있는 장점이 있다. In addition, according to the present invention, since the self-attention mechanism is applied to the purchase history and expressed as a buyer vector, the buyer information is expressed in the purchased item and the temporal order of the purchased item, which has the advantage of better representing the buyer's characteristics. there is.

나아가, 본 발명에 따르면, 지식 그래프 임베딩 기법을 적용하여 유사도 점수 함수를 적용하여 구매자 벡터와 아이템 벡터의 합과 유사도가 높은 아이템을 찾기 때문에 높은 정확도로 아이템을 추천할 수 있다. Furthermore, according to the present invention, by applying a knowledge graph embedding technique and applying a similarity score function to find items with high similarity to the sum of the buyer vector and the item vector, it is possible to recommend items with high accuracy.

도 1은 종래기술에 따른 TransRec을 적용하여 아이템을 추천하는 과정을 설명하기 위한 도면이다.
도 2는 지식 그래프 임베딩의 대표적 알고리즘인 TransE의 정의를 나타낸 것이다.
도 3은 본 발명의 바람직한 일 실시예에 따른 개인화된 아이템 추천 장치의 구성을 도시한 도면이다.
도 4는 본 실시예에 따른 구매 이력을 기반으로 아이템을 추천해주는 흐름도를 나타낸 도면이다.
도 5는 본 실시예에 따른 제1 구매자 벡터를 생성을 위한 가중치 산출 과정을 나타낸 도면이다.
도 6은 본 실시예에 따른 아이템 벡터의 생성을 위해 아이템의 구매 이력을 기반으로 아이템 노드들을 이어 그래프를 작성하는 것을 예시적으로 도시한 도면이다.
도 7은 본 실시예에 따른 본 실시예에 따른 제2 구매자 벡터와 아이템 벡터를 이용하여 추천 아이템을 결정하는 과정을 그래프로 나타낸 것이다.
Figure 1 is a diagram illustrating the process of recommending an item by applying TransRec according to the prior art.
Figure 2 shows the definition of TransE, a representative algorithm of knowledge graph embedding.
Figure 3 is a diagram showing the configuration of a personalized item recommendation device according to a preferred embodiment of the present invention.
Figure 4 is a flowchart showing an item recommendation based on purchase history according to this embodiment.
Figure 5 is a diagram showing the weight calculation process for generating the first buyer vector according to this embodiment.
FIG. 6 is a diagram illustrating an example of creating a graph by connecting item nodes based on the purchase history of the item to generate an item vector according to this embodiment.
Figure 7 graphically illustrates the process of determining a recommended item using the second buyer vector and the item vector according to this embodiment.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다.Since the present invention can make various changes and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail.

그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all changes, equivalents, and substitutes included in the spirit and technical scope of the present invention.

본 실시예는 구매자 정보 및 아이템 정보를 전환 공간(transition space)에 임베딩하여 구매자 벡터 및 아이템 벡터로 나타내고, 구매자가 구매했던 아이템과 가장 높은 유사도를 가진 아이템을 추천해주는 알고리즘을 제안한다. This embodiment proposes an algorithm that embeds buyer information and item information in a transition space, represents them as buyer vectors and item vectors, and recommends the item with the highest similarity to the item the buyer purchased.

본 실시예에 따르면, 전환 공간에 데이터를 임베딩하는 방식으로 아이템 사이 혹은 구매자와 아이템 사이의 상관관계를 기반으로 아이템을 추천하기 때문에 기존의 SASRec이 가진 문제점을 해결할 수 있다.According to this embodiment, the problems of the existing SASRec can be solved by recommending items based on correlations between items or between buyers and items by embedding data in the conversion space.

구매자 정보 및 이전에 구매한 아이템 정보를 구매자 벡터와 아이템 벡터로 임베딩하여 높은 유사도를 가진 아이템을 추천한다는 점에서는 TransRec(Translation-based Recommendation)과 유사할 수 있으나, TransRec은 아이템 벡터와 구매자 벡터가 추가적인 정보를 가지고 있지 않고, 최근 구매한 아이템을 기준으로 하기 때문에 아이템 추천에 벡터가 시간 정보나 구매한 아이템간의 관계성이 크게 영향을 주지 못한다는 단점을 가지고 있다. It may be similar to TransRec (Translation-based Recommendation) in that it recommends items with high similarity by embedding buyer information and previously purchased item information into buyer vectors and item vectors, but TransRec uses additional item vectors and buyer vectors. Because it does not contain information and is based on recently purchased items, it has the disadvantage that vectors do not have a significant impact on time information or relationships between purchased items in item recommendation.

본 실시예는 구매자가 서로 다른 시점에 구매한 아이템 리스트를 그래프로 나타낸 후, 그래프의 구조를 이용하여 이전에 구매한 아이템이나 이후에 구매한 아이템간의 관계를 나타내도록 GNN(Graph Neural Network) 알고리즘을 통해 아이템 벡터로 임베딩하고, 순차적으로 아이템을 구매한 정보를 포함하는 구매 이력에 셀프 어텐션(self-attention) 매커니즘을 통해 아이템별로 가중치를 부여하여 구매자 벡터를 생성하여 임베딩했다는 점에서 차이점을 가진다. In this embodiment, a list of items purchased by a buyer at different times is displayed as a graph, and then a GNN (Graph Neural Network) algorithm is used to represent the relationship between previously purchased items and subsequently purchased items using the structure of the graph. The difference is that the buyer vector is created and embedded by embedding it as an item vector, and weighting each item through a self-attention mechanism in the purchase history containing information on purchasing items sequentially.

또한, 본 실시예는 서로 다른 시점에 구매한 아이템간의 상호작용을 그래프로 표현하여 나타낸 아이템의 정보를 더 정밀하게 표현할 수 있으며, 구매자의 구매 이력을 셀프 어텐션 매커니즘을 통해 표현한 구매자 정보를 활용하기 때문에 더 높은 추천 성능을 보일 수 있다는 장점을 가진다.In addition, this embodiment can express the information of the items more precisely by graphically expressing the interaction between items purchased at different times, and utilizes the buyer information expressed through the self-attention mechanism of the buyer's purchase history. It has the advantage of showing higher recommendation performance.

본 실시예를 설명하기에 앞서 기존의 TransRec을 설명한다. Before explaining this embodiment, existing TransRec will be described.

도 1은 종래기술에 따른 TransRec을 적용하여 아이템을 추천하는 과정을 설명하기 위한 도면이다. Figure 1 is a diagram illustrating the process of recommending an item by applying TransRec according to the prior art.

도 1을 참조하면, TransRec은 지금까지 구매한 아이템 정보와 구매자 정보를 전환 공간에 임베딩하여 가장 유사한 아이템을 추천한다. Referring to Figure 1, TransRec recommends the most similar item by embedding information on items purchased so far and buyer information in the conversion space.

TransRec은 지식 그래프 임베딩 방식을 이용한 것으로, 지식 그래프 임베딩은 (모나리자(h), 창작되었다(r), 레오나르도 다 빈치(t)) 라는 지식 표현이 있다면 "모나리자", "창작되었다", "레오나르도 다 빈치" 개념을 전환 공간에 각각 임베딩하였을 때, 모나리자 벡터와 창작되었다 벡터를 합한 값이 레오나르도 다 빈치 벡터와 유사할 것이라는 개념이다. TransRec uses a knowledge graph embedding method. Knowledge graph embedding means that if there is a knowledge expression such as (Mona Lisa (h), was created (r), Leonardo da Vinci (t)), then "Mona Lisa", "was created", and "Leonardo da Vinci (t)". The concept is that when the "Vinci" concept is embedded in the transition space, the sum of the Mona Lisa vector and the created vector will be similar to the Leonardo da Vinci vector.

도 2는 지식 그래프 임베딩의 대표적 알고리즘인 TransE의 정의를 나타낸 것이다. Figure 2 shows the definition of TransE, a representative algorithm of knowledge graph embedding.

도 2를 참조하면, h,r이 주어졌을 때 h+r-t가 가장 최소화되는 t를 찾아 최적의 지식 표현을 찾는 알고리즘이다. TransRec에서는 지식 그래프 임베딩 방식을 적용하여 이전에 구매한 아이템 정보를 임베딩한 아이템 벡터와 구매자 정보를 임베딩한 구매자 벡터를 더한 값과 가장 높은 유사도를 가진 아이템 벡터를 찾아 해당 아이템을 추천 아이템으로 결정한다. Referring to Figure 2, given h and r, this is an algorithm that finds the optimal knowledge expression by finding t that minimizes h+r-t. TransRec applies the knowledge graph embedding method to find the item vector with the highest similarity to the sum of the item vector embedding previously purchased item information and the buyer vector embedding buyer information, and determines the item as a recommended item.

본 실시예에서도 이와 같은 방식을 이용하여, 구매자 정보와 아이템 정보를 임베딩한 벡터의 합과 가장 유사한 값을 가진 아이템을 추천한다. In this embodiment, the same method is used to recommend an item with a value most similar to the sum of vectors embedding buyer information and item information.

하지만 구매자 벡터에 지금까지 구매한 아이템 및 구매 순서에 딥러닝 알고리즘을 적용하여 가중치를 부여하며, 아이템 벡터는 구매자가 구매한 아이템들을 그래프로 나타내어 각 아이템이 이전에 구매한 아이템 리스트와 이후에 구매한 아이템 리스트의 특성을 포함하여 특정 시점 이전 및 이후에 구매한 아이템과의 상관관계 및 해당 아이템의 특성을 함께 포함하여 벡터로 표현한다. However, the buyer vector is weighted by applying a deep learning algorithm to the items purchased so far and the purchase order, and the item vector represents the items purchased by the buyer in a graph, so that each item is a list of previously purchased items and the purchase order later. It is expressed as a vector, including the characteristics of the item list, the correlation with items purchased before and after a specific point in time, and the characteristics of the item.

도 3은 본 발명의 바람직한 일 실시예에 따른 개인화된 아이템 추천 장치의 구성을 도시한 도면이고, 도 4는 본 실시예에 따른 구매 이력을 기반으로 아이템을 추천해주는 흐름도를 나타낸 것이다. Figure 3 is a diagram illustrating the configuration of a personalized item recommendation device according to a preferred embodiment of the present invention, and Figure 4 is a flowchart showing an item recommendation based on purchase history according to this embodiment.

도 3에 도시된 바와 같이, 본 실시예에 따른 장치는 프로세서(300) 및 메모리(302)를 포함할 수 있다. As shown in FIG. 3, the device according to this embodiment may include a processor 300 and a memory 302.

여기서, 프로세서(300)는 컴퓨터 프로그램을 실행할 수 있는 CPU(central processing unit)나 그밖에 가상 머신 등을 포함할 수 있다. Here, the processor 300 may include a central processing unit (CPU) capable of executing a computer program or another virtual machine.

메모리(302)는 고정식 하드 드라이브나 착탈식 저장 장치와 같은 불휘발성 저장 장치를 포함할 수 있다. 착탈식 저장 장치는 컴팩트 플래시 유닛, USB 메모리 스틱 등을 포함할 수 있다. 메모리(302)는 각종 랜덤 액세스 메모리와 같은 휘발성 메모리도 포함할 수 있다.Memory 302 may include a non-volatile storage device, such as a non-removable hard drive or a removable storage device. Removable storage devices may include compact flash units, USB memory sticks, etc. Memory 302 may also include volatile memory, such as various types of random access memory.

이와 같은 메모리(302)에는 프로세서(300)에 의해 실행 가능한 프로그램 명령어들이 저장되며, 프로그램 명령어들을 통해 도 4와 같은 과정이 수행된다. Program instructions executable by the processor 300 are stored in the memory 302, and the process shown in FIG. 4 is performed through the program instructions.

도 4를 참조하면, 본 실시예에 따른 장치는 구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받고(단계 400), 구매 이력에 셀프 어텐션 메커니즘을 적용하여 가중치를 산출한다(단계 402).Referring to FIG. 4, the device according to this embodiment receives a purchase item list, a purchase history including purchase times of items included in the purchase item list, and an item purchase log including a buyer ID (step 400), A weight is calculated by applying a self-attention mechanism to the purchase history (step 402).

단계 402는 구매 아이템 리스트에 포함된 각 아이템의 구매 순서를 고려하여 각 아이템에 대한 가중치를 산출하는 과정이다. Step 402 is a process of calculating a weight for each item by considering the purchase order of each item included in the purchase item list.

다음으로 단계 402에서 산출된 가중치가 반영된 제1 구매자 벡터를 생성한다(단계 404).Next, a first buyer vector reflecting the weight calculated in step 402 is generated (step 404).

도 5는 본 실시예에 따른 제1 구매자 벡터를 생성을 위한 가중치 산출 과정을 나타낸 도면이다. Figure 5 is a diagram showing the weight calculation process for generating the first buyer vector according to this embodiment.

제1 구매자 벡터를 생성하기 위해 참조할 구매 아이템의 갯수 k는 추천 알고리즘 사용자가 임의로 설정할 수 있다. 예를 들어, k=50이라고 설정할 경우, 추천 알고리즘은 구매자가 50번째 전부터의 구매 이력을 사용하게 된다. The number k of purchase items to be referenced to generate the first buyer vector can be arbitrarily set by the recommendation algorithm user. For example, if you set k=50, the recommendation algorithm will use the buyer's purchase history from the 50th time ago.

도 5를 참조하면, 본 실시예에 따른 순차 데이터를 이용한 추천 알고리즘에서 구매한 아이템의 시간적 순서 정보가 중요한 역할을 하므로, 각 아이템의 시간적 위치 정보를 위치 임베딩 알고리즘으로 계산하여 각 아이템에 대한 가중치를 산출한다. Referring to FIG. 5, since the temporal order information of purchased items plays an important role in the recommendation algorithm using sequential data according to this embodiment, the temporal location information of each item is calculated using a location embedding algorithm to determine the weight for each item. Calculate

가중치 산출을 위해 구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력에 셀프 어텐션(self-attention) 매커니즘을 적용한다. To calculate the weight, a self-attention mechanism is applied to the purchase history including the purchase item list and the purchase time of the items included in the purchase item list.

또한, 본 실시예에 따른 장치는 상기한 구매 이력을 기반으로 서로 다른 시점마다 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그래프를 생성하고(단계 406), 생성된 그래프에 GNN(Graph Neural Network)를 적용하여 아이템 벡터를 생성한다(단계 408).In addition, the device according to this embodiment generates a graph representing the correlation between at least some items included in the purchase item list at different time points based on the above-described purchase history (step 406), and adds a GNN (GNN) to the generated graph. Graph Neural Network) is applied to generate an item vector (step 408).

도 6은 본 실시예에 따른 아이템 벡터의 생성을 위해 아이템의 구매 이력을 기반으로 아이템 노드들을 이어 그래프를 작성하는 것을 예시적으로 도시한 도면이다. FIG. 6 is a diagram illustrating an example of creating a graph by connecting item nodes based on the purchase history of the item to generate an item vector according to this embodiment.

도 6에서 그래프는 방향을 가진 그래프이며, 미리 설정된 시간 간격의 서로 다른 시점별로 생성되며, 제1 시점에 구매한 아이템에 상응하는 제1 노드 및 상기 제1 노드와 간선으로 연결되며 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템에 상응하는 하나 이상의 제2 노드를 포함한다. In FIG. 6, the graph is a directed graph, is generated at different time points at preset time intervals, is connected to a first node corresponding to the item purchased at the first time point, and the first node is connected to the first point in time. It includes one or more second nodes corresponding to items purchased at a time corresponding to a predetermined time interval before and after .

도 6에서 회색 직사각형으로 표시한 노드를 기준으로, 이후에 구매한 아이템은 주황색 화살표로 연결하고, 이전에 구매한 아이템은 파란색 화살표로 연결하여 표현하였다. Based on the nodes indicated by gray rectangles in Figure 6, items purchased later are connected with orange arrows, and items purchased previously are connected with blue arrows.

아이템 노드 사이의 간선은 최근에 구매한 아이템을 기준으로 하지 않고, 구매 시점으로부터 미리 설정된 기간이 지난 시점을 기준으로 분리한다. The edges between item nodes are separated not based on the recently purchased item, but based on the time when a preset period has elapsed from the time of purchase.

미리 설정된 기간은 추천 알고리즘 사용자가 임의로 설정할 수 있다. The preset period can be arbitrarily set by the recommendation algorithm user.

이때, 존재하는 기간이 추천 알고리즘 사용자가 설정한 기간보다 적게 존재한다면, 아이템 노드는 존재하는 기간만큼 타 노드와 연결될 수 있다. At this time, if the existing period is less than the period set by the recommendation algorithm user, the item node can be connected to other nodes for the existing period.

도 6의 오른쪽은 3번째로 구매한 아이템에 상응하는 노드가 다른 아이템의 노드들과 연결된 모습을 나타낸 것이다. The right side of Figure 6 shows the node corresponding to the third purchased item connected to the nodes of other items.

그래프에서 각 노드를 연결하는 간선은 가중치를 가진다. 만약 n이 3이라면, 노드를 연결하는 간선은 1/3로 정의된다. The edges connecting each node in the graph have weights. If n is 3, the edge connecting the nodes is defined as 1/3.

하지만 도 6에서 3번째 구매한 아이템을 기준으로 그래프를 작성할 경우, 이전 시점에는 2개의 아이템만이 존재하므로 이전 시점의 아이템과의 간선은 1/2로 정의된다. However, when drawing a graph based on the third purchased item in Figure 6, since there are only two items at the previous time, the edge with the item at the previous time is defined as 1/2.

본 실시예에 따르면, 단계 406에서 생성한 그래프를 바탕으로, 그래프 분석에 주로 사용되는 그래프 뉴럴 네트워크 알고리즘을 이용하여 시간에 따른 구매 아이템을 나타내는 그래프의 노드를 임베딩한다. 아이템 노드는 고유의 특성값을 가지며, 자신과 전혀 상관없는 아이템보다 비슷한 특성값을 가진 아이템 노드에서 더 유익한 정보를 얻을 수 있다. According to this embodiment, based on the graph generated in step 406, nodes in the graph representing purchase items over time are embedded using a graph neural network algorithm mainly used in graph analysis. Item nodes have unique characteristic values, and more useful information can be obtained from item nodes with similar characteristic values than from items that are completely unrelated to the item.

따라서 아이템 노드와 간선으로 연결된 아이템 노드 사이의 연결 관계를 계산하여, 연결된 아이템이 아이템 노드와 같은 종류의 아이템이거나, 같은 상황에서 주로 구매하는 아이템일 경우 가중치를 더 많이 부여한다. Therefore, the connection relationship between an item node and an item node connected by a trunk line is calculated, and more weight is given if the connected item is the same type of item as the item node or is an item that is usually purchased in the same situation.

또한 추천 시스템은 가장 최근에 구매한 아이템에 영향을 받기 때문에, 각 아이템 노드에 최근에 구매한 아이템 노드의 특성값을 더하여 아이템 노드를 재 임베딩함으로써 아이템 노드가 시간 특성을 보유할 수 있도록 한다. Additionally, because the recommendation system is influenced by the most recently purchased item, the item node is re-embedded by adding the characteristic value of the recently purchased item node to each item node, allowing the item node to retain time characteristics.

구매한 아이템들간의 관계를 고려하기 위하여 그래프 구조의 분석에 높은 성능을 보이는 그래프 뉴럴 네트워크 알고리즘을 이용하여 아이템 벡터를 나타내므로, 아이템 벡터는 이전, 이후에 구매한 아이템과의 상관관계뿐만 아니라 자기 자신의 정보를 효과적으로 나타낼 수 있어 아이템 정보를 유연하게 나타낼 수 있다. In order to consider the relationship between purchased items, the item vector is expressed using a graph neural network algorithm that shows high performance in graph structure analysis, so the item vector not only has correlations with previously and subsequently purchased items, but also itself. Information can be displayed effectively, allowing item information to be displayed flexibly.

다시 도 4를 참조하면, 본 실시예에 따른 장치는 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생성하고(단계 410), 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하여 추천 아이템을 결정한다(단계 412).Referring again to FIG. 4, the device according to this embodiment generates an updated second buyer vector using the first buyer vector and the item vector (step 410), and generates a similarity score using the second buyer vector and knowledge graph embedding. Calculate to determine a recommended item (step 412).

상기한 바와 같이, 본 실시예에 따른 장치는 구매자 정보와 아이템 정보를 정의한 후 각각의 정보를 전환 공간에 임베딩하여 구매자 정보 및 아이템 정보와 가장 유사한 값을 지닌 후보 아이템을 추천 아이템으로 결정한다. As described above, the device according to this embodiment defines buyer information and item information and then embeds each piece of information in the conversion space to determine the candidate item with the most similar values to the buyer information and item information as the recommended item.

구매자의 정보를 p, 아이템의 정보를 r, 추천해줄 아이템의 정보를 q라고 했을 때,

Figure 112021088376010-pat00011
으로 표현할 수 있다. When the buyer's information is p, the item information is r, and the information of the item to be recommended is q,
Figure 112021088376010-pat00011
It can be expressed as

즉, 추천해줄 아이템의 리스트 Q 중에서 p+r과 q간의 유사도가 가장 높이 나온 q를 추천해준다. In other words, among the list Q of items to be recommended, q with the highest similarity between p+r and q is recommended.

추천 시스템은 평가의 척도로 정확성이 아닌, 구매자가 원하는 상품과의 연관성이므로, 구매자와 아이템 정보의 임베딩에 대해 유연성을 필요로 한다. Since the recommendation system is not accuracy as a measure of evaluation, but rather relevance to the product desired by the buyer, it requires flexibility in embedding buyer and item information.

아래의 수학식에 나타난 바와 같이, 유사도 점수는 다음의 수학식에 따라 계산되며, 후보 아이템들 중 가장 유사도 점수가 미리 설정된 순위 이상의 상위로 랭크되는 아이템을 추천 아이템으로 결정한다. As shown in the equation below, the similarity score is calculated according to the following equation, and the item whose similarity score is ranked higher than the preset rank among the candidate items is determined as the recommended item.

여기서, 는 제1 구매자 벡터, 는 아이템 벡터, 는 후보 아이템 벡터, 는 제2 구매자 벡터이다. here, is the first buyer vector, is the item vector, is the candidate item vector, is the second buyer vector.

또한, 제2 구매자 벡터는 아래의 수학식에 따라 생성된다. Additionally, the second buyer vector is generated according to the equation below.

여기서, 는 시그모이드 함수 이고, 이며, 는 learnable parameter, b는 바이어스 벡터이다. here, is the sigmoid function ego, and is a learnable parameter, and b is a bias vector.

도 7은 본 실시예에 따른 본 실시예에 따른 제2 구매자 벡터와 아이템 벡터를 이용하여 추천 아이템을 결정하는 과정을 그래프로 나타낸 것이다. Figure 7 graphically illustrates the process of determining a recommended item using the second buyer vector and the item vector according to this embodiment.

도 7에서 p는 제1 구매자 벡터, r은 아이템 벡터, p'는 제2 구매자 벡터이며, q는 제2 구매자 벡터와 아이템 벡터를 통해 결정된 추천 아이템이다.In Figure 7, p is the first buyer vector, r is the item vector, p' is the second buyer vector, and q is the recommended item determined through the second buyer vector and the item vector.

도 7에 도시된 바와 같이, 본 실시예에서는 제1 구매자 벡터가 아닌 갱신된 제2 구매자 벡터를 이용한다.As shown in FIG. 7, this embodiment uses the updated second buyer vector rather than the first buyer vector.

즉, 제1 구매자 벡터에 아이템과의 상관관계를 반영한 가중치가 적용된 제2 구매자 벡터를 정의하여, 구매자 정보와 아이템 정보의 상관관계를 통해 추천 아이템을 계산할 때 기존의 추천 시스템보다 넓은 측면에서 아이템을 추천하여 고객의 추천 만족도를 높일 수 있도록 하였다. In other words, by defining a second buyer vector to which a weight reflecting the correlation with the item is applied to the first buyer vector, when calculating a recommended item through the correlation between buyer information and item information, the item is evaluated in a broader sense than the existing recommendation system. The recommendation was made to increase customer satisfaction with the recommendation.

바람직하게, 제2 구매자 벡터는 제1 구매자 벡터와 아이템 벡터를 더한 값에 엔트로피 계산을 통해 계산된 가중치를 제1 구매자 벡터에 반영하여 산출된다. Preferably, the second buyer vector is calculated by adding the first buyer vector and the item vector and reflecting the weight calculated through entropy calculation in the first buyer vector.

본 실시예에 따르면, 아이템 벡터와 구매자 벡터를 분석하여 구매자 벡터에 가중치를 부여함으로써 구매자 벡터가 구매자의 구매 이력과 구매한 아이템의 정보를 포괄적으로 나타낼 수 있도록 한다.According to this embodiment, the item vector and the buyer vector are analyzed and a weight is assigned to the buyer vector so that the buyer vector can comprehensively represent the buyer's purchase history and information on the purchased item.

상기한 본 발명의 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가지는 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.The above-described embodiments of the present invention have been disclosed for illustrative purposes, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention, and such modifications, changes, and additions will be possible. should be regarded as falling within the scope of the patent claims below.

Claims (10)

개인화된 아이템 추천 장치로서,
프로세서; 및
상기 프로세서에 연결되는 메모리를 포함하되,
상기 메모리는,
구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받고,
상기 구매 이력에 셀프 어텐션 메커니즘을 적용하여 산출된 가중치가 반영된 제1 구매자 벡터를 생성하고,
상기 구매 이력을 기반으로 서로 다른 시점마다 상기 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그래프를 생성하고,
상기 생성된 그래프를 이용하여 아이템 벡터를 생성하고,
상기 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생성하고,
상기 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하여 추천 아이템을 결정하도록,
상기 프로세서에 의해 실행 가능한 프로그램 명령어들을 저장하되,
상기 그래프는 미리 설정된 시간 간격의 서로 다른 시점별로 생성되며, 제1 시점에 구매한 아이템에 상응하는 제1 노드 및 상기 제1 노드와 간선으로 연결되며 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템에 상응하는 하나 이상의 제2 노드를 포함하고,
상기 간선은 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템의 개수에 따른 가중치가 부여되며,
상기 제2 구매자 벡터는 상기 제1 구매자 벡터와 상기 아이템 벡터를 더한 값에 엔트로피 계산을 통해 가중치를 계산하고, 상기 계산된 가중치를 상기 제1 구매자 벡터에 부여하여 생성되는 개인화된 아이템 추천 장치.
As a personalized item recommendation device,
processor; and
Including a memory connected to the processor,
The memory is,
Receive input of a purchase item list, a purchase history including the purchase time of the items included in the purchase item list, and an item purchase log including the buyer ID,
Generate a first buyer vector reflecting the weight calculated by applying a self-attention mechanism to the purchase history,
Generating a graph showing the correlation between at least some items included in the purchased item list at different times based on the purchase history,
Create an item vector using the generated graph,
Generating an updated second buyer vector using the first buyer vector and the item vector,
To determine a recommended item by calculating a similarity score using the second buyer vector and knowledge graph embedding,
Store program instructions executable by the processor,
The graph is generated at different time points at preset time intervals, is connected to a first node corresponding to the item purchased at the first time point, and the first node is connected to the first node, and is connected to the first node at a predetermined time interval before and after the first time point. Includes one or more second nodes corresponding to the item purchased at the time corresponding to,
The trunk line is given a weight according to the number of items purchased at a time corresponding to a predetermined time interval before and after the first time point,
The second buyer vector is a personalized item recommendation device that is generated by calculating a weight through entropy calculation to the value obtained by adding the first buyer vector and the item vector, and assigning the calculated weight to the first buyer vector.
삭제delete 제1항에 있어서,
상기 프로그램 명령어들은,
그래프 뉴럴 네트워크 알고리즘을 이용하여 상기 서로 다른 시점별로 생성된 그래프에 포함되는 노드를 전환 공간에 임베딩하여 상기 구매 아이템 리스트에 포함된 모든 아이템의 특성값을 결정하는 개인화된 아이템 추천 장치.
According to paragraph 1,
The program commands are:
A personalized item recommendation device that determines the characteristic values of all items included in the purchase item list by embedding nodes included in the graph generated at different viewpoints in the transition space using a graph neural network algorithm.
삭제delete 삭제delete 제1항에 있어서,
상기 제1 구매자 벡터는 상기 구매 아이템 리스트에 포함된 아이템의 구매 순서를 고려하여 생성되는 개인화된 아이템 추천 장치.
According to paragraph 1,
A personalized item recommendation device in which the first buyer vector is generated by considering the purchase order of items included in the purchase item list.
제1항에 있어서,
상기 유사도 점수는 다음의 수학식에 따라 계산되며, 후보 아이템들 중 가장 유사도 점수가 미리 설정된 순위 이상의 상위로 랭크되는 아이템을 추천 아이템으로 결정하는 개인화된 아이템 추천 장치.
[수학식]

여기서, 는 제1 구매자 벡터, 는 아이템 벡터, 는 후보 아이템 벡터, 는 제2 구매자 벡터임
According to paragraph 1,
The similarity score is calculated according to the following equation, and a personalized item recommendation device determines the item with the highest similarity score higher than a preset rank among the candidate items as the recommended item.
[Equation]

here, is the first buyer vector, is the item vector, is the candidate item vector, is the second buyer vector
제7항에 있어서,
상기 제2 구매자 벡터는 아래의 수학식에 따라 생성되는 개인화된 아이템 추천 장치.
[수학식]

여기서, 는 시그모이드 함수 이고, 이며, 는 learnable parameter, b는 바이어스 벡터임
In clause 7,
A personalized item recommendation device in which the second buyer vector is generated according to the equation below.
[Equation]

here, is the sigmoid function ego, and is a learnable parameter, b is a bias vector
프로세서 및 메모리를 포함하는 장치에서 개인화 된 아이템을 추천하는 방법으로서,
구매 아이템 리스트 및 상기 구매 아이템 리스트에 포함된 아이템의 구매 시 각을 포함하는 구매 이력 및 구매자 아이디를 포함하는 아이템 구매 로그를 입력 받는 단계;
상기 구매 이력에 셀프 어텐션 메커니즘을 적용하여 산출된 가중치가 반영된 제1 구매자 벡터를 생성하는 단계;
상기 구매 이력을 기반으로 서로 다른 시점마다 상기 구매 아이템 리스트에 포함된 적어도 일부의 아이템간의 상관관계를 나타내는 그 래프를 생성하는 단계;
상기 생성된 그래프를 이용하여 아이템 벡터를 생성하는 단계;
상기 제1 구매자 벡터와 아이템 벡터를 이용하여 갱신된 제2 구매자 벡터를 생 성하는 단계; 및
상기 제2 구매자 벡터와 지식 그래프 임베딩을 이용한 유사도 점수를 계산하 여 추천 아이템을 결정하는 단계를 포함하되,
상기 그래프는 미리 설정된 시간 간격의 서로 다른 시점별로 생성되며, 제1 시점에 구매한 아이템에 상응하는 제1 노드 및 상기 제1 노드와 간선으로 연결되며 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템에 상응하는 하나 이상의 제2 노드를 포함하고,
상기 간선에는 상기 제1 시점의 이전 및 이후의 소정 시간 간격에 해당하는 시점에 구매한 아이템의 개수에 따른 가중치가 부여되며,
상기 제2 구매자 벡터는 상기 제1 구매자 벡터와 상기 아이템 벡터를 더한 값에 엔트로피 계산을 통해 가중치를 계산하고, 상기 계산된 가중치를 상기 제1 구매자 벡터에 부여하여 생성되는 개인화된 아이템 추천 방법.
1. A method for recommending personalized items on a device comprising a processor and memory, comprising:
Receiving a purchase item list, a purchase history including each purchase of an item included in the purchase item list, and an item purchase log including a buyer ID;
generating a first buyer vector reflecting weights calculated by applying a self-attention mechanism to the purchase history;
generating a graph representing a correlation between at least some items included in the purchased item list at different times based on the purchase history;
Generating an item vector using the generated graph;
generating an updated second buyer vector using the first buyer vector and the item vector; and
Including determining a recommended item by calculating a similarity score using the second buyer vector and knowledge graph embedding,
The graph is generated at different time points at preset time intervals, is connected to a first node corresponding to the item purchased at the first time point, and the first node is connected to the first node, and is connected to the first node at a predetermined time interval before and after the first time point. Includes one or more second nodes corresponding to the item purchased at the time corresponding to,
The trunk line is given a weight according to the number of items purchased at a time corresponding to a predetermined time interval before and after the first time point,
A personalized item recommendation method in which the second buyer vector is generated by calculating a weight through entropy calculation to the sum of the first buyer vector and the item vector, and assigning the calculated weight to the first buyer vector.
제9항에 따른 방법을 수행하는 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.A computer program stored in a computer-readable recording medium that performs the method according to claim 9.
KR1020210100596A 2021-07-30 2021-07-30 Method and apparatus for personalized item recommendation applying knowledge graph embedding KR102645901B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210100596A KR102645901B1 (en) 2021-07-30 2021-07-30 Method and apparatus for personalized item recommendation applying knowledge graph embedding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210100596A KR102645901B1 (en) 2021-07-30 2021-07-30 Method and apparatus for personalized item recommendation applying knowledge graph embedding

Publications (2)

Publication Number Publication Date
KR20230018728A KR20230018728A (en) 2023-02-07
KR102645901B1 true KR102645901B1 (en) 2024-03-08

Family

ID=85253227

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210100596A KR102645901B1 (en) 2021-07-30 2021-07-30 Method and apparatus for personalized item recommendation applying knowledge graph embedding

Country Status (1)

Country Link
KR (1) KR102645901B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014203442A (en) * 2013-04-10 2014-10-27 株式会社Nttドコモ Recommendation information generation device and recommendation information generation method
US20210065278A1 (en) * 2019-08-27 2021-03-04 Nec Laboratories America, Inc. Asymmetrically hierarchical networks with attentive interactions for interpretable review-based recommendation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190119389A (en) * 2018-04-12 2019-10-22 한양대학교 산학협력단 Method for recommending items, computing system and program using the same
KR20200114969A (en) 2019-08-01 2020-10-07 주식회사 페이크럭스컴퍼니 Apparatus and method for recommending goods based on clustering of transaction history data
KR102342678B1 (en) * 2019-08-08 2021-12-27 네이버 주식회사 Method and system of real-time graph-based embedding for personalized content recommendation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014203442A (en) * 2013-04-10 2014-10-27 株式会社Nttドコモ Recommendation information generation device and recommendation information generation method
US20210065278A1 (en) * 2019-08-27 2021-03-04 Nec Laboratories America, Inc. Asymmetrically hierarchical networks with attentive interactions for interpretable review-based recommendation

Also Published As

Publication number Publication date
KR20230018728A (en) 2023-02-07

Similar Documents

Publication Publication Date Title
US20210334627A1 (en) Methods and systems for predicting
CN110598847B (en) Method and device for processing interactive sequence data
Bajari et al. Machine learning methods for demand estimation
CN110427560B (en) Model training method applied to recommendation system and related device
US20160012088A1 (en) Parallel collective matrix factorization framework for big data
CN113256367B (en) Commodity recommendation method, system, equipment and medium for user behavior history data
CN110008973B (en) Model training method, method and device for determining target user based on model
EP3564889A1 (en) Systems and methods for learning and predicting events
US10482491B2 (en) Targeted marketing for user conversion
CN110689110B (en) Method and device for processing interaction event
JP7460703B2 (en) Improved recommender system and method using shared neural item representations for cold-start recommendation
CN107506479B (en) A kind of object recommendation method and apparatus
US20150161549A1 (en) Predicting outcomes of a modeled system using dynamic features adjustment
CN111402003B (en) System and method for realizing user-related recommendation
KR102645901B1 (en) Method and apparatus for personalized item recommendation applying knowledge graph embedding
JP7423694B2 (en) Machine learning methods, training methods, prediction systems, and non-transitory computer-readable media
JP7441270B2 (en) Machine learning methods, training methods, prediction systems, and non-transitory computer-readable media
JP5835802B2 (en) Purchase forecasting apparatus, method, and program
CN112150206B (en) Method and equipment for predicting user interested article
JP2009265729A (en) Estimating device and method, and program
US11410220B2 (en) Exploration for interactive recommendation system, method, and computer program product
CN111598638B (en) Click rate determination method, device and equipment
Brafman et al. Recommendation as a Stochastic Sequential Decision Problem.
JP7310827B2 (en) LEARNING DEVICE, LEARNING METHOD, AND PROGRAM
JP7429260B2 (en) Machine learning methods, training methods, prediction systems, and non-transitory computer-readable media

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant