# GRN
**Repository Path**: ByteDance/GRN
## Basic Information
- **Project Name**: GRN
- **Description**: Generative Refinement Networks for Visual Synthesis
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-05-23
- **Last Updated**: 2026-08-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# [ECCV 2026] GRN: Generative Refinement Networks
[](https://arxiv.org/abs/2604.13030)
[](https://bytedance.github.io/GRN/)
[](https://huggingface.co/bytedance-research/GRN)
[](https://huggingface.co/spaces/hanjian/GRN)
[](LICENSE)
[](https://github.com/bytedance/GRN)
---
## 🔥 Updates!!
* June 26, 2026: 🏅 GRN 8B is released now! A unified single model covering T2V, I2V and T2I. Its performance rivals Wan 2.1 14B, AR models never surrender!
* June 18, 2026: 🍾 GRN is accepted by ECCV 2026.
* June 8, 2026: ✈️ The training & fine-tuning code for GRN-T2I and GRN-T2V is released.
* June 3, 2026: 🍉 A toy image-video dataset is provided for GRN-T2I/GRN-T2V training and fine-tuning.
* May 23, 2026: 🌺 We release the training and evaluation code for HBQ tokenizer, enjoy~
* April 14, 2026: 🤗 Paper and code release
## 📋 Table of Contents
- [🌟 Introduction](#-introduction)
- [✨ Gallery](#-gallery)
- [🚀 Demo](#-demo)
- [📦 Model Zoo](#-model-zoo)
- [🛠️ Installation](#️-installation)
- [📦 HBQ Tokenizer](#-hbq-tokenizer)
- [Data](#data)
- [Training](#training)
- [Evaluation](#evaluation)
- [🖼️ Class-to-Image](#️-class-to-image)
- [Data](#data-1)
- [Training](#training-2)
- [Evaluation](#evaluation-1)
- [🎨 Text-to-Image](#-text-to-image)
- [Data](#data-2)
- [Training](#training-2)
- [Inference](#inference)
- [🎬 Text-to-Video](#-text-to-video)
- [Data](#data-3)
- [Training](#training-3)
- [Inference](#inference-1)
- [🎬 Image-to-Video](#-image-to-video)
- [Data](#data-4)
- [Training](#training-4)
- [Inference](#inference-2)
- [📧 Contact](#-contact)
- [🤗 Acknowledgements](#-acknowledgements)
- [📝 Citation](#-citation)
---
## 🌟 Introduction
This is the official implementation of the paper **Generative Refinement Networks for Visual Synthesis**. Neither diffusion nor autoregressive — GRN is a third way. 🧠 Refines globally like an artist. ⚡ Generates adaptively by complexity. 🏆 New SOTA across image & video. The visual generation paradigm just got rewritten.
Diffusion models dominate visual generation but they allocate uniform computational effort to samples with varying levels of complexity. Autoregressive (AR) models are complexity-aware, as evidenced by their variable likelihoods, but suffer from lossy tokenization and error accumulation.
We introduce **Generative Refinement Networks (GRN)**, a new visual synthesis paradigm that addresses these issues:
- **Near-lossless tokenization** via Hierarchical Binary Quantization (HBQ)
- **Global refinement mechanism** that progressively perfects outputs like a human artist
- **Entropy-guided sampling** for complexity-aware, adaptive-step generation
GRN achieves state-of-the-art results on ImageNet reconstruction and class-conditional generation, and scales effectively to text-to-image and text-to-video tasks.
---
Generative Refinement Framework
Starting from a random token map, GRN randomly selects more predictions at each step and refines all input tokens. For example, compared to the second step, the third step filled six new tokens (pink), kept two tokens (blue), erased two tokens (yellow), and left six tokens blank (gray).