Datasets:
Release FOTBCD-CC caption annotations
Browse files- README.md +157 -0
- SHA256SUMS +5 -0
- data/test-00000-of-00001.parquet +3 -0
- data/train-00000-of-00001.parquet +3 -0
- data/val-00000-of-00001.parquet +3 -0
- dataset-statistics.json +30 -0
- provenance.json +17 -0
README.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: FOTBCD-CC
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
annotations_creators:
|
| 7 |
+
- machine-generated
|
| 8 |
+
task_categories:
|
| 9 |
+
- image-to-text
|
| 10 |
+
tags:
|
| 11 |
+
- image
|
| 12 |
+
- text
|
| 13 |
+
- geospatial
|
| 14 |
+
- remote-sensing
|
| 15 |
+
- aerial-imagery
|
| 16 |
+
- change-detection
|
| 17 |
+
- change-captioning
|
| 18 |
+
- temporal
|
| 19 |
+
- parquet
|
| 20 |
+
- arxiv:2601.22596
|
| 21 |
+
size_categories:
|
| 22 |
+
- 100K<n<1M
|
| 23 |
+
configs:
|
| 24 |
+
- config_name: default
|
| 25 |
+
data_files:
|
| 26 |
+
- split: train
|
| 27 |
+
path: data/train-*.parquet
|
| 28 |
+
- split: validation
|
| 29 |
+
path: data/val-*.parquet
|
| 30 |
+
- split: test
|
| 31 |
+
path: data/test-*.parquet
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# FOTBCD-CC
|
| 35 |
+
|
| 36 |
+
FOTBCD-CC adds natural-language change descriptions to the before-and-after aerial image pairs in [FOTBCD](https://huggingface.co/datasets/abdevd/FOTBCD). It contains **321,200 English captions for 223,675 temporal pairs** covering 28 departments across mainland France.
|
| 37 |
+
|
| 38 |
+
This repository contains the caption annotations only. The corresponding images remain in FOTBCD and are linked through a pinned dataset revision, shard path, and WebDataset sample key. The imagery is not duplicated here.
|
| 39 |
+
|
| 40 |
+
## Dataset summary
|
| 41 |
+
|
| 42 |
+
| Split | Temporal pairs | Captions | Durable change | No durable change |
|
| 43 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 44 |
+
| Train | 221,712 | 318,162 | 132,720 | 88,992 |
|
| 45 |
+
| Validation | 984 | 1,532 | 704 | 280 |
|
| 46 |
+
| Test | 979 | 1,506 | 692 | 287 |
|
| 47 |
+
| **Total** | **223,675** | **321,200** | **134,116** | **89,559** |
|
| 48 |
+
|
| 49 |
+
Every pair has between one and five captions. Captions average 26.13 words.
|
| 50 |
+
|
| 51 |
+
## Annotation format
|
| 52 |
+
|
| 53 |
+
Each row represents one before-and-after pair:
|
| 54 |
+
|
| 55 |
+
| Field | Description |
|
| 56 |
+
| --- | --- |
|
| 57 |
+
| `sample_id` | Globally unique split and sample identifier |
|
| 58 |
+
| `split` | `train`, `val`, or `test` |
|
| 59 |
+
| `image_id` | Image-pair ID from FOTBCD |
|
| 60 |
+
| `sample_key` | Key used inside the FOTBCD WebDataset shard |
|
| 61 |
+
| `image_shard` | Path of the corresponding TAR shard in FOTBCD |
|
| 62 |
+
| `before_member` / `after_member` | Image member names inside that shard |
|
| 63 |
+
| `department` | French department code |
|
| 64 |
+
| `before_year` / `after_year` | Acquisition years |
|
| 65 |
+
| `epsg` | Spatial reference identifier; all samples use EPSG:2154 |
|
| 66 |
+
| `crop_stratum` | Sampling stratum used during caption generation |
|
| 67 |
+
| `patch_category` | Patch category from FOTBCD |
|
| 68 |
+
| `building_annotation_count` | Number of FOTBCD building instances in the pair |
|
| 69 |
+
| `durable_change` | Whether the captioner identified a lasting physical change |
|
| 70 |
+
| `captions` | One to five generated descriptions |
|
| 71 |
+
| `caption_count` | Number of descriptions in `captions` |
|
| 72 |
+
|
| 73 |
+
The published Parquet files intentionally exclude inference-only logs such as latency, token usage, retries, duplicated raw responses, and empty error fields.
|
| 74 |
+
|
| 75 |
+
## Durable change
|
| 76 |
+
|
| 77 |
+
A durable change is a lasting physical alteration visible between the two dates, such as construction, demolition, a new paved road, an expanded building, or cleared woodland converted to another use.
|
| 78 |
+
|
| 79 |
+
Differences caused only by shadows, parked vehicles, seasonal vegetation, cultivation cycles, or surface appearance are treated as no durable change. No-change rows still contain a scene description.
|
| 80 |
+
|
| 81 |
+
## Load the captions
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
|
| 86 |
+
dataset = load_dataset("abdevd/FOTBCD-CC")
|
| 87 |
+
row = dataset["train"][0]
|
| 88 |
+
|
| 89 |
+
print(row["durable_change"])
|
| 90 |
+
print(row["captions"])
|
| 91 |
+
print(row["image_shard"], row["sample_key"])
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Join captions with the FOTBCD images
|
| 95 |
+
|
| 96 |
+
The Parquet rows point to the exact WebDataset shards and members in the pinned FOTBCD revision:
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
from datasets import load_dataset
|
| 100 |
+
import webdataset as wds
|
| 101 |
+
|
| 102 |
+
BASE_REVISION = "92b677c881f0d973d76460204431c711ccbac25b"
|
| 103 |
+
BASE_URL = (
|
| 104 |
+
"https://huggingface.co/datasets/abdevd/FOTBCD/resolve/"
|
| 105 |
+
f"{BASE_REVISION}/"
|
| 106 |
+
)
|
| 107 |
+
|
| 108 |
+
captions = load_dataset("abdevd/FOTBCD-CC", split="train")
|
| 109 |
+
caption_by_key = {row["sample_key"]: row for row in captions}
|
| 110 |
+
shards = sorted({BASE_URL + row["image_shard"] for row in captions})
|
| 111 |
+
|
| 112 |
+
images = wds.WebDataset(shards, shardshuffle=True).decode("pil")
|
| 113 |
+
|
| 114 |
+
for sample in images:
|
| 115 |
+
annotation = caption_by_key[sample["__key__"]]
|
| 116 |
+
before_image = sample["before.png"]
|
| 117 |
+
after_image = sample["after.png"]
|
| 118 |
+
pair_captions = annotation["captions"]
|
| 119 |
+
# Train or evaluate your model here.
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
Install the required libraries with:
|
| 123 |
+
|
| 124 |
+
```bash
|
| 125 |
+
pip install datasets webdataset pillow
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
## Generation process
|
| 129 |
+
|
| 130 |
+
The full annotations were generated by a Qwen3-VL-8B model adapted from Qwen3.8-Max teacher outputs.
|
| 131 |
+
|
| 132 |
+
Qwen3.8-Max first annotated a selected teacher set of 19,997 temporal pairs, producing 29,447 captions. Those responses and durable-change decisions were then used for supervised LoRA response distillation into Qwen3-VL-8B. During fine-tuning, the vision tower and visual aligner were frozen while the language model was adapted. The resulting model was served through vLLM to annotate all 223,675 FOTBCD pairs.
|
| 133 |
+
|
| 134 |
+
The student examines the complete before-and-after crops, predicts whether a durable change occurred, and produces one or more descriptions of the visible events or stable scene. Global annotation provenance, including the prompt hash, is recorded in `provenance.json` rather than repeated in every Parquet row.
|
| 135 |
+
|
| 136 |
+
The source JSONL contained one successful, valid response for every FOTBCD pair. Before export, all 223,675 split/image identifiers and image paths were checked against the FOTBCD manifests. No missing pairs, duplicate keys, path mismatches, invalid responses, empty caption lists, or blank captions were found.
|
| 137 |
+
|
| 138 |
+
## Licensing
|
| 139 |
+
|
| 140 |
+
The FOTBCD-CC caption annotations are licensed under **CC BY 4.0**.
|
| 141 |
+
|
| 142 |
+
The corresponding imagery and building data are provided by the **Institut national de l’information géographique et forestière** through BD ORTHO and BD TOPO, under the [Etalab Open Licence 2.0](https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf). See the [FOTBCD dataset card](https://huggingface.co/datasets/abdevd/FOTBCD) for the base dataset's documentation and attribution.
|
| 143 |
+
|
| 144 |
+
## Citation
|
| 145 |
+
|
| 146 |
+
When using the paired FOTBCD imagery, please cite:
|
| 147 |
+
|
| 148 |
+
```bibtex
|
| 149 |
+
@article{moubane2026fotbcd,
|
| 150 |
+
title = {FOTBCD: A Large-Scale Building Change Detection Benchmark from French Orthophotos and Topographic Data},
|
| 151 |
+
author = {Moubane, Abdelrrahman},
|
| 152 |
+
journal = {arXiv preprint arXiv:2601.22596},
|
| 153 |
+
year = {2026},
|
| 154 |
+
url = {https://arxiv.org/abs/2601.22596}
|
| 155 |
+
}
|
| 156 |
+
```
|
| 157 |
+
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
9e4ba80359813a2e56a73195b876d54669f718b4ea2228e2cb4897ee04649ebd data/train-00000-of-00001.parquet
|
| 2 |
+
ab460b0a38bd37f8fa1e01cd1f87873f0956a2c02e56b0018bcc491c36f6cee0 data/val-00000-of-00001.parquet
|
| 3 |
+
b420f91c61509276991ef3013075888a20cf01acc69a0174896b319311150356 data/test-00000-of-00001.parquet
|
| 4 |
+
566860e64dfc0a346eb0ca7b07e36d77434d8cdadcbf21625ff25920a4810d27 dataset-statistics.json
|
| 5 |
+
0aecaa8c932bda8a5e64b895ffbc9eec589a515055962f73e84c2b6fe75658e4 provenance.json
|
data/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b420f91c61509276991ef3013075888a20cf01acc69a0174896b319311150356
|
| 3 |
+
size 60810
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e4ba80359813a2e56a73195b876d54669f718b4ea2228e2cb4897ee04649ebd
|
| 3 |
+
size 9513320
|
data/val-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab460b0a38bd37f8fa1e01cd1f87873f0956a2c02e56b0018bcc491c36f6cee0
|
| 3 |
+
size 61076
|
dataset-statistics.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_dataset": "abdevd/FOTBCD",
|
| 3 |
+
"base_revision": "92b677c881f0d973d76460204431c711ccbac25b",
|
| 4 |
+
"splits": {
|
| 5 |
+
"train": {
|
| 6 |
+
"pairs": 221712,
|
| 7 |
+
"captions": 318162,
|
| 8 |
+
"durable_change_true": 132720,
|
| 9 |
+
"durable_change_false": 88992
|
| 10 |
+
},
|
| 11 |
+
"val": {
|
| 12 |
+
"pairs": 984,
|
| 13 |
+
"captions": 1532,
|
| 14 |
+
"durable_change_true": 704,
|
| 15 |
+
"durable_change_false": 280
|
| 16 |
+
},
|
| 17 |
+
"test": {
|
| 18 |
+
"pairs": 979,
|
| 19 |
+
"captions": 1506,
|
| 20 |
+
"durable_change_true": 692,
|
| 21 |
+
"durable_change_false": 287
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"totals": {
|
| 25 |
+
"pairs": 223675,
|
| 26 |
+
"captions": 321200,
|
| 27 |
+
"durable_change_true": 134116,
|
| 28 |
+
"durable_change_false": 89559
|
| 29 |
+
}
|
| 30 |
+
}
|
provenance.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"annotation_type": "machine-generated",
|
| 3 |
+
"base_dataset": "abdevd/FOTBCD",
|
| 4 |
+
"base_revision": "92b677c881f0d973d76460204431c711ccbac25b",
|
| 5 |
+
"annotator_base_model": "Qwen3-VL-8B",
|
| 6 |
+
"teacher_model": "Qwen3.8-Max",
|
| 7 |
+
"teacher_pairs": 19997,
|
| 8 |
+
"teacher_captions": 29447,
|
| 9 |
+
"distillation_method": "supervised LoRA response distillation",
|
| 10 |
+
"training": {
|
| 11 |
+
"vision_tower": "frozen",
|
| 12 |
+
"visual_aligner": "frozen",
|
| 13 |
+
"language_model": "adapted with LoRA"
|
| 14 |
+
},
|
| 15 |
+
"bulk_inference_backend": "vLLM",
|
| 16 |
+
"prompt_sha256": "f27ab2cfdaa0cd237b814d7dfabb5b265f94a2ad7a5bd9afdb41c2119b8919ee"
|
| 17 |
+
}
|