[back to blog]

GridFlow: decentralized flow matching

This research proposes a novel approach for decentralised large-scale generative modelling. Among the main approaches, sequential dependencies make autoregressive models difficult to decentralise, while diffusion and flow matching frameworks can be partitioned across both data space and time, which we explore in GridFlow:

Comparison of a single model, time blocks, data experts and GridFlow. GridFlow combines data experts with time blocks, using a shared final block.
GridFlow partitions both data and time, combining independently trained blocks.

We split the data into subsets and the generative trajectory into time segments, forming a grid of small models trained without inter-node communication. At sampling time, a router combines their predictions. The best grids concentrate experts in the early, noisy stages and share a single final block. Clustering, router training and the final block still use the full dataset:

A grid of generated ImageNet images, with rows of lizards, turtles, vans, sarongs, mushrooms, retrievers, piggy banks, cliff dwellings, forklifts and corgis.
ImageNet-256 samples from a fully decentralised model across data and time, with a different class on each row.

At matched training compute, our best grids outperform a single model on CIFAR-10 but still trail it on ImageNet-256. They reduce per-device memory and sampling costs compared with data-only decentralisation, pointing towards collaborative training on smaller machines with slow connections. See the paper for details.

In the future, we are particularly interested in large-scale generative modelling for robust decentralised safeguards and proactive defences against rapidly evolving, interconnected agentic threats across multiple fronts, such as through international open-source efforts.

Citation

Please cite the article with:

@inproceedings{newbould2026gridflow,
  title     = {GridFlow: Decentralized Block-Based Flow Matching},
  author    = {Joshua Newbould and Mingyue Jian and Thirupathaiah Vasantam and Chris G. Willcocks},
  booktitle = {NeurIPS Workshop on Collaborative, Open, and Decentralized Training of Foundation Models},
  year      = {2026},
  note      = {Oral},
  url       = {https://openreview.net/forum?id=0FddZoRO3w}
}
[return to top]