Improve dataset card: add task category, paper link, and usage instructions

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +38 -56
README.md CHANGED
@@ -1,78 +1,60 @@
1
  ---
2
  license: apache-2.0
 
 
3
  pipeline_tag: any-to-any
4
  library_name: bagel-mot
5
  tags:
6
- - sgt
7
- - semantic-generative-tuning
8
- - unified-multimodal
9
- - image-segmentation
10
- - visual-understanding
11
- - visual-generation
12
  ---
13
 
14
- # SGT: Semantic Generative Tuning for Unified Multimodal Models
15
 
16
- This repository hosts checkpoints fine-tuned with **Semantic Generative Tuning (SGT)** a training
17
- paradigm that couples visual *understanding* and *generation* in Unified Multimodal Models (UMMs)
18
- by using **image segmentation as a generative proxy**.
19
 
20
- > Unified multimodal models typically optimize understanding and generation with *misaligned*
21
- > objectives (sparse text tokens vs. dense pixel targets), which isolates the two capabilities.
22
- > SGT introduces segmentation — a **high-level semantic task** — as a unified generative objective
23
- > that aligns the two branches, improves feature linear separability, and optimizes visual-textual
24
- > attention allocation.
25
 
26
- ## 🧠 Method Overview
27
 
28
- SGT reformulates classical visual tasks as generative proxies and establishes a **hierarchical
29
- taxonomy** (low-/mid-/high-level). Extensive experiments show that **high-level semantic tasks
30
- (e.g. image segmentation) are the optimal proxy**, outperforming depth, edge, reconstruction and
31
- MAE/inpainting for synergizing understanding and generation.
32
 
33
- Key findings:
 
 
34
 
35
- 1. **High-level > low-level**: segmentation gives larger gains in visual understanding
36
- than depth / edge / pixel reconstruction.
37
- 2. **Perception, not reasoning**: visual supervision mainly strengthens perception
38
- (spatial, hallucination, vision-centric, general VQA), rather than abstract reasoning (e.g. math, chart)
39
- 3. **Architecture-agnostic**: the gains hold for both **BAGEL** and **OmniGen2**.
 
 
 
 
 
40
 
41
- ## 📦 Released Artifacts
42
 
43
- | Repo | Type | Base Model | Content |
44
- |---|---|---|---|
45
- | [`Two-hot/SGT-BAGEL`](https://huggingface.co/Two-hot/SGT-BAGEL) | model | BAGEL-7B-MoT | SGT fine-tuned BAGEL checkpoint |
46
- | [`Two-hot/SGT-Gen2`](https://huggingface.co/Two-hot/SGT-Gen2) | model | OmniGen2 | SGT fine-tuned OmniGen2 checkpoint (transformer/ only) |
47
- | [`Two-hot/SAM-SGT`](https://huggingface.co/datasets/Two-hot/SAM-SGT) | dataset | — | Segmentation training data (tar-sharded) used by SGT |
48
 
49
- ### Use the SAM-SGT dataset
 
 
 
50
 
51
- See [`Two-hot/SAM-SGT`](https://huggingface.co/datasets/Two-hot/SAM-SGT) for the data
52
- layout and the extraction instructions.
53
 
54
- ## 📊 Highlights
55
-
56
- - **+6.02%** average gain over BAGEL on the **CV-Bench** evaluation.
57
- - Consistent improvements in **spatial reasoning**, **hallucination resistance**, **vision-centric**, and **general VQA**.
58
- - Generation: gains across **GenEval** dimensions (Position / Color etc.).
59
- - Verified on two representative UMM architectures (**BAGEL**, **OmniGen2**).
60
-
61
- ## 📝 License
62
-
63
- Apache-2.0. Base models remain under their original licenses:
64
- BAGEL (Apache-2.0, based on Qwen2.5-7B + SigLIP + FLUX VAE) and
65
- OmniGen2 (based on Qwen2.5-VL + diffusion transformer).
66
-
67
- ## ✍️ Citation
68
-
69
- If you find this work useful, please cite our paper:
70
 
71
  ```bibtex
72
- @article{sgt2026,
73
- title = {Semantic Generative Tuning for Unified Multimodal Models},
74
- author = {Songsong Yu, Yuxin Chen, Ying Shan, and Yanwei Li},
75
- journal = {arxiv},
76
- year = {2026}
77
  }
78
  ```
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - image-segmentation
5
  pipeline_tag: any-to-any
6
  library_name: bagel-mot
7
  tags:
8
+ - sgt
9
+ - semantic-generative-tuning
10
+ - unified-multimodal
11
+ - visual-understanding
12
+ - visual-generation
 
13
  ---
14
 
15
+ # SAM-SGT: Segmentation Training Data for Semantic Generative Tuning
16
 
17
+ This repository contains the **SAM-SGT** dataset, a collection of approximately 190k segmentation samples derived from SAM. It was introduced in the paper [Semantic Generative Tuning for Unified Multimodal Models](https://huggingface.co/papers/2605.18714).
 
 
18
 
19
+ [**Project Page**](https://song2yu.github.io/SGT/) | [**Paper**](https://huggingface.co/papers/2605.18714) | [**Code**](https://github.com/song2yu/SGT)
 
 
 
 
20
 
21
+ ## Dataset Description
22
 
23
+ SGT (Semantic Generative Tuning) is a training paradigm that couples visual understanding and generation in Unified Multimodal Models (UMMs) by using image segmentation as a generative proxy. This dataset provides high-level semantic supervision used to align multimodal representation spaces.
 
 
 
24
 
25
+ - **Content**: ~190,000 segmentation samples sourced from the Segment Anything (SAM) dataset.
26
+ - **Format**: Tar-sharded.
27
+ - **Role**: Serves as a high-level semantic proxy task to enhance vision-centric perception and generative layout fidelity.
28
 
29
+ ### Training Data Distribution
30
+ | Data Source | Samples |
31
+ |-------------|---------|
32
+ | **SGT Segmentation (SAM)** | **190k** |
33
+ | General VQA | 180k |
34
+ | Doc / Chart / Screen | 103k |
35
+ | Math / Reasoning | 101k |
36
+ | Language | 72k |
37
+ | General OCR | 45k |
38
+ | **Total** | **~691k** |
39
 
40
+ ## Usage
41
 
42
+ You can download the dataset using the provided script from the official repository:
 
 
 
 
43
 
44
+ ```bash
45
+ # download sam subset || Chinese users can use --use-mirror
46
+ python download_sam.py --target-dir ./data/SAM-SGT --use-mirror
47
+ ```
48
 
49
+ ## Citation
 
50
 
51
+ If you find this work useful, please cite:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  ```bibtex
54
+ @article{yu2026sgt,
55
+ title = {Semantic Generative Tuning for Unified Multimodal Models},
56
+ author = {Yu, Songsong and Chen, Yuxin and Shan, Ying and Li, Yanwei},
57
+ journal = {arXiv preprint arXiv:2605.18714},
58
+ year = {2026},
59
  }
60
  ```