---
title: "Towards Using Word Embedding Vector Space for Better Cohort"
description: "The paper uses word embeddings to compare how self-reference, emotions and personal values are associated across Reddit mental health…"
canonical: "https://research.elamur.ai/free/en/papers/bahgat-2020-word-embedding-vector-space-better/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bahgat-2020-word-embedding-vector-space-better/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Towards Using Word Embedding Vector Space for Better Cohort Analysis

# Towards Using Word Embedding Vector Space for Better Cohort Analysis

Paper · 2020 · Mohamed Bahgat, Steve R. Wilson and Walid Magdy

**Authors:** [Mohamed Bahgat](https://md.research.elamur.ai/free/en/authors/mohamed-bahgat/), Steve R. Wilson and [Walid Magdy](https://md.research.elamur.ai/free/en/authors/walid-magdy/) · **Year:** 2020 · **Venue:** Proceedings of the International AAAI Conference on Web and Social Media · **Licence:** No open licence stated (free-to-read copy; rights reserved) — text kept private

Proceedings of the International AAAI Conference on Web and Social Media

- [PDF](https://ojs.aaai.org/index.php/ICWSM/article/download/7358/7212)
- [DOI 10.1609/icwsm.v14i1.7358](https://doi.org/10.1609/icwsm.v14i1.7358)

## Summary

A word count can show how often people in a Reddit community refer to themselves or mention death. It gives a less direct answer to a different question. Which ideas are most closely associated with the language people use to talk about themselves, and do those associations differ across communities? Bahgat, Wilson and Magdy study this question by learning a separate vocabulary map from the submissions in each subreddit. In these maps, words used in similar contexts tend to have similar numerical representations, known as [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/).

The authors use the Linguistic Inquiry and Word Count lexicon and a lexicon of personal values to give the maps a common set of landmarks. Each landmark is the average of the vectors for the words in a category, such as first-person singular pronouns, sadness or autonomy. Within each subreddit, the authors measure how far apart the landmarks are and rank the neighbors of an anchor category, such as first-person singular pronouns. They then compare that ordering with the one learned from /r/IAmA, a general-interest forum whose submissions cover both personal and factual topics.

In /r/SuicideWatch, the death category gained 30 places among the neighbors of first-person singular pronouns relative to its position in /r/IAmA. Its cosine distance from the singular-pronoun category in /r/SuicideWatch was 0.309. In /r/depression, sadness and negative emotion were closer to first-person singular pronouns than to first-person plural pronouns. The sadness distances in that community were 0.338 from the singular category and 0.524 from the plural category. Those comparisons address different aspects of the method. The former tracks a change in rank across communities, while the latter compares distances from different anchors inside the same community.

The paper shows how an analysis of relationships between word categories can add detail to a study of community language. It also illustrates why the results need to be read at the level of the submissions. A category can rise because the topic of a forum brings its vocabulary into similar contexts, and a label such as “animals” can cover figurative descriptions of people as well as references to pets. The reported associations describe the language of the forums. The study draws its groups from subreddit membership as expressed through posting, and its measurements concern categories of words across a corpus.

## Deep dive: Towards Using Word Embedding Vector Space for Better Cohort Analysis

The paper uses word embeddings to compare how self-reference, emotions and personal values are associated across Reddit mental health communities. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### From counting words to comparing the contexts in which they appear

The paper begins from a familiar situation in social-media research. People gather around a topic and produce enough text for researchers to study patterns in what they write. Reddit organizes these discussions in forums called subreddits. In the authors’ account, the option to post without publicly identifying oneself makes Reddit a setting in which people may discuss experiences they would be reluctant to share elsewhere. The authors take submissions to a forum as the text of a cohort, a group defined for this analysis by its participation in that forum.

A lexicon gives a researcher a way to organize the words in that text. A category can collect terms associated with sadness, for instance, or forms that speakers use to refer to themselves. Counting matches gives a measure of how frequently writers draw on each category. The paper asks what happens when the relationship between categories becomes the object of analysis. If forms of self-reference and words associated with death both occur frequently in a corpus, their frequencies alone leave open how the two sets of words are used. The authors want a way to describe the relative positions of such categories even when the evidence for a relationship is spread across different words and passages.

Counting co-occurrences would address part of that problem. A researcher could look for instances where a word from each category appears in the same span of text. The paper proposes learning from the surrounding vocabulary more broadly. A word that belongs to neither category can still help place their members in the same region of a vocabulary map if it occurs in similar contexts around them. This is the underlying idea of [distributional semantics](https://md.research.elamur.ai/free/en/concepts/distributional-semantics/).

The paper illustrates the principle with words for kinds of things, including colors and cities, which can form recognizable groups in an embedding space. It also notes that embeddings can represent more specific relations, such as the correspondence between countries and capitals. The present study uses a simpler kind of measurement. It asks how far apart groups of words sit within each community’s space. A short distance can point to a connection worth examining in the original writing. The numerical distance itself leaves the nature of that connection open.

#### Why the paper starts with pronouns

The authors draw on earlier research about self-reference and mental health to choose relationships worth examining. As they describe it, work on students found more frequent use of singular first-person pronouns among students experiencing depression and students with a history of depression. The pronouns matter to this line of research because they supply a relatively direct linguistic way of distinguishing talk about oneself from talk about a group or other people. The studies cited by the authors looked at how frequently these forms occurred. Their findings give the paper a reason to ask where the corresponding category sits in relation to other categories.

The paper also discusses a study of poets. In the account given by the authors, poets who died by suicide used more singular self-reference and less inclusive plural self-reference than the comparison group. Negative emotional vocabulary was common in both groups. That example helps explain the paper’s interest in joining an emotional category to an anchor. The prevalence of negative language in a body of writing can tell a different story from the relationship of that language to words for oneself or others.

Research on autobiographical recall supplied another observation. In the study reported in the paper, participants with depression referred to themselves in the singular more often, used more words associated with the present tense, and used more words in total when describing negative memories than when describing positive memories. Here the comparison concerns kinds of writing produced under different conditions. The paper uses observations like these to motivate examining which other categories are associated with singular self-reference in the writing produced by an entire forum.

#### What earlier social-media studies measured

The move to social media preserved some of the earlier interest in word choice and made other kinds of evidence available. The paper describes work following Reddit users who initially posted in mental health forums and subsequently posted in /r/SuicideWatch. The researchers examined grammatical categories, readability and posting behavior alongside pronouns. The paper reports that the users’ language featured more verbs and adverbs, fewer nouns and entities, and more singular self-reference alongside less use of several other pronoun forms. The approach followed a change in where people posted. Bahgat and colleagues form their groups from the submissions in each forum and ask what relationships characterize the resulting corpora.

The paper also describes a Twitter study reporting differences in the use of psycholinguistic word categories between users with and without mental health diagnoses. That study helps establish why a lexicon organized around psychological and linguistic categories was a plausible resource for the Reddit analysis. The resource supplied a stable vocabulary for discussing patterns across groups. The new method uses its category labels to select words whose representations have already been learned from the community’s own text. The earlier Twitter study was [Quantifying Mental Health Signals in Twitter](https://md.research.elamur.ai/free/en/papers/coppersmith-2014-quantifying-mental-health-signals-twitter/).

The authors’ review also gives a reason to be selective about language features. They cite work in which sentiment and emotional content were unhelpful for identifying suicide-related communication on Twitter. A category can matter to the subject of a corpus and still fail to distinguish the texts of interest in a particular application. This is part of the motivation for examining which concepts are related to each other, and for asking whether those relationships look unusual beside a comparison corpus. The paper’s measurements belong to the study of affective language, including [sentiment and emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/).

Other studies in the review considered how people used a platform and interacted with others. The paper describes interviews in which people with and without depression reported different uses of Twitter, with emotional interaction prominent in the accounts of participants with depression. It also cites Facebook research in which greater social isolation helped predict postpartum depression. These examples serve a different role from the word-count studies. They illustrate that the language in a single post is one source of evidence among several. The paper chooses to examine the aggregate language within a forum, leaving network behavior and interviews outside its measurement.

#### The expectations the authors carry into the study

The authors formulate an expectation about text related to suicidal ideation. They expect the words in a singular-pronoun category to sit closer to words associated with death and negative emotion. The proposal takes the earlier observations about self-reference and emotional vocabulary and turns them into a question about proximity in a community’s embedding space. Evidence about the death category and evidence about the broader negative-emotion category therefore bear on distinct parts of the expectation.

The expectation about depression is framed in terms of pronoun categories themselves. The authors expect first-person singular pronouns to be farther from other pronouns in text related to depression. The motivation is the possibility that language about oneself follows different patterns from language about other people or groups. The paper also explores this idea indirectly by comparing the neighbors of singular and plural first-person pronouns. That comparison can describe what each form tends to be associated with and gives a different kind of evidence from a direct measurement of the distance between the pronoun categories.

These expectations illustrate what it means to move from counts to relationships. A difference in frequency is a statement about how frequently a category is used. A difference in position concerns the contexts learned for its words and the positions of the other categories around it. The study builds its method around the second question while drawing much of its motivation from studies of the first.

### The method, step by step

#### Give every subreddit its own vocabulary map

The authors begin by collecting submissions from the selected Reddit forums. A submission is the post that starts a thread. Comments are left out because they can be reactions to someone else’s story or question. A submission can itself still take many forms. The design gives priority to the text a poster chooses to put before the community and uses posting in a particular subreddit as the operational definition of joining the cohort for the analysis.

The submissions for each subreddit become a separate training corpus. This separation lets the same word acquire different representations according to the contexts in which it occurs in different forums. A representation learned from pooled submissions would blend those contexts. With separate training, the authors can ask whether the categories built from the same lexicon have different relationships in different corpora. This also means that each set of coordinates belongs to its own space.

The distinction matters when reading a statement such as “death moved closer.” The authors compute a distance between the death and self-reference landmarks entirely within one space. They can then compare that distance with the distance for the same pair of categories calculated entirely in a second space. Each calculation uses internally comparable vectors. The category names give the measurements their common reference points across spaces.

From subreddit submissions to changes in category rank The steps in order.

#### Learn word vectors from surrounding words

The authors use fastText to train skip-gram embeddings. Skip-gram learns from the task of predicting surrounding words given a word in the corpus. The resulting vector is an ordered set of numerical coordinates. Words that help predict similar surrounding language can acquire vectors with similar directions, giving the researchers a numerical way to describe relationships inferred from usage. The paper sets the size of these vectors to 100 coordinates and uses that setting for each subreddit.

At this stage, the training text provides the learning signal. The categories such as sadness, self-reference and autonomy enter after the word vectors have been learned. A word can influence the representation of a lexicon member through its place in the surrounding text even if that word belongs to neither of the categories the authors later compare. This is how information from the wider vocabulary can influence the placement of a category.

Every vector in a single subreddit space is the result of training on that forum’s submissions. A coordinate in one space has no shared interpretation with the coordinate in the same position in another space by virtue of its position alone. The authors’ approach needs comparable labels for categories and comparable calculations within the spaces. It can compare the relationships without giving the coordinates common definitions across forums.

#### Use lexicons to select groups of words

The first resource is Linguistic Inquiry and Word Count, or LIWC. The authors describe it as an expert-developed resource that ordinarily supports analysis by counting words or calculating the share of words assigned to a category. It includes categories for references to oneself and others, as well as emotion and themes such as health, risk and death. Its categories can be grouped at different levels. Sadness, anger and anxiety, for instance, fall within the broader grouping for negative emotion.

The second resource, the Values Lexicon, is organized around personal values. The paper describes its construction as combining automated work with human involvement, with the resulting categories arranged hierarchically. Its inclusion broadens the set of questions the authors can ask about the submissions. LIWC provides categories relevant to affect and psycholinguistic patterns. The Values Lexicon adds categories such as autonomy, family and wealth that help the authors examine language related to priorities and relationships.

The paper writes a category label with its lexicon name first, as in `LIWC:i` for first-person singular pronouns or `Values:Autonomy` for autonomy. The prefix matters because the analysis combines categories from both resources. A LIWC category is still a group defined by that lexicon when its nearest neighbor comes from the Values Lexicon. The category names also distinguish a group of words from the single word that may resemble its label. `LIWC:i` refers to the category of singular first-person forms, and `LIWC:death` represents the category for death-related vocabulary.

The authors refer to these groups as clusters in the embedding space. Each group is defined by membership in a lexicon category. The researchers look up the vectors for the members and measure where the resulting group sits. Its position can vary with training, while its interpretive label comes from the lexicon. The grouping can also put a broad category beside a narrower category drawn from the same part of the hierarchy, an important consideration when reading ranked neighbors.

#### Reduce each category to a centroid

The authors summarize a category by its centroid, the average of the vectors associated with its words. This average is a vector of the same length as the individual word vectors. For each coordinate, it takes the mean of the values at that coordinate across the words being averaged. A centroid gives the analysis a single point for a category and makes it possible to compare categories whose word lists have different lengths.

```
Xᵣ(C) = (∑_{c ∈ C} Eᵣ(c)) / |C|
```

`r` denotes the subreddit whose submissions supplied the training corpus. `C` is the category represented as a set of words, and `c` is a word in that set. `Eᵣ(c)` is the vector for word `c` in the embeddings learned for `r`. The summation sign `∑`, with `c ∈ C` underneath in the notation, means to add the vector for every member of the set. `|C|` is the number of members in the category as expressed in the equation. The slash divides the sum by that count, producing the average vector `Xᵣ(C)`.

The written equation treats category members equally. A frequent member and an infrequent member contribute one vector each to the arithmetic mean when both have a vector in the calculation. Their observed contexts can still differ in how much evidence training has for each representation. The paper describes selecting the corresponding vectors, and the calculation applies to words that can be represented in the subreddit’s space. The report gives no detailed rule for handling a category member without a usable vector, so its formula gives the averaging procedure more clearly than it gives a coverage policy.

The average is a summary of position. It leaves out how widely the members are scattered and whether a category has several distinct groups of words. Two categories with similar centroids can still contain members used in different ways. For reading the results, it helps to treat the centroid as a landmark around which the individual words may be distributed unevenly.

#### Measure the distance between landmarks

The authors use cosine distance to compare the centroid vectors of categories. The calculation concerns their directions. If those directions are more similar, the distance is smaller. That makes it possible to compare the category landmarks without making the overall lengths of their vectors the substance of the comparison. The paper interprets closer categories as more closely related in the language of the subreddit, an application of [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/).

```
d(r, C₁, C₂) = cos dist(Xᵣ(C₁), Xᵣ(C₂))
```

`d` denotes the distance for a category pair in subreddit `r`. `C₁` and `C₂` are the categories being compared, with the subscripts distinguishing the members of the pair. `Xᵣ(C₁)` and `Xᵣ(C₂)` are their centroids in that subreddit’s space. `cos dist` is the cosine-distance operation applied to those centroids. A smaller value indicates closer centroid directions for the categories in that space.

The paper also writes a direct comparison of the distances for the same pair across subreddits. This quantity describes a change on the distance scale. It can be calculated from the measurements within each forum.

```
Δ(r₁, r₂, C₁, C₂) = d(r₁, C₁, C₂) − d(r₂, C₁, C₂)
```

`Δ` names the difference between the distances. `r₁` and `r₂` denote the two subreddit corpora in the chosen order. `C₁` and `C₂` are the same category pair in both calculations. The minus sign subtracts the distance in `r₂` from the distance in `r₁`. A positive value means the pair is closer in `r₂`, since its distance there is smaller. The order of the subreddits determines the sign.

#### Rank neighbors and compare them with a general-interest forum

After calculating the distances, the authors can choose a category as an anchor and sort the other categories from nearest to farthest. A category that sits near the anchor occupies a high position. Changing the anchor changes the question. A ranking around singular first-person pronouns shows which categories sit closest to the language of individual self-reference. A ranking around the plural first person shows which categories sit closest to the language of a group that includes the speaker.

Next the authors compare the ordering for a mental health forum with the ordering for /r/IAmA. A positive rank gain means the category stands nearer the top of the list in the target forum. A negative gain means it stands farther down. In the paper’s results, the gain is typically read together with the distance in the target space. The distance tells the reader about the separation of the centroids there. The gain tells the reader how the category’s place among the anchor’s neighbors differs across the two forums.

Distance and rank can change for different reasons. A category can gain positions if its own distance from the anchor becomes smaller. It can also gain positions if other categories become more distant. The units of rank gain are places in an ordering, and the size of a gain gives no direct numerical measure of the change in cosine distance. This is especially important when the baseline and target are independently trained spaces with different vocabularies and text distributions.

The authors chose /r/IAmA because its submissions cover a range of topics and include both emotional and factual material, including discussion of mental health. They describe this mixture as more suitable for their comparison than a news-oriented forum with a more consistently factual style and shorter sentences. Their rationale is that a general-interest reference can lower the prominence of patterns common across social media. Their examples include categories for internet language and informal expression. The comparison is meant to reveal which relationships become relatively prominent in the target forum after that common background is taken into account.

### Experiments and results

#### The corpus and the comparison design

The submissions were acquired from Pushshift and cover January 2011 to August 2019. The authors report the number of submissions, total words and vocabulary size by subreddit. The total measures how much running text was available, while the vocabulary size describes how many distinct items are represented in the reported vocabulary. The collection supplied the training material for the individual subreddit spaces. The source was [The Pushshift Reddit Dataset](https://md.research.elamur.ai/free/en/papers/baumgartner-2020-pushshift-reddit-dataset/).

The largest mental health corpus reported in the paper is /r/depression. It has 766,971 submissions, 125,883,951 words and a vocabulary of 66,661. The /r/SuicideWatch corpus contains 296,647 submissions, 49,142,594 words and a vocabulary of 44,552. For /r/mentalhealth, the corresponding counts are 106,750 submissions, 16,177,175 words and a vocabulary of 31,853. The /r/BPD corpus has 89,471 submissions, 13,686,784 words and a vocabulary of 26,886.

The remaining mental health forums extend the study to smaller corpora. The paper reports 74,802 submissions and 9,674,364 words for /r/socialanexity, with a vocabulary of 22,041. For /r/ptsd it reports 21,545 submissions, 4,194,729 words and a vocabulary of 17,042. The forum identified as /r/rapecouncling contributes 14,907 submissions, 4,401,250 words and a vocabulary of 14,488. The forum names here follow the names reported in the paper.

The /r/bipolar2 corpus contributes 10,519 submissions, 1,424,287 words and a vocabulary of 9,436. The /r/StopSelfHarm corpus has 7,965 submissions, 1,059,160 words and a vocabulary of 7,011. The control corpus, /r/IAmA, contains 402,415 submissions and 22,208,754 words, with a vocabulary of 60,455. The total number of submissions and the total number of words thus describe different aspects of the available material. In particular, /r/IAmA has more submissions than /r/SuicideWatch, while /r/SuicideWatch supplies more running words.

The questions are descriptive and the measurements are made on the trained spaces for these corpora. The paper reports distances and changes in neighbor rank. It gives no held-out prediction split or task-level accuracy metric. Its main baseline is the ranking learned from /r/IAmA, which is compared with rankings learned from the mental health forums. Some results also compare different anchors in the same mental health corpus. Counting category matches and counting co-occurrences motivate the design as alternative ways to study the language, and the authors discuss what they would measure without running them as numerical baselines against the embeddings.

#### What moves toward self-reference in /r/SuicideWatch

The paper gives its clearest cross-forum result for the relationship of first-person singular pronouns to death. In the original /r/SuicideWatch space, the `LIWC:i` centroid has cosine distance 0.309 from `LIWC:death`. Its distance from the broader `LIWC:negemo` category is 0.327. Both readings come from measurements in the trained space. The corresponding figure projects the category centroids down for display and uses shading to indicate proximity to singular self-reference. The distances stated in its caption are the measurements to use for quantitative interpretation.

The relative-rank result gives the relationship a reference point. Against /r/IAmA, death gains 30 places among the neighbors of singular self-reference in /r/SuicideWatch. It has the fourth-largest positive change in the reported ordering. The chart shows how that result sits alongside other gains from the same comparison. The authors’ hypothesis makes death the focal category here, and the largest gain in the ranking belongs to the category for animals.

Rank gains near singular self-reference in /r/SuicideWatch relative to /r/IAmA Death rises among the neighbors of singular self-reference alongside categories with several different meanings.

**The numbers**

| System or setting | Neighbor rank gain in places |
| --- | --- |
| Values:Animals (this paper) | 41 |
| LIWC:focusfuture | 36 |
| LIWC:number | 34 |
| LIWC:death | 30 |
| LIWC:nonflu | 27 |
| LIWC:negate | 27 |
| Values:Friends | 24 |
| Values:Cog. | 24 |
| LIWC:they | 23 |
| LIWC:relig | 22 |

Reading the rank gain alongside the distances reveals an important feature of the comparison. The table in the paper gives the animal category a cosine distance of 0.44 from singular self-reference in /r/SuicideWatch, while death is listed there at 0.31. The figure caption gives the finer precision of 0.309 for the death distance. Animals make the larger upward move in the ordering, and death is closer to the anchor in the target space. The ranking by gain is ordered by change from the comparison forum, so it answers a different question from the ranking by distance alone.

The other gains include future-focused language, numbers and negation. Their presence shows the breadth of categories that can move up in a comparison around a single anchor. A rank-gain list generated across the combined lexicons can bring an expected topic into view alongside items whose interpretation requires a closer look at the posts. The results give each of those items a position relative to the comparison forum, without attaching a particular psychological account to each one.

The authors Illustrate the death association with posts in which a writer invokes a grave in relation to themselves, including a reference to the burial place of a pet. The point of the examples is that a shared topic can appear in varied personal contexts. They show what a connection between the lexicon categories can look like in writing. The rank is based on centroid distances across the corpus, so an individual post illustrates a possible usage pattern rather than establishing the source of the gain.

The paper also compares rankings around first-person plural pronouns. When plural self-reference supplies the anchor, death gains 25 places in /r/SuicideWatch relative to /r/IAmA, the 23rd-largest gain for that anchor. This shows that death also rises in the plural-centered comparison. Its ascent is more prominent in the reported ordering of gains around singular self-reference. The relative ordering and the numeric gain are meaningful within their separate anchor comparisons.

The evidence for the first hypothesis is clearest for death. The result pairs a small distance within /r/SuicideWatch with a substantial upward move relative to /r/IAmA and an additional comparison around the plural anchor. For negative emotion, the paper reports its distance from singular self-reference inside /r/SuicideWatch. The detailed cross-forum gains shown for the death category have no matching result for negative emotion in that displayed ranking. The two parts of the hypothesis therefore receive different levels of support from the reported comparisons.

#### Sadness and negative emotion in /r/depression

For /r/depression, the paper compares the relationships of sadness and broader negative emotion to singular and plural first-person pronouns. These are within-space comparisons. Each pair of distances comes from the same corpus and the same set of trained word vectors, so the contrast specifically concerns which anchor is closer to a given emotion category. The chart includes each of the combinations reported in the paper.

Cosine distances from first-person pronouns to emotion categories in /r/depression Singular self-reference is closer than plural self-reference to both emotion categories.

**The numbers**

| System or setting | Cosine distance |
| --- | --- |
| Sadness from singular self-reference (this paper) | 0.338 |
| Sadness from plural self-reference | 0.524 |
| Negative emotion from singular self-reference | 0.358 |
| Negative emotion from plural self-reference | 0.563 |

The singular anchor gives the smaller distance for sadness and for negative emotion. The two comparisons establish a consistent ordering for the selected emotion categories. Because sadness is part of the wider negative-emotion grouping in LIWC, the results can also be read as showing a similar pattern at a narrower and a broader level of that lexicon. The categories provide related views of negative affect, with the broader category covering vocabulary beyond sadness alone.

The authors also report the rank changes from /r/IAmA for these pairings. With singular self-reference as the anchor, the sadness category has a gain of 7. From the plural anchor its gain is -2. For negative emotion, the gain is -1 from the singular anchor and -5 from the plural anchor. Sadness thus moves up around singular self-reference in the comparison to the control and moves down around plural self-reference. Negative emotion moves down around each anchor, with the smaller decline around the singular one.

The negative-emotion result shows why the control comparison adds information to the distance result. In the /r/depression space, negative emotion lies closer to singular than to plural self-reference. Its rank change is nevertheless negative even for the singular anchor. A question about which pronoun category is closer in /r/depression yields one comparison. A question about whether the position of negative emotion rises relative to its place among the neighbors in /r/IAmA yields another. Both results can hold because the reference point changes.

The authors also report a rise of seven places for autonomy among the neighbors of singular self-reference. Their account pairs that shift with declines among categories that they associate with social or outward-facing aspects of life. The category for friends falls eleven places, and the family category falls 20 places. The category for second-person reference falls one place. Among the Values Lexicon categories, self-confidence falls four places, while relationships, optimism and marriage each fall five places. These shifts describe the vocabulary around the singular anchor in relation to the control forum.

The paper discusses the pattern in connection with isolation and independence. The data support the more specific statement that the ordering around self-reference gives autonomy greater relative prominence and several social categories less. The distances between singular first-person pronouns and the other pronoun categories would be a more direct test of the hypothesis about pronoun separation. The published emotion comparisons show what sits closer to each pronoun anchor and are valuable on those terms.

#### Feeling, bodily language and death in /r/BPD

The paper offers another view of the category geometry for /r/BPD. The figure for that forum centers its shading on `LIWC:feel`, the category for feeling, so its reference point differs from the singular-pronoun anchor in the /r/SuicideWatch figure. In the original /r/BPD space, the nearest neighbor of feeling is `LIWC:body`, at cosine distance 0.053. Death is the 30th-closest neighbor of feeling, at distance 0.252.

That example helps distinguish a figure’s anchor from the wider prose interpretation. The text describes feeling and bodily language as close to self-reference in /r/BPD. The caption supplies a specific measure of closeness between feeling and the body category. The pairwise numbers in the caption can support a discussion of how the neighbors of feeling are arranged, while the observations about self-reference concern a separate relationship.

An example discussed by the authors involves a writer describing guilt about their own feelings. They also discuss posts that mention suicidal thoughts. Both uses can occur in the same forum. The ranking around feeling describes which conceptual groups are nearer in the aggregate representation, even when individual submissions contain experiences and language associated with more distant categories. The distinction makes the figure an example of how a category can be present in a community’s posts while occupying a lower position around a particular anchor.

#### Why the animal category calls for reading the posts

The researchers report that the animal category was associated with singular self-reference at a high relative rank in much of the mental health material. They note that the control set also contained many references in that category. Its prominence in the rank comparisons prompted them to look at ways in which such terms appeared in individual submissions.

Some writers used words for creatures to describe themselves or other people. Other writers referred to pets when telling a personal story, including accounts of comfort from an animal or sadness about leaving pets behind. These examples describe different uses of a shared lexical category. A high rank for the animal category is compatible with figurative description, companionship, grief and other experiences wherever animal-related vocabulary enters similar contexts.

The authors connect the examples about pets with earlier research on contact with animals and depression. The connection is offered as a possible reading of some of the posts. The analysis itself measures a vocabulary association and gives examples of how it can arise. Its category-level average combines the uses of the words, giving the reader a reason to consult the original language before assigning a common explanation to the association.

### What the ablations show

The paper reports no formal ablation study and instead examines repeat training on a small corpus, changes of pronoun anchor, comparisons with a control corpus and examples of the language behind a category.

#### Stability when training again on a small forum

The authors were concerned that some subreddits supplied relatively little training material. To check what that meant for distances, they trained four separate sets of embeddings for /r/StopSelfHarm, calculated the category centroids and measured distances between pairs of centroids for each run. They report variance on the order of `1e −5` across the runs. In the authors’ interpretation, the distances were relatively stable for the amount of text available in that corpus.

The observable here is the distance between category averages. It is a relevant quantity to check because the analysis ultimately depends on those distances. A check on individual vectors would answer a different question, since separately learned coordinates can vary even when pairwise relationships remain similar. The reported comparison points to repeatability of the inter-category distances under the training conditions used for that forum.

The small-corpus result leaves open what happens when the amount or composition of the text changes. The runs use the same subreddit material, so the comparison concerns variability across training runs on that material. It gives no measured curve for different amounts of data and no reported breakdown of instability by category. Rank stability also remains a separate consideration. If neighboring categories have very similar distances, small changes can sometimes change their order even when distances are broadly stable.

#### What changing the pronoun anchor reveals

The singular-versus-plural comparison provides a way to examine the specificity of an association within the paper’s framework. In /r/SuicideWatch, the death category gains rank around both anchors relative to /r/IAmA. Its gain stands much higher in the reported ordering of gains around singular self-reference. A result confined to the singular comparison would tell the reader where death lies in that ordering. Repeating the operation around the plural anchor shows that the change extends beyond the singular category, with different prominence in the two rankings.

The /r/depression results illustrate a complementary use of the comparison. The authors hold the trained space fixed and change which pronoun centroid they use to measure the distance. Sadness and negative emotion are nearer the singular anchor. Adding the control comparison shows that only sadness among those singular-centered examples rises in rank against /r/IAmA. This is a comparison of outputs produced by two anchors under the same corpus conditions. It says how the association depends on the anchor selected for interpretation.

The relatedness of the emotion categories matters here. The narrow and broad categories trace portions of the same semantic territory, so agreement between them shows the pattern survives a change in category scope. It does not count as a replication on independent categories of evidence. The analysis gives a picture of how the pronoun association is expressed at different levels of a lexicon hierarchy.

#### What the control comparison and the text examples contribute

Using the control ranking changes which results are foregrounded. Categories with a small local distance can be commonplace neighbors of an anchor across different social-media forums. A category with a large rank gain has changed its position beside the control, even if other words lie closer to the anchor in the target corpus. The distinction is visible in the /r/SuicideWatch comparison between the animal and death categories. The order depends on whether the researcher sorts by local distance or by gain.

The authors report that comparing to /r/IAmA helped suppress generally shared categories, including some informal language. They present this as a reason to use a control corpus when looking for community-specific relationships. The analysis compares an observed set of rankings with a particular reference. The paper supplies no scored criterion for how effectively the control filters generic categories or repeated comparison against another selected baseline forum.

The reading of animal references adds a qualitative check with a different purpose. It asks which meanings might contribute to the position of a lexical category. Finding several uses helps explain why the label alone gives an incomplete account of the high gain. The selected examples identify possible interpretations of the association. They leave its composition and the relative prevalence of those interpretations unmeasured.

### Limitations

#### Scope and qualifications in the authors’ account

The authors frame the method as a way to analyze social-media text by cohort. They use each subreddit as a stand-in for one cohort, and they design the corpus around submissions because those are more likely, in their account, to concern the poster. The choice puts the focus on posts that begin a discussion. It leaves out language in replies, including responses through which people may express support or share their own experiences.

The paper recognizes that its subreddit corpora vary widely in size. The repeated training on /r/StopSelfHarm is its response to concern about the smaller corpora. Its conclusion about stability is limited to the measured distances at the corpus size used in that check. The other forums are represented by their own training material, with different quantities of words and reported vocabulary sizes. The authors do not claim that the repeatability measurement covers all those conditions.

The authors also acknowledge in their conclusion that some general relationships appear in the results. They say comparison with a control helps suppress some of them. Their description of /r/IAmA as neutral rests on the breadth and mixture of its content. By the authors’ own description, the forum includes both mental health discussion and other material. The control is therefore an operational choice about the kind of discourse to use as a reference.

The conclusion suggests that the method could help people choose categories for classification or filter content in future work. Those applications are prospective. The experiments report the results of a corpus analysis, and they provide no measurement of classification accuracy. The demonstrated use is to locate and interpret language associations. That scope sets the terms on which to assess the results.

#### What follows from the design

The labels identify communities first. A submission can describe an experience, ask about someone else or use a topic’s language for another purpose. A corpus can also contain contributions by the same writer in different forums. The paper defines its analysis at the subreddit level and supplies no individual-level verification of diagnoses or estimate of how much authorship overlaps between groups. As a result, the distance between categories characterizes the collected submissions, and extrapolation to the mental states of individual contributors would require different evidence.

The same point applies to differences between communities. A forum’s topic, conventions for writing a submission and mix of contributors can all shape the contexts learned for its words. The general-interest control changes several of these conditions at once. A relative rank can be distinctive to the comparison and still reflect differences in subject matter or genre. The long collection period also gives the analysis a pooled view of language. A single space per subreddit cannot reveal by itself when an association became stronger or whether it persisted evenly across the period.

Submissions form the unit of data collection, while words and category centroids are the units in the geometry. This creates a distinction between a pattern visible in the corpus and a pattern shared by its authors. A large set of similar submissions can influence learned contexts, whether many writers contributed those submissions or a smaller group posted repeatedly. The study does not report distances computed from groups balanced by author. Its measurements are best read as observations about the language that entered training.

A further limit comes from reducing a category to its average. Membership in the lexicon gives a word the same role in the calculation wherever its vector is used. The corpus can supply evidence for figurative and literal senses, as the animal examples show. Their effects are combined in the word representation and then combined again in the category centroid. The centroid has no separate output for each use. A category with a close centroid may therefore contain terms that contribute to the association in quite different ways.

Lexicon coverage also affects how easy it is to compare category averages across spaces. The paper reports different vocabulary sizes and describes looking up words for each category. It gives no category-by-category accounting of which members occur in each corpus or of how missing representations are treated. That leaves a reader unable to tell, for a specific comparison, how far the position reflects different uses of shared words and how far it could reflect differences in the words represented. The hierarchy introduces a separate issue. Categories such as sadness and negative emotion can overlap in the language they cover, so their proximity patterns should not be counted as wholly independent confirmation.

Ranks add their own uncertainty. The reported gain measures change in order across the two spaces. It can depend on the movement of other categories around the anchor, and its numerical size gives no direct information about the distance gap between adjacent items. The paper gives no uncertainty intervals for its highlighted gains or resampling analysis for the rankings. Its repeated-training result on distances is relevant to numerical consistency under the chosen setup, while evidence about the stability of individual rank gains would require observing the rankings across repetitions or samples.

#### Where the reported comparisons leave questions open

The first hypothesis concerns death and negative emotion. The reported rank gain for death near singular self-reference is concrete evidence about its prominence in /r/SuicideWatch relative to /r/IAmA. The negative-emotion distance is a local measurement in /r/SuicideWatch. A parallel reporting of the change for negative emotion against the control would make it possible to assess that part of the hypothesis on the same terms as death. The paper’s numerical evidence is more complete for the death relationship.

There is also a problem with one numerical sentence in the discussion of /r/SuicideWatch. It appears intended to compare the distance from death to singular self-reference with the distance from death to plural self-reference. The printed wording repeats the plural category where a pair of distinct categories would be needed for that comparison. The values in that sentence cannot be assigned confidently to the intended centroid pairs. The rank gains for the separate anchors and the death distance labeled in the figure provide clearer evidence for the comparison.

The second hypothesis directly concerns distance between singular first-person pronouns and other pronouns in writing related to depression. The detailed measurements in the results concern distances from singular and plural pronoun anchors to sadness and negative emotion. The rank changes for social categories, including second-person reference, make the discussion of isolation more concrete. A test of the proposed separation between pronoun categories would need to report those pronoun-pair distances and identify the reference against which separation is judged. The published results establish a particular pattern of emotional neighbors around the pronoun anchors.

Finally, the illustrative posts are evidence that certain uses occur, with no estimate of how often those uses explain a category’s rank. The distributions of use across contributors, senses and situations remain open. The strength of the paper’s method in this setting is its ability to point readers to relationships worth examining in the language of a forum. The evidence for the reasons behind an association is more limited than the evidence for its location in the reported ranking.

### What came after

No documented follow-up is available to trace how later studies used the method. The paper itself identifies a possible continuation in using the category relationships to guide the choice of features or the filtering of text for classification. That would extend the method from describing community language to evaluating whether those descriptions help with a separate task. The authors leave that question open.

## Cite

Cite as Mohamed Bahgat, Steve R. Wilson and Walid Magdy. 2020. Towards Using Word Embedding Vector Space for Better Cohort Analysis. Proceedings of the International AAAI Conference on Web and Social Media.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1609/icwsm.v14i1.7358](https://doi.org/10.1609/icwsm.v14i1.7358)

```bibtex
@inproceedings{bahgat2020using,
  title = {{Towards Using Word Embedding Vector Space for Better Cohort Analysis}},
  author = {Mohamed Bahgat, Steve R. Wilson and Walid Magdy},
  booktitle = {Proceedings of the International AAAI Conference on Web and Social Media},
  year = {2020},
  doi = {10.1609/icwsm.v14i1.7358},
  url = {https://doi.org/10.1609/icwsm.v14i1.7358}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
