<?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 Rob Churchill on Medium]]></title>
        <description><![CDATA[Stories by Rob Churchill on Medium]]></description>
        <link>https://medium.com/@rchurch4?source=rss-b3b5578b16a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iPvhPUXglSgGqfZwEoL6Aw.jpeg</url>
            <title>Stories by Rob Churchill on Medium</title>
            <link>https://medium.com/@rchurch4?source=rss-b3b5578b16a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:45:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rchurch4/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[Using Guided Topic-Noise Models]]></title>
            <link>https://medium.com/georgetown-massive-data-institute/using-guided-topic-noise-models-cdebf32b74ac?source=rss-b3b5578b16a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdebf32b74ac</guid>
            <category><![CDATA[twitter-data]]></category>
            <category><![CDATA[topic-modeling-reviews]]></category>
            <category><![CDATA[topic-modeling]]></category>
            <category><![CDATA[semi-supervised-learning]]></category>
            <category><![CDATA[topic-noise-modeling]]></category>
            <dc:creator><![CDATA[Rob Churchill]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 16:25:35 GMT</pubDate>
            <atom:updated>2023-01-26T16:25:35.178Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learn how to use GTM with social media data (2/3)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-3oiqazBNIHW8A6JRLG35g.jpeg" /></figure><p>Topic-noise models are a new type of topic model designed for short texts like social media data. They have been used to discover topics in large domain-specific data sets, like surveys about the impact of Covid-19, and tweets about presidential elections. In this article, we will consider ways to generate even better topics using topic-noise models when we have previous knowledge of the domain that we are working in. We start by providing some intuition for how and why the Guided Topic-Noise Model (GTM) works, and then we explain how to use the package and review results.</p><h3>Guided Topic-Noise Model (GTM)</h3><p>In the first article in this series, we established that topic models take a set of documents and return a summary of those documents in the form of topics, which are lists of related words. As humans, we can interpret these topics to get a better understanding of the data set that we are working with. But what if we already have a reasonable understanding of the domain, and want to improve topics by using that knowledge? We’re going to go through a real life example to explain the problems that people with domain knowledge run into with unsupervised models, and how we can use the Guided Topic-Noise Model (GTM) to address these issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*3MTi4mcZBLwDX3Zue0Glyw.png" /><figcaption>Figure 1: Meet Pam, the social science researcher.</figcaption></figure><p>Meet Pam. Pam is an expert in her field, and is interested in studying conversation related to her field on social media. For this example, let’s assume that Pam studies elections, and is interested in the 2020 United States Presidential Election. Pam already knows that people talk about <em>Mail-in Voting</em>, <em>Political Parties</em>, and the <em>Economy</em>, among other things when they converse about the election on social media. So, when she runs her unsupervised topic model on her data set, she expects to see those topics along with some others that she hadn’t thought of. Suppose the following are the topics Pam sees that are returned by an unsupervised topic model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*UMXueZabPFvnxfG5etMcwg.png" /><figcaption>Figure 2: Pam sees the topics returned by an unsupervised topic model.</figcaption></figure><p>Unfortunately, when Pam looks at the topics, the <em>Economy</em> topic is nowhere to be found. On top of that, the <em>Voting</em> and <em>Parties </em>topics are not exactly what she expected. It seems that they were co-opted by related topics that might have had a stronger signal in the data. Additionally, the <em>Candidate</em> topic contains some information that belongs in the <em>Parties</em> topic. That doesn’t mean that the topics she cares about are not there. It just means that they were pushed out by higher volume topics. The unsupervised model does, however, provide a couple new topics that Pam wasn’t thinking of at first. One is about <em>Taxes</em>, and one is a long list of insults aimed at the candidates.</p><blockquote>Note: Topics consisting of insults aimed at candidates is one of the most common topics that we have found in election data.</blockquote><p>Thanks to the Guided Topic-Noise Model, Pam can do better. Pam makes a list of <em>seed topics</em>,<em> </em>feeds them into GTM along with her data, and gets out a list of topics closer to what she was expecting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*VlYJLNQafvASHQSEyQm0pw.png" /><figcaption>Figure 3: Pam uses GTM to get topics more in line with what she, as a domain expert, was expecting.</figcaption></figure><p>Pam now sees expanded and more informative versions of her seed topics, as well as new topics that she might have otherwise missed. If she is happy with her topics, she is done. However, she can repeat this process, curating her list of seed topics in each iteration until she gets a full set of topics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*FtL0dMPV0Ua-nTIJak8cxw.png" /><figcaption>Figure 4: Pam curates a new, better set of seed topics.</figcaption></figure><p>After a few iterations of guiding the topic model in the right direction using her domain knowledge, Pam can finally be happy with her full set of topics for the domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*iEVXYL32m2nnvivT8bPm1Q.png" /><figcaption>Figure 5: Pam gets a better set of topics thanks to her own expertise and the flexibility of GTM.</figcaption></figure><p>This might sound a little complicated, but the whole process can be visualized as a loop, where the user and the computer interact in rounds. The user creates the initial seed topics and gives them to the model. The model gives her back a topic set that contains topics trained with the seed topics, as well as topics found without the help of seeds. This allows the user to see their seed topics grow, and identify topics that they may have missed. It also informs her about the prevalence of some of her seed topics. If one of her topics is not returned, she knows its discussion is less coherent and frequent than other topics that are returned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*CJy15q9TqbPTo1y_rtDKGg.png" /><figcaption>Figure 6: The Guided Topic-Noise Model (GTM) Overview.</figcaption></figure><h4>How Guided Topic-Noise Model works</h4><p>GTM [Churchill and Singh, 2022] is similar to NLDA [Churchill and Singh, 2021 (2)]. There is a topic model component that comes together with the topic-noise model (TND), in an ensemble, to filter noise from topics. The difference between the two is in the sampling algorithm of the underlying topic model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ofnfT0OquClgfMcc3UCYA.png" /><figcaption>Figure 7: Gibbs Sampling vs GPU Seed Word Sampling.</figcaption></figure><p>NLDA uses Latent Dirichlet Allocation (LDA) [Blei et al., 2003], which uses traditional Gibbs sampling to generate topics. In Gibbs sampling, an observed word is probabilistically placed in a topic according to the topic that its container (the document) belongs to. GTM uses a modification of Gibbs sampling, called Generalized Polya Urn (GPU) seed word sampling, that makes adjustments based on the seed topics. In the latter, when a seed word is observed in a document, it is not probabilistically placed in a topic. Instead, it is placed in the topic corresponding to its seed topic with 100% probability, and with a weighting corresponding to its rarity in the data set (rare seed words are oversampled). Figure 7 shows the difference between Gibbs Sampling and GPU seed word sampling. As seed words are observed, this mechanism allows the sampling algorithm to guide documents containing seed words to the correct seed topic. This results in GTM building topics based on the words closest to the original seed words in the context of the data.</p><p>Now that we have a high-level understanding of how GTM works, let’s put it to work!</p><h3>Guided Topic-Noise Model in Action</h3><h4>Data Sets</h4><p>Throughout this article, we have been looking at a data set of tweets about the 2020 United States Presidential Election. The results shown below are based on a data set collected between January 2020 and November 2020, using keywords related to the Election domain. The data set consists of 1.2 million tweets, and was preprocessed using the following methods: tokenization, URL removal, punctuation removal, lowercasing, and stopword removal. For more details about preprocessing for social media, check out textPrep [Churchill and Singh, 2021 (5)].</p><p>Due to Twitter’s privacy policies, this data set is not publicly available, so for your own experiments, we provide a <a href="https://github.com/GU-DataLab/topic-modeling-topic-noise-models/tree/main/data">small sample data set</a> of 196 preprocessed tweets taken from the Election data set (with metadata removed to abide by Twitter’s policies), as well as a link to a larger <a href="https://www.kaggle.com/datasets/manchunhui/us-election-2020-tweets?select=hashtag_donaldtrump.csv">public domain data set</a> provided by Kaggle, that covers the 2020 election over a slightly different time period to the former election data set.</p><p>In the final section, <em>Visualizing Seed Topics</em>, we briefly highlight a data set of open-ended survey responses taken from a survey of parents on the challenges of their children’s schooling during the Covid-19 pandemic [Davis-Kean et al., 2022]. This data set consists of 2,700 responses from U.S. adults and serves to show GTM’s ability to find topics in different types of data.</p><h4>Setting up</h4><p>GTM, like the other topic-noise models, is implemented in Java (based on the <a href="http://mallet.cs.umass.edu/">Mallet</a> [McCallum, 2002] implementation of LDA [Blei et al., 2003]). We built Python wrappers, based on the old Mallet LDA from Gensim [Řehůřek and Sojka, 2010], for simplicity.</p><p><em>Note: </em>gdtm<em> works in Python 3.6 and up, but we have not tested it on older versions of Python. This tutorial assumes that you are using MacOS or Linux.</em></p><p>Navigate to your working directory in your terminal, enable whichever <a href="https://docs.python.org/3/library/venv.html">virtual environment</a> you plan on using, and pip install the gdtm <a href="https://github.com/GU-DataLab/gdtm">package</a>. You can find everything you need to know about gdtm in its <a href="https://gu-datalab.github.io/gdtm/">documentation</a>.</p><pre>&gt; pip install gdtm</pre><p>Once you have the Python package installed, you need the Mallet (Java) implementation of whichever topic-noise model you are going to use. You can find an implementation of TND and of the seeded topic model used in GTM in the <a href="https://github.com/GU-DataLab/topic-noise-models-source">Topic-Noise Models Source</a> repository. Download the mallet-tnd and mallet-gtm folders from the repository and note their paths, wherever they end up on your computer (path/to/tnd, path/to/gtm).</p><h4>Loading Data Sets</h4><p>Data sets can be loaded in whatever way you find convenient, but the final data structure to be passed into the model should consist of a list of documents, where each document is itself a list of words.</p><p>You can load the sample data set using a built-in function from gdtm :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/10a08a3e8c6e60c41178d8bf3c89add4/href">https://medium.com/media/10a08a3e8c6e60c41178d8bf3c89add4/href</a></iframe><p>The sample data set is a CSV file that is <em>space-delimited. </em>It is important, if making your own files of this type, to not accidentally include extra spaces. As you can see in Figure 8, there is an argument to pass your preferred delimiter, so you may use whichever you prefer in your own data sets.</p><blockquote><em>Note: Topic-noise models are best used on data sets of tens or hundreds of thousands of tweets or other social media posts. The training of the noise distribution is accomplished using a randomized algorithm. With smaller data sets, GTM is not always able to get an accurate noise distribution, so don’t expect to see great results with the sample data set! If you want to play with a larger data set to see its true effect, we suggest using the </em><a href="https://www.kaggle.com/datasets/manchunhui/us-election-2020-tweets?select=hashtag_donaldtrump.csv"><em>Kaggle</em></a><em> data set that we described above. The US Election 2020 Kaggle dataset contains 1.72 million tweets about the election between October 15, 2020 and November 8, 2020, collected using the Twitter API. It was released to the public domain, meaning you are free to use it for whatever means you wish. You will need to do some</em><a href="https://github.com/GU-DataLab/topic-modeling-textPrep"><em> preprocessing</em></a><em> and data wrangling before putting the larger data set into a model. We suggest starting with a subset of a couple hundred thousand tweets from the larger data set.</em></blockquote><h3>Running Guided Topic-Noise Model (GTM)</h3><h4>Setting up seed topics</h4><p>Before we can actually run GTM, we need some seed topics! Let’s use some of Pam’s seed topics (she’s an expert after all). We need to store them in a CSV file so that the Java code can load them. Let’s store them in a file called data/seed_topics.csv</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec47c25be1f961d7a35f8dd3c3692ea2/href">https://medium.com/media/ec47c25be1f961d7a35f8dd3c3692ea2/href</a></iframe><h4>Running the model</h4><p>Alright, now that we have our seed topics sorted out, we can finally get this show on the road. GTM is simple to run once we are set up. We pass in our data set, the paths to the Java model code, the seed topics file path, and any other parameters that we want.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ff32273a0bf5269cbf7f9fa67c7a703/href">https://medium.com/media/5ff32273a0bf5269cbf7f9fa67c7a703/href</a></iframe><p>Notice that we set tnd_k and gtm_k to be a few times larger than the number of seed topics that we have (in the case above, we set k to ten for two seed topics). This is to allow space for other topics to be found that might exist in our data. The phi parameter dictates how much noise we should remove in the noise filtering phase of GTM, and the top_words parameter tells GTM how many words to return per topic.</p><h3>Interpreting the Results</h3><p>In the previous article, we went over what to expect from the get_topics() and get_noise_distribution() functions. These functions work the same way here, with one caveat for get_topics() . Because we have seed topics in the mix, we need to know which topic corresponds to which seed topic. Thankfully, that is easy. If there are <em>X</em> seed topics, then the first <em>X</em> topics in the topic set correspond to the seed topics, in their original order. This makes it super easy to see how GTM has transformed and augmented the seed topics.</p><p>We can save the topics to a CSV easily using gdtm .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce079401d7a1270a7ec0acd53200c7e3/href">https://medium.com/media/ce079401d7a1270a7ec0acd53200c7e3/href</a></iframe><p>In the rest of this section, we will be looking at the results of using GTM on the 1.2 million tweet Election data set.</p><p>First, let’s look at the seed topics. As we can see, we have ten seed topics (each row is a topic), and five seed words per topic. You can have as many seed words and seed topics as you want, so long as you define them in your seed topics file. We also don’t have to have the same number of seed words per topic, this just happens to be the case here.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d10b5c814493b56195418dd0c34a1d2/href">https://medium.com/media/2d10b5c814493b56195418dd0c34a1d2/href</a></iframe><p>Now, let’s see what the topics look like. As we can see, the first ten topics follow the ten seed topics very closely. There is a lot to take in here, but look around and decide what you think about these seeded topics for yourself.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/54415fece4d69095464b821740d98a77/href">https://medium.com/media/54415fece4d69095464b821740d98a77/href</a></iframe><p>As mentioned above, we display fifteen topics, but there are only ten seed topics. These extra five topics are unsupervised topics that are generated alongside the seed topics. They are not always as coherent as the seed topics, but some might be valuable to consider in the final topic set. If we wanted to run another iteration of GTM, we might add a seed topic with some words from the fifteenth topic, to try to find a topic about <em>Trump Supporters</em>. We might also take words from the eleventh and twelfth topics to seed a topic about <em>Political Party Conventions</em>, or maybe even two topics about the <em>Republican National Convention </em>and the <em>Democratic National Convention.</em></p><h3>Visualizing seed topics</h3><p>Finally, we have created a simple and effective way of visualizing seed topics. You can access and duplicate the Guided Topic Model Visualization Template google sheet<a href="https://docs.google.com/spreadsheets/d/1pCO9EsRv1rYXfKxwnGScIVEiFDngZsuHm0GgCd8VI0s/edit?usp=sharing"> here</a>. Copy and paste the transposed seed topics into the <em>Seed Topics</em> tab, and do the same with the final topic set in the <em>Topics</em> tab. The seed words present in the final topics should be highlighted with the color corresponding to their seed topic. This allows you to quickly and easily see how coherent the topics are, and whether the seed topics had a strong enough signal to stick together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgEBNWpI5XJ9TxAWVlvOFQ.png" /><figcaption>Figure 14: Example of seed topic visualization on Covid-19 surveys.</figcaption></figure><p>Figure 14 shows an example of this visualization. These topics are derived from open-ended survey responses taken from a survey of parents on the challenges of their children’s schooling during the Covid-19 pandemic [Davis-Kean et al., 2022]. You can see how seed words are grouped together well in most topics, meaning the seed topic has a strong signal in the data set. We can also see that the topics about <em>After School Activities</em> and <em>Shutdowns</em> did not have a strong signal. We would look more closely at the seed words we provided for these two topics, while looking at the most probable words from the other topics to add to our successful seed topics.</p><p>In this article, we explained the value of incorporating a user’s domain knowledge into topic models, showed how the Guided Topic-Noise Model worked, and how anyone can run GTM in just a few lines of code. We also showed sample results, and shared a great way to visualize those results. In the final article of this series, we will explore dynamic topic-noise models, and show how we can use them to track the evolution of topics over time.</p><p>This article was co-authored by <a href="https://people.cs.georgetown.edu/~singh/">Lisa Singh</a>, Professor of Computer Science and Director of the Massive Data Institute at Georgetown University.</p><blockquote>All images unless otherwise noted are by the author.</blockquote><h3>References</h3><p>[1] D. Blei, A. Ng, and M. Jordan, <a href="https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf">Latent Dirichlet Allocation</a> (2003), Journal of Machine Learning Research 3, 993–1022.</p><p>[2] R. Churchill and L. Singh, <a href="http://churchill.io/papers/topic_noise_models.pdf">Topic-Noise Models: Modeling Topic and Noise Distributions in Social Media Post Collections</a> (2021), International Conference on Data Mining (ICDM), 71–80.</p><p>[3] A.K. McCallum, MALLET: A Machine Learning for Language Toolkit (2002), <a href="http://mallet.cs.umass.edu/">http://mallet.cs.umass.edu</a>.</p><p>[4] R. Řehůřek and P. Sojka, <a href="https://radimrehurek.com/gensim/">Software Framework for Topic Modelling with Large Corpora</a> (2010), LREC 2010 Workshop on New Challenges for NLP Frameworks. 45–50.</p><p>[5] R. Churchill, L. Singh, R. Ryan, and P. Davis-Kean, <a href="https://www.churchill.io/papers/guided_topic_model.pdf">A Guided Topic-Noise Model for Short Texts</a> (2022), The Web Conference (WWW).</p><p>[6] P. Davis-Kean, R. Ryan, L. Singh, and Y. Wang, <a href="https://mosaic.mdi.georgetown.edu/">The “New” Normal for Schooling. MOSAIC Data Brief: August 2022</a>, (2022), Measuring Online Social Attitudes and Information Collaborative.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdebf32b74ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/georgetown-massive-data-institute/using-guided-topic-noise-models-cdebf32b74ac">Using Guided Topic-Noise Models</a> was originally published in <a href="https://medium.com/georgetown-massive-data-institute">Georgetown Massive Data Institute</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Topic-Noise Models]]></title>
            <link>https://medium.com/data-science/an-introduction-to-topic-noise-models-c48fe77e32a6?source=rss-b3b5578b16a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c48fe77e32a6</guid>
            <category><![CDATA[topic-modeling]]></category>
            <category><![CDATA[text-data]]></category>
            <category><![CDATA[topic-noise-modeling]]></category>
            <category><![CDATA[twitter-data]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <dc:creator><![CDATA[Rob Churchill]]></dc:creator>
            <pubDate>Fri, 21 Oct 2022 13:47:24 GMT</pubDate>
            <atom:updated>2022-10-21T15:49:48.928Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learn how to use topic-noise models (1/3)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FDNKErODYHsvE0K6LaXe9A.jpeg" /></figure><p>Words matter. And these days, it can be hard to cut through the noise to find the words that matter the most. In this series of articles, we will introduce a new type of model — the topic-noise model, and show you how to use these models on social media text data sets to generate more interpretable topics. Social media data can come in many different forms, text, audio, images, and video, to name a few. In this article, when we use the phrase social media data, we are referring to text data found in posts and/or profiles. This article explains how topic-noise models differ from traditional topic models. It then introduces the <em>gdtm</em> python package and presents examples of how to use the original topic-noise models, Topic-Noise Discriminator (TND) and Noiseless Latent Dirichlet Allocation (NLDA). The second and third articles in this series introduce semi-supervised and temporal variants of topic-noise models and show how to effectively use them with social media data sets to build higher quality topics.</p><blockquote>Note: This series is intended to be a high-level explanation of topic-noise models and demonstration of how to use them in practice. For all the nitty-gritty details, you can read the research paper <a href="https://ieeexplore.ieee.org/abstract/document/9679037">here</a>.</blockquote><h3>Introduction</h3><p>In social media data sets, especially domain-specific data sets like those pertaining to Covid-19 or the 2020 Presidential Elections, most traditional topic models struggle to effectively filter noise from topics. While it’s easy to preprocess away stopwords (common words like the “ifs, ands, and buts”) and other common types of noise, we have to rely on the underlying model to remove less obvious types of noise, like words that don’t belong in the domain (spam words), or words that are too common in the domain (flood words). Traditional topic models, like Latent Dirichlet Allocation (LDA) [Blei et al., 2003], have a tough time cutting through the noise inherent in social media data. As a result, the generated topics are often incoherent — in other words, difficult for humans to interpret.</p><p>Topic-noise models were invented to generate more coherent, interpretable topics than traditional topic models when using text from noisy domains like social media. Topic-Noise Discriminator (TND) [Churchill and Singh, 2021 (2)] is the original topic-noise model. TND jointly approximates the topic and noise distributions on a data set to allow for more accurate noise removal and more coherent topics. It can be used as a standalone model to produce topics, or combined with other models to create topics based on other topic distributions. <em>We advocate combining TND with your favorite topic model because it has been empirically shown that TND works best when combined with more traditional topic models.</em> In this series of articles, we will describe how we ensemble TND and LDA to create a model called Noiseless Latent Dirichlet Allocation (NLDA), and we will show you how to effectively use it.</p><h3>What are topic models?</h3><p>Before we describe a topic-noise model, we should all be on the same page about what a topic model is. Figure 1 shows the process of determining topics for documents at a very high level. A <strong>topic model </strong>(black box) takes a set of documents (far left), and returns a set of <em>k </em>topics (four in Figure 1) that summarize the documents (far right). A <strong>topic</strong> is a set of related words. In Figure 1, we see that our example data set consists of books from the fantasy genre. We say that the <strong>domain</strong> of the data set is fantasy books. For the rest of these articles, we will be dealing with domain-specific data sets, i.e. data sets consisting of documents/posts that all refer to the same broad subject area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*LFRJMcw0V6SmVt0Ihm31OA.png" /><figcaption>Figure 1. What is a topic model?</figcaption></figure><p>The topic model, represented by the black box, scans through the documents in turn, finding words that repeatedly appear together in the same context. Topic models work by observing which words appear frequently in the same documents. When words appear together in the same document, their probabilities of being in the same topic increase. After observing thousands of documents (or more), the model converges to a set of topics, each with high probabilities assigned to words that appear together frequently. For a more complete explanation of topic models, refer to <em>The Evolution of Topic Modeling</em> [Churchill and Singh, 2021 (3)].</p><p>In Figure 1, the topic model returns four topics about <em>Magic</em>, <em>Evil</em>, <em>Travel</em>, and <em>Creatures</em>, respectively. Normally topics don’t come with titles like they do here. Researchers need to determine these topic categories on their own. Most topic models also provide a probability with each word in the document collection. In Figure 1, we show you the words that had the highest probability for each topic. For example, <em>wand</em> has the highest probability in the <em>Magic</em> topic. These topics can be interpreted by humans to get a better understanding of the data set as a whole, or they can be used to classify documents with their most probable topics, which we see on the far right of Figure 1. In this example, we see that <em>Travel</em> is the dominant topic for <em>The Hobbit</em> and <em>The Lord of the Rings</em>, but not for <em>Harry Potter</em>. In general, topic models are pretty good at identifying topics in traditional documents like books, newspaper articles, and research papers, because they have less noise.</p><h3>What is wrong with topic models?</h3><p>Social media documents (posts) are much shorter than books. So, when a topic model looks for the repetition of words that continually appear together within and across documents, it cannot find it. Tweets are particularly short, and because of the ease of posting to Twitter, tweets are often poorly edited. Words simply cannot repeatedly appear together in a ten word document the same way that they do in a book. Social media documents present a unique challenge to topic models. There is often not enough repetition of words that belong in the same topic to distinguish between topic and noise words. Also, two posts about the same topic may not contain any of the same words at all. Consider two sentences, “It’s not rocket science, clean your fingers and palms to avoid catching coronavirus,” and “It’s just like magic! Covid can be contained by washing our hands!” Both are ostensibly about the same topic of Covid-19 cleanliness, but contain none of the same content words.</p><p>This problem manifests itself in topics that are noisy and difficult to interpret (incoherent). To demonstrate this, we created a fake data set consisting of imaginary tweets written from the perspective of Harry Potter characters about the Covid-19 pandemic (the domain here is the Covid-19 pandemic). An example of a document from this fake data set is, “Coronavirus outbreaks have led to the cancellation of the Hogwarts quidditch season.” After generating topics using these imaginary tweets (Figure 2), we can see how domain-specific noise infects topics. In Figure 2, each column is a topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*0ksSxSlIqZkkkOzLrPepng.png" /><figcaption>Figure 2. Noisy topics.</figcaption></figure><p>First, we can see that three of the topics contain a variant of the word <em>Covid-19</em>. These words belong in the domain, but they are so general within the domain, that they do not help delineate between topics. If every topic contains the same word, then it is more difficult for us to understand how to distinguish each topic. Second, there are a bunch of words related to Harry Potter in the topics (<em>werewolf</em>, <em>cloak</em>, <em>invisibility</em>, and <em>quidditch</em>). While these words might be relevant topic words in the domain of fantasy books, they do not add to our understanding of the pandemic (unless we have an unusual social media data set).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*uq3AWgNY3mgWR6QFi1gBiw.png" /><figcaption>Figure 3. Better topics.</figcaption></figure><p>Figure 3 shows a better version of the topics, where noise words have been filtered out and replaced with more meaningful topic words. In Figure 3, each topic is a column. The identification and removal of noise words within topics is the goal of topic-noise models. Another interesting observation about the topics in Figure 3 is that some of the words are actually parts of an expected phrase, or ngram. For instance, <em>social distance</em>, <em>wear mask</em>, and <em>virtual learning</em> are all common phrases associated with the Covid-19 pandemic. These phrases and others like them can be incorporated directly into topic models, but it is not unusual to focus on unigrams due to the issue of sparsity in short documents. Two word phrases tend to appear less frequently in a document collection than single words. That means that when you have a topic model with unigrams and ngrams, the ngrams will naturally not rise to the top of the topic word list.</p><p>Let’s look back at the example tweets from our fake data set to see one last important facet of short documents.</p><blockquote>“It’s not rocket science, clean your fingers and palms to avoid catching coronavirus.”</blockquote><blockquote>“It’s just like magic! Covid can be contained by washing our hands!”</blockquote><p>Because social media documents are much shorter than traditional texts, they rarely contain all of the topics in the topic set. The second imaginary tweet contains words that refer mostly to the Covid-19 cleanliness topic, with one word (<em>magic</em>) that may refer to another topic. Given a larger set of documents, we might be able to find other words that frequently appear with magic and form a topic around it. Now let’s take a look at how the Topic-Noise Discriminator works to remove noise from topics.</p><h3>Topic-Noise Discriminator (TND)</h3><p>Instead of just generating topics from a set of documents, topic-noise models attempt to separate topic and noise words probabilistically through the generative process. Topic Noise Discriminator (TND) does this by probabilistically assigning each word in each document to either a topic or noise distribution, based on the word’s prior probability of being in each distribution. The result is a global noise distribution which approximates the likelihood of a word being a noise word, and a topic-word distribution that approximates the probability of each word being in each topic. Figure 4 shows how we think about the construction of TND.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*1p6kjCMoDKm0rJqdqFpDag.png" /><figcaption>Figure 4. A topic-noise model generates a noise distribution alongside the topic distribution.</figcaption></figure><p>When we go to finalize topics, we look at each topic individually and decide whether each word belongs in that topic or in noise. We decide based on a word’s frequency in the topic and noise distributions. We can think of it as a scale, where one side is weighted by topic frequency and the other by noise frequency. Figure 5 shows the scale analogy. A higher frequency on one side means that we are more likely to classify the word toward that side’s weight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sl5u5tjGW1ebSGXJ5YDv7g.png" /><figcaption>Figure 5. The Scales of TND.</figcaption></figure><p>We have described how the important new facets of Topic-Noise Discriminator work, but how do they come together to produce topics and a noise distribution? Let’s take a look at the high-level algorithm:</p><blockquote>Given a data set D of documents and hyperparameters k, α, β₀, and β₁:</blockquote><blockquote>For each document <em>d </em>in D:</blockquote><blockquote>1. Probabilistically choose a topic <em>zᵢ</em> from the topic distribution of <em>d</em></blockquote><blockquote>2. For each word <em>w</em> in <em>d</em>, assign <em>w </em>to <em>zᵢ </em>or the noise distribution <em>H</em>, based on the probabilities of <em>w</em> in <em>zᵢ</em> and <em>H</em> (Figure 5).</blockquote><blockquote>3. Re-approximate the topic distribution of <em>d </em>given the new topic-word assignments</blockquote><blockquote>Repeat the above for X iterations (usually 500 or 1,000 in practice)</blockquote><p>The hyperparameter <em>k</em> defines the number of topics in the topic set. The hyperparameter α controls how many topics there are per document. A higher α setting allows for more topics in each document. In social media documents, we set α to a low value, because the size of documents rarely allows for multiple topics per document. The hyperparameter β₀ controls how many topics a word can be in. The higher we set β₀, the more topics a word can be spread over. The final hyperparameter, β₁, controls the skew of a word towards a topic (and away from the noise distribution). The higher we set β₁, the more likely any given word will be a topic word instead of a noise word. You can think of β₁<strong> </strong>as placing an extra weight on the <em>Topic Frequency</em> side of the scales in Figure 5.</p><p>Over a large number of iterations, each word will have a probability of being a topic word and a probability of being a noise word. We can then take a look at the topics and noise distribution to get a better understanding of our data.</p><p>Figure 6 depicts how we can look at a few social media documents once we know the topic and noise distributions. We can see in Figure 6 how the words in each document affect the topic distribution for that document. The first document consists of a mixture of the green and blue topics, with some noise (purple), whereas the second consists of the yellow topic and some noise. If the noise words were in topics instead of their own distribution, we might classify these two documents as consisting of the same generic topic, resulting in less interpretable topics and document classifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QNRiPnkHTW82zLPW" /><figcaption>Figure 6. The interaction between topics and noise in social media documents.</figcaption></figure><h3>Noiseless Latent Dirichlet Allocation (NLDA)</h3><p>While TND identifies highly coherent topics, qualitatively its topics are not always as intuitive as those generated using other topics models. Therefore, we suggest combining the noise information from TND with traditional topic models. In this way, TND provides accurate noise removal while maintaining the same topic quality and performance that people expect from state-of-the-art topic models used on more traditional document collections. We created Noiseless Latent Dirichlet Allocation (NLDA), an ensemble of TND and LDA, to demonstrate the effectiveness of this type of approach. We take the noise distribution of TND, the topic distribution of LDA, and combine them to create more coherent, interpretable topics than we would get with either TND or LDA alone (Figure 7).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*prmH-iGdN2vn8s8yWnQNUQ.png" /><figcaption>Figure 7. The NLDA ensemble.</figcaption></figure><p>We combine TND and LDA in much the same way that we choose whether a word belongs to the noise distribution or to a topic within TND itself. In NLDA, we compare the frequency of a word in TND’s noise distribution to the frequency of the word in LDA’s topic distribution, using the same scales approach shown in Figure 5. A scaling parameter <em>φ</em> allows the noise and topic distributions to be compared even if they are not generated using the same number of topics, <em>k</em>, by scaling the underlying frequencies to relatable values.</p><h3>Topic-Noise Models in Action</h3><p>Now that we have a better understanding of what topic models are, why they need to be improved, and how topic-noise models account for the noisy nature of social media data, it is time to put them to use. In this section, we will introduce the Georgetown DataLab Topic Model package (<em>gdtm</em>), and get LDA, TND, and NLDA up and running!</p><h4>Data Sets</h4><p>We think it’s important to show how models perform on different data sets. If it only works on the example data set, what’s the point? For the rest of this article, we are going to leave the magical world of Harry Potter-based data sets behind, and focus on two real world data sets — one about the Covid-19 pandemic, and another about the 2020 United States Presidential election. These data sets were collected using Twitter’s API between March 2020 and March 2021, and January 2020 and November 2020, respectively, using keywords related to their respective domains. They consist of 1 million and 1.2 million documents each, which is pretty big for topic model standards. We conducted the following preprocessing on the Covid-19 and Election data sets: tokenization, URL removal, punctuation removal, lowercasing, and stopword removal. For more details about preprocessing for social media, we refer you to textPrep [Churchill and Singh, 2021 (5)].</p><p>Due to Twitter’s privacy policies, these two data sets are not publicly available, so for your own experiments, we provide a <a href="https://github.com/GU-DataLab/topic-modeling-topic-noise-models/tree/main/data">small sample data set</a> of 196 preprocessed tweets taken from the Election data set above (with metadata removed to abide by Twitter’s policies), as well as a link to a larger <a href="https://www.kaggle.com/datasets/manchunhui/us-election-2020-tweets?select=hashtag_donaldtrump.csv">public domain data set</a> provided by Kaggle, that covers the 2020 election over a slightly different time period to the former election data set.</p><h4>Setting up</h4><p>First, let’s make sure we have the right code. Topic-noise models are implemented in Java (based on the<a href="http://mallet.cs.umass.edu/"> Mallet</a> [McCallum, 2002] implementation of LDA [Blei et al., 2003], which we think is the best topic model implementation available), but we built Python wrappers, based on the old Mallet LDA from Gensim [Řehůřek and Sojka, 2010], for simplicity.</p><blockquote>Note: gdtm works in Python 3.6 and up. We have not tested it on older versions of Python. This tutorial assumes that you are using MacOS or Linux.</blockquote><p>Navigate to your working directory in your terminal, enable whichever<a href="https://docs.python.org/3/library/venv.html"> virtual environment</a> you plan on using, and pip install the gdtm<a href="https://github.com/GU-DataLab/gdtm"> package</a>. You can find everything you need to know about gdtm in its<a href="https://gu-datalab.github.io/gdtm/"> documentation</a>.</p><pre>&gt; pip install gdtm</pre><p>Once you have the Python package installed, all you need is the Mallet (Java) implementation of whichever topic-noise model you are going to use. You can find an implementation of TND in the<a href="https://github.com/GU-DataLab/topic-noise-models-source"> Topic-Noise Models Source</a> repository. Download the mallet-tnd folder from the repository and note its path, wherever it ends up on your computer (path/to/tnd). Mallet LDA can be found<a href="http://mallet.cs.umass.edu/"> here</a>, but we also provide a stripped-down version in our source<a href="https://github.com/GU-DataLab/topic-noise-models-source"> repository</a>, in the mallet-lda folder. Download it from either spot, and note its path on your computer (path/to/lda). Now that we have all of the code that we need, we can start playing with topic-noise models!</p><h4>Loading Data Sets</h4><p>Choose and download your data set for experimenting. You can use one of your own, or one of the two options provided in the <em>Data Sets</em> subsection above.</p><blockquote>Note: Topic-noise models are best used on data sets of tens or hundreds of thousands of tweets or other social media posts. The training of the noise distribution is accomplished using a randomized algorithm. With smaller data sets, TND is not always able to get an accurate noise distribution, so don’t expect to see great results with the sample data set! If you want to play with a larger data set to see its true effect, we suggest using the <a href="https://www.kaggle.com/datasets/manchunhui/us-election-2020-tweets?select=hashtag_donaldtrump.csv">Kaggle</a> data set that we described above. The US Election 2020 Kaggle dataset contains 1.72 million tweets about the election between October 15, 2020 and November 8, 2020, collected using the Twitter API. It was released to the public domain, meaning you are free to use it for whatever means you wish. You will need to do some<a href="https://github.com/GU-DataLab/topic-modeling-textPrep"> preprocessing</a> and data wrangling before putting the larger data set into a model. We suggest starting with a subset of a couple hundred thousand tweets from the larger data set.</blockquote><p>Data sets can be loaded in whatever way you find convenient, but the final data structure to be passed into the model should consist of a list of documents, where each document is itself a list of words.</p><p>You can load the sample data set using a built-in function from gdtm :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/10a08a3e8c6e60c41178d8bf3c89add4/href">https://medium.com/media/10a08a3e8c6e60c41178d8bf3c89add4/href</a></iframe><p>The sample data set is a CSV file that is <em>space-delimited. </em>It is important, if making your own files of this type, to not accidentally include extra spaces. As you can see in Figure 8, there is an argument to pass your preferred delimiter, so you may use whichever you prefer in your own data sets.</p><h4>Running TND and NLDA</h4><p>Now that we have our data loaded into the proper format, we can run our models and generate topics in just a few lines of code. In the gist below, we specify the path to the Java implementation on line 4, instantiate and run the model on line 7, and get our topics and noise on lines 9 and 10. All we have to worry about is choosing the right parameters for our data.</p><blockquote>Note: for domain-specific social media data, <em>k</em> should always be at least <em>20</em>, and <em>beta1</em> should be between <em>9</em> and <em>25</em>. We like to use <em>k = 30</em> and <em>beta1 = 25</em> for Twitter, and <em>beta1 = 9</em> or <em>16</em> for Reddit comments. We increase <em>beta1</em> when data sets are noisier to try to keep more words in topics that truly belong there. For a full explanation of this parameter, see the <a href="https://ieeexplore.ieee.org/document/9679037">research paper</a> (Section IV.B.).</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a6ed994422c4a99882888a1e07d806de/href">https://medium.com/media/a6ed994422c4a99882888a1e07d806de/href</a></iframe><p>Running NLDA is similar to running TND, except this time we are running an ensemble of two models, TND and LDA. Thankfully, we don’t have to worry about doing any of the ensembling ourselves. gdtm takes care of it for us. We just provide the path to TND and LDA, and specify our parameters. Getting the final topics and noise is the same.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb63eb21e014d78d0d7dc8d73e3a7eec/href">https://medium.com/media/fb63eb21e014d78d0d7dc8d73e3a7eec/href</a></iframe><h4>Saving the Results</h4><p>Now, what do we actually get when we call get_topics() and get_noise_distribution()?</p><p>As we might expect, get_topics() returns the most probable words for each topic. The top_words parameter that we passed into NLDA and TND decides how many words are returned for each topic.</p><p>The get_noise_distribution() function is similar. It takes the most probable noise words in the noise distribution and returns them in a list, ordered from most to least probable. Each word is in a tuple, with its frequency in the noise distribution (word, frequency). The noise_words_max parameter from TND (or tnd_noise_words_max from NLDA) dictates how many words should be returned from the distribution.</p><p>The top_words and noise_words_max parameters are necessary because the topic-word and noise distributions are a distribution over all the words in the vocabulary. These parameters are purely for convenience and to save a bit of time when analyzing the results.</p><p>We can save the topics to a CSV easily using gdtm .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce079401d7a1270a7ec0acd53200c7e3/href">https://medium.com/media/ce079401d7a1270a7ec0acd53200c7e3/href</a></iframe><h4>Interpreting the Results</h4><p>Now that we have saved our topics, let’s finally look at them. The topics below are from the full 2020 Election data set that the sample tweets were taken from. In the CSV, each row is a topic (topics don’t come with titles, it’s up to users to decide what to call them).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4571405ad6d150b3f3ff0c822644411d/href">https://medium.com/media/4571405ad6d150b3f3ff0c822644411d/href</a></iframe><p>For the sake of simplicity and space, we show the top ten words of the first seven topics in the topic set. We can see that most topics are reasonably coherent. Topics include G<em>un Violence </em>(row 1), <em>Political Parties</em> (row 2), a general Twitter topic (row 3), <em>Covid-19</em> (row 4)<em>, Pro-Biden Phrases and Hashtags </em>(row 5), <em>Democratic Voters </em>(row 6), and <em>Pro-Trump Phrases and Hashtags </em>(row 7).</p><p>There are many ways to judge topic models, and they do not always agree with each other. Some methods like<em> perplexity</em> and <em>topic coherence</em> rely on pure math to decide that topics are well-formed, while others rely on human judgement. We have found that topic coherence and human judgement-based methods are far better indicators of topic quality as far as we are concerned. While these methods are not covered in this article, you can find more details in <em>The Evolution of Topic Modeling</em> [Churchill and Singh, 2021 (3)].</p><p>These topics are certainly not perfect and all-encompassing. However, most are highly interpretable by humans, and trends in topics are easy to identify. In row three, the topic containing general Twitter words also contains noise words like <em>lets, youre, and hey</em>. These words are too general to consider as topic words, but leak into the most general topic in the topic set. The more specific topics like <em>Covid-19 </em>and <em>Gun Violence </em>contain very little noise, if any.<em> </em>The noise filtering properties of topic-noise models are to thank for this interpretability and coherence.</p><h4>Comparing Topic-Noise Models to Traditional Topic Models</h4><p>To wrap this article up, we will take a look at a couple examples of topics generated on the Covid-19 and Election data sets using LDA, TND, and NLDA. If you recall, these are the large Twitter data sets that we collected over different periods of 2020 and 2021. We like to show the performance of models on different data sets to demonstrate that these models are consistent across different domains.</p><p>The first topic, shown in Figure 13, is from the Covid-19 data set. The topic is about <em>Masks and Social Distancing</em>, and was generated on a data set of one million tweets about the Covid-19 pandemic. The green words are words that we believe belong in the topic.</p><blockquote>Note: Topics are subjective. What we see as good and bad topic words, and what you see as good and bad topic words, will differ on our own experience within the domain and our perspectives. Feel free to disagree with our analysis of the topics above or below.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1_IqeurR7C9ZiYpeY3aWA.png" /><figcaption>Figure 13. Topic as it was found by LDA, TND, and NLDA. Domain: Covid-19</figcaption></figure><p>As we can see, LDA includes words like <em>China</em>, <em>city</em>, and <em>Wuhan</em>, each of which likely belong in a topic in the domain, but which do not belong in <em>this </em>topic. TND contains words like <em>fight</em>, <em>lets</em>, and <em>message</em>. These words might belong in this topic, but we felt that they were a bit too general to be good topic words in this context. As we can see, NLDA’s topic contains words that are a more intuitive fit to the topic.</p><p>Finally, let’s look at a topic generated by LDA, TND, and NLDA on the Election data set. Figure 14 shows the topic, about <em>Mail-In Voting.</em> This topic was especially relevant to this election because of the pandemic measures in place in many states. As we can see, LDA and TND both have reasonable words, but for multiple topics combined. Many of these words are common within the domain, but do not pertain specifically to <em>Mail-in Voting</em>, like <em>maga, trump2020, kag, republican,</em> and <em>political</em>. However, NLDA again gives us a far more interpretable, coherent topic. While some words are noise, we see many words that reference mail-in voting systems and the drama related to its implementation in different states (Florida was one of the states in which mail-in voting was most hotly debated). In general, most of the words are connected to a single topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ptmCQW15weU6A6o7kn0BA.png" /><figcaption>Figure 14. Topic as it was found by LDA, TND, and NLDA. Domain: Election 2020</figcaption></figure><p>This brief assessment of topics for two different domains highlights that different distinct sets of words can be representative of a specific topic. There is not one right answer. Therefore, it is important to assess the quality of the topics both quantitatively and qualitatively.</p><h3>Conclusion</h3><p>In this article, we learned how topic models work, how topic-noise models work, and how they improve the quality of topics we derive from social media data. We learned how to set up our coding environment to work with topic-noise models in the gdtm package, how to run the topic-noise models, and how to save and interpret our results. We displayed the quality of topics that we can generate with a topic-noise model, and we showed how topics generated by NLDA and TND compare to those generated by LDA.</p><p>In the next article, we will look at a semi-supervised topic-noise model that allows the user to guide the model to an even better set of topics by leveraging the prior domain knowledge of the user.</p><p>This article was co-authored by <a href="https://people.cs.georgetown.edu/~singh/">Lisa Singh</a>, Professor of Computer Science and Director of the Massive Data Institute at Georgetown University.</p><blockquote>All images unless otherwise noted are by the author.</blockquote><h3>References</h3><p>[1] D. Blei, A. Ng, and M. Jordan, <a href="https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf">Latent Dirichlet Allocation</a> (2003), Journal of Machine Learning Research 3, 993–1022.</p><p>[2] R. Churchill and L. Singh, <a href="https://www.churchill.io/papers/topic_noise_models.pdf">Topic-Noise Models: Modeling Topic and Noise Distributions in Social Media Post Collections</a> (2021), International Conference on Data Mining (ICDM), 71–80.</p><p>[3] A.K. McCallum, MALLET: A Machine Learning for Language Toolkit (2002), <a href="http://mallet.cs.umass.edu/">http://mallet.cs.umass.edu</a>.</p><p>[4] R. Řehůřek and P. Sojka, <a href="https://radimrehurek.com/gensim/">Software Framework for Topic Modelling with Large Corpora</a> (2010), LREC 2010 Workshop on New Challenges for NLP Frameworks. 45–50.</p><p>[5] R. Churchill and L. Singh, <a href="https://www.churchill.io/papers/textprep.pdf">textPrep: A Text Preprocessing Toolkit for Topic Modeling on Social Media Data</a> (2021), International Conference on Data Science, Technology and Applications.</p><p>[6] R. Churchill and L. Singh, <a href="https://www.churchill.io/papers/evolution_of_topic_modeling.pdf">The Evolution of Topic Modeling</a> (2021), ACM Comput. Surv. (CSURV)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c48fe77e32a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/an-introduction-to-topic-noise-models-c48fe77e32a6">An Introduction to Topic-Noise Models</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>