Community-Cross-Instruct: Unsupervised Instruction Generation for Aligning Large Language Models to Online Communities
Zihao He, Minh Duc Chu, Rebecca Dorn, Siyi Guo, Kristina Lerman
Abstract
Social scientists use surveys to probe the opinions and beliefs of populations, but these methods are slow, costly, and prone to biases. Recent advances in large language models (LLMs) enable the creation of computational representations or "digital twins" of populations that generate human-like responses mimicking the population's language, styles, and attitudes. We introduce COMMUNITY-CROSS-INSTRUCT, an unsupervised framework for aligning LLMs to online communities to elicit their beliefs. Given a corpus of a community's online discussions, COMMUNITY-CROSS-INSTRUCT automatically generates instruction-output pairs by an advanced LLM to (1) finetune a foundational LLM to faithfully represent that community, and (2) evaluate the alignment of the finetuned model to the community. We demonstrate the method's utility in accurately representing political and diet communities on Reddit. Unlike prior methods requiring human-authored instructions, COMMUNITY-CROSS-INSTRUCT generates instructions in a fully unsupervised manner, enhancing scalability and generalization across domains. This work enables costeffective and automated surveying of diverse online communities 1 . * Equal Contribution. 1 Code and data are available at https://github.com/ zihaohe123/community-cross-instruct Multiple Choice Predicted Answers Community Data Open Ended Multiple Choice Open Ended LLM Instruction-Response Dataset (1) Instruction Generation (2) Fine-Tuning (3) Evaluation or Llama 3.1 GPT-3.5 GPT-4o Comm-aligned LLM Comm-aligned LLM Figure 1: Illustration of COMMUNITY-CROSS-INSTRUCT to align an LLM to a community. (1) Openended instructions and multi-choice survey questions are generated by an advanced LLM from the community data. (2) A foundational LLM is aligned to the community through instruction-tuning on the open-ended instructions. (3) The alignment of the finetuned LLM to the community is measured using the generated survey questions. bias (Hill et al., 1997) , where participants fail to answer questions, and self-selection bias due to the choices participants make to participate in the survey (Heckman, 1990) . In addition, social stigmas may taint responses (Goel and Salganik, 2010), especially for hard-to-reach and marginalized groups. Recent breakthroughs in generative AI and especially large language models (LLMs) enable new capabilities for creating computational representations of human populations -their digital twins (El Saddik, 2018) -by ingesting vast textual data they create, for example, in online discussion forums. These LLM-based models generate human-like responses that mimic the language, communication styles, and attitudes of populations they are aligned to, allowing us to probe their worldviews, biases, and sentiments in a cost-effective and automated manner. Previous works have leveraged such LLM-based representations to mine opinions Instruction: How should the government handle the taxation of legalized marijuana? Response from r/Liberal: Taxes should fund public services and health initiatives. Response from r/NeutralPolitics: Balanced taxes to ensure regulation without overburdening consumers. Response from r/Anarcho_Capitalism: Minimal or no taxes to prevent black markets. Response from r/Conservative: Avoid high taxes to prevent strengthening black markets. Response from r/AskThe_Donald: Avoiding high taxes; focus on regulation for safety.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 5 top-tier papers that cite it · related work
Free to start. No credit card required.
Cited by top-tier papers5
- Language Model Fine-Tuning on Scaled Survey Data for Predicting Distributions of Public OpinionsJoseph Suh, Erfan Jahanparast, Suhong Moon, Minwoo Kang et al.ACL 2025 · 48 citations
- Graph-Based Alternatives to LLMs for Human SimulationJoseph Suh, Suhong Moon, Serina ChangACL 2026 · 2 citations
- Knoll: Creating a Knowledge Ecosystem for Large Language ModelsDora Zhao, Diyi Yang, Michael S. BernsteinUIST 2025 · 2 citations
- Synthia: Scalable Grounded Persona Generation from Social Media DataVahid Rahimzadeh, Erfan Moosavi Monazzah, Mohammad Taher Pilehvar, Yadollah YaghoobzadehACL 2026 · 1 citation
- STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language ModelsKai Chen, Zihao He, Taiwei Shi, Kristina LermanEMNLP 2025 · 1 citation
Builds on8
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- MPNet: Masked and Permuted Pre-training for Language UnderstandingKaitao Song, Xu Tan, Tao Qin, Jianfeng Lu et al.NeurIPS 2020 · 1,957 citations
- Whose Opinions Do Language Models Reflect?Shibani Santurkar, Esin Durmus, Faisal Ladhak, Cinoo Lee et al.ICML 2023 · 764 citations
- Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations
Related papers
- Cultivating Pluralism In Algorithmic Monoculture: The Community Alignment DatasetLily H Zhang, Smitha Milli, Karen Long Jusko, Jonathan Smith et al.ICLR 2026 · 41 citations
- LLMs Cannot (Yet) Match the Specificity and Simplicity of Online Communities in Long Form Question AnsweringKris-Fillip Kahl, Tolga Buz, Russa Biswas, Gerard de MeloEMNLP Findings 2024 · 1 citation
- Modeling Human Subjectivity in LLMs Using Explicit and Implicit Human Factors in PersonasSalvatore Giorgi, Tingting Liu, Ankit Aich, Kelsey Isman et al.EMNLP Findings 2024 · 4 citations
- The Overlooked Repetitive Lengthening Form in Sentiment AnalysisLei Wang, Eduard C. DragutEMNLP Findings 2024
- Questioning the Survey Responses of Large Language ModelsRicardo Dominguez-Olmedo, Moritz Hardt, Celestine Mendler-DünnerNeurIPS 2024 · 116 citations
