| Literature DB >> 35602001 |
Roman Egger1, Joanne Yu2.
Abstract
The richness of social media data has opened a new avenue for social science research to gain insights into human behaviors and experiences. In particular, emerging data-driven approaches relying on topic models provide entirely new perspectives on interpreting social phenomena. However, the short, text-heavy, and unstructured nature of social media content often leads to methodological challenges in both data collection and analysis. In order to bridge the developing field of computational science and empirical social research, this study aims to evaluate the performance of four topic modeling techniques; namely latent Dirichlet allocation (LDA), non-negative matrix factorization (NMF), Top2Vec, and BERTopic. In view of the interplay between human relations and digital media, this research takes Twitter posts as the reference point and assesses the performance of different algorithms concerning their strengths and weaknesses in a social science context. Based on certain details during the analytical procedures and on quality issues, this research sheds light on the efficacy of using BERTopic and NMF to analyze Twitter data.Entities:
Keywords: BERTopic; LDA; NMF; Top2Vec; Twitter; covid travel; machine learning; topic model
Year: 2022 PMID: 35602001 PMCID: PMC9120935 DOI: 10.3389/fsoc.2022.886498
Source DB: PubMed Journal: Front Sociol ISSN: 2297-7775
Figure 1Visual inspection of LDA.
Figure 2Intuition of NMF. Source: Egger (2022b).
Figure 3BERTopic's interactive intertopic distance map.
Topics identified by LDA and NMF.
|
|
| |||
|---|---|---|---|---|
|
|
|
|
| |
| 1 | Government response | ban, travelgov, potus, dv2021, loveisnottourism, whcovidresponse, end, visa, please, vp | Government response | whcovidresponse, potus, loveisnottourism, cdcdirector, presssec, vp, cdctravel, cdcgov, liftthetravelban, cdctravel cdcdirector |
| 2 | Association for Molecular Pathology (AMP) / mask and virus | amp, travel, come, spread, mask, place, follow, stay, keep, virus | Association for Molecular Pathology (AMP) / desire to travel | covid, travel, people, amp, want, covid travel, time, travel covid, like, year |
| 3 | Rt value / India, UK, Europe | rt, travel, country, India, uk, covid, government, list, eu, news | Rt value | rt, covid, travel, https, covid19, traveler, rt ollysmithtravel, traveler, httpstco, ollysmithtravel |
| 4 | Travel restriction / England and Scotland | travel, covid, restriction, city, team, England, despite, event, expect, Scotland | Travel restriction | restriction, travel restriction, covid travel, covid19 travel, ease, covid restriction, travel, lift, covid19 restriction, restriction lift |
| 5 | Vaccination / border between Canada and the USA | vaccinate, covid19, international, traveler, travel, vaccination, Canada, border, US, fully | Travel ban / India and UK | ban, India, travel ban, travel India, uk, list, country, ban travel, red, variant |
| 6 | Quarantine and lockdown / Australia | traveler, day, quarantine, variant, allow, return, lockdown, Australia, break, two | General about travel / Canada | covid19, travel, covid19 travel, international, travel covid19, country, pandemic, international travel, vaccination, Canada |
| 7 | COVID-19 cases / USA | case, new, travel, health, state, tourism, public, number, close, include | Vaccination and quarantine | vaccinate, fully, fully vaccinate, vaccinate covid19, traveler, vaccinate traveler, traveler, quarantine, cdc, require |
| 8 | Flight / COVID-19 test | test, travel, need, positive, covid, flight, negative, air, take, airport | COVID-19 cases / New Zealand | case, new, covid case, covid19 case, new case, rise, Zealand, New Zealand, report, case covid19 |
| 9 | Death / Florida | covid, die, death, cause, florida, child, spike, shoot, traveler002, flu | COVID-19 test | test, covid test, negative, positive, test travel, test positive, PCR, covid19 test, day, result |
| 10 | China and USA | travel, covid, call, china, business, 2020, trump, usa, dr | Vaccination pass | vaccine, covid19 vaccine, covid vaccine, passport, vaccine passport, require, vaccine travel, dose, mandate, vaccination |
| 11 | Unspecific I | not, covid, vaccine, people, do, travel, get, make, still, would | ||
| 12 | Unspecific II | travel, may, covid, 2, please, 1, help, show, 3, pass | ||
| 13 | Unspecific III | covid19, travel, due, pandemic, world, today, first, update, coronavirus, safe | ||
| 14 | Unspecific IV | covid, be, go, travel, time, get, want, one, year, see | ||
Figure 4Example of a word cloud based on the term “cancel.”
Topics identified by BERTopic and Top2Vec for “flight.”
|
|
| |||
|---|---|---|---|---|
|
|
|
|
| |
| 1 | Airline industry | air travel, airline, air travel is, airlines, aviation, flights, the airline industry, the airline, airline industry, flight | Negative PCR / vaccination and quarantine | hours before, pre-departure, negative covid, all travelers, fully vaccinated, pcr, quarantine, days, requirement, mandatory |
| 2 | Flight routes | flights from, flights, direct flights, flights from india, canada eyes policy, canada eyes, india to canada, to canada, ban on direct, as india covid19 | White House Secretary Tests Positive / travel guide from governmental institution | secretary, simon, house, white, tested positive, travel guidelines, cdc, mps, travelers, to follow |
| 3 | (Unable) to return home / Australian | australians, travel ban, fly home, fly home from, who fly home, who fly, to australia, australians who fly, covid travel ban, travel ban | Negative PCR / fully vaccinated before departure / foreign travelers / Mexico | negative covid, fully vaccinated, foreign travelers, pre departure, hours before, required to, before you, to enter, pcr, mexico |
| 4 | COVID transmission through air | the air, aerosols, droplets, air, airborne, covid travels, through the air, virus travels, how covid travels, covid travels through | Negative PCR / fully vaccinated before departure / foreign travelers / the Netherlands and Canada | negative covid, departure, hours before, international travelers, fully vaccinated, biden, the united, requirement, netherlands, canadians |
| 5 | Airports Authority of India (AAI) / India | aai, airports, aai airports, airport, the airport, flights, aai is, airports are, from aai, air traffic | Follow travel guidelines on public transport (train / bus / flight) / seek help and more info | train, bus, while traveling, covid appropriate, more information, to follow, covid guidelines, mandatory, by air, please help |
| 6 | Airport news | news airport airtravel, airtravel covid19 covid19india, airport airtravel, airport airtravel covid19, travelers news airport, airtravel covid19, travel covid19, flight travel covid19, air travel associations, airports air | ||
Topics identified by BERTopic and Top2Vec for “travel bubble.”
|
|
| |||
|---|---|---|---|---|
|
|
|
|
| |
| 1 | Australia and New Zealand | travel bubble, travel bubble with, the travel bubble, australia travel bubble, zealandaustralia travel bubble, new zealandaustralia travel, zealand travel, zealand travel bubble, bubble with australia, after travel bubble | Australia and New Zealand / quarantine hotel | sydney, victoria, queensland, australia, hotel quarantine, nz, in hotel, quarantine free, lockdown, auckland |
| 2 | Singapore and Hong Kong | bubble, travel bubble, singapore, air travel bubble, travel bubble is, bubble is, singaporehong kong air, singaporehong kong, breaking singaporehong kong, as singapore battles | Australia and New Zealand / Singapore / Taiwan / vaccinated | zealand, quarantine free, singapore, hotel quarantine, 2 weeks, isolate, vaccinated travelers, lockdown, melbourne, Taiwan |
| 3 | Travel pass | travel pass, covid travel pass, eus covid travel, eus covid, the eus covid, covid travel, summer travel, travel passes, travel passes as, launch covid travel | Hong Kong and Singapore / Australia and New Zealand / green list / vaccinated / UK / Philippines | hong kong, singapore, zero covid, taiwan, green list, australia, vaccinated travelers, philippines, zealand, business travel |
| 4 | Nonessential travel / Canada and Mexico ferry / spread of COVID-19 | canada and mexico, on non-essential travel, nonessential travel at, nonessential travel, ferry crossings, crossings with canada, ferry crossings with, land and ferry, and ferry crossings, spread of covid19 | Quarantine free / Singapore / Australia and New Zealand / Taiwan / Hong Kong / Korea / Hawaii / Indonesia | quarantine free, singapore, hk, auckland, taiwan, korea, sydney, hawaii, indonesia, vaccinated travelers |
| 5 | Business travel | business travel, tourism, travel industry, the travel industry, tourism industry, and tourism, travel and tourism, and tourism industry, travel and, tourism industry the | Singapore / Hong Kong / Australia / Taiwan / fully vaccinated / green list | taiwan, singapore, hong kong, business travel, zealand, australia, fully vaccinated, portugal, green list, israel |
Hierarchical topic reduction of Top2Vec.
|
|
| |
|---|---|---|
| 1 | Diversity visa / Student life | byron, selectees fault, bay, mask, are increasing, student, the flu, exams, forever, first wave, take, traveling, covid positive, there, hands, rapidly, want, big, stop, death, interstate, fucking, haven, market, transmission, covid appropriate, bihar, to wear, short, exam, increasing |
| 2 | Diversity visa and visa petition / freedom / international travel / COVID-19 curfew | the petition, sign, tests for, pcr covid, selectees fault, boris, ford, ontario, want, curfew, premier, the airport, free, friend, trudeau, postpone, check out, rapidly, pakistan, shot, uk, enjoy, stay at, true, thread, toronto, travel insurance, international travel, normal, many countries, variants, overseas travel, freedom, mps, interstate, red list, folks, canadians, reasons, province, bihar |
| 3 | Diversity visa / unvaccinated people / vaccinate to prevent | selectees fault, centers for, di, disease, white, labor, fauci, economy, behavior, million, not being, market, shame, europeans, kerala, americans, control, here are, millions of, trump, unvaccinated, buy, weekend, make sure, oct, and tourism, dv, jobs, to protect, shop, this weekend, of vaccination, concerns, for your, air travel, next month, vaccines, open, to ease, political, millions, virus, prevention, cover, plans to, science, mexico, tourism |
| 4 | Politicians (Grant Shapps, Justin Trudeau, Biden, Trump, Anthony Fauci) / green list countries / international travel for vaccinated people / olympics / COVID-19 passport | on vaccination, eu, covid certificate, requirement for, ban, borders to, biden, grant, shapps, president, even worse, chinese, olympics, trudeau, european, required for, digital, vaccinated travelers, fauci, many countries, justice, vaccinated travelers, travel pass, visas, other countries, trump, the federal, countries, australians, green list, law, infected, joe, the border, for fully, interstate travel, europe, open, next month, covid passports |
| 5 | Pre-COVID and first wave / dreaming of travel | first wave, shelby, battle, solutions, simon, they find, the emergence, their journey, countless, lives, future, someone, human, money, an excuse, traveling, love, before covid, dose, happy, traveled, pfizer, from china, dream, together, selectees fault, died of |
| 6 | Complaints toward the US Diversity Visa Lottery program (COVID-19 as an excuse for the delay or cancellation thereof) | an excuse, toolset, selectees fault, even worse, on vaccination, uganda, death, justice, pcr tests, new cases, arabia, interview, the highest, united states, fun, winners, crazy, for fully, for foreign, nepal, imple, clear, african, nigeria, business travel, puerto rico, brexit, the airport, requiring, singapore |
| 7 | Yellow fever and COVID-19 vaccine / Saudi Arabia / COVID-19 cases | saudi, astrazeneca, journey, arabia, stay safe, new cases, covid numbers, dose of, nhs covid, wave, wear mask, got covid, yellow fever, pass, app, pre covid, doctors, eastern |
| 8 | Travel Destinations / Prevention / Travel Measures | dv, selectees fault, blaming, lanka, covid appropriate, rapidly, european, solutions, union, they find, the emergence, winners, travel advisory, increase, nepal, prevention, the delta, travel measures, covid cases, shelby, surge in, level, do not, new cases, travel related, eu, probably, hawaii, postpone, indian, to restrict, battle, florida, are increasing, rising covid, olympics, governor |
| 9 | Negative PCR test prior to departure / fully vaccinated for international travel | proof of, departure, hours before, covid appropriate, as long, will need, covid testing, negative covid, be fully, pre departure, to show, requirement for, you must, required to, by air, foreign travelers, test for, covid test, behavior, vaccinated against, test, pcr test, pcr tests, arrival, fully vaccinated, on vaccination, requirement, of vaccination, negative test, pcr, vaccination, negative, are fully, cdc, required, for international, requirements for, distancing, to require, guidance, on arrival, days of |
| 10 | Travel bubble / Australia (several cities included) and New Zealand / Hong Kong / Scotland / quarantine free / quarantine hotel | nsw, queensland, sydney, victoria, have tested, coast, shelby, melbourne, travel bubble, zealand, quarantine free, australia, in hotel, positive for, simon, wales, traveled from, kong, covid case, positive covid, battle, tested positive, first wave, vic, greater, auckland, woman, their journey, byron, the petition, hotel quarantine, scotland, south, army |
Figure 5Hierarchical reduction in BERTopic.
Comparison of topic models.
|
|
| |
|---|---|---|
| LDA | • Prior domain knowledge is not necessarily required | • Detailed assumptions are required |
| NMF | • Prior domain knowledge is not required | • Frequently delivers incoherent topics |
| Top2Vec | • Supports hierarchical topic reduction | • The embedding approach might result in too many topics, requiring labor-intensive inspection of each topic |
| BERTopic | • High versatility and stability across domains | • The embedding approach might result in too many topics, requiring labor-intensive inspection of each topic |