RecA: Reconstruction Alignment
RecA is a self-supervised post-training method for pretrained UMMs; the README gives BAGEL local setup and evaluation guides.
What it is · Main features · Getting started
What it is
RecA, short for Reconstruction Alignment, is a self-supervised post-training method for pretrained unified multimodal models (UMMs). In training, the original images serve as targets, and the model reconstructs them from its own visual understanding features instead of using image-specific captions. According to the README, this semantic reconstruction objective transfers to text-to-image generation and image editing, and the model's original inference interface is preserved.
Core facts
Read by a script from the official API, not rewritten by a model.
- License
- Apache-2.0
- Languages
- Python
- Maintainer
- HorizonWind2004
- Verified
Main features
The README reports that Harmon-1.5B with RecA achieves GenEval 0.86 and DPGBench 87.21 without GPT-4o distillation data or reinforcement learning.
A separate two-stage experiment, which uses GPT-4o-Image distillation data for supervised fine-tuning before RecA, reaches 0.90 and 88.15, respectively, according to the README.
The README says these are separate model configurations and points to the paper for baselines, evaluation protocols, and per-model training costs.
The paper reports generation improvements on Show-o, OpenUni, Harmon, and BAGEL.
The README states 6 × 80GB A100s × 4.5 hours to improve BAGEL on the reported generation and editing benchmarks.
The README news also says RecA is verified on MMaDA.
The README news also notes that NF4, INT8, and DF11 versions of BAGEL-RecA were added.
Training code is released for Show-o, according to the README news.
The README news says OpenUni training code is released.
The README news says BAGEL training code is released.
The README news says Harmon training code is released.
The README lists a collection of RecA models on Hugging Face with benchmark performance.
Getting started
A BAGEL-RecA demo is available on Hugging Face Spaces.
In ComfyUI, usage is totally the same as the original ComfyUI-BAGEL, except that the BAGEL weight
ema.safetensorsis replaced with the RecA-tuned one.The ComfyUI-BAGEL repo already supports the NF4 and INT8 conversion of BAGEL.
Weights of the NF4 and INT8 versions of BAGEL can also be downloaded from BAGEL-RecA.
For a local setup, follow the BAGEL Installation Guide to set up the environment, and the notebook
inference.ipynbtests the model locally.For detailed instructions on installation, training, and evaluation, the README refers readers to the respective repository READMEs.
For evaluation, the Benchmark Evaluation Guide provides multi-benchmark evaluation scripts and setup instructions.
The Show-o Training Guide is a training guide for Show-o models with CLIP and VQGAN variants.
wget https://huggingface.co/sanaka87/BAGEL-RecA/blob/main/model_bf16.safetensors
mv model_bf16.safetensors models/bagel/BAGEL-7B-MoT/ema.safetensorsWho it is for
The README says understanding evaluations and architecture-specific limitations are discussed in the paper and the Reproduction Guide. The README's TODO list still has an unchecked item for further scale-up of BAGEL training. The majority of RecA is licensed under the Apache License, but portions of the project are available under their own license terms. BAGEL and Show-o are licensed under Apache, and Harmon and OpenUni are licensed under S-Lab license.
Sources
This page is written from the official sources below. Open them to check the original text.
- GitHub READMEhttps://github.com/HorizonWind2004/reconstruction-alignmentFetched
Verified ·
This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.
