/ Модель

Характеристики

Лицензия
MIT
Архитектура
sdxl · dense
Библиотека
miro-t2i
Опубликована
18 мая 2026

miro

Генерация изображенийТекст → изображение3 профессии

MIRO — модель на базе SDXL для генерации изображений по тексту с управлением семью целевыми оценками качества.

58скачиваний за 30 дней15лайковвеса обновлены19 мая 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

MIRO — модель преобразования текста в изображение, разработанная Николасом Дюфуром и соавторами для проекта MIRO. Чекпойнт основан на архитектуре SDXL и содержит 350 млн параметров. Он генерирует изображения по текстовому запросу, одновременно учитывая семь задаваемых целевых оценок: CLIP, эстетичность, ImageReward, PickScore, HPSv2, VQAScore и SciScore. Для работы пакет miro-t2i загружает текстовый энкодер FLAN-T5-XL и VAE SDXL.

Модель предназначена для генерации изображений и экспериментов с управлением качеством через балансировку целевых оценок. В статье сообщается о результатах на GenEval и более быстром достижении заданного уровня эстетической оценки по сравнению с базовым обучением. Чекпойнт рассчитан на изображения 256×256; для большего разрешения требуется апскейлинг.

Это исследовательский артефакт, обученный на CC12M и отфильтрованной части LAION Aesthetics. Он наследует смещения обучающих данных и используемых моделей оценки; показатель SciScore не гарантирует научную точность. В комплекте нет фильтра безопасности. Веса MIRO выпущены по лицензии MIT; FLAN-T5-XL и SDXL VAE подчиняются собственным лицензиям.

Сценарии применения

  • генерация изображений 256×256 по текстовым описаниям
  • настройка баланса между соответствием запросу и эстетичностью изображения
  • сравнение стратегий reward-conditioning для генерации изображений
  • воспроизведение экспериментов по улучшению качества text-to-image

Ограничения

Разрешение генерации ограничено 256×256, а обучение на веб-данных и смещения моделей оценки могут отражаться в результатах. Модель не включает фильтр безопасности и не предназначена для критически важных задач; SciScore не гарантирует научную точность.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

MIRO (main)

Qualitative samples from MIRO

Qualitative samples from the released MIRO checkpoint — same gallery as the teaser of the project page.

Main MIRO checkpoint. Trained jointly on all seven reward signals (CLIP, aesthetic, ImageReward, PickScore, HPSv2, VQAScore, SciScore) with a 50/50 mix of original and synthetic captions.

This checkpoint accompanies the paper MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiency (Dufour, Degeorge, Ghosh, Kalogeiton, Picard — ICML 2026).

Paperhttps://arxiv.org/abs/2510.25897
Project pagehttps://nicolas-dufour.github.io/miro/
Codehttps://github.com/nicolas-dufour/miro
Demo🤗 Space (Gradio + ZeroGPU)
Parameters360.4M
Resolution256×256 (SDXL VAE latent space)
ArchitectureRIN flow-matching backbone, FLAN-T5-XL text conditioning
Training dataCC12M + LAION Aesthetics v2 4.5 (6.0+ aesthetic subset)
Reward signalsclip_score, aesthetic_score, image_reward_score, pick_a_score_score, hpsv2_score, vqa_score, sciscore_score
Weightsmodel.safetensors, fp32 (EMA master weights — ready for finetuning)

Install

pip install miro-t2i

miro-t2i is the public PyPI package; it imports as import miro. The first call to MiroPipeline.from_pretrained(...) will additionally fetch google/flan-t5-xl (text encoder) and stabilityai/sdxl-vae (latent decoder) from the Hub.

Usage

import torch
from miro import MiroPipeline

pipe = MiroPipeline.from_pretrained("nicolas-dufour/miro")
pipe = pipe.to("cuda", torch.bfloat16)

prompt = (
    "Photography closeup portrait of an adorable rusty broken­down steampunk "
    "robot covered in budding vegetation, surrounded by tall grass, misty "
    "futuristic sci­fi forest environment."
)
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.0)[0]
image.save("out.png")

Reward conditioning

MIRO conditions the flow model on a vector of reward targets in addition to the text prompt. By default every reward is requested at its maximum (1.0); you can override individual axes to bias generation toward a particular trade-off:

image = pipe(
    prompt,                       # the rusty-robot prompt from above
    reward_targets={
        "clip_score": 1.0,        # strict prompt alignment
        "aesthetic_score": 0.3,   # de-prioritise prettiness
        "image_reward_score": 1.0,  # prioritise general human preference
        # any reward not listed defaults to 1.0
    },
    negative_reward_targets={
        # zeros by default; what to push the unconditional branch toward
    },
    guidance_scale=7.0,
)[0]

The seven reward dimensions are:

RewardNormalised rangeWhat it measures
clip_score~[0, 1]CLIP text–image alignment
aesthetic_score~[0, 1]LAION aesthetic-quality predictor
image_reward_score~[0, 1]ImageReward (general preference model)
pick_a_score_score~[0, 1]PickScore (human preference)
hpsv2_score~[0, 1]HPSv2 (human preference v2)
vqa_score~[0, 1]VQAScore (compositional faithfulness)
sciscore_score~[0, 1]SciScore (scientific-image plausibility)

Reported benchmarks

The paper reports the following headline numbers for the main MIRO model (this repo's nicolas-dufour/miro):

MetricMIRO (350M)FLUX-dev (12B)
GenEval (overall)75 (with inference-time reward tuning) / 68 (default)67
Inference compute1×~370×
Aesthetic-metric convergence vs. baseline pretraining19× faster—

Per-variant scores (GenEval, FID, individual reward scores) for the eight ablations are reported in the paper's ablation tables. Please refer to arXiv:2510.25897 for the full breakdown.

Training compute and data

  • Default hardware: 2 nodes × 8 H100 GPUs (16× H100, 16-mixed precision)
  • Optimiser: LAMB, lr 1e-3 (5k warmup → cosine decay), weight decay 1e-2
  • Batch size: 1024 globally (64 per GPU on 16× H100), gradient-clip 2.0
  • Steps: 500 k (≈ ~29 epochs over the enriched training set)
  • Wall-clock on 16× H100: ~52 hours (≈ 2.65 train it/s sustained)
  • 8-GPU fallback: 1 node × 8 H100 with trainer.accumulate_grad_batches=2, measured at ≈ 1.45 train it/s → ~96 hours (~4 days) end-to-end. Requires trainer.strategy.static_graph=false and trainer.strategy.find_unused_parameters=true to play well with the self-conditioning skip in the loss; both flags are set automatically by miro/slurm/launch_multicad_synth_8gpu.py.
  • Data: CC12M + LAION Aesthetics v2 4.5 filtered to aesthetic_score >= 6.0 (the higher-quality subset), encoded to SDXL VAE latents at 256 resolution. Each sample is paired with seven reward scores and FLAN-T5-XL embeddings of both the original and a synthetic caption, computed by miro/data/preprocess_data.py.

Limitations and intended use

This checkpoint is a research artifact released to reproduce and build on the MIRO paper. Known limitations:

  • Resolution: 256×256 only. Higher-resolution outputs require upscaling.
  • Domain: trained on web-scraped image–caption pairs (CC12M + LAION Aesthetics 6.0). Inherits the biases of those datasets — including under-representation of many cultures, languages, and concepts, and the presence of stereotypes. Generations may reflect or amplify these biases.
  • Reward-model biases: the seven reward predictors used during training encode their own biases (e.g. aesthetic and human-preference models reflect the taste of their annotator pools). Conditioning on these rewards inherits and can sharpen those biases.
  • Not for safety-critical use: outputs are not factual and the SciScore reward does not guarantee scientific accuracy.
  • No safety filter is shipped with the model; users deploying it in user-facing settings should add their own.

The model is released under the MIT license; the SDXL VAE and FLAN-T5-XL encoder it depends on at inference time are loaded from stabilityai/sdxl-vae and google/flan-t5-xl and are subject to their respective licenses.

Citation

@inproceedings{dufour2026miro,
  title     = {{MIRO}: {M}ult{I}-{R}eward c{O}nditioned pretraining improves {T2I} quality and efficiency},
  author    = {Dufour, Nicolas and Degeorge, Lucas and Ghosh, Arijit and Kalogeiton, Vicky and Picard, David},
  booktitle = {International Conference on Machine Learning (ICML)},
  year      = {2026}
}

License

MIT — see https://github.com/nicolas-dufour/miro/blob/main/LICENSE.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · miro-t2i

Нельзя запустить

Генеративная модель выложена не в формате diffusers.

Ревизия весов
2fb12fe

0 моделей