How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ngoctham/ASASR")

prompt = "Turn this cat into a dog"
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")

image = pipe(image=input_image, prompt=prompt).images[0]

ASASR β€” Coloring the Noise: Adversarial Sobolev Alignment for Faithful Image Super-Resolution

Pretrained weights for the ICML 2026 paper Coloring the Noise: Adversarial Sobolev Alignment for Faithful Image Super-Resolution (Hongbo Wang, Huaibo Huang, Pin Wang, Jinhua Hao, Chao Zhou, Ran He).

➑️ Code & full instructions: https://github.com/wafer-bob/ASASR

ASASR performs Γ—4 image super-resolution with a FLUX.1-dev backbone and dual-LoRA inference: a base SR LoRA (upscaling prior, OminiControl) plus our DPO LoRA trained with a Sobolev frequency-weighted, adversarially-guided DPO objective (AS-DPO).

Files

File Size Use
sr_lora/pytorch_lora_weights_v2.safetensors ~885 MB base SR LoRA β€” inference
dpo_lora/adapter_model.safetensors ~111 MB ASASR AS-DPO LoRA β€” inference
adv_lora/adapter_model.safetensors ~111 MB rank-16 AMG adversary β€” training only

Download

huggingface-cli download wafer-bob/ASASR --local-dir ./checkpoints

Then follow the GitHub README for inference (bash scripts/infer.sh) and training.

License

This project is released under CC-BY-NC-4.0 for non-commercial research use only.

Copyright (c) 2026 The Authors and Kuaishou Technology.

Citation

@inproceedings{wang2026asasr,
  title     = {Coloring the Noise: Adversarial Sobolev Alignment for Faithful Image Super-Resolution},
  author    = {Wang, Hongbo and Huang, Huaibo and Wang, Pin and Hao, Jinhua and Zhou, Chao and He, Ran},
  booktitle = {International Conference on Machine Learning (ICML)},
  year      = {2026}
}
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Paper for ngoctham/ASASR