NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SocialQuotes: Learning Contextual Roles of Social Media Quotes on the Web

John Palowitch, Hamidreza Alvari, Mehran Kazemi, Tanvir Amin, Filip Radlinski

Introduction

Social media has evolved into a primary repository of global knowledge. Web authors frequently "quote" these platforms by embedding posts directly into articles, blogs, and news stories to support their narratives. While extensive tools exist to analyze social media within its original platform context, there is a significant gap in understanding how these posts function when repurposed on the broader web.

Researchers from Google address this by introducing a framework to automatically identify the "contextual role" of embedded social media posts. By distinguishing between an expert opinion, a witness account, or a marketing tool, this research enables more effective cross-platform retrieval systems and deeper scientific analysis of information flow across the internet.

A Framework for Contextual Roles

The study treats social media embeddings as quotes and adapts communication theory to model the process in four distinct stages:

  1. Topicalization: Establishing the primary topic of the web page.
  2. Societal Localization: Determining which roles (e.g., authorities, witnesses) are required to support the content.
  3. Personalization: Selecting a specific representative post from a social platform.
  4. Verbalization: Framing the post with explanatory prose, referred to as the "snippet."
The four-stage model of social media quotation on the web.

To categorize these interactions, the authors developed a taxonomy of eight roles divided into three types:

  • Elite: Expert, Influencer, Authority.
  • Citizen: Subject, Witness, Commenter.
  • Commercial: Marketer, Self-Promoter.

The SocialQuotes Dataset

To facilitate this research, the authors released SocialQuotes, a massive dataset derived from Common Crawl (2022-2023). It contains approximately 32.6 million embedded posts from Twitter, TikTok, and Instagram across 12.7 million unique URLs. To provide a ground truth for evaluation, a subset of 8.3k quotes was manually labeled by human annotators.

Role Distribution and Classification

Analysis of the dataset reveals that the "Subject" role—where the post itself is the primary focus of the page—is the most frequent, appearing in 61% of cases. Conversely, the "Marketer" role is the rarest at only 5%.

Frequency distribution of the eight identified roles within the SocialQuotes dataset.

For classification, the researchers utilized PaLM 2 with various prompting strategies. The best-performing approach, combining Chain-of-Thought (CoT) with a "Persistence" method (requiring consensus across multiple model calls), achieved a macro-average F1 score of 0.414. This significantly outperformed the baseline, demonstrating that modern LLMs can effectively infer latent authorial intent by reading the surrounding web context.

Key Insights and Ablation Studies

A critical finding of the research is that the "snippet"—the text immediately surrounding the embedded post—is the strongest signal for role classification. Ablation studies showed that removing this text caused the most significant drop in F1 scores across nearly all roles. This confirms that the way web authors frame a quote is highly deliberate and essential for understanding its function.

Furthermore, the study identified a strong "Topic-Platform Affinity." News and political topics tend to favor Twitter and "Authority" roles, while culture-oriented topics like beauty or food are more likely to feature Instagram or TikTok posts in "Influencer" or "Marketer" roles.

Conclusion and Future Work

While currently limited to English-language content and three major platforms, the SocialQuotes framework provides a foundation for understanding the contextual utility of social media on the web. Future research may expand to include more languages and platforms like Reddit or LinkedIn, and investigate the potential for "mis-quoting" where posts are taken out of context. Ultimately, this work envisions a future where AI can automatically find and integrate relevant social media evidence into generated text with human-like reasoning.

Summary updated

BibTeX
@inproceedings{palowitch2025socialquotes,
  author = {John Palowitch and Hamidreza Alvari and Mehran Kazemi and Tanvir Amin and Filip Radlinski},
  title = {{SocialQuotes: Learning Contextual Roles of Social Media Quotes on the Web}},
  booktitle = {ICWSM},
  year = {2025},
  doi = {10.1609/icwsm.v19i1.35882},
}
Figure