Incorporate methodological summary strictly matching the paper draft
Browse files
README.md
CHANGED
|
@@ -1,66 +1,20 @@
|
|
| 1 |
-
---
|
| 2 |
-
configs:
|
| 3 |
-
- config_name: coco
|
| 4 |
-
data_files:
|
| 5 |
-
- split: test
|
| 6 |
-
path: coco/test-*
|
| 7 |
-
- config_name: flickr30k
|
| 8 |
-
data_files:
|
| 9 |
-
- split: test
|
| 10 |
-
path: flickr30k/test-*
|
| 11 |
-
dataset_info:
|
| 12 |
-
- config_name: coco
|
| 13 |
-
features:
|
| 14 |
-
- name: image
|
| 15 |
-
dtype: image
|
| 16 |
-
- name: split
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: sentences
|
| 19 |
-
list: string
|
| 20 |
-
- name: sentids
|
| 21 |
-
list: int64
|
| 22 |
-
- name: rare_classes
|
| 23 |
-
list:
|
| 24 |
-
list: string
|
| 25 |
-
splits:
|
| 26 |
-
- name: test
|
| 27 |
-
num_bytes: 588606142
|
| 28 |
-
num_examples: 3089
|
| 29 |
-
download_size: 575320921
|
| 30 |
-
dataset_size: 588606142
|
| 31 |
-
- config_name: flickr30k
|
| 32 |
-
features:
|
| 33 |
-
- name: image
|
| 34 |
-
dtype: image
|
| 35 |
-
- name: split
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: sentences
|
| 38 |
-
list: string
|
| 39 |
-
- name: sentids
|
| 40 |
-
list: int64
|
| 41 |
-
- name: rare_classes
|
| 42 |
-
list:
|
| 43 |
-
list: string
|
| 44 |
-
splits:
|
| 45 |
-
- name: test
|
| 46 |
-
num_bytes: 362160915
|
| 47 |
-
num_examples: 2477
|
| 48 |
-
download_size: 375495886
|
| 49 |
-
dataset_size: 362160915
|
| 50 |
-
---
|
| 51 |
-
|
| 52 |
# LARE: Dense-Set
|
| 53 |
|
| 54 |
-
**Dense-Set** is a benchmark
|
| 55 |
|
| 56 |
-
This dataset is the official benchmark published alongside our
|
| 57 |
|
| 58 |
> **LARE: Low-Attention Region Encoding for Text–Image Retrieval**<br>
|
| 59 |
> *Accepted at the [CVPR 2026 MULA Workshop](https://mula-workshop.github.io/)*
|
| 60 |
|
| 61 |
-
## Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
-
|
| 64 |
|
| 65 |
| Dataset | Split | # Images | Avg. Objects | Avg. # Classes |
|
| 66 |
| :--- | :--- | :--- | :--- | :--- |
|
|
@@ -71,16 +25,9 @@ The LARE Dense-Set specifically isolates crowded scenes with complex local attri
|
|
| 71 |
| | *High-Density Subset* | 3,178 | 19.40 | 4.38 |
|
| 72 |
| | **Dense-Set** | **2,477** | **19.55** | **4.85** |
|
| 73 |
|
| 74 |
-
##
|
| 75 |
-
|
| 76 |
-
You can explore the two individual subsets cleanly separated using the dropdown menu at the top of the Hugging Face Dataset Viewer! All subset images are natively hosted on this repository, allowing visual exploration of the `rare_classes` mapping algorithms directly on the Hub.
|
| 77 |
-
|
| 78 |
-
- **`coco`**: 3,089 images with dense captions and localized rare-class mappings.
|
| 79 |
-
- **`flickr30k`**: 2,477 images with dense captions and localized rare-class mappings.
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
Hugging Face's `datasets` library handles downloading the targeted metadata configs natively:
|
| 84 |
|
| 85 |
```python
|
| 86 |
from datasets import load_dataset
|
|
@@ -93,3 +40,16 @@ flickr_ds = load_dataset("AbdulmalekDS/Dense-Set", "flickr30k")
|
|
| 93 |
|
| 94 |
print(coco_ds["test"][0])
|
| 95 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# LARE: Dense-Set
|
| 2 |
|
| 3 |
+
**Dense-Set** is a curated benchmark of visually dense scenes tailored for text-to-image retrieval. It provides challenging evaluation subsets extracted from MS-COCO and Flickr30K, containing crowded images with multiple object instances and underrepresented, low-attention classes.
|
| 4 |
|
| 5 |
+
This dataset is the official benchmark published alongside our paper:
|
| 6 |
|
| 7 |
> **LARE: Low-Attention Region Encoding for Text–Image Retrieval**<br>
|
| 8 |
> *Accepted at the [CVPR 2026 MULA Workshop](https://mula-workshop.github.io/)*
|
| 9 |
|
| 10 |
+
## Dataset Construction & Re-captioning
|
| 11 |
+
|
| 12 |
+
Dense-Set was constructed through an automated pipeline carefully designed to emphasize objects traditional vision-language models overlook:
|
| 13 |
+
1. **High-Density Filtering**: Images were processed using a YOLO object detector. We ranked images by total object count and isolated the top 10% to create a high-density candidate pool.
|
| 14 |
+
2. **Rare-Class Isolation**: Within the dense pool, we identified "rare classes" at the image level—defined as object categories appearing exactly once in a given image.
|
| 15 |
+
3. **BLIP-2 Re-captioning**: To shift the textual focus away from general scene context, we filtered out rare-class detections occupying >15% of the image area. We then prompted BLIP-2 with class-aware templates to explicitly describe these small or underrepresented objects, producing highly challenging, fine-grained captions.
|
| 16 |
|
| 17 |
+
## Dataset Statistics
|
| 18 |
|
| 19 |
| Dataset | Split | # Images | Avg. Objects | Avg. # Classes |
|
| 20 |
| :--- | :--- | :--- | :--- | :--- |
|
|
|
|
| 25 |
| | *High-Density Subset* | 3,178 | 19.40 | 4.38 |
|
| 26 |
| | **Dense-Set** | **2,477** | **19.55** | **4.85** |
|
| 27 |
|
| 28 |
+
## Loading the Data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
You can explore the two individual subsets cleanly separated using the dropdown menu at the top of the Hugging Face Dataset Viewer. All subset images are natively hosted on this repository within a Parquet structure.
|
|
|
|
|
|
|
| 31 |
|
| 32 |
```python
|
| 33 |
from datasets import load_dataset
|
|
|
|
| 40 |
|
| 41 |
print(coco_ds["test"][0])
|
| 42 |
```
|
| 43 |
+
|
| 44 |
+
## Citation
|
| 45 |
+
|
| 46 |
+
*Our camera-ready paper will be available shortly. Please use the following citation placeholder in the meantime:*
|
| 47 |
+
|
| 48 |
+
```bibtex
|
| 49 |
+
@inproceedings{lare2026,
|
| 50 |
+
title={LARE: Low-Attention Region Encoding for Text–Image Retrieval},
|
| 51 |
+
author={Anonymous},
|
| 52 |
+
booktitle={CVPR MULA Workshop},
|
| 53 |
+
year={2026}
|
| 54 |
+
}
|
| 55 |
+
```
|