Mean-Field Limits for Two-Layer Neural Networks Trained with Consensus-Based Optimization

William De Deyn, Michael Herty, Giovanni Samaey
11/26/2025
cs.LGmath.OC

No confident code implementation found for this paper.

Abstract

We study Consensus-Based Optimization (CBO) for two-layer neural network training. We compare the performance of CBO against Adam on two test cases and demonstrate how a hybrid approach, combining CBO with Adam, provides faster convergence than CBO.

Show full abstract

Additionally, in the context of multi-task learning, we recast CBO into a formulation that offers less memory overhead. The CBO method allows for a mean-field limit formulation, which we couple with the mean-field limit of the neural network. To this end, we first reformulate CBO within the optimal transport framework. In the limit of infinitely many particles, we define the corresponding dynamics on the Wasserstein-over-Wasserstein space and show that the variance decreases monotonically.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{deyn2025meanfield,
  title  = {Mean-Field Limits for Two-Layer Neural Networks Trained with Consensus-Based Optimization},
  author = {William De Deyn and Michael Herty and Giovanni Samaey},
  year   = {2025},
  eprint = {2511.21466},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.21466v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.21466.svg)](https://codeofpaper.com/paper/2511.21466)

Discussion