update dataset card
Browse files
README.md
CHANGED
|
@@ -10,58 +10,40 @@ configs:
|
|
| 10 |
path: flickr30k/test-*
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
| 14 |
|
| 15 |
-
**Dense-Set** is a curated benchmark of visually dense scenes
|
| 16 |
|
| 17 |
-
This dataset is
|
| 18 |
|
| 19 |
-
> **LARE: Low-Attention Region Encoding for Text–Image Retrieval**
|
| 20 |
-
>
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
##
|
| 23 |
|
| 24 |
-
Dense-Set was
|
| 25 |
-
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.
|
| 26 |
-
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.
|
| 27 |
-
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.
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
| Dataset | Split | # Images | Avg. Objects | Avg. # Classes |
|
| 32 |
-
| :--- | :--- |
|
| 33 |
-
| **
|
| 34 |
-
| |
|
| 35 |
| | **Dense-Set** | **3,089** | **21.63** | **5.47** |
|
| 36 |
-
| **Flickr30K** |
|
| 37 |
-
| |
|
| 38 |
| | **Dense-Set** | **2,477** | **19.55** | **4.85** |
|
| 39 |
|
| 40 |
-
##
|
| 41 |
-
|
| 42 |
-
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.
|
| 43 |
-
|
| 44 |
-
```python
|
| 45 |
-
from datasets import load_dataset
|
| 46 |
-
|
| 47 |
-
# Load COCO Dense-Set
|
| 48 |
-
coco_ds = load_dataset("AbdulmalekDS/Dense-Set", "coco")
|
| 49 |
|
| 50 |
-
# Load Flickr30k Dense-Set
|
| 51 |
-
flickr_ds = load_dataset("AbdulmalekDS/Dense-Set", "flickr30k")
|
| 52 |
|
| 53 |
-
print(coco_ds["test"][0])
|
| 54 |
-
```
|
| 55 |
|
| 56 |
## Citation
|
| 57 |
|
| 58 |
-
*Please use the following citation to reference the LARE Dense-Set benchmark:*
|
| 59 |
|
| 60 |
-
```bibtex
|
| 61 |
-
@inproceedings{alquwayfili2026lare,
|
| 62 |
-
title={LARE: Low-Attention Region Encoding for Text--Image Retrieval},
|
| 63 |
-
author={Abdulmalik Alquwayfili and Faisal Almeshal and Jumanah Almajnouni and Leena Alotaibi and Huda Alamri and Muhammad Kamran J Khan},
|
| 64 |
-
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
|
| 65 |
-
year={2026}
|
| 66 |
-
}
|
| 67 |
-
```
|
|
|
|
| 10 |
path: flickr30k/test-*
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Dense-Set
|
| 14 |
|
| 15 |
+
**Dense-Set** is a curated benchmark of visually dense scenes for text-to-image retrieval evaluation. It provides challenging subsets extracted from COCO and Flickr30K, focusing on crowded images with multiple object instances and underrepresented, low-attention classes.
|
| 16 |
|
| 17 |
+
This dataset is published alongside:
|
| 18 |
|
| 19 |
+
> **LARE: Low-Attention Region Encoding for Text–Image Retrieval**
|
| 20 |
+
> Abdulmalik Alquwayfili, Faisal Almeshal, Jumanah Almajnouni, Leena Alotaibi, Huda Alamri, Muhammad Kamran J Khan
|
| 21 |
+
> *CVPR 2026 — [MULA Workshop](https://mula-workshop.github.io/)*
|
| 22 |
+
> [Project Page](https://falmeshal.github.io/LARE/) | [Code](https://github.com/AbdulmalikDS/LARE)
|
| 23 |
|
| 24 |
+
## Construction
|
| 25 |
|
| 26 |
+
Dense-Set was built through a three-stage pipeline designed to surface objects that standard vision-language models overlook:
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
+
1. **High-Density Filtering** — Images processed with YOLO, ranked by total object count, top 10% retained as the high-density candidate pool.
|
| 29 |
+
2. **Rare-Class Isolation** — Within the dense pool, object categories appearing exactly once per image are flagged as rare classes, corresponding to small or visually subordinate objects.
|
| 30 |
+
3. **Re-captioning** — Rare-class detections occupying >15% of the image are filtered out. BLIP-2 is prompted with class-aware templates to explicitly describe the remaining underrepresented objects, producing fine-grained captions that shift focus away from dominant scene context.
|
| 31 |
+
|
| 32 |
+
## Statistics
|
| 33 |
|
| 34 |
| Dataset | Split | # Images | Avg. Objects | Avg. # Classes |
|
| 35 |
+
| :--- | :--- | ---: | ---: | ---: |
|
| 36 |
+
| **COCO** | Original Test Set | 40,504 | 6.71 | 2.85 |
|
| 37 |
+
| | High-Density Subset | 4,050 | 21.63 | 4.82 |
|
| 38 |
| | **Dense-Set** | **3,089** | **21.63** | **5.47** |
|
| 39 |
+
| **Flickr30K** | Original Test Set | 31,783 | 6.73 | 2.48 |
|
| 40 |
+
| | High-Density Subset | 3,178 | 19.40 | 4.38 |
|
| 41 |
| | **Dense-Set** | **2,477** | **19.55** | **4.85** |
|
| 42 |
|
| 43 |
+
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
|
|
|
|
|
|
| 45 |
|
|
|
|
|
|
|
| 46 |
|
| 47 |
## Citation
|
| 48 |
|
|
|
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|