Datasets:
- Dataset summary
- Current engineering-Agent allocation
- Data acquisition
- Dataset contents
- Label semantics
- Dataset statistics
- Data fields
- Download and prepare the data
- Intended uses
- Out-of-scope and prohibited uses
- Relationship to UAV2K
- Privacy and ethical considerations
- Integrity
- License
- Dataset authors
- Citation
BFD-ML-4K
Official repository: https://huggingface.co/datasets/LotusRosa/BFD-ML-4K
Companion research software: https://github.com/LotusRosa/building-facade-engineering-agent
Dataset summary
BFD-ML-4K is the 4,000-image UAV building-facade corpus associated with Agent-Assisted Automation of Model Adaptation for UAV-Based Building Facade Inspection. It supports image-level, multi-label screening of hollow, spalling, and crack. no_defect marks images containing none of these three labels; it is not a fourth model output. Labels were produced by three civil-engineering experts and cross-reviewed image by image. Bounding boxes and segmentation masks are not included.
The companion Engineering Agent coordinates initial modeling, repeated adaptation, paired evaluation and model-version records through a chat-first local browser interface, with engineers confirming tasks and model decisions. The current frozen manifest below provides the paper's internal data allocation, including the 121 protected capture groups. The original JPEG files and binary labels are preserved.
For first use, follow the complete Windows/Ubuntu installation and download guide. It includes installation of the optional Hugging Face download CLI, preparation of the fixed initial/A folders, and Agent startup. Use protocols/bfd_ml_4k/roles.csv for the experiment allocation. The automatic directory-based viewer is disabled so that folder names are not presented as the paper splits.
The corpus is provided solely for non-commercial academic and scientific research under LICENSE; citation is mandatory. Public downloads do not require an upload token. BFD-ML-4K does not include the separate external CUBIT-Det corpus. For differences between the interactive defaults and exact paper reproduction, read the software correspondence note.
Current engineering-Agent allocation
For the current building-facade-engineering-agent, use the frozen role manifest and protocol metadata, to prepare importable batches with the exact paper assignments.
| Current role | Images | Prepared Agent folder |
|---|---|---|
| Initial training | 2000 | initial/train |
| Validation | 400 | initial/val |
| Initial acceptance S0 | 400 | initial/safety |
| Round-A training | 300 | round_A/train |
| Round-A current gate | 100 | round_A/gate |
| Round-B training | 300 | round_B/train |
| Round-B current gate | 100 | round_B/gate |
| Final research endpoint | 400 | Excluded from ordinary Agent preparation |
The image corpus and binary labels are unchanged. The new manifest explicitly assigns all 4,000 stable image IDs and 121 anonymous protected groups to the current roles, referencing the existing published image paths and hashes. It performs no random split and does not move, overwrite, or re-upload image files. Do not mix role assignments from different protocols within one project.
Follow preparation instructions to generate the initial/A-round folders using the Agent's checksum-verifying preparation tool. Existing Val/history are reused in later rounds; new Val is optional and each round requires its own independent current gate. Initial modeling uses Train/Val/S0. Ordinary users do not need a separate Final set.
The current allocation is defined by the fixed manifest. Cite the corpus revision and exact protocol/software revision used.
Data acquisition
Field acquisition sequence used to collect UAV building-facade imagery, from ground setup and takeoff to close-range survey and the retained captured image. Prepared by the dataset authors.
Dataset contents
- Images: 4,000 privacy-sanitized JPEG files.
- Task: image-level multi-label classification.
- Defect labels:
hollow,spalling, andcrack. - Negative label:
no_defect, derived as the absence of all three defect labels. - Annotation geometry: none.
- Protocol: the current fixed Agent/paper role allocation described above.
- Version: 1.0.0.
The release images preserve the original JPEG compressed image data but remove EXIF, GPS, XMP, IPTC, embedded thumbnail, camera identifier, timestamp, and JPEG comment metadata. Pixel content is not intentionally altered or recompressed.
Label semantics
| Label | Meaning |
|---|---|
hollow |
Visually suspected facade hollowing observable in UAV imagery. This is not a destructively verified subsurface condition. |
spalling |
Visible facade material spalling. |
crack |
Visible facade cracking. |
no_defect |
None of hollow, spalling, or crack is present at image level. |
Labels are non-exclusive. A defect-positive image may contain one, two, or all three defect categories.
Dataset statistics
| Label | Positive images |
|---|---|
hollow |
581 |
spalling |
1,672 |
crack |
1,404 |
no_defect |
1,657 |
There are 2,343 images with at least one defect category. Of these, 1,007 contain at least two defect categories: 700 contain exactly two, and 307 contain all three.
Data fields
Every split directory contains images and a neighboring metadata.jsonl.
Each JSON line includes:
file_name: image filename relative to that metadata file;image_idandnumeric_image_id: stable pseudonymous identifiers;labels: list of present labels;hollow,spalling,crack,no_defect: binary label fields;protocol_roleandprotocol_role_label;capture_groupandtemporal_unit_id: pseudonymous acquisition-continuity group identifiers;label_semantics;width,height,mode,bytes, and release-filesha256.
metadata/all_samples.csv provides a repository-wide flat index. Summary
tables, class definitions, provenance, and the machine-readable release
manifest are in metadata/.
Download and prepare the data
Follow the Windows/Ubuntu first-install guide to install the optional download tool and clone the Agent. Download only data/, the required metadata, LICENSE and CITATION.cff from image revision 81aab6254fe29bdd23d49a36945b1aa2c5ce44c1; exclude its historical README and documentation, then run the checksum-verifying scripts/prepare_bfd_ml_4k.py from the Agent repository. The fixed role manifest defines the assignment independently of download-folder names.
Default preparation creates initial/train (2000), initial/val (400), initial/safety (400), round_A/train (300), and round_A/gate (100). To include B, also request --batch initial --batch round_A --batch round_B. Final remains excluded from ordinary Agent tasks. See exact preparation options.
Public download needs no token. The original JPEGs and default prepared copies require approximately 28 GB combined; keep additional space for environment, model and training caches. Run the Agent on the same host as these files and submit each batch's absolute path in chat.
Intended uses
Permitted uses are limited to non-commercial academic and scientific research, including:
- image-level multi-label classification research;
- research on class imbalance, calibration, continual adaptation, failure analysis, and human-governed model maintenance;
- reproducibility studies using the frozen protocol roles; and
- non-commercial comparison of research methods within the limits described here and in the license.
Out-of-scope and prohibited uses
The dataset is not designed or licensed for:
- commercial products, services, consulting, internal commercial research, or revenue-generating activity;
- operational building-safety decisions or autonomous engineering diagnosis;
- precise localization, instance counting, geometric measurement, severity assessment, or structural-condition certification;
- identifying, geolocating, or profiling people, properties, operators, or acquisition sites;
- reconstructing removed metadata; or
- redistribution, re-hosting, mirroring, or republication of the original or modified images, annotations, or subsets.
See LICENSE for the binding terms.
Relationship to UAV2K
A subset of photographs may also appear in UAV2K. BFD-ML-4K uses an independent annotation taxonomy, task definition, data organization, and modeling protocol. This repository does not include UAV2K annotations, UAV2K model weights, or UAV2K evaluation protocols. The BFD-ML-4K license governs the copies distributed in this repository and does not replace the terms governing any separately distributed UAV2K materials.
Privacy and ethical considerations
The public copies have been stripped of embedded camera, timestamp, GPS, XMP, IPTC, thumbnail, and comment metadata. Pseudonymous capture-group and temporal unit identifiers are retained solely to support leakage-aware research. Users must not attempt to recover removed metadata, infer acquisition locations, or use the data to identify people, properties, operators, or sites.
This dataset does not replace inspection by qualified professionals. Model outputs derived from it must not be treated as engineering findings without appropriate validation and human judgment.
Integrity
checksums/SHA256SUMS.txtrecords SHA-256 digests for publishable files.audit/release_audit.jsonrecords the original corpus release audit; it is not a new audit of the protocol supplement.audit/agent_protocol_metadata_audit.jsonrecords the current role/label correspondence check, without claiming a new pixel-level inspection.metadata/dataset_manifest.jsonrecords version, counts, source-manifest digest, sanitization totals, and build invariants.
License
BFD-ML-4K is released under the BFD-ML-4K Academic Research Dataset License 1.0. It permits only non-commercial academic and scientific research, requires clear citation, and prohibits redistribution or re-hosting without prior written permission. Commercial use requires a separate written license.
Dataset authors
- Yu Xia — first author and dataset repository maintainer
- Ruoyu Chen — corresponding author
(
chenruoyu@just.edu.cn)
Copyright in the first-party dataset release is held by Yu Xia and Ruoyu Chen.
Citation
Every public research output using or derived from BFD-ML-4K must clearly cite the dataset authors, name, version, year, and canonical repository.
@dataset{bfd_ml_4k_2026,
author = {Xia, Yu and Chen, Ruoyu},
title = {BFD-ML-4K: Building-Facade Defect Multi-Label Dataset 4K},
year = {2026},
version = {1.0.0},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/LotusRosa/BFD-ML-4K},
note = {Non-commercial academic and scientific research only}
}
See CITATION.cff for machine-readable citation metadata.
- Downloads last month
- 1,593
