A newly developed computational vision model combining multi-scale feature pyramids, parameter-free attention mechanisms, and lightweight linear convolutions has achieved a 92.55 percent classification accuracy in identifying the fine-grained micro-space architectural design styles of traditional Lingnan settlements. Developed by researchers Xiangling Luo and MingYang Liu, the architecture, designated as GSM-EfficientNet, addresses longstanding technical bottlenecks in cultural heritage conservation where conventional identification relies heavily on subjective, labor-intensive manual inspections by architectural experts. Traditional Chinese settlements across southern China’s Lingnan region encompass distinct regional traditions associated with Guangfu, Chaoshan, and Hakka cultural groups, yet rapid modern urbanization has subjected many historic communities to homogeneous transformation and spatial erosion. While standard computer vision applications in architectural classification typically evaluate whole individual buildings at a single macro scale, the newly designed methodology focuses specifically on micro-space environments such as alleyway cross-sections, transitional eaves, internal courtyards, lightwells, and ornate decorative components. By converting qualitative vernacular design features into structured numerical supervision signals, the research establishes an automated framework capable of discriminating subtle regional nuances while maintaining computational efficiency suitable for resource-constrained field deployments.
To support systematic algorithmic classification, the investigators constructed a specialized four-dimensional computable feature description system tailored to Lingnan ancient village micro-spaces, organizing spatial attributes into visual characteristics, spatial form geometry, component features, and cultural symbols. Within this structured scheme, visual indicators record quantifiable measurements of color distribution, surface texture, and ambient light and shadow interactions across architectural surfaces. The spatial form dimension captures critical structural proportions, including the width-to-height ratio of narrow pedestrian laneways and the bay-depth proportions of traditional central patios. Component features focus on physical building elements with high cultural specificity, including the curved contours of wok-ear pediment walls, gray plastic sculptural reliefs, and the intricate physical carving depth of decorative brickwork. Cultural symbols translate semantic and textual information into machine-readable data, incorporating engraved lintel inscriptions, doorway couplets, and auspicious decorative motifs. By translating qualitative architectural heritage descriptors into numerical indicators, this framework provides direct mathematical supervision signals that guide the downstream training of deep neural networks across visually complex vernacular settings.
The corresponding empirical dataset was compiled through comprehensive field surveys across prominent traditional settlements in the Lingnan area registered in the Chinese traditional village directory, including Huangpu Ancient Village, Songtang Village, Kengbei Ancient Village, Qianmei Village, Longhu Ancient Village, Qiao Village, and Sujiawei. Primary visual data acquisition utilized high-resolution Nikon D850 digital cameras capturing images at resolutions of 3000 by 4000 pixels or higher under varied natural lighting conditions. To complement two-dimensional photography, terrestrial laser scanning was executed using a FARO Focus S350 system, delivering three-dimensional point clouds with an instrumental accuracy of 5 millimeters at a 10-meter range. These physical records were corroborated with architectural surveying drawings from the Building Information Modeling Digital Catalog of Lingnan Classic Traditional Residential Houses and historical local chronicles. After filtering out low-quality captures, the final curated dataset contained 4,200 verified micro-space images, evenly divided into 1,400 samples each for the Guangfu, Chaoshan, and Hakka architectural styles. The research team partitioned the corpus into training, validation, and testing subsets according to a 70:15:15 ratio under expert architectural guidance, applying controlled geometric and photometric data augmentations comprising random horizontal flips, rotational variations of plus or minus 10 degrees, brightness adjustments within a 10 percent margin, and image scale shifts spanning 0.9 to 1.1 times.
The underlying network architecture relies on EfficientNet-B0 as its structural benchmark, capitalizing on compound scaling principles that uniformly scale network depth, layer width, and input image resolution using fixed scaling coefficients. To overcome the limitations of standard convolutional architectures that struggle to simultaneously represent microscopic craft ornamentation and macro-level spatial geometry, the authors modified the core Mobile Inverted Bottleneck Convolution block into an enhanced processing unit. In each updated block, feature maps initially pass through a point-wise Ghost convolution to adjust dimensionality before entering depth-wise convolutions that isolate spatial structures and local textures. Subsequently, the features traverse a dedicated Multi-Scale Pyramid Fusion Module designed to unify localized motifs with broader spatial geometry. Crucial structural details are then accentuated through a parameter-free Simple Attention Module that highlights discriminative visual features while suppressing irrelevant environmental background clutter. After traversing a final point-wise Ghost convolution, the internal processing stream concludes with an identity residual shortcut connection that adds the transformed features directly to the initial input feature map, thereby mitigating vanishing gradient risks across deeper network stages.
The Multi-Scale Pyramid Fusion Module acts as the central mechanism for reconciling divergent visual scales by pairing a channel attention branch with a parallel multi-scale spatial attention branch. In the channel attention path, spatial dimensions undergo simultaneous global average pooling and global maximum pooling, with the resulting channel descriptors passed through a shared two-layer multi-layer perceptron and activated by a sigmoid function to compute element-wise scaling weights that emphasize critical channel representations such as gray plastic reliefs and decorative brick carvings. Concurrently, the multi-scale spatial attention branch compresses incoming channel dimensions through average and maximum pooling operations before concatenating the resulting maps. This concatenated spatial representation is processed simultaneously through three parallel convolutional filters of size 1 by 1, 3 by 3, and 5 by 5 pixels. Within this spatial pyramid, 1 by 1 convolutions preserve fine boundary contours such as the distinct parabolic edge of wok-ear walls, 3 by 3 kernels extract mid-scale relief decorations, and 5 by 5 kernels capture wider geometric proportions such as lane width-to-height and patio aspect ratios. Combining these parallel outputs creates unified spatial attention weights that preserve fine masonry textures alongside global structural layouts.
To prevent localized architectural features from being obscured by visual background noise commonly found in uncurated field imagery, the authors integrated the parameter-free Simple Attention Module, or SimAM. Historic village photographs frequently feature extraneous visual disturbances, including water stains on masonry walls, overgrown vegetation, shadowed recesses, and ground debris, which can divert standard convolutional attention from primary architectural markers. Rather than allocating additional learnable parameters, SimAM evaluates individual neuron significance by deriving an energy function based on spatial and channel variances relative to adjacent units within the same feature layer. Neurons exhibiting lower calculated energy states demonstrate substantial statistical differentiation from their immediate neighborhood, marking them as carrying vital discriminatory information. In vernacular village scenes, these low-energy neurons consistently correspond to high-contrast structural inflections, such as the curved silhouetted apex of wok-ear masonry walls or intricate turns in ornamental plaster moldings. By multiplying incoming feature tensors against the inverse of this computed energy matrix scaled through a sigmoid function, the network amplifies subtle architectural cues while actively dampening ambient environmental interference.
To guarantee real-time operational efficiency during on-site field surveys and facilitate deployment on edge computing hardware, the architecture integrates Ghost lightweight convolutions to replace conventional computationally demanding convolution layers. Standard convolutional filters often generate redundant feature representations that incur high computational costs. The Ghost convolution structure circumvents this overhead by utilizing a limited primary set of standard convolutions to generate baseline intrinsic feature maps that delineate core architectural outlines. A succession of computationally inexpensive linear transformations is then applied to these baseline maps to generate complementary redundant feature representations, capturing directional shifts in masonry patterns and relief textures without multiplying parameter tallies. Splicing the intrinsic and linearly transformed feature maps produces a complete output tensor matching conventional dimensional specifications at a fraction of the computational burden. To preserve numerical stability across successive linear expansions, the pipeline applies batch normalization across the combined feature maps, stabilizing variance and preventing feature degradation during inference in mobile hardware environments.
Controlled progressive ablation trials confirmed the cumulative performance impact of each structural innovation over the standard EfficientNet-B0 baseline. The baseline architecture, denoted as Model A, registered a median classification accuracy of 89.94 percent, requiring 5.33 million parameters and an inference latency of 12.52 milliseconds. Integrating the multi-scale pyramid fusion module in Model B increased the median accuracy to 90.84 percent, accompanied by slight increases in parameter volume to 5.42 million and inference latency to 13.24 milliseconds. Incorporating the parameter-free SimAM attention mechanism in Model C elevated accuracy further to 91.74 percent without expanding network parameters. In the finalized GSM-EfficientNet configuration, designated as Model D, the integration of Ghost convolutions compressed overall parameter volume down to 4.27 million and reduced inference latency to 8.33 milliseconds, while raising median accuracy to 92.55 percent and limiting computational overhead to 0.43 billion floating-point operations per second. Comparative training benchmarks evaluated against Swin Transformer, a convolutional neural network paired with a support vector machine, and ResNet50 demonstrated that GSM-EfficientNet attained the fastest optimization convergence, reducing initial training loss from 1.08 to 0.02 across 100 epochs while maintaining a final validation loss of 0.04 and a narrow 2.02 percent generalization gap between training and validation accuracy.
Further experimental evaluations revealed robust class-specific discrimination, predictive stability, and environmental resilience across the three cultural styles. When evaluated on the isolated test partition, GSM-EfficientNet achieved specific classification accuracies of 95.22 percent for Guangfu style, 93.03 percent for Chaoshan style, and 92.57 percent for Hakka style, with corresponding F1 scores reaching 94.04 percent, 92.15 percent, and 92.08 percent. Confusion matrix analyses indicated an overall average test accuracy of 92.74 percent, drastically reducing historical classification ambiguity between visually similar Guangfu and Chaoshan micro-spaces to misjudgment rates of 3.52 percent and 5.22 percent, whereas standard ResNet50 models misidentified Guangfu structures as Chaoshan in 13.24 percent of cases. Absolute error analysis through Wilcoxon statistical testing confirmed a concentrated error distribution centered at a median of 1.71 percent with a narrow standard deviation of 0.43 percent. Under constrained data conditions where training partitions were restricted to only 20 percent of available samples, the proposed model preserved an 82.33 percent classification accuracy, demonstrating superior small-sample stability. Furthermore, photometric robustness tests demonstrated that while normal illumination yielded 93.21 percent accuracy, the model retained an 83.17 percent accuracy under low-light capture, outperforming Swin Transformer by 7.35 percentage points, CNN-SVM by 11.71 percentage points, and ResNet50 by 19.07 percentage points.
The demonstrated performance establishes GSM-EfficientNet as a viable computational tool for vernacular architectural preservation, offering quantitative methodological support for heritage archiving, automated field surveys, and restoration planning across historic settlements. By uniting multi-scale receptive fields with lightweight parameter-free feature selection, the network effectively resolves the persistent trade-off between fine-grained decorative recognition and structural model compactness. As noted in the study’s concluding analysis, the underlying framework exhibits clear transferable potential for analyzing other regional architectural traditions that feature complex, localized craft embellishments embedded within standardized rural layouts. Looking toward future technical extensions, the research team identified several prospective development trajectories, including the expansion of current static datasets to encompass dynamic video streams and wider geographic regions, the multimodal fusion of two-dimensional imagery with dense three-dimensional point clouds, the exploration of few-shot and self-supervised learning paradigms to further reduce reliance on manual expert annotations, and the software optimization of the pipeline for embedded edge-device deployment during direct on-site architectural monitoring.
Subject of Research: Deep learning prediction of architectural micro-space design styles in Lingnan ancient villages
Article Title: Improved EfficientNet Lingnan ancient village micro-space design style prediction model integrating multi-scale features
Article References: Luo, X., & Liu, M. (2026). Improved EfficientNet Lingnan ancient village micro-space design style prediction model integrating multi-scale features. Computational Urban Science, 6(1), Article 74. https://doi.org/10.1007/s43762-026-00307-z
Image Credits: AI Generated
DOI: 10.1007/s43762-026-00307-z
Keywords: Lingnan ancient villages, micro-space design style, computational urban science, GSM-EfficientNet, EfficientNet-B0, multi-scale pyramid fusion module, simple parameter-free attention module, Ghost convolution, Guangfu architecture, Chaoshan architecture, Hakka architecture, cultural heritage preservation, fine-grained image classification, architectural feature extraction, digital heritage conservation, lightweight convolutional neural networks, vernacular architecture, traditional Chinese settlements
News Source: Courtney Benton. (November 24, 2026). Lightweight Deep Learning Model Accurately Classifies Lingnan Ancient Village Architectural Styles. Scienmag.



