Manuscript Offprint

arXiv:2611.04112

Co-Occurrence Priors Override Visual Spatial Evidence: Understanding False Alarms in Vision-Language Models for Construction Struck-By Hazard Detection

Xiaoshan Zhou

Abstract

Vision-language models (VLMs) increasingly support construction hazard monitoring, yet their frequent false alarms remain poorly understood. This study investigates whether false struck-by hazard warnings arise from failures in object recognition, spatial relation encoding, or hazard decisions dominated by learned co-occurrence priors. We evaluated Qwen2.5-VL-7B and InternVL3.5-8B using 355 counterfactual worker–excavator scene pairs with controlled spatial proximity and worker-removal variants, combining behavioral analysis, internal representation probing, causal interventions, and decision correction. Both models recognized the entities and encoded their spatial relations (out-of-fold AUROC: 0.82 and 0.91), assigning higher hazard scores to near than far scenes in 79% and 73% of pairs. Nevertheless, 74% and 100% of far scenes were falsely classified as hazardous. Removing the worker reduced Qwen's hazard rate to 11%, while worker presence exerted 2.4- and 3.2-times greater influence on hazard scores than spatial proximity in the respective models. Attention-head interventions, neuron-level interventions, and activation steering failed to eliminate this co-occurrence bias. However, conditioning hazard decisions on the model's own spatial-relation representation improved Qwen's specificity from 0.36 to 0.58 at matched sensitivity, outperforming threshold recalibration. These findings reveal that VLM struck-by false alarms stem primarily from decision-making failures rather than deficiencies in object recognition or spatial encoding, suggesting that future efforts should prioritize conditioning hazard decisions on encoded spatial evidence rather than further improving visual recognition alone.

Keywords: construction safety; struck-by hazard; vision-language model; language prior; object co-occurrence; mechanistic interpretability; excavator

1. Introduction

Struck-by incidents are one of the four leading causes of construction fatalities identified by the US Occupational Safety and Health Administration (OSHA, n.d.). In 2024, 1,034 workers died in the US construction industry, more than in any other private industry, and transportation and contact incidents, which include being struck by vehicles, mobile equipment and objects, accounted for 39% of these deaths (BLS, 2026). Excavators are a characteristic source of this risk. Their booms, buckets and rotating superstructures sweep a large envelope around the machine, operators have restricted sight lines, and ground workers often enter the envelope to guide, measure or clean (Hinze and Teizer, 2011). Identifying worker–excavator struck-by hazards has therefore long been a central topic in construction safety research, particularly using computer vision. Detectors and segmentation models identify workers, protective equipment and plant in site imagery (Fang et al., 2018; Son et al., 2019), and proximity or relation modules estimate worker–equipment distances or interactions from fixed cameras, unmanned aerial vehicles or video (Kim et al., 2016; Kim et al., 2019; Tang et al., 2020; Xiong et al., 2019).

More recently, vision–language models (VLMs) have extended construction hazard recognition with end-to-end pipelines that can compare visual evidence with safety rules and directly answer natural-language questions, such as whether the visible worker is inside the excavator's swing zone. Construction researchers have begun to use VLMs and multimodal large language models for hazard querying, inspection and safety monitoring (Chen et al., 2024; Chan et al., 2025; Kim et al., 2025; Tsai et al., 2025; Wang et al., 2025c). However, current results reveal clear limitations: off-the-shelf models judged site safety at close to chance level before fine-tuning (Kim et al., 2025), produced convincing reasoning while identifying hazards poorly (Wang et al., 2025c), and flagged more safety violations than experts did, with high recall but low precision (Chen and Zou, 2026).

These problems may share a common root cause revealed by VLM research outside construction, which shows that VLMs often answer from language and co-occurrence statistics rather than from the image. Visual question-answering models exploit answer priors (Goyal et al., 2017; Agrawal et al., 2018), and captioning and instruction-tuned models report objects that typically co-occur with what is shown but are absent (Rohrbach et al., 2018; Li et al., 2023b; Zhou et al., 2024). In addition, VLMs perform poorly on spatial relations such as left/right, above/below or near/far, and sometimes behave like bags of words that register which entities are mentioned but not how they are arranged (Kamath et al., 2023; Liu et al., 2023; Yuksekgonul et al., 2023; Tong et al., 2024). These vulnerabilities complicate the diagnosis of VLM failures in struck-by hazard recognition. A valid hazard requires two entities, a worker and an excavator, to co-occur in the image, and the model must recognize the spatial relation between the worker and the excavator's operating zone before routing that evidence to its language-based decision. No study has yet established what causes VLM failures in hazard recognition, and the direction of remedy therefore remains unclear.

More specifically, when a VLM wrongly labels a worker standing well clear of an excavator as being in danger, at least three explanations are possible, and they call for different remedies. The model may fail to see the worker or the machine (a perception failure, addressed by better visual encoders or higher resolution). It may see both but fail to encode where the worker is relative to the machine (a relation failure, addressed by spatially grounded training data or geometric modules). Or it may see both and encode their relation, yet answer from a learned association between worker–excavator co-occurrence and danger that overrides the encoded relation (a decision failure, addressed by recalibration or by routing relational evidence into the decision). Benchmark accuracy, the dominant evaluation criterion in current research, cannot separate these explanations, because all three produce the same wrong answer.

This study performs that diagnosis. To the best of our knowledge, it is the first study in construction to examine the decision-making behavior of VLMs through mechanistic interpretability. Evidence comes from two open-weight VLM families, Qwen2.5-VL-7B-Instruct and InternVL3.5-8B, and from a construction image dataset that we constructed to hold the scene, the machine and the worker's appearance fixed while varying the worker's placement. The entities and their spatial relation were decoded from the models' internal activations with pair-grouped probes. We further tested which prompt words, attention heads and residual states the decision depends on, evaluated correction strategies, including causal interventions, against threshold recalibration, and summarized the results with two interpretable quantities: the prior dominance index and the ratio of co-occurrence to relation increments. The results show that struck-by false alarms arise from a co-occurrence offset that dominates an encoded spatial relation, rather than from missed objects or a misread relation.

The remainder of the paper is organized as follows. Section 2 reviews machine-vision approaches to struck-by hazards, evidence on visual grounding versus language and co-occurrence priors in VLMs, and interpretability methods for examining what VLMs encode and use. Section 3 states the hypotheses and research questions and describes the models, the construction of the counterfactual and control datasets, and the behavioral, representation, causal and correction analyses. Section 4 reports the results in the order of the diagnostic framework, from behavior to internal representation, co-occurrence controls, natural-image transfer, causal localization and correction. Section 5 interprets the findings, examines whether the correction analyses resolve the problem and discusses implications for construction safety practice. Section 6 concludes with the main findings, recommendations, limitations and directions for future research.

References (72)