<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[recsys-summarize - Medium]]></title>
        <description><![CDATA[A space for reading and summarizing recommender system papers. - Medium]]></description>
        <link>https://medium.com/recsys-summarize?source=rss----f6e778de8ea9---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>recsys-summarize - Medium</title>
            <link>https://medium.com/recsys-summarize?source=rss----f6e778de8ea9---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:50:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/recsys-summarize" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[[WSDM’23]Towards Universal Cross-Domain Recommendation — review]]></title>
            <link>https://medium.com/recsys-summarize/wsdm23-towards-universal-cross-domain-recommendation-review-47c2a0077950?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/47c2a0077950</guid>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sat, 18 May 2024 16:31:03 GMT</pubDate>
            <atom:updated>2024-05-18T16:30:37.902Z</atom:updated>
            <content:encoded><![CDATA[<h3>[WSDM’23]Towards Universal Cross-Domain Recommendation — review</h3><h3>Background</h3><p><strong>E-commerce services</strong> are making numerous attempts to expand the domains of products they offer for rapid and continuous growth. Fashion companies are selling furniture, and food companies are selling cosmetics.</p><p>When providing recommendations in a new domain, it is challenging to serve satisfactory recommendations by just applying the existing recommendation model that worked well in the main domain. This is because user behavior patterns vary by domain and there is insufficient interaction data (clicks, cart additions, purchases, etc.) in new domain.</p><p>To address these issues, the field of study known as <strong>cross-domain recommendation (CDR)</strong> is being researched. CDR utilizes interaction data from popular domains to supplement the insufficient interactions when recommending products in new or minor domains. Today, I will summarize the paper “<em>Towards Universal Cross-Domain Recommendation</em>” published in 2023 with my personal opinions.</p><p>You can access to it’s implementation <a href="https://github.com/cjx96/UniCDR">here</a>.</p><h3>Problems to solve</h3><p>Before we begin, let’s define the terms mentioned in the explanation: popular/existing domains are referred to as the <strong>source domain</strong>, and new/minor domains are referred to as the <strong>target domain</strong>.</p><p>The field of CDR can be broadly categorized into two types, as illustrated in the diagram below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R43CZ6TpT9HjnUnUC_QbsA.png" /></figure><ol><li><strong>Intra-domain recommendation</strong>: A method that provides more accurate recommendations to <em>users of the target domain </em>by utilizing interactions from the source domain.</li><li><strong>Inter-domain recommendation</strong>: A method that provides more accurate recommendations to <em>users who have never used the target domain </em>by utilizing interactions from the source domain.</li></ol><p>Both approaches share the commonality of utilizing interactions from the source domain, but they differ based on <em>whether the target users have experienced both domains.</em> While previous studies have typically focused on only one approach, in real-world services, when launching a new domain, the situations assumed in by both approaches occur simultaneously. Therefore, a model that can handle both approaches together is necessary.</p><p>This paper propose <strong>UniCDR</strong>, a model designed to cover both intra-domain and inter-domain recommendation scenarios. This model learns <strong>domain-specific</strong> representations, which contain information unique to a single domain, and <strong>domain-shared</strong> representations, which capture information common across multiple domains, for both users and items.</p><p>By utilizing UniCDR, both situations can be addressed: <em>in intra-domain recommendations, both domain-specific and domain-shared representations are used together, while in inter-domain recommendations, only the domain-shared representation is used.</em></p><h3><strong>UniCDR</strong></h3><p>Before explaining the problem, the authors assume four scenarios where CDR can be applied and conduct experiments for each scenario. The four scenarios are as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*BnIwmKVe7Xmj1CV8d5-eog.png" /></figure><ul><li><strong>Dual vs. Multi</strong>: Whether there are 2 domains or more than 3 domains.</li><li><strong>User vs. Item Overlapping</strong>: Whether users or items overlap across multiple domains.</li><li><strong>Intra vs. Inter</strong>: Whether there are interactions within the target domain or not.</li></ul><p>In most cases, scenarios 1, 2, and 4 are expected to occur frequently in real situations. Scenario 3 seems to be more relevant in platforms selling products across multiple countries, such as global e-commerce platforms.</p><p>The model description will proceed based on scenarios 1 and 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWMJRha08LiiLpoYq4ZmGg.png" /></figure><h4>Embedding Layer</h4><p>In UniCDR, users and items have embeddings specific to each domain as well as domain-agnostic embeddings.</p><p>For example, in scenario 1, users have three embeddings (source domain embedding, target domain embedding, shared embedding), while items have two embeddings (source or target domain embedding, shared embedding). This can be expressed mathematically as follows: (<strong><em>U</em></strong> = User, <strong><em>V</em></strong> = Item)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*C7aGszchThOvzP8VxL98Lg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*IYfMzFIrGimrmTBugVua8Q.png" /></figure><h4>Aggregator Architecture</h4><p>The <strong>aggregator</strong> transforms the embeddings of items in a user’s history (interaction sequence) into a single embedding. The authors propose three types of aggregators:</p><ol><li><strong>Mean-pooling aggregator</strong>: Calculates the average embedding of the items and then applies linear projection. This is the simplest method.</li><li><strong>User-attention-pooling aggregator</strong>: Computes the attention scores between each item in the history and the user embedding, incorporates these scores into a weighted sum, and then applies linear projection. This method allows for giving more consideration to relatively important items.</li><li><strong>Item-similarity-pooling aggregator</strong>: Utilizes the <a href="https://arxiv.org/abs/1905.03375">EASE^R</a> model to obtain the item-item similarity matrix, then performs matrix multiplication with the user-item interaction matrix. The resulting weighted sum uses the values from each item column of the user row as weights, followed by linear projection.</li></ol><p>These aggregators are not novel, and they can be replaced by any model that can represent the user sequence as a single embedding. Therefore, specific details are not provided here. For further information, please refer to the paper.</p><p>Additionally, Figure 3 indicates that different aggregators can be applied to each domain.</p><h4>Domain-specific &amp; domain-shared representation</h4><p>Once passed through the embedding layer and aggregator as introduced above, it is possible to obtain domain-specific (<strong><em>X</em></strong> and <strong><em>Y</em></strong>) representations, as well as a domain-shared (<strong><em>S</em></strong>) representation, based on the user history <strong><em>H</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*sy5RxaigQw3WnnQcobXiXA.png" /></figure><p>At this point, <strong><em>H^X</em></strong> represents interactions with items occurring only in domain <strong><em>X</em></strong> within the user’s history, while <strong><em>H^S</em></strong> represents interactions occurring in all domains.</p><h4>Masking Mechanism and Contrastive Loss</h4><p><strong>Contrastive Learning (CL)</strong> in the recommendation domain involves training the model by maximizing the distance between positive pairs, created from original interaction data, and negative pairs generated randomly. A common method to create positive pairs involves masking a portion of the user sequence. UniCDR employs the following masking mechanisms:</p><ol><li><strong>Interaction masking</strong>: This is a typical masking technique where a certain proportion of interactions are masked in the user sequence by sampling from a Bernoulli distribution.</li><li><strong>Domain masking</strong>: As mentioned earlier, when making recommendations in inter-domain scenarios, only interactions from the source domain should be used. To ensure good performance in such cases, UniCDR applies domain masking by removing target domain items from the user sequence.</li></ol><p>By applying these masking mechanisms, domain-specific user sequences and the overall user sequence are re-generated. Then, the contrastive loss for domain <strong><em>X</em></strong> can be calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*hDFy4KjByuoH4xJzN87UKQ.png" /></figure><p>Within the first <strong><em>DISC(. , .)</em></strong>, the left-hand side represents the representation when <strong>interaction maskin</strong>g is applied to <strong><em>H^X</em></strong>, while the right-hand side represents the representation when <strong>interaction masking</strong> and <strong>domain masking</strong> are applied to <strong><em>H^S</em></strong>. The term <strong><em>((1 — DISC(. , .))</em></strong> represents the <strong>negative pair </strong>term with masking applied.</p><h4>Prediction Loss</h4><p>If the above loss is intended to learn good representation, then a prediction loss is also necessary for accurate predictions. This is calculated using the learned representations and item embeddings like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*vAbHqaww8sQYPYraECpMlw.png" /></figure><p>In a multi-domain scenario, the final training loss is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*SoYNjqM00KkRzYO2zBhGHQ.png" /></figure><h4>Model evaluation</h4><p>As mentioned earlier, model evaluation involves using both specific-domain representation and shared-domain representation in intra-domain situations, and using only the shared-domain representation in inter-domain situations to make recommendations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*NkqLuDefe1eTC6Al2MLoFQ.png" /><figcaption>intra-domain recommendation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*BmpnBafFr6FDB3O6BgxDgw.png" /><figcaption>inter-domain recommendation</figcaption></figure><h3>Experiment</h3><h4>Dataset</h4><ul><li>Scenario 1, 2: Amazon dataset</li><li>Scenario 3: Amazon dataset’s electronics category segmented into 5 domains based on countries</li><li>Scenario 4: Interaction data from 3 services provided by the MYbank platform</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*5g8Uu9GinZviZTVevpeJpw.png" /></figure><h4>Evaluation Method</h4><p>The leave-one-out method was employed, where for each ground truth, 999 random negative samples were generated for performance evaluation.</p><p>Normalized Discounted Cumulative Gain (NDCG) and Hit Ratio (HR) were used as accuracy metrics.</p><h4>Result 1: Accuracy comparison</h4><p>For space efficiency, only the results of scenarios 1 and 2 are attached. The aggregator was used differently depending on the scenario as follows, with the best-performing option selected experimentally.</p><ul><li>Scenario 1: User-attention aggregator</li><li>Scenario 2: Mean aggregator</li><li>Scenario 3: Item-similarity aggregator</li><li>Scenario 4: Mean aggregator</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*yGOnxEwECSC8YFD9X26IXw.png" /></figure><p>UniCDR demonstrates competitive results compared to the state-of-the-art (SOTA) in each scenario.</p><h4>Result 2: Effect of mask mechanism</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*7zFw7gn5Mld3T-Osh22oHw.png" /></figure><p>The results show that applying both interaction masking and domain masking together yielded the best performance.</p><h3>Conclusion &amp; Reflection</h3><ul><li>It’s commendable that various scenarios where CDR is applied were defined based on clear criteria, and experiments were conducted accordingly.</li><li>Before applying CDR, it seems necessary to analyze factors such as the number of users per domain and the overlap of users between domains.</li><li>Given that different scenarios seem to require different optimal aggregators in accuracy comparison experiments, selecting a suitable aggregator for each dataset appears crucial.</li><li>In the aggregator section, it might be worthwhile to explore more complex models like transformer-based or GNN-based models as alternatives to those mentioned in the paper.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47c2a0077950" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/wsdm23-towards-universal-cross-domain-recommendation-review-47c2a0077950">[WSDM’23]Towards Universal Cross-Domain Recommendation — review</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[WSDM’23]Towards Universal Cross-Domain Recommendation 리뷰]]></title>
            <link>https://medium.com/recsys-summarize/wsdm23-towards-universal-cross-domain-recommendation-%EB%A6%AC%EB%B7%B0-7ecbd53fa016?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/7ecbd53fa016</guid>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sat, 18 May 2024 14:24:00 GMT</pubDate>
            <atom:updated>2024-05-18T16:30:54.706Z</atom:updated>
            <content:encoded><![CDATA[<h3>배경</h3><p>이커머스 서비스가 빠르고 지속적인 성장을 위해 서비스하는 상품의 도메인을 확장하는 시도가 많이 보인다. 패션 회사에서 가구를 팔기도 하고, 식품 회사에서 화장품을 팔기도 한다.</p><p>새로운 도메인에서 추천을 제공할 때, 도메인 별로 사용자의 행동 패턴이 다르기도 하도 충분한 interaction 정보 (클릭, 장바구니, 구매 등)가 없기 때문에 기존 도메인에서 잘 동작하던 추천 모델을 그대로 적용하면 만족스런 추천을 제공하기 어렵다.</p><p>이런 문제를 해소하기 위해 연구되고 있는 분야가 <strong>cross-domain recommendation </strong>(이하 CDR)이다. CDR은 신규 도메인 또는 비주류 도메인 상품을 사용자에게 추천할 때 부족한 interaction정보를 보완하기 위해 인기가 많은 도메인에서 발생한 interaction 정보를 활용한다. 오늘은 2023년에 발표된 <strong><em>Towards Universal Cross-Domain Recommendation </em></strong>논문을 개인적인 의견을 섞어 정리한다.</p><p>논문에서 제안된 모델의 구현체는 <a href="https://github.com/cjx96/UniCDR">이곳</a>에서 확인할 수 있다.</p><h3>문제</h3><p>시작하기 앞서, 위 설명에서 말한 인기있는/기존 도메인은 <strong>source domain</strong>, 신규/비주류 도메인은 <strong>target domain</strong>으로 용어를 정의하고 시작한다.</p><p>CDR 분야는 아래 그림과 같이 크게 두가지로 구분할 수 있다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R43CZ6TpT9HjnUnUC_QbsA.png" /></figure><ol><li><strong>intra-domain recommendation</strong>: <strong>target domain을 사용하고 있는 사용자</strong>에게<em>, </em>source domain의 interaction을 활용해서 더 정확한 추천을 제공하는 방법</li><li><strong>inter-domain recommendation</strong>: <strong>target domain을 사용한 적 없는 사용자</strong>에게,<em> </em>source domain의 interaction을 활용해서 더 정확한 추천을 제공하는 방법</li></ol><p>두 접근법 모두 source domain의 interaction을 활용한다는 공통점이 있지만, 추천 대상 사용자가 양쪽 도메인을 모두 경험했는지 여부에 따라 달라진다. 기존 연구들은 두 접근법 중 하나만 다뤘지만, 실제 서비스에서 새로운 도메인 서비스를 시작한다면 두 접근법이 다루는 상황이 동시에 발생하기 때문에 이를 함께 다루 수 있는 모델이 필요하다.</p><p>저자들은 intra/inter-domain recommendation 상황을 모두 커버하기 위해 사용자와 상품에 대해서 한 도메인만 가진 정보를 담은 <strong>domain-specific representation</strong>과 여러 도메인에서 공통으로 발견되는 정보를 담은 <strong>domain-shared representation</strong>을 학습하는 모델인 <strong>UniCDR</strong>을 제안한다.</p><p><strong>UniCDR</strong>을 활용하면 <strong>intra-domain</strong> recommendation에서는 <strong>domain-specific representation</strong>과 <strong>domain-shared representation</strong>을 함께 사용하고, <strong>inter-domain</strong> recommendation에서는 <strong>domain-shared representation</strong>만 사용해서 두 상황에 모두 대응할 수 있다.</p><h3>제안 방법</h3><p>문제를 설명하기에 앞서, 저자들은 CDR이 적용될 수 있는 4가지 시나리오를 가정하고, 각 시나리오에 대해서 실험을 진행했다. 4가지 시나리오는 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*BnIwmKVe7Xmj1CV8d5-eog.png" /></figure><ul><li>Dual vs. Multi: 도메인이 2개인지 3개 이상 인지</li><li>user vs. item overlapping: 사용자 또는 상품이 여러 도메인에 중복해서 있는지</li><li>Intra vs. Inter: target domain에서의 interaction이 있는지 없는지</li></ul><p>대부분의 경우 1, 2, 4번 시나리오가 실제 상황에서 자주 발생할 것으로 예상된다. 3번 시나리오는 여러 국가에 상품을 판매하는 글로벌 플랫폼에서 발생할 수 있는 시나리오인 거 같다.</p><p>아래 모델 설명 부터는 <strong>시나리오 1, 2 번</strong>을 기준으로 진행한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWMJRha08LiiLpoYq4ZmGg.png" /></figure><h4><strong>Embedding Layer</strong></h4><p>UniCDR에서 사용자와 상품은 도메인별 임베딩 뿐만 아니라 도메인과 무관한 임베딩을 갖는다.</p><p>예를 들어 시나리오 1번 에서 사용자는 3개의 임베딩 (source domain embedding, target domain embedding, shared embedding)을 갖고, 상품은 2개의 임베딩 (source or target domain embedding, shared embedding) 을 갖는다. 수식으로 표현하면 아래와 같다. (<strong><em>U</em></strong> = 사용자, <strong><em>V</em></strong> = 상품)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*C7aGszchThOvzP8VxL98Lg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*IYfMzFIrGimrmTBugVua8Q.png" /></figure><h4><strong>Aggregator Architecture</strong></h4><p><strong>Aggregator</strong>는 사용자의 history (interaction sequence)에 있는 상품들의 임베딩을 하나의 임베딩으로 변환한다. 저자들은 3개의 aggregator를 제안했다.</p><ol><li><strong>Mean-pooling aggregator</strong>: 임베딩 평균을 계산한 뒤 linear projection 한다. 가장 간단한 방법</li><li><strong>User-attention-pooling aggregator</strong>: history의 각 상품과 사용자 임베딩과의 attention score를 계산하여 이를 반영한 weighted sum한뒤 linear projection한다. 상대적으로 중요한 상품을 더 많이 고려할 수 있다.</li><li><strong>Item-similarity-pooling aggregator</strong>: <a href="https://arxiv.org/abs/1905.03375"><strong>EASE^R</strong></a><strong> </strong>모델을 사용해서 item-item similarity matrix를 구한뒤, 이를 user-item interaction matrix와 행렬곱하여 사용자 row의 각 상품 column값을 weight로 사용하여 weighted sum한 뒤 linear projection한다.</li></ol><p>위 aggregator들은 novelty가 있지 않고, user sequence를 하나의 임베딩으로 표현할 수 있는 그 어떤 모델로도 교체할 수 있다고 생각하기 때문에 구체적인 설명은 하지 않았다. 자세한 내용을 원한다면 논문을 참고하길 바란다.</p><p>또한 Figure3를 보면 각 도메인별로 다른 aggregator를 가질 수 있다는 걸 알 수 있다.</p><h4><strong>Domain-specific &amp; domain-shared representation</strong></h4><p>위에서 소개한 embedding layer와 Aggregator를 거치면, 도메인 별(<em>X, Y) </em>그리고<em> </em>공용 (<em>S) </em>representation 을 구할 수 있다 (<strong><em>H</em></strong>는 user history).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*sy5RxaigQw3WnnQcobXiXA.png" /></figure><p>이때, <em>H^X</em>는 사용자의 history중 <em>X</em>도메인에서만 발생한 상품과의 interaction만 의미하고, <em>H^S</em>는 모든 도메인에서 발생한 interaction을 의미한다.</p><h4><strong>Masking Mechanism and Contrastive Loss</strong></h4><p>추천 도메인에서<strong> Contrastive Learning(</strong>이하 CL)은 original interaction data을 변형해서 만든 positive pair와 임의로 만든 negative pair의 차이를 최대화하는 식으로 모델을 학습하는 방법이다. positive pair를 만드는 방법에는 임의로 user sequence일부를 가리는 masking이 대표적인데, UniCDR은 아래의 masking mechanism을 사용한다.</p><ol><li>Interaction masking: 일반적인 masking기법으로, user sequence에서 일정 비율의 interaction을 베르누이 분포를 통해 샘플링해서 masking한다.</li><li>Domain masking: 초반부에 잠깐 얘기했듯이 inter-domain상황에서 추천을 하기 위해서는 source domain의 interaction만을 사용해서 추천해야한다. 이런 경우에도 잘 동작하게 하기 위해 user-sequence에서 target domain 상품을 제거하는 domain masking을 적용한다.</li></ol><p>masking mechanism을 적용해서 도메인별 user sequence와 전체 user sequence를 구한 뒤, contrastive loss를 아래와 같이 구할 수 있다 (도메인 X에 대해서)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*hDFy4KjByuoH4xJzN87UKQ.png" /></figure><p>첫번째 <strong><em>DISC(. , .)</em></strong> 좌항은 <strong><em>H^X</em></strong>에 interaction masking 했을 때 representation, 우항은 <strong><em>H^S</em></strong>에 interaction masking과 domain masking을 한 representation이다. <strong><em>(1-DISC(. , .))</em></strong> 항은 masking을 적용한 negative pair 항이다.</p><h4><strong>Prediction Loss</strong></h4><p>constrative loss가 좋은 representation을 위한거라면, 정확한 예측을 위한 prediction loss 또한 필요하다. 이는 학습한 representation과 상품 임베딩을 사용해서 계산한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*vAbHqaww8sQYPYraECpMlw.png" /></figure><p>multi-domain 환경에서 최종 training loss는 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*SoYNjqM00KkRzYO2zBhGHQ.png" /></figure><h4><strong>Model evaluation</strong></h4><p>모델 평가는 앞서 한 번 얘기했듯이 intra-domain 상황에서는 specific-domain representation과 shared-domain representation을 모두 사용하고, inter-domain 상황에서는 shared-domain representation만 사용해서 추천을 만든다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*NkqLuDefe1eTC6Al2MLoFQ.png" /><figcaption>intra-domain recommendation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*BmpnBafFr6FDB3O6BgxDgw.png" /><figcaption>inter-domain recommendation</figcaption></figure><h3>실험</h3><h4>데이터셋</h4><ul><li>Senario1, 2: 아마존 데이터셋</li><li>Senario 3: 아마존 데이터셋의 electronics를 5개 국가에 따라 도메인 분리</li><li>Senario 4: MYbank플랫폼에서 제공하는 3개 서비스의 interaction 데이터사용</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*5g8Uu9GinZviZTVevpeJpw.png" /></figure><h4>평가 방법</h4><ul><li>leave-one-out 방법을 사용했고, 하나의 ground truth마다 999개의 random negative sample을 만들어서 성능평가</li><li>NDCG, HR을 정확도 지표로 사용</li></ul><h4>실험 결과1: 정확도 비교</h4><p>공간 절약을 위해 시나리오 1, 2의 결과만 첨부한다. aggregagator는 아래와 같이 시나리오에 따라 다르게 사용했다. 각각 실험적으로 가장 좋은 것을 골랐다.</p><ul><li>시나리오1: User-attention aggregator</li><li>시나리오2: Mean aggregator</li><li>시나리오3: Item-similarity aggregator</li><li>시나리오4: Mean aggregator</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*yGOnxEwECSC8YFD9X26IXw.png" /></figure><p>UniCDR이 각 시나리오에서 그 시나리오의 SOTA와 경쟁력있는 결과를 보인다.</p><h4>실험 결과2: mask mechanism 효과</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*7zFw7gn5Mld3T-Osh22oHw.png" /></figure><p>interaction-masking과 domain-masking을 함께 적용한 결과가 가장 좋았다.</p><h3>결론 &amp; 소감</h3><ul><li>CDR이 적용되는 여러 시나리오를 명확한 기준에 따라서 정의하고, 이에 기반해서 실험을 진행한 점이 좋다.</li><li>CDR을 적용하기 전에 도메인별 사용자 수와 도메인 간 겹치는 사용자 수 등을 분석할 필요가 있을 거 같다.</li><li>정확도 비교 실험에서 시나리오마다 최적의 aggregator가 다른걸로 봐서는 데이터셋마다 좋은 aggregator를 선택하는 것이 중요할 거 같다.</li><li>Aggregator 부분은 논문에서 나온 것들 말고 transformer 기반 모델이나 GNN 기반 모델 같이 더 복잡한 모델로 대체해서 사용해도 괜찮을 거 같다.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ecbd53fa016" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/wsdm23-towards-universal-cross-domain-recommendation-%EB%A6%AC%EB%B7%B0-7ecbd53fa016">[WSDM’23]Towards Universal Cross-Domain Recommendation 리뷰</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) —…]]></title>
            <link>https://medium.com/recsys-summarize/wsdm24-long-term-value-of-exploration-measurements-findings-and-algorithms-best-paper-6a6cd1b92d09?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/6a6cd1b92d09</guid>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[wsdm2024]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 21 Apr 2024 10:09:04 GMT</pubDate>
            <atom:updated>2024-04-21T10:08:54.943Z</atom:updated>
            <content:encoded><![CDATA[<h3>[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) — review</h3><p>Today, I will review the paper “<strong><em>Long-Term Value of Exploration: Measurements, Findings, and Algorithms</em></strong>”, which was presented by Google and Google DeepMind at WSDM2024 and selected as the best paper. I will add my personal opinions in the middle of the review.</p><h3>Background &amp; Problem</h3><p>Nowadays, We serve broadly <strong>exploitation-based systems,</strong> such as Matrix Factorization (MF), Session/Sequential, and Graph Neural Network (GNN) models, that learn patterns from past user behavior data and recommend items that users are most likely to be interested in.</p><p>When deciding whether to deploy a new exploitation-based system, it is mainly determined through <strong>A/B testing</strong> to confirm whether short-term metrics such as Click-Through Rate (CTR) and Conversion Rate (CVR) significantly increase statistically.</p><p>However, recommending only such high-confidence content leads to a <strong>closed feedback loop problem</strong> in recommendation systems. Feedback collected is biased towards the recommended items, perpetuating a cycle where the model learns from this biased feedback, ultimately limiting the size of the corpus (interpreted as the actual pool of recommended items).</p><p>Unlike exploitation, <strong>exploration</strong>, which recommends low-confidence items, is known to alleviate the closed feedback loop problem by <strong>increasing exposure to fresh/tail items</strong>, thereby positively impacting <strong>long-term user experience</strong>. However, accurately measuring the exact impact of exploration on long-term user experience is challenging.</p><h3>Contributions</h3><p>This paper makes two main contributions:</p><ol><li>It experimentally <strong>demonstrates the positive impact of exploration on long-term user experience from a corpus perspective.</strong> To achieve this, the authors define <strong>quantitative metrics to measure the impact of exploration and long-term user experience</strong> and propose a <strong>new experimental framework</strong> to confirm the correlation between them.</li><li>It introduces the <strong>Neural Linear Bandit,</strong> a modification of the existing <a href="https://arxiv.org/abs/1802.09127"><strong>NeuralLinear algorithm (ICLR’18)</strong></a>, designed to perform effectively in large-scale recommendation services in real-world scenarios.</li></ol><p>Personally, After confirming the importance of exploration through the first contribution, I believe that methods to enhance it could vary greatly depending on factors such as service domain and engineering capabilities.</p><p>Therefore, in this review, I will focus on summarizing the first contribution, as I also feel my understanding of neural contextual bandit is not enough.</p><h4>Contribution 1: Long-Term Value of Exploration Through Enlarged Corpus</h4><p>The authors demonstrated the effect of exploration on long-term user experience based on the <strong>size of the corpus</strong>. In other words, they hypothesized that <em>increasing exploration would increase exposure to fresh/tail items, leading to feedback collection and ultimately increasing the size of the corpus, thus improving long-term user experience.</em></p><p>To validate the above hypothesis, the authors conducted the following three preliminary tasks.</p><ol><li><strong>Metrics to measure the effect of exploration.</strong></li><li><strong>Metrics to measure long-term user experience.</strong></li><li><strong>An experimental design to confirm the correlation between the above two metrics.</strong></li></ol><p>Now, let’s introduce how each of these tasks was addressed.</p><ol><li><strong>Metrics to measure the effect of exploration.</strong></li></ol><p>The authors believed that the effect of exploration could be measured through the change in the size of the corpus, driven by exploration. Therefore, they proposed a metric called <strong>Discoverable Corpus @ X, Y.</strong></p><p><strong><em>Discoverable Corpus @ X, Y: The number of items that received positive user interactions (such as clicks, purchases, etc.) from at least X users through a period Y.</em></strong></p><p>An ideal exploration capability involves Discoverable Corpus @ X, Y increasing for various sizes of X <em>while not compromising user experience</em> when Y is fixed. (When X is small, tail items contribute significantly to metric changes, whereas when X is large, head items contribute relatively more to metric changes.)</p><p><strong>2. Metrics to measure long-term user experience.</strong></p><p>The authors proposed the metric of “<strong>satisfied daily active users</strong>” as a measure of long-term user experience. This metric refers to “<em>the number of daily active users with satisfactory interactions</em>,” meaning the number of users who generate behavior events exceeding a predefined threshold within a day.</p><p><strong>3. An experimental design to confirm the correlation between the above two metrics.</strong></p><p>Previously, Normal A/B testing allocated users randomly into <strong>Control Group (CG)</strong> and <strong>Treatment Group (TG)</strong>, employing a user-diverted approach where all items were shared between the groups.</p><p>However, in this approach, CG and TG users share all items which is not suitable for experiments to confirm the effect of exploration due to two main reasons.</p><p>Firstly, CG users can experience the effects of exploration applied to TG (boosting cold/tail items).</p><p>Secondly, in large-scale services, only a small proportion of users participate in A/B testing, making it difficult to collect sufficient feedback on all items from a limited number of users.</p><p>Therefore, the authors proposed the <strong>User-Corpus-CoDiverted Experiment.</strong> This experiment randomly separates not only users but also the corpus, ensuring that users in different experimental groups do not share the same recommended items. This prevents users in CG from being influenced by the exploration treatment in TG. Below is a graphical representation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*ZfR4jwHm7vaBI15JFsC1CQ.png" /></figure><p>Additionally, to minimize experimental variables, the authors ensured that items produced by the same provider were assigned to the same experimental group when dividing the corpus.</p><p>Now, Let’s address the following two research questions (RQ)</p><p><strong>RQ1. Does Exploration enlarge the size of Discoverable Corpus?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udgyjEi2iwKP8MDLx82jFg.png" /><figcaption>The model structure used in the experiment involves sorting (ranking) candidate items extracted from various nominators, applying business logic (packing), and generating the final recommendation results.</figcaption></figure><p>First, following the <strong>User-Corpus-CoDiverted experimental </strong>method as proposed, the authors divided equal proportions of corpus subsets and user subsets and assigned them to CG and TG.</p><p>Then, the authors utilized a recommendation system consisting of multiple stages as depicted in Figure 1 to generate recommendation results. The only difference between CG and TG lay in the <strong>nominator part</strong> responsible for generating candidates, while the rest used the same model and logic.</p><p><em>CG employed an exploitation-based nominator.</em></p><p><em>In contrast,</em> <em>TG utilized an exploration nominator containing a corpus defined with fresh/tail items</em>. These items were sequentially inserted into designated positions, while the remaining positions were filled with recommendation items generated using CG’s approach (this design also considered short-term user experience).</p><p>One crucial setting was that items in TG receiving a certain number of interactions during the experiment would no longer be included in the corpus of the exploration nominator. In other words, after gathering minimum interests, further interactions had to come from the inherent appeal of the items.</p><p>The experimental results are as follows: the left graph depicts the change in <strong>Discoverable Corpus@100, 7 days</strong>, while the right graph illustrates the change in <strong>Discoverable Corpus@1000, 7 days.</strong></p><p>One noticeable observation is that the gap between CG and TG widens over time, indicating that exploration effectively alleviated the closed feedback loop problem.</p><p>In the left graph where X is small, a significant expansion of corpus size is observed, suggesting that <em>exploration effectively boosted fresh/tail items.</em></p><p>Furthermore, in the right graph where X is large, TG’s corpus continues to expand compared to CG, indicating that high-quality but previously underexposed fresh/tail items were boosted, leading to subsequent interactions driven by their own appeal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*Dvf3bsAszZ4hJPeoTGyteQ.png" /></figure><p><strong>RQ2. Does an increment of Discoverable Corpus size improve the Long-term user Experience?</strong></p><p>In order to quantify long-term user experience, the authors defined “<strong>satisfied daily active users</strong>”. Therefore, the authors conducted experiments to examine the <em>correlation between the size of the Discoverable Corpus and satisfied daily active users.</em></p><p>To confirm this, CG and TG were defined as follows, and the experiment was conducted over 4 weeks:</p><ul><li>CG: Utilized the multi-stage model structure as shown in Figure 1.</li><li>TG: Utilized the multi-stage model structure as shown in Figure 1, but with a modification where <em>x</em>% of the items were randomly removed from the results of each nominator and then aggregated before being passed to the ranking model. As <em>x</em> increased, the size of the corpus decreased.</li></ul><p>The results of the experiment are as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rnYvIb_H3PovDMHLfbna1Q.png" /></figure><p>From the left graph, We can observe that as <em>x</em> increases, the number of <strong>satisfied daily active users</strong> decreases over time. Additionally, the right graph, which represents the relative ratio with CG, indicates <em>that as the size of the discoverable corpus decreases, long-term user experience also decreases.</em></p><p>Through these two experiments, the authors verified the hypothesis that <strong><em>exploration improves the size of the discoverable corpus, which in turn leads to long-term user satisfaction.</em></strong></p><h4>Contribution 2: Neural Linear Bandit Based Ranking System</h4><p>In the preceding explanation of Contribution 1, the authors confirmed that exploration helps improve long-term user experience, primarily through experiments modifying the nominator (candidate generator) section.</p><p>In Contribution 2, instead of modifying nominators, the authors propose a model called the <strong>Neural Linear Bandit</strong> in the subsequent ranking stage to increase exploration.</p><p>The Neural Linear Bandit is adapted from the existing DNN-based contextual bandit algorithm, <a href="https://arxiv.org/abs/1802.09127"><strong>NeuralLinear algorithm (ICLR’18)</strong></a>, to be more suitable for real-world large-scale scenarios. As my understanding of this field is not deep yet, I’ll summarize only the modifications applied. I recommend referring to the paper for more details.</p><ol><li><strong>Model Update Frequency</strong>: The covariance matrix and its inverse, the <strong>precision matrix</strong>, needed for calculating rewards, are continuously changing due to real-time log collection. Especially, computing the precision matrix requires significant computation. Therefore, the authors fix the computed precision matrix after training to minimize expensive operations during the inference stage.</li><li><strong>Stability and Variants of Uncertainty Calculation</strong>: Computing matrix inversions for uncertainty calculation can lead to stability issues when the target is close to singular. To address this, the authors apply <strong>pseudo-inverse</strong> and <strong>Cholesky decomposition</strong> to make expensive and unstable operations cheaper and more stable.</li><li><strong>Extension to Classification</strong>: In real services, predicting whether users will react to recommended items is crucial, akin to a <strong>binary classification problem</strong>. Therefore, the authors modify the bandit model’s reward to be binary, reflecting whether users respond positively or not.</li></ol><p>The applied results are as follows: TG shows a significant improvement, though not substantial, in receiving positive feedback for fresh items compared to CG.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*42nsDCZ5UWqVMwisfUDypQ.png" /></figure><h3>Summary</h3><ul><li>I knew vaguely that exploration was important, but this paper is interesting as it experimentally verified the impact of exploration on Long-term user satisfaction from the perspective of corpus size.</li><li>Above all, there is much to learn from the process of setting hypotheses, designing and conducting experiments with new metrics and methods to validate them.</li><li>I used to think that once the product pool reached a certain level subjectively, it would no longer have a significant impact on user satisfaction. However, after reading this paper, I realized the importance of corpus size in the products recommended actually, and I think I should pay more attention to it in the future.</li><li>It’s regrettable that I didn’t fully understand the paper due to my lack of knowledge about contextual bandits. I need to study more about contextual bandits.</li></ul><p><em>ps. This article was translated from my Korean-language blog using ChatGPT. I made minimal adjustments to ensure clear and effective delivery of the content.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a6cd1b92d09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/wsdm24-long-term-value-of-exploration-measurements-findings-and-algorithms-best-paper-6a6cd1b92d09">[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) —…</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) — 리뷰]]></title>
            <link>https://medium.com/recsys-summarize/wsdm24-long-term-value-of-exploration-measurements-findings-and-algorithms-best-paper-%EB%A6%AC%EB%B7%B0-90ce3b3666d2?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/90ce3b3666d2</guid>
            <category><![CDATA[wsdm2024]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 21 Apr 2024 04:57:49 GMT</pubDate>
            <atom:updated>2024-04-21T10:05:56.446Z</atom:updated>
            <content:encoded><![CDATA[<h3>[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) — 리뷰</h3><p>오늘은 Google과 Google Deepmind가 WSDM2024에 발표해서 best paper로 선정된 <strong><em>Long-Term Value of Exploration: Measurements, Findings and Algorithms</em></strong><em> </em>논문을 개인적인 의견을 섞어 리뷰한다.</p><h3>배경 &amp; 문제</h3><p>오늘날 많이 사용되고 있는 MF, Session/Sequential, GNN 계열의 모델들은 과거의 사용자 행동 정보로 부터 패턴을 학습한 뒤, 사용자가 가장 관심있어 할 확률이 높은 상품을 추천하는<strong> exploitation-based system</strong>이다. 새로운 exploitation-based system의 배포 여부를 결정할 때는 주로 A/B 테스트를 통해 CTR, CVR 같은 단기 지표가 통계적 유의미하게 상승하는지 확인한다.</p><p>하지만, 이렇게 확실한 (high-confidence) 상품 (content)만을 추천하는 방식은 추천 시스템이 추천한 상품에 대한 피드백 (biased-feedback)만 수집되고, 이걸 다시 모델이 학습하는 순환이 반복되면서 결국에는 corpus (의역: 실제로 추천되는 상품 풀)의 크기가 한정되는 <strong>closed feedback loop</strong> 문제가 있다.</p><p>exploitation과 달리 확실치 않은 (low-confidence) 상품을 추천하는 <strong>exploration</strong>은 fresh/ tail 상품의 노출을 늘려 <strong>closed feedback loop</strong> 문제를 완화하고,<strong> long-term user experience</strong>에 긍정적인 영향을 끼치는 걸로 알려져 있다. 하지만, <strong>long-term user experience</strong>에 대한 <strong>exploration</strong>의 정확한 영향을 <strong>측정</strong>하는 것은 어렵다.</p><h3>기여</h3><p>본 논문의 기여는 크게 2개로 볼 수 있다.</p><ol><li>exploration이 corpus관점에서 long-term user experience에 끼치는 긍정적인 영향을 실험을 통해 증명한다. 이를 위해 저자들은 exploration의 영향과 long-term user experience를 정량적으로 측정할 수 지표를 정의하고, 이들 사이의 상관관계를 확인할 수 있는 새로운 실험 프레임워크를 제안한다.</li><li>기존의 Neural Linear 알고리즘 (<a href="https://arxiv.org/abs/1802.09127">ICLR’18</a>)을 실세계의 large-scale 추천 서비스에서 잘 동작할 수 있도록 수정한 Neural Linear Bandit을 제안한다.</li></ol><p>개인적으로 1번 기여를 통해 exploration의 중요성을 확인했다면 이를 향상시킬 방법은 도메인과 엔지니어링 역량 등에 따라 많이 달라질 수 있다고 생각하기 때문에, 이번 리뷰에서는 1번 기여를 정리하는데 집중한다. (내가 neural contextual bandit에 대한 이해가 부족하기도 하다.)</p><h4>기여 1: Long-Term Value of Exploration Through Enlarged Corpus</h4><p>저자들은 long-term user experience에 대한 exploration의 효과를 corpus 의 크기에 기반해서 입증했다. 즉, exploration을 높이면 fresh/ tail 상품의 노출이 증가하고, 이들에 대한 피드백이 수집되면서 corpus의 크기가 증가하여 결국엔 long-term user experience까지 향상된다고 가설을 세웠다.</p><p>저자들은 위 가설을 입증하기 위해서 아래 세가지를 선행했다.</p><ol><li><strong>exploration의 효과를 측정할 수 있는 metric</strong></li><li><strong>long-term user experience를 측정할 수 있는 metric</strong></li><li><strong>위 두 metric 사이의 상관 관계를 확인할 수 있는 실험 설계</strong></li></ol><p>지금부터 각각의 과제를 어떻게 해결했는지 소개한다.</p><ol><li><strong>exploration의 효과를 측정할 수 있는 metric</strong></li></ol><p>저자들은 exploration을 통해 corpus가 커지기 때문에, corpus의 크기 변화를 통해 exploration의 효과를 측정할 수 있다고 생각했다. 그래서 제안된 metric이 <strong><em>Discoverable Corpus @ X, Y </em></strong>이다.</p><p><strong><em>Discoverable Corpus @ X, Y: Y 기간 동안 X개 이상의 positive user interaction (클릭, 구매 등) 을 받은 상품의 개수</em></strong></p><p>이상적인 exploration-capability는 <strong><em>Y</em></strong>가 고정되어 있을 때, <strong>user-experience를 해치지 않으면서 </strong>여러 크기의 X에 대해서 <strong><em>Discoverable Corpus @ X, Y</em></strong>가 커지는 것이다. (X가 작으면 tail 상품이 지표 변화에 큰 부분을 차지하고, X가 크면 head 상품이 지표 변화에 상대적으로 큰 부분을 차지)</p><p>2. <strong>long-term user experience를 측정할 수 있는 metric</strong></p><p>저자들은 long-term user experience를 측정할 수 있는 metric으로 <strong>satisfied daily active users </strong>지표를 제안하는데 이는<strong> </strong>“the number of daily active users with satisfactory interactions” 를 의미한다. 즉, 하루 중 정해놓은 기준 이상의 행동 이벤트를 발생시킨 사용자들의 수라고 볼 수 있다.</p><p>3. <strong>위 두 metric 사이의 상관 관계를 확인할 수 있는 실험 설계</strong></p><p>기존에 수행하는 A/B 테스트는 사용자들을 랜덤으로 Control Group (CG), Treatment Group (TG)으로 할당하고 모든 상품은 서로 공유하는 user-diverted 방식이었다.</p><p>하지만 이런 CG와 TG의 사용자들이 모든 상품을 공유하는 방식은 exploration의 효과를 확인하기 위한 실험에는 적절치 않은 2가지 이유가 있다. 첫번째로 때문에, TG에 적용된 exploration의 효과 (cold/tail 상품 부스팅)를 CG의 사용자들이 경험할 수 있다. 두번째로, large-scale 서비스에서는 A/B 테스트 수행시 매우 적은 비율의 사용자만 실험에 참여하게 되는데, 적은 수의 사용자로 부터 모든 상품에 대한 충분한 양의 피드백을 수집하기 어렵다.</p><p>따라서 저자들은 <strong>User-Corpus-CoDiverted Experiment</strong> 를 제안했다. 이는 사용자 뿐만 아니라 Corpus 또한 랜덤으로 분리하여, 서로 다른 실험 그룹에 속한 사용자들 끼리 추천받는 상품군이 서로 겹치지 않게하여 CG의 사용자들이 TG의 exploration treatment에 의한 영향을 받지 않게 하는 것이다. 그림으로 표현하면 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*ZfR4jwHm7vaBI15JFsC1CQ.png" /></figure><p>뿐만아니라 저자들은 실험 변수를 최소화하기 위해 Corpus를 나눌 때 같은 provider 에 의해 생산된 상품은 같은 실험 그룹에 할당되도록 하였다.</p><p>위에 해결된 3가지 제안 방법을 사용하여, 아래 2가지 research question (RQ)를 확인한다.</p><p><strong>RQ1. Exploration은 Discoverable Corpus의 크기를 증가시키는가?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udgyjEi2iwKP8MDLx82jFg.png" /><figcaption>실험에서 사용하는 모델 구조. 여러 nominator에서 추출한 후보 상품들을 정렬 (ranking)해서 비즈니스 로직을 적용 (packing)한 뒤 최종 추천 결과를 만든다.</figcaption></figure><p>저자들은 먼저 위에서 제안한 User-Corpus-CoDiverted 실험 방식에 따라 같은 비율의 Corpus subset과 user subset을 나눠 고정시키고, CG와 TG에 할당했다.</p><p>그리고 위 Figure 1의 그림처럼 여러 stage로 이루어진 추천 시스템을 사용해서 추천 결과를 만들었는데, CG와 TG는 candidate을 생성하는 nominator 부분에만 차이를 주고, 나머지는 동일한 모델과 로직을 사용했다.</p><p>CG는 exploitation-based nominator 사용한 반면, TG는 사전에 정의한 fresh/ tail 상품으로 이루어진 corpus를 가진 nominator (exploration nominator)를 사용했다. 그리고 이를 이용해 지정된 위치에 순서대로 삽입하고, 나머지 위치에는 CG의 방식으로 생성한 추천 상품을 삽입했다 (이는 short-term user-experience 또한 고려한 설계이다). 그리고 한가지 중요한 세팅은, TG에 속한 상품 중 실험을 진행하면서 일정 개수 이상의 interaction을 받은 상품은 더 이상 exploration nominator의 corpus에 포함되지 않는다. <strong>즉, 최소한의 반응이 생긴 뒤에 추가 반응을 얻기 위해서는 상품 자체의 매력으로 얻어야 된다.</strong></p><p>실험 결과는 아래와 같다. 왼쪽 그래프는 시간에 따른 <em>Discoverable Corpus @ 100, 7-day</em>의 변화를, 오른쪽 그래프는 <em>Discoverable Corpus @ 1000, 7-day</em>의 변화를 나타낸다<strong>.</strong></p><p>제일 먼저 확인할 수 있는 점은 시간이 지날수록 CG와 TG의 격차가 커진다는 점이다. 이는 exploration이 closed feedback loop 문제를 잘 완화시켜주었다고 볼 수 있다.</p><p><strong><em>X</em></strong>가 작은 왼쪽 그래프에서 더 큰 corpus 크기의 확장이 확인되는데, 이는 exploration이 fresh/tail 상품들을 잘 부스팅해줬다고 볼 수 있다.</p><p>뿐만 아니라 <strong><em>X</em></strong>가 큰 오른쪽 그래프에서 TG가 CG보다 corpus가 계속 커지는 것을 확인함으로써, 품질이 좋지만 노출되지 못했던 fresh/tail 상품이 부스팅 됨으로써 이후에 스스로의 힘으로 많은 interaction을 이끌어 냈다고 볼 수 있다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*Dvf3bsAszZ4hJPeoTGyteQ.png" /></figure><p><strong>RQ2. Discoverable Corpus의 크기가 증가하면 Long-term user Experience를 향상시키는가?</strong></p><p>위에서 저자들은 long-term user experience를 정량화 하기 위해 <strong>satisfied daily active users </strong>를 정의했다. 따라서 저자들은 <strong>Discoverable Corpus </strong>의 크기와 <strong>satisfied daily active users</strong> 의 상관관계를 확인하기 위해 실험을 진행했다.</p><p>이를 확인하기 위해 CG와 TG은 아래와 같이 정의된다. 실험은 4주 동안 진행했다.</p><ul><li>CG: 위 figure1에 나온 multi-stage model 구조를 그대로 사용</li><li>TG: 위 figure1에 나온 multi-stage model 구조에서 각 nominator의 결과에서 임의로 x%의 상품을 제거한 뒤 취합한 결과를 ranking 모델에 전달, x가 커질수록 corpus의 크기가 작아지는 효과</li></ul><p>실험 결과는 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rnYvIb_H3PovDMHLfbna1Q.png" /></figure><p>왼쪽 그래프를 보면 x가 클수록 시간이 지남에 따라 <strong>satisfied daily active users</strong>가 감소하는 것을 알 수 있다. 또한 CG와의 상대적인 비율을 표현한 오른쪽 그래프를 통해, discoverable corpus 크기가 감소하면 long-term user experience가 감소한다는 것도 알 수 있다.</p><p>위 두개의 실험을 통해, 저자들은 exploration은 dicoverable corpus의 크기를 향상 시키고, 이는 long-term user satisfaction으로 이어진다는 가설을 검증하였다.</p><h4>기여 2: Neural Linear Bandit Based Ranking System</h4><p>앞서 기여 1을 설명하면서 저자들은 exploration이 long-term user experience를 향상 시키는데 도움이 된다는 것을 확인하였고, 주로 nominator (candidate generator) 부분을 수정한 실험을 통해 이를 검증하였다.</p><p>기여 2에서는 nominator가 아닌, 다음 단계인 ranking 단계에서 exploration을 높일 수 있는 모델인 Neural Linear Bandit 모델을 제안한다.</p><p>Neural Linear Bandit은 기존의 DNN 기반 contextual bandit 알고리즘인 NeuralLinear 알고리즘 (<a href="https://arxiv.org/abs/1802.09127">ICLR’18</a>)을 back-bone으로 삼아 더욱 실제 large-scale 서비스 상황에 적합하도록 수정한다. 앞서 말했듯이 나는 아직 이 분야에 대한 이해가 깊지 않기 때문에, 어떤 수정을 적용했는지에 대해서만 간단하게 정리한다. 자세한 내용은 논문을 참고하길 권장한다.</p><ol><li><strong>Model Update Frequency</strong>: reward를 계산하는 과정에서 필요한 covariance matrix와 이것의 역행렬인 precison matrix가 있다. 이들은 실시간으로 수집되는 로그에 인해 값이 항상 바뀌는데, 특히 precison matrix를 계산할 때 많은 computation이 요구된다. 따라서, training이 끝나고 계산된 precision matrix를 고정하여, inference 단계에서 비싼 연산을 최소화 한다.</li><li><strong>Stability and Variants of Uncertainty Calculation</strong>: uncertainty계산을 위해 matrix inversion연산을 해야하는데, 이때 inversion의 대상이 singular에 가까우면 stability 이슈가 생긴다. 따라서 저자들은 비싸고 불안정한 연산을 저렴하고 안정적이게 하기 위해서 <strong>pseudo-inverse</strong>와 <strong>Cholesky decomposition</strong> 을 적용하여 위 문제를 해결했다.</li><li><strong>Extension to Classification</strong>: 실제 서비스에서 상품을 추천할 때 중요한 것은 사용자가 추천한 상품에 반응할 지 안할지를 예측하는 것으로, binary classification 문제에 가깝다. 따라서 bandit 모델의 reward 또한 binary reward로 설계할 필요가 있고 저자들은 그렇게 수정했다.</li></ol><p>적용결과는 아래와 같다. CG에 비해서 TG가 fresh 상품들에 대한 positive feedback을 얼마나 많이 받았는지를 나타내는데, 큰 향상은 아니지만 유의미한 향상을 확인할 수 있다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*42nsDCZ5UWqVMwisfUDypQ.png" /></figure><h3>정리</h3><ul><li>막연하게 exploration이 중요하다고는 알고 있었지만, Long-term user satisfaction에 대한 exploration의 영향을 corpus의 크기 관점에서 실험을 통해 검증한 재밌는 논문이었다.</li><li>무엇보다 가설을 설정하고, 이를 검증하기 위해 새로운 metric과 실험 방식을 설계하고 진행했다는 점에서 배울게 많았다.</li><li>그동안 추천을 하면서 주관적인 기준으로 상품 풀이 어느 정도 이상이 되면 user satisfaction에 큰 영향을 주지 않을 거라고 생각했는데, 이 논문을 보면서 앞으로는 실질적으로 추천되는 상품의 다양성에 대해서도 더 관심을 가져야겠다고 생각했다.</li><li>contextual bandit에 대한 지식이 부족해서 논문을 완전히 이해하지 못한 것이 아쉽다. contextual bandit에 대한 공부를 더 해야겠다.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90ce3b3666d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/wsdm24-long-term-value-of-exploration-measurements-findings-and-algorithms-best-paper-%EB%A6%AC%EB%B7%B0-90ce3b3666d2">[WSDM’24]Long-Term Value of Exploration: Measurements, Findings and Algorithms (Best Paper) — 리뷰</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trending Now: Modeling Trend Recommendations — review]]></title>
            <link>https://medium.com/recsys-summarize/trending-now-modeling-trend-recommendations-review-675611361b94?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/675611361b94</guid>
            <category><![CDATA[time-series-forecasting]]></category>
            <category><![CDATA[recommendations]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Mon, 04 Mar 2024 12:33:09 GMT</pubDate>
            <atom:updated>2024-04-14T02:36:28.262Z</atom:updated>
            <content:encoded><![CDATA[<h3>[RecSys’23]Trending Now: Modeling Trend Recommendations — review</h3><p>Define the concept of “trend” in recommendation scenarios and propose a model to discover trending items.</p><h3>Background</h3><p><strong>“trending now”</strong> is used to recommend products that are currently popular (trending) and to enhance their popularity. It serves two main purposes:</p><ol><li><em>Recommending products that are not currently popular but are likely to become popular in the future, thereby accelerating their journey to becoming popular items.</em></li><li>Providing recommendations from a <strong>different perspective</strong> compared to other recommendation features such as “recommend for you,” “buy it again,” and “frequently bought together,” thereby complementing the quality of recommendations offered by each other.</li></ol><h3>Motivation</h3><p>Existing research on “trending now” has primarily focused on personalized performance or domains outside the recommendation field, often neglecting a deeper investigation into what constitutes a “true” trending item.</p><p>In this paper, the authors define the concept of <strong>trend</strong> in the context of recommendation scenarios and propose a model that exploits collaborative filtering signals to identify genuine trending items, going beyond simple time-series forecasting models.</p><ul><li><strong>Popularity: the number of interactions at a certain time interval</strong></li><li><strong>Trend: the change rate of popularity, or acceleration</strong></li></ul><h3>Challenges</h3><p>According to the definition of trend provided above, it is possible to calculate the trend (acceleration) for each product. <em>However, to do this, a sufficient amount of interaction data needs to be collected.</em> Therefore, calculating trends in real-time is challenging due to the time required to gather interaction data. As a result, there exists a temporal gap between the current trend and the calculated trend based on the collected interaction data.</p><h3>Proposed method: TrendRec</h3><p>To address this issue, the authors reformulate the trending item recommendation problem as a <strong>one-step forecasting problem</strong>.</p><p>In other words, instead of directly recommending products based on the calculated trend from collected data, they use this to predict the trend for the next step. Then, they recommend the top-k products with the highest predicted trend which can reduce the temporal gap (refer to the left side of the diagram below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t1wZZ2EhxEJ4Hes-szndqw.png" /></figure><p>Furthermore, based on the discovery through data analysis that “<em>the more users overlap in interactions between two products, the more similar their trend change patterns</em>” (refer to the right side of the diagram above), the authors assume that collaborative filtering signals help predict trends more accurately. They propose a model called <strong>TrendRec</strong>, which can learn this contextual information along with trend prediction.</p><h4>Terminologies</h4><ul><li>Time Step <em>t</em>: the time interval to collecting interaction data for predicting the next step trend</li><li>Velocity: popularty, the number of interactions that occurred during a time step. <em>W_j</em>,<em>t</em>​ represents the number of interactions with item <em>j</em> during time step <em>t</em>.</li><li>Acceleration: trend, the delta of velocity during a time step <em>t</em>, <em>A_j, t = W_j,t — W_j,(t-1)</em></li></ul><h4>Problem definition</h4><p>For any item <em>j</em>, the next time step <em>t+1</em> trend (acceleration) is predicted using the past trend time series and additional contextual information (users interacting with item <em>j</em> at each time step).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*uQYqQpsYgb_rBylHzdgYxg.png" /></figure><h4>The importance of time step length</h4><p>The length of the time step is crucial in determining the amount of data collected and the level of noise in trend prediction. <em>If the time step is too short, it may not provide sufficient data leading to increased volatility and noise. On the other hand, if the time step is too long, the data may have already transitioned into a different pattern, making accurate predictions difficult.</em> Therefore, it’s important to consider the domain and the scale of the service to determine an appropriate time step length.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*XhD4AIawCXOOMahw319YyQ.png" /></figure><h4>TrendRec</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXb3aRF2E7lBnJT40KJsCA.png" /></figure><p>The training of TrendRec consists of a 2-phase approach involving:</p><ol><li><strong>Next-item recommendation</strong> (blue in the diagram)</li><li><strong>Time series forecasting</strong> (red in the diagram)</li></ol><p>In each phase, models tailored to the respective tasks such as <strong>GRU4Rec</strong> for next-item recommendation and <strong>DeepAR</strong> for time series forecasting are utilized. The objectives for each task are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*c8NXmitCcr3cHqsTL0mG6w.png" /></figure><p>In the first phase, the item embeddings <em>V_t</em>​ learned for each time step <em>t </em>are utilized in the second phase.</p><p>During inference, only the time series forecasting model is used to predict the velocity for the next time step. Then, the difference between the predicted velocity and the previous velocity is used as the acceleration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*9I96QAXg0RRSk4K3rSiXng.png" /></figure><p><em>Note: There might be confusion regarding the use of the term “acceleration” while predicting velocity. However, it’s mentioned in Appendix A.2 of the paper that instead of acceleration, they used the velocity time series. This could indeed confuse.</em></p><h3>Experiment</h3><h4>Datasets</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*SAkW9U3qlCOzMzg0JHVB2w.png" /></figure><h4>Baselines</h4><ul><li>Oracle (ground truth)</li><li>Random</li><li>Markov</li><li>Exponential Moving Average (EMA)</li><li>DeepAR</li><li>TrendRec (GRU4Rec + DeepAR)</li></ul><p>Oracle and Random model are only used to compute acceleration accuracy metric, not for comparison with TrendRec</p><h4>Metrics</h4><p>In this paper, instead of simply calculating accuracy metrics like recall or nDCG for recommendation results, they use the sum of trends of the top-k items at time step <em>t</em> as the ground truth (Oracle), setting it to the maximum value, and the sum of trends of top-k items from a Random model as the minimum value. They then use these relative values as metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*Iqd8PQHfmfcBsfLWF_0bcg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*WHZhb1tsnWxrh-oiwjyUPg.png" /><figcaption>acceleration acts as weights of DCG</figcaption></figure><h4>Result</h4><ol><li>Accuracy comparison</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VMyR3Jw8eYxeCg9VKePLCg.png" /></figure><p>TrendRec outperforms all other models, especially showing a significant performance improvement over DeepAR, notably on the <strong>TaoBao dataset</strong>.</p><p>This can be attributed to the observed enhancement in the overall performance of TrendRec when the next-item recommendation task was executed effectively.</p><p>Indeed, on the TaoBao dataset, GRU4Rec demonstrated effective learning, showcasing higher recommendation accuracy compared to other datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*1p54qSbxQ3MrnABdekzTzg.png" /></figure><p>2. Performance differences along the length of time step</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AdJoF-u7vbSIL2W7qMG0gQ.png" /></figure><p>As mentioned in the section about the <strong>importance of time step length</strong>, it’s observed that performance improves as the time step length increases.</p><p>However, beyond a certain threshold, performance starts to decrease due to the impact of data drift.</p><p>Especially in the case of the MIND dataset, whose domain is news that the latest things are getting more focused, the optimal time step interval was found to be the shortest.</p><h3>Reflections</h3><ul><li>The thorough analysis and proposed methods for trending items are intriguing in under discovered area.</li><li>However, I worried about the memory requirements, considering the need for separate user and item embeddings for each time step.</li><li>The use of the acceleration symbol in both model training and prediction, while mentioning velocity in the appendix, was confusing.</li><li>While actual online testing would provide clarity, I questioned whether defining acceleration (trend) simply as the change in velocity would suffice, as it seemed counterintuitive in certain scenarios. For instance, a product with a velocity of 5 accelerating to 100 would have less trend than a product accelerating from 1000 to 1100.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=675611361b94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/trending-now-modeling-trend-recommendations-review-675611361b94">Trending Now: Modeling Trend Recommendations — review</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[RecSys’23]Trending Now: Modeling Trend Recommendations 리뷰]]></title>
            <link>https://medium.com/recsys-summarize/trending-now-modeling-trend-recommendations-%EB%A6%AC%EB%B7%B0-388b1ab803ef?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/388b1ab803ef</guid>
            <category><![CDATA[trendyness]]></category>
            <category><![CDATA[time-series-forecasting]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 03 Mar 2024 13:54:09 GMT</pubDate>
            <atom:updated>2024-04-14T02:36:07.314Z</atom:updated>
            <content:encoded><![CDATA[<p>추천 상황에서 trend의 정의를 내리고 trending item을 찾는 모델 제안</p><h3>배경</h3><p><strong>“trending now”</strong> 는 현재 유행하고 있는 (trending) 상품들을 추천하고, 그들의 popularity를 향상 시키기 위해 사용된다. <strong>“trending now”</strong>는 두 가지 목표를 달성하기 위해 사용된다. <em>1) 당장은 popular 하지 않지만 앞으로 popular하게 될 상품을 추천해서 이들을 더욱 빠르게 popular 상품으로 만든다. 2) </em><strong><em>“recommend for you”, “buy it again”, “freqently bought together”</em></strong><em> 와 같은 다른 추천 구좌와는 다른 관점의 추천을 제공해서 서로의 추천 품질을 보완한다.</em></p><h3>동기</h3><p>기존의 “trending now” 연구는 개인화 성능에 집중하거나, 추천 분야가 아닌 도메인에서 주로 이루어졌는데, 이는 “진짜&quot; trending item은 무엇인지에는 많은 관심을 기울이지 않았다.</p><p>본 논문에서 저자들은 추천 상황에서 아래와 같이 <strong>trend</strong>의 정의를 내리고, 단순한 time-series forecasting 모델이 <em>추천 맥락을 고려해서</em> 진짜 trending item을 찾는 모델을 제안한다.</p><ul><li><strong>Popularity: the number of interactions at a certain time interval</strong></li><li><strong>Trend: the change rate of popularity, or acceleration</strong></li></ul><h3>문제</h3><p>위 trend의 정의에 따라 상품별 trend (acceleration)를 계산할 수 있지만, 이를 위해서는 충분한 interaction 데이터를 수집해야 하기 때문에 실시간으로 trend를 계산하기 어렵기 때문에, <em>interaction 데이터를 수집하는 시간만큼 현재 trend와 계산된 trend 사이에는 간극이 존재한다</em>.</p><h3>제안 방법</h3><p>위와 같은 문제를 해결하기 위해 저자들은 trending item recommendation 문제를 <strong>one-step forecasting problem </strong>로 정의한다.</p><p>즉, 수집된 데이터를 통해 계산된 trend를 바로 추천하지 않고, 이를 사용해서 next step의 trend를 예측해서 이 예측된 trend가 높은 상품 top-k개를 추천해서 시간 간극 문제를 해결한다 (아래 그림 왼쪽 참고).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t1wZZ2EhxEJ4Hes-szndqw.png" /></figure><p>또한, 데이터 분석을 통해 발견한 <em>“두 상품이 interaction한 사용자가 많이 겹칠수록 trend 변화 패턴이 유사하다”</em>는 사실을 통해 (위 그림 오른쪽 참고) collaborative filtering signal이 trend 예측에 도움이 된다는 가정을 하였고, 이러한 context 정보를 함께 학습할 수 있는 모델인 <strong>TrendRec</strong>을 제안한다.</p><p>TrendRec의 모델 구조를 이해하기 위해서는 아래의 용어를 이해해야한다.</p><ul><li>Time Step: time interval, 다음 trend를 계산하는데 필요한 data를 수집하는 시간</li><li>Velocity: popularty, 한 time step동안 한 발생한 interaction 수, <em>W_j,t</em>는 time step <em>t</em> 동안 상품 <em>j</em>가 interaction된 횟수</li><li>Acceleration: trend, time step <em>t</em> 동안 velocity의 변화량, <em>A_j, t</em>는 <em>W_j,t — W_j,(t-1)</em></li></ul><h4>문제 정의</h4><p>임의의 상품 <em>j</em>에 대해서, 현재까지의 trend와 추가 contextual 정보 (time step별 <em>j</em>와 interaction한 사용자들)를 사용해서 다음 time step <em>t+1 </em>에서의 trend (acceleration)를 예측한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*uQYqQpsYgb_rBylHzdgYxg.png" /></figure><h4>time step 길이의 중요성</h4><p>time step의 길이는 너무 짧으면 충분한 데이터를 확보하지 못해 변동성이 많아지고 노이즈의 비율이 많아진다. 반대로 너무 길 경우 데이터가 이미 다른 성격으로 변해서 정확한 예측이 어려워 진다. 따라서 <em>도메인, 서비스의 크기를 고려해서 적절한 time step 길이를 설정하는 것이 중요하다.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*XhD4AIawCXOOMahw319YyQ.png" /></figure><h4>TrendRec</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXb3aRF2E7lBnJT40KJsCA.png" /></figure><p>TrendRec의 학습은 <strong>1) next-item recommendation (위 그림 파란색), 2) time series forecasting (위 그림 빨간색) </strong>2-phase 방식으로 이루어진다.</p><p>이때 각 단계별 모델은 <strong>GRU4Rec</strong>, <strong>DeepAR</strong> 와 같은 각 task에 맞는 모델을 사용하고, 각 task별 objective는 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*c8NXmitCcr3cHqsTL0mG6w.png" /></figure><p>첫번째 단계에서 time step별로 학습한 상품 임베딩 <em>V_t </em>을 두번째 단계에 활용한다.</p><p>inference를 할 때는 time series forecasting 모델만 사용해서 다음 time step에서의 velocity를 예측한 뒤, 직전 velocity와의 차이를 acceleration으로 사용한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*9I96QAXg0RRSk4K3rSiXng.png" /></figure><p>**acceleration 기호 <em>A</em>를 사용하다가 갑자기 velocity를 예측한다고 해서 혼란스러울 수 있지만, 논문의 Appendix A.2에 acceleration 대신 velocity time series를 사용했다고 적혀있다. 나 또한 당황스러웠다.</p><h3>실험</h3><h4>데이터셋</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*SAkW9U3qlCOzMzg0JHVB2w.png" /></figure><h4>비교 모델</h4><ul><li>Oracle (ground truth)</li><li>Random</li><li>Markov</li><li>Exponential Moving Average (EMA)</li><li>DeepAR</li><li>TrendRec (GRU4Rec + DeepAR)</li></ul><p>Oracle과 Random 모델은 성능 비교가 아닌 metric 계산에 사용된다.</p><h4>평가 지표</h4><p>본 논문에서는 단순히 추천 결과에 대해서 recall, nDCG 등을 계산하기 않고, 실제 정답인 top-k 상품들의 time step <em>t </em>에서의 trend의 합을 최대치 (Oracle), Random model의 top-k 상품들의 trend 합을 최저치로 설정해서 그 상대적인 값을 metric으로 사용한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*Iqd8PQHfmfcBsfLWF_0bcg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*WHZhb1tsnWxrh-oiwjyUPg.png" /><figcaption>acceleration이 DCG의 weight로 사용된다.</figcaption></figure><h4>실험 결과</h4><ol><li>모델 별 성능 비교</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VMyR3Jw8eYxeCg9VKePLCg.png" /></figure><p>TrendRec가 모든 모델들 중 가장 좋았다. 특히 DeepAR과 비교했을 때 TaoBao 데이터셋에서 더 큰 성능 향상이 있었는데, next-item recommendation task가 TrendRec의 전체 성능 향상 폭이 증가된 것과 관련있다고 볼 수 있다.</p><p>실제로 TaoBao 데이터셋에서는 GRU4Rec이 잘 학습되어 다른 데이터셋보다 높은 추천 정확도를 보였다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*1p54qSbxQ3MrnABdekzTzg.png" /></figure><p>2. time-step 길이별 성능 변화</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AdJoF-u7vbSIL2W7qMG0gQ.png" /></figure><p>위 <strong>time step 길이의 중요성 </strong>섹션에서 얘기했듯이, time step 길이가 길어짐에 따라 성능이 향상하다가 일정 기준을 넘어가면 data drift의 영향으로 인해 다시 떨어지는 것을 확인할 수 있다.</p><p>특히 최신 뉴스 위주로 소비되는 뉴스 도메인인 MIND 데이터셋의 경우 최적 time step interval이 가장 짧았다.</p><h3>소감</h3><ul><li>크게 관심 갖지 않았던 trending item에 대한 깊이있는 분석과 제안 방법이 흥미로웠다.</li><li>하지만 time step별로 user, item embedding이 따로 필요한 거 같은데, 이 경우 너무 많은 메모리가 필요할 거 같다는 생각을 했다.</li><li>위에 설명에도 적혀있지만, 모델 학습과 예측부분에서는 acceleration 기호를 사용해서 objective를 설명하는데, 마지막 appendix에서는 velocity를 사용했다고 해서 혼란스러웠다.</li><li>실제 온라인 테스트를 해봐야 알겠지만, acceleration (trend)의 정의가 단순 velocity의 변화량으로 해도 괜찮을 지 의문이었다. 예를 들어 저자들의 정의에 따르면 velocity가 5인 상품이 100이 되었을때 보다 1000인 상품이 1100이 되었을 때 더 큰 acceleration을 갖게 된다.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=388b1ab803ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/trending-now-modeling-trend-recommendations-%EB%A6%AC%EB%B7%B0-388b1ab803ef">[RecSys’23]Trending Now: Modeling Trend Recommendations 리뷰</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[TOIS’23]Personalized Prompt Learning for Explainable Recommendation — review]]></title>
            <link>https://medium.com/recsys-summarize/tois23-personalized-prompt-learning-for-explainable-recommendation-review-4e9a783ef780?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/4e9a783ef780</guid>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Mon, 19 Feb 2024 13:15:54 GMT</pubDate>
            <atom:updated>2024-02-19T13:15:39.209Z</atom:updated>
            <content:encoded><![CDATA[<h3>[TOIS’23]Personalized Prompt Learning for Explainable Recommendation — review</h3><p>Explainable Recommender System using LLM</p><h3>Background</h3><p><strong>Explainable recommendation</strong>, which provides explanations along with recommendations, is becoming increasingly important as it enhances users’ trust and satisfaction with services.</p><p>There are various forms of explanations, but nowadays, with the advancement of <strong>Large Language Models (LLMs)</strong>, many methods utilizing pre-trained models to generate sentences directly are being proposed.</p><p>However, in recommendation systems, <em>user and item IDs contain information that cannot be represented solely by metadata, but such information is not included in the tokens of pre-trained LLMs, making it difficult to utilize</em>. The enormous size of LLMs also poses constraints on their utilization.</p><p>Therefore, the authors of this paper propose the model <strong>PEPLER</strong>, which has the following contributions.</p><ul><li>The authors propose a model that <em>incorporates user and item IDs into the prompt</em> to generate explanations.</li><li>To enhance the ability to generate explanations, they propose two training strategies, namely <strong>sequential tuning</strong>, and<strong> recommendation as regularization</strong>, to bridge the gap between continuous prompts and pre-trained models.</li><li>In addition to traditional <strong>text quality</strong> metrics such as BLEU and ROUGE, they conduct experiments using metrics to measure the <strong>explainability</strong> from the item feature perspective.</li></ul><h3>Proposed Method</h3><p>The authors introduce <strong>PEPLER-D</strong>, which utilizes <strong>discrete prompt learning</strong>, and <strong>PEPLER</strong>, which employs <strong>continuous prompt learning</strong>.</p><h4>PEPLER-D</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*TE1g07XSHz5nOzuDZBEeMA.png" /></figure><p>Let’s denote the feature sets for user <em>u</em> and item <em>i</em> as <em>F_u</em>​ and <em>F_i</em>​ respectively. For example, <em>F_u</em>​ could be {<em>gym, bathroom, breakfast</em>} and <em>F_i</em>​ could be {<em>gym, breakfast, subway, Wi-Fi</em>}.</p><p>For each pair (<em>u</em>, <em>i</em>), we combine <em>F_u</em>​ and <em>F_i</em>​ to create <em>F_u</em>,<em>i.</em>​ Then include it in the prompt to generate explanations. <em>F_u</em>,<em>i</em>​ is a set of natural languages that thus exists in the tokens of the LLM model.</p><p><em>F_u,i = [intersect(F_u, F_i), Union(F_u, F_i) / intersect(F_u, F_i)]</em></p><p>Ultimately, we concatenate <em>F_u</em>,<em>i</em>​, the &lt;bos&gt; token (beginning of sentence), and the ground truth explanation to create the input prompt. For the output, the model returns the ground truth explanation along with the &lt;eos&gt; token (end of sentence).</p><p>It’s worth mentioning that in the experimental section, <strong>the authors use reviews that have gone through a refinement process as ground truth explanations.</strong></p><p>The model then creates <em>S_0 ([s_0,1, …, s_0,|S|)</em> by adding token embeddings and position embeddings together, and passes it through <em>n</em> transformer blocks to obtain <em>S_n([s_n,1, …, s_n,|S|)</em>.</p><p>For each vector <em>s_n</em>,<em>k</em>​ in <em>S_n</em>​, we calculate the probability <em>c_t</em>​ for each token and train the model in the direction of optimizing the following Negative Log-Likelihood (NLL) loss</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*jdyphF5ga4L_m8hcH9tDuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*iD9Fj9iqdmnSyiZZ5TkZag.png" /></figure><h4>PEPLER</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*Bzpni3R90cMbDf43r8BgGA.png" /></figure><p>In PEPLER-D, features were used instead of user and item IDs. <em>However, these features cannot fully replace the information that only IDs can contain.</em> While knowing the IDs allows us to infer the features, knowing the features does not necessarily reveal the IDs.</p><p>Furthermore, prompts do not necessarily have to be <strong>human-comprehensible</strong>. In other words, it’s acceptable to provide vectors instead of explicit tokens as prompts. This approach, where vectors are provided as prompts instead of tokens, is called <strong>continuous/soft prompts</strong>.</p><p>Since adding user and item IDs to the vocabulary of the LLM model is challenging, the authors created embedding matrices <strong>U</strong> and <strong>I</strong> for users and items independently (with dimensions is same as token embeddings). They then concatenate the embedding vectors found by looking up the user and item IDs to the embedding list of the prompt that passed through the embedding layer.</p><p>The subsequent steps are the same as PEPLER-D. The loss for PEPLER is as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*h2yJiQPySKJg8IS_6UwJyQ.png" /></figure><h4>Explanation Generation</h4><p>Both PEPLER-D and PEPLER generate explanations by providing [<em>F_u</em>,<em>i</em>​,&lt;<em>bos</em>&gt;] or [<em>u</em>, <em>i</em>, &lt;<em>bos</em>&gt;] as prompts, and using the output until the &lt;eos&gt; token is encountered or until the maximum length is reached.</p><p>In this process, there are two common decoding methods: <strong>greedy decoding</strong>, where the token with the highest probability is chosen at each step, and <strong>beam search</strong>, where N tokens with the highest probability are selected at each step, and the final result is selected by iteratively choosing the sequence with the highest overall probability.</p><p>However, since this paper does not focus on introducing such techniques, the simplest greedy decoding method is used. This can be represented in the following formula</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*VZ9sJLGWHRqc3dno7Onq9g.png" /></figure><h4>Training strategy(1) — Sequential Tuning Strategy</h4><p>For PEPLER using <strong>continuous prompt learning</strong>, new parameters <strong>U</strong> and <strong>I</strong> were newly introduced. The authors refer to these as <strong>prompt parameters </strong>(&lt;&gt; <strong>model parameters</strong>), and they propose a <strong>sequential tuning strategy</strong> to effectively train them.</p><p>The sequential tuning strategy consists of two steps:</p><ol><li>The model parameters are <strong>frozen</strong>, and only the prompt parameters are used to minimize the loss.</li><li>Both the model parameters and the prompt parameters are <strong>fine-tuned together.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*tZnQXoy575vCQR3ANSsizg.png" /><figcaption>Sequential Tuning Strategy</figcaption></figure><h4>Training strategy(2) — Recommendation as Regularization</h4><p>The authors anticipated that if there is <strong>rating information</strong> provided by user <em>u</em> for item <em>i</em>, it could help understand the relationship between <em>u</em> and <em>i </em>thus it can generate a better explanation.</p><p>Additionally, based on findings from other studies suggesting that the <em>recommendation task can benefit from learning other tasks simultaneously through multi-task learning</em>, they propose a framework that jointly learns the <strong>explanation generation task</strong> and the <strong>rating prediction task</strong>.</p><p>Therefore, the final PEPLER model has the following structure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*b9T60qDBXFJSN2FN9sbqRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*bXCsIP0S0JLej95JWVg9Dw.png" /><figcaption>rating prediction loss</figcaption></figure><p>For rating prediction, an additional loss <em>L_R</em>​ is added, resulting in the final loss function as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*n31YM0z15Fj0E_lv0CvoQw.png" /></figure><h3>Experiment</h3><h4>Dataset</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*V_GfejeH0KKoXtu5-kOKgA.png" /></figure><ul><li>Train, validation, and test datasets are created by randomly splitting the records in a ratio of 8:1:1.</li><li>For generating explanations, <strong>sentences containing product features</strong> are extracted from each review.</li></ul><h4>Evaluation Metrics</h4><ul><li>BLEU, ROUGE: text quality</li><li>USR: Explanation diversity</li><li>FMR, FCR, DIV: Explainability</li></ul><h4>Baselines</h4><p>PEPLER-D is compared with a model that does not directly utilize user and item IDs. On the other hand, PEPLER is compared with models that directly use these IDs.</p><p>Both PEPLER and PEPLER-D utilize a pre-trained <strong>GPT-2 model</strong>.</p><ul><li>PEPLER-D: ACMLM</li><li>PEPLER: NRT, Att2Seq, PETER</li></ul><h4>Quantitative evaluation results (text quality, explainability)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*MLNSaZRqjcXfI40tc7JG6A.png" /></figure><ul><li>Overall, models directly using IDs performed better than those that did not.</li><li>Both PEPLER-D and PEPLER outperformed their comparison models.</li><li>When comparing the effectiveness of <strong>Recommendation as Regularization</strong>, the MF (Matrix Factorization) model performed better than the MLP (Multi-Layer Perceptron) model on the largest Yelp dataset. The MF model is considered a suitable choice because it has simpler operations and fewer parameters to train.</li></ul><h4>Effect of Sequential Tuning Strategy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*1JsS4cR9osp9g6s-rAg4OA.png" /></figure><p>When compared to other training strategies, the Sequential tuning strategy showed better performance</p><ol><li>Prompt + LM Fine-tuning: Sequential Tuning Strategy — 2nd stage only</li><li>Fixed-LM Prompt Tuning: This strategy involved fine-tuning only the LM model without updating the prompt parameters.</li></ol><h4>Effect of Recommendation as Regularization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*blTleWDlZQtd3_XwV2lbUQ.png" /></figure><p>When experimenting with different values of the lambda parameter, which adjusts the ratio between the loss for the rating prediction task (<em>L_R</em>) and the loss for the explanation generation task, it was observed that when lambda was less than 1 (indicating a smaller emphasis on <em>L_R</em>), the text quality improved.</p><p>Experimentally, it was found that the optimal value was 0.01.</p><h4>Case study</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*GQyumaLYjH-4cTGdvK8CnA.png" /></figure><h4>Relationship between model size and text quality</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*DazCXP_dgRrjaXLVa2TLjA.png" /></figure><p>It was found that there was no clear correlation between model size and ㅅtext quality.</p><h3>Impressions</h3><ul><li>It seems like a good paper with detailed explanations and rich experiments on explainable recommendation using LLM.</li><li>However, what concerns me is the model fine-tuning. I think this could be somewhat alleviated by applying lightweight techniques like RoLA or PEFT.</li><li>Although reviews were used as ground truth, it might not be immediately usable in the form of explanations for providing recommendation services. Therefore, I thought it would be better to preprocess them into a more ideal form of explanations before training the model.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e9a783ef780" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/tois23-personalized-prompt-learning-for-explainable-recommendation-review-4e9a783ef780">[TOIS’23]Personalized Prompt Learning for Explainable Recommendation — review</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[TOIS’23]Personalized Prompt Learning for Explainable Recommendation 리뷰]]></title>
            <link>https://medium.com/recsys-summarize/tois23-personalized-prompt-learning-for-explainable-recommendation-%EB%A6%AC%EB%B7%B0-06d493092056?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/06d493092056</guid>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 18 Feb 2024 14:41:26 GMT</pubDate>
            <atom:updated>2024-02-19T13:15:42.533Z</atom:updated>
            <content:encoded><![CDATA[<p>LLM을 활용한 설명가능한 추천 시스템</p><h3>배경</h3><p>추천과 함께 설명을 제공하는 <strong>Explainable recommendation</strong>은 서비스에 대한 사용자의 신뢰와 만족을 높이기 때문에 점점 더 중요해지고 있다.</p><p>설명의 형식에는 여러가지가 있지만, 요즘에는 <strong>LLM</strong>의 발전으로 pre-trained된 모델을 활용해서 직접 문장을 생성하는 방법들이 많이 제안되고 있다.</p><p>하지만 추천 시스템에서 <strong>사용자, 상품의 ID은 메타 정보만으로는 표현할 수 없는 정보를 담고</strong>있지만 LLM이 학습한 토큰에는 포함되어있지 않아 활용하기 어렵다. LLM의 거대한 크기 또한 LLM 활용에 제약이 된다.</p><p>따라서 이 논문의 저자들은 아래의 컨트리뷰션을 갖는 모델 <strong>PEPLER</strong>를 제안한다.</p><ul><li><em>사용자, 상품 ID를 프롬프트에 포함시켜서 설명을 생성하는 모델을 제안한다.</em></li><li><em>설명 생성 능력을 끌어올리기 위해 continuous prompts와 pre-trained 모델 사이의 간격을 메우는 2가지 training strategy (sequential tuning, recommendation as regularization)를 제안한다.</em></li><li>BLEU, ROUGE와 같은 기존의 text quality metric뿐만 아니라, item feature 관점에서의 설명가능성 측정을 위한 metric을 사용해서 실험을 진행한다.</li></ul><h3>제안 방법</h3><p>저자들은 <strong>discrete prompt learning</strong> 방법을 사용한 <strong>PEPLER-D</strong>, <strong>continuous prompt learning</strong>을 사용한 <strong>PEPLER</strong> 를 소개한다.</p><h4>PEPLER-D</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*TE1g07XSHz5nOzuDZBEeMA.png" /></figure><p>사용자 <em>u</em> 와 상품 <em>i</em> 의 특징 set을 각각 <em>F_u</em>, <em>F_i </em>라고 하자. 예를들면 <em>F_u</em> 는 <em>{gym, bathroom, breakfast}</em>, <em>F_i</em>는 <em>{gym, breakfast, subway, Wi-Fi}</em>라 하자.</p><p>(<em>u, i</em>) 쌍에 대해서, <em>F_u, F_i</em>를 조합한 <em>F_u,i</em>를 prompt에 포함시켜서 설명을 생성한다. (<em>F_u,i = [intersect(F_u, F_i), Union(F_u, F_i) / intersect(F_u, F_i)]</em>)</p><p><em>F_u,i </em>는 자연어이기 때문에 LLM모델의 토큰에 존재한다.</p><p>최종적으로 <em>F_u,i</em>, &lt;bos&gt; 토큰 (begin of sentence), 그리고 ground truth explanation을 concatenate해서 input prompt를 만들고, output으로는 ground truth explanation과 &lt;eos&gt; 토큰 (end of senstence)을 반환하도록 LLM모델을 학습한다. (실험부분에서 나오지만, 저자들은 ground truth explanation로 정제과정을 거친 리뷰를 사용한다.)</p><p>그럼 모델은 토큰 임베딩 시퀀스와 포지션 임베딩을 더해서 <em>S_0 ([s_0,1, …, s_0,|S|)</em>를 만들고, n개의 transformer layer를 통과시켜서 <em>S_n([s_n,1, …, s_n,|S|)</em> 를 얻는다.</p><p><em>S_n </em>의 각 벡터<em> s_n,k </em>에 대해서, 각 토큰별 확률인 <em>c_t</em>를 계산하고, 아래와 같은 NLL loss를 최적화하는 방향으로 모델을 학습한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*jdyphF5ga4L_m8hcH9tDuA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*iD9Fj9iqdmnSyiZZ5TkZag.png" /></figure><h4>PEPLER</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*Bzpni3R90cMbDf43r8BgGA.png" /></figure><p>PEPLER-D에서는 사용자, 상품 ID가 아닌 특징을 사용했다. 하지만 이러한 특징은 ID만이 담을 수 있는 정보를 대체할 순 없다. 우리는 ID를 알면 특징을 알 수 있지만, 특징을 안다고 ID를 알 순 없다.</p><p>그리고 prompt는 반드시 human-comprehensible하지 않아도 된다. 즉, 명시적인 토큰이 아닌 벡터를 입력해도 괜찮다. 이렇게 토근 대신 벡터로 prompt를 제공하는 것을 <strong>continuous/soft prompt</strong> 라고 한다.</p><p>LLM 모델의 vocabulary 에는 사용자, 상품의 ID를 추가하는 것은 어려우므로, 저자들을 사용자, 상품 임베딩 매트릭스 <strong>U, I (차원 수는 토큰 임베딩과 동일)</strong>를 만들었다. 그리고 사용자, 상품의 ID를 look-up 해서 찾은 임베딩 벡터를 임베딩 레이어를 통과한 prompt의 임베딩 리스트에 concatenate한다.</p><p>그 이후의 단계는 PEPLER-D와 동일하다. PEPLER의 loss는 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*h2yJiQPySKJg8IS_6UwJyQ.png" /></figure><h4>설명 생성</h4><p>PEPLER-D와 PEPLER 모두 설명을 생성할 때는 [<em>F_u,i</em>, &lt;bos&gt;] 또는 [<strong>u, i</strong>, &lt;bos&gt;]를 prompt로 주고, &lt;eos&gt; 토큰이 나오거나 최대길이가 될 때까지의 출력을 설명으로 사용한다.</p><p>이 때 모든 step에서 probability가 높은 토큰을 찾아나서는 <strong>greedy decoding </strong>방법과 모든 step에서 probability가 높은 N개의 토큰을 찾아 이어나가면서 최종 결과가 가장 좋은 설명을 하나 선택하는 <strong>beam-search</strong>가 있는데, 본 논문은 이런 테크닉을 소개하는 논문이 아니므로 가장 간단한 greedy decoding 방법을 사용한다. 수식으로 표현하면 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*VZ9sJLGWHRqc3dno7Onq9g.png" /></figure><h4><em>Training strategy(1) — </em>Sequential Tuning Strategy</h4><p>continuous prompt learning 을 사용하는 PEPLER의 경우, 새로운 <strong>U, I </strong>파라미터가 추가되었다. 저자들은 이를 <strong>prompt parameter (&lt;&gt; model parameter)</strong>라고 하며<strong>, </strong>이를 잘 학습시키기 위한 <strong>sequential tuning strategy</strong>를 제안한다.</p><p>sequential tuning strategy는 2단계로 나뉜다.</p><ol><li>model parameter는 freeze한 뒤, prompt parameter만을 갖고 loss를 최소화하도록 학습한다.</li><li>model parameter와 prompt parameter를 다함께 fine-tuning한다.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*tZnQXoy575vCQR3ANSsizg.png" /><figcaption>Sequential Tuning Strategy</figcaption></figure><h4>Training strategy(2) — Recommendation as Regularization</h4><p>저자들은 사용자 <em>u</em>가 상품 <em>i</em>에 부여한 rating 정보가 있다면 이를 (<em>u, i</em>) 사이의 관계를 파악하는데 도움이 될 거 라고 예상했다. 또한 다른 연구들로 부터 recommendation task가 다른 task를 함께 학습하는 multi-task learning을 통해 양쪽 task 모두 성능이 향상된다는 사실에 기반해서, 설명 생성 task와 rating prediction task를 함께 학습하는 프레임워크를 제안한다.</p><p>따라서 최종 PEPLER 모델은 아래와 같은 구조를 갖는다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*b9T60qDBXFJSN2FN9sbqRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*bXCsIP0S0JLej95JWVg9Dw.png" /><figcaption>rating prediction loss</figcaption></figure><p>rating prediction을 위한 loss <em>L_R </em>이 추가되어, 최종 loss function은 아래가 된다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*n31YM0z15Fj0E_lv0CvoQw.png" /></figure><h3>실험</h3><h4>데이터셋</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*V_GfejeH0KKoXtu5-kOKgA.png" /></figure><ul><li>train, validation, test 데이터셋은 records를 랜덤으로 8: 1: 1로 나눠서 생성</li><li>explanation으로는 각 리뷰에서 상품 feature가 포함되어있는 문장들만 추출해서 생성</li></ul><h4>Evaluation Metrics</h4><ul><li>BLEU, ROUGE: text quality</li><li>USR: Explanation diversity</li><li>FMR, FCR, DIV: Explainability</li></ul><h4>Baselines</h4><p>PEPLER-D는 사용자, 상품 ID가 직접 사용되지 않는 모델, PEPLER는 직접 사용하는 모델들과 비교한다. (PEPLER, PEPLER-D 는 pre-trained model로 GPT-2를 사용)</p><ul><li>PEPLER-D: ACMLM</li><li>PEPLER: NRT, Att2Seq, PETER</li></ul><h4>정량적 평가 결과 (text quality, explainability)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*MLNSaZRqjcXfI40tc7JG6A.png" /></figure><ul><li>전반적으로 ID를 직접사용하는 모델들이 그렇지 않은 모델들 보다 좋았다.</li><li>PEPLER-D, PEPLER 모두 비교 모델보다 좋았다.</li><li>Recommendation as Regularization 의 효과를 보기 위해 MF 모델, MLP 모델을 비교했을 때 가장 큰 Yelp 데이터셋에서는 MF가 더 좋았다. MF모델은 연산도 단순하고 학습할 파라미터 수가 적기 때문에, 적절한 선택이라고 볼 수 있다.</li></ul><h4>Sequential Tuning Strategy 의 효과</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*1JsS4cR9osp9g6s-rAg4OA.png" /></figure><p>다른 학습 전략들과 비교했을 때, 더욱 좋은 성능을 보였다.</p><ul><li>Prompt + LM fine-tuning: Sequential Tuning Strategy의 2nd stage만 수행</li><li>Fixed-LM Prompt Tuning: Prmopt parameter 없이 LM 모델만 fine-tuning</li></ul><h4>Recommendation as Regularization 의 효과</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*blTleWDlZQtd3_XwV2lbUQ.png" /></figure><p>rating prediction task의 loss L_R와 explanation generation task의 loss의 비율을 조정하는 람다 값을 바꿔가면서 실험했을 때, 람다가 1보다 작을때 (L_R 비중 작아짐) text quality는 좋아졌다. 실험상으로는 0.01 일 때가 최적이었다고 한다.</p><h4>Case study</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*GQyumaLYjH-4cTGdvK8CnA.png" /></figure><h4>모델 크기와 text quality의 관계</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*DazCXP_dgRrjaXLVa2TLjA.png" /></figure><ul><li>모델 크기와 text quality가 비례하는 경향은 발견되지 않았다.</li></ul><h3>느낀점</h3><ul><li>LLM을 활용한 explainable recommendation에 대한 구체적인 설명과 풍부한 실험이 진행된 좋은 논문인 거 같다.</li><li>다만 마음에 걸리는 점은 모델을 Fine-tuning하는 점인데, 이는 RoLA같은 PEFT 기술을 적용해서 어느정도 작업을 경량화 시킬 수 있을 거 같다.</li><li>리뷰를 ground truth로 사용했는데, 실제로 설명을 제공하는 추천 서비스를 제공한다고 했을 때 바로 사용할 수 있는 형태는 아니이기 때문에, 이를 조금 더 이상적인 설명의 형태로 가공한 뒤 모델을 학습하면 더 좋겠다는 생각을 했다.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06d493092056" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/tois23-personalized-prompt-learning-for-explainable-recommendation-%EB%A6%AC%EB%B7%B0-06d493092056">[TOIS’23]Personalized Prompt Learning for Explainable Recommendation 리뷰</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language…]]></title>
            <link>https://medium.com/recsys-summarize/cikm23-integrating-summarization-and-retrieval-for-enhanced-personalization-via-large-language-62933b9288b5?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/62933b9288b5</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[personalization]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 14:29:40 GMT</pubDate>
            <atom:updated>2024-02-04T14:29:32.964Z</atom:updated>
            <content:encoded><![CDATA[<h3>[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language Models — review</h3><p>This paper introduces techniques to enhance the personalized task performance ability of the LLM</p><h3>Background</h3><p>In voice assistant services like Amazon Alexa AI, understanding user input and providing responses tailored to user preferences can enhance the overall user experience.</p><p>To achieve this, one can train Large Language Models (LLMs) by <em>inputting the user’s past information</em> to generate responses based on this data. However, when entering the user’s past information as text, the length of input tokens may become extensive. This could surpass the manageable length for LLM models, leading to issues such as increased latency and cost burden.</p><p>To address this problem, conventional methods employ <strong>selective retrieval </strong>techniques, where only essential information from the user’s past data is chosen to compose input tokens. In personalized services, <em>user information typically involves past interactions related to the task, and the results of selective retrieval consist of a few interactions close to the query.</em> However, this approach has limitations in dealing with <strong>information loss</strong> and <strong>cold-start</strong> situations.</p><p>In this paper, the authors propose a <strong>summary-augmented approach</strong> to address the limitations of selective retrieval. The authors claim that their proposed method demonstrated similar or better performance with 75% less information compared to the conventional approach.</p><h3>Proposed method</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*t8CUbkWEHFgX9olaXF5Drw.png" /></figure><p>Given User Data <em>P_u</em>​ containing user history interactions, <strong>the Summarizer </strong>generates a summarized text from this information. <strong>The Retrieval model</strong>, using <em>P_u</em>​ and a description <em>x</em> of the task to be performed, returns <em>k</em> interactions that are highly relevant to the task. Each can be expressed by the following equations</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/1*1eD6wVrBmW6GBk2BWBzYGA.png" /><figcaption>The result of Summarizer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/231/1*k0GDrMaSMRKmj8q_bVOs7w.png" /><figcaption>The result of Retrieval model</figcaption></figure><p>Furthermore, combining these two components to generate the final output using the LLM and input <em>bar(x_i​)</em> is expressed as follows. (Note that the LLM generating the final output and the Summarizer LLM summarizing <em>P_u</em>​ are different.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*0fq6l_TnoMQdWMqf6LA78w.png" /></figure><p>Conversely, for the baseline that does not utilize the Summarizer, the input is represented as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*pkHwPpY8Hdx9EvZJNg4vvg.png" /></figure><p><em>phi_p, phi_q</em> are prompt construction functions or templates</p><h4>Examples of <em>x</em> for each task</h4><p><em>task1. For an author who has written the paper with the title “Visual-audio integration for user authentication system of partner robots”, which reference is related? Just answer with [1] or [2] without explanation. [1]: “Pronunciation Modeling for Improved Spelling Correction” [2]: “Path following algorithm for highly redundant manipulators</em></p><p><em>task2. Which category does this article relate to among the following categories? Just answer with the category name without further explanation. categories: [women, religion, politics, style &amp; beauty, entertainment, culture &amp; arts, sports, science &amp; technology, travel, business, crime, education, healthy living, parents, food &amp; drink] article: Calls for presidential impeachment have cast a shadow over most modern-day presidents. However, the chorus of impeachers seems louder in the past year.</em></p><p><em>task3. What is the score of the following review on a scale of 1 to 5? just answer with 1, 2, 3, 4, or 5 without further explanation. review: One was broken and unusable, another was cracked but I’m using it.</em></p><p><em>task4. Generate a headline for the following article: Here are a few tips to keep your teen safe when using the Internet and other web-based technologies. If you think it’s an awkward conversation; you can hand them this blog to read.</em></p><p><em>task5. Generate a title for the following abstract of a paper: </em>[An abstract of a paper, skipped for its long length]</p><p><em>task7. Paraphrase the following tweet without any explanation before or after it: Although I have a lot to do today, I am currently feeling unoccupied.</em></p><h3>Experiment</h3><p>To evaluate the performance of the proposed method in enhancing the personalized task performance of the language model, the authors utilize the <a href="https://lamp-benchmark.github.io/download">LaMP</a> public dataset. LaMP consists of training, validation, and test datasets for seven tasks. In this experiment, the authors employ user-based separation to evaluate the model for the following six tasks</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*9eX2M1ZRPN6WWFzpfme0Fw.png" /></figure><h4>Experiment setting</h4><ul><li>Downstream task LLM: <strong>FlanT5-base (</strong>learning rate: 0.00005, weight decay: 0.0001, warmup ratio: 0.05, beam size: 4, epochs: 10 (task 1, 2, 3), 20(task 4, 5, 6))</li><li>Retrieval algorithm: BM25</li><li>Summarizer: Vicuna, gpt-3.5-turbo-16k</li><li>k (The number of interactions retrieved by the Retrieval model): <br>0 (retrieval only), 1, 4</li></ul><h4>Summarizer prompts</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4s8m351QOioRyYShipCuEA.png" /></figure><h4>Experiment result</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2aHes23QhcRaWmLPEUKTQ.png" /></figure><ul><li>When the results of the Summarizer were used, the performance at <em>k</em>=1 showed similar or better results compared to the case without the Summarizer, where <em>k</em>=4 (always better than <em>k</em>=1).</li><li>In terms of comparing Summarizers, GPT3.5 outperformed Vicuna. However, there were limitations to using the results of GPT3.5 for LaMP-2/3.</li></ul><h3>Summary &amp; Reflection</h3><ul><li>While it might be challenging to identify significant novelty or impact in the paper, it provided a useful overview of how Language Models (LLMs) are employed in personalized tasks and how they are evaluated.</li><li>It instilled in me the necessity to delve into the fine-tuning of LLMs.</li><li>One drawback is the absence of concrete examples for LLM inputs. The reliance on mathematical expressions made it difficult to understand how retrieval results, summarizer outcomes, and task descriptions contribute to the generation of a single prompt.</li><li>However, referring to the cases provided in the appendix allowed me to infer how each step unfolded. For instance, understanding that BM25 is a vector similarity method helped envision the process.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62933b9288b5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/cikm23-integrating-summarization-and-retrieval-for-enhanced-personalization-via-large-language-62933b9288b5">[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language…</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language…]]></title>
            <link>https://medium.com/recsys-summarize/integrating-summarization-and-retrieval-for-enhanced-personalization-via-large-language-models-%EB%A6%AC%EB%B7%B0-a94918a1069e?source=rss----f6e778de8ea9---4</link>
            <guid isPermaLink="false">https://medium.com/p/a94918a1069e</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[personalization]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <dc:creator><![CDATA[Austin Park]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 13:57:45 GMT</pubDate>
            <atom:updated>2024-02-04T14:29:03.261Z</atom:updated>
            <content:encoded><![CDATA[<h3>[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language Models 리뷰</h3><p>LLM의 개인화 task 수행 능력을 향상시키는 테크닉을 소개하는 논문입니다.</p><h3>배경</h3><p>Amazon Alexa AI와 같은 voice assistant 서비스에서는 사용자의 말을 이해하고 사용자의 취향에 맞는 응답을 함으로써 사용자 경험을 향상 시킬 수 있다.</p><p>이를 위해서는 <em>LLM에 사용자의 지난 정보를 입력해서 이에 기반한 응답을 생성하도록 학습시킬 수 있다.</em> 하지만 사용자의 지난 정보를 텍스트 형태로 입력하게 되면 입력 토큰의 길이가 길어지는데, 이는 LLM 모델이 감당할 수 있는 길이를 넘어설 수 있고, latency와 비용 부담이 커지는 문제를 발생시킨다.</p><p>이러한 문제를 해결하기 위해 기존에는 사용자의 지난 정보 중 중요한 정보만 선택해서 입력 토큰을 구성하는 <strong>selective retrieval </strong>기술이 사용된다. <em>개인화 서비스의 경우 사용자 정보는 task와 관련한 과거 interaction들이 되고, selective retrieval의 결과는 query와 가까운 몇 개의 interaction이 된다.</em> 하지만 이는 정보 손실 문제와 cold-start 상황에는 대응하기 어렵다는 한계를 갖고있다.</p><p>저자들은 본 논문에서 <strong>selective retrieval </strong>의 한계를 보완하기 위해 user-summary 정보를 함께 제공하는 <strong>summary-augmented approach</strong>를 제안한다. 저자들이 제안한 방법은 75%적은 정보를 갖고도 기존 방법과 비슷하거나 더 나은 성능을 보였다고 한다.</p><h3>제안 방법</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*t8CUbkWEHFgX9olaXF5Drw.png" /></figure><p>사용자의 정보를 담고 있는 User Data <em>P_u (</em>user history interactions<em>)</em>가 있을 때, Summarizer 이를 요약한 텍스트를 생성한다. 그리고 Retrieval model은 <em>P_u</em>와 수행하려는 task에 대한 설명인 <em>x</em>를 사용해서 task와 연관성이 높은 interaction k개를 반환한다. 각각 아래와 같은 수식으로 표현할 수 있다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/1*1eD6wVrBmW6GBk2BWBzYGA.png" /><figcaption>Summarizer 의 결과</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/231/1*k0GDrMaSMRKmj8q_bVOs7w.png" /><figcaption>Retrieval model의 결과</figcaption></figure><p>그리고 이 둘을 결합해서 최종 output을 생성할 LLM과 input <em>bar(x_i)</em>는 아래와 같이 표현된다. (최종 output을 생성하는 LLM과 <em>P_u</em>를 요약하는 Summarizer LLM은 다른 모델)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*0fq6l_TnoMQdWMqf6LA78w.png" /></figure><p>반대로, Summerizer를 활용하지 않은 기존 방법의 input은 아래와 같다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*pkHwPpY8Hdx9EvZJNg4vvg.png" /></figure><p><em>phi_p, phi_q</em>는 prompt 를 생성하는 템플릿으로 보면된다.</p><h4>각 task별 예시 x</h4><p><em>task1. For an author who has written the paper with the title “Visual-audio integration for user authentication system of partner robots”, which reference is related? Just answer with [1] or [2] without explanation. [1]: “Pronunciation Modeling for Improved Spelling Correction” [2]: “Path following algorithm for highly redundant manipulators</em></p><p><em>task2. Which category does this article relate to among the following categories? Just answer with the category name without further explanation. categories: [women, religion, politics, style &amp; beauty, entertainment, culture &amp; arts, sports, science &amp; technology, travel, business, crime, education, healthy living, parents, food &amp; drink] article: Calls for presidential impeachment have cast a shadow over most modern-day presidents. However, the chorus of impeachers seems louder in the past year.</em></p><p><em>task3. What is the score of the following review on a scale of 1 to 5? just answer with 1, 2, 3, 4, or 5 without further explanation. review: One was broken and unusable, another was cracked but I’m using it.</em></p><p><em>task4. Generate a headline for the following article: Here are a few tips to keep your teen safe when using the Internet and other web-based technologies. If you think it’s an awkward conversation; you can hand them this blog to read.</em></p><p><em>task5. Generate a title for the following abstract of a paper: 논문 abstract 내용, 길어서 생략</em></p><p><em>task7. Paraphrase the following tweet without any explanation before or after it: Although I have a lot to do today, I am currently feeling unoccupied.</em></p><h3>실험</h3><p>제안 방법의 성능을 확인하기 위해서 language model의 개인화 task 수행 능력을 평가하기 위한 public dataset <a href="https://lamp-benchmark.github.io/download">LaMP</a>를 사용한다. LaMP는 7가지 task에 대한 train, validation, test dataset이 있는데, 본 실험에서는 아래 정리되어있는 6가지 task에 대해서 user-based separation을 사용해서 모델을 평가한다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*9eX2M1ZRPN6WWFzpfme0Fw.png" /></figure><h4>실험 세팅</h4><ul><li>Downstream task LLM: <strong>FlanT5-base (</strong>learning rate: 0.00005, weight decay: 0.0001, warmup ratio: 0.05, beam size: 4, epochs: 10 (task 1, 2, 3), 20(task 4, 5, 6))</li><li>Retrieval algorithm: BM25</li><li>Summarizer: Vicuna, gpt-3.5-turbo-16k</li><li>k: 0 (retrieval only), 1, 4</li></ul><h4>Summarizer 프롬프트</h4><ul><li>각 task별로 Summerizer 모델에게는 아래와 같은 query를 입력해서 요약 결과를 얻는다.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4s8m351QOioRyYShipCuEA.png" /></figure><h4>실험 결과</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2aHes23QhcRaWmLPEUKTQ.png" /></figure><ul><li>Summarizer의 결과를 함께 사용했을 때, <em>k</em>가 1일때의 성능은 Summarizer없을때 <em>k</em>가 4일 때의 결과보다 비슷하거나 더 좋은 결과를 보였다 (<em>k</em>가 1일때 보다는 항상 더 좋았다).</li><li>Summarizer를 비교하자면 Vicuna보다 GPT3.5의 성능이 좋았다. 하지만 LaMP-2/3에 대해서는 GPT3.5의 결과를 사용할 수 없는 한계가 있었다.</li></ul><h3>정리 &amp; 느낀점</h3><ul><li>논문 자체의 novelty나 impact가 크다고 보기에는 어렵지만 LLM을 사용해서 개인화 task가 어떤게 있고, 어떻게 수행되고 평가되는지 대략적으로 알 수 있어서 좋았다.</li><li>LLM 파인 튜닝 하는 법을 공부해야겠다는 필요성을 느꼈다.</li><li>아쉬운 점은 LLM input의 구체적인 예가 없다는 점이다. 수식으로만 이루어져 있어서, retrieval 결과와 summarizer 결과, 그리고 task description이 어떻게 하나의 프롬프트로 생성되는지 잘 그려지지 않았다.</li><li>대신 저자들이 appendix에 첨부한 case를 참고해서 각 단계가 어떻게 이루어 졌는지 예측할 수 있었다. (BM25가 vector similarity 방법인 것을 생각하면 된다.)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a94918a1069e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/recsys-summarize/integrating-summarization-and-retrieval-for-enhanced-personalization-via-large-language-models-%EB%A6%AC%EB%B7%B0-a94918a1069e">[CIKM’23]Integrating Summarization and Retrieval for Enhanced Personalization via Large Language…</a> was originally published in <a href="https://medium.com/recsys-summarize">recsys-summarize</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>