π€ AI Summary
This work identifies a theoretical duality between Flow Matching (FM)βa continuous-time generative modeling paradigmβand Particle Swarm Optimization (PSO), a discrete evolutionary algorithm. Methodologically, we establish rigorous mathematical correspondences between FM and PSO across three levels: vector field learning, ordinary differential equation (ODE) formulation, and distributional dynamics. We prove that FM constitutes a strict continuous-time and probabilistic generalization of PSO. Our contribution is the first unified dynamical framework bridging discrete swarm intelligence and continuous generative modeling, revealing their shared velocity-update mechanism and collective optimization principle. This unification not only deepens the theoretical understanding of both methodologies but also introduces a novel paradigm integrating swarm intelligence with generative modeling. The framework lays a principled foundation for designing hybrid algorithms that jointly leverage sampling efficiency and emergent group-level intelligence.
π Abstract
This paper preliminarily investigates the duality between flow matching in generative models and particle swarm optimization (PSO) in evolutionary computation. Through theoretical analysis, we reveal the intrinsic connections between these two approaches in terms of their mathematical formulations and optimization mechanisms: the vector field learning in flow matching shares similar mathematical expressions with the velocity update rules in PSO; both methods follow the fundamental framework of progressive evolution from initial to target distributions; and both can be formulated as dynamical systems governed by ordinary differential equations. Our study demonstrates that flow matching can be viewed as a continuous generalization of PSO, while PSO provides a discrete implementation of swarm intelligence principles. This duality understanding establishes a theoretical foundation for developing novel hybrid algorithms and creates a unified framework for analyzing both methods. Although this paper only presents preliminary discussions, the revealed correspondences suggest several promising research directions, including improving swarm intelligence algorithms based on flow matching principles and enhancing generative models using swarm intelligence concepts.