CoolFace
Datasetpublic

shredder-31/contextualized-viscot

Contextualized Visual-CoT A re-annotation of deepcs233/Visual-CoT. Same 434,265 rows, same files, same keys, same order. The only field that changes is bboxs. Why Visual-CoT's boxes are drawn tight around the literal answer span. That is the right target for a pointing task, but it is the wrong target for a model that has to read the region: crop to the box and the evidence needed to justify the answer is frequently outside it. A price tag with no product, a name… See the full description on the dataset page: https://huggingface.co/datasets/shredder-31/contextualized-viscot.

sourceHugging Faceapache-2.0updated 28d agoView on Hugging Face
0likes379downloads
Dataset Card

Contextualized Visual-CoT

A re-annotation of deepcs233/Visual-CoT. Same 434,265 rows, same files, same keys, same order. The only field that changes is bboxs.

Why

Visual-CoT's boxes are drawn tight around the literal answer span. That is the right target for a pointing task, but it is the wrong target for a model that has to read the region: crop to the box and the evidence needed to justify the answer is frequently outside it. A price tag with no product, a name with no column header, a face with no sign it is standing next to. The mean box covers 14.6% of the image.

What we did

  1. 1.Re-annotate with a 27B VLM. Every row was shown to Qwen/Qwen3.8-27B together with its question and its gold answer, and asked for the region a reader would need in order to justify that answer -- not the region the answer occupies. Greedy decoding, thinking enabled, one image per prompt.
  2. 2.Union with the original box. The shipped box is the tightest box containing both the model's box and Visual-CoT's box. This is the safety property: the new region is guaranteed to contain everything the original annotation contained, so no ground-truth evidence can be lost by switching to this version.
  3. 3.1% padding. A small margin on each side, so tight crops do not shave glyph edges. Measured at 1.04x area on average -- the growth below is the model's contribution, not the padding's.

The model answered 99.8% of rows with a strictly larger region. Boxes are pixel [x0, y0, x1, y1], one per row, in the source image's own resolution.

Area growth by subset

old/new are mean box area as a share of the image.

subsetrowsold areanew areagrowthgrew>=2xscored
cub10,05635.01%38.81%1.11x100.0%0.5%100.0%
docvqa33,4535.41%10.63%1.96x100.0%80.8%100.0%
dude11,7352.66%11.69%4.40x99.4%89.7%100.0%
flickr30k135,73514.42%46.24%3.21x100.0%70.1%100.0%
gqa98,14918.02%35.14%1.95x99.6%56.5%100.0%
infographicsvqa15,0558.82%22.73%2.58x100.0%81.4%100.0%
openimages43,05321.93%40.39%1.84x100.0%53.6%100.0%
sroie2,4869.33%15.02%1.61x100.0%68.2%100.0%
textcap32,1524.30%17.05%3.97x100.0%82.6%100.0%
textvqa18,5244.40%15.08%3.43x100.0%80.0%100.0%
visual7w30,49119.69%41.01%2.08x99.3%58.3%100.0%
vsr3,37636.80%66.15%1.80x99.4%47.2%100.0%
all434,26514.59%34.61%2.37x99.8%65.9%100.0%

Files

filerowsnotes
metadata/<subset>_cot_train.jsonl434,265official schema, bboxs replaced
viscot_363k.json404,120LLaVA-format training file, boxes rewritten in both the image field and the assistant turn

Images are not mirrored here -- they are 131 GB and byte-identical to upstream. Filenames, directory layout and resolutions are unchanged, so the official archive drops straight in:

bash
hf download deepcs233/Visual-CoT --repo-type dataset \
    --include "cot_images_tar_split/*" --local-dir .
cat cot_images_tar_split/cot_images_* > cot_images.tar
tar -xf cot_images.tar          # -> cot_image_data/

A row's image is relative to cot_image_data/<dir>/, where <dir> is the subset name except for two aliases that upstream also uses:

subsetimage directory
textcapcot_image_data/textvqa/
visual7wcot_image_data/v7w/
python
import json
from pathlib import Path
from PIL import Image

ALIAS = {"textcap": "textvqa", "visual7w": "v7w"}
subset = "gqa"
row = json.loads(open(f"metadata/{subset}_cot_train.jsonl").readline())
img = Image.open(Path("cot_image_data") / ALIAS.get(subset, subset) / row["image"])
crop = img.crop(row["bboxs"][0])          # the contextualized region

Schema

Every key of the official file is preserved verbatim. bboxs holds the new box. Six keys are appended:

keytypemeaning
bboxs_origlist[list[int]]Visual-CoT's original boxes, so the change is reversible
bbox_modellist[int]the 27B's raw answer, before the union and the padding
area_origfloatoriginal area as a percent of the image, 0-100
area_newfloatshipped area as a percent of the image, 0-100
reboxboolfalse if the model failed to answer and the original box was kept
scorefloat \nullteacher reranker score, see below

score

The relevance score Qwen/Qwen3-VL-Reranker-8B assigns to this row's (question, image) pair -- P(yes) / (P(yes) + P(no)), in [0, 1]. It is a distillation target for training rerankers, and is unrelated to the boxes; it is carried here so the two signals stay in one file. null where the teacher was not run.

Examples

Green is viscot's annotation, blue is what the 27B answered, red is the union of the two plus 1% padding, which is what ships as bboxs.

5 rows sampled per bin, seed 0.

growthrowsshare
1x-1.25x79,30618.3%
1.25x-2x68,69015.8%
2x-5x105,48424.3%
5x-20x102,55223.6%
20x-100x57,90813.3%
100x and up20,1144.6%

1x-1.25x

openimages &middot; 4f39f3e84f3b23ea.jpg &middot; 678x1024 &middot; 16.53% -> 18.40% (1.1x)

Q: What the flowerpot contain? A: houseplant

openimages 0

gqa &middot; 2374980.jpg &middot; 500x416 &middot; 31.41% -> 34.59% (1.1x)

Q: Who is wearing the shirt? A: man

gqa 1

gqa &middot; 2415947.jpg &middot; 500x281 &middot; 8.52% -> 10.16% (1.2x)

Q: Who is posing? A: woman

gqa 2

flickr30k &middot; 3722572342.jpg &middot; 500x281 &middot; 35.68% -> 38.59% (1.1x)

Q: What color is the boat that is racing across the water? A: The boat racing across the water is red.

flickr30k 3

gqa &middot; 2331173.jpg &middot; 500x400 &middot; 63.49% -> 66.64% (1.0x)

Q: Where is the bus? A: street

gqa 4

1.25x-2x

flickr30k &middot; 6867047990.jpg &middot; 500x352 &middot; 9.16% -> 11.54% (1.3x)

Q: Does the snowboard in the picture bear any identification marks? A: Yes, the snowboard has a number "five" on it, which identifies the participant as number five in the event.

flickr30k 0

textcap &middot; cbbb5f9ae87db50e.jpg &middot; 1024x324 &middot; 10.14% -> 14.30% (1.4x)

Q: Who is the author of the book depicted in the image? A: Barbara Morgenroth

textcap 1

textcap &middot; 0a560c1b654b9f5d.jpg &middot; 1024x768 &middot; 21.78% -> 33.11% (1.5x)

Q: What is the name of the bookstore indicated by the sign in the image? A: TATTERED COVER BOOK STORE

textcap 2

textcap &middot; c68902d41ebb191f.jpg &middot; 781x1024 &middot; 3.39% -> 5.16% (1.5x)

Q: What is the bold word at the top of the page in the book? A: STATUTA

textcap 3

flickr30k &middot; 4859995088.jpg &middot; 500x400 &middot; 1.05% -> 2.02% (1.9x)

Q: Is the man wearing any headgear, and if so, what kind? A: Yes, he is wearing a baseball cap.

flickr30k 4

2x-5x

flickr30k &middot; 2070067282.jpg &middot; 500x325 &middot; 6.40% -> 23.13% (3.6x)

Q: Is the man wearing anything distinctive while he is picking up his food? A: Yes, the man is wearing jeans.

flickr30k 0

visual7w &middot; v7w_2412450.jpg &middot; 374x500 &middot; 4.88% -> 20.64% (4.2x)

Q: What is the man standing on? A: Skis.

visual7w 1

docvqa &middot; rsdw0217_2.png &middot; 2310x1700 &middot; 0.09% -> 0.30% (3.4x)

Q: What is the date on the document? A: 1/12/04

docvqa 2

docvqa &middot; rpbw0217_1.png &middot; 1713x2290 &middot; 0.89% -> 2.01% (2.3x)

Q: What is the title of the document? A: premarin publication/presentation planning meeting

docvqa 3

gqa &middot; 2389469.jpg &middot; 500x375 &middot; 7.61% -> 20.16% (2.7x)

Q: What is inside the brick building? A: curtains

gqa 4

5x-20x

flickr30k &middot; 3999246475.jpg &middot; 333x500 &middot; 5.27% -> 100.00% (19.0x)

Q: What is the general setting and atmosphere depicted in the photo? A: The general setting is a city park where a crowd has gathered, with a vibe of a casual outdoor entertainment event.

flickr30k 0

openimages &middot; 2b44d7d2a50270c5.jpg &middot; 1024x768 &middot; 0.94% -> 5.20% (5.5x)

Q: What the smiling woman wears? A: sunglasses

openimages 1

gqa &middot; 888.jpg &middot; 700x468 &middot; 10.50% -> 64.74% (6.2x)

Q: What is the vehicle to the left of the bag that is to the left of the bags called? A: car

gqa 2

gqa &middot; 2317763.jpg &middot; 334x500 &middot; 0.32% -> 5.28% (16.3x)

Q: What is on the shelf? A: towel

gqa 3

textvqa &middot; 6d1b0a17db413538.jpg &middot; 1024x768 &middot; 0.66% -> 4.84% (7.3x)

Q: what is this planes id number? A: 210855

textvqa 4

20x-100x

textcap &middot; 2786961fb55edf85.jpg &middot; 1024x768 &middot; 0.12% -> 9.99% (82.6x)

Q: What numerical distance is mentioned on the man's sweatshirt? A: 100

textcap 0

openimages &middot; 1175d8bff1af0ef6.jpg &middot; 768x1024 &middot; 0.60% -> 24.80% (41.5x)

Q: What the standing man wears? A: glasses

openimages 1

textcap &middot; 00548dfc8ec76f5d.jpg &middot; 1024x576 &middot; 0.26% -> 25.16% (97.9x)

Q: Can you tell me the name of the store in front of which the bikes are lined up? A: Bershka

textcap 2

gqa &middot; 2362928.jpg &middot; 500x333 &middot; 1.72% -> 39.52% (23.0x)

Q: What animal is on the plate in the middle? A: dog

gqa 3

flickr30k &middot; 3388836914.jpg &middot; 400x500 &middot; 2.70% -> 70.07% (26.0x)

Q: What is the female tennis player about to do with her tennis racquet? A: The female tennis player is about to take a swing with her tennis racquet.

flickr30k 4

100x and up

textcap &middot; ba85e1cf82ed971e.jpg &middot; 1024x575 &middot; 0.22% -> 35.96% (165.0x)

Q: What is the blue bin intended to be used for? A: RECYCLING

textcap 0

docvqa &middot; rrnc0227_33.png &middot; 1689x2184 &middot; 0.04% -> 7.79% (185.4x)

Q: what is the no. of examined in Karachi Navy? A: 173

docvqa 1

infographicsvqa &middot; 32189.jpeg &middot; 975x2116 &middot; 0.05% -> 5.20% (104.0x)

Q: Which genre is represented by heart symbol? A: ROMANCE

infographicsvqa 2

infographicsvqa &middot; 31051.jpeg &middot; 2280x3300 &middot; 0.05% -> 15.28% (288.3x)

Q: Which age group has least gender pay gap percentage in Australia as of 4 September 2017? A: 20 & under

infographicsvqa 3

gqa &middot; 2402009.jpg &middot; 500x500 &middot; 0.59% -> 64.00% (108.7x)

Q: What kind of food are the strawberries covered by? A: chocolate

gqa 4