Branching Flows: Discrete, Continuous, and Manifold Flow Matching with Splits and Deletions
Lukas Billera, Hedwig N Nordlinder, Jack C Ryder, Anton Oresten, Aron Stålmarck, Theodor M Björk, Ben Murrell
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: AI for Molecules, Materials & Genomics › Materials Generative Modeling · Type: new method · Keywords: flow matching, variable-length generation, branching processes, molecular modeling, protein design
Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Training-Free Generative Guidance
Summary
Branching Flows is a generative modeling framework that uses a forest of binary trees to allow stochastic branching and deletion of elements, enabling generation of variable-length sequences such as molecules and proteins.
Explained to a 5-year-old
We want to draw pictures that can have different numbers of parts, like a drawing that can have any number of sticks. The model learns to add or remove parts as it draws, so it can make things that change size. It works for things like molecules and proteins. It helps create new tiny molecules and proteins. This makes it easier to design new medicines and materials.
Explained to a 5-year-old, longer
Some computer programs can create new pictures or sounds, but they usually need to know how many pieces will be in the picture beforehand. Sometimes we want to draw things like molecules or proteins where we don’t know how many atoms or amino acids there will be. The new idea is to let the drawing process grow or shrink by itself, like a tree that can split or lose branches. Instead of drawing a fixed number of parts, the model can decide to add a new part or delete an old one as it goes. This way the final picture can have any length, just like a sentence can have any number of words. The model learns two simple rules: how often to make a new branch and how often to cut off a branch. By following these rules, the model can generate many different kinds of variable-length objects. It can be used to make new small molecules that might be useful in medicine. It can also help design antibody sequences that fight diseases. The same idea can even work for complex protein structures. This makes it easier for scientists to explore new chemicals without having to manually adjust the size each time. In short, the method gives computers the ability to draw flexible, changing shapes automatically.
For a technical reader
Branching Flows extends flow matching to variable-length data by modeling element dynamics over a forest of binary trees with learned branching and deletion rates. This allows the model to control the number of elements during generation, making it suitable for molecules, language responses, and protein sequences. The framework composes with any flow matching base process on discrete, continuous, manifold, and mixed spaces, enabling flexible distribution matching. Experiments demonstrate its effectiveness on small molecules, antibody sequences, and protein structures, showing scalability to complex domains. The approach provides a unified way to generate sequences of unknown length without ad-hoc modifications.
Problem
Generative models like diffusion and flow matching assume a fixed number of elements in the data, which limits their applicability to variable-length sequences such as molecules, language responses, or protein chains where the length is unknown beforehand.
Method
The approach models the evolution of elements over a forest of binary trees, learning stochastic branching and deletion rates to control the number of elements during generation. It can be combined with any flow matching base process on discrete sets, continuous spaces, manifolds, and mixed spaces, enabling distribution matching for variable-length data.
Contributions
The paper introduces a framework for generative modeling that can handle variable-length sequences by learning stochastic branching and deletion dynamics, and shows it works on molecules, antibodies, and protein structures.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction