FLASH: Federated Learning-Based LLMs for Advanced Query Processing in Social Networks through RAG
Sai Puppala, Ismail Hossain, Md Jahangir Alam, Sajedul Talukder
TL;DR
The paper tackles the challenge of extracting trustworthy, real-time social-media insights from vast, privacy-sensitive data. It proposes a federated learning–driven GPT framework that combines role-based prompting, PEFT (LoRA and P-Tuning-v2), and context-aware vector embeddings with OpenSearch and SVM-based retrieval to deliver personalized, timely information without exposing raw data. The architecture is modular: data ingestion and metadata enrichment, context generation with a context-GPT trained via FedAvg across multiple clients, and an interactive UI for professionals, with quantization and checkpointing to improve efficiency. The results indicate improved retrieval relevance and real-time performance, along with transparency about data origins and user-controlled contexts, highlighting practical benefits for privacy-preserving social media analytics and engagement.
Abstract
Our paper introduces a novel approach to social network information retrieval and user engagement through a personalized chatbot system empowered by Federated Learning GPT. The system is designed to seamlessly aggregate and curate diverse social media data sources, including user posts, multimedia content, and trending news. Leveraging Federated Learning techniques, the GPT model is trained on decentralized data sources to ensure privacy and security while providing personalized insights and recommendations. Users interact with the chatbot through an intuitive interface, accessing tailored information and real-time updates on social media trends and user-generated content. The system's innovative architecture enables efficient processing of input files, parsing and enriching text data with metadata, and generating relevant questions and answers using advanced language models. By facilitating interactive access to a wealth of social network information, this personalized chatbot system represents a significant advancement in social media communication and knowledge dissemination.
