Skip to main content
Nature Communications logoLink to Nature Communications
. 2026 Jun 16;17:7634. doi: 10.1038/s41467-026-73376-7

Reconstructing building genealogy with visual intelligence

Xuan Xue 1,2, Yaotian Yang 3, Zihui Tian 2, T C Chang 4, Chye Kiang Heng 2,✉
PMCID: PMC13434151  PMID: 42303992

Abstract

The study of vernacular buildings involves recording, classifying, and analyzing large building populations to probe their environmental and cultural explanations. Traditionally, this process has relied on manual observation and researcher intuition, which can lead to selective and imprecise interpretations. Here we propose a computational framework that integrates visual intelligence to support the reconstruction of building genealogy. The framework is based on the premise that interpreting historical artefacts involves identifying a function from discrete data. We apply it to the stylistic classification of Singapore shophouses using frontage images of 1,276 historic shophouses in Singapore’s Chinatown. Findings move beyond the chronological order established by the Urban Redevelopment Authority of Singapore in the 1990s and offer a critical perspective on the multi-ethnic character of Singapore shophouses. The study serves as a model for collaboration between studies in human settlements and computer science, demonstrating how leveraging the strengths of both fields can yield remarkable insights.

Subject terms: Architecture, History


This study uses visual intelligence to uncover a hidden genealogy of Singapore shophouses, showing that vernacular architecture evolved through dynamic cultural interaction rather than through a simple linear history.

Introduction

Vernacular buildings are one of the most ubiquitous forms of material culture, providing a robust empirical record to understand people and their place1–3. Vernacular buildings are also one of the most underrated cultural heritages, often overshadowed by monumental or iconic structures and constantly threatened by abandonment and destruction under relentless waves of rapid urbanization and modernization4–6. Despite international charters and agendas being proposed to advocate their conservation7–9, our understanding of these vernacular built remains insufficient, which in turn hinders practical judgment of what and how to preserve such buildings in practice. The study of vernacular buildings has been a common ground for antiquarians, historians, geographers, folklorists, archaeologists, anthropologists, architects and more10,11. For years, they have made great strides to record, classify, and order buildings, in order to probe environmental and cultural explanations for their form, which in turn help inform future conservation and development practices12. Traditionally, this work is conducted manually and intuitively by researchers, entailing extensive labor that often overlooks intricate building types or variants13. Such a situation might be tenable from an art historical perspective because its interpretation of vernacular buildings is intrinsically selective, depending on the compatibility of form with contemporary aesthetics10,14,15. However, from a social scientific perspective, “the attempt to account for all buildings is fundamental”14, and the conditions noted above may impede the credibility of building genealogy, undermining efforts to understand its connotative socio-cultural change1.

In recent years, the rapid development of various digital technologies has showcased enormous potential for moving the research paradigm of vernacular buildings towards greater efficiency, objectivity, and profundity. Firstly, the sophistication of remote sensing tools, such as cameras16, LiDAR (Light Detection and Ranging)17, satellites18, UAV (Unmanned Aerial Vehicle)19, and more, has produced vast amounts of data relating to vernacular buildings. Platforms like Google Street View have provided online access to images that cover most parts of the world and anything photographable from a public street. This democratic rather than discriminative record of extant buildings ensures greater credibility20,21. They are also publicly accessible resources, showcasing the great potential of liberating researchers from the intense fieldwork of data collection22,23.

Secondly, technological advancements in computer vision have developed varied image-processing algorithms that can be used to solve the problems of architectural classification24. Early works focused on combating repetitive labour in architectural classification tasks. They used simpler machine-learning algorithms to classify images with manually extracted features (such as edges, textures, corners, etc.). Shalunts et al25. proposed classifying a small group of images of building façade windows with three pre-determined architectural styles: Romanesque, Gothic and Baroque. By using Scale Invariant Feature Transform (SIFT) to extract the local features, the study completed the task with a high accuracy of 95.16%. The rise of deep learning in the 2010s, specifically convolutional neural networks (CNNs), has allowed for more sophisticated and automated image classification tasks. Works that probed the architectural typological systems started to emerge. Based on the deep convolutional neural network (DCNN), Sun et al26. re-examined the stylistic system of residential buildings in Cambridge, formulated by Lindenthal and Johnson27. The study demonstrates the correlation between style and age, which manifests most prominently in the architectural feature of the window. This discussion on AI-augmented formal taxonomy is preliminary but already shows great potential for deeper investigation.

Lastly, scientific data analysis packages have developed many mathematical models to describe and interpret the relationship among taxa28,29. These models have been widely applied in archaeology and linguistics, but rarely in the study of vernacular architecture. A significant gap is that the theoretical hypothesis that underpins much of the study of vernacular buildings fails to be elaborated explicitly10,30. In contrast, other domains within cultural studies have evolved to establish mathematical models based on certain propositions about culture31. For example, archaeologists employ phylogenetic approaches to model change in artefact forms across time and space, like stone tools32, pottery33, carpets34 and more. This is based on the proposition that “cultural change is systematic rather than capricious and on the auxiliary proposition that an important basis for the systematic behaviour of culture is its continuous transmission through the agency of person-to-person contact.”35 Transferring these propositions and numerical methods to vernacular buildings studies is promising. On the one hand, it contributes to validating existing theories about vernacular buildings; on the other hand, it facilitates the results being theoretically justifiable, reproducible, and quantitatively defensible.

Drawing on previous scholarly endeavours, this study aims to advance computational vernacular studies by formulating the building genealogy through guiding human intuition with vision intelligent technologies assemblage. By incorporating collection, classification and interpretation, our proposed framework provides researchers with a systematic visual intelligence toolkit to examine built forms in dispersed geographical contexts, in order to derive justifiable maps of relatedness. The Singapore shophouse, a quintessential urban vernacular building36–38, is selected as the subject of our scholarly investigation. The study creates and analyzes a georeferenced image set of surviving 19th and 20th-century shophouses in downtown Singapore. The computational modeling results indicate that the formal change of shophouses across time and space is best captured by a phylogenetic network, which organizes the shophouse types into nine distinct clusters. In turn, we also show how this genealogy reveals concurrent signals of cultural evolution and diffusion across a range of building data. Here, cultural evolution manifests as a transition from traditional to modern architectural styles, while cultural diffusion, particularly during periods of economic prosperity, is characterized by the emergence of diverse ethnic styles, indicating cultural exchange among different ethnicities, alongside competition and integration. The paper begins with some conceptual background and literature review on how we might “compute the vernacular”. The goal is to develop a computational framework to facilitate visual intelligence in interpreting vernacular built forms. This is followed by some contextual information on Singapore and its shophouse vernacular. The data is then presented in a three-fold discussion highlighting the processes of collection, classification and interpretation. The study ends by verifying the hypothesis and thinking through the wider applications of our work to other architectural contexts, practices and empirical settings.

Results

Computing the vernacular

While it is tempting to imagine vernacular buildings as changeless, we must acknowledge that change is inherent in the nature of the vernacular10,39–41, reflecting the complexity of the socio-cultural system. Genealogy serves as an indispensable means of describing the change in vernacular buildings and landscapes across time and space.

Traditional approaches to genealogy rely on researchers’ intuition, established through the constant re-experiencing of identical or similar artifacts. Fred Kniffen’s pioneering work on settlement geography in the U.S. involves the recording and classification of folk housing, in which he lamented, “There are times in the field when a deluge of variant or new types and combinations leads to a state of utter confusion on the part of the observer. There is then no alternative to stopping for as long as is necessary to identify the pieces and fit them into place”13. Because human perception is selective and partial, the resulting interpretation of buildings is necessarily broad and loose, often lingering on form descriptions that follow a linear historical progression or a crude regionalist model. The Encyclopedia of Vernacular Architecture of the World, edited by Oliver Paul (1997), is often regarded as one of the most comprehensive reference works for international vernacular buildings studies till today, bringing together the vernacular traditions of over 2000 different cultures from around the world42. Its categorization of vernacular buildings is based on cultural regions delineated by existing global mappings. While reflecting the nature of vernacular buildings generally, scholars admit that this system is unable to capture the cross-cultural or geographical particularities of vernacular traditions43.

Researchers have acknowledged the gravity of the situation, and efforts to deepen the study are underway. Henry Glassie is one such vanguard scholar who advocated precise definitions and systematic coding of artefacts under investigation. Despite no computational technique being involved, his work Folk Housing in Middle Virginia: A Structural Analysis of Historic Artifacts adopts a rigorous approach to formal taxonomy to investigate 338 real houses. Each building is closely examined based on a pre-defined artefactual grammar through wide fieldwork and manual coding, which describes the recurring building elements and their syntactic arrangement to generate a genealogy of building types (See Supplementary Fig. 1). Informed by structuralism, his study aims to move beyond the building forms and uncover the human ideas behind them. He explained the architectural change in Middle Virginia through the makers’ design competence: “he is reliant not on one original, but on a competence constructed out of numerous originals. He labors within tight lines of correctness, but his design competence allows for a variable range of actions”1.

Drawing on Glassie’s work, we develop a computational framework in which researchers can use visual intelligence tools to guide their intuition concerning vernacular buildings, helping them categorize buildings while also unpacking deeper structures that govern formal changes. Sitting at the core of this framework is our proposal that the interpretation of historical artefacts is a process of finding a Function from a discrete data set. The research framework begins with establishing a hypothesis, followed by three phases of data collection, classification, and interpretation, concluding with the verification or revision of the hypothesis and the provision of final explanations (Fig. 1).

Fig. 1. The visual intelligence framework of vernacular buildings.

Fig. 1

It begins with establishing a hypothesis, followed by three phases of data collection, classification, and interpretation, concluding with the verification or revision of the hypothesis and the provision of final explanations.

Formulating a genealogical hypothesis means identifying a principle that could plausibly organize how one group of forms gives rise to another. In its initial stage, the hypothesis does not yet specify a detailed evolutionary sequence; instead, it primarily serves to delimit the scope of observation and to identify which aspects of form are treated as potentially meaningful. This hypothesis is therefore broad and mainly achieved by considering the many factors that shape the evolution of vernacular buildings, such as geographical environment44, ethnicity45, craft tradition46, and others.

In the data collection phase, researchers prepare building image sets and formulate the feature rules based on the established hypothesis. The image set, which has benefited from various remote sensing technologies, can perform with high integrity and accuracy. Concurrently, the manually formulated feature rules aim to translate each building image into a structured description, forming discrete data points in a multi-feature space.

In the classification phase, these discrete data points will be clustered into a finite set of formal types. This can be achieved by annotating each building with feature rules and identifying building groups that share similar assemblages of features. However, direct manual annotation is both inefficient and prone to missing or misreading subtle elements. To address this, the framework incorporates supervised learning. By labelling a certain number of building images with key feature rules, we can train the supervised model to automatically detect all formal features of each building image and represent these features using strings. Building images with similar strings will be automatically grouped into the same cluster. The classification phase concludes with a set of equivalent clusters X(y), each characterized by a particular feature vector y.

In the interpretation phase, these equivalent clusters will be connected by structural lines informed by Function f. Here, the Function f is instantiated by computational models that infer the evolutionary relationship among clusters from their feature strings. Taking X(y) as input, these models produce a candidate genealogy f′(X(y)). This candidate structure is then confronted with independent historical evidence (such as dated photographs, building regulations, and archival descriptions). If f′(X(y)) is broadly consistent with these sources, the original general hypothesis can be sharpened into a more specific explanation of how particular building types emerge, transform, and coexist, and the function f is approximated by an acceptable ƒ′.

We suggest integrating these well-established techniques from data acquisition, deep learning and computational modelling, which offer a rigorous and productive method to support the researcher’s work. This visual intelligence framework, we argue, establishes a rationalist epistemological stance on vernacular buildings studies. The next section provides a brief background on Singapore’s shophouse vernacular before we demonstrate in the subsequent section how the framework has been successfully used to document and explain formal changes in Singapore shophouses across time and space.

Mapping the genealogy of Singapore shophouses

Built between the 1840s and 1960s, the Singapore shophouse is “a vernacular building of two to five-storey height; following a basic floor plan of a narrow frontage and common party-walls; with a versatility of being able to serve many functions such as economic, residential and recreational purposes”47. Shophouses constituted much of the urban fabric in pre-World War II Singapore48, but rapid urban renewal since the 1960s has resulted in the demolition of many in the city. It was not until the late 1980s that the Urban Redevelopment Authority recognized shophouses as artefacts of a nation’s cultural identity and proposed to preserve shophouses. Currently, there are approximately 6500 shophouses included in the conservation scheme, and those in the four historic districts of Boat Quay, Chinatown, Kampong Glam, and Little India are regulated under the strictest conservation rules, which require the entire building envelope to be retained and restored.

The front façade assumes a pivotal role in expressing the cultural meaning of shophouses and is frequently singled out for structuring formal taxonomies of shophouses. Most prominently are the six styles proposed by the Urban Redevelopment Authority (URA) of Singapore via extensive fieldwork in the 1980s and 1990s, namely early shophouse style (1840–1900), first transitional shophouse style (1900–1910), late shophouse style (1900–1940), second transitional shophouse style (late 1930s), art deco shophouse style (1930–1960), and modern shophouse style (1950–1960)49 (See Supplementary Fig. 2).

Upon detailed scrutiny, however, we contend that this taxonomy raises concerns that are at odds with the perspectives of various other studies47,50,51. Jon Lim’s research shows that architects like Wan Mohamed Kassim and Yeo Hock Siang had already submitted building drawings with spectacular elevations before 1900 for approval by government authorities50. These cases do not fit well with the current stylistic classification. A similar situation is observed in Emerald Hill, where, according to architectural historian Lee Kip Lin “the age of the older houses, which span between 1901 and 1918, the façade treatment var(ies) considerably in detail.”51 Lee, in his article “Identifying the shophouse”51, opposes the categorization of shophouses by time period. An inclusive formal taxonomy of Singapore shophouses may not necessarily adhere to a chronological principle. Identifying “key styles” serves, therefore, as a heuristic device for understanding Singapore shophouses but can hardly cover their myriad variations15.

This study employs the visual intelligence framework to inform the formal taxonomy of Singapore shophouses, thereby providing a deeper understanding of Singapore’s society. We hypothesize that there is an undiscovered relationship between the shophouse facade form and Singapore’s societal culture (h1). As suggested in the framework, this hypothesis is preliminary and will be gradually refined and further developed in subsequent steps.

Given that the act of naming buildings as vernacular marks a transition from the unknown to the known, the process of studying vernacular buildings is easily involved in the biased narrative caused by intentional building filtering20,21. The visual intelligence framework underlines a non-discriminative data collection, which could be achieved by using varied remote sensing technologies.

Applying this approach to Singapore shophouses, we assembled two image sets, each with 3361 façade images, drawn from four conservation districts. Within this, Chinatown has all 1276 listed buildings documented exhaustively and constitutes the primary analytical focus. The remaining images, collected across Boat Quay, Kampong Glam, and Little India, were incorporated to reflect a broader spectrum of architectural variation and thereby strengthen model robustness in downstream classification. Together, this multi-district documentation spans the full range of vernacular conditions, from highly ornamented façades to heavily weathered, altered, or partially obscured structures, thereby mitigating the selection bias typically associated with conventional sampling.

Massive amounts of building data need to be characterized for the following systematic classification. The framework suggests formulating the feature rules at this stage so that varied building forms can be rationally represented by the assemblage of features. The feature rules are formulated manually by researchers based on comprehensive literature review and systematic field observations. Ensuring that each of the feature units has a relatively stable form and meaning is very important.

In the case of Singapore shophouses, the feature rules are set on the scale of façade elements. Each façade element on the shophouse has a relatively constant formal character and an explicit similarity with European classical, Chinese traditional, Malay traditional, and modern architectural vocabularies. Supplementary Note 1 provides a glossary of the Singapore shophouse façade.

The classification stage aims to identify groups with similar assemblages of features from massive amounts of building data, within which the key is to tally the features on each of the building units. However, manual annotation is very inefficient and prone to missing or misreading certain featured elements13. To address this, the visual-intelligent framework incorporates supervised learning to automatically detect and record33–36, enabling a more detailed and comprehensive classification system. Notably, not all feature elements are to be covered, and only the core elements that may best capture the cultural meaning of vernacular forms will be distilled.

Initially, we selected 16 façade elements from the glossary of Singapore shophouse façades as label classes and trained a supervised learning model to automatically detect their presence or absence on shophouse façades. The workflow is illustrated in Fig. 2 and is explained in detail in the Method section.

Fig. 2. Collection and classification.

Fig. 2

a The workflow from collection to classification. b The 16 featured façade elements. c The performance of the YOLOv5-based detection model in identifying the 16 label classes.

Upon reviewing the presence or absence of 16 elements on the façades of 1276 shophouses in Singapore’s Chinatown, we removed 2 façade elements, green glazed tiles canopy and casement windows, because of their low discriminability in differentiating different building types. The results produced a 14-digit binary string for each building, where 0 indicates absence and 1 indicates presence. By counting duplicates of their 14-digit strings and filtering out those with duplicate values of less than 8, we identified 55 shophouse variants, representing 55 distinct building types, exemplified by 122 individual buildings. See Supplementary Data 1 for the list of featured elements in all shophouse facades and Supplementary Table 1 for the list of shophouse variants. Based on frequency analysis of the remaining 1154 stable shophouses, we identified 25 string labels, each representing a distinct façade type with specific element composition (Fig. 3a).

Fig. 3. The classification results of Singapore shophouse façades.

Fig. 3

a The 25 types of Singapore shophouse facades in Chinatown. b The correlation index of façade elements in composing main types. c The frequency and percentage of shophouses containing each façade element.

Figure 3b shows the correlation index of façade elements in composing the main types. Majolica tiles and Malay transoms are absent from the 25 main types of compositions and are only occasionally shown on the remaining variants. The other 12 elements, however, automatically aggregated into several clusters. For example, three elements of stepping parapet, modern windows and shades correlated frequently. However, their co-emergence with other elements is low. Figure 3c shows the frequency and percentage of shophouses containing each façade element. Long windows and main pilasters are the most prevalent façade components, found in 81% and 82% of the buildings, respectively. In historical archives, the two elements were also noted as the earliest found in shophouses, a prominent example being Baba Yeo Kim Swee’s godowns, constructed in the 1840s52. They were designed by George Coleman, Singapore’s first professionally trained architect with classical architecture education. Although these buildings are devoid of ornamentation, the modular repetition of their two principal elements along the row produces a sense of classical order, which appealed to the colonial authorities of the day.

Fanlights and secondary pilasters are found in 52% and 28% of the buildings, respectively. Chinese calligraphy and Chinese decorative panels are found in 15% and 12% of the buildings, respectively. Majolica tiles, Malay transom, and fretwork fascia registered the lowest percentages, at 0.1%, 1.6%, and 0.18%, respectively. The results indicate that the influence of the Malay is weak in an ethnic district predominated by the Chinese. However, being a British colony, the influence of European classical architecture dominates the urban vernacular landscape. The analysis of building elements can therefore help suggest the factors driving building and architectural changes, but this perspective remains very preliminary.

Vernacular buildings are changing products and are successively produced in one place. Therefore, they are all related. The genealogy of vernacular buildings aims to discern a pattern of relationships among building types. The visual-intelligence framework suggests introducing statistical models with cultural hypotheses to model the change in building forms, thereby deriving theoretically justifiable maps of relatedness. This study employs a phylogenetic method to relate 25 Singapore shophouse types, each represented by a 12-digit string. This 12-digit string is derived from the previous 14-digit string by excluding Majolica tiles and Malay transoms, which are absent from the 25 main types. Cultural phylogenies are built on the proposition that artefacts are phenotypic features of culture and that variations in these artefacts result from cultural transmission. We retrieved three hypothetical graphic patterns from existing phylogenetic models to map the relatedness of Singapore shophouse façade types: line (h1-1), branch (h1-2), and network (h1-3). These three patterns embody alternative interpretations derived from the preliminary hypothesis (h1) (Supplementary Fig. 5).

The linear model, commonly known as seriation, suggests “arrang(ing) comparable units in a single dimension (that is, along a line) such that the position of each unit reflects its similarity to other units.”53 Seriation assumes cultural transmission is one-way. This one-way transmission can be further incorporated with temporal dimension to describe a cultural evolutionary mode characterized by heritable continuity. An essential characteristic of this heritable evolution is that “the parental taxon goes extinct when the daughter taxon appears”54.

Figure 4 shows that 25 types have been seriated based on their composed façade elements in a non-constrained environment. Results specify a signal of heritable evolution emerging between the former nine elements of Chinese calligraphy—Chinese decorative panel, long window, main pilaster, fanlight, secondary pilaster, modillion, festoon, fretwork fascia, and the latter three elements of stepping parapet, modern windows and shades—resulting in three distinct groups: Group traditional (24, 22, 19, 23, 13, 20, 14, 09, 15, 17, 06, 16, 21, 18), Group Transitional (11, 10, 07, 08), and Group Modern (4, 2, 5, 3, 1). Historical archives support that evolutionary signal. Traditional shophouses built before and during the early 20th century feature ornaments with ethnocultural traditions (e.g., see drawings of shophouses in 189955,56, 190457–60, and 190961,62). However, the development of new materials and technologies in the 20th century has led to a rethinking of tradition and a preference for streamlined ornamentation (e.g., see drawings of shophouses in 192563). Entering the 1930s, modernism took hold amidst an economic recession and the influence of global architectural trends (e.g., see drawings of shophouses in 193464). Modernist architecture rebelled against tradition, viewing ornamentation as a crime. The principle of “form follows function” dominated, incorporating geometric forms with functional elements, presenting a transformative look. Seriation analysis reveals a chronological narrative hidden in the 25 main types by concluding on the three groups as noted above. However, a closer look at the neighbor relationship between two of the seriated types reveals a problem. For example, Type 24, composed of four elements of Chinese calligraphy, Chinese decorative panels, main Pilasters, and long windows, is designated as the earliest type, but this does not align with historical archives (e.g., see drawings of shophouses from 1884 to 188665, the earliest drawings on shophouses submitted to Municipal Architect & Building Surveyor’s Department). This may be explained by the fact that the linear mode has greatly simplified the cultural narrative of Singapore shophouses.

Fig. 4. The seriation of Singapore shophouse facades.

Fig. 4

Results reveal a chronological narrative hidden in the 25 main types by concluding on the three groups: Group traditional in red, Group Transitional in gradient, and Group Modern in blue.

The tree model, developed upon the neighbor-joining algorithm, suggests a phylogenetic tree to depict the evolutionary relationship among the taxas. This tree assumes a branching pattern of lineage splitting to model cultural transmission. When a lineage splits, it divides into two distinct groups. Like the linear mode, the tree mode also adheres to the principle of heritable continuity from ancestors to descendants.

Figure 5 illustrates the phylogenetic tree of the 25 shophouse facade types. According to the hypothesis of cultural evolution, each internal node of the tree represents a heritable evolution event that “the parental taxon goes extinct when the daughter taxon appears”54. When viewed as a whole, the tree has three prominent clades, containing types with predominantly modern elements (Clade Blue), European elements (Clade Orange), and Chinese elements (Clade Red), respectively. The phylogenetic tree indicates that Clades Blue and Orange diverged from the same node, suggesting they share a common ancestor (Abo), whereas Clade Red and ancestor Abo diverged from a different node, indicating they evolved from a distinct lineage. Each clade is composed of many subclades. The smallest clade always includes two types split from the same node. They are considered sister groups, indicating the highest cultural proximity (3 and 5, 8 and 10, 1 and 6, 18 and 21, 24 and 25, 22 and 23, 19 and 20).

Fig. 5. The phylogenetic tree of Singapore shophouse facades.

Fig. 5

The tree has three prominent clades, containing types with predominantly modern elements (Clade Blue), European elements (Clade Orange), and Chinese elements (Clade Red), respectively. Clades Blue and Orange are diverged from the same node, suggesting they share a common ancestor (Abo), whereas Clade Red and ancestor Abo diverged from a different node, indicating they evolved from a distinct lineage.

Based on our direct observations and historical archives, the smaller clades in the tree offer greater explanatory power for types in which most compositional elements are repetitive. For example, types 3 and 5 exhibit very similar visual language and construction techniques, indicating that both were formulated by architects based on a particular prototype, with minor revisions. However, larger clades with multiple layers of evolution in the tree are less explanatory. This is because phylogenetic trees follow a strict bifurcating model. In referring to historical archives, many of the ancestor-descendant relationships indicated by the phylogenetic tree are invalid. Most prominently, no evidence shows that the Clade Red featuring predominantly Chinese elements emerged earlier than the Clade Orange featuring predominantly European elements (e.g., see drawings of shophouses in 189955,56, 190457–60 and 190961,62). We conclude that the tree model cannot fully address the evolution of Singapore shophouses.

The network model, developed upon the neighbor-net algorithm, suggests a split graph to depict the relatedness among the cultural taxes. Unlike the tree model, which assumes binary evolution via hierarchical ancestor-to-descendant inheritance, the network model posits reticulate transmission, allowing multiple connections. These better capture non-hierarchical signals in cultural transmission, like cultural hybridization, borrowing, and parallel evolution. In this sense, the network model can best represent the hypothesis of cultural diffusion that “the patterns of similarity and difference among cultural assemblages are a consequence primarily of individuals in different groups copying each other’s practices, exchanging ideas and objects, and marrying one another”66. Building on preliminary studies of façade elements that suggest frequent intra-ethnic exchange in Singapore’s society, we speculate that a network model more effectively captures the relationships among the 25 types.

Figure 6 illustrates the phylogenetic network of 25 facade types. When viewed as a whole, the network exhibits a branching growth pattern extending outward from the center toward distinct directions; the types in the center have fewer featured façade elements. In contrast, those in the peripheral area exhibit more facade elements, suggesting cultural evolution. We identified four clusters in the network: the Group Plain in grey, the Group Chinese in red, the Group Euro in yellow, and the Group Modern in blue. The Group Plain comprises Types 12 and 13, characterized by basic elements such as long windows and main pilasters. Historical archives also suggest that these two types were the first to emerge in Singapore, dominating the city’s urban landscape in the early 19th century67. Viewed in conjunction with the branching growth pattern, Group Plain can also be seen as the earliest-evolved entity. Group Chinese in red comprises six types with Chinese elements, including Chinese calligraphy and decorative panels. Historical archives suggest that these types in Group Chinese emerged later than Group Plain and were initially constructed for affluent Chinese owners (e.g., see the shophouse drawings at no. 68 and 69 Upper Hokien Street for Loh Seng Tai in 190460). Group European comprises six types with elaborate European elements, like fanlight, secondary pilaster, modillion, and festoon. Historical archives suggest that these types also emerged later than Group Plain but proximately in the same period as Group Chinese (e.g., see the shophouse drawings from 1889 to 189168). Since the late 19th century, the number of Group Yellow buildings in Chinatown has increased, even exceeding that of Group Red. They were constructed under the commission of not only European owners but also other ethnic groups, reflecting a broader influence of colonial power in the society. Group Modern in blue comprised 11 types with modern elements, like stepping parapets, modern windows and shades. Historical archives suggest Group Modern emerging as the latest in the 20th century (e.g., see the drawings of shophouses in 193464). Despite comprising 11 types, the total number of constructions in Group Blue in Chinatown is low. The economic downturn and disruptions of World War II significantly slowed new construction. Moreover, there is a dearth of heritable continuity between Group Modern and earlier Group Chinese and European. Viewed in conjunction with the branching growth pattern, Group Modern, like Group Chinese and European, can all be seen as having evolved from Group Plain. Comparatively, the evolutionary directions of Group Chinese and European are closer, while that of Group Modern is distinctively far away.

Fig. 6. The phylogenetic network of Singapore shophouse facades.

Fig. 6

We identified four clusters in the network: the Group Plain in grey, the Group Chinese in red, the Group Euro in yellow, and the Group Modern in blue. Nine distinct subgroups were further identified based on the four primary groups, which are also the nine styles that best capture the character of Singapore shophouses: Plain Style (13, 12), Plain Chinese Style (19), Chinese Style (22, 24), Chinese-European Style (20, 25, 23), Plain European style (14), Elaborated-European Style, Ethnic-hybrid Style (21), Stripped Ethnic Style, and Modern Style. Horizontal cultural transmission exists among the styles.

In addition to its tree-like structure, the phylogenetic network contains numerous loops, indicating conflicting transmission signals. Each group and type is influenced by multiple traditions, which complicates classification based on the tree. Nine distinct subgroups were further identified based on the four primary groups, which are also the nine styles that best capture the character of Singapore shophouses: Plain Style (13, 12), Plain Chinese Style (19), Chinese Style (22, 24), Chinese-European Style (20, 25, 23), Plain European style (14), Elaborated-European Style (15,17,16,18), Ethnic-hybrid Style (21), Stripped Ethnic Style (9, 11, 6, 10, 7, 8), and Modern Style (1, 2, 3, 4, 5) (Fig. 6). Their spatial distribution was shown in Supplementary Fig. 7. Plain Style overlaps with Group Plain in grey. It is primarily function-oriented, with minimal ornamentation: a modest amount of moulding serves as capitals for the columns and pilasters, while the windows are square-headed and fitted with jalousie shutters.

Plain Chinese Style, Chinese Style and Chinese-European Style are all split from Group Chinese in red. Chinese Style is defined by traditional Chinese decorative elements, either wall plaques with auspicious characters, plaster relief panels with Chinese motifs, or a combination of both. Chinese-European Style, however, incorporates these traditional Chinese decorative elements with classical European elements, creating a fusion look. Historical studies indicate these Chinese-European Style shophouses were primarily built by Chinese merchants who wanted to preserve their cultural roots while aligning with colonial elites to enhance their social and economic status69. The style exemplifies the cultural diffusion from Group European to Group Chinese.

The Plain European Style, Elaborated European Style and Ethnic-hybrid Style are all split from Group European in yellow. The Plain European Style is similar to Plain Style but with added European fanlights. The Elaborated European Style, developed from the Plain European Style, features more decorative European elements such as secondary pilasters, modillions, and festoons. The Ethnic-Hybrid Style combines traditional Chinese, European and Malay elements, presenting a peculiarly vernacular mix. This explains Type 21, which has an exceptionally long line extending from the rest of the European Group. The Ethnic-Hybrid Style shares many similarities with the Chinese European Style within Group Chinese, as both represent forms of cultural hybridity. However, the Ethnic-Hybrid Style also displays a formal language dominated by a decidedly European classical language.

Historical archives reveal a more nuanced understanding of the cultural transmission of ethnic traditions as reflected by the Ethnic-Hybrid Style. Statistically, there are eight Ethnic-Hybrid Style shophouses in Chinatown, all located on Bukit Pasoh Road. Historical architectural drawings suggest that they were all designed by Swan & Maclaren, one of the most renowned architectural firms in Singapore since the colonial period, employing professional architects trained in European classical architecture. The owner of this row of eight shophouses is Seow Chwee, a Straits-Chinese merchant. In fact, the initial design by Swan & Maclaren showcased an orthodox classical architectural image. Alternating triangular and segment pediments were employed to crown the window, while the decorative panels beneath them featured festoon ornamentation (Supplementary Fig. 6). However, their design was not fully reflected in the final façade and could have been modified by the Chinese artisan under the owner’s commission, which was a common practice during the time70. The festoon on the second floor was replaced by eight Chinese symbols with auspicious meanings, the Covert Eight Immortals. They also added the fretwork fascia of the traditional Malay house under the roof edge. The Ethnic-Hybrid Style is the most elaborate among the 25 types. It is also the only case that incorporates Malay elements in Chinese-owned buildings. Despite Type 21 exemplifying multi-ethnic integration, historical archives reveal that ethnic competition also played a significant role in shaping its hybrid style70.

The Stripped Ethnic Style and Modern Style are both split from Group Modern in blue. While the Stripped Ethnic Style reduces traditional ornamentation but incorporates modern geometrical elements, leading to some innovative forms, the Modern Style features only modern geometrical elements like stepping parapets, modern windows, and shades. The Stripped Ethnic Style occupies a large area of the phylogenetic network, indicating that the six types are relatively distant. This is because, driven by the manifesto of anti-tradition, architects in the early 20th century were keen on exploring a new visual language that could better embody the spirit of the industrial era. The Stripped Ethnic Style was born out of this context, showcasing great diversity and a spirit of experimentation. As the Modern Style emerged, experimental exploration stabilized.

The phylogenetic network offers a critical perspective for examining Singapore shophouses, which feature multi-ethnic characteristics. The exchange of ethnocultural traditions occurred during a period of economic prosperity from the late 19th century onwards. However, ethnic power dynamics remained unbalanced, as reflected in the dominance of European classicism in architectural styles. Statistically, European influences prevailed, with the Elaborated-European and Plain European Styles accounting for 23.57% and 17.23% of the total, respectively. Chinese influence was comparatively lower, with the Chinese Style comprising 13.63%. Fusion styles were the least common, with the Chinese-European, Ethnic Hybrid, and Stripped Ethnic Styles representing 4.54%, 3.52%, and 4.70% of the total, respectively. This distribution suggests that different ethnic groups remained in competition, displaying a pattern of parallel evolution rather than direct convergence. While some degree of architectural fusion did occur, it remained limited, reinforcing the prevailing cultural distinctions in Singapore.

Discussion

In this study, we propose a research framework for using visual intelligence to elucidate the genealogy of vernacular buildings. We suggest viewing the interpretation of historical artefacts as a process of finding a Function from a discrete data set. With this, visual intelligence technologies can be assembled to support researchers in four key aspects: efficiently mining building data; converting data into feature clusters; identifying the mathematical function that best relates these clusters; and converting that function into an architectural narrative. By recasting an architectural issue as a mathematical question, a computational framework for vernacular buildings can move beyond the reductive narrative models of traditional studies. It probes more deeply into the synchronic threads of development embedded within diachronic processes, promising a breadth and depth that conventional methods have yet to achieve.

Grounded in an epistemological stance on solving functions, we formulate a systematic workflow that integrates data collection, building classification, and relatedness interpretation using remote sensing, computer vision, and computational modelling technologies. First, spatial data acquisition technologies have significantly improved the quality of primary data for vernacular buildings studies. Unlike traditional methods that rely on piecing together fragmented materials to understand buildings, spatial data acquisition techniques enable large-scale, multi-temporal building representation with systematic data.

Second, the incorporation of machine learning, especially computer vision and deep learning, has ushered vernacular building research into a new stage of automation in feature extraction and feature clustering. Traditional studies have conventionally depended on experts manually identifying features based on their experience. In contrast, machine learning algorithms can automatically learn morphological characteristics from vast amounts of architectural images and structural data. This shift from individual expertise to a data-driven approach can help to uncover deeper, more nuanced patterns. In the case of Singapore shophouses, we identify 25 building types, which corrects the six types formulated by the URA in chronological order.

Finally, developing mathematical functions that capture the relatedness among feature clusters is key to unveiling the genealogy of vernacular buildings. A common pitfall in vernacular building studies is overlooking the need to set cultural hypotheses at the outset. As a result, research often becomes a linear narrative of progress or a fragmented functionalist framework, lacking depth. A vision-intelligent approach to vernacular buildings demands that scholars begin with clear hypotheses, aiming for both comprehensive, nuanced observations and straightforward, impactful concepts. The hypotheses also need to be constantly revisited and updated in view of empirical findings as they are uncovered, as our study shows.

We have demonstrated the effectiveness of the research framework through a case study of Singapore shophouses. Findings suggest that the formal change of shophouses across time and space is best captured by the phylogenetic network, which organizes the types into nine distinct clusters and reveals concurrent signals of cultural evolution and diffusion. Here, cultural evolution manifests as a transition in styles from the traditional to the modern, while cultural diffusion, particularly during periods of economic prosperity, is characterized by the emergence of diverse ethnic styles. However, we also observe that different ethnic groups remained in competition in colonial Singapore, displaying a pattern of parallel evolution rather than direct convergence. While some degree of architectural fusion did occur, it remained limited, reinforcing the prevailing cultural distinctions. As noted in our prior review, existing manually constructed genealogies are predominantly chronological and can overlook the simultaneous presence of markedly different types. Our computed approach, by comparison, integrates diachronic and synchronic dimensions and can accommodate higher complexity.

Rather than directly using digital tools to generate cultural narratives, we focus on how these tools can be assembled more effectively to guide scholars’ intuition and yield insightful findings. In this sense, expert knowledge does not disappear; it is redistributed. Experts remain responsible for formulating the feature rules, framing the cultural hypotheses, and judging which inferred genealogies are historically and theoretically persuasive. The automated components of the framework take over the exhaustive work of collecting and grouping thousands of façades, and of computing alternative classifications. The expert then reads these outputs not as ready-made explanations but as prompts for further interpretation: asking why particular buildings cluster, how loops in the network relate to known episodes of contact or competition, and which outliers warrant closer archival or field investigation. Our case study suggests that this complementarity opens lines of enquiry that would be prohibitively time-consuming by manual methods alone, such as systematically comparing alternative style groupings, probing the extension and transformation of types across districts and periods, or testing how different feature rules reshape genealogy. Despite this, our study is constrained by 2D street view imagery and 14-digit binary feature encoding. Future endeavors should focus on optimizing the relevant technologies for data collection and feature rule formulation (see Supplementary Note 2). By doing so, we hope this framework serves as a valuable mechanism for incorporating digital tools into vernacular buildings studies, fostering more fruitful collaborations between architectural and computer science scholarship in the future.

Methods

Collection

We collected building frontage images from two sources: Google Street View (GSV) and on-site photography. This strategy is not pre-designed but rather emerges from iterative experiments; a 100% reliance on the public geospatial database is impractical in our case. This is because the currently achievable maximum resolution of GSV images is relatively low, which limits the ability to complete the entire data analysis procedure71,72. As such, we used the GSV image set to identify the featured domain on the building façade73. Concurrently, we introduced on-site photography at a higher image resolution to identify the featured element on each building façade. GSV imagery was acquired using the Google Street View Static API with standardized parameters: 640 × 640-pixel resolution, 90-degree field of view, and systematic coordinate-based sampling across all target districts. Images were retrieved with consistent viewing angles positioned perpendicular to building frontages, as determined from vector-based building footprints by projecting a normal line to the nearest street segment, to minimize perspective distortion74,75. High-resolution field photography (3024 × 4032 pixels) was conducted using standardized protocols with cameras positioned 15–20 m from façades, maintaining perpendicular orientation to building centroids76.

We developed a comprehensive vocabulary of Singapore shophouse façades through an extensive literature review and field study, which includes many featured façade elements that have long been overlooked in existing studies. These façade elements are either decorative, functional, or a combination of the two. The frequency of these façade elements emerging on the shophouse frontage also varies; some are frequently found, like festoon, bian-e (Chinese plaque/caligraphy), and kepala tingkap (Malay transom); some others are less seen, like the Diocletian window, ge-shan (Chinese partition screen), and tangga batu (stone staircase).

Classification

We began by setting up label classes for façade elements in the model for training. These label classes were extracted from the glossary of the Singapore shophouse façade based on two actions. First, we trained a ResNet-50 classifier77 on the GSV image set across four historical districts using ImageNet pre-trained weights, with a 80:20 train-test split, batch size 32, learning rate 0.001, and 50 epochs. Grad-CAM78 analysis identifies façade elements above the ground floor contributing most to cultural classification (see Supplementary Fig. 3). Later, we applied frequency-based filtering, excluding elements that appeared fewer than 40 times to ensure adequate representation for model training. In the end, we defined 16 label classes of façade elements: main pilaster, fanlight, secondary pilaster, festoon, modillion, Chinese calligraphy, Chinese decorative panel, Green glazed tiles canopy, Malay transom, fretwork fascia, Majolica tiles, long window, modern window, casement window, shades, and stepping parapet. We also introduced the building label to focus the learning area within the upper level of the shophouse façade.

We annotated 708 of 3361 on-site photographs with 17 label classes (16 architectural elements plus building class) and partitioned them into training, validation, and testing sets. A frequency-stratified splitting strategy was employed: elements with fewer than 200 instances followed a 70:15:15 (train: validation: test) ratio, while more frequent elements maintained an 80:10:10 split ratio. Additionally, data augmentation techniques and class-weight adjustments were implemented to improve the model’s performance on less frequent classes.

Several data augmentation strategies, including mosaic composition, mix-up blending, geometric transformations, and photometric variations, are employed to enhance model robustness under varying façade conditions (weathered surfaces, varied lighting, partial occlusions) and across scale differences among elements (from small modillions to large pilasters). We used 3024 × 4032-pixel on-site photography (resized to 640 × 640 pixels) for model training, aiming to preserve fine decorative details. Its performance achieved a mean Average Precision of 0.936 (mAP@0.5) across all 17 classes. Complete model performance information is provided in Supplementary Methods, Section 3.

When using the model for feature detection, we assigned class-specific confidence thresholds to account for varying visual characteristics across feature elements. We also introduced a conflict-resolution mechanism to address view-dependent classification ambiguities in which characteristic features of certain elements were obscured by viewing angles or open positions. For example, casement windows photographed when open often expose only glass panes, potentially leading to misclassification as modern windows. When the spatial overlap between conflicting detections exceeded IoU > 0.5, priority rules were applied to retain the more architecturally characteristic classification. This process generated binary character states (0 = absence, 1 = presence) for each of the 14 architectural elements, producing 14-dimensional binary feature vectors for each shophouse façade. Complete threshold specifications are provided in Supplementary Methods, Section 3.

We manually checked the 16-dimensional character vectors generated for all shophouse façades in Singapore’s Chinatown and corrected all errors in the detection results. At this stage, elements obscured by vegetation or structurally damaged through weathering were reinterpreted by experts using fragmentary evidence. Expert validation was used to assess whether each element possessed sufficient typological discriminative power to justify its inclusion in the classification framework. Results show that two featured elements, green glazed tile roofs and casement windows, should be excluded because of their low discriminability in differentiating different building types.

The remaining 14 elements are identified as the primary features that most effectively represent the formal character and cultural significance of Singapore shophouses (See Supplementary Data 1). We generated a 14-dimensional character vector for each shophouse façade. After filtering out character string label 00000000000000 and other categories with fewer than 8 instances, we yielded 25 distinct character string labels.

Interpretation

To map the relatedness among 25 shophouse types, we tested three distinct phylogenetic functions, line, tree, and network, each corresponding to a different mode of cultural transmission. The linear model was built using PAleontological STatistics (Version 4.17)29,79, while the tree and network models were built with SplitsTree6 (Version 6.4.7)28.

To begin, we prepared a data matrix that tabulates the presence and absence of m facade features across n shophouse types. Presences are denoted by 1, and absences are denoted by 0. The façade features are on columns, whereas the shophouse types are on rows. Two featured façade elements, Majolica tiles and Malay transom, were omitted at this stage because they are absent from all 25 shophouse types. The n × m binary matrix has n = 25 shophouse types (rows) and m = 12 facade features (columns).

The goal is to reorder the data matrix so that feature occurrences are aligned as closely as possible along the diagonal, thereby minimizing the span of each feature across the reordered sample set. We applied unconstrained seriation following the iterative computational method introduced by Wilkinson80,81. At each iteration, we calculated the mean column position of presences for each shophouse type and reordered rows accordingly; we then calculated the mean row position of presences for each facade feature and reordered columns. The cycle was repeated until row and column orders stabilized. The mean column positions of presences (row centroids) and the mean row positions of presences (column centroids) are calculated as follows:

μit=1ki∑j∈Jit−1posCt−1j 1
νjt=1kj∑i∈IjtposRti, 2

where posCt−1j is the column position of feature j at iteration t−1, and posRti is the row position of facade type i after the current row reordering. Sorting by μit and νjt yields Rt and Ct, respectively.

To construct the following tree and network model, the prepared data matrix must first be converted into a distance matrix. Pairwise morphological distances between all 25 architectural facade types were calculated using proportional Hamming distances (p-distances)82,83, generating a symmetric distance matrix D of dimensions 25 × 25, providing standardized similarity measures between building types suitable for phylogenetic reconstruction. Each matrix element dij represents the proportion of differing architectural elements between facade types i and j, calculated as:

dij=∑k=1nXik−Xjkn, 3

where n represents the total number of morphological features encoded in the facade feature matrix (n=14 in this study), matrix Xik denotes the binary state (0 or 1) of the k-th architectural element in facade type (binary encoding type) i, and dij represents the proportional distance between facade types i and j. The resulting symmetric distance matrix D serves as the basis for subsequent distance-based analyses.

D=0d12d13⋯d1,25d210d23⋯d2,25⋮⋮⋱⋱⋮d25,1d25,2⋯⋯0. 4

The Tree function employs the Neighbor-joining algorithm84 to construct a hierarchical tree that reveals evolutionary relationships among facade types. Initially, each facade type represents an independent unit. Grounded in minimum evolution principles, the algorithm iteratively identifies the most evolutionarily related pairs using the Q-criterion85, which selects pairs that are close to each other while both being distant from all other types, thereby distinguishing genuine evolutionary relationships from coincidental proximity. The two facade types with the minimum Q-value are then merged into a new internal node representing their hypothetical common ancestor, and this process continues until all facade types are integrated into a complete binary tree, revealing the comprehensive evolutionary hierarchy of architectural facade typologies.

At each iteration, the selection criterion Q-value for facade type pairs i,j is computed by applying p-distances (calculated according to Eq. 3) in the following formula:

Qi,j=r−2dij−∑k≠irdik−∑k≠jrdjk, 5

where r denotes the number of remaining taxonomic units in the current iteration, dij represents the pairwise distance between types i and j, and the summation terms ∑k≠irdik and ∑k≠jrdjk represent the total distances from types i and j to all other remaining types, respectively. The formula implements this principle by subtracting the total distances (summation terms) from the scaled direct distance, ensuring that pairs exhibiting the desired pattern yield minimal Q-values as optimal merging candidates. Once identified, the pair with the minimum Q-value is selected, and their branch lengths are recorded as:

Li=12dij+ri−rj, 6

where ri and rj represent the average distances from facade types i and j to all other remaining types. Branch lengths quantify the evolutionary divergence from the hypothetical common ancestor to each descendant type, providing a measure of morphological change along each lineage. The algorithm then updates distances by treating the newly formed internal node as a single unit in subsequent iterations, repeating this process until all facade types form a complete binary tree.

To capture more complex, non-hierarchical relationships reflecting architectural style hybridization and convergent design evolution, we applied the Neighbor-Net algorithm84,86, which generates circular split collections represented as planar networks. Unlike NJ’s immediate merging approach, Neighbor-Net introduces clusters to facilitate delayed grouping and selection. Delayed agglomeration aims to preserve multiple relationship hypotheses, generating complex split collections that cannot be represented by a single tree. The algorithm first computes the Q-criterion to identify optimal cluster pairs at the cluster level, then selects specific facade types from these clusters at the node level to establish neighborhood relationships. When a node is paired for the second time, a three-node agglomeration occurs, replacing the three connected nodes with two new internal nodes and updating the distance matrix. As the algorithm progresses, the cluster structure updates continuously. This iterative process continues until few nodes remain, then reverses the agglomeration sequence to construct split collections, optimizing split weights through constrained least squares to generate the final circular split network characterizing complex architectural relationships.

Based on the p-distance matrix (Eqs. 3 and 4), the algorithm established a clustering framework in which each facade type initially formed an independent single-node cluster. Inter-cluster distances were calculated as:

dCp,Cq=1CpCq∑i∈Cp∑j∈Cqdij, 7

whereCp and Cq represent the clusters (groups) of facade types, dCp,Cq represents the distance between clusters Cp and Cq, Cp and Cq denote the number of façade types in each cluster, and dij is the proportional distance between facade types i and j.

Cluster pair selection employs a modified Q-criterion operating at the cluster level:

QCp,Cq=m−2dCp,Cq−∑ℓ=1ℓ≠pmdCp,Cℓ−∑ℓ=1ℓ≠qmdCq,Cℓ, 8

where QCp,Cq represent the cluster selection criterion, m denotes the number of active clusters, and Cℓ represents any other cluster (ℓ{{\relax \special {t4ht̂3)}\o:mathrel: {\unhbox \voidb@x \special {t4ht@+{38}{35}x2260;}x}}}p,q) in the summation terms.

When neighbor marking results in a facade type having two neighbors, three-node agglomeration triggers, replacing the three connected facade types i,j,h with two new internal nodes u and v. Distance recalculation follows the reduction formulae:

d(u,a)&=αd(i,a)+βd(j,a) 9
d(v,a)&=βd(j,a)+γd(h,a) 10
d(u,v)&=αd(i,j)+βd(i,h)+γd(j,h), 11

where α, β, γ are non-negative real numbers with α+β+γ=1, a represents any other node (facade type) in the network.

Upon convergence, split weights are optimized using constrained least squares:

w=argminw≥0∣∣Aw−d∣∣2, 12

where w represents the vector of split weights, A is the split-distance incidence matrix that encodes which splits separate each facade pair, d contains the vectorized observed proportional distances, and the constraint w≥0 ensures all split weights are non-negative. This optimization seeks to minimize the discrepancy between network-predicted distances and actually measured architectural distances, ensuring that the phylogenetic network accurately reflects observed formal relationships among facade types.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Supplementary information

41467_2026_73376_MOESM2_ESM.pdf (46.1KB, pdf)

Description of Additional Supplementary Information

Supplementary Data 1 (97.4KB, xlsx)
Supplementary Data 2 (175KB, xlsx)
Reporting Summary (118.6KB, pdf)

Acknowledgements

We sincerely thank Prof P.-P. Ho, Prof. S.-J. Cao and Prof. F. C. Kim for their insightful comments and constructive guidance on this study. We also thank all members of the Social and Cultural Geography Research Group (SCGRG) at the Department of Geography, National University of Singapore, for their helpful feedback during the weekly seminar. We are grateful to L. Sun, M.-H. Zhong and Z.-R Shen for their assistance with some of the illustrations in this study.

Author contributions

X.X., Y.Y. and Z.T. contribute equally to this work. X.X. conceived the project ideas and designed the research framework. X.X. and Z.T. collected the image and textual data. Y.Y., Z.T. and X.X. implemented the computational analysis. X.X. implemented the non-computational archival studies. X.X. and Z.T. interpreted the results and co-wrote the manuscript. T.-C.C. and C.-K.H. were involved in the discussion and manuscript revisions.

Peer review

Peer review information

Nature Communications thanks Divyarajsinh Rana, and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. A peer review file is available.

Funding

X.X. discloses support for the research and publication of this work from the Jiangsu Education Department, China through the Jiangsu Specially-Appointed Professor Research Gran [grant number 492511301]. C.-K. H. and T.-C. C. disclose support for publication of this work from the National Heritage Board, Singapore through the Heritage Research Grant [grant number HRG-057].

Data availability

The list of featured elements in this study is provided in Supplementary Data 1. The raw facade image data generated in this study have been deposited in the Zenodo repository under accession link 10.5281/zenodo.1700952787 and are publicly available. Google Street View images cannot be redistributed due to Google’s Terms of Service; the sampling points and coordinates used to retrieve the Street View imagery are provided in Supplementary Data 2. The model training code and JSON annotation files used in this study are available in the GitHub repository https://zenodo.org/records/1911065588.

Code availability

The code used in this study is available at https://github.com/ZITA98/Decoding-the-Singapore-Shophouse.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-026-73376-7.

References

  • 1.Glassie, H. Folk Housing in Middle Virginia: A Structural Analysis of Historic Artifacts (Univ Tennessee Press, 1976).
  • 2.Oliver, P. Vernacular know-how. Mater. Cult.18, 113–126 (1986). [Google Scholar]
  • 3.Buchli, V. An Anthropology of Architecture. (Bloomsbury Publishing Plc, 2013).
  • 4.Oliver, P. Built to Meet Needs: Cultural Issues in Vernacular Architecture (Architectural Press, 2006).
  • 5.Foruzanmehr, A. & Vellinga, M. Vernacular architecture: questions of comfort and practicability. Build. Res. Inf.39, 274–285 (2011). [Google Scholar]
  • 6.Dayaratne, R. Toward sustainable development: Lessons from vernacular settlements of Sri Lanka. Front. Architect. Res.7, 334–346 (2018). [Google Scholar]
  • 7.ICOMOS. Charter on the Built Vernacular Heritage (1999). 3 https://www.icomos.org.tr/Dosyalar/ICOMOSTR_en0464200001536913566.pdf (1999).
  • 8.UNESCO. Recommendation on the Historic Urban Landscape. 9 (2011).
  • 9.United Nations. Transforming Our World: The 2030 Agenda for Sustainable Development. 35 https://docs.un.org/en/A/RES/70/1 (2025).
  • 10.Lawrence, R. J. The interpretation of vernacular architecture. Vernac. Archit.14, 19–28 (1983). [Google Scholar]
  • 11.Oliver, P. Why study vernacular architecture? (1978). in Built to Meet Need: Cultural Issues in Vernacular Architecture 3–16 (Architectural Press, 2006).
  • 12.Zhao, X. & Greenop, K. From ‘neo-vernacular’ to ‘semi-vernacular’: a case study of vernacular architecture representation and adaptation in rural Chinese village revitalization. Int. J. Herit. Stud.25, 1128–1147 (2019). [Google Scholar]
  • 13.Kniffen, F. Folk housing: key to diffusion. Ann. Assoc. Am. Geogr.55, 549–576 (1965). [Google Scholar]
  • 14.Glassie, H. Eighteenth-century cultural process in Delaware Valley folk building. Winterthur Portf.7, 29–57 (1972). [Google Scholar]
  • 15.Upton, D. The power of things: recent studies in American vernacular architecture. Am. Q.35, 262–279 (1983). [Google Scholar]
  • 16.Sewasew, Y. & Tesfamariam, S. Historic building information modeling using image: example of port city Massawa, Eritrea. J. Build. Eng.78, 107662 (2023). [Google Scholar]
  • 17.Gallwey, J., Eyre, M., Tonkins, M. & Coggan, J. Bringing lunar LiDAR back down to earth: mapping our industrial heritage through deep transfer learning. Remote Sens.11, 1994 (2019). [Google Scholar]
  • 18.Argyrou, A. & Agapiou, A. A review of artificial intelligence and remote sensing for archaeological research. Remote Sens.14, 6000 (2022). [Google Scholar]
  • 19.Zu, X., Gao, C., Xie, L., Wang, Y. & Wang, Y. Interpreting regional characteristics of heritage houses based on 3D digital landscape and point cloud deep learning – Take Tibetan houses in the northeastern region of Aba prefecture as an example. Int. J. Appl. Earth Observ. Geoinf.142, 104695 (2025). [Google Scholar]
  • 20.Biljecki, F. & Ito, K. Street view imagery in urban analytics and GIS: a review. Landsc. Urban Plan.215, 104217 (2021). [Google Scholar]
  • 21.Christenson, M. Viewpoint: “from the unknown to the known”: transitions in the architectural vernacular. Build. Landsc.18, 1–13 (2011). [Google Scholar]
  • 22.Badland, H. M., Opit, S., Witten, K., Kearns, R. A. & Mavoa, S. Can virtual streetscape audits reliably replace physical streetscape audits? J. Urban Health87, 1007–1016 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Berland, A. & Lange, D. A. Google Street View shows promise for virtual street tree surveys. Urban Forestry Urban Green.21, 11–15 (2017). [Google Scholar]
  • 24.Starzyńska, M. B., Roussel, R., Jacoby, S. & Asadipour, A. Computer Vision-based Analysis of Buildings and Built Environments: A Systematic Review of Current Approaches. ACM Comput.Surv. 55, 1–25 (2022).
  • 25.Shalunts, G. et al. 280–289 10.1007/978-3-642-24031-7.28 (Springer, 2011).
  • 26.Sun, M., Zhang, F., Duarte, F. & Ratti, C. Understanding architecture age and style through deep learning. Cities128, 103787 (2022). [Google Scholar]
  • 27.Lindenthal, T. & Johnson, E. B. Machine learning, architectural styles and property values. J. Real Estate Finan. Econ.10.1007/s11146-021-09845-1 (2021).
  • 28.Huson, D. H. & Bryant, D. The SplitsTree App: interactive analysis and visualization using phylogenetic trees and networks. Nat. Methods21, 1773–1774 (2024). [DOI] [PubMed] [Google Scholar]
  • 29.Hammer, Ø, Harper, D. A. T. & Ryan, P. D. Past: Paleontological statistics software package for educaton and data anlysis. Palaeontol. Electron.4, 1–9 (2001). [Google Scholar]
  • 30.Upton, D. The VAF at 25: What Now? Perspect. Vernac. Archit.13, 7–13 (2006). [Google Scholar]
  • 31.Shennan, S. Mapping Our Ancestors: Phylogenetic Approaches in Anthropology and Prehistory10.4324/9780203786376 (Routledge, 2006).
  • 32.Robson Brown, K. A. Systematics and integrated methods in the modelling of the pre-modern human mind. in Modelling the early human mind (eds Gibson, K. R. & Mellars, P.) 107–122 (McDonald Institute for Archaeological Research, University of Cambridge, 1996).
  • 33.Collard, M. & Shennan, S. Ethnogenesis versus phylogenesis in prehistoric culture change: a case-study using European Neolithic pottery and biological phylogenetic techniques. in Archaeogenetics: DNA and the Population Prehistory of Europe (eds Renfrew, L. C. & Boyle, K.) 89–97 (McDonald Institute for Archaeological Research, 2000).
  • 34.Tehrani, J. & Collard, M. Investigating cultural evolution through biological phylogenetic analyses of Turkmen textiles. J. Anthropol. Archaeol.21, 443–463 (2002). [Google Scholar]
  • 35.Spaulding, A. C. Prehistoric Cultural Development in the Eastern United States (Bobbs-Merrill, 1955).
  • 36.Lee, H. Y. The Singapore shophouse: an anglo-chinese urban vernacular. in Asia’s Old Dwelling: Tradition, Resilience, and Change (ed. Ronald, G. K.) 115–134 (Oxford University Press, 2003).
  • 37.Chang, T. C. & Teo, P. The shophouse hotel: vernacular heritage in a creative city. Urban Stud.46, 341–367 (2009). [Google Scholar]
  • 38.Davison, J. Singapore Shophouse (Talisman Publishing, 2010).
  • 39.Upton, D. & Vlach, J. M. Introduction. in Common Places: Readings in American Vernacular Architecture xiii–xxiv (The University of Georgia Press, 1986).
  • 40.Asquith, L. Lessons from the vernacular: integrated approaches and new methods for housing research. in Vernacular Architecture in the 21st Century (Taylor & Francis, 2005).
  • 41.Brand, S. How Buildings Learn: What Happens after They’re Built (Viking Penguin, 1994).
  • 42.Oliver, P. Encyclopedia of Vernacular Architecture of the World (Cambridge University Press, 1997).
  • 43.Vellinga, M., Oliver, P. & Bridge, A. Atlas of Vernacular Architecture of the World (Routledge, 2007).
  • 44.Ministry of Housing and Urban-Rural Development of the People’s Republic of China. Typological Collection of Traditional Chinese Dwellings (China Architecture & Building Press, 2014).
  • 45.Vlach, J. M. The shotgun house: an african architectural legacy. Part I. Pioneer Am.8, 47–56 (1976). [Google Scholar]
  • 46.Buckley, C. Craft traditions. in The Oxford Handbook of Cultural Evolution (eds Tehrani, J. J., Kendal, J. & Kendal, R.) 0 10.1093/oxfordhb/9780198869252.013.40 (Oxford University Press, 2023).
  • 47.Savage, V. Singapore shophouse: conserving a landscape tradition. SPAFA J.11, 5–22 (2001). [Google Scholar]
  • 48.National Heritage Board. The Singapore Shophouses: defining early Singapore’s cityscape. Rootshttps://www.roots.gov.sg/en/stories-landing/stories/singapore-shophouses/story (2002).
  • 49.Urban Redevelopment Authority. Understanding the Shophouse. Urban Redevelopment Authorityhttps://www.ura.gov.sg/Corporate/Guidelines/Conservation/Conservation-Guidelines/Part-1-Overview/Understanding-The-Shophouse (2023).
  • 50.Lim, J. S. H. Colonial architecture and architects of georgetown (Penang) and Singapore, between 1786 and 1942. CCK BATCHLOAD 20200605 (National University of Singapore, Singapore, 1991).
  • 51.Lee, K. L. Identifying the Shophouse. in Singapore Chinatown Conservation (Singapore Tourism Board, 1985).
  • 52.Godowns in Singapore. National Archives Singapore https://www.nas.gov.sg/archivesonline/photographs/record-details/221c518b-1162-11e3-83d5-0050568939ad (1956).
  • 53.Marquardt, W. H. Advances in archaeological seriation. Adv. Archaeol. Method Theory1, 257–314 (1978). [Google Scholar]
  • 54.Lyman, R. L. & O’Brien, M. J. Seriation and cladistics: the difference between anagenetic and cladogenetic evolution. in Mapping Our Ancestors: Phylogenetic Approaches in Anthropology and Prehistory (eds Lipo, C. P., O’Brien, M. J., Collard, M. & Shennan, S. J.) 65–88 (Routledge, 2006).
  • 55.Building Control Division. Drawings of shophouses in 1899 Part 1. (1899).
  • 56.Building Control Division. Drawings of shophouses in 1899 Part 2. (1899).
  • 57.Building Control Division. Drawings of shophouses in 1904 Part 1. (1904).
  • 58.Building Control Division. Drawings of shophouses in 1904 Part 2. (1904).
  • 59.Building Control Division. Drawings of shophouses in 1904 Part 3. (1904).
  • 60.Building Control Division. Drawings of shophouses in 1904 Part 4. (1904).
  • 61.Building Control Division. Drawings of shophouses in 1909 Part 1. (1909).
  • 62.Building Control Division. Drawings of shophouses in 1909 Part 2. (1909).
  • 63.Building Control Division. Drawings of shophouses in 1925. (1925).
  • 64.Building Control Division. Drawings of shophouses in 1934 Part 1. (1934).
  • 65.Building Control Division. Drawings of shophouses from 1884 to 1886. (1884).
  • 66.Collard, M., Shennan, S. J. & Tehrani, J. J. Branching versus blending in macroscale cultural evolution: a comparative study. in Mapping Our Ancestors: Phylogenetic Approaches in AnthropologyandPrehistory (eds Lipo, C. P., O’Brien, M. J., Collard, M. & Shennan, S. J.) 53–64 (Routledge, New York, 2006).
  • 67.Wong, H. S. & Waterson, R. Singapore Through 19th Century Prints & Paintings (Editions Didier Millet and National Museum of Singapore, 2010).
  • 68.Building Control Division. Drawings of shophouses from 1889 to 1891. (1891).
  • 69.Knapp, R. Chinese Houses of Southeast Asia: Eclectic Architecture of the Overseas Chinese Diaspora (Tuttle Publishing, 2010).
  • 70.Davison, J. Swanand Maclaren: A Story of Singapore Architecture (ORO Editions & The National Archives of Singapore, 2020).
  • 71.Fan, Z., Feng, C.-C. & Biljecki, F. Coverage and bias of street view imagery in mapping the urban environment. Comput. Environ. Urban Syst.117, 102253 (2025). [Google Scholar]
  • 72.Anguelov, D. et al. Google street view: capturing the world at street level. Computer43, 32–38 (2010). [Google Scholar]
  • 73.Khosla, A., An, B., Lim, J. J. & Torralba, A. Looking beyond the visible scene. In Proc. IEEE Conference on Computer Vision and Pattern Recognition 3710–3717 10.1109/CVPR.2014.474 (IEEE, 2014).
  • 74.Xue, X., Tian, Z. & Yang, Y. Color analysis of Singapore shophouses. figshare 10.6084/m9.figshare.28522265.v3 (2025).
  • 75.Xue, X., Tian, Z., Yang, Y., Wang, J. & Cao, S.-J. Sustaining the local color of a global city. Nat. Cities10.1038/s44284-025-00225-x (2025).
  • 76.Andrews, D., Bedford, J. & Young, G. Geospatial Survey Specifications for Cultural Heritage. https://historicengland.org.uk/images-books/publications (2024).
  • 77.He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image recognition. In Proc.IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 770–778 10.1109/cvpr.2016.90 (IEEE, 2016).
  • 78.Selvaraju, R. R. et al. Grad-CAM: visual explanations from deep networks via gradient-based localization. Int. J. Comput. Vis.128, 336–359 (2020). [Google Scholar]
  • 79.Hammer, Ø. & Harper, D. A. T. Paleontological Data Analysis. (Wiley-Blackwell, 2005).
  • 80.Wilkinson, G. N. & Rogers, C. E. Symbolic description of factorial models for analysis of variance. Appl. Stat.22, 392 (1973). [Google Scholar]
  • 81.Payne, R. W. & Wilkinson, G. N. A general algorithm for analysis of variance. Appl. Stat.26, 251–260 (1977). [Google Scholar]
  • 82.Manning, C. D., Raghavan, P. & Schütze, H. Introduction to Information Retrieval. (Cambridge University Press, 2008).
  • 83.Hamming, R. W. Error detecting and error correcting codes. Bell Syst. Tech. J.29, 147–160 (1950). [Google Scholar]
  • 84.Bryant, D. & Huson, D. H. NeighborNet: improved algorithms and implementation. Front. Bioinform. 3, 1178600 (2023). [DOI] [PMC free article] [PubMed]
  • 85.Saitou, N. & Neii, M. The neighbor-joining method: a new method for reconstructing phylogenetic trees. Mol. Biol. Evol.4, 406–425 (1987). [DOI] [PubMed] [Google Scholar]
  • 86.Bryant, D. & Moulton, V. Neighbor-net: an agglomerative method for the construction of phylogenetic networks. Mol. Biol. Evol.21, 255–265 (2004). [DOI] [PubMed] [Google Scholar]
  • 87.Xue, X., Tian, Z. & Yang, Y. Singapore Shophouse Facade Analysis Dataset. Zenodo 10.5281/zenodo.17009527 (2025).
  • 88.Xue, X., Tian, Z. & Yang, Y. Decoding the Singapore Shophouse. Zenodo 10.5281/zenodo.19110655 (2026).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

41467_2026_73376_MOESM2_ESM.pdf (46.1KB, pdf)

Description of Additional Supplementary Information

Supplementary Data 1 (97.4KB, xlsx)
Supplementary Data 2 (175KB, xlsx)
Reporting Summary (118.6KB, pdf)

Data Availability Statement

The list of featured elements in this study is provided in Supplementary Data 1. The raw facade image data generated in this study have been deposited in the Zenodo repository under accession link 10.5281/zenodo.1700952787 and are publicly available. Google Street View images cannot be redistributed due to Google’s Terms of Service; the sampling points and coordinates used to retrieve the Street View imagery are provided in Supplementary Data 2. The model training code and JSON annotation files used in this study are available in the GitHub repository https://zenodo.org/records/1911065588.

The code used in this study is available at https://github.com/ZITA98/Decoding-the-Singapore-Shophouse.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES