Skip to content
LyriccccoPublic

About

TailSteer: Final-stage training to unlock robust multi-turn editing in image foundation models while preserving their learned capabilities.

Topics

Resources

Stars

63 stars

Watchers

2 watching

Forks

Repository files navigation

TailSteer trajectory mark

TailSteer

A final stage after SFT, RL or OPD for multi-turn persistent editing  →  arXiv · 2611.06741

Retain the base models' original generative and editing capabilities. Unlock long-horizon preservation that rivals—or even surpasses—GPT-Image-2.5 Sunburst.

Download models · Run locally ↓

FLUX.2 [klein] Base 9B · TailSteer SenseNova-U1.5-8B-MoT · TailSteer Qwen-Image-2.1 · TailSteer

Try community demos online · No setup ↓

By akhaliq — Qwen-Image-2.1 TailSteer
By hugging-apps (Poli) — FLUX.2 TailSteer By hugging-apps (Poli) — SenseNova-U1.5-8B-MoT TailSteer

Hugging Face dataset · Source data Hugging Face dataset · Add & Preserve Bench

A strong image editor should stay strong after the first edit. TailSteer strengthens multi-turn stability while largely retaining a foundation model's text-to-image and editing capabilities. It is a final training stage, followed by ordinary inference with the original architecture and sampling pipeline.

Train your own TailSteer model: follow our step-by-step training guide, from source data and trajectory caching to training and evaluation.

Twenty skeleton-guided Ryze dance edits with FLUX.2

Twenty skeleton-guided dance edits on FLUX.2 [klein] Base 9B. Each branch reuses its own previous output. TailSteer follows the changing pose while reducing cumulative drift.

Preserve what the model knows. Steer the trajectory tail.

  • Keep the capabilities. Text-to-image and single-turn editing scores remain close to the base models across extensive benchmarks.
  • Keep editing. Reduce accumulated drift in long editing chains, reference-guided motion and multi-image composition.
  • Keep your pipeline. Complete released weights use the original official loading interface. Change the model ID or path; no adapters or new inference modules.

See the difference across backbones

Twenty-turn comparisons on FLUX.2, SenseNova and Qwen

Independent 20-turn examples from the three released models. FLUX.2 sequence · SenseNova sequence · Qwen sequence.

The original generation and editing strengths

Text-to-image pairs from the released checkpoints

Identical prompt and seed within each pair. Selected outputs illustrate the comparison; the benchmarks below measure aggregate performance.

Base model → after TailSteer, using the released 2,000-update checkpoints:

Benchmark FLUX.2 SenseNova Qwen-Image-2.1
Qwen-IB EN ↑ 49.27 → 49.42 53.43 → 52.24 53.39 → 53.06
Qwen-IB ZH ↑ 49.16 → 49.37 53.25 → 52.58 53.34 → 53.20
BizGen ES (%) ↑ 9.87 → 10.97 45.85 → 45.73 57.03 → 57.38
GEdit EN ↑ 7.47 → 7.52 8.33 → 8.27 8.11 → 8.04
GEdit ZH ↑ 7.42 → 7.39 8.30 → 8.31 7.80 → 7.72
RISE accuracy (%) ↑ 14.17 → 13.61 31.39 → 29.44 20.56 → 18.06
ImgEdit ↑ 4.20 → 4.19 4.43 → 4.41 4.40 → 4.42

The gains are in stability over repeated use. Single-turn scores remain close overall, with some variation between tasks, including lower RISE accuracy at these settings.

Better preservation, measured turn by turn

On Add & Preserve, an editor adds objects inside a box over ten turns while everything outside should stay unchanged. COA measures requested-object presence; PSNR, SSIM and LPIPS measure preservation outside the box.

Backbone COA (%) ↑ PSNR@10 ↑ SSIM@10 ↑ LPIPS@10 ↓
FLUX.2 [klein] Base 9B 31.02 → 31.84 13.85 → 19.96 0.289 → 0.621 0.524 → 0.290
SenseNova-U1.5-8B-MoT 94.93 → 94.78 11.23 → 18.22 0.166 → 0.489 0.607 → 0.417
Qwen-Image-2.1 67.36 → 66.94 16.93 → 18.15 0.438 → 0.513 0.270 → 0.239

Base → after TailSteer. All local-model results use the same 100 images and ordinary image feedback, including VAE decode/re-encode where applicable. COA is averaged over ten turns; preservation metrics are shown at turn 10. Metrics and curves.

Multiple inputs, the same editor

The Ryze dance sequence above uses an ordinary subject image and pose guide at each turn. The same interface also supports scene composition from multiple reference images:

SenseNova composing objects into an evolving scene

Successive objects are introduced into an atrium with SenseNova-U1.5-8B-MoT. Qwen pose-guided editing.

Try TailSteer

From the repository root, set up the backbone environment and run a demo:

python3.10 -m venv .venv
source .venv/bin/activate
pip install PyYAML
python scripts/setup.py flux2-klein-base-9b
hf auth login

tailsteer infer --backbone flux2-klein-base-9b \
  --checkpoint Lyricccco/FLUX.2-klein-base-9B-TailSteer \
  --policies tailsteer --inference-suite cafe-20turn --gpus 1

Already using the official pipeline? Replace its model ID with the TailSteer checkpoint. The model cards include native loading examples; no TailSteer runtime is required for official-pipeline inference.

To compare both models, run tailsteer prepare model --backbone flux2-klein-base-9b and omit --policies tailsteer. The default produces independent base / tailsteer chains and comparison images. Local model repositories and training inference exports are also supported.

Choose your backbone

Backbone Paper training config Complete TailSteer weights
FLUX.1 Kontext dev Kontext Train with the supplied configuration
FLUX.2 [klein] Base 9B Klein Download
Qwen-Image-2.1 Qwen Download
SenseNova-U1.5-8B-MoT SenseNova Download

Use a separate environment for Qwen's upstream dependencies. Checkpoint access follows the Hub repository permissions and base-model terms. See environment and model preparation.

Four demos ship with their inputs, prompts and reference results in demo-testset: a 20-turn café scene, skeleton-guided dance, object composition and people composition. --inference-suite demos runs the supported demos for your backbone. Inference guide.

How TailSteer works

TailSteer training framework

Preserve early dynamics to retain the model's priors; steer the trajectory tail toward a preservation-aware endpoint. Training follows the editor's own on-policy denoising rollouts. Unchanged source content supplies the preservation reference, so training needs neither curated ground-truth editing pairs nor multi-turn editing chains.

At inference, the trained model runs every denoising step with the original sampling settings. The steering onset is a training choice, not a model switch at inference. No preservation mask, frozen teacher or velocity blending is needed during use.

From source images to your own TailSteer model

The release includes the preparation tools, trajectory-cache generation, four paper training configurations, inference suites and benchmark adapters.

Stage Included Guide
Prepare Backbone-specific environments, upstream revisions and model/data downloads Preparation
Cache Preservation-Aware Trajectory Cache: model rollouts, states and preservation masks Cache & training
Train Paper defaults, distributed training, resume and inference export Training
Infer & evaluate Single- and multi-image demos, chained image feedback, comparisons and benchmark scoring Inference · Evaluation

TailSteer-Source supplies 11,947 images and 47,788 independent trajectory requests. Once the environment is ready:

tailsteer prepare model --backbone flux2-klein-base-9b
tailsteer prepare training-source
tailsteer cache --backbone flux2-klein-base-9b --gpus 8
tailsteer train --backbone flux2-klein-base-9b --gpus 8 \
  --inference-suite cafe-20turn

The default reproduces the paper's 2,000-update schedule on eight GPUs. Change --backbone for another supported model. Training can automatically run your chosen inference suites after export. Hyperparameters and trainable scope.

Evaluate the capabilities and the preservation

Suite Benchmarks
t2i Qwen-Image-Bench, BizGenEval
single-turn GEdit, RISE, ImgEdit
multi-turn MSE-Bench, EdiVal
add-preserve Add & Preserve: COA, PSNR, SSIM and LPIPS across ten turns

Prepare each benchmark's inputs and judges with the evaluation guide, then run the complete group using --inference-suite paper-benchmarks. The same suites work during standalone inference or automatically after training.

The public implementation has been checked against the research code for cache tensors, two-round image feedback, single-/multi-image inference and optimizer updates. Complete-model loading is also checked against the training exports. Validation evidence and scope.

Resources

The project page lives in website/. README figures and model cards reuse its shared website/assets/ files. Pushes to main validate and deploy the site with GitHub Pages.

License

Code is released under Apache 2.0. Backbone weights, datasets and example images retain their original terms; see third-party sources.

About

TailSteer: Final-stage training to unlock robust multi-turn editing in image foundation models while preserving their learned capabilities.

Topics

Resources

Stars

63 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages