Datasets:
id
stringlengths 13
16
| problem
stringlengths 3
155
| solution
stringlengths 56
66
| image
imagewidth (px) 840
840
| img_height
int64 214
640
| img_width
int64 220
640
|
---|---|---|---|---|---|
refcocog_16521
|
A black and white dog laying down, looking away from the camera.
|
<box>(0,457),(374,672)</box><points>(50,592),(144,601)</points>
| 426 | 640 |
|
refcocog_10608
|
standing dog
|
<box>(368,294),(823,830)</box><points>(663,536),(533,469)</points>
| 426 | 640 |
|
refcocog_428468
|
A man with a mustache and a checked jacket
|
<box>(494,217),(614,667)</box><points>(556,377),(545,460)</points>
| 446 | 640 |
|
refcocog_1039564
|
container holding fruit
|
<box>(410,7),(827,406)</box><points>(684,180),(583,121)</points>
| 480 | 640 |
|
refcocog_583192
|
A large adult elephant that is being followed by two small infant elephants.
|
<box>(112,395),(368,631)</box><points>(297,476),(224,460)</points>
| 427 | 640 |
|
refcocog_65450
|
A sheep with a black face.
|
<box>(391,266),(571,576)</box><points>(530,329),(421,350)</points>
| 360 | 640 |
|
refcocog_598548
|
A tall brown and tan giraffe eating from a tree
|
<box>(507,118),(788,702)</box><points>(617,493),(675,576)</points>
| 426 | 640 |
|
refcocog_447157
|
Man in the red coat.
|
<box>(360,465),(588,779)</box><points>(471,636),(539,685)</points>
| 428 | 640 |
|
refcocog_348135
|
a green car passing through the mirror reflection of a door
|
<box>(580,153),(839,499)</box><points>(658,363),(638,243)</points>
| 428 | 640 |
|
refcocog_488466
|
A person at an ATM inside the window
|
<box>(119,84),(239,652)</box><points>(178,241),(188,367)</points>
| 428 | 640 |
|
refcocog_2147308
|
A brown ape sits behind a white teddy bear.
|
<box>(175,555),(379,777)</box><points>(295,603),(336,714)</points>
| 428 | 640 |
|
refcocog_1376227
|
boat going in the front with a single person
|
<box>(46,429),(262,595)</box><points>(181,520),(230,509)</points>
| 480 | 640 |
|
refcocog_436696
|
a man was seeing
|
<box>(350,224),(796,827)</box><points>(613,559),(620,706)</points>
| 640 | 478 |
|
refcocog_498138
|
A man holding open his coat.
|
<box>(4,129),(537,760)</box><points>(259,462),(327,329)</points>
| 640 | 480 |
|
refcocog_1240561
|
A woman with a red dress.
|
<box>(548,123),(838,417)</box><points>(758,329),(688,184)</points>
| 640 | 480 |
|
refcocog_501460
|
a womans legs and skirt
|
<box>(415,474),(774,827)</box><points>(660,579),(560,621)</points>
| 640 | 480 |
|
refcocog_156735
|
The red plane
|
<box>(45,258),(782,592)</box><points>(581,447),(125,454)</points>
| 427 | 640 |
|
refcocog_56407
|
A black horse white its front feet in the air.
|
<box>(359,381),(644,689)</box><points>(439,524),(520,576)</points>
| 500 | 381 |
|
refcocog_224149
|
A man holding news paper on his left hand and standing near tree
|
<box>(294,102),(453,766)</box><points>(398,345),(379,161)</points>
| 480 | 640 |
|
refcocog_1402218
|
A lounging cat facing away.
|
<box>(9,81),(658,266)</box><points>(398,144),(181,150)</points>
| 640 | 456 |
|
refcocog_51266
|
a cate sleeping the shoppa
|
<box>(315,327),(761,760)</box><points>(538,516),(547,648)</points>
| 640 | 456 |
|
refcocog_580340
|
Elephant
|
<box>(222,245),(591,562)</box><points>(329,371),(423,396)</points>
| 426 | 640 |
|
refcocog_98586
|
Couch with fewer items on it to the right of the one with many items
|
<box>(188,511),(770,830)</box><points>(547,700),(419,735)</points>
| 480 | 640 |
|
refcocog_2158585
|
A man in jeans standing.
|
<box>(268,100),(383,584)</box><points>(323,220),(329,352)</points>
| 480 | 640 |
|
refcocog_113958
|
A chair right next to a standing man.
|
<box>(386,340),(640,616)</box><points>(471,504),(543,438)</points>
| 480 | 640 |
|
refcocog_1642792
|
The oven directly behind the woman.
|
<box>(106,213),(278,485)</box><points>(227,323),(180,252)</points>
| 426 | 640 |
|
refcocog_538737
|
chef pouring liquid
|
<box>(421,191),(684,631)</box><points>(602,404),(539,321)</points>
| 426 | 640 |
|
refcocog_477026
|
A female chef holding a metal pan wrapped in plastic wrap.
|
<box>(45,256),(328,698)</box><points>(171,497),(119,333)</points>
| 426 | 640 |
|
refcocog_160266
|
A grey cargo plan with a yellow ladder against it.
|
<box>(3,183),(617,519)</box><points>(449,305),(243,329)</points>
| 427 | 640 |
|
refcocog_98865
|
A BROWN COLOR SOFA IN FRONT OF THE ANOTHER SOFA
|
<box>(499,357),(773,541)</box><points>(631,443),(572,458)</points>
| 480 | 640 |
|
refcocog_98237
|
red pillow on gray couch
|
<box>(0,410),(412,838)</box><points>(123,674),(280,693)</points>
| 480 | 640 |
|
refcocog_166172
|
A white bus with number 628
|
<box>(94,188),(702,731)</box><points>(433,444),(255,461)</points>
| 479 | 640 |
|
refcocog_369806
|
the animal that is standing behind another animal and the round thing
|
<box>(454,138),(839,376)</box><points>(755,176),(543,202)</points>
| 425 | 640 |
|
refcocog_369894
|
The cow furthest to the right
|
<box>(555,152),(839,623)</box><points>(839,350),(752,255)</points>
| 425 | 640 |
|
refcocog_1207747
|
The man in the blue shirt whose head is out of the shot
|
<box>(689,133),(838,560)</box><points>(838,339),(838,235)</points>
| 640 | 416 |
|
refcocog_505536
|
A man smiling
|
<box>(8,41),(313,637)</box><points>(160,326),(188,440)</points>
| 640 | 416 |
|
refcocog_1723247
|
A woman in a striped shirt.
|
<box>(299,59),(693,564)</box><points>(489,341),(472,459)</points>
| 640 | 416 |
|
refcocog_575469
|
A bench closest to the person taking the photo.
|
<box>(534,242),(801,510)</box><points>(697,317),(634,309)</points>
| 427 | 640 |
|
refcocog_1901705
|
A pie plate is nearly empty on the table.
|
<box>(155,200),(642,637)</box><points>(508,420),(382,495)</points>
| 480 | 640 |
|
refcocog_62062
|
sheep on left
|
<box>(185,410),(492,768)</box><points>(336,550),(425,539)</points>
| 480 | 640 |
|
refcocog_62341
|
A sheep laying in the hay
|
<box>(555,471),(715,770)</box><points>(638,576),(663,644)</points>
| 480 | 640 |
|
refcocog_390391
|
gray cloth tablecloth over table
|
<box>(2,651),(824,828)</box><points>(111,765),(323,782)</points>
| 640 | 362 |
|
refcocog_595892
|
giraffe bending
|
<box>(306,214),(786,838)</box><points>(627,413),(524,280)</points>
| 480 | 640 |
|
refcocog_596031
|
This ziraffe is standing in middle place
|
<box>(253,231),(647,838)</box><points>(499,536),(442,439)</points>
| 480 | 640 |
|
refcocog_150136
|
Tan and black superbike at forefront of photo.
|
<box>(110,30),(656,808)</box><points>(470,363),(235,584)</points>
| 426 | 640 |
|
refcocog_590623
|
A zebra in center
|
<box>(79,253),(616,434)</box><points>(340,304),(482,287)</points>
| 640 | 427 |
|
refcocog_590410
|
An adult zebra at the bottom of the photo.
|
<box>(24,415),(708,839)</box><points>(177,609),(401,581)</points>
| 640 | 427 |
|
refcocog_210551
|
A man performing a stunt on a dirtbike
|
<box>(278,96),(441,541)</box><points>(396,324),(383,180)</points>
| 360 | 640 |
|
refcocog_218332
|
A guy in a yellow shirt under shelter watching a person on a dirt bike jump.
|
<box>(480,268),(600,688)</box><points>(521,392),(518,481)</points>
| 360 | 640 |
|
refcocog_443487
|
a woman in army uniform holding big red scissors and smiling
|
<box>(327,169),(828,838)</box><points>(689,506),(702,713)</points>
| 536 | 640 |
|
refcocog_487235
|
The man wearing the suit and tie
|
<box>(8,38),(471,827)</box><points>(163,498),(222,688)</points>
| 536 | 640 |
|
refcocog_530418
|
The person in the back with the yellow and orange goggles.
|
<box>(456,282),(633,658)</box><points>(570,509),(569,424)</points>
| 640 | 427 |
|
refcocog_511947
|
man in black sweater riding a snow board
|
<box>(94,290),(445,722)</box><points>(285,446),(330,350)</points>
| 640 | 427 |
|
refcocog_448673
|
A man with kitchen uniform opening a cupboard.
|
<box>(496,189),(731,826)</box><points>(650,432),(616,730)</points>
| 480 | 640 |
|
refcocog_481408
|
Person in white near person in apron.
|
<box>(682,457),(839,828)</box><points>(839,665),(755,744)</points>
| 480 | 640 |
|
refcocog_524856
|
A child in a vertically-striped jumper, who is playing with another child.
|
<box>(483,101),(768,838)</box><points>(652,569),(651,259)</points>
| 483 | 640 |
|
refcocog_491252
|
A baby with its hand up on another baby's head.
|
<box>(37,5),(618,769)</box><points>(268,536),(265,132)</points>
| 483 | 640 |
|
refcocog_668618
|
paper popcorn cup on left side
|
<box>(0,200),(137,541)</box><points>(0,433),(0,338)</points>
| 500 | 375 |
|
refcocog_1373709
|
A silver extended cab truck parked next to the left of a small car
|
<box>(0,177),(352,530)</box><points>(133,322),(223,273)</points>
| 480 | 640 |
|
refcocog_1797352
|
A gray vehicle partially cut from the photo.
|
<box>(707,133),(837,588)</box><points>(778,346),(798,257)</points>
| 480 | 640 |
|
refcocog_1075929
|
A cheese pizza with green olives in the center
|
<box>(136,167),(560,382)</box><points>(374,273),(250,276)</points>
| 640 | 480 |
|
refcocog_1076539
|
A pizza with tomato slices.
|
<box>(166,410),(718,773)</box><points>(469,591),(287,593)</points>
| 640 | 480 |
|
refcocog_353258
|
First car in the foreground
|
<box>(4,626),(827,828)</box><points>(220,721),(390,724)</points>
| 480 | 640 |
|
refcocog_353518
|
A car standing next to traffic signal
|
<box>(236,548),(749,738)</box><points>(474,600),(578,634)</points>
| 480 | 640 |
|
refcocog_1795656
|
A model engine pulling a red passenger car with a silver roof.
|
<box>(117,651),(354,839)</box><points>(263,788),(295,740)</points>
| 640 | 453 |
|
refcocog_1196042
|
blue and silver train coming out of a tunnel
|
<box>(213,400),(818,676)</box><points>(688,563),(395,458)</points>
| 640 | 453 |
|
refcocog_597385
|
A giraffe plays behind a larger giraffe
|
<box>(587,346),(834,504)</box><points>(670,446),(728,428)</points>
| 640 | 534 |
|
refcocog_160170
|
A red, white, and blue airplane that is parked.
|
<box>(4,2),(839,828)</box><points>(381,479),(479,283)</points>
| 424 | 640 |
|
refcocog_590867
|
A zebra with a metal beam obstructing our view of it.
|
<box>(0,282),(222,507)</box><points>(72,340),(21,338)</points>
| 467 | 640 |
|
refcocog_590446
|
A zebra in the zoo, smelling the stone
|
<box>(293,322),(654,675)</box><points>(428,419),(526,403)</points>
| 467 | 640 |
|
refcocog_19024
|
the stick with the readable words on it
|
<box>(273,206),(686,761)</box><points>(464,601),(581,673)</points>
| 640 | 425 |
|
refcocog_255090
|
The woman facing away from the camera wearing a yellow sweater vest and dark capris.
|
<box>(438,353),(524,777)</box><points>(489,467),(474,573)</points>
| 333 | 500 |
|
refcocog_1821534
|
A gray elephant with tan hay on it's head.
|
<box>(3,17),(551,791)</box><points>(148,236),(313,135)</points>
| 640 | 591 |
|
refcocog_582104
|
The baby elephant that is standing on all four legs
|
<box>(223,222),(839,830)</box><points>(479,421),(379,609)</points>
| 640 | 591 |
|
refcocog_450190
|
A man with a beard.
|
<box>(412,140),(836,828)</box><points>(617,600),(544,422)</points>
| 336 | 448 |
|
refcocog_474676
|
Man with a glass of white wine
|
<box>(47,100),(446,825)</box><points>(251,535),(148,690)</points>
| 336 | 448 |
|
refcocog_1076591
|
The pizza in the middle it's topped with prosciutto and greens.
|
<box>(417,169),(838,413)</box><points>(745,289),(593,285)</points>
| 640 | 425 |
|
refcocog_556919
|
A woman wearing white shorts with bangs
|
<box>(247,168),(371,777)</box><points>(314,475),(297,328)</points>
| 509 | 640 |
|
refcocog_470946
|
Second woman from the left.
|
<box>(344,165),(471,764)</box><points>(400,361),(419,470)</points>
| 509 | 640 |
|
refcocog_477292
|
person holding racket 2nd to right
|
<box>(455,163),(598,736)</box><points>(514,338),(522,465)</points>
| 509 | 640 |
|
refcocog_58244
|
A brown horse on the left of the other two horses.
|
<box>(232,365),(402,599)</box><points>(299,448),(256,491)</points>
| 426 | 640 |
|
refcocog_1069354
|
Hot dog with onion, chili and cheese
|
<box>(486,108),(793,532)</box><points>(601,248),(669,338)</points>
| 480 | 640 |
|
refcocog_1069309
|
A hot dog with a lot of mustard and onions
|
<box>(478,350),(802,768)</box><points>(576,508),(646,597)</points>
| 480 | 640 |
|
refcocog_713606
|
the bowl of oranges.
|
<box>(62,44),(366,353)</box><points>(214,202),(136,113)</points>
| 612 | 612 |
|
refcocog_1538037
|
The container with string beans
|
<box>(417,38),(716,350)</box><points>(565,188),(487,277)</points>
| 612 | 612 |
|
refcocog_16265
|
Dog in front wearing muzzle on face.
|
<box>(566,412),(764,712)</box><points>(704,575),(722,463)</points>
| 361 | 640 |
|
refcocog_2204124
|
the long bench with dogs on it
|
<box>(108,410),(836,838)</box><points>(369,528),(791,591)</points>
| 361 | 640 |
|
refcocog_588606
|
A black and white zebra standing next to a tree a grassy area.
|
<box>(268,225),(572,526)</box><points>(442,396),(525,390)</points>
| 426 | 640 |
|
refcocog_310652
|
a hamburger
|
<box>(164,322),(665,553)</box><points>(392,436),(527,455)</points>
| 640 | 480 |
|
refcocog_311090
|
top part of the garlic toast that came with the meal
|
<box>(315,625),(704,822)</box><points>(537,727),(425,744)</points>
| 640 | 480 |
|
refcocog_64492
|
A sheep looking to the left.
|
<box>(390,271),(606,745)</box><points>(517,459),(442,455)</points>
| 353 | 640 |
|
refcocog_453246
|
A woman in a pink and white hat about to go skiing
|
<box>(190,259),(314,751)</box><points>(248,432),(244,548)</points>
| 480 | 640 |
|
refcocog_450041
|
A woman skiier wearing a blue shirt with\ a jacket around her waist
|
<box>(371,206),(526,756)</box><points>(471,546),(470,369)</points>
| 480 | 640 |
|
refcocog_200992
|
A MAN WEARING THE GREEN COLOR DRESS AND A NUMBER DESIGN DRESS HOLDING THE HAND IN BELT
|
<box>(311,198),(428,660)</box><points>(368,348),(352,462)</points>
| 480 | 640 |
|
refcocog_214809
|
a little boy in uniform playing baseball
|
<box>(630,231),(753,737)</box><points>(707,392),(700,492)</points>
| 480 | 640 |
|
refcocog_1062898
|
bunch of carrot
|
<box>(399,334),(721,835)</box><points>(610,612),(578,481)</points>
| 480 | 640 |
|
refcocog_217159
|
A woman in a dark green shirt with white writing.
|
<box>(423,292),(564,837)</box><points>(457,340),(538,805)</points>
| 334 | 500 |
|
refcocog_189871
|
a man playing a video game
|
<box>(222,83),(566,830)</box><points>(360,488),(393,689)</points>
| 334 | 500 |
|
refcocog_38260
|
White bird on beach.
|
<box>(228,266),(562,625)</box><points>(332,448),(402,469)</points>
| 480 | 640 |
|
refcocog_170010
|
the red train in back
|
<box>(0,276),(353,584)</box><points>(0,396),(242,383)</points>
| 480 | 640 |
Seg-Zero Dataset: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement
This repository hosts the training dataset introduced in the paper Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement.
Abstract
Traditional methods for reasoning segmentation rely on supervised fine-tuning with categorical labels and simple descriptions, limiting its out-of-domain generalization and lacking explicit reasoning processes. To address these limitations, we propose Seg-Zero, a novel framework that demonstrates remarkable generalizability and derives explicit chain-of-thought reasoning through cognitive reinforcement. Seg-Zero introduces a decoupled architecture consisting of a reasoning model and a segmentation model. The reasoning model interprets user intentions, generates explicit reasoning chains, and produces positional prompts, which are subsequently used by the segmentation model to generate precious pixel-level masks. We design a sophisticated reward mechanism that integrates both format and accuracy rewards to effectively guide optimization directions. Trained exclusively via reinforcement learning with GRPO and without explicit reasoning data, Seg-Zero achieves robust zero-shot generalization and exhibits emergent test-time reasoning capabilities. Experiments show that Seg-Zero-7B achieves a zero-shot performance of 57.5 on the ReasonSeg benchmark, surpassing the prior LISA-7B by 18%. This significant improvement highlights Seg-Zero's ability to generalize across domains while presenting an explicit reasoning process.
Code and Project Links
- Paper Link: https://huggingface.co/papers/2503.06520
- Code Repository: https://github.com/dvlab-research/Seg-Zero
Dataset Description
This dataset is designed for training and evaluating models on reasoning-chain guided image segmentation tasks. It contains 2000
examples in the train
split, with each entry comprising:
id
: Unique identifier for the sample.problem
: The reasoning problem or question.solution
: The explicit reasoning chain or solution.image
: The input image.img_height
: Height of the image.img_width
: Width of the image.
Key Features of Seg-Zero (Associated Framework)
This dataset supports the Seg-Zero framework, which demonstrates the following key features:
- Emergent Test-Time Reasoning: Seg-Zero exhibits emergent test-time reasoning ability. It generates a reasoning chain before producing the final segmentation mask.
- Reinforcement Learning Only: Seg-Zero is trained exclusively using reinforcement learning, without any explicit supervised reasoning data.
- Superior Generalization: Compared to supervised fine-tuning, Seg-Zero achieves superior performance on both in-domain and out-of-domain data.
Sample Usage
You can load the dataset using the Hugging Face datasets
library:
from datasets import load_dataset
# Load the training split of the Seg-Zero dataset
dataset = load_dataset("Ricky06662/Seg-Zero", split="train")
# Access the first example
print(dataset[0])
# Example of accessing image and problem statement
print(f"Problem: {dataset[0]['problem']}")
dataset[0]['image'].save("first_image.png")
print("First image saved as first_image.png")
Citation
If you find this dataset or the associated work useful, please cite the paper:
@article{liu2025segzero,
title = {Seg-Zero: Reasoning-Chain Guided Segmentation via Cognitive Reinforcement},
author = {Liu, Yuqi and Peng, Bohao and Zhong, Zhisheng and Yue, Zihao and Lu, Fanbin and Yu, Bei and Jia, Jiaya},
journal = {arXiv preprint arXiv:2503.06520},
year = {2025}
}
- Downloads last month
- 50