<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="1277"/><title>A Latent Variable Model for Geographic Lexical Variation</title><pubinfo>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing,pages 1277-1287, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Eisenstein" givenname="Jacob"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="O'Connor" givenname="Brendan"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Smith" givenname="Noah A."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Xing" givenname="Eric P."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>A Latent Variable Model for Geographic Lexical Variation</b></p><p><b>Jacob Eisenstein   Brendan O'Connor   Noah A. Smith   Eric </b><b>P.</b><b> Xing</b></p><p>School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213, USA</p><p>{jacobeis,brendano,nasmith,epxing}@cs.cmu.edu</p></frontmatter><abstract>The rapid growth of geotagged social media raises new computational possibilities for in­vestigating geographic linguistic variation. In this paper, we present a multi-level generative model that reasons jointly about latent topics and geographical regions. High-level topics such as "sports" or "entertainment" are ren­dered differently in each geographic region, revealing topic-specific regional distinctions. Applied to a new dataset of geotagged mi-croblogs, our model recovers coherent top­ics and their regional variants, while identi­fying geographic areas of linguistic consis­tency. The model also enables prediction of an author's geographic location from raw text, outperforming both text regression and super­vised topic models. </abstract></header><body><section number="1" title="Introduction"><p>Sociolinguistics and dialectology study how lan­guage varies across social and regional contexts. Quantitative research in these fields generally pro­ceeds by counting the frequency of a handful of previously-identified linguistic <i>variables: </i>pairs of phonological, lexical, or morphosyntactic features that are semantically equivalent, but whose fre­quency depends on social, geographical, or other factors (Paolillo, 2002; Chambers, 2009). It is left to the experimenter to determine which variables will be considered, and there is no obvious procedure for drawing inferences from the distribution of multiple variables. In this paper, we present a method for identifying geographically-aligned lexical variation directly from raw text. Our approach takes the form of a probabilistic graphical model capable of iden­tifying both geographically-salient terms and coher­ent linguistic communities.</p><p>One challenge in the study of lexical variation is that term frequencies are influenced by a variety of factors, such as the topic of discourse. We address this issue by adding latent variables that allow us to model topical variation explicitly. We hypothesize that geography and topic interact, as "pure" topi­cal lexical distributions are corrupted by geographi­cal factors; for example, a sports-related topic will be rendered differently in New York and Califor­nia. Each author is imbued with a latent "region" indicator, which both selects the regional variant of each topic, and generates the author's observed ge­ographical location. The regional corruption of top­ics is modeled through a cascade of logistic normal priors—a general modeling approach which we call <i>cascading </i>topic models. The resulting system has multiple capabilities, including: (i) analyzing lexi­cal variation by both topic and geography; (ii) seg­menting geographical space into coherent linguistic communities; (iii) predicting author location based on text alone.</p><p>This research is only possible due to the rapid growth of social media. Our dataset is derived from the microblogging website Twitter,<footnote anchor="1"/> which permits users to post short messages to the public. Many users of Twitter also supply exact geographical co­ordinates from GPS-enabled devices (e.g., mobile phones),<footnote anchor="2"/> yielding <i>geotagged </i>text data. Text in computer-mediated communication is often more vernacular (Tagliamonte and Denis, 2008), and as such it is more likely to reveal the influence of ge­ographic factors than text written in a more formal genre, such as news text (Labov, 1966).</p><p>We evaluate our approach both qualitatively and quantitatively. We investigate the topics and regions that the model obtains, showing both common-sense results (place names and sports teams are grouped appropriately), as well as less-obvious insights about slang.<page local="2" global="1278"/> Quantitatively, we apply our model to predict the location of unlabeled authors, using text alone. On this task, our model outperforms several alterna­tives, including both discriminative text regression and related latent-variable approaches.</p><footnote label="1">http://www.twitter.com</footnote><footnote label="2">User profiles also contain self-reported location names, but we do not use that information in this work.</footnote><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">2 Data</doubt><p>The main dataset in this research is gathered from the microblog website Twitter, via its official API. We use an archive of messages collected over the first week of March 2010 from the "Gardenhose" sample stream,<footnote anchor="3"/> which then consisted of 15% of all public messages, totaling millions per day. We aggressively filter this stream, using only messages that are tagged with physical (latitude, longitude) coordinate pairs from a mobile client, and whose au­thors wrote at least 20 messages over this period. We also filter to include only authors who follow fewer than 1,000 other people, and have fewer than 1,000 followers. Kwak et al. (2010) find dramatic shifts in behavior among users with social graph connec­tivity outside of that range; such users may be mar­keters, celebrities with professional publicists, news media sources, etc. We also remove messages con­taining URLs to eliminate bots posting information such as advertising or weather conditions. For inter-pretability, we restrict our attention to authors inside a bounding box around the contiguous U.S. states, yielding a final sample of about 9,500 users and 380,000 messages, totaling 4.7 million word tokens. We have made this dataset available online.<footnote anchor="4"/></p><p>Informal text from mobile phones is challeng­ing to tokenize; we adapt a publicly available tok-enizer<footnote anchor="5"/> originally developed for Twitter (O'Connor et al., 2010), which preserves emoticons and blocks of punctuation and other symbols as tokens. For each user's Twitter feed, we combine all messages into a single "document." We remove word types that appear in fewer than 40 feeds, yielding a vocab­ulary of 5,216 words. Of these, 1,332 do not appear in the English, French, or Spanish dictionaries ofthe</p><p>http://dev.twitter.com/pages/streaming_api <footnote anchor="4"/>http://www.ark.cs.cmu.edu/GeoTwitter http://tweetmotif.com</p><p>spell-checking program aspell.</p><p>Every message is tagged with a location, but most messages from a single individual tend to come from nearby locations (as they go about their day); for modeling purposes we use only a single geographic location for each author, simply taking the location of the first message in the sample.</p><p>The authors in our dataset are fairly heavy Twit­ter users, posting an average of 40 messages per day (although we see only 1 % of this total). We have little information about their demographics, though from the text it seems likely that this user set skews towards teens and young adults. The dataset cov­ers each of the 48 contiguous United States and the District of Columbia.</p></section><section number="3" title="Model"><p>We develop a model that incorporates two sources of lexical variation: topic and geographical region. We treat the text and geographic locations as out­puts from a generative process that incorporates both topics and regions as latent variables.<footnote anchor="6"/> During infer­ence, we seek to recover the topics and regions that best explain the observed data.</p><p>At the base level of model are "pure" topics (such as <b>"sports", "weather", </b>or <b>"slang"); </b>these topics are rendered differently in each region. We call this gen­eral modeling approach a <i>cascading </i>topic model; we describe it first in general terms before moving to the specific application to geographical variation.</p><subsection number="3.1" title="Cascading Topic Models"><p>Cascading topic models generate text from a chain of random variables. Each element in the chain de­fines a distribution over words, and acts as the mean of the distribution over the subsequent element in the chain. Thus, each element in the chain can be thought of as introducing some additional corrup­tion. All words are drawn from the final distribution in the chain.</p><p>At the beginning of the chain are the priors, fol­lowed by unadulerated base topics, which may then be corrupted by other factors (such as geography or time). For example, consider a base <b>"food" </b>topic that emphasizes words like <i>dinner </i>and <i>delicious; </i>the corrupted <b>"food-California" </b>topic would place weight on these words, but might place extra em­phasis on other words like <i>sprouts.</i><page local="3" global="1279"/><i></i></p><footnote label="6">The region could be observed by using a predefined geo­graphical decomposition, e.g., political boundaries. However, such regions may not correspond well to linguistic variation.</footnote><p>The path through the cascade is determined by a set of indexing variables, which may be hidden or observed. As in standard latent Dirichlet allocation (Blei et al., 2003), the base topics are selected by a per-token hidden variable z. In the geographical topic model, the next level corresponds to regions, which are selected by a per-author latent variable r.</p><p>Formally, we draw each level of the cascade from a normal distribution centered on the previous level; the final multinomial distribution over words is ob­tained by exponentiating and normalizing. To ensure tractable inference, we assume that all covariance matrices are uniform diagonal, i.e., aI with <i>a &gt; </i>0; this means we do not model interactions between words.</p></subsection><subsection number="3.2" title="The Geographic Topic Model"><p>The application of cascading topic models to ge­ographical variation is straightforward. Each doc­ument corresponds to the entire Twitter feed of a given author during the time period covered by our corpus. For each author, the latent variable <i>r </i>cor­responds to the geographical region of the author, which is not observed. As described above, <i>r </i>se­lects a corrupted version of each topic: the <i>k</i><i>th </i>basic topic has mean <b>/L</b>tk, with uniform diagonal covari-ance a<footnote anchor="2"/>,; for region j, we can draw the regionally-corrupted topic from the normal distribution, <i>r</i><i>)jk — </i><b>N(M</b>k ,&lt;7fc I).</p><p>Because <b>77 </b>is normally-distributed, it lies not in the simplex but in <b>RW</b>. We deterministically com­pute multinomial parameters <b>ß </b>by exponentiating and normalizing: <b><i>ß</i></b><i>jk = </i>exp^VEi exp(njfc). This normalization could introduce identifiability problems, as there are multiple settings for <b>7 </b>that maximize <i>P</i><b><i>(w\rf) </i></b>(Blei andLafferty, 2006a). How­ever, this difficulty is obviated by the priors: given <b><i>H </i></b>and a<footnote anchor="2"/>, there is only a single <b>77 </b>that maximizes P<b><i>(w\rr</i></b><i>)P</i><b><i>(rr\ß, </i></b><i>a<footnote anchor="2"/>); </i>similarly, only a single <b><i>n </i></b>max­imizes P<b><i>(n\n</i></b><i>)P</i><b>(/L</b>t<b>\a, </b>b<footnote anchor="2"/>).</p><p>The observed latitude and longitude, denoted <b>y, </b>are normally distributed and conditioned on the re­gion, with mean <b>v</b><i>r </i>and precision matrix Ar indexed by the region <i>r. </i>The region index <i>r </i>is itself drawn from a single shared multinomial The model is shown as a plate diagram in Figure 1.</p><p>Given a vocabulary size W, the generative story is as follows:</p><p>• <b>Generate base topics: </b>for each topic <i>k</i><i> </i><i>&lt;</i><i> </i><i>K</i></p><p><b>- </b>Draw the base topic from a normal distribu­tion with uniform diagonal covariance: <b>/L</b><b>xk </b>— N<b>(a, </b>b<b><footnote anchor="2"/>I),</b></p><p><b>- </b>Draw the regional variance from a Gamma distribution: <i>a</i><i>f,</i><i> </i><b><i>— </i></b>9(c, d).</p><p><b>- Generate regional variants: </b>for each region</p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">j&lt;J,</doubt><p>* Draw the region-topic <b><i>njk </i></b>from a normal distribution with uniform diagonal covari-ance: <b><footnote anchor="77"/></b><i>jk </i><b><i>— </i></b><b><i>N(^</i></b><i>k </i>,af<b>l</b>).</p><p>* Convert <b>77</b>jk into a multinomial distribution over words by ex­ponentiating       and normalizing:</p><p>ßjk = exp <b><i>{V</i></b><i>jk) </i><i>Œ7</i><i> </i>exp(njk)),where the denominator sums over the</p><p>vocabulary.</p><p>• <b>Generate regions: </b>for each region <i>j &lt; J,</i></p><p><b>- </b>Draw the spatial mean <b><i>V</i></b><i>j </i>from a normal dis­tribution.</p><p><b>- </b>Draw the precision matrix Aj from a Wishart distribution.</p><p>• Draw the distribution over regions <b>$ </b>from a sym­metric Dirichlet prior, <b>$ </b>— Dir(a_ <b>1).</b></p><p>• <b>Generate text and locations: </b>for each document <i>d,</i></p><p><b>- </b>Draw topic proportions from a symmetric Dirichlet prior, <b>6 </b><b><i>— </i></b>Dir(a<b>l).</b></p><p><b>- </b>Draw the region <i>r </i>from the multinomial dis­tribution</p><p><b>- </b>Draw the location <b><i>y </i></b>from the bivariate Gaus­sian, <b>y </b>— N<b>(vr</b>, Ar ).</p><p><b>- </b>For each word token,</p><p>* Draw the topic indicator z — <b>6.</b></p><p>* Draw the word token <i>w </i><b><i>— </i></b><b><i>ßrz</i></b>.</p></subsection></section><section number="4" title="Inference"><p>We apply mean-field variational inference: a fully-factored variational distribution Q is chosen to min­imize the Kullback-Leibler divergence from the true distribution. Mean-field variational inference with conjugate priors is described in detail else­where (Bishop, 2006; Wainwright and Jordan, 2008); we restrict our focus to the issues that are unique to the geographic topic model.</p><page local="4" global="1280"/><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">rd</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">VdVj</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">Aj</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">wn</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">a</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">fî</doubt><p>log of base topic k's distribution over word types variance parameter for regional variants of topic k region j's variant of base topic <b><i>ßk</i></b> author d's topic proportions author d's latent region author d's observed GPS location region j's spatial center region j's spatial precision token n's topic assignment token n's observed word type global prior over author-topic proportions global prior over region classes</p><p>Figure 1: Plate diagram for the geographic topic model, with a table of all random variables. Priors (besides <i>a) </i>are omitted for clarity, and the document indices on z and w are implicit.</p><p>We place variational distributions over all latent variables of interest: <b>6, </b><b><i>z, r, fî, </i></b><b>77, </b><i>a<footnote anchor="2"/>, </i><b><i>v</i></b>, and A, updating each of these distributions in turn, until convergence. The variational distributions over <b>6 </b>and <b>fî </b>are Dirichlet, and have closed form updates: each can be set to the sum of the expected counts, plus a term from the prior (Blei et al., 2003). The variational distributions q(z) and q(r) are categor­ical, and can be set proportional to the expected joint likelihood—to set <i>q(z) </i>we marginalize over r, and vice versa.<footnote anchor="7"/> The updates for the multivariate Gaussian spatial parameters <b>v </b>and A are described by Penny (2001).</p><subsection number="4.1" title="Regional Word Distributions"><p>The variational region-topic distribution <b>njk </b>is nor­mal, with uniform diagonal covariance for tractabil-ity. Throughout we will write (x) to indicate the ex­pectation of x under the variational distribution Q. Thus, the vector mean of the distribution q<b>(njk</b>) is written ), while the variance (uniform across i) of q<b>(n) </b>is written ).</p><p>To update the mean parameter ), we max­imize the contribution to the variational bound L from the relevant terms:</p><doubt alpha="54.7" length="53" tooSmall="False" monospace="0.0">L[&lt;n(i)»=(logp(wlß3,z,r))+(logp(nifci^fci),afc)^3k(i)</doubt><footnote label="7">Thanks to the naïve mean field assumption, we can marginalize over z by first decomposing across all N d  words and then summing over q(z).</footnote><p>with the first term representing the likelihood of the observed words (recall that <i>ß </i>is computed determin-istically from <i>rf) </i>and the second term corresponding to the prior. The likelihood term requires the expec­tation (log <b><i>ß), </i></b>but this is somewhat complicated by the normalizes J_W exp(r(i)), which sums over all terms in the vocabulary. As in previous work on lo­gistic normal topic models, we use a Taylor approx­imation for this term (Blei and Lafferty, 2006a).</p><p>The prior on <b><i>7 </i></b>is normal, so the contribution from the second term of the objective (Equation 1) is ^fct))<footnote anchor="2"/>). We introduce the following notation for expected counts: <i>N(i,j,k) </i>indicates the expected count of term <i>i </i>in region <i>j </i>and topic <i>k, </i>and N(j, k) = <i>i N</i>(i, j, k). After some calculus, we can write the gradient &lt;9L/&lt;9(r?j<b>4i)) </b>) as which has an intuitive interpretation. The first two terms represent the difference in expected counts for term i under the variational distributions q(z, r) and q(z, r, ß) : this difference goes to zero when ßjk per­fectly matches N<i>(i,j,k)/N</i>(j, k). The third term</p><doubt alpha="33.3" length="33" tooSmall="False" monospace="0.0">N (i, j,k)-N (j,k)(ßjk))-K"2}«^}-</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>i) i)penalizes r?]fc for deviating from its prior <i>/j,yk</i><i> </i>, but this penalty is proportional to the expected inverse variance (a"<footnote anchor="2"/>). We apply gradient ascent to maxi­mize the objective L. A similar set of calculations gives the gradient for the variance of <b>7; </b>these are described in an forthcoming appendix.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><page local="5" global="1281"/></subsection><subsection number="4.2" title="Base Topics"><p>The base topic parameters are <b>ßk </b>and ct<footnote anchor="2"/>,; in the vari­ational distribution, q<b>(ßk</b>) is normally distributed and q(a<footnote anchor="2"/> ) is Gamma distributed. Note that <b>ßk </b>and ct| affect only the regional word distributions <b>77 </b>jk. An advantage of the logistic normal is that the vari-ational parameters over <b>ßk </b>are available in closed form, where J indicates the number of regions. The ex­pectation of the base topic incorporates the prior and the average of the generated region-topics— these two components are weighted respectively by the expected variance of the region-topics (ak<footnote anchor="2"/>) and the prior topical variance <i>b<footnote anchor="2"/>. </i>The posterior variance V<b>(ß) </b>is a harmonic combination of the prior vari­ance b<footnote anchor="2"/> and the expected variance of the region top­ics.</p><doubt alpha="26.8" length="41" tooSmall="False" monospace="0.0">(ßk)=b2J+ (a2) V(ßk ) = (b"2+ J (a"2))"1,</doubt><p>The variational distribution over the region-topic variance ak<footnote anchor="2"/> has Gamma parameters. These param­eters cannot be updated in closed form, so gradi­ent optimization is again required. The derivation of these updates is more involved, and is left for a forthcoming appendix.</p></subsection></section><section number="5" title="Implementation"><p>Variational scheduling and initialization are impor­tant aspects of any hierarchical generative model, and are often under-discussed. In our implementa­tion, the variational updates are scheduled as fol­lows: given expected counts, we iteratively update the variational parameters on the region-topics <b><i>7 </i></b>and the base topics <b>ß, </b>until convergence. We then update the geographical parameters <b>v </b>and A, as well as the distribution over regions <b><i>î. </i></b>Finally, for each doc­ument we iteratively update the variational param­eters over <b><i>6, z, </i></b>and r until convergence, obtaining expected counts that are used in the next iteration of updates for the topics and their regional variants. We iterate an outer loop over the entire set of updates until convergence.</p><p>We initialize the model in a piecewise fashion. First we train a Dirichlet process mixture model on the locations <b><i>V, </i></b>using variational inference on the truncated stick-breaking approximation (Blei and Jordan, 2006). This automatically selects the num­ber of regions J, and gives a distribution over each region indicator rd from geographical information alone. We then run standard latent Dirichlet alloca­tion to obtain estimates of <b>z </b>for each token (ignoring the locations). From this initialization we can com­pute the first set of expected counts, which are used to obtain initial estimates of all parameters needed to begin variational inference in the full model.</p><p>The prior <b><i>a </i></b>is the expected mean of each topic <b>ß; </b>for each term i, we set a(i) = log N(i) — log N, where N(i) is the total count of i in the corpus and N = 5_i N(i). The variance prior b<footnote anchor="2"/> is set to 1, and the prior on a<footnote anchor="2"/> is the Gamma distribution S (2, 200), encouraging minimal deviation from the base topics. The symmetric Dirichlet prior on <b>6 </b>is set to 2, and the symmetric Dirichlet parameter on # is updated from weak hyperpriors (Minka, 2003). Finally, the geographical model takes priors that are linked to the data: for each region, the mean is very weakly en­couraged to be near the overall mean, and the covari-ance prior is set by the average covariance of clusters obtained by running K-means.</p></section><section number="6" title="Evaluation"><p>For a quantitative evaluation of the estimated rela­tionship between text and geography, we assess our model s ability to predict the geographic location of unlabeled authors based on their text alone.<footnote anchor="8"/> This task may also be practically relevant as a step toward applications for recommending local businesses or social connections. A randomly-chosen 60% of au­thors are used for training, 20% for development, and the remaining 20% for final evaluation.</p><subsection number="6.1" title="Systems"><p>We compare several approaches for predicting au­thor location; we divide these into latent variable generative models and discriminative approaches.</p><footnote label="8">Alternatively, one might evaluate the attributed regional memberships of the words themselves. While the Dictionary of American Regional English (Cassidy and Hall, 1985) attempts a comprehensive list of all regionally-affiliated terms, it is based on interviews conducted from 1965-1970, and the final volume (covering Si-Z) is not yet complete.</footnote><page local="6" global="1282"/><subsubsection number="6.1.1" title="Latent Variable Models"><p><b>Geographic Topic Model </b>This is the full version of our system, as described in this paper. To pre­dict the unseen location <b><i>yd, </i></b>we iterate until con­vergence on the variational updates for the hidden topics <b><i>z</i></b>d, the topic proportions <b><i>6</i></b>d, and the region rd. From rd, the location can be estimated as <b>y</b>d = argmaxy^p<b>(y|v</b>j, <i>A</i><i>j</i>)q(rd = j). The develop­ment set is used to tune the number of topics and to select the best of multiple random initializations.</p><p><b>Mixture of Unigrams </b>A core premise of our ap­proach is that modeling topical variation will im­prove our ability to understand geographical varia­tion. We test this idea by fixing K = 1, running our system with only a single topic. This is equivalent to a Bayesian mixture of unigrams in which each au­thor is assigned a single, regional unigram language model that generates all of his or her text. The de­velopment set is used to select the best of multiple random initializations.</p><p><b>Supervised Latent Dirichlet Allocation  </b>In a more subtle version of the mixture-of-unigrams model, we model each author as an admixture of re­gions. Thus, the latent variable attached to each au­thor is no longer an index, but rather a vector on the simplex. This model is equivalent to supervised la­tent Dirichlet allocation (Blei and McAuliffe, 2007): each topic is associated with equivariant Gaussian distributions over the latitude and longitude, and these topics must explain both the text and the ob­served geographical locations. For unlabeled au­thors, we estimate latitude and longitude by esti­mating the topic proportions and then applying the learned geographical distributions. This is a linear prediction for an author' s topic proportions Zd and topic-geography weights <b><i>a </i></b>G <b>R2K</b>.</p><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">f(Zd;a)=(ZTalat, ZTalon)</doubt></subsubsection><subsubsection number="6.1.2" title="Baseline Approaches"><p><b>Text</b><b> Regression </b>We perform linear regression to discriminatively learn the relationship between words and locations. Using term frequency features <b><i>xd </i></b>for each author, we predict locations with word-geography weights <b><i>a </i></b>G <b>R2W </b>:</p><p>Weights are trained to minimize the sum of squared Euclidean distances, subject to L1 regularization:</p><doubt alpha="58.6" length="29" tooSmall="False" monospace="0.0">J&gt;]alat-ydat)2+(x]alon-yd°n)2</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">d</doubt><doubt alpha="53.3" length="30" tooSmall="False" monospace="0.0">+ Alat||alat||1+ Alon||alon||1</doubt><p>The minimization problem decouples into two sep­arate latitude and longitude models, which we fit using the glmnet elastic net regularized regres­sion package (Friedman et al., 2010), which ob­tained good results on other text-based prediction tasks (Joshi et al., 2010). Regularization parameters were tuned on the development set. The L1 penalty outperformed L2 and mixtures of L1 and L2.</p><p>Note that for both word-level linear regression here, and the topic-level linear regression in SLDA, the choice of squared Euclidean distance dovetails with our use of spatial Gaussian likelihoods in the geographic topic models, since optimizing <b>a </b>is equivalent to maximum likelihood estimation un­der the assumption that locations are drawn from equivariant circular Gaussians centered around each f<b>(x</b>d; <b>a) </b>linear prediction. We experimented with decorrelating the location dimensions by projecting <b>yd </b>into the principal component space, but this did not help text regression.</p><p><b>K-Nearest Neighbors </b>Linear regression is a poor model for the multimodal density of human popula­tions. As an alternative baseline, we applied super­vised K-nearest neighbors to predict the location <b>yd</b>as the average of the positions of the K most sim­ilar authors in the training set. We computed term-frequency inverse-document frequency features and applied cosine similarity over their first 30 principal components to find the neighbors. The choices of principal components, IDF weighting, and neighbor­hood size K = 20 were tuned on the development set.</p></subsubsection></subsection><subsection number="6.2" title="Metrics"><p>Our principle error metrics are the mean and median distance between the predicted and true location in kilometers.<footnote anchor="9"/> Because the distance error may be dif­ficult to interpret, we also report accuracy of classi-<page local="7" global="1283"/></p><doubt alpha="54.5" length="22" tooSmall="False" monospace="0.0">f(xd;a) = (x]alat, xja</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">lon</doubt><footnote label="9">For convenience, model training and prediction use latitude and longitude as an unprojected 2D Euclidean space. However, properly measuring the physical distance between points on the</footnote><p>Table 1: Location prediction results; lower scores are better on the regression task, higher scores are better on the classification task. Distances are in kilometers. Mean location and most common class are computed from the test set. Both the geographic topic model and supervised LDA use the best number of topics from the development set (10 and 5, respectively).</p><p>fication by state and by region of the United States. Our data includes the 48 contiguous states plus the District of Columbia; the U.S. Census Bureau di­vides these states into four regions: West, Midwest, Northeast, and South.<footnote anchor="10"/> Note that while major pop­ulation centers straddle several state lines, most re­gion boundaries are far from the largest cities, re­sulting in a clearer analysis.</p></subsection><subsection number="6.3" title="Results"><p>As shown in Table 1, the geographic topic model achieves the strongest performance on all metrics. All differences in performance between systems are statistically significant (p &lt; .01) using the Wilcoxon-Mann-Whitney test for regression error and the %<footnote anchor="2"/> test for classification accuracy. Figure 2 shows how performance changes as the number of topics varies.</p><p>Note that the geographic topic model and the mix­ture of unigrams use identical code and parametriza-tion - the only difference is that the geographic topic model accounts for topical variation, while the mix­ture of unigrams sets K = 1. These results validate our basic premise that it is important to model the interaction between topical and geographical varia­tion.</p><p>Text regression and supervised LDA perform es­pecially poorly on the classification metric. Both methods make predictions that are averaged across</p><p>Earth s surface requires computing or approximating the great circle distance - we use the Haversine formula (Sinnott, 1984). For the continental U.S., the relationship between degrees and kilometers is nearly linear, but extending the model to a conti­nental scale would require a more sophisticated approach. <footnote anchor="10"/>http://www.census.gov/geo/www/us_regdiv.pdf</p><doubt alpha="0.0" length="33" tooSmall="False" monospace="0.0">1100 1000 900 800 700 600 500 400</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">10</doubt><p>Number of topics</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">15</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">20</doubt><p>Figure 2: The effect of varying the number of topics on the median regression error (lower is better).</p><p>each word in the document: in text regression, each word is directly multiplied by a feature weight; in supervised LDA the word is associated with a la­tent topic first, and then multiplied by a weight. For these models, all words exert an influence on the pre­dicted location, so uninformative words will draw the prediction towards the center of the map. This yields reasonable distance errors but poor classifica­tion accuracy. We had hoped that K-nearest neigh­bors would be a better fit for this metric, but its per­formance is poor at all values of K. Of course it is always possible to optimize classification accuracy directly, but such an approach would be incapable of predicting the exact geographical location, which is the focus of our evaluation (given that the desired geographical partition is unknown). Note that the geographic topic model is also not trained to opti­mize classification accuracy.</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">c 5</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>System</b></p></td><td class="cell"><p>Regression Mean Dist. (km)   Median Dist. (km)</p></td><td class="cell"><p>Classification accuracy (%) Region (4-way)   State (49-way)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Geographic topic model</p></td><td class="cell"><p><b>900</b></p></td><td class="cell"><p><b>494</b></p></td><td class="cell"><p><b>58</b></p></td><td class="cell"><p>24</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Mixture of unigrams</p></td><td class="cell"><p>947</p></td><td class="cell"><p>644</p></td><td class="cell"><p>53</p></td><td class="cell"><p>19</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Supervised LDA</p></td><td class="cell"><p>1055</p></td><td class="cell"><p>728</p></td><td class="cell"><p>39</p></td><td class="cell"><p>4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Text regression</p></td><td class="cell"><p>948</p></td><td class="cell"><p>712</p></td><td class="cell"><p>41</p></td><td class="cell"><p>4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>K-nearest neighbors</p></td><td class="cell"><p>1077</p></td><td class="cell"><p>853</p></td><td class="cell"><p>37</p></td><td class="cell"><p>2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Mean location Most common class</p></td><td class="cell"><p>1148</p></td><td class="cell"><p>1018</p></td><td class="cell"><p>37</p></td><td class="cell"><p><b>27</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="8" global="1284"/><p>Table 2: Example base topics (top line) and regional variants. For the base topics, terms are ranked by log-odds compared to the background distribution. The regional variants show words that are strong compared to both the base topic and the background. Foreign-language words are shown in <i>italics, </i>while terms that are usually in proper nouns are shown in SMALL CAPS. See Table 3 for definitions of slang terms; see Section 7 for more explanation and details on the methodology.</p><p>Figure 3: Regional clustering of the training set obtained by one randomly-initialized run of the geographical topic model. Each point represents one author, and each shape/color combination represents the most likely cluster as­signment. Ellipses represent the regions spatial means and covariances. The same model and coloring are shown in</p><p>Table 2.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>"basketball"</b></p><p>pistons kobe</p><p>lakers game</p><p>duke nba cavs stuckey</p><p>jets knicks</p></td><td class="cell"><p><b>"popular</b></p><p><b>music"</b></p><p>album music beats artist video</p><p>#lakers</p><p>itunes tour produced vol</p></td><td class="cell"><p><b>"daily life"</b></p><p>tonight shop weekend getting going chilling ready discount waiting iam</p></td><td class="cell"><p><b>"emoticons"</b></p><p>:) haha :d :( ;) :p xd :/ hahaha hahah</p></td><td class="cell"><p><b>"chit chat"</b></p><p>lol smh jk yea wyd coo ima</p><p>wassup somethin jp</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Boston</p></td><td class="cell"><p>celtics victory</p><p>boston charlotte</p></td><td class="cell"><p>playing daughter pearl alive war comp</p></td><td class="cell"><p>boston</p></td><td class="cell"><p>;p gna loveee</p></td><td class="cell"><p><i>ese </i>exam suttin sippin</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>N. California "^<b>n-^</b></p></td><td class="cell"><p>thunder kings giants</p><p>pimp trees clap</p></td><td class="cell"><p>simon dl mountain seee</p></td><td class="cell"><p>6am oakland</p></td><td class="cell"><p>pues hella koo san fckn</p></td><td class="cell"><p>hella flirt hut</p><p>iono oakland</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>New York <b>^~^v-+</b></p></td><td class="cell"><p>nets knicks</p></td><td class="cell"><p>bronx</p></td><td class="cell"><p>iam cab</p></td><td class="cell"><p>oww</p></td><td class="cell"><p>wasssup nm</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>+~y</i></p><p>Los Angeles</p></td><td class="cell"><p>#kobe #lakers</p><p>austin</p></td><td class="cell"><p>#lakers load</p><p>hollywood</p><p>imm mickey tupac</p></td><td class="cell"><p>omw tacos hr</p><p>hollywood</p></td><td class="cell"><p>af <i>papi </i>raining th bomb coo</p><p>hollywood</p></td><td class="cell"><p>wyd coo af <i>nada </i>tacos messin fasho bomb</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lake Erie</p></td><td class="cell"><p>cavs</p><p>cleveland ohio bucks od</p><p>columbus</p></td><td class="cell"><p>premiere prod joint toronto</p><p>onto designer canada village burr</p></td><td class="cell"><p>stink chipotle tipsy</p></td><td class="cell"><p>;d blvd bieber hve ohio</p></td><td class="cell"><p>foul wiz salty excuses lames officer lastnight</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="9" global="1285"/></subsection></section><section number="7" title="Analysis"><p>Our model permits analysis of geographical vari­ation in the context of topics that help to clarify the significance of geographically-salient terms. Ta­ble 2 shows a subset of the results of one randomly-initialized run, including five hand-chosen topics (of 50 total) and five regions (of 13, as chosen automat­ically during initialization). Terms were selected by log-odds comparison. For the base topics we show the ten strongest terms in each topic as compared to the background word distribution. For the regional variants, we show terms that are strong both region­ally and topically: specifically, we select terms that are in the top 100 compared to both the background distribution and to the base topic. The names for the topics and regions were chosen by the authors.</p><p>Nearly all of the terms in column 1 <b>("basketball") </b>refer to sports teams, athletes, and place names— encouragingly, terms tend to appear in the regions where their referents reside. Column 2 contains sev­eral proper nouns, mostly referring to popular mu­sic figures (including PEARL from the band Pearl Jam).<footnote anchor="11"/> Columns 3-5 are more conversational. Spanish-language terms <i>(papi, pues, nada, ese) </i>tend to appear in regions with large Spanish-speaking populations—it is also telling that these terms ap­pear in topics with emoticons and slang abbrevia­tions, which may transcend linguistic barriers. Other terms refer to people or subjects that may be espe­cially relevant in certain regions: <i>tacos </i>appears in the southern California region and <i>cab </i>in the New York region; TUPAC refers to a rap musician from Los Angeles, and WIZ refers to a rap musician from Pittsburgh, not far from the center of the "Lake Erie" region.</p><p>A large number of slang terms are found to have strong regional biases, suggesting that slang may depend on geography more than standard English does. The terms <i>af </i>and <i>hella </i>display especially strong regional affinities, appearing in the regional variants of multiple topics (see Table 3 for defini­tions). Northern and Southern California use variant spellings <i>koo </i>and <i>coo </i>to express the same meaning.</p><footnote label="11">This analysis is from an earlier version of our dataset that contained some Twitterbots, including one from a Boston-area radio station. The bots were purged for the evaluation in Sec­tion 6, though the numerical results are nearly identical.</footnote><p>Table 3: A glossary of non-standard terms from Ta­ble 2. Definitions are obtained by manually inspecting the context in which the terms appear, and by consulting</p><p>www.urbandictionary.com.</p><p>While research in perceptual dialectology does con­firm the link of <i>hella </i>to Northern California (Bu-choltz et al., 2007), we caution that our findings are merely suggestive, and a more rigorous analysis must be undertaken before making definitive state­ments about the regional membership of individual terms. We view the geographic topic model as an exploratory tool that may be used to facilitate such investigations.</p><p>Figure 3 shows the regional clustering on the training set obtained by one run of the model. Each point represents an author, and the ellipses represent the bivariate Gaussians for each region. There are nine compact regions for major metropolitan areas, two slightly larger regions that encompass Florida and the area around Lake Erie, and two large re­gions that partition the country roughly into north and south.</p></section><section number="8" title="Related Work"><p>The relationship between language and geography has been a topic of interest to linguists since the nineteenth century (Johnstone, 2010). An early work of particular relevance is Kurath's <i>Word Geog­raphy of the Eastern United States </i>(1949), in which he conducted interviews and then mapped the oc­currence of equivalent word pairs such as <i>stoop </i>and <i>porch. </i>The essence of this approach—identifying variable pairs and measuring their frequencies— remains a dominant methodology in both dialectology (Labov et al., 2006) and sociolinguis-tics (Tagliamonte, 2006).<page local="10" global="1286"/> Within this paradigm, computational techniques are often applied to post hoc analysis: logistic regression (Sankoff et al., 2005) and mixed-effects models (Johnson, 2009) are used to measure the contribution of individual vari­ables, while hierarchical clustering and multidimen­sional scaling enable aggregated inference across multiple variables (Nerbonne, 2009). However, in all such work it is assumed that the relevant linguis­tic variables have already been identified—a time-consuming process involving considerable linguistic expertise. We view our work as complementary to this tradition: we work directly from raw text, iden­tifying both the relevant features and coherent lin­guistic communities.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>term</b></p></td><td class="cell"><p><b>definition</b></p></td><td class="cell"><p><b>term</b></p></td><td class="cell"><p><b>definition</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>af</p></td><td class="cell"><p>as fuck (very)</p></td><td class="cell"><p>jk</p></td><td class="cell"><p>just kidding</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>coo</p></td><td class="cell"><p>cool</p></td><td class="cell"><p>jP</p></td><td class="cell"><p>just playing (kid-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>dl</p></td><td class="cell"><p>download</p></td><td class="cell"><p></p></td><td class="cell"><p>ding)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>fasho</p></td><td class="cell"><p>for sure</p></td><td class="cell"><p>koo</p></td><td class="cell"><p>cool</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gna</p></td><td class="cell"><p>going to</p></td><td class="cell"><p>lol</p></td><td class="cell"><p>laugh out loud</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hella</p></td><td class="cell"><p>very</p></td><td class="cell"><p>nm</p></td><td class="cell"><p>nothing much</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hr</p></td><td class="cell"><p>hour</p></td><td class="cell"><p>od</p></td><td class="cell"><p>overdone (very)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>iam</p></td><td class="cell"><p>I am</p></td><td class="cell"><p>omw</p></td><td class="cell"><p>on my way</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ima</p></td><td class="cell"><p>I'm going to</p></td><td class="cell"><p>smh</p></td><td class="cell"><p>shake my head</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>imm</p></td><td class="cell"><p>I'm</p></td><td class="cell"><p>suttin</p></td><td class="cell"><p>something</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>iono</p></td><td class="cell"><p>I don't know</p></td><td class="cell"><p>wassup</p></td><td class="cell"><p>what's up</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>lames</p></td><td class="cell"><p>lame (not cool)</p></td><td class="cell"><p>wyd</p></td><td class="cell"><p>what are you do-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>people</p></td><td class="cell"><p></p></td><td class="cell"><p>ing?</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>An active recent literature concerns geotagged in­formation on the web, such as search queries (Back­strom et al., 2008) and tagged images (Crandall et al., 2009). This research identifies the geographic distribution of individual queries and tags, but does not attempt to induce any structural organization of either the text or geographical space, which is the focus of our research. More relevant is the work of Mei et al. (2006), in which the distribution over latent topics in blog posts is conditioned on the ge­ographical location of the author. This is somewhat similar to the supervised LDA model that we con­sider, but their approach assumes that a partitioning of geographical space into regions is already given.</p><p>Methodologically, our cascading topic model is designed to capture multiple dimensions of variabil­ity: topics and geography. Mei et al. (2007) include sentiment as a second dimension in a topic model, using a switching variable so that individual word tokens may be selected from either the topic or the sentiment. However, our hypothesis is that individ­ual word tokens reflect both the topic and the ge­ographical aspect. Sharing this intuition, Paul and Girju (2010) build topic-aspect models for the cross product of topics and aspects. They do not impose any regularity across multiple aspects of the same topic, so this approach may not scale when the num­ber of aspects is large (they consider only two as­pects). We address this issue using cascading distri­butions; when the observed data for a given region-topic pair is low, the model falls back to the base topic. The use of cascading logistic normal distributions in topic models follows earlier work on dy­namic topic models (Blei and Lafferty, 2006b; Xing, 2005).</p></section><section number="9" title="Conclusion"><p>This paper presents a model that jointly identifies words with high regional affinity, geographically-coherent linguistic regions, and the relationship be­tween regional and topic variation. The key model­ing assumption is that regions and topics interact to shape observed lexical frequencies. We validate this assumption on a prediction task in which our model outperforms strong alternatives that do not distin­guish regional and topical variation.</p><p>We see this work as a first step towards a unsuper-vised methodology for modeling linguistic variation using raw text. Indeed, in a study of morphosyn-tactic variation, Szmrecsanyi (2010) finds that by the most generous measure, geographical factors ac­count for only 33% of the observed variation. Our analysis might well improve if non-geographical factors were considered, including age, race, gen­der, income and whether a location is urban or ru­ral. In some regions, estimates of many of these fac­tors may be obtained by cross-referencing geogra­phy with demographic data. We hope to explore this possibility in future work.</p></section><section title="Acknowledgments"><p>We would like to thank Amr Ahmed, Jonathan Chang, Shay Cohen, William Cohen, Ross Curtis, Miro Dudfk, Scott Kiesling, Seyoung Kim, and the anonymous re­viewers. This research was enabled by Google's sup­port of the Worldly Knowledge project at CMU, AFOSR FA9550010247, ONR N0001140910758, NSF CAREER DBI-0546594, NSF IIS-0713379, and an Alfred P. Sloan Fellowship.</p></section><references><p>L. Backstrom, J. Kleinberg, R. Kumar, and J. Novak. 2008. Spatial variation in search engine queries. In <i>Proceedings of WWW.</i></p><p>C. M. Bishop. 2006. <i>Pattern Recognition and Machine Learning. </i>Springer.</p><p>D. M. Blei and M. I. Jordan. 2006. Variational infer­ence for Dirichlet process mixtures. <i>Bayesian Analy­</i>sis, 1:121-144.</p><page local="11" global="1287"/><p>D. M. Blei and J. Lafferty. 2006a. Correlated topic mod­els. In <i>NIPS.</i></p><p>D. M. Blei and J. Lafferty. 2006b. Dynamic topic mod­els. In <i>Proceedings ofICML.</i></p><doubt alpha="64.8" length="54" tooSmall="False" monospace="0.0">D. M. Blei and J. D. McAuliffe. 2007. Supervised topic</doubt><p>models. In <i>NIPS. </i>D. M. Blei, A. Y. Ng, and M. I. Jordan. 2003. Latent Dirichlet allocation. <i>JMLR, </i>3:993-1022.</p><p>M. Bucholtz, N. Bermudez, V. Fung, L. Edwards, and the perceptual dialectology of California. <i>Journal of</i></p><doubt alpha="65.3" length="49" tooSmall="False" monospace="0.0">R. Vargas. 2007. Hella Nor Cal or totally So Cal?</doubt><p><i>English Linguistics, </i>35(4):325-352. F. G. Cassidy and J. H. Hall. 1985. <i>Dictionary ofAmer-ican Regional English, </i>volume 1. Harvard University Press.</p><p>J. Chambers. 2009. <i>Sociolinguistic Theory: Linguistic</i></p><p><i>Variation and its Social Significance. </i>Blackwell. D. J Crandall, L. Backstrom, D. Huttenlocher, and J. Kleinberg. 2009. Mapping the world's photos. In <i>Proceedings ofWWW, </i>page 761770. J. Friedman, T. Hastie, and R. Tibshirani. 2010. Regular-ization paths for generalized linear models via coordi­nate descent. <i>Journal of Statistical Software, </i>33(1). D. E. Johnson. 2009. Getting off the GoldVarb standard: Introducing Rbrul for mixed-effects variable rule anal­ysis. <i>Language and Linguistics Compass, </i>3(1):359383.</p><p>B. Johnstone. 2010. Language and place. In R. Mesthrie and W. Wolfram, editors, <i>Cambridge Handbook ofSo-ciolinguistics. </i>Cambridge University Press. M. Joshi, D. Das, K. Gimpel, and N. A. Smith. 2010. Movie reviews and revenues: An experiment in text regression. In <i>Proceedings ofNAACL-HLT. </i>H. Kurath.   1949.  <i>A Word Geography ofthe Eastern</i></p><p><i>United States. </i>University of Michigan Press. H. Kwak, C. Lee, H. Park, and S. Moon. 2010. What is Twitter, a social network or a news media? In <i>Pro­ceedings ofWWW.</i></p><doubt alpha="60.0" length="50" tooSmall="False" monospace="0.0">W. Labov, S. Ash, and C. Boberg. 2006.The Atlas of</doubt><p><i>North American English: Phonetics, Phonology, and Sound Change. </i>Walter de Gruyter. W. Labov. 1966. <i>The Social Stratification of English in</i></p><p><i>New York City. </i>Center for Applied Linguistics. Q. Mei, C. Liu, H. Su, and C. X Zhai. 2006. A proba­bilistic approach to spatiotemporal theme pattern min­ing on weblogs. In <i>Proceedings ofWWW, </i>page 542.</p><p>Q. Mei, X. Ling, M. Wondra, H. Su, and C. X. Zhai.</p><p>2007. Topic sentiment mixture: modeling facets and opinions in weblogs. In <i>Proceedings ofWWW. </i>T. P. Minka. 2003. Estimating a Dirichlet distribution. Technical report, Massachusetts Institute of Technol­ogy.</p><p>J. Nerbonne. 2009. Data-driven dialectology. <i>Language and Linguistics Compass, </i>3(1).</p><p>B. O'Connor, M. Krieger, and D. Ahn. 2010. TweetMo-tif: Exploratory search and topic summarization for twitter. In <i>Proceedings ofICWSM.</i></p><p>J. C. Paolillo. 2002. <i>Analyzing Linguistic Variation: Sta­tistical Models and Methods. </i>CSLI Publications.</p><p>M. Paul and R. Girju. 2010. A two-dimensional topic-aspect model for discovering multi-faceted topics. In <i>Proceedings ofAAAI.</i></p><p>W. D. Penny. 2001. Variational Bayes for d-dimensional Gaussian mixture models. Technical report, Univer­sity College London.</p><p>D. Sankoff, S. A. Tagliamonte, and E. Smith. 2005.</p><p>Goldvarb X: A variable rule application for Macintosh and Windows. Technical report, Department of Lin­guistics, University of Toronto.</p><p>R. W. Sinnott. 1984. Virtues of the Haversine. <i>Sky and Telescope, </i>68(2).</p><p>B. Szmrecsanyi. 2010. Geography is overrated. In S. Hansen, C. Schwarz, P. Stoeckle, and T. Streck, ed­itors, <i>Dialectological and Folk Dialectological Con­cepts ofSpace. </i>Walter de Gruyter.</p><p>S. A. Tagliamonte and D. Denis. 2008. Linguistic ruin? LOL! Instant messanging and teen language. <i>Ameri­can Speech, </i>83.</p><p>S. A. Tagliamonte. 2006. <i>Analysing Sociolinguistic Vari­ation. </i>Cambridge University Press.</p><p>M. J. Wainwright and M. I. Jordan. 2008. <i>Graphical Models, Exponential Families, and Variational Infer­ence. </i>Now Publishers.</p><p>E. P. Xing. 2005. On topic evolution. Technical Report 05-115, Center for Automated Learning and Discov­ery, Carnegie Mellon University.</p></references></body></article>