kbora commited on
Commit
03dfcc8
·
verified ·
1 Parent(s): ae637d7

Release verified evaluation data and paper training annotations

Browse files
LICENSE ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Generated annotations: Creative Commons Attribution 4.0 International (CC BY 4.0).
2
+ Copyright (c) 2026 Bora Kargi, Arnas Uselis, Seong Joon Oh.
3
+
4
+ License terms: https://creativecommons.org/licenses/by/4.0/legalcode
5
+
6
+ This license applies to the authors’ generated annotations. Third-party source captions and images retain their original rights and terms; see README.md.
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: CS-CLIP Training Annotations
4
+ language:
5
+ - en
6
+ tags:
7
+ - image-text-retrieval
8
+ - compositionality
9
+ - clip
10
+ - arxiv:2602.23906
11
+ configs:
12
+ - config_name: default
13
+ data_files:
14
+ - split: train
15
+ path: data/train-*.parquet
16
+ ---
17
+
18
+ # CS-CLIP Training Annotations
19
+
20
+ Prepared training annotations for **[Half-Truths Break Similarity-Based Retrieval](https://arxiv.org/abs/2602.23906)**, NeurIPS 2026. Bora Kargi, Arnas Uselis, Seong Joon Oh.
21
+
22
+ This release contains **410,340 caption records** from the eight annotation files used by the reported CS-CLIP run. All reference COCO `train2014` images. Caption counts are not unique image counts. Images are downloaded separately from COCO.
23
+
24
+ The [verified Half-Truth evaluation dataset](https://huggingface.co/datasets/kbora/Half-Truths) is released separately.
25
+
26
+ ## Train using the original files
27
+
28
+ The archive preserves the training JSON files exactly, including their original field names. The [CS-CLIP repository](https://github.com/kargibora/CS-CLIP) provides training code.
29
+
30
+ ```bash
31
+ hf download kbora/CS-CLIP-Training original/training-json.tar.gz \
32
+ --repo-type dataset --local-dir datasets/CS-CLIP-Training
33
+ mkdir -p datasets/CS-CLIP-Training/json
34
+ tar -xzf datasets/CS-CLIP-Training/original/training-json.tar.gz \
35
+ -C datasets/CS-CLIP-Training/json
36
+ ```
37
+
38
+ `image_path` is relative to the image root, for example `datasets/COCO/train2014/COCO_train2014_000000057870.jpg`. With this directory layout, set `IMAGE_ROOT=.`.
39
+
40
+ ## Browse the annotations
41
+
42
+ ```python
43
+ from datasets import load_dataset
44
+ samples = load_dataset("kbora/CS-CLIP-Training", split="train")
45
+ ```
46
+
47
+ The Parquet view exposes the main training fields in a tabular schema:
48
+
49
+ - `sample_id`, `original_caption`, `image_path`: caption and image references.
50
+ - `entities`: extracted positive units, called `positive_components` in the original JSON.
51
+ - `entity_foils`: rows of `positive`, `negative`, and `change_type`, flattened from `negative_components`.
52
+ - `relations_json`: JSON-encoded relation units and their matched foils, preserving nested source fields.
53
+ - `swap_negatives`: full-caption shuffled negatives.
54
+
55
+ Use the original archive for exact training inputs; the Parquet files are a browsing view. `manifest.json` records each original file's SHA-256 and sample count.
56
+
57
+ ## Construction and limitations
58
+
59
+ The annotations contain automatically generated entity/relation units, matched foils, and shuffled caption negatives. They are **not human-verified training labels**. An image-grounded VLM audit of 1,000 training foils estimated a 24.6% false-negative rate: some nominally incorrect foils are true for the image. The paper's evaluation uses a separate human-verified suite. The training archive is distributed as used, including that noise.
60
+
61
+ ## Source assets and licensing
62
+
63
+ The authors’ generated annotations are released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). This grant covers their contributions, not third-party source captions or images.
64
+
65
+ Source captions and images come from [COCO](https://cocodataset.org/). COCO images are not included in this repository and retain their original rights and terms. An annotation license does not relicense source assets.
66
+
67
+ ## Citation
68
+
69
+ ```bibtex
70
+ @inproceedings{kargi2026halftruths,
71
+ title={Half-Truths Break Similarity-Based Retrieval},
72
+ author={Kargi, Bora and Uselis, Arnas and Oh, Seong Joon},
73
+ booktitle={Advances in Neural Information Processing Systems},
74
+ year={2026},
75
+ url={https://arxiv.org/abs/2602.23906}
76
+ }
77
+ ```
data/train-00.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b251f4e43e5bdced79bf3f4f84023f132a635f73359b6ea06d76d5f6fe209b8
3
+ size 10526069
data/train-01.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cfb3d3f9fd3ffff63d6a922c313ac677563925ff76a877dffe082e04b622df2
3
+ size 10478749
data/train-02.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef1066d199a69df0643bc076d238e078612b116b11d87c730e85f828d9078d7e
3
+ size 10468529
data/train-03.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2b67d38cbaacb47afd4204d5ef91d4895d3c4e68a4fae09670f80f4877d71e0
3
+ size 10497883
data/train-04.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6947fe6b856e5b012b1e487a666760a7628765c93d4905e6acfc398fb7a6645d
3
+ size 10498949
data/train-05.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0398614f51142f10fd8d3bae3f872415620ced698cc7e73d9dc276d358f2540c
3
+ size 10471675
data/train-06.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9332d1108239ee0624212e674f5463b8fcaa3eaa67299458e77a684831da731d
3
+ size 8912879
data/train-07.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e0279c864b35f9e4b2fbd1e41ce3416c039e1bc2a0666645ff18c28283780d
3
+ size 10463509
manifest.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "files": [
3
+ {
4
+ "name": "coco-train-0-51765_unified.json",
5
+ "sha256": "5437604b7c5bd1322c184426ff26c98dc6338a383ba5bbd3cc78cad13d3c9e01",
6
+ "num_samples": 51220
7
+ },
8
+ {
9
+ "name": "coco-train-103530-155295_unified.json",
10
+ "sha256": "5bc1d7cebfe5789977a832bf13d6494c15ecb6c6bb4a08c6fd54a813256346bd",
11
+ "num_samples": 51294
12
+ },
13
+ {
14
+ "name": "coco-train-155295-207060_unified.json",
15
+ "sha256": "5b1e965557e8d845c5a7f7010cf1778ab478ea120449aee55bea683c22b55546",
16
+ "num_samples": 51194
17
+ },
18
+ {
19
+ "name": "coco-train-207060-258825_unified.json",
20
+ "sha256": "2d6ef670d050e2a5b36efbb55c3398ef11b52e0343809326feba23d79623fc11",
21
+ "num_samples": 51242
22
+ },
23
+ {
24
+ "name": "coco-train-258825-310590_unified.json",
25
+ "sha256": "66e82e6282d7a6b53f6c74c99d723b7e01e30382e66837d51af35d3759c850ce",
26
+ "num_samples": 51218
27
+ },
28
+ {
29
+ "name": "coco-train-310590-362355_unified.json",
30
+ "sha256": "daa110faef297a75b96d44213d38818023c2dda3c774673802f7a52da6eba722",
31
+ "num_samples": 51230
32
+ },
33
+ {
34
+ "name": "coco-train-362355-414113_unified.json",
35
+ "sha256": "534942056c1d35f18c4e7b130eb0165d9abc9bf70a72ceb0ca5a5786c5c39916",
36
+ "num_samples": 51709
37
+ },
38
+ {
39
+ "name": "coco-train-51765-103530_unified.json",
40
+ "sha256": "92060adcac0ab06b7637eaec9de263b99cda674f111502202d821011926bde85",
41
+ "num_samples": 51233
42
+ }
43
+ ],
44
+ "num_samples": 410340,
45
+ "image_splits": {
46
+ "train2014": 410340
47
+ }
48
+ }
original/training-json.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624cafd7a523ec1fcd5c19bc6271ef154e17ce7d62ea9603e70121c2dcbc8353
3
+ size 72278654