Abstract
Automated recognition of worker posture–structure relationships at scaffold platform edges is constrained by the scarcity of unsafe work-state images and bias associated with imaging conditions. We re-audited a single public dataset comprising staged working-at-height scenarios and constructed a four-class dataset containing 96,603 images, 246 sequences, and 57 identifier-derived event proxies. The classes were normal work (C0), climbing/contact (C1), upper-body leaning beyond the guardrail (C2), and edge work (C3). Real-only training was compared with synthetic pretraining followed by real-data head adaptation (PFT) using 3000 and 9000 low-fidelity images generated with Blender and BlenderProc2. A dual-input ConvNeXt-Tiny combining the full frame with an annotation-derived worker-context crop was evaluated using three-fold event-proxy-grouped cross-validation and two random seeds, with no overlap in event-proxy, sequence, or source identifiers across folds. Mean event-level Macro-F1 was 0.4158 ± 0.0205 for Real-only, 0.5392 ± 0.0534 for PFT-3k, and 0.6011 ± 0.0131 for PFT-9k. PFT-9k exceeded Real-only by 0.1853 and achieved higher F1 for all four classes, although C1 and C3 remained comparatively challenging. Because PFT-3k and PFT-9k also differed in synthetic-family composition, training exposure, and pretraining seed, their difference cannot be attributed to image count alone. Synthetic pretraining was associated with higher performance under the evaluated internal-validation setting. However, the results represent offline classification under reliable annotation-derived ROI inputs within a single dataset and do not establish end-to-end CCTV performance or generalizability to independent construction sites, workers, or camera systems.
1. Introduction
The construction industry is recognized worldwide as a high-risk sector, and falls from height (FFH) are a leading cause of construction fatalities in many countries. Based on a synthesis of national statistics, Khan et al. [1] reported that FFH accounted for 52.80% and 34.14% of construction-related fatalities in South Korea and the United States, respectively. Although direct cross-national comparison is difficult because of differences in reporting periods and statistical criteria, FFH consistently represents a major category of fatal construction accidents. Falls from scaffolds, ladders, work platforms, and roof edges have been reported to account for approximately 60% of fall-related fatalities [2], making scaffold platform edges particularly high-risk work areas.
Scaffold-related falls are influenced not only by structural deficiencies but also by workers’ bodily actions and unsafe behaviors. An analysis of 621 fatal fall accidents identified significant associations between falls, noncompliant scaffold conditions, and workers’ bodily actions [3]. Subsequent studies have similarly identified unsafe behavior as a major contributing factor to falls [1,4]. Accordingly, this study operationally defines an “unsafe work state” as a condition observable in a single image through the spatial relationship between a worker’s posture and the scaffold platform edge. The target states comprise normal work, climbing or contact with the scaffold frame, upper-body leaning beyond the guardrail, and work at the platform edge. These categories do not represent legally defined risk levels or accident probabilities; rather, they distinguish visually observable work states based on the scenario labels provided in a public dataset.
Traditional construction safety management has relied heavily on supervisory patrols and manual CCTV surveillance. However, continuously monitoring large and rapidly changing construction sites using human observers is inefficient [5]. Prolonged visual surveillance can also reduce concentration and increase the likelihood of missing hazardous situations [6], while manual identification entails delayed decision making and additional labor costs [4]. To address these limitations, automated safety monitoring that integrates on-site cameras with deep-learning-based computer vision has emerged as a major research area [7,8,9].
Related research has progressed from personal protective equipment detection toward the recognition of worker–facility relationships and unsafe behaviors. Previous studies have examined safety harness use among workers at height [10], determined safety rule compliance from the spatial relationships among workers, mobile scaffolds, and outriggers [2], and assessed mobile scaffold safety conditions using depth information [11]. However, most prior studies have focused on object presence and location or the structural conditions of mobile scaffolds [9]. Few studies have classified worker posture–edge relationships observed at the edges of fixed or system scaffolds into detailed work states. Because such relationships are determined by the spatial configuration of the worker’s posture, guardrails, platform, and platform edge rather than by the presence of any single object, they require a dedicated recognition task.
The collection and use of construction-safety images for model training face an additional constraint: data scarcity. Hazardous situations occur infrequently, their staged reproduction may expose workers to risk, and privacy and site-security restrictions limit the release of real-world images [6]. Consequently, construction-domain training data often lack both scale and diversity. When a particular work state repeatedly co-occurs with a specific site, camera, or background, a model may learn background cues rather than the target work state [12]. The widespread use of nonpublic datasets also impedes interstudy comparison and reproducibility [4].
Synthetic images generated in virtual environments provide a potential means of alleviating this data bottleneck. Synthetic data enable rare hazardous scenes to be generated safely while allowing camera viewpoints, lighting, backgrounds, and occlusion conditions to be controlled. Automated annotation can also reduce the cost of data collection and labeling [13]. Construction-domain studies have reported that mixed real–synthetic training can reduce the number of real images required for model development [12], game-engine-generated synthetic data can improve object-detection performance in construction-safety applications [6], and domain randomization can support pose estimation of construction equipment [5]. Nevertheless, differences in appearance, background, and imaging conditions create a synthetic-to-real domain gap [5,13]; therefore, the effectiveness of synthetic data must ultimately be evaluated using real images. In particular, it remains unclear whether performance improvements in unsafe work-state recognition at scaffold platform edges are driven primarily by visual fidelity or by diversity in poses, viewpoints, and geometric relationships.
The literature reveals two principal research gaps. First, limited research has directly classified the worker posture–edge relationships observed at scaffold platform edges into detailed unsafe work states. Second, construction-related synthetic-data research has concentrated primarily on object detection and pose estimation. Consequently, limited evidence is available from direct comparisons between real-image-only training (Real-only) and synthetic pretraining followed by fine-tuning on real images (pretraining and fine-tuning, PFT) under grouped internal validation protocols that prevent overlap among identifier-derived event proxies, sequences, and source identifiers.
This study develops a four-class work-state recognition model for scaffold platform edges using publicly available working-at-height images and their corresponding JSON annotations [14], together with procedurally generated, low-fidelity synthetic images rendered using Blender and BlenderProc2 [15]. The research questions are as follows. RQ1 evaluates the classification performance of the C0–C3 states under grouped cross-validation that separates 57 identifier-derived event proxies. RQ2 examines whether PFT is associated with higher event-level Macro-F1 than Real-only training when evaluated using identical folds and random seeds. RQ3 investigates how the input configuration, backbone architecture, and adaptation scope affect overall performance and class-specific errors. RQ4 compares the performance of the PFT-3k and PFT-9k configurations, which differ not only in synthetic-image count but also in synthetic-family composition, training exposure, and pretraining seed. The final evaluation is based on seed-specific out-of-fold (OOF) results and class-specific error structures. Because the worker-context crops used by the dual-input model were constructed from JSON annotations, the present evaluation represents offline classification under reliable annotation-derived ROI inputs rather than an end-to-end CCTV pipeline involving worker detection, tracking, and automatic ROI construction. The findings are therefore interpreted as evidence from event-proxy-grouped internal validation within a single public dataset and not as evidence of generalizability to independent construction sites, workers, or camera systems.
The contributions of this study are fourfold. First, publicly available images and JSON annotations were re-audited to construct a four-class experimental dataset comprising 96,603 images, 246 sequences, and 57 identifier-derived event proxies, while preventing event-proxy-, sequence-, and source-identifier overlap across folds. Second, input configurations, backbone architectures, and adaptation scopes were compared between Real-only and PFT conditions under a common evaluation framework. Third, the performance of synthetic pretraining and two PFT configurations was compared through OOF analysis using matched folds and seeds; the difference between PFT-3k and PFT-9k was not interpreted as an isolated image-count effect because the configurations also differed in synthetic-family composition, training exposure, and pretraining seed. Fourth, the results obtained using procedurally generated, low-fidelity synthetic data were interpreted in relation to diversity in poses, viewpoints, and geometric relationships, while the scope of AI-assisted preliminary screening, annotation-derived ROI inputs, and event-proxy-grouped internal validation was explicitly delineated.
The remainder of this paper is organized as follows. Section 2 reviews related work and identifies the research gaps. Section 3 and Section 4 describe the construction of the real and synthetic datasets and the experimental design, respectively. Section 5 presents the experimental results, while Section 6 and Section 7 discuss their interpretation, the study limitations, and the conclusions.
2. Research Background and Related Work
2.1. Fall Risks at Scaffold Platform Edges and Unsafe Work States
Falls from height remain a major cause of fatalities in the construction industry and result from the combined effects of working height, the condition of work platforms and guardrails, personal protective equipment, workers’ bodily actions, and site safety-management systems [1]. At scaffold platform edges in particular, workers must move and perform tasks within confined spaces; therefore, the spatial relationship between their posture and surrounding scaffold components may have direct implications for safety.
Chi et al. [3] analyzed 621 fatal fall accidents in the construction industry and found that scaffold-related falls were associated not only with noncompliant scaffold conditions but also with workers’ bodily actions. In behavior-based safety research, recording observable work behaviors and providing feedback have also been regarded as key preventive measures [16,17]. However, neither accident causation nor individual responsibility should be inferred solely from a worker’s visually observable state. Construction accidents are also influenced by the work environment, protective systems, work planning, training, supervision, and organizational culture [16]. Computer-vision-based state recognition should therefore be positioned not as a means of automatically determining legal risk levels or accident probabilities, but as a decision-support technology that identifies visually observable relationships between worker posture and the surrounding workspace.
This study categorizes work states at scaffold platform edges as normal work (C0), climbing or contact with the scaffold frame (C1), upper-body leaning beyond the guardrail (C2), and work at the platform edge (C3). C1–C3 are visually observable states derived by reorganizing the scenario labels of the source dataset for the purposes of this study, and do not represent legally defined risk categories. These states cannot be distinguished reliably based solely on object presence; their recognition requires both the worker’s local posture and the broader scene context encompassing the scaffold platform edge. This requirement provides the rationale for evaluating a dual-input architecture that combines the worker region with the full scene.
2.2. Computer-Vision-Based Construction Safety Monitoring and Unsafe Work-State Recognition
Computer-vision-based construction safety monitoring has evolved from object detection and tracking toward the recognition of unsafe working conditions and behaviors [7,8]. Its scope has also expanded to occupational safety and health monitoring [18], behavior-based safety management [17], and safety-information visualization [19]. Nevertheless, existing studies have focused primarily on detecting workers, equipment, and personal protective equipment (PPE), whereas safety-state assessment based on inter-object relationships and the prediction of behaviors or accidents remain comparatively underexplored [9]. Recent reviews have similarly identified PPE and proximity-hazard detection as dominant research tasks, while highlighting data quality, cross-site generalization, interpretability, privacy, and integration with safety management workflows as unresolved challenges [20].
In PPE research, methods have been proposed to detect workers at height and subsequently classify their safety harness use [10]. This line of research has also been extended to site-level risk assessment based on object counts and distances [21]. Within scaffolding research, previous studies have determined safety rule compliance using the coordinate relationships among workers, mobile scaffolds, and outriggers [2], and assessed multiple safety conditions by combining depth information with temporal verification [11]. These studies demonstrated the value of inter-object spatial relationships for safety assessment but focused primarily on the structural configuration and rule compliance of mobile scaffolds.
Unsafe-behavior recognition has predominantly employed approaches that combine spatial and temporal information from videos. Representative approaches include STR-Transformer-based action classification [4], adaptive spatiotemporal sampling [22], and models combining object-region features with long short-term memory [23]. General human action-recognition research also considers interactions among human motion, surrounding objects, and the environment [24,25]. The present study uses four temporally ordered frames from each sequence to classify scaffold-edge work states by aggregating image features. This aggregation summarizes temporal feature variation but does not explicitly estimate movement trajectories or action duration.
Overall, previous studies have extensively examined PPE and structural object detection, rule compliance for mobile scaffolds, and video-based action recognition. However, limited research has classified posture–structure relationships at the edges of fixed or system scaffolds into detailed work states. An image-based state-classification approach that considers both the worker’s local posture and the broader scaffold context is therefore required.
2.3. Synthetic Image Generation and Training Strategies in Construction
Synthetic images are visual data generated using virtual environments or generative models to supplement the limited scale and diversity of real-world data. Their generation methods can be broadly categorized into three-dimensional scene rendering, compositing virtual objects with real backgrounds, and image-domain translation [26]. Three-dimensional environments allow researchers to control object placement, worker poses, camera parameters, lighting, materials, backgrounds, and occlusion conditions while generating annotations automatically.
In the construction domain, previous studies have developed object detection datasets by combining three-dimensional construction equipment with real backgrounds [27] and investigated transfer to the real-image domain using synthetic dust images [28]. Subsequent studies proposed game-engine-generated images of workers and PPE under varied camera, lighting, and background conditions [6], as well as site-specific databases integrating web images, three-dimensional synthetic images, and real backgrounds [29]. These studies indicate that the effectiveness of synthetic data depends not only on dataset size but also on the diversity of imaging conditions and backgrounds.
Studies of combined real–synthetic training have shown that synthetic worker images can reduce the number of real images required and improve performance under certain conditions [12]. However, the resulting effects varied according to the amount of real data, the real-to-synthetic mixing ratio, and the training strategy; mixed training did not outperform alternative strategies under every condition. Synthetic data have also been extended beyond object detection to domain-randomization-based pose estimation of construction equipment [5] and three-dimensional pose estimation of construction workers [30]. In general action recognition research, synthetic human body shapes, motions, viewpoints, and backgrounds have been varied to supplement conditions underrepresented in real-world datasets [31,32].
Synthetic data training strategies can be categorized as synthetic-only training, joint real–synthetic training, and synthetic pretraining followed by real-image fine-tuning. Synthetic-only training provides a direct assessment of domain transfer but is particularly susceptible to the domain gap, whereas joint training is sensitive to the real-to-synthetic mixing ratio. In this study, sequential PFT is applied by first pretraining the model on synthetic images representing diverse poses, viewpoints, and geometric relationships at scaffold platform edges and then fine-tuning it using the public, camera-captured image dataset used in this study. This approach differs from conventional mixed training, in which real and synthetic images are introduced jointly during training.
2.4. Synthetic-to-Real Domain Gap, Generalization Across Imaging Environments, and Research Gaps
When synthetic data are applied to real images, differences in visual appearance, human morphology, materials, lighting, backgrounds, cameras, occlusion, and sensor characteristics can create a synthetic-to-real domain gap. Although synthetic data can alleviate annotation costs, class imbalance, dataset bias, and privacy concerns, the discrepancy between limited virtual scenes and real-world imaging environments remains a major constraint [13].
Domain randomization is a strategy for reducing overfitting to the visual characteristics of a particular virtual environment by varying camera parameters, lighting, materials, backgrounds, and occlusion conditions [33,34]. In construction equipment pose estimation, the effects of individual randomization factors and comprehensive randomization on real-image performance have also been investigated [5]. However, negative transfer may occur when synthetic representations do not adequately correspond to real-world class definitions or when the discrepancy between the two distributions is excessively large [13]. Furthermore, when low-fidelity synthetic data are used, as in this study, performance gains should be interpreted in relation to diversity in poses, viewpoints, and geometric relationships rather than attributed to visual realism. Without a direct comparison between low-fidelity and photorealistic conditions, the causal contributions of these factors cannot be distinguished.
Overlap in imaging environments between training and evaluation data can lead to overestimated performance. If adjacent frames from a continuous video are randomly split at the image level, the same workers, backgrounds, and cameras may appear in both the training and evaluation sets. Consequently, a model may learn imaging-environment cues rather than the intended work states. To reduce this risk, group-aware partitioning can be used to prevent records sharing the same grouping identifiers from appearing in different data splits. In the present context, grouping by identifier-derived event proxies prevents direct overlap of the same proxies and adjacent sequences across folds. However, these proxies do not establish independence across actual construction sites, workers, cameras, or filming sessions. This procedure therefore represents event-proxy-grouped internal validation and cannot replace independent external validation using data collected from different construction sites and camera systems.
General video-based action recognition research has investigated feature mixing across different video domains [35] and progressive adaptation to a target domain [36]. The present study uses four-frame feature aggregation for scaffold-edge state classification rather than a dedicated video-domain adaptation model. Therefore, before considering more complex video-domain adaptation techniques, this study evaluates the effects of sequential synthetic pretraining and real-image fine-tuning.
The literature reveals three research gaps. First, limited research has directly classified worker posture–structure relationships at scaffold platform edges into the detailed C0–C3 work states. Second, previous construction-related synthetic-data research has focused primarily on object detection and pose estimation, and the effectiveness of synthetic pretraining followed by real-image fine-tuning for scaffold-edge state classification has not been sufficiently evaluated. Third, limited evidence is available from direct comparisons between Real-only and PFT under grouped internal validation protocols that prevent overlap among identifier-derived event proxies, sequences, and source identifiers. Table 1 summarizes the representative studies by research area.
Table 1.
Representative studies grouped by research area.
3. Construction of the Real and Synthetic Image Datasets
3.1. Research Framework
The study comprised four stages: real-data construction, synthetic-data generation, model-configuration selection, and final repeated evaluation. Camera-captured images from a public dataset of staged working-at-height scenarios and Blender-generated synthetic images were used to compare Real-only training with synthetic pretraining followed by real-image fine-tuning (PFT) under identical event-proxy-grouped data partitions. In the first stage, public JPG images and JSON annotations were re-examined to construct a four-class real-image dataset of scaffold-related work states [14]. In the second stage, synthetic images were generated using Blender and BlenderProc2 by controlling worker poses, camera viewpoints, and worker–scaffold-edge geometry [15]. In Stage 1, the input configuration, backbone architecture, and adaptation scope were compared to select the final model configuration. In Stage 2, the selected configuration was fixed, and Real-only, PFT-3k, and PFT-9k were repeatedly evaluated using identical folds and random seeds.
Stage 1 was used for configuration selection, and Stage 2 for repeated evaluation of the selected configuration using the same fixed event-proxy-grouped folds. In Stage 2, fold-wise predictions were aggregated into out-of-fold (OOF) results to evaluate event-level Macro-F1 and class-specific errors across all 57 identifier-derived event proxies. This procedure represents internal validation that prevents direct overlap among event proxies, sequences, and source identifiers across folds. However, it does not establish independence across actual construction sites, workers, cameras, or filming sessions and does not constitute external validation. Figure 1 presents the overall research framework.
Figure 1.
Overall research framework.
3.2. Scenario-Based Real-Image Dataset
The real-image dataset was constructed from scaffold-work JPG images and JSON annotations in the AI Hub dataset “Real-Time Video Data from Work-at-Height Sites” [14]. In this study, the term “real image” denotes camera-captured, non-rendered imagery, in contrast to the Blender-generated synthetic images. The source dataset comprises predefined staged work-at-height scenarios rather than recordings of actual accidents. Accordingly, C0–C3 represent spatial relationships between worker posture and the scaffold platform edge observable in a single image, not legally defined risk levels or accident probabilities.
Image–annotation correspondence, scenario labels, worker regions of interest (ROIs), image integrity, and sequence and source metadata were inspected using predefined inclusion and exclusion criteria. The final dataset comprised 96,603 images, 246 sequences, and 57 identifier-derived event proxies. Frames assigned to the provider-defined Training and Validation subsets but originating from the same raw sequence were merged into a single sequence. Thus, the image count represents the number of frames used for model training, whereas final performance was aggregated at the event-proxy level. The event proxies were used as grouping and evaluation units and were not assumed to represent statistically independent construction sites, workers, cameras, or filming sessions. Table 2 presents the class-wise image and event-proxy distributions.
Table 2.
Class distribution of the real-image dataset.
C0 was defined as normal work in which the worker’s primary support points and work position remained within the platform. C1 represented climbing or contact with the scaffold frame, C2 represented upper-body leaning beyond the guardrail while maintaining foot support, and C3 represented work at or near a platform edge or opening. These operational criteria were derived by reorganizing the JSON scenario labels for the image-classification task.
The worker-context input was generated using the worker and work-action bounding boxes and body keypoints provided in the JSON annotations. For 618 frames without a valid ROI, the temporally nearest annotated frame within the same sequence was used to supplement the missing region. A contextual margin was added to each ROI to include the adjacent guardrails, platform, and platform edge. Accordingly, the evaluated worker-context crops assume reliable annotation-derived ROI inputs; worker detection, tracking, and automatic ROI construction were outside the scope of this study. Figure 2 presents representative full-scene and worker-context images for each class. Faces were anonymized only in the images displayed in the manuscript.
Figure 2.
Representative real images and worker-context crops.
Because the boundary between static guardrail contact and actual climbing/contact can be ambiguous for C1, conservative AI-assisted preliminary screening was applied. This earlier C1 screening was distinct from the later review of 96 sampled frames from the expanded dataset, which identified preparation and near-static poses within some C1 sequences. All 96,603 eligible frames were retained for the final four-frame experiment, as detailed in Supplementary Methods, Section S1.4. The sample review was not treated as exhaustive human relabeling or as an assessment of inter-rater agreement.
To prevent leakage from adjacent frames, multi-camera sequences captured at the same time were grouped using an event_id_proxy. Data sharing the same identifier-derived event proxy, sequence_id, or source_data_ID were assigned to only one fold. Consequently, overlap across the final three folds was zero for all three grouping criteria. Figure 3 illustrates the event-proxy-grouping procedure and the class-wise image and event-proxy distributions. The detailed fold configuration is described in Section 4.2.
Figure 3.
Event-proxy grouping and class distributions: (a) grouped data structure; (b) real-image distribution; (c) event-proxy distribution.
The versions and hash values of the final real-image manifest and event assignments were fixed before the experiments. Identical real images and fold assignments were subsequently applied to all Real-only and PFT conditions.
3.3. Blender Synthetic-Image Dataset
To supplement poses, viewpoints, and worker–scaffold relationships underrepresented in the real dataset, a four-class synthetic-image dataset was constructed using Blender 4.2.1 LTS (Blender Foundation, Amsterdam, The Netherlands) and BlenderProc2 2.8.0 [15]. The workers, scaffold frames, guardrails, work platforms, and openings were modeled using simple geometric elements created within the project; no external three-dimensional assets were used. The resulting data were defined as procedurally generated, low-fidelity images designed to control class-specific poses and geometric relationships rather than reproduce real scenes photorealistically.
The synthetic classes were designed to represent the same C0–C3 relationships as the real dataset. C0 represented normal work within the platform, C1 represented climbing or contact with the scaffold frame, C2 represented upper-body leaning beyond the guardrail, and C3 represented work near an opening or platform edge. Class identity was determined by the relationships among the worker’s support points, upper-body orientation, guardrails, and openings rather than by any single numerical threshold.
The final synthetic dataset comprised 9000 images with a resolution of 512 × 512 pixels, organized into 750 paired families. Each family contained 12 images combining the four classes with three camera views under the same scene conditions, resulting in a balanced distribution of 2250 images per class. A family-level split assigned 7200 images from 600 families to synthetic pretraining and 1800 images from 150 families to synthetic validation. Table 3 summarizes the dataset composition.
Table 3.
Composition of the final four-class synthetic-image dataset.
Within each paired family, the scaffold, opening, materials, lighting, background, and generation seed were held constant, while only the class-specific worker pose was changed. This design reduced shortcut learning caused by repeated associations between a particular class and a background or scaffold configuration, encouraging the model to use the worker posture–edge relationship as the primary discriminative cue. Figure 4 presents the class-specific poses and camera views, together with changes among classes within a shared family.
Figure 4.
Synthetic-image construction: (a) C0–C3 examples across camera views; (b) paired family with shared scene conditions and class-specific worker–scaffold geometry.
Domain randomization was applied to the camera, lighting, materials, background, site clutter, and partial occlusion conditions [33,34]. Camera distance, height, and orientation, worker scale, lighting conditions, and scene composition were varied across families to reduce overfitting to a particular virtual environment. Images were rendered using the Blender Cycles engine, with emphasis placed on expanding combinations of posture, viewpoint, occlusion, and geometric relationships rather than maximizing visual realism. Figure 5 shows representative domain-randomized C2 images.
Figure 5.
Domain-randomized C2 synthetic images under varying camera, lighting, material, background, and occlusion conditions.
Automated three-dimensional geometry quality control (QC) and two-dimensional projection QC were applied during image generation. The checks examined platform support, distance to openings, guardrail contact, torso inclination, and hand–opening relationships. They also verified that the worker and principal scaffold components were projected at a sufficient size for class discrimination. Detailed thresholds are provided in the reproducibility materials, whereas only the principal QC criteria are described in the main text.
No missing or corrupted images, class imbalances, family-composition errors, or train–validation family overlap were detected in the final set of 9000 images. AI-assisted preliminary screening was also conducted on 84 images sampled from seven families to assess class distinguishability, worker–edge relationships, imaging-condition diversity, and critical rendering errors. No errors requiring exclusion from training were identified in this sample. However, this screening does not represent an exhaustive review by human experts or an assessment of inter-rater agreement.
Synthetic images were used exclusively for PFT pretraining and were excluded from the grouped cross-validation and final OOF evaluation of real images. Within the final 9000-image dataset, a previously frozen 3000-image manifest was retained as the reference condition for comparing PFT-3k with PFT-9k. Both conditions used identical class definitions, generation principles, and real-data evaluation folds. The detailed comparison protocol is described in Section 4.5.
4. Recognition Model and Experimental Design
4.1. Research Task and Comparison Conditions
The research task was to classify work states observed at scaffold platform edges into C0–C3. Each training sample comprised four frames extracted chronologically from the same sequence. For the backbone features of the four frames, the mean, standard deviation, and difference between the last and first frames were calculated to represent short-term changes in worker posture and work position.
The classifier comprised a binary head that distinguished C0 from C1–C3 and a subtype head that discriminated among C1–C3. The output probabilities of the two heads were combined to produce the final four-class prediction. This hierarchical architecture was designed to first distinguish normal from unsafe work states and then differentiate among visually similar unsafe states. Figure 6 shows the final dual-view architecture. The full-frame view retains scene context, while the annotation-derived worker-context view emphasizes the worker and nearby scaffold structure. The shared encoder produces two 768-dimensional features at each of four sampled time points. After per-time concatenation, the temporal mean, population standard deviation, and last-minus-first feature difference yield a 4608-dimensional descriptor for the two classification heads. By summarizing four temporally ordered observations, this aggregation may reduce the influence of transient ambiguity in any single frame. However, these statistics summarize temporal feature variation without an additional learned temporal module and do not explicitly model articulated motion or all frame-to-frame relationships. The two heads operate in parallel, and their probability composition provides a soft hierarchy rather than a hard binary gate. The model assumes reliable annotation-derived crops. This architecture was designed to retain both local worker information and broader scaffold context, although its design alone does not establish superiority over single-view or single-frame alternatives.
Figure 6.
Architecture of the proposed dual-view temporal classifier. Four full frames and annotation-derived worker-context crops are processed using a shared ConvNeXt-Tiny encoder. Temporally aggregated features are passed to binary and unsafe-subtype classification heads to obtain the final C0–C3 probabilities.
The primary comparison was between Real-only and PFT. In Real-only, an ImageNet-pretrained model was trained exclusively on real data. In PFT, the model was first pretrained on the C0–C3 Blender synthetic dataset and subsequently fine-tuned on the real dataset. Synthetic images were used only during pretraining, while all cross-validation and OOF evaluations were conducted exclusively on real data.
Three input configurations were considered: worker, obtained by expanding the worker ROI by a factor of 1.8; full, comprising the entire scene; and dual, combining both inputs. ConvNeXt-Tiny and ResNet50 were compared as backbone architectures. The adaptation scope was evaluated using frozen, in which the backbone remained fixed, and last-stage, in which the final stage of ConvNeXt-Tiny was updated. All inputs were resized to 384 × 384 pixels using letterboxing to preserve their original aspect ratios.
Stage 1 was a partial ablation study comparing configurations that varied in training strategy, input configuration, backbone architecture, and adaptation scope. The seven conditions listed in Table 4 were evaluated using the same three folds and a fixed training seed, resulting in 21 runs. Validation event-level Macro-F1 was used for configuration selection. In the event of a tie, the frozen configuration was preferred because of its lower training complexity and reduced risk of overfitting. Stage 1 was interpreted as a configuration-level comparison rather than a full-factorial experiment covering every possible combination.
Table 4.
Stage 1 configurations for model selection.
Based on the Stage 1 results, the dual/ConvNeXt-Tiny/frozen configuration was fixed as the common setting for Stage 2. Real-only, PFT-3k, and PFT-9k were then repeatedly evaluated using identical folds and two fixed training seeds (evaluation seeds 1 and 2), as specified in Supplementary Methods, Section S3.3. This design held the real-data evaluation protocol constant across conditions, while the synthetic-pretraining configurations differed as specified in Section 4.5.
4.2. Event-Proxy-Grouped Three-Fold Cross-Validation and Repeated Evaluation
Randomly partitioning adjacent frames from continuous videos may place the same workers, backgrounds, cameras, and postures in both the training and validation sets, leading to overestimated performance. To reduce this leakage, event-proxy-grouped three-fold cross-validation was applied using identifier-derived event proxies, rather than individual images, as the partitioning unit.
All cameras, sequences, and frames belonging to the same identifier-derived event proxy were assigned to a single fold. After partitioning, training–validation overlap was examined using event_id_proxy, sequence_id, and source_data_ID, and no overlap was detected for any of the three criteria. Using the fixed partition seed specified in Supplementary Methods, Section S1.3, the 57 event proxies were allocated to Folds 0–2 with 18, 19, and 20 proxies, respectively. All four classes were represented in every validation fold. Figure 7 illustrates the event-proxy-grouped cross-validation and repeated-seed OOF evaluation procedure.
Figure 7.
Event-proxy-grouped three-fold cross-validation and repeated-seed OOF evaluation. Blue outlines and text highlight the event partitions and OOF evaluation flow; blue-filled cells indicate the held-out validation fold in each rotation, whereas light-gray cells indicate the training folds.
Sequence-level class log-scores were calculated from the four frames in each sequence. The log-scores of sequences belonging to the same event proxy were then averaged to determine the event-proxy-level prediction. Each event proxy served as a validation unit exactly once, and predictions from the three folds were combined to construct OOF results for all 57 event proxies. An event proxy containing multiple cameras or long sequences was therefore aggregated into a single evaluation unit; this aggregation does not imply statistical independence across actual sites, workers, cameras, or filming sessions.
The highest fold-specific validation scores in Stage 1 were used exclusively for model selection. In Stage 2, the epoch with the highest validation event-level Macro-F1 was selected within each fold. The confusion matrices from the three folds were then combined, and the 57-event-proxy OOF metrics were recalculated from the pooled matrix. This procedure differs from simply averaging the fold-specific Macro-F1 scores.
The results of a previously designated seven-event-proxy test partition had already been examined during the experimental process; therefore, this partition could no longer serve as an independent locked test set and was incorporated into the 57-event-proxy cross-validation dataset. Accordingly, the reported results represent internal validation that prevents direct overlap among identifier-derived event proxies, sequences, and source identifiers across folds and should not be interpreted as external generalization performance for independent construction sites, workers, cameras, or filming sessions.
4.3. Training Configuration
The temporally ordered frames in each real-data sequence were divided into four approximately equal-count segments. During training, one frame was randomly sampled from each segment, whereas the center frame of each segment was selected deterministically during validation. Horizontal flipping and color jitter were applied to the training images. Validation images underwent only letterbox transformation, after which all images were normalized using the ImageNet mean and standard deviation. Under the dual-input condition, the same augmentation types were applied to the worker and full-frame inputs.
To mitigate class and event-proxy imbalance, a hierarchical balanced sampler was employed to sample data according to the class–event-proxy–sequence hierarchy. Each epoch comprised 1024 sequences sampled with replacement, and all real-data training was conducted for eight epochs without early stopping.
The binary and subtype heads each comprised LayerNorm, a 384-dimensional fully connected layer, GELU activation, dropout with a rate of 0.25, and a final classification layer. The training loss was defined as follows.
Here, B denotes the minibatch and Bu its subset with ground-truth labels C1–C3. The binary-head cross-entropy was averaged over all samples in B, whereas the subtype-head cross-entropy was averaged only over Bu. The second term was defined as zero when Bu was empty. Both heads used softmax cross-entropy with label smoothing of 0.05, and the two mean losses were added with equal weight.
The AdamW optimizer was used. The initial learning rate for the classification heads was set to 8 × 10−4 with a weight decay of 0.02, while a learning rate of 1 × 10−5 was applied to the last stage. The learning rate was reduced using cosine annealing over eight epochs, and the gradient norm was clipped at 1.0. CUDA automatic mixed precision and gradient scaling were also applied.
The Stage 1 batch size was determined by GPU memory availability: four sequences for the worker and full configurations, two sequences for the dual-frozen and ResNet50 configurations, and one sequence for the dual-last-stage configuration. Although the number of epochs and samples per epoch was held constant, batch size was not fully controlled. The Stage 1 results were therefore interpreted as configuration-level comparisons rather than estimates of the isolated effect of each factor. A batch size of two sequences was used for all Stage 2 conditions.
Real-only ConvNeXt-Tiny models were initialized using ImageNet-1K V1 weights, whereas the ResNet50 comparison used ImageNet-1K V2 weights. For PFT, the feature extractor was loaded from a ConvNeXt-Tiny model pretrained on the synthetic dataset. Under the frozen configuration selected for Stage 2, the backbone was fixed, and the hierarchical classification heads were trained using the real dataset. Thus, the final PFT configuration did not involve full-backbone fine-tuning; instead, it combined the transfer of synthetic-pretrained features with real-data-based head adaptation.
Validation event-level Macro-F1 was calculated at the end of each epoch, and the checkpoint from the highest-scoring epoch was selected. The model, optimizer, learning-rate scheduler, mixed-precision scaler, and random number generator states were saved to enable recovery under identical conditions following an interruption. Random seeds for Python, NumPy, PyTorch, and CUDA were fixed, and deterministic mode was enabled. All experiments were conducted on an NVIDIA GeForce RTX 3060 GPU (NVIDIA Corporation, Santa Clara, CA, USA) using Python 3.10.11, PyTorch 2.11.0+cu126, torchvision 0.26.0+cu126, NumPy 2.2.6, and CUDA 12.6. Detailed hardware and software information is provided in Supplementary Table S6. Wall-clock training durations were extracted from the retained run logs. For the PFT conditions, synthetic pretraining and real-data adaptation durations were recorded separately; condition-level summaries are reported in the Results, and run-level records are provided in the Supplementary Materials.
4.4. Evaluation Metrics and Statistical Analysis
The primary unit of evaluation was the identifier-derived event proxy, and the primary performance metric was event-level Macro-F1. Because the event-proxy counts were imbalanced across classes—24 for C0, 8 for C1, 13 for C2, and 12 for C3—equal weight was assigned to each class.
Event-level balanced accuracy and accuracy were calculated as secondary metrics. Class-specific precision, recall, F1, and a 4 × 4 confusion matrix were used to analyze the error structure. Sequence-level metrics were also calculated as supplementary measures; however, sequences belonging to the same event proxy were not treated as independent observations. To quantify safety-relevant C3 false-negative behavior, C3→C0 errors were reported as both counts and rates, with the rate calculated as the number of ground-truth C3 event proxies predicted as C0 divided by the total number of ground-truth C3 event proxies.
For each seed, the confusion matrices from the three folds were summed, and the OOF metrics were recalculated across all 57 event proxies. The difference between PFT and Real-only and the additional difference associated with the expanded synthetic-data configuration were defined as follows:
Here, s indexes the random seed used for model training in each repeated evaluation. For each condition, the results were summarized using the mean and sample standard deviation across the two seeds, and the direction of the seed-wise paired differences was also examined. Because only two seeds were evaluated, no formal inferential tests were performed. Predictions for the same 57 event proxies under the two seeds were not treated as 114 independent observations. Accordingly, the reported statistics describe variability arising from optimization initialization and should not be interpreted as population-level inferential statistics.
4.5. Comparison of Expanded Synthetic-Pretraining Configurations
The synthetic-pretraining conditions comprised PFT-3k and PFT-9k. PFT-3k contained 3000 images from 250 paired families, whereas PFT-9k was a nested configuration containing the PFT-3k dataset within a total of 9000 images from 750 families. Each family comprised 12 images combining C0–C3 with three camera views under identical scene conditions, while maintaining class balance.
The synthetic training–validation split was performed at the family level rather than the image level. For PFT-3k, 200 and 50 families were assigned to training and validation, respectively; for PFT-9k, the corresponding allocation was 600 and 150 families. This prevented class-specific poses and camera views from the same scene from appearing in both partitions. Table 5 summarizes the configurations.
Table 5.
Synthetic-pretraining configurations and matched real-data evaluation settings.
A ConvNeXt-Tiny model initialized with ImageNet-1K V1 weights was used for synthetic pretraining. The learning rates of the feature extractor and four-class synthetic classification head were set to 1 × 10−5 and 3 × 10−4 respectively. The model was trained for six epochs using AdamW, a weight decay of 0.05, label smoothing of 0.05, a batch size of 8, and 384 × 384-pixel inputs. At the checkpoint with the highest synthetic validation Macro-F1, only the feature extractor was transferred to the real-data model.
PFT-3k and PFT-9k used 4096 and 8192 samples per epoch, respectively. The real-data folds, seeds, model architecture, number of epochs, sequence sampling, batch size, and checkpoint-selection rule were held constant across the two conditions. Synthetic validation was used only as a quality-control measure for pretraining, whereas synthetic-to-real transfer performance was evaluated using the 57-event-proxy OOF results from the real dataset.
PFT-3k and PFT-9k differed not only in the number of unique images but also in synthetic-family composition, pretraining exposure, sampling configuration, and pretraining seed. Therefore, the observed performance difference was interpreted as a comparison between expanded configurations that jointly varied synthetic-family diversity and pretraining exposure, rather than as the causal effect of image count alone. Isolating the effect of image count would require an additional controlled experiment using the same synthetic families, pretraining seed, sampling configuration, and number of gradient updates.
5. Results
5.1. Four-Class Stage 1 Model Selection
Stage 1 compared seven conditions covering Real-only/PFT, input configuration, backbone architecture, and adaptation scope using the same three folds. PFT used a checkpoint pretrained on 3000 synthetic images. Table 6 presents the fold-best validation event-level Macro-F1 scores. These values were used exclusively for model selection and were not interpreted as final OOF performance estimates.
Table 6.
Stage 1 fold-best validation event-level Macro-F1 scores for configuration selection.
PFT-3k/dual/ConvNeXt-Tiny/frozen achieved the highest mean score of 0.5422 and was therefore selected as the locked Stage 2 configuration. Within the partial Real-only comparisons, the worker-input configuration outperformed the other Real-only input configurations, while ResNet50 outperformed ConvNeXt-Tiny under the same dual-input setting. ConvNeXt-Tiny was retained because the highest-performing evaluated PFT configuration used this backbone and the corresponding synthetic-pretraining checkpoint was directly compatible with the locked Stage 2 comparison. Thus, ConvNeXt-Tiny was not selected on the basis of universal superiority over ResNet50; rather, its selection reflected the highest configuration-level score among the evaluated PFT candidates and compatibility with the synthetic-pretraining pipeline.
In the paired comparison between frozen and last-stage adaptation, the frozen configurations also produced slightly higher scores. Following the predefined selection rule, frozen adaptation was preferred when performance was similar because of its lower training complexity. Because substantial fold-level variation was observed, Stage 1 was used only for configuration selection, whereas final performance was assessed through the repeated OOF evaluation in Stage 2. Figure 8 compares the fold-specific validation scores across configurations.
Figure 8.
Stage 1 fold-best validation event-level Macro-F1 scores across model configurations.
Accordingly, dual input, a ConvNeXt-Tiny backbone, and frozen adaptation were used in Stage 2.
5.2. Final Stage 2 OOF Results Across Synthetic-Pretraining Configurations
In Stage 2, the locked configuration was applied identically to Real-only, PFT-3k, and PFT-9k. Each condition was evaluated using the same three event-proxy-grouped folds and two fixed evaluation seeds, denoted as evaluation seeds 1 and 2. The confusion matrices from the best epoch of each fold were combined to calculate the 57-event-proxy OOF metrics. Table 7 summarizes the final Stage 2 OOF results.
Table 7.
Final Stage 2 event-level OOF metrics by training condition and evaluation seed.
The mean event-level Macro-F1 scores were 0.4158 for Real-only, 0.5392 for PFT-3k, and 0.6011 for PFT-9k. The corresponding differences relative to Real-only were +0.1234 and +0.1853 for PFT-3k and PFT-9k, respectively, with the same direction observed for both evaluation seeds. Balanced accuracy and accuracy also maintained the same ranking: Real-only < PFT-3k < PFT-9k. Figure 9 compares the mean event-level Macro-F1 scores across the three training conditions.
Figure 9.
Final Stage 2 event-level OOF performance across training conditions.
PFT-9k exceeded PFT-3k by an average event-level Macro-F1 of 0.0619. Although the magnitude of this additional difference varied between the two evaluation seeds, its direction remained positive. PFT-9k also had the smallest between-seed standard deviation among the comparison conditions, at 0.0131. Figure 10 shows the seed-specific event-level Macro-F1 values.
Figure 10.
Seed-specific event-level Macro-F1 values across Real-only, PFT-3k, and PFT-9k.
The same condition ranking was observed for sequence-level Macro-F1. However, because sequences belonging to the same event proxy were not statistically independent, this metric was used only as a supplementary measure. Overall, under identical real-data, event-proxy-grouped folds, and model-architecture conditions, both synthetic-pretraining configurations achieved higher OOF performance than Real-only. PFT-9k produced the highest mean performance and the lowest between-seed variability.
However, PFT-3k and PFT-9k differed not only in synthetic-image count but also in synthetic-family composition, pretraining exposure, sampling configuration, and pretraining seed. Therefore, the +0.0619 difference was not interpreted as the causal effect of synthetic-image count alone. Instead, it represents the difference between expanded configurations that jointly varied synthetic-family diversity and pretraining exposure. Furthermore, the results were limited to two evaluation seeds and internal validation using 57 event proxies; no claims of statistical significance or external generalization to independent construction sites, workers, cameras, or filming sessions were made.
5.3. Class-Specific Performance and Error Structure
PFT-9k achieved higher mean event-level F1 than Real-only for all four classes, with the largest difference observed for C2. Mean F1 increased from 0.5734 to 0.7478 for C0, from 0.3079 to 0.3980 for C1, from 0.5108 to 0.7596 for C2, and from 0.2711 to 0.4990 for C3. Nevertheless, the absolute F1 values for C1 and C3 remained lower than those for C0 and C2.
The pooled row-normalized confusion matrices showed higher correct-classification rates for PFT-9k than for Real-only across all four classes (Figure 11). Residual errors remained safety-relevant: PFT-9k produced C1→C2 errors for 25.0% of the pooled ground-truth C1 cases and C3→C0 errors for 37.5% of the pooled ground-truth C3 cases. The pooled C3→C0 rate decreased from 54.2% for Real-only to 50.0% for PFT-3k and 37.5% for PFT-9k. Seed-specific C3→C0 rates were 50.0% and 58.3% for Real-only, 41.7% and 58.3% for PFT-3k, and 33.3% and 41.7% for PFT-9k.
Figure 11.
Event-level confusion matrices for Real-only, PFT-3k, and PFT-9k under the final Stage 2 setting. Each matrix pools the OOF predictions from the two random seeds. Cells report raw counts and row-normalized percentages. The pooled values summarize seed-specific prediction behavior and do not represent 114 independent events.
To examine class imbalance and sensitivity to the small number of event proxies, 10,000 bootstrap resamples were generated from the 57 OOF event proxies for each evaluation seed. Table 8 presents descriptive envelopes constructed using the minimum lower bound and maximum upper bound of the seed-specific 95% percentile intervals.
Table 8.
Class-specific mean event-level F1 scores and bootstrap uncertainty envelopes.
Class-specific precision, recall, and F1 values for the three training conditions are summarized in Table 9.
Table 9.
Event-level class-specific performance (mean ± SD across two evaluation seeds).
The bootstrap envelopes were widest for C1 and C3, indicating that their point estimates were particularly sensitive to the current event composition. These ranges were therefore not interpreted as confirmatory confidence intervals for the two-run means. Class-specific precision, recall, and F1 further showed relatively low recall for C1 and C3, indicating that some events in these classes were assigned to other classes.
Overall, synthetic pretraining was associated with higher mean performance for all four classes. However, C1 and C3 exhibited lower point estimates, wider bootstrap ranges, and misclassifications concentrated in specific competing classes. These findings were interpreted as residual weaknesses under the current event-proxy counts and visual boundary conditions rather than as definitive evidence that the classes are intrinsically more difficult.
5.4. Qualitative Analysis of Successful and Unsuccessful Cases
To complement the aggregate metrics, six sequence-level cases were selected from the staged working-at-height scenarios in the evaluated public dataset using the exact inputs and OOF predictions generated during the final evaluation (Figure 12). Cases A and B illustrate sequences for which both Real-only runs produced incorrect predictions while both PFT-9k runs produced the correct C3 and C1 predictions, respectively. Case C shows a safety-relevant C3→C0 false negative produced with high confidence by both PFT-9k runs. Case D illustrates C2→C1 unsafe subtype confusion under a complex outdoor view, while Case E shows a C2→C0 error in which the worker occupied a small image region. Case F illustrates seed sensitivity, with the two PFT-9k runs producing different unsafe subtype predictions at a low probability margin.
Figure 12.
Representative successful and unsuccessful sequence-level classifications. Red dashed rectangles indicate the annotation-derived worker context ROI. Panels (a,b) show transfer successes; (c) a C3→C0 false negative; (d) unsafe subtype confusion; (e) a small worker failure; and (f) a low-margin seed-disagreement case. Faces were pixelated only in the publication composites.
These cases provide examples of success, failure, scale sensitivity, and prediction instability under the evaluated annotation-derived ROI setting. They were selected to illustrate specific error patterns and should not be interpreted as estimates of their prevalence in independent construction environments.
5.5. Training Dynamics and Convergence
Figure 13 summarizes the training dynamics across the three event-proxy-grouped folds and two random seeds under the final Stage 2 setting. Training loss decreased rapidly in all three conditions, whereas validation loss and validation event-level Macro-F1 varied across folds and seeds. PFT-9k generally maintained lower mean validation loss than Real-only and showed higher mean validation event-level Macro-F1 during the later epochs, although appreciable fold- and seed-specific dispersion remained. These curves support assessment of optimization convergence and internal variability but do not provide evidence of generalization to independent construction sites.
Figure 13.
Training dynamics under the final Stage 2 setting. Gray, blue, and orange denote Real-only, PFT-3k, and PFT-9k, respectively. Thin lines show individual fold-seed runs, thick lines show the across-run mean, and shaded regions indicate the mean ± one standard deviation. Stars mark the checkpoint selected for each run using validation event-level Macro-F1. Complete fold- and seed-specific curves are provided in Figure S1.
5.6. Computational Cost
All recorded training runs were conducted using an NVIDIA GeForce RTX 3060 GPU. The six Real-only runs required 22.14 ± 0.72 min per run and 2.21 h in total. PFT-3k required 7.41 min for one-time synthetic pretraining, followed by six real-data adaptation runs averaging 19.95 ± 0.43 min, for a total recorded cost of 2.12 h. PFT-9k required 20.87 min for one-time synthetic pretraining and six adaptation runs averaging 20.04 ± 0.50 min, for a total of 2.35 h. Each synthetic-pretraining checkpoint was shared across all folds and seeds; therefore, its pretraining duration was counted once rather than multiplied by six. These values describe the retained implementation and hardware environment and should not be interpreted as hardware-independent efficiency estimates.The recorded computational costs are summarized in Table 10.
Table 10.
Recorded computational cost under the final Stage 2 setting.
5.7. Preliminary-Validation Results and Rationale for the Expanded Experimental Design
Before the final experiment, preliminary validation was conducted using collapsed binary labels and a smaller evaluation design. In the 50-event-proxy binary classification experiment, the repeated mean event-level Macro-F1 was 0.7254 for Real-only and 0.7506 for PFT. For the paired analysis, event-level predicted probabilities were averaged across three seeds before classification. However, the paired event-level difference was +0.0174, and its bootstrap 95% interval of [−0.0490, 0.0821] included zero. A stable advantage for PFT could therefore not be established.
The subtype analysis indicated that a binary Unsafe label could conceal different error patterns among C1–C3. In addition, the results of the previous seven-event-proxy evaluation had already been examined, meaning that the partition could no longer be used as an independent locked test set. In the initial four-class preliminary validation, PFT also did not outperform Real-only, and substantial fold-level variation was observed.
The final experiment therefore separated C0–C3 and applied grouped cross-validation to all 57 event proxies. Model selection and final evaluation were separated into Stages 1 and 2, and Real-only, PFT-3k, and PFT-9k were compared across multiple runs under identical real-data conditions. The preliminary-validation results were not included in the final performance estimates and were used only as exploratory evidence supporting the need for the expanded experimental design.
6. Discussion
6.1. Interpretation of the Main Findings
This study compared three training conditions under identical real-image, event-proxy-grouped, and model-evaluation settings. In the final OOF evaluation, PFT-9k achieved a mean event-level Macro-F1 that was 0.1853 higher than that of Real-only, while PFT-3k showed intermediate performance (Table 7 and Figure 9). The same ranking was observed for balanced accuracy and accuracy. These results show that the evaluated synthetic-pretraining configurations were associated with higher internal-validation performance than Real-only training for four-class work-state classification. However, they do not isolate the causal effect of synthetic-data scale or establish performance outside the evaluated dataset.
These results are consistent with previous construction-domain studies showing that synthetic data can supplement limited real-image datasets [5,12]. However, whereas previous studies primarily addressed object detection or construction equipment pose estimation, the present study applied synthetic pretraining to an image classification task based on spatial relationships between worker posture and scaffold platform edges. In addition, sequences assigned to the same event proxy were retained within the same fold, thereby reducing direct overlap relative to random image-level partitioning. This grouping strategy nevertheless does not establish independence across physical sites, workers, cameras, or filming sessions.
In Stage 1, PFT/dual/ConvNeXt-Tiny/frozen achieved the highest model-selection score and was subsequently locked for the repeated Stage 2 evaluation. However, the Stage 1 results represented averages of the fold-specific best validation scores and were therefore interpreted only as preliminary evidence for configuration selection, not as final performance estimates. The main conclusions of this study are based on the Stage 2 results obtained by combining the OOF predictions for all 57 event proxies.
6.2. Class-Specific Performance and Limitations of the Synthetic-Data Design
PFT-9k achieved a higher F1 than Real-only for all four classes, with the largest difference observed for C2 (Table 8 and Table 9). Repeated exposure to diverse postures, camera viewpoints, and worker–scaffold geometry in the synthetic images may have supported feature learning for states such as C2, in which postural changes are relatively distinct.
In contrast, C1 and C3 remained comparatively difficult for PFT-9k. For C1, contact with the scaffold structure may become visually ambiguous depending on camera orientation and the spatial relationship between the worker and surrounding scaffold components. C3 requires simultaneous consideration of the worker’s position and its relationship to the platform edge. Consequently, residual C1→C2 and C3→C0 confusion remained. These errors suggest that, in addition to class imbalance, ambiguity in the available visual cues and overlap between class boundaries contributed to the observed error structure. The qualitative cases further illustrated errors associated with small worker scale, complex outdoor backgrounds, visual ambiguity between unsafe subtypes, and seed-sensitive predictions at low probability margins. These observations are descriptive and should not be interpreted as evidence that any single visual factor directly caused the corresponding misclassification. Weak platform-edge boundaries, occlusion, and partial feature loss may present additional challenges, but their individual effects were not isolated in the present study and should be evaluated explicitly in future work. Related industrial vision research has shown that weak boundaries and missing local features can impair visual feature extraction and has explored attention mechanisms and dynamic upsampling to preserve such information [37]. Although that study addressed electron-beam and laser-processing imagery rather than construction safety recognition, its treatment of weak-edge and partial-feature-loss conditions provides a relevant methodological direction for future model development. Accordingly, future work could investigate boundary-aware feature extraction, multiscale feature fusion, and controlled robustness evaluation under occlusion and ROI degradation for scaffold-edge recognition.
The synthetic images used in this study emphasized diversity in class-specific poses, viewpoints, and geometric relationships rather than visual realism. The higher internal-validation performance observed for PFT-9k is consistent with the possibility that low-fidelity synthetic images provided useful pretraining signals under the evaluated configuration. However, because low-fidelity and photorealistic rendering conditions were not compared directly, the results do not demonstrate that visual realism is unimportant or that geometric diversity was the sole cause of the improvement.
Similarly, the higher performance of PFT-9k relative to PFT-3k should not be interpreted as the isolated effect of synthetic image count. PFT-9k differed in the number of unique families, pretraining exposure, sampling configuration, and synthetic-pretraining seed. The results therefore represent the overall effect of the expanded synthetic-data configuration rather than an ablation isolating the causal effect of each component.
6.3. External Generalization and Scope of Field Application
The evaluation used identifier-level event proxies to prevent sequences assigned to the same proxy from appearing in both training and validation folds. This event-proxy-grouped design reduces direct overlap compared with random frame- or sequence-level partitioning. However, the proxies were derived from the available metadata and do not necessarily correspond to independent physical sites, workers, cameras, backgrounds, or filming sessions. The protocol should therefore be described as identifier-level event-grouped internal validation rather than validation on unseen construction environments. Cross-domain risk-modeling research has similarly shown that model performance and suitability can vary across regions and environmental conditions because of local data characteristics and distribution shifts [38].
All evaluations were conducted using a single public dataset composed of staged work-at-height scenarios. Consequently, the reported estimates may be optimistic relative to performance on independent construction sites containing different workers, scaffold configurations, camera systems, backgrounds, occlusion patterns, and operational conditions. The magnitude of this optimism bias cannot be quantified using the present dataset alone. Future studies should control model-selection bias through nested cross-validation and, more importantly, conduct external testing using data collected independently across sites, workers, cameras, and filming conditions.
The present model should be interpreted as an offline sequence classification model operating under reliable annotation-derived ROI inputs. It does not include worker detection, tracking, target association, or automatic ROI construction, and it does not quantify the effects of detection errors, multiple workers, severe occlusion, or incorrectly localized ROIs. Moreover, the present study did not evaluate probability calibration, operational decision thresholds, false-negative and false-positive review rates, or the expected manual-review workload. The results therefore do not establish real-time CCTV performance or deployment-ready safety decision support. Such claims would require an end-to-end pipeline and independent field evaluation incorporating automatic worker detection, tracking, ROI construction, and ROI-perturbation testing.
6.4. Study Limitations
This study has several limitations. First, all real images originated from a single public dataset of staged work-at-height scenarios; therefore, the diversity of actual construction sites, workers, scaffold configurations, cameras, weather conditions, and operational disturbances may not be fully represented. Second, the event proxies were constructed from the available identifiers and metadata. Although proxy-level grouping reduced direct overlap, it did not demonstrate environmental independence across sites, workers, cameras, or filming sessions. Third, the use of annotation-derived worker-context ROIs excluded errors arising from worker detection, tracking, target association, and automatic ROI construction. These characteristics may cause the present internal validation results to be more optimistic than end-to-end field performance.
Fourth, the final repeated evaluation included only two seeds, and the reported means and sample standard deviations are therefore descriptive rather than inferential. Fifth, the magnitude of internal validation optimism cannot be estimated without a genuinely independent external dataset or a nested model-selection procedure. Sixth, PFT-3k and PFT-9k differed in synthetic-family composition, pretraining exposure, sampling configuration, and pretraining seed as well as image count; their difference cannot be interpreted as an isolated scale effect. Seventh, data quality control relied on automated rules and AI-assisted preliminary screening without an independent assessment of inter-reviewer agreement. Finally, synthetic and real images retained differences in appearance and imaging distribution. Future research should use nested cross-validation, independently collected external test sets, automatically generated ROIs, and end-to-end evaluations across multiple construction environments.
7. Conclusions
This study evaluated synthetic-to-real pretraining for four-class recognition of visually observable work states at scaffold platform edges: normal work (C0), climbing/contact (C1), leaning beyond the guardrail (C2), and edge work (C3). The audited real dataset comprised 96,603 images, 246 sequences, and 57 identifier-derived event proxies. Event-proxy-grouped three-fold cross-validation retained sequences assigned to the same proxy within one fold, thereby reducing direct overlap relative to random image-level partitioning. However, this grouping did not establish independence across physical sites, workers, cameras, or filming sessions.
Stage 1 compared input configurations, backbone architectures, synthetic pretraining, and real-data adaptation scopes. The PFT/dual/ConvNeXt-Tiny/frozen configuration achieved the highest model-selection score among the evaluated candidates and was therefore locked for Stage 2. This selection does not imply that the configuration is universally optimal for other construction safety datasets or imaging environments.
In the repeated Stage 2 OOF evaluation, Real-only achieved an event-level Macro-F1 of 0.4158 ± 0.0205, whereas PFT-3k and PFT-9k achieved 0.5392 ± 0.0534 and 0.6011 ± 0.0131, respectively. The corresponding differences from Real-only were +0.1234 and +0.1853, and the same condition ranking was observed for balanced accuracy and accuracy for both evaluation seeds.
PFT-9k showed higher mean class-specific F1 than Real-only for all four states, with the largest difference observed for C2. Nevertheless, C1 and C3 retained lower performance and safety-relevant residual errors, including C1→C2 and C3→C0 misclassification. In addition, the difference between PFT-3k and PFT-9k cannot be interpreted as the causal effect of synthetic-image count because the configurations also differed in synthetic-family composition, pretraining exposure, sampling configuration, and pretraining seed. The relative contribution of synthetic-data quantity, diversity, and visual realism therefore remains unresolved.
The reported results are limited to identifier-level event-grouped internal validation using a single public dataset of staged work-at-height scenarios. The model operated on full frames and reliable annotation-derived worker-context ROIs and did not evaluate worker detection, tracking, target association, automatic ROI construction, real-time processing, probability calibration, or operational review workload. Accordingly, the findings do not establish end-to-end CCTV performance or generalizability to independent construction sites. Future research should employ nested cross-validation, independently collected external test sets, automatically generated and perturbed ROIs, controlled synthetic-data ablations, and end-to-end evaluation across multiple sites, workers, scaffold configurations, and camera systems.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/buildings16204111/s1, Supplementary File S1 contains the Supplementary Methods, including Tables S1–S6; Figure S1 (panels (a)–(c)): Fold- and seed-specific training loss, validation loss, and validation event-level Macro-F1 curves for Real-only, PFT-3k, and PFT-9k; Figure S2: Seed-specific event-level confusion matrices; Table S7: Seed-specific class-level precision, recall, F1, and C3-to-C0 error results; and Table S8: Best-epoch and run-level computational records for the 18 final Stage 2 runs.
Author Contributions
Conceptualization, J.L. and M.Y.; methodology, J.L.; software, J.L.; validation, J.L. and M.Y.; formal analysis, J.L.; investigation, J.L.; data curation, J.L.; writing—original draft preparation, J.L.; writing—review and editing, J.L. and M.Y.; visualization, J.L.; supervision, M.Y.; project administration, M.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by a Korea Agency for Infrastructure Technology Advancement (KAIA) grant funded by the Korean government (MOLIT) (RS-2023-00250434).
Data Availability Statement
Restrictions apply to the availability of the source data. The source data were obtained from AI Hub and are available through AI Hub (Dataset No. 507; Reference [14]), subject to the provider’s access and use conditions. Original AI Hub JPG and JSON files are not redistributed. Additional methodological details are provided in Supplementary File S1. The custom training and evaluation code is available from the corresponding author upon reasonable request.
Acknowledgments
This research used datasets from “The Open AI Dataset Project (AI-Hub, Republic of Korea)”. All data information can be accessed through AI-Hub (https://www.aihub.or.kr/, accessed on 23 August 2026). During the preparation of this study, the authors used OpenAI Codex Desktop (runtime version 0.147.0-alpha.6.6; OpenAI), with the gpt-5.6-sol and gpt-5.6-terra models, for preliminary screening of selected real and synthetic images and for assistance with figure preparation and language refinement in August 2026. The authors reviewed and edited all outputs and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Khan, M.; Nnaji, C.; Khan, M.S.; Ibrahim, A.; Lee, D.; Park, C. Risk factors and emerging technologies for preventing falls from heights at construction sites. Autom. Constr. 2023, 153, 104955. [Google Scholar] [CrossRef] [Scilit]
- Khan, N.; Saleem, M.R.; Lee, D.; Park, M.-W.; Park, C. Utilizing safety rule correlation for mobile scaffolds monitoring leveraging deep convolution neural networks. Comput. Ind. 2021, 129, 103448. [Google Scholar] [CrossRef] [Scilit]
- Chi, C.-F.; Chang, T.-C.; Ting, H.-I. Accident patterns and prevention measures for fatal occupational falls in the construction industry. Appl. Ergon. 2005, 36, 391–400. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, M.; Wu, C.; Guo, Y.; Jiang, R.; Zhou, F.; Zhang, J.; Yang, Z. Transformer-based deep learning model and video dataset for unsafe action identification in construction projects. Autom. Constr. 2023, 146, 104703. [Google Scholar] [CrossRef] [Scilit]
- Assadzadeh, A.; Arashpour, M.; Brilakis, I.; Ngo, T.; Konstantinou, E. Vision-based excavator pose estimation using synthetically generated datasets with domain randomization. Autom. Constr. 2022, 134, 104089. [Google Scholar] [CrossRef] [Scilit]
- Lee, H.; Jeon, J.; Lee, D.; Park, C.; Kim, J.; Lee, D. Game engine-driven synthetic data generation for computer vision-based safety monitoring of construction workers. Autom. Constr. 2023, 155, 105060. [Google Scholar] [CrossRef] [Scilit]
- Seo, J.; Han, S.; Lee, S.; Kim, H. Computer vision techniques for construction safety and health monitoring. Adv. Eng. Inform. 2015, 29, 239–251. [Google Scholar] [CrossRef] [Scilit]
- Fang, W.; Ding, L.; Love, P.E.D.; Luo, H.; Li, H.; Peña-Mora, F.; Zhong, B.; Zhou, C. Computer vision applications in construction safety assurance. Autom. Constr. 2020, 110, 103013. [Google Scholar] [CrossRef] [Scilit]
- Guo, B.H.W.; Zou, Y.; Fang, Y.; Goh, Y.M.; Zou, P.X.W. Computer vision technologies for safety science and management in construction: A critical review and future research directions. Saf. Sci. 2021, 135, 105130. [Google Scholar] [CrossRef] [Scilit]
- Fang, W.; Ding, L.; Luo, H.; Love, P.E.D. Falls from heights: A computer vision-based approach for safety harness detection. Autom. Constr. 2018, 91, 53–61. [Google Scholar] [CrossRef] [Scilit]
- Abbas, M.S.; Hussain, R.; Zaidi, S.F.A.; Lee, D.; Park, C. Computer vision-based safety monitoring of mobile scaffolding integrating depth sensors. Buildings 2025, 15, 2147. [Google Scholar] [CrossRef] [Scilit]
- Kim, J.; Kim, D.; Lee, S.H.; Chi, S. Hybrid DNN training using both synthetic and real construction images to overcome training data shortage. Autom. Constr. 2023, 149, 104771. [Google Scholar] [CrossRef] [Scilit]
- Delussu, R.; Putzu, L.; Fumera, G. Synthetic data for video surveillance applications of computer vision: A review. Int. J. Comput. Vis. 2024, 132, 4473–4509. [Google Scholar] [CrossRef] [Scilit]
- AI-Hub. Real-Time Video Data from Work-at-Height Sites, Version 1.1; Dataset No. 507. Available online: https://www.aihub.or.kr/aihubdata/data/view.do?dataSetSn=507&topMenu=100 (accessed on 23 August 2026).
- Denninger, M.; Winkelbauer, D.; Sundermeyer, M.; Boerdijk, W.; Knauer, M.; Strobl, K.H.; Humt, M.; Triebel, R. BlenderProc2: A procedural pipeline for photorealistic rendering. J. Open Source Softw. 2023, 8, 4901. [Google Scholar] [CrossRef] [Scilit]
- Guo, B.H.W.; Goh, Y.M.; Wong, K.L.X. A system dynamics view of a behavior-based safety program in the construction industry. Saf. Sci. 2018, 104, 202–215. [Google Scholar] [CrossRef] [Scilit]
- Fang, W.; Love, P.E.D.; Luo, H.; Ding, L. Computer vision for behaviour-based safety in construction: A review and future directions. Adv. Eng. Inform. 2020, 43, 100980. [Google Scholar] [CrossRef] [Scilit]
- Zhang, M.; Shi, R.; Yang, Z. A critical review of vision-based occupational health and safety monitoring of construction site workers. Saf. Sci. 2020, 126, 104658. [Google Scholar] [CrossRef] [Scilit]
- Guo, H.; Yu, Y.; Skitmore, M. Visualization technology-based construction safety management: A review. Autom. Constr. 2017, 73, 135–144. [Google Scholar] [CrossRef] [Scilit]
- Badhan, S.J.; Samsami, R. Artificial intelligence (AI) in construction safety: A systematic literature review. Buildings 2025, 15, 4084. [Google Scholar] [CrossRef] [Scilit]
- Hou, X.; Li, C.; Fang, Q. Computer vision-based safety risk computing and visualization on construction sites. Autom. Constr. 2023, 156, 105129. [Google Scholar] [CrossRef] [Scilit]
- Bonyani, M.; Soleymani, M.; Wang, C. Construction workers’ unsafe behavior detection through adaptive spatiotemporal sampling and optimized attention based video monitoring. Autom. Constr. 2024, 165, 105508. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Hao, T.; Li, F.; Zhao, L.; Wang, Z. Faster R-CNN–LSTM construction site unsafe behavior recognition model. Appl. Sci. 2023, 13, 10700. [Google Scholar] [CrossRef] [Scilit]
- Herath, S.; Harandi, M.; Porikli, F. Going deeper into action recognition: A survey. Image Vis. Comput. 2017, 60, 4–21. [Google Scholar] [CrossRef] [Scilit]
- Dang, L.M.; Min, K.; Wang, H.; Piran, M.J.; Lee, C.H.; Moon, H. Sensor-based and vision-based human activity recognition: A comprehensive survey. Pattern Recognit. 2020, 108, 107561. [Google Scholar] [CrossRef] [Scilit]
- Ying, H.; Sacks, R.; Degani, A. Synthetic image data generation using BIM and computer graphics for building scene understanding. Autom. Constr. 2023, 154, 105016. [Google Scholar] [CrossRef] [Scilit]
- Soltani, M.M.; Zhu, Z.; Hammad, A. Automated annotation for visual recognition of construction resources using synthetic images. Autom. Constr. 2016, 62, 14–23. [Google Scholar] [CrossRef] [Scilit]
- Xiong, R.; Tang, P. Machine learning using synthetic images for detecting dust emissions on construction sites. Smart Sustain. Built Environ. 2021, 10, 487–503. [Google Scholar] [CrossRef] [Scilit]
- Hwang, J.; Kim, J.; Chi, S. Site-optimized training image database development using web-crawled and synthetic images. Autom. Constr. 2023, 151, 104886. [Google Scholar] [CrossRef] [Scilit]
- Fu, Y.; Lu, W.; Dong, Z.; Fang, Y. A synthetic data-enhanced method for automated 3D pose recognition of construction workers. Expert Syst. Appl. 2025, 294, 128768. [Google Scholar] [CrossRef] [Scilit]
- Varol, G.; Laptev, I.; Schmid, C.; Zisserman, A. Synthetic humans for action recognition from unseen viewpoints. Int. J. Comput. Vis. 2021, 129, 2264–2287. [Google Scholar] [CrossRef] [Scilit]
- Tasoren, A.E.; Celikcan, U. NOVAction23: Addressing the data diversity gap by uniquely generated synthetic sequences for real-world human action recognition. Comput. Graph. 2024, 118, 1–10. [Google Scholar] [CrossRef] [Scilit]
- Tobin, J.; Fong, R.; Ray, A.; Schneider, J.; Zaremba, W.; Abbeel, P. Domain randomization for transferring deep neural networks from simulation to the real world. In Proceedings of the 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 24–28 September 2017. [Google Scholar] [CrossRef] [Scilit]
- Tremblay, J.; Prakash, A.; Acuna, D.; Brophy, M.; Jampani, V.; Anil, C.; To, T.; Cameracci, E.; Boochoon, S.; Birchfield, S. Training deep networks with synthetic data: Bridging the reality gap by domain randomization. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Salt Lake City, UT, USA, 18–22 June 2018. [Google Scholar] [CrossRef] [Scilit]
- Wu, H.; Song, C.; Yue, S.; Wang, Z.; Xiao, J.; Liu, Y. Dynamic video mix-up for cross-domain action recognition. Neurocomputing 2022, 471, 358–368. [Google Scholar] [CrossRef] [Scilit]
- Liu, D.; Bao, Z.; Mi, J.; Gan, Y.; Ye, M.; Zhang, J. Cross-domain video action recognition via adaptive gradual learning. Neurocomputing 2023, 556, 126622. [Google Scholar] [CrossRef] [Scilit]
- Kang, M.; Liang, Y.; Zhao, B.; Liu, J.; Wang, X.; Wu, C.; Li, Q.; Zhang, J.; Tian, W. Machine Learning-Based Detection Technology for Electron Beam and Laser Processing. Opt. Laser Technol. 2026, 201, 115292. [Google Scholar] [CrossRef] [Scilit]
- Feng, L.; Guo, M.; Wang, W.; Chen, Y.; Shi, Q.; Guo, W.; Lou, Y.; Kang, H.; Chen, Z.; Zhu, Y. Comparative Analysis of Machine Learning Methods and a Physical Model for Shallow Landslide Risk Modeling. Sustainability 2023, 15, 6. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.












