Limits to Predicting Online Speech Using Large Language Models

Mina Remeli, Moritz Hardt, Robert C. Williamson
7/8/2024
cs.CLcs.CYcs.LG

No official code found. Best implementation: socialfoundations/twitter-predictability (0 stars, MIT, last commit 2025-01-22).

Abstract

We study the predictability of online speech on social media, and whether predictability improves with information outside a user's own posts. Recent theoretical results suggest that posts from a user's social circle are as predictive of the user's future posts as that of the user's past posts. Motivated by the success of large language models, we empirically test this hypothesis. We define predictability as a measure of the model's uncertainty, i.e., its negative log-likelihood on future tokens given context. As the basis of our study, we collect 10M tweets for ``tweet-tuning'' base models and a further 6.25M posts from more than five thousand X (previously Twitter) users and their peers. Across four large language models ranging in size from 1.5 billion to 70 billion parameters, we find that predicting a user's posts from their peers' posts performs poorly. Moreover, the value of the user's own posts for prediction is consistently higher than that of their peers'. We extend our investigation with a detailed analysis on what's learned in-context and the robustness of our findings. From context, base models learn to correctly predict @-mentions and hashtags. Moreover, our results replicate if instead of prompting the model with additional context, we finetune on it. Across the board, we find that predicting the posts of individual users remains hard.

View on arXivView PDF

Code Implementations(1)

MIT
00Shell, PythonDec 2, 20241 years agoMIT

Similar Papers

Cite this paper

@article{remeli2024limits,
  title  = {Limits to Predicting Online Speech Using Large Language Models},
  author = {Mina Remeli and Moritz Hardt and Robert C. Williamson},
  year   = {2024},
  eprint = {2407.12850},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.12850v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.12850.svg)](https://codeofpaper.com/paper/2407.12850)

Discussion