Bi-FORK: Generative Modeling of High-Dimensional Bifurcating Systems
Authors: Anna Zimmel, Fleur Hendriks, Markus Holzleitner, Florian Sestak, Martin Weichselbaumer, Vlado Menkovski, Johannes Brandstetter
Organizations: ELLIS Unit, LIT AI Lab, Institute for Machine Learning, JKU Linz · Department of Mechanical Engineering, Eindhoven University of Technology · DIFFER – Dutch Institute for Fundamental Energy Research · Department of Mathematics and Computer Science, Eindhoven University of Technology · Mistral, Paris
Bifurcations are ubiquitous in physical systems, from structural buckling to fluid and climate dynamics, yet they remain largely unexplored in deep learning. At a symmetry-breaking bifurcation, a single input admits multiple equally valid solutions, violating the one-to-one assumption underlying most learned physical surrogates. We introduce Bi-FORK, a generative framework for learning these one-to-many solution maps in high-dimensional systems. Bi-FORK generates complete trajectories through latent flow matching, preserving space and time coherence, and uses repulsion-guided sampling to recover distinct solution branches in a single amortized pass. We evaluate Bi-FORK on buckling beams, mechanical metamaterials, and Allen-Cahn phase separation, spanning continuous, discrete, and field-valued bifurcations with discretizations up to 260,000 points. Bi-FORK recovers the multimodal solution structure while scaling several orders of magnitude beyond prior approaches, opening generative modeling to high-dimensional bifurcating physical systems.
Figures & tables
Figure 1 : Learning bifurcating solution distributions. Left: Symmetry breaking results in multiple valid trajectories for the same control parameter and initial state. Center: Latent flow matching jointly samples trajectories and resolves distinct branches in one forward pass. Right: Unlike mode-averaging baselines, Bi-FORK recovers the target distribution.
Figure 2 : Exemplary pitchfork bifurcation for the buckling metamaterials use case with increasing control protocol ℓ
Dataset
Gc
Hc
Mc
∣Mc∣
Beam3D
O(2)
Z2
circle of directions ϕ
∞
Metamaterials
wallpaper subgroup fixing ℓ
pattern stabilizer
translated patterns
1,2,4
Allen-Cahn
domain syms ×{u↦±u}
morphology symmetries
orbits of morphologies
varies
Table 1 : Symmetry structure per dataset: group Gc of the condition, isotropy Hc of an output state, resulting mode set Mc≅Gc/Hc (union of orbits for Allen-Cahn).
Figure 3 : Encoder-decoder structure for point cloud datasets. Input tokens (reference positions X1 and displacements) are encoded into latent representation by cross-attending to L learned latent query tokens. The decoder reconstructs the displacements conditioned on the reference positions.
Figure 4 : Particle guidance during sampling. Trajectories evolve identically up to bifurcation point tb . From tb , the repulsion term acts on the masked frames t≥tb , pushing the K trajectories apart, yielding a multimodal distribution.
Figure 5 : Beam3D result comparison. Each panel shows an evaluated method, with an illustrative sample (colored) plotted over the actual trajectory (black). Their endpoints are shown against the full population and the ideal uniform dashed circle. Metrics are aggregated over all Beam3D test conditions using five random seeds.
Figure 6 : Mechanical metamaterials result comparison. Ground truth modes and generated samples are shown for representative conditions with ∣Mc∣=2 and ∣Mc∣=4 buckling modes. Colors indicate the mapped ground-truth mode; missing modes are shown in gray. Affine baseline results in mean prediction. Reported MCon-MAE is averaged over the full test set, while JSD and full coverage are reported for ∣Mc∣∈{2,4} . Metrics reported over five random seeds on the test dataset.
Figure 7 : Allen-Cahn result comparison. Ground truth (black open circles) and predictions (teal and pink circles) are shown across a parameter sweep μ∈[−0.1,1.0] at fixed ϵ=0.1 . The vertical axis shows the final-frame mean value. We evaluate metrics on the test dataset and average over five random seeds; lower values indicate better performance.
Figure 8 : Visual comparison of ground truth vs predicted samples for μ=0.86 and ϵ=0.094 .
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
Symbol
Meaning
Space
Data and trajectories
N , n
number of spatial locations (nodes); node index
N
T , t
number of timesteps; timestep index
N
D , C
spatial dimension; channels of the response
{2,3} , {1,D}
X1 , Xt
reference geometry; deformed coordinates at timestep t
RN×D
Mt
response (signal field) at timestep t
RN×C
Appendix
Table 3 : Overview of used symbols and notations. Superscripts t index trajectory frames, subscripts τ flow time, and parenthesized superscripts (k) generated samples. Dataset-specific quantities are defined where they are used ( Sections 3 and C ).
Parameter
Range
Add. Information
Nseg
3–11 nodes (2–10 segments)
per trajectory
Libeam
log-uniform[ 0.5,2.0 ]
per segment
kiax
log-uniform[ 0.5,2.0 ]
per segment
kirot
log-uniform[ 0.5,2.0 ]
per node
ϕ
uniform on [ 0,2π )
per trajectory
Appendix
Table 4 : Sampling distributions across used parameters.
Figure 9 : Example trajectories from the 3D beam dataset with different buckling directions ϕ for diverse node counts over timestep t .
Split
Trajectories
Share (%)
Training
697
70
Validation
150
15
Test
150
15
Total
997
100
Appendix
Table 5 : Summary of 3D beam dataset splits.
Figure 10 : Example mechanical metamaterials trajectories with distinct post-buckling mode structures.
Split
1 mode
2 modes
4 modes
Trajectories
Share (%)
Training
6,529
1,777
262
8,568
70
Validation
1,408
377
51
1,836
15
Test
1,391
354
91
1,836
15
Total
9,328
2,508
404
12,240
100
Appendix
Table 6 : Summary of dataset splits.
Figure 11 : Allen-Cahn example for two distinct ϵ,μ settings.
Split
Conditions
Simulated trajectories
Candidate modes
Share (%)
Training
700
2,800
5,600
70
Validation
150
600
1,200
15
Test
150
600
1,200
15
Total
1,000
4,000
8,000
100
Appendix
Table 7 : Summary of the Allen-Cahn dataset splits. Each condition contains four simulated trajectories and up to eight modes after analytic sign augmentation.
Parameter
Beam3D
Metamaterials
Allen-Cahn
Architecture
Perceiver AE
Perceiver AE
ViT3D + spatial token bottleneck
Params
1.7×106
1.7×106
6.1×106
Input shape
node states ( N×C )
point set (17 groups, 8 node types)
64×64×64×1 voxel grid
Patch size
–
–
8×8×8 (512 tokens)
Latent shape ( L×Dz )
6×128
128×128
4×4×4 ( 64×384 )
Encoder blocks (cross/self-attn)
1/1
1/1
ViT depth 6 (heads 6, embed 192)
Appendix
Table 8 : Hyperparameters of the autoencoder (first stage) used to produce the reported outputs, per dataset.
Parameter
Beam3D
Metamaterials
Allen-Cahn
Params (non-AE)
7.1×106
17.2×106
31.8×106
in_dim / cond_dim
128/128
128/128
384/192
Hidden size
256
512
512
Depth
5
4
8
Heads
8
16
16
MLP ratio
2.0
2.0
2.0
Appendix
Table 9 : Hyperparameters of the latent-space (second-stage) flow model used to produce the reported outputs, per dataset.
Metric
Categories
Tests
Mode Coverage JSD
mapping to Mc ground truth branches
Are all solution branches reached equally often?
Translation JSD
grid shifts, coarsened to 8 bins per axis ( 83=512 )
Given one ground truth sample, how often are periodic shifts recovered?
Rotoreflection JSD
48 octahedral elements
Given one ground truth sample, is the recovered orientation/reflection uniform?
Appendix
Table 10 : Summary of the Allen-Cahn JSD metrics, including their categories and tests.
Table 11 : Beam3D prediction performance. Lower MCon-MAE, JSD, and rejection rate indicate better reconstruction accuracy, better agreement with the target mode distribution, and fewer physically invalid rollouts. (mean ± std over five evaluation seeds)
Table 12 : Result comparison of Bi-FORK (including w/o particle guidance) against the affine baseline, evaluated with MCon-MAE, JSD, and coverage for each mode count. (mean ± std over five evaluation seeds)
Table 13 : Result comparison of Bi-FORK (including w/o particle guidance), evaluated with relaxed MCon-MAE and three JSD metrics. (mean ± std over five evaluation seeds)
Dataset
Accuracy
Precision
Recall
F1
Balanced acc.
Beam3D
0.989±0.000
0.988±0.000
1.000±0.000
0.994±0.000
0.950±0.001
Metamaterials
0.970±0.000
0.940±0.002
0.871±0.002
0.904±0.002
0.930±0.001
Appendix
Table 14 : Bifurcation-head classification on the complete test splits. Reporting the mean and standard deviation over five seeds.
Method
Samples
Conditions
Seconds Taken
GeoTDM
180
1
7766.36
STFlow
180
1
72.32
Bi-FORK w/o PG
180
1
2.94
Bi-FORK
180
1
3.95
Appendix
Table 15 : Wall-clock time taken to generate 180 samples of the Beam3D dataset over four random seeds.
Figure 12 : Beam bending process: showing predicted (green) vs actual (black) trajectory evolution for 180 samples. Node count ranging from 3 to 11 nodes
Figure 13 : Sample comparison for increasing μ and ϵ , showcasing the diversity of potential solutions compared to the ground truth.
Figure 14 : Visualization of one-mode samples generated by Bi-FORK with K=16 . The ground truth is compared with the closest predicted mode.
Figure 15 : Visualization of two-mode samples generated by Bi-FORK with K=16 . The ground truth is compared with the closest predicted mode.
Figure 16 : Visualization of a four-mode sample generated by Bi-FORK with K=16 . The ground truth is compared with the closest predicted mode.
Methods of Branched Optimal Transport (BOT) mimic the economy and efficiency of natural tree-like structures, such as those found in rivers and biological systems. These methods are widely applicable for designing efficient networks in society, from river basins and blood vessels to mail and gas distribution systems. However, they remain understudied in the context of designing deep generative models, particularly at a large scale. Standard continuous-time generative models, such as the flow matching approach, fail to capture the inherent hierarchical and branching patterns present in real-world data. Current models provide no mechanism for flows to merge or share pathways to minimize total transport cost. Inspired by the "economy of scale" principle in BOT, we introduce a novel, scalable branched flow-matching algorithm designed to solve the branched optimal transport problem in high dimensions. Our method adapts the Benamou-Brenier continuous-time optimal transport formulation to learn branched generative flows. These flows allow probability mass to aggregate along common pathways before branching out to diverse targets. Parametrized by neural networks, our method effectively learns complex branched generative processes. We demonstrate its effectiveness on challenging high-dimensional tasks in biology and image generation.
Semyon Semenov, Viktor Kovalchuk, Meir Roketlishvili +4
Many scientific and combinatorial problems admit multiple correct solutions, not a single label. Standard supervised learning resolves this ambiguity by choosing one solution as the target, but this hidden selector can be arbitrary, discontinuous, and harder to learn than the underlying solution set. We study bifurcation models, a weight-tied dynamical view in which different initializations can converge to different stable equilibria, so the model represents an attractor landscape rather than one chosen branch. We prove that broad set-valued maps with locally Lipschitz branches can be represented by regular equilibrium dynamics and that the induced selectors are almost everywhere regular, while manual selectors can be arbitrarily irregular. Experiments on frustrated Ising models show that such dynamics can discover multiple valid equilibria without branch labels and outperform single-branch supervision. Allen--Cahn experiments further show that diversity is not automatic: it can be encouraged explicitly, but with an accuracy--diversity tradeoff.
Systematic out-of-distribution (OOD) generation remains a critical bottleneck for continuous-time generative models. While standard joint classifier-free guidance (CFG) routinely fails to synthesize unobserved concept combinations, exact decomposed scoring generalizes robustly at the cost of severe computational overhead. In this work, we reveal that compositional binding is not a uniform process but a highly localized phase transition. We identify the semantic bifurcation window - the precise temporal interval where joint and decomposed vector fields meaningfully diverge. Exploiting this dynamic, we propose surgical guidance, a hybrid sampling strategy that restricts exact multi-pass scoring strictly to this critical window. On an OOD bi-digit MNIST testbed, surgical guidance achieves state-of-the-art compositional fidelity at a fraction of the inference cost, yielding a +5.3% absolute improvement in pairwise accuracy over the joint baseline by intervening during just the first 15% of the diffusion trajectory. Furthermore, our empirical analysis uncovers a fundamental topological divide: diffusion models (SDEs) force conceptual resolution immediately at peak noise, whereas Conditional Flow Matching (ODEs) delays structural binding until intermediate features emerge, establishing a new temporal framework for accelerating large-scale generative decoding.
Nguyen-Thanh-Luong Doan, Quang-Vu Nguyen, Tang-Phu-Quy Le +1
The University of Danang - Vietnam-Korea University of Information and Communication Technology