FoLA: Latent planning for image generation
2 min read
The FoLA (Forethought with Latent Actions) model improves text-to-image generation quality through internal planning in latent space. It is built on ByteDance-Seed/BAGEL-7B-MoT (14.27B parameters) and includes a rank-32 generative LoRA (small add-on model), a 26.2M parameter latent policy, and a special end embedding. Unlike step-by-step text reasoning (CoT) solutions, FoLA operates in a single pass without decoding intermediate text while significantly outperforming the base BAGEL-7B-MoT in prompt adherence accuracy. The development will be useful for researchers and engineers working with multimodal image generation.
Key features
- Single-pass generation without decoding intermediate text thanks to the hidden action policy.
- Substantial gains over the BAGEL-7B-MoT base: 86.36 versus 77.40 on GenEval and 88.05 versus 85.54 on DPG-Bench.
- Available both as a single checkpoint (28.7 GB) and as a compact
fola_adapter.safetensorsadapter (388 MB). - Open Apache License 2.0 with available inference and training code on GitHub.
What you can do
- Run 1024×1024 image generation from complex prompts via the official project repository on GitHub.
- Connect the lightweight
fola_adapter.safetensorsadapter on top of an already downloaded BAGEL-7B-MoT base to avoid downloading the full checkpoint. - Use the checkpoint and the open
FoLA-14Kdataset for experiments with latent planning in generative models.
Example
from huggingface_hub import snapshot_download
# Полная модель (~29 GB)
model_dir = snapshot_download("FuxiangZhai/FoLA")
# Или только адаптер поверх ByteDance-Seed/BAGEL-7B-MoT
adapter_dir = snapshot_download(
"FuxiangZhai/FoLA",
allow_patterns=["fola_adapter.safetensors", "config.json"],
)
Read more
DetailsBenchmarks (1024×1024, 49 Euler steps): GenEval — 86.36, DPG-Bench — 88.05, GenEval 2 — 31.21, T2I-CompBench++ — 55.04.
Weight composition: BAGEL-7B-MoT base + LoRA rank-32 (FP32) + latent policy 26.2M (FP32) + end embedding (BF16).
File sizes: full model — 28.7 GB, adapter only — 388 MB (Stage-1 SFT adapter also available at 283 MB).
License: Apache License 2.0.










Comments