<?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[Stories by Robin Verachtert on Medium]]></title>
        <description><![CDATA[Stories by Robin Verachtert on Medium]]></description>
        <link>https://medium.com/@verachtertr?source=rss-79faef4f948f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-CneJw7YEo_MbvS64lvUKw.png</url>
            <title>Stories by Robin Verachtert on Medium</title>
            <link>https://medium.com/@verachtertr?source=rss-79faef4f948f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 10:02:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@verachtertr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lessons from ECIR 2023]]></title>
            <link>https://medium.com/froomle/lessons-from-ecir-2023-b5bf2e4744df?source=rss-79faef4f948f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5bf2e4744df</guid>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[information-retrieval]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Robin Verachtert]]></dc:creator>
            <pubDate>Thu, 27 Apr 2023 12:00:46 GMT</pubDate>
            <atom:updated>2023-04-27T12:00:46.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q9UuU0kyx2tQDk1H80XufQ.png" /><figcaption>Opening presentation</figcaption></figure><p>From the 2nd of April until the 6th of April the European Conference on Information Retrieval (ECIR) was held in Dublin, Ireland.</p><p>During this 5 day event, papers from various fields related to information retrieval are presented. These works present cutting-edge methods and theories in their niche fields, such as search, text representation, large language models and recommender systems.<br>The mix of fields presented at ECIR provided an opportunity to gather ideas from other fields, applicable to our field, recommender systems.</p><p>I was happy to be able to attend and present our <a href="https://medium.com/froomle/countering-popularity-bias-in-recommendations-7e13aac0aa3f">experiments</a> with punishing popular items in recommendations during the first poster session. <br>In this blog, I’ll present some of my takeaways from the conference.</p><h4>Operationalising of Fairness</h4><p>From the keynotes by Dr. Biega and Dr. Cramer during the BIAS workshop, I realised that fairness is a broad concept, with many metrics that each measure something slightly different. For example, fair exposure is not the same as equal exposure, as it takes into account an inherent quality or relevance of an item. Niche items need to be exposed, but not as often as globally relevant items. In order to make the metrics actionable and usable in production settings, we need to work on operationalisation. By creating tools and frameworks that tell us which metric to use when, we can automate the measurement of fairness in the system, and take action when divergence is detected.</p><h4>New Metrics and Measurements</h4><p>Linked to the Quality of Service metric presented by Dr. Biega in her keynote presentation, we noticed that several papers were looking at ways to measure performance not just for the whole population at once, but also looking at results for individual subgroups of users. Groups where performance was bad, could then indicate relevant areas of algorithm improvement.</p><p>An example was the work by Zhang et al. [1] who divided users into three categories based on their mainstreaminess. They computed this by taking the average of the popularity of the items interacted with by the user.<br>Their findings indicated that a lot of the performance in single value metrics, comes from the ‘mainstream’ group, and performance on the niche users is a lot harder to get right.<br>Other ways of splitting the user groups also exist, such as splitting by sensitive attribute (gender, age, …) to guarantee fair results between these user groups.</p><p>In the main track, Türkmen et al. [2] presented a metric to measure the difference between an algorithm’s recommendations to those of the baselines used in the study.<br>In the Information Retrieval (IR) domain, many of the leaderboards are dominated by BERT-based models, which give very similar results, with minor differences leading to slightly different scores.<br>The authors argue that this can lead to local “hill climbing”, rather than radical advances.<br>Their proposed metric aims to address this by giving high value to retrieved items that the baselines did not find.</p><h4>Interfaces Matter</h4><p>It may not come as a surprise, but the design of the interface in which a user interacts with a recommendation system has a huge impact on the results and the perceived utility for the user.<br>During the conference multiple works looked at different ways in which the interface impacts user behaviour, and thus recommendation results.</p><p>In her BIAS workshop keynote, Asia Biega gave an example of how interfaces impact the fairness of recommendations. In their study, they used a website that allowed you to sponsor schools in the US. In one of the groups, the users were given access to a search bar, in addition to a list of recommended schools, the second group was not, they only got the recommended list.<br>Analysing the experiment, they found that the first group was much more likely to back a school that was local to their area, and so schools in smaller communities received less money, even though they needed it more. A follow-up study with banners indicating if a school was in high need of support, raised the fairness further, as users were pushed to support those schools that need the support, rather than schools they may know or are local to them.</p><p>In Mounia Lalmas’ keynote, she indicated that Spotify takes care to make sure the UI is aligned with the recommendations, for example keeping explorative recommendations (novel recommendations for the user) and exploitative recommendations (obvious classics the user has listened to repeatedly) clearly separated on the home page, and in separate playlists.</p><p>A user study presented by Putkonen et al. [3] showed that users read news homepages differently depending on how they are structured and what information about the item is shown.<br>In their study, they compared a single-column homepage (often found on mobile) with a multicolumn homepage (grid, often found on desktop). Further, they varied what information for each item they presented (title, image, description). Their results showed that in grid presentation, users were considering items much more fragmented, jumping from one item to another, whereas in the single-column setup, they found that the users were considering each item for longer and more attentively. <br>Interestingly, they mentioned during the presentation that they could not measure a clear difference in actual click-through rates between the two home pages.</p><p>Further work relating the interface to evaluation was presented by Olivier Jeunen during the Industry Day on Thursday. In experiments at ShareChat, they found that the traditional discount applied when using nDCG (1/log(rank)) did not correspond to the attention each article gets in their feed. Especially at lower positions in the (infinite scroll) feed, the 1/log(rank) score was much higher than the exposure those positions received in practice. To solve this issue, they propose to fit an exposure distribution based on collected data. In their case, a Yule-Simon distribution fits the data best.</p><h4>Conclusion</h4><p>Throughout the conference, it was an eye-opener to hear about problems in fields related to recommender systems. It is rewarding to look for ideas and solutions that are applicable in our field, even though they were not explicitly proposed in that area.</p><h4>Resources</h4><ul><li>[1] Zhang K., Xie, M., Zhang, Y., Zhang, H. (2023). Implicit Feedback for User Mainstreaminess Estimation and Bias Detection in Recommender Systems. <a href="https://www.youtube.com/watch?v=K9Sssp2QaHY">https://www.youtube.com/watch?v=K9Sssp2QaHY</a></li><li>[2] Türkmen, M.D., Lease, M., Kutlu, M. (2023). New Metrics to Encourage Innovation and Diversity in Information Retrieval Approaches. In: Advances in Information Retrieval. ECIR 2023.</li><li>[3] Putkonen, A., Nioche, A., Laine, M., Kuuramo, C., Oulasvirta, A. (2023). Fragmented Visual Attention in Web Browsing: Weibull Analysis of Item Visit Times. In: Advances in Information Retrieval. ECIR 2023.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5bf2e4744df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/froomle/lessons-from-ecir-2023-b5bf2e4744df">Lessons from ECIR 2023</a> was originally published in <a href="https://medium.com/froomle">Froomle</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Countering Popularity Bias in Recommendations]]></title>
            <link>https://medium.com/froomle/countering-popularity-bias-in-recommendations-7e13aac0aa3f?source=rss-79faef4f948f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e13aac0aa3f</guid>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[bias]]></category>
            <dc:creator><![CDATA[Robin Verachtert]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 08:48:57 GMT</pubDate>
            <atom:updated>2023-03-28T08:48:57.406Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lDl_twtp98Ng-vY8" /><figcaption>Photo by <a href="https://unsplash.com/@lauraperuchi?utm_source=medium&amp;utm_medium=referral">Laura Peruchi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Popularity Bias is a common issue for recommender systems, especially for news recommendations. <br>Most people read the breaking news, however, many are also interested in their own niche interests. Some like football, others basketball, and still others will read everything about the political scene, or movie stars.</p><p>If the recommendation algorithm only propagates the breaking news, then users will have a hard time finding articles that satisfy their niche interests.<br>In most offline experiments, recommending popular items is rewarded by the metric chosen, e.g. NDCG and Recall, two common metrics in recommender systems evaluation.<br>This disparity can make it easy to mistakenly use non-optimal solutions.</p><p>In a series of experiments on three newspapers, we investigated the impact of punishing popular items on fairness metrics such as item-catalogue coverage and the Gini index of the recommendations, as well as the impact on NDCG (offline) and the CTR (online) of the recommendations.</p><p>We expected that punishing popularity will increase coverage and lower the Gini coefficient as more items get recommended and items get recommended more evenly.<br>On NDCG, we expected decreasing performance with increasing alpha, as the popularity bias in the data would value popular recommendations highly.<br>We had no expectations regarding the CTR, as we had no idea how the users would react to different sets of recommendations.</p><h4>Experimental Setup</h4><p>In our tests, we recommended 3 items to a user at the end of an article, the idea being that the user should consider the recommended articles to continue their reading.</p><p>As a recommendation algorithm, we used an item-based nearest neighbour algorithm (ItemKNN), which computes the similarity between items using the conditional-probability-inspired similarity function as defined in the original paper describing ItemKNN for recommender systems (Deshpande et al., 2004).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/0*O2-9Ce8D54btR_zc" /><figcaption>Similarity Function, D_u is the list of items visited by a user u, and alpha is a hyperparameter</figcaption></figure><p>Increasing alpha increases the popularity punishing factor of the target item j in the denominator.</p><p>Before running our online trials, we also evaluated the algorithm offline, looking at the NDCG@3 for various values of alpha. In total we ran 4 online A/B tests, each comparing a different value of alpha to the control setting of 0.5.</p><h4>Results</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f-CRRENEv4_yeKI8" /><figcaption>Fairness results of recommendations</figcaption></figure><p>Our two chosen fairness metrics show that increasing alpha does indeed lead to a more equal spread in recommendations. At the extreme (alpha = 1), we do notice that coverage goes down slightly, as popular items are now no longer recommended at all.</p><p>In terms of coverage, we see a big jump from alpha = 0.0 to 0.2 and 0.5, further increases don’t make it that much better. For the Gini index, we see that the increase to 0.2 has barely any effect, and increasing beyond 0.5 has less effect than going from 0.0 to 0.5, except on the third newspaper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*MGPCz5DnE_Mr-BNP" /><figcaption>Recommendation count distribution of each item, sorted from most read to least read</figcaption></figure><p>To look at why the fairness metrics behaved this way, we plot the recommendation count for each item, sorted from most read to least read.<br>In these distributions, we see that popular items remain the most recommended items unless we increase alpha all the way to 1. The recommendations do become more and more balanced as alpha increases to 0.5.<br>When moving beyond 0.5, we see a new imbalance appear, as unpopular items are recommended more frequently than some of the other items. With alpha = 1, the distribution is flipped, and recommendations are almost always unpopular items.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P54UrzNu7tRxs-TN" /></figure><p>In the comparison between NDCG and CTR, we clearly see the popularity bias propagated in the offline results, as 0.2 seems to work best. In the CTR results, we see a different story, our control setting of 0.5 performs best, and the more popularity-biased settings show significant drops in performance.</p><p>Both do agree on the poor performance for alpha=1, as the randomness introduced by recommending mostly unpopular items, severely limits the quality of the recommendations.</p><p>The 0.5 setting strikes a balance between recommending popular articles, and those that are strongly related to the article the user is reading.</p><p>Our results indicate that we need to counter popularity bias when building recommendation models, but that users do not want recommendations devoid of popular items. Those items were popular for a reason, as many users are interested in them. <br>Using the goldilocks parameters for countering popularity helps us increase the relevance of the recommended items for the readers.</p><h4>Resources</h4><ul><li>Deshpande, Mukund, and George Karypis. “Item-based top-n recommendation algorithms.” <em>ACM Transactions on Information Systems (TOIS)</em> 22.1 (2004): 143–177.</li><li>Verachtert, Robin, et al. “The Impact of a Popularity Punishing Hyperparameter on ItemKNN Recommendation Performance.” <em>Advances in Information Retrieval: 45th European Conference on Information Retrieval, ECIR 2023, Dublin, Ireland, April 2–6, 2023, Proceedings, Part II</em>. Cham: Springer Nature Switzerland, 2023.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e13aac0aa3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/froomle/countering-popularity-bias-in-recommendations-7e13aac0aa3f">Countering Popularity Bias in Recommendations</a> was originally published in <a href="https://medium.com/froomle">Froomle</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Learned during 4 Years of Recommender Systems Research]]></title>
            <link>https://medium.com/froomle/what-i-learned-during-4-years-of-recommender-systems-research-3774f8177689?source=rss-79faef4f948f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3774f8177689</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[phd]]></category>
            <dc:creator><![CDATA[Robin Verachtert]]></dc:creator>
            <pubDate>Tue, 21 Feb 2023 08:16:40 GMT</pubDate>
            <atom:updated>2023-02-21T08:16:40.687Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m currently in the process of writing my thesis, after four years of research into online recommender systems.<br>Here I’ll try to present the TLDR of my work these past years, and share some of the ideas I still have for future work, hoping that they might be interesting to others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NN7ZJQHoR54BgNGv" /><figcaption>Photo by <a href="https://unsplash.com/@chrislawton?utm_source=medium&amp;utm_medium=referral">Chris Lawton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Summarising 4 years of research</h3><p>In the past years, I worked as a research scientist at <a href="http://froomle.ai/">Froomle</a>, where I investigate solutions to problems that arise naturally when we start using recommender systems outside of the controlled environments usually found in research papers and experiments.</p><ul><li>One of my proudest accomplishments in these four years is the collaboration with <a href="https://medium.com/u/34054ea513e6">Lien Michiels</a> on a python library for experiments with implicit feedback collaborative filtering algorithms.<br>We built RecPack to simplify our experiments and share the easy-to-use interface with everyone interested in recommender systems experimentation.<br>We paid close attention to create a simple and easy-to-use interface, that feels familiar to everyone that has worked with sklearn in the past. <br>More information on RecPack can be found on the <a href="https://recpack.froomle.ai/">documentation page</a> and our publication that won the “Best Demo” award at <a href="https://dl.acm.org/doi/abs/10.1145/3523227.3551472">Recsys ’22</a>.</li><li>In a recently accepted paper “<a href="https://doi.org/10.1016/j.mlwa.2023.100455">Scheduling on a Budget: Avoiding Stale Recommendations with Timely Updates</a>” in the Machine Learning with Applications journal, we define and compare several methods for scheduling model updates.<br>Production recommender systems need frequent updating of the recommendation models, to avoid staleness in the recommendations and to account for concept drift in the data stream.<br>We compare smart schedulers based on the number of events, the unexpectedness of events, and the expected change in the model to the baseline time-based scheduler.<br>We find that the proposed smart schedulers are able to make a difference, resulting in performance improvement, without the need to increase costs for training models.</li><li>In “<a href="https://ceur-ws.org/Vol-3228/paper1.pdf">Are We Forgetting Something? Correctly Evaluate a Recommender System With an Optimal Training Window</a>” published in the PERSPECTIVES ’22 workshop at RecSys ‘22, we look at the impact of temporal dynamics on model quality. We show that the data used to train a recommendation model has a large impact on the quality of the model. <br>By using only recent data points to train algorithms, we find that popularity becomes an almost unbeatable baseline in offline experiments. Further, we find that other, simple methods, such as ItemKNN benefit strongly from a reduction in training data, and can now outperform more advanced and expensive neural networks.<br>These findings show that in offline experiments, we need to take care to fully optimise our baselines in order to make fair comparisons.</li><li>In the currently unpublished work, “A Unified Framework for Time-Aware Item-Based Neighbourhood Recommendation Methods”, we continue the effort to address concept drift when training models. Except that we don’t want to take the rough and indiscriminate method of ignoring most of the available data.<br>Instead, we analysed all known methods for ItemKNN that include a time-decay factor and propose a framework that generalises all of these methods and introduces additional, untried combinations.<br>We find that by applying the right decay, we can indeed improve on the crude forgetting mechanism proposed earlier.</li><li>In “The Impact of a Popularity Punishing Parameter on ItemKNN Recommendation Performance”, accepted at the upcoming ECIR ’23 conference, we look at the impact on recommendation quality and user engagement when we show less popular items in a news context.<br>We analyse the discrepancies between offline and online results and find that the popularity bias present in the data, also causes the evaluation to favour algorithms that recommend more popular items, whereas online results show that users are more likely to click on the recommendations when we punish popular items and show a more balanced list.</li></ul><p>From all of these publications, we have learned that online recommender systems are tricky to get right. For the majority of companies looking to use recommender systems, the challenge is not so much in building the best model, but in making sure this model is optimally used.<br>In many experiments, we found that applying smart tweaks to simple baseline algorithms, can put them ahead of complex methods.</p><p>The ability to use simple methods effectively is under-appreciated, as many people tend to just use deep learning or other computationally heavy methods, that should be able to learn more by themselves.<br>While these methods are often good at learning from large amounts of data, they are also very expensive, and therefore not always usable for companies with less budget than the Googles, Facebooks and Twitters out there.</p><h3>Looking Forward to the Future</h3><h4>Long Term Interests</h4><p>In our work, we have focused on the “short’’ term interests of users, and exploiting those, as they are the easiest to efficiently use for recommendations.<br>The goal of personalisation, though, should be to also use the longer-term history of each user, to provide an even more unique experience tailored to each individual.<br>Of particular interest in this area, is the recommendation of niche items to users that are interested in a niche topic.<br>The challenge comes from the fact that these niche interests are usually less represented in the dataset than popular topics, they have fewer articles and finally, there is usually more time between publications of the articles.<br>All of these factors introduce an extremely sparse pattern, that is hard to surface by traditional collaborative filtering means.<br>Specific methods to look for these sparse patterns can help news publishers get the right news to the right people.</p><h4>Efficient algorithms</h4><p>Most companies using recommender systems have a tight budget to use for serving and training their recommendation models.<br>So for them, the ability to efficiently compute small models that still get high quality is an important asset.<br>Recent advances in deep learning often result in algorithms that are high in resources, training time and model size.<br>Further research into algorithms that are both efficient to compute and can be served with minimal resources will make advances available to small- and medium-sized companies as well as the tech giants that are mostly served right now.</p><h4><strong>Scheduling</strong></h4><p>Our scheduling systems were based on heuristics, which showed a correlation with better scheduling moments.<br>Approaching the scheduling problem from a control systems angle could help further improve scheduling, and allow an even better return on investment for companies in their recommendation models.<br>We considered, but never completed avenues using reinforcement learning (RL) which seems suitable for application to the scheduling problem.<br>Using RL, the agent would have to decide on one of two actions (update or no update), and the reward function is a combination of the cost (negative) and performance (positive).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3774f8177689" width="1" height="1" alt=""><hr><p><a href="https://medium.com/froomle/what-i-learned-during-4-years-of-recommender-systems-research-3774f8177689">What I Learned during 4 Years of Recommender Systems Research</a> was originally published in <a href="https://medium.com/froomle">Froomle</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content-based Recommendations for News Media]]></title>
            <link>https://medium.com/froomle/content-based-recommendations-for-news-media-241133b62d5e?source=rss-79faef4f948f------2</link>
            <guid isPermaLink="false">https://medium.com/p/241133b62d5e</guid>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[personalization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Robin Verachtert]]></dc:creator>
            <pubDate>Wed, 08 Feb 2023 10:55:29 GMT</pubDate>
            <atom:updated>2023-02-08T10:55:29.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Media companies need to consider several factors in developing a strategy for recommending news to readers." src="https://cdn-images-1.medium.com/max/1024/0*CG0o9uyZWfRDIXUK" /><figcaption>Photo by <a href="https://unsplash.com/@bank_phrom?utm_source=medium&amp;utm_medium=referral">Bank Phrom</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>News recommendations are often seen as a particular case in the recommender systems field. Methods and architectures are explicitly created for news recommendations. One important concern is the rapidly changing set of relevant items. New items are constantly published, while older ones become obsolete. Algorithms need to be able to handle this changing environment.</p><p>The <a href="https://www.sciencedirect.com/science/article/abs/pii/S030645731730153X">state of the art for news recommendations</a> typically uses a hybrid approach, combining content-based recommendations with collaborative filtering and/or item features such as popularity and recency.</p><p>In this blog, we give an overview of which principles underpin Content-Based Recommender Systems and share insights we at <a href="http://froomle.ai/">Froomle</a> have learned from both literature and practice.</p><h3>What Are Content-Based Approaches for News?</h3><p>Items a user read are used to construct a user profile. This user profile is an aggregation of the user’s interests, for a variety of what we call “features.” <br>These features can be broad categories (like domestic news and sports), narrow topics (like “The Champions League” or “Tour de France”), entities, or abstract features obtained with natural language processing techniques used on the title or article text.</p><p>How are these profiles computed? The first step is nearly always to compute a profile for each of the items. These can be binary vectors (is something related to a topic or not?), count vectors (how many times does a term occur), float vectors (embeddings computed through neural networks), or any combinations thereof.</p><p>The <a href="https://dl.acm.org/doi/abs/10.1145/2009916.2009937">news recommendation framework SCENE</a> uses related topics and entities to represent items (binary profile), while <a href="https://www.researchgate.net/publication/327949549_CHAMELEON_a_deep_learning_meta-architecture_for_news_recommender_systems">CHAMELEON computes</a> an embedding for the items using a convolutional neural network. The user profiles are constructed based on these item profiles. Typical approaches include averaging the profiles of each item a user has seen or learning the user profile using a deep neural network.</p><p>The <a href="https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/35599.pdf">system used in Google News</a> takes a different approach. Instead of the typical similarity approaches, it uses a probabilistic approach. For each category of items, it computes how likely a user is to click on or interact with that category based on historical data. It’s this probability it saves in the user profile.</p><p>The computed user profile can be used for both analysis and recommendations.</p><p>In analysis, the profiles can help answer questions like “How many users are interested in topic X?” or “How big is the overlap in readers between entity A and entity B?”</p><p>To use the profiles in a recommender system, the typical approach is to compute a similarity between the profile of an item and that of a user, either through direct measures such as cosine similarity and Jaccard similarity or through a neural network.</p><h3>Why use Content-Based Recommender Systems for News?</h3><p>Using content-based approaches solves two issues faced by News Recommender Systems.</p><p>First, it helps alleviate item cold start. When new items are published, every model relying on (co-)visitation is unable to recommend the item. The content-based approaches, however, can analyse the content of the article, and therefore recommend it to the interested reader as soon as it has been published.</p><p>Secondly, it helps in condensing data and avoiding sparsity issues. As many users do not return every day, the probability that a pair of items is visited by a single user goes down as they are published further and further apart. Even if the two articles are very similar.<br>Models like collaborative filtering that rely on co-visitation obviously struggle with this sparsity.<br>Aggregating a user’s reading history based on the item&#39;s contents helps alleviate this issue. There are usually fewer features used in the profiles than there are items, thus automatically reducing the sparsity.<br>Further, the features are usually long-lived. For example, sports topics will always remain relevant, and so we can recommend new sports-related articles to users that read old sports articles, even if the two articles were never before read by the same user.</p><h3>How Are Content-Based Recommendations Used?</h3><p>While the content-based approach is often a fundamental part of the recommender system, most state-of-the-art approaches combine it with other approaches to improve results. Some companies (like Google) combine the user’s content-based score with a global current interest score and a collaborative filtering score to get the final result. The global interest score helps to account for certain global interest spikes due to special events, like COVID-19, World Cup, and natural disasters.</p><p>Collaborative filtering helps find the right articles within a set of articles related to the broad topics a user is interested in. SCENE also combines the content-based score with additional features like recency, popularity, and list diversity to further improve the candidate list.</p><h3>What Have we Learned and Applied to our Own Use Cases?</h3><p>At <a href="http://www.froomle.ai/">Froomle</a>, we use a content-based approach in our TF-IDF (term frequency, inverse document frequency) algorithm. The difference with the approaches suggested here is that we compute the user profiles in real-time to use the most recent interactions of the user. Our TF-IDF algorithm precomputes item profiles based on the frequency that tokens (words) occur in the title and category strings.</p><p>These raw frequencies are weighted by the inverse of the frequency of a token in the data of all items. This means that a token like “sport” occurring in a lot of articles gets less weight than a token like “tennis,” which will occur in fewer items and so be more representative of a user’s interest. The user profiles are computed in real-time as the average of the profiles of items they recently consumed.</p><p>We could pre-compute these user profiles as well, storing them to be used at prediction time, or for analysis purposes. The advantage of the pre-computation is that we can take longer histories into account, now that we don’t need to compute them in real-time.</p><p>The downside to pre-computation is that a user’s profile is not updated with the most recent user events. It takes a rerun of the computation to consolidate them into the profiles. Another disadvantage is that you risk computing large amounts of profiles that will never be used since you don’t know which user will be going online.</p><p>When the history you want to use is short, then it is better to not pre-compute the profiles, since that would introduce complexity where it is not necessary. You should use pre-computed profiles when you want to use a long history such that loading all the events in real-time and computing the profiles would take too long.</p><h3>Conclusion</h3><p>Content-based approaches help solve the cold start problem since they rely on information that is readily available, whereas collaborative filtering needs user interactions that are amassed over time. Representing the user’s interest as their preference for certain features also reduces the sparsity of the data. (Typically, there are fewer categories than there are items, and they are relevant for longer periods of time.) Stored user profiles are an effective method to handle a large user history, without having to recompute it on the fly.</p><p>To get the best final result, content-based approaches are combined with other models to improve recommendations. Simple features like popularity, recency, and diversity all play a role in getting the best result for the user. In addition, collaborative filtering can be used to incorporate the user’s recent interests and browsing behaviour.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=241133b62d5e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/froomle/content-based-recommendations-for-news-media-241133b62d5e">Content-based Recommendations for News Media</a> was originally published in <a href="https://medium.com/froomle">Froomle</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>