arXiv:2611.07215cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07215

Fractional physics-informed neural networks to model social media virality

Alex Koong, George Em Karniadakis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alex Koong¹ & George Em Karniadakis²,*

¹Brown University, Division of Applied Mathematics, Providence, RI, 02906, USA; E-mail: alexander_koong@brown.edu

²Brown University, Division of Applied Mathematics, Providence, RI, 02906, USA; E-mail: george_karniadakis@brown.edu

*Address all correspondence to: George Em Karniadakis, Brown University, Division of Applied Mathematics, Providence, RI, 02906, USA, E-mail: george_karniadakis@brown.edu

Existing models of social media virality either prescribe the functional form of engagement growth or assume a fixed mechanism by which past activity influences future engagement. We present a fractional physics-informed neural network that learns both the temporal memory and nonlinear growth dynamics of social media engagement, using symbolic regression to translate the learned dynamics into interpretable equations. Synthetic experiments at the deployment resolution of 24 hourly observations demonstrate that the fractional order and reaction law can be jointly recovered from clean data. Under observation noise, however, the standard pointwise physics residual drives the fractional order toward its lower bound through a scale artifact. We address this failure using a fully whitened residual that propagates observation noise through the fractional operator. Applying the framework to 348 posts from X (formerly Twitter), we find that a single-window model estimates strongly memory-dependent dynamics but fails to accurately reconstruct held-out trajectories. Partitioning the 24-hour window into four teacher-forced segments substantially improves performance, yielding segment-specific fractional orders that increase from 0.23 to 0.99 and interpretable growth laws for each phase. The segmented model reconstructs 64% of held-out trajectories within a mean squared error of 0.01, compared with 44% for the strongest of nine classical baselines. Together, these results demonstrate the potential of fractional physics-informed equation discovery to uncover interpretable engagement dynamics while highlighting the importance of noise-aware estimation and temporal segmentation.

KEY WORDS: Scientific machine learning; fractional calculus; social sciences; equation discovery; symbolic regression; inverse problems; memory effects

1. INTRODUCTION

Physics-informed neural networks (PINNs), introduced by Raissi et al. (2019), embed known physical laws directly into the training of a neural network. Rather than learning an input-output map from data alone, PINNs minimize loss functions that combine a data-fitting term with a physics residual term. The data-fitting term measures the error between predicted and observed values, while the physics residual term measures how far a prediction deviates from a governing differential equation. The two work in tandem and regularize each other; the data term anchors the solution to observations, while the physics residual keeps the network consistent with the governing equation. PINNs generally outperform standard neural networks in regimes with sparse or noisy data, hence their popularity in modeling physical systems such as fluid dynamics, materials science, and geophysics (Karniadakis et al., 2021).

A more recent line of work uses PINNs not to solve known equations (the forward problem), but to discover unknown equations and parameters (the inverse problem). When the governing law is not specified in advance, the unknown term can be represented by a neural network during training and later distilled into a closed-form expression. This distillation is usually done with symbolic regression tools such as PySR (Cranmer, 2023). Zhang et al. (2024) applied this idea to computational neuroscience and recovered the reaction term of a network model for the spread of misfolded tau proteins across the brain in Alzheimer's disease. Their model takes the form

dcdt=−κLc+αf(c),(1)\frac{dc}{dt} = -\kappa L c + \alpha f(c), \tag{1}

where cc is the vector of tau concentrations across brain regions, LL is the graph Laplacian of the structural connectome, κ\kappa is the diffusive coupling, and f(c)f(c) is the unknown reaction function. By solving the inverse problem, they recovered a polynomial expression for f(c)f(c) and thereby a governing law for the spread of misfolded tau proteins.

Although PINNs have been used to solve inverse problems across a wide range of physical science domains, they have yet to be fully explored in the social sciences. Many social processes share two key features with physical ones: they are governed by some universal mechanism, and the data that describe them are often sparse or noisy. Social media virality is one example. The spread of content is shaped by both human behavior and a platform-specific content algorithm, while observations of how any given post spreads are typically limited. This makes it a natural candidate for PINNs. In this study, we present a novel application of PINNs: discovering an unknown governing equation for social media virality on XX (formerly Twitter). To the best of our knowledge, this is the first use of PINNs to solve an inverse problem in this domain.