Large Language Models for Social Networks: Applications, Challenges, and Solutions
Jingying Zeng, Richard Huang, Waleed Malik, Langxuan Yin, Bojan Babic, Danny Shacham, Xiao Yan, Jaewon Yang, Qi He
TL;DR
This paper presents a production-focused framework for deploying Large Language Models on online social networks by dividing applications into knowledge, engagement, and foundation tasks. It introduces LocalGPT, a neighborhood-specific LLM grounded with real-time social data via a Retrieval-Augmented Generation (RAG) baseline and a novel multi-objective knowledge injection training regime that combines instruction tuning, MCQA, and IRAG to reduce hallucinations and improve grounding, all evaluated with an automated, LM-based evaluation system. For engagement, it proposes a generator-evaluator framework for content like email subject lines, push notifications, and invitation emails, showing that retrieval-grounded, reward-guided generation can improve engagement while highlighting trade-offs in latency, safety, and personalization. Foundation tasks include constructing local knowledge graphs through a teacher-student annotation pipeline and a centralized API to manage LLM usage, enabling scalable, safe, and cost-effective deployment. Collectively, the work demonstrates end-to-end productionizable strategies for leveraging LLMs in hyper-local social networks, with practical implications for up-to-date knowledge grounding, user engagement, and scalable data labeling.
Abstract
Large Language Models (LLMs) are transforming the way people generate, explore, and engage with content. We study how we can develop LLM applications for online social networks. Despite LLMs' successes in other domains, it is challenging to develop LLM-based products for social networks for numerous reasons, and it has been relatively under-reported in the research community. We categorize LLM applications for social networks into three categories. First is knowledge tasks where users want to find new knowledge and information, such as search and question-answering. Second is entertainment tasks where users want to consume interesting content, such as getting entertaining notification content. Third is foundational tasks that need to be done to moderate and operate the social networks, such as content annotation and LLM monitoring. For each task, we share the challenges we found, solutions we developed, and lessons we learned. To the best of our knowledge, this is the first comprehensive paper about developing LLM applications for social networks.
