Information Diffusion and Preferential Attachment in a Network of Large Language Models
Adit Jain, Vikram Krishnamurthy, Yiming Zhang
TL;DR
This work addresses information diffusion in a centrally controlled network of LLMs prone to hallucinations by formulating a mean-field two-time-scale model, where fast diffusion dynamics interact with slow network reconfiguration. It develops a singular perturbation approach to approximate the coupled system, and proposes a reputation-based readjustment (trust-based preferential attachment) algorithm to rewire the network in favor of truthful nodes. Key theoretical contributions include a local asymptotic stability result for the all-truthful equilibrium, and concentration bounds establishing the validity of the mean-field approximation; these are complemented by empirical validation on LLaMA-3.1 8B showing improved convergence and token-efficient control via SPSA-based optimization. The framework provides a scalable, privacy-preserving mechanism to reduce hallucinations in distributed LLM inference and offers principled guidance for designing adaptive LLM networks in practice.
Abstract
This paper models information diffusion in a network of Large Language Models (LLMs) that is designed to answer queries from distributed datasets, where the LLMs can hallucinate the answer. We introduce a two-time-scale dynamical model for the centrally administered network, where opinions evolve faster while the network's degree distribution changes more slowly. Using a mean-field approximation, we establish conditions for a locally asymptotically stable equilibrium where all LLMs remain truthful. We provide approximation guarantees for the mean-field approximation and a singularly perturbed approximation of the two-time-scale system. To mitigate hallucination and improve the influence of truthful nodes, we propose a reputation-based preferential attachment mechanism that reconfigures the network based on LLMs' evaluations of their neighbors. Numerical experiments on an open-source LLM (LLaMA-3.1-8B) validate the efficacy of our preferential attachment mechanism and demonstrate the optimization of a cost function for the two-time-scale system.
