OneFocus: Enabling Real-World X-ray Security Screening with a Unified Vision-Language Model
About
X-ray contraband detection is critical for security in large-scale logistics and transportation, yet conventional detectors struggle to adapt to emerging contraband types and lack fundamental visual understanding. Vision-language models (VLMs) offer strong generalization but are hindered by the scarcity of high-quality X-ray image-caption data. To bridge this critical gap, we present MMXray, a meticulously curated benchmark of 52,124 image-caption pairs spanning 28 fine-grained classes of X-ray contraband. To enrich MMXray with realistic occlusion patterns, we further introduce CleanDET, a dedicated synthesis dataset containing clean foreground contraband images from 28 categories and background images with diverse density levels, together with AnyContraSyn, a controllable synthesis method designed to operate on CleanDET. We also develop OnePipe, an extensible pipeline for systematic data curation. Built on MMXray, we propose OneFocus, a unified VLM that supports four core tasks: visual question answering, contraband localization, classification, and image understanding. OneFocus achieves state-of-the-art performance in X-ray contraband understanding and demonstrates robust cross-domain generalization, establishing a strong vision-language baseline for security screening.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Object Localization | PIDray (test) | mAP5018.5 | 7 | |
| Object Localization | MMXray (test) | mAP5032.2 | 7 | |
| X-ray contraband classification | PIDRay | F1 Score29.5 | 6 | |
| X-ray contraband classification | OPIXray | F1 Score29.4 | 6 | |
| X-ray contraband classification | MMXray | F1 Score66 | 6 | |
| Image Understanding | STCray and MMXray (test) | BLEU-412.3 | 5 | |
| Visual Question Answering | STCray and MMXray (test) | Location Accuracy76.5 | 5 | |
| Object Localization | STCray zero-shot | mAP43.1 | 4 | |
| Visual Question Answering | STCray zero-shot | VQA Score (zero-shot)48 | 4 |