Toward Autonomous Laboratory Safety Monitoring with Vision Language Models: Learning to See Hazards Through Scene Structure
Trishna Chakraborty, Udita Ghosh, Aldair Ernesto Gongora, Ruben Glatt, Yue Dong, Jiachen Li, Amit K. Roy-Chowdhury, Chengyu Song
TL;DR
This work tackles autonomous laboratory safety monitoring by leveraging vision–language models (VLMs) and a structured data generation pipeline that converts textual hazard scenarios into aligned scene graphs and photorealistic images. It demonstrates that VLMs reason effectively when provided with explicit scene structure but struggle with raw visual inputs, motivating a scene-graph–guided alignment (SG-G) that translates visuals into structured representations before hazard inference. A synthetic dataset of 1,207 aligned image–scene-graph–ground-truth triples across 362 scenarios is created from LabSafetyBench and used to evaluate seven open- and closed-source VLMs, revealing that textual scene graphs yield the strongest hazard detection performance while vision-only performance remains limited. The SG-G approach improves visual-only hazard detection by enforcing intermediate scene representations, and the results point to future work in instruction tuning to internalize scene-graph generation and safety reasoning for more reliable autonomous lab safety monitoring.
Abstract
Laboratories are prone to severe injuries from minor unsafe actions, yet continuous safety monitoring -- beyond mandatory pre-lab safety training -- is limited by human availability. Vision language models (VLMs) offer promise for autonomous laboratory safety monitoring, but their effectiveness in realistic settings is unclear due to the lack of visual evaluation data, as most safety incidents are documented primarily as unstructured text. To address this gap, we first introduce a structured data generation pipeline that converts textual laboratory scenarios into aligned triples of (image, scene graph, ground truth), using large language models as scene graph architects and image generation models as renderers. Our experiments on the synthetic dataset of 1,207 samples across 362 unique scenarios and seven open- and closed-source models show that VLMs perform effectively given textual scene graph, but degrade substantially in visual-only settings indicating difficulty in extracting structured object relationships directly from pixels. To overcome this, we propose a post-training context-engineering approach, scene-graph-guided alignment, to bridge perceptual gaps in VLMs by translating visual inputs into structured scene graphs better aligned with VLM reasoning, improving hazard detection performance in visual only settings.
