WorksComputer Science
Small Language Models for Smart Data Model Classification at the Edge: A Cost-Aware Hybrid Approach
Abstract
The rapid proliferation of heterogeneous data sources within the Internet of Things (IoT) across domains such as smart cities, energy management, and environmental monitoring necessitates efficient and scalable data standardization methods. Effective classification of smart data models (SDMs) is essential for facilitating interoperability. However, existing approaches are often limited by high resource consumption and lack applicability in edge environments with constrained computational capabilities. Aiming to bridge this gap, the proposed study evaluates the performance of lightweight open-source language models (LMs) to resolve an input data entity against its corresponding best fitting SDM representation under resource-constrained conditions. It systematically benchmarks a diverse array of models, including general purpose (GP), reasoning-specialized (RS), and code-specialized (CS) architectures, across multiple domain-specific datasets. Addressing the current omission of lightweight, resource-efficient solutions in the literature, the investigation provides significant and valuable insights into model selection, task formulation, and deployment strategies that optimize accuracy and efficiency. A complementary experiment also compares the surveyed large language models (LLMs) against two near-zero-cost similarity baselines (Term Frequency-Inverse Document Frequency (TF-IDF) and a lightweight sentence encoder) on the same task, providing a strong reference point for interpreting the practical value of LLM-based classification on edge platforms.
Introduction
In the rapidly evolving landscape of the IoT, the proliferation of heterogeneous data sources across domains such as smart cities, energy management, and environmental monitoring necessitates effective and scalable data integration solutions. SDMs play a critical role in the data standardization landscape, but their effective applicability is hindered by traditional approaches to entity classification and schema matching, which pose significant challenges related to semantic heterogeneity and resource constraints, especially in edge-fog environments. This paper aims to systematically evaluate the feasibility of lightweight open-source LMs for structured data classification tasks within resource-constrained IoT ecosystems. To achieve this, the study explores a range of GP, RS, and CS models, benchmarking their performance on diverse SDMs drawn from multiple domains.
Figure 1 illustrates a representative scenario where environmental sensors and monitoring stations from four different vendors transmit data to a centralized repository. Despite measuring identical physical phenomena (such as temperature and humidity) and tracking the same types of entities (customers or users), each vendor employs distinct attribute naming conventions and data schemas. For instance, temperature readings are variously encoded as temperature, temp, ambientTemp, and tmp; while customer identifiers appear as client, customer, cust, and person. This syntactic heterogeneity, combined with the absence of standardized metadata vocabularies, creates substantial barriers to semantic interoperability and automated data fusion, underscoring the need for sophisticated ontology alignment and schema matching techniques in modern IoT platforms.

Figure 1. Heterogeneous data integration challenge in IoT ecosystems with multiple vendors
In this context, entity resolution (ER) is the process of identifying and matching records that refer to the same real-world entity across different datasets or data streams. The role of ER in data model standardization is to identify and link semantically equivalent attributes and records across heterogeneous data models, thereby enabling interoperability and consistent representation of entities across diverse systems and domains.
In the literature, various approaches exist to address ER that can be organized into 4 main research lines based on rules, ontologies, Machine Learning (ML) and Deep Learning (DL) techniques, and LLM technology, respectively. The most recent studies on LLMs appear to be promising, although they are often resource- and cost intensive. Furthermore, ER and data model standardization primarily focus on large-scale cloud-based models or traditional heuristic approaches, leaving a significant gap in the investigation of lightweight models suitable for edge-fog deployments. As a consequence, there is limited understanding of how different model architectures, parameter sizes, and task formulations influence classification accuracy in resource constrained scenarios. This work seeks to address these gaps by conducting a comprehensive benchmarking of 26 lightweight models under real-world constraints, providing practical insights and actionable recommendations for deploying automated SDM classification systems in heterogeneous IoT ecosystems. In doing so, it aims to advance the state of knowledge toward scalable, efficient, and domain-robust data integration methodologies.
It is important to position this work relative to established deterministic approaches to IoT sensor onboarding. Standards such as W3C Web of Things (WoT) Thing Descriptions2, NGSI-LD explicit context definitions, and declarative transformation languages such as JSONata3 provide guaranteed precision and sub-millisecond latency when device schemas are pre-registered or hand-authored mapping rules exist. For known and well-documented device types, these approaches are the natural and preferred choice. However, they fundamentally require upfront manual engineering: a domain expert must author and maintain a mapping rule or Thing Description for each device type. The multi-vendor heterogeneity illustrated in Figure 1, where four vendors independently encode the same physical phenomenon using incompatible naming conventions, represents the pervasive cold-start condition encountered when integrating third-party, legacy, or previously unseen devices for which no pre-existing mapping exists.
In this context, LLM-based ER does not compete with deterministic methods; rather, it addresses the prior step of automated entity discovery, classifying incoming data entities against a standardized SDM taxonomy to bootstrap the onboarding process and reduce the manual authoring effort required before deterministic integration can be established.
A common approach to comparing pieces of text, such as an incoming data entity’s JSON keys and candidate taxonomy entries, is to first convert each text into a numerical vector (a process known as text vectorization) and then measure the cosine of the angle between the resulting vectors. Two widely used vectorization schemes are compared in this work as baselines. The first, TF-IDF, represents each text by the (weighted) frequency of its constituent tokens; it captures lexical overlap and requires no training. The second vectorization
tion schema embeds the same text with a lightweight sentence encoder (all-MiniLM-L6-v2), producing dense, semantically-grounded vectors that can generalise beyond exact token matches. By benchmarking the surveyed LLMs against both a lexical and a semantic baseline on the same classification task, the study provides a concrete reference point for assessing when the additional cost of an LLM is justified.
This research illustrates the trade-offs between model complexity, accuracy, and inference efficiency, by systematically analyzing the performance of various lightweight models across multiple classification strategies and domain-specific datasets. Critical factors such as task formulation, model specialization, and parameter scaling are investigated, challenging conventional assumptions about the supremacy of certain architectures for structured data classification. Furthermore, this work highlights significant research gaps, including the limited focus on resource-efficient models for dynamic, large-scale data streams. Addressing this issue, the study provides foundational insights that can guide practitioners and researchers in designing scalable, accurate, and computationally feasible models for semantic data integration in IoT environments, ultimately contributing to more interoperable and intelligent urban, energy, and environmental ecosystems.
Following this introduction, § 2 illustrates the landscape of recent related works, § 3 describes the methodology adopted for the purposes of this research, § 4 analyzes the results of the experiments, § 5 provides some final insights and considerations for designers and practitioners, and § 6 concludes the article.
Background and Related Work
This section reviews the state of the art in Data model (DM) standardization, classification methodologies, and LM applications in structured data tasks. Schema and attribute name resolution is a fundamental task in data integration, enabling systems to identify semantically equivalent attributes across heterogeneous DMs (e.g., mapping "cust_id" to "customerID"). Traditional approaches rely on lexical similarity, rule-based heuristics, or supervised ML, but these methods often struggle with semantic heterogeneity and lack scalability.
Recent research explores the use of LLMs for schema and attribute-level matching, leveraging their contextual and semantic understanding.
Data Model Standardization
Entity DM standardization involves creating consistent, interoperable frameworks for representing and exchanging data about entities across different systems and domains. Such a standardization is achieved by defining and maintaining the interoperable data entity representation frameworks and by designing and implementing ER flows. In this sense, ER is the process of identifying and linking records that refer to the same real-world entity across different datasets.
Entity DM standardization has evolved along various distinct methodological trajectories optimized for different application contexts. Ontology-based semantic approaches using Smart Applications REFerence Ontology (SAREF) [10], Brick [47], and Open Geospatial Consortium (OGC) standards [31] dominate in IoT, building, and smart city applications where semantic richness and flexible integration of heterogeneous data sources are paramount, achieving demonstrated consistent efficiency gains in building control deployment but facing challenges with traditional modeling tool compatibility [10]. Schema-based standards like Fast Healthcare Interoperability Resources (FHIR) [54] and FIWARE’s NGSI-LD [6] prevail in healthcare and cross-domain platforms where formal validation and broad adoption are critical. In particular, NGSI-LD is adopted as a Minimum Interoperability Mechanisms (MIM) by the Open Agile Smart City (OASC) network and FHIR being recognized as a highly promising healthcare interoperability standard, though both NGSI-LD and FHIR face ongoing challenges in data integration, performance, and scalability. Industrial automation employs specialized standards including Open Platform Communications Unified Architecture (OPC UA) and Asset Administration Shell [51], where no single standard covers all use cases [42], necessitating integration strategies that combine multiple standards.
The effectiveness of each approach depends fundamentally on domain requirements rather than inherent technical superiority. Federated and modular architectures achieve scalability through loose coupling and reusability [3], while standardized APIs and semantic alignment enable interoperability improvements. Anyway, universal agreement on standards remains challenging and interoperability gaps persist at domain integration points [6]. Healthcare applications face critical needs for DM convergence across diverse data modalities [16], smart cities struggle with proprietary technology integration [6], and construction faces challenges from the proliferation of different approaches [44], with Shapes Constraint Language (SHACL) emerging as the most standardized Linked Data validation method. Currently, many initiatives to DM standardization are in going and among them the most significant for this study is SDMs.
The SDMs initiative is a collaborative program that provides harmonised representation formats and semantics for applications to consume and publish data across multiple industrial domains. The initiative is jointly led by FIWARE Foundation, IUDX (India Urban Data Exchange), TM Forum, and OASC, with the goal of creating interoperable and replicable smart solutions. In particular, the SDMs initiative provides compatible, domain-specific DMs to facilitate data sharing and understanding across different applications [7], by promoting NGSI-LD standard format. In effect, NGSI-LD has been standardized by the ETSI Industry Specification Group on Context Information Management.
FIWARE models are designed to be generic and reusable across different domains, while ontologies are often tailored to specific applications or industries. This means that FIWARE models may not capture all the nuances and complexities of a particular domain, but they provide a common foundation for data integration and exchange.
The DM datasets are hosted on GitHub4 into 101 repositories organized hierarchically. The structure comprises an umbrella repository that contains all DMs across domain collections for each industry sector with submodules linking to subjects, and subject-specific vertical sub-repositories that contain the corresponding DMs.
The SDMs are structured as JSON-LD (JSON for Linking Data) documents following JSON Schema specifications with accompanying documentation and context specification. Each model is well documented by providing: (a) A JSON-LD example demonstrating the complete structure and proper usage; (b) Semantic annotations using standard vocabularies (schema.org, FIWARE, etc.); (c) Property definitions with data types, constraints, and relationships; (d) Context information linking to external vocabularies.
The models follow a driven-by-implementation approach where specifications are considered stable once enough end-user organizations have validated them in practice. Each model is versioned annually with the schemaVersion parameter denoting the version.
FIWARE models, alongside NGSI-LD, have been adopted by the OASC network as MIM.
Several other initiatives aim to address interoperability challenges using ontologies and semantic web technologies. Among the domain-specific ontologies, it is worth mentioning the proposal of a Data and Information Interoperability Model (DIIM) that combines semantic web technologies and Model-Driven Architecture (MDA) to facilitate syntactic and semantic interoperability in IoT-enabled Smart Water Networks (SWN) [53]. In smart buildings domain, BIM-IoT Data Integration (BIM-IoTDI) [23] enables semantic interoperability between Building Information Modeling (BIM) and IoT data sources.
Other relevant initiatives include the following: IDSA Information Model5, SAREF ontology6, Blockchain in Transport Alliance (BiTAS)7, DCSA Interface for Track & Trace8, United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT) model, IPSO Smart Objects (OMA SpecWorks)9.
Recent studies focus on the integration of LLMs with ontologies, showcasing new opportunities for enhancing ontology learning and knowledge extraction [46, 9]. LLMs can be used to automate and improve the ontology and information model learning process, offering information on effective methodologies for future developments in this field.
Entity Resolution
The ER process is a well-known method in the literature that aims to enhance data quality by uniformly representing entities in datasets or streams [41, 14]. It involves a series of steps (primarily blocking, matching, and clustering) to identify matching pairs of entity descriptions corresponding to real-world objects, also called duplicates. The steps in a typical ER process are described
in the following, along with significant state-of-the-art works.
The Blocking and Block Processing stage helps handle large volumes of data by separating input into blocks based on similarity criteria. Dynamic indexing techniques, such as Similarity-aware Index [13] and DySimII [49], update these blocks based on entity descriptions obtained through queries or streams of entities, which can be interpreted as sequences of queries.
Matching involves forwarding entity descriptions to a matching function based on binary similarity. Dynamic Matching approaches like QuERy [5] and QDA [4] are not designed for incremental execution and do not support functions considering more than two values. In other words, such approaches are not designed to deal with data streamed dynamically by diverse data sources, but rather perform best with static datasets. BrewER [52, 60] can be employed within each block to reduce similarity comparisons and feed the query tree with resolved entities, dynamically and on demand. This approach is preferred due to its reliability, effectiveness, and efficiency.
In the Clustering stage, duplicates are inferred by grouping them within clusters, improving the similarity function used in the Matching stage. This results in a set of entity clusters, each described by features of a real world object. Incremental Correlation Clustering is the leading approach to Dynamic Clustering [30], capable of performing updates on clusters without prior knowledge of the number of clusters involved.
Given its complexity, traditionally ER is a resource intensive task that requires significant computing power to achieve valid performance [14]. Moreover, parallelization strategies for ER tasks are adopted to scale to large volumes of data. Yet, such strategies are not feasible to support incremental or streaming ER [27], i.e. ER performed on live data streamed by dynamic data sources such as IoT devices. Constraints related to computing resources or time have been overlooked by research but are becoming increasingly influent as edge-cloud continuum paradigm takes the stage. The main goal of such architectures is to shift high-performance computing tasks towards the edge of the Internet, closer to where data is produced or consumed [41]. In this way, network traffic and computing load balance are optimized, while offering opportunities in terms of data sovereignty constraints and privacy preservation. Budget-aware ER are intended to provide the best possible partial solution in resource constrained environments [14].
Considering the recent outbreak of AI applications, current approaches to ER can be organized into four main categories, discussed in the following. Specifically, ER techniques can be based on rules, ontologies, ML and DL, and LLM approaches.
Rule-based Approaches
Beyond schema-based standards, deterministic sensor onboarding pipelines represent the established baseline for IoT data integration in production deployments. The W3C WoT architecture defines a Thing Description (TD) format that allows devices to self-describe their capabilities and semantic properties, eliminating runtime schema inference when TDs are available. NGSI-LD context definitions allow platform operators to pre-register entity types and attribute mappings, enabling 100% precision classification at millisecond latency. Declarative transformation languages such as JSONata provide rule-based field remapping that is both auditable and entirely deterministic. These approaches excel in controlled environments where device schemas are stable and known in advance. Their principal limitation is that they require prior investment in manual rule authoring, which becomes impractical at scale when integrating diverse third-party or legacy devices with heterogeneous and undocumented attribute naming conventions.
LLM-based ER is therefore best understood as complementary to these deterministic pipelines: it targets the cold-start phase of device onboarding where no pre-existing mapping exists, automating initial entity classification to reduce the manual effort required before deterministic rules can be established.
Ontology-based Approaches and Semantic Layer Integration
The field of data ER has made impressive strides thanks to the use of ontology-based approaches. These methods leverage ontologies to address ER to improve accuracy, clarity, and depth of understanding in matching entities. Recent research has shown how ontologies and related semantic frameworks can tackle the challenges that come with ER tasks. Ontology-based approaches to data ER in recent years can be clustered into three distinct methodological paradigms, each optimized for different operational contexts.
Embedding-based approaches employ neural networks and statistical learning to automatically align entities across knowledge graphs, with methods like BERT_INT achieving dominance in datasets with high factual similarity [25, 50]. These approaches offer strong automation benefits through ML but face limitations in computational complexity requiring negative sampling for dense datasets, strict assumptions limiting domain transferability, and limited interpretability requiring additional manual effort for translatable results [25].
Knowledge-enhanced approaches incorporate external background knowledge via factual queries, structure-based methods, statistical/neural techniques, and logic-based reasoning. They yield higher recall and F-measure when domain-specific resources are available, but scalability is limited by resource size and linking requires manual effort [48].
Domain-specific semantic integration approaches prioritize interoperability through standardized frameworks like RDF/OWL, enabling SPARQL queries and cross-system integration while facilitating semantic reasoning and structured data interpretation [22]. At the same time, they face challenges in scalability related to developing fully interoperable semantic models, reliance on commercial software, and requirements for specialized expertise across multiple fields [11, 8].
Essentially, ontology-based and semantic-layer approaches provide additional robustness by mapping schema elements to knowledge graphs or controlled vocabularies [40].
Machine Learning- and Deep Learning-based Approaches
ML ER has evolved to address complex data integration challenges, with recent approaches focusing on automation, knowledge integration, and reduced human intervention. ML-based approaches to ER typically employ supervised or unsupervised algorithms to identify and match records that refer to the same real-world entity across different datasets. These methods often use feature engineering to extract similarities from entity attributes before applying classification or clustering algorithms to determine matches.
On the contrary, ontology-based approaches leverage structured knowledge representations and semantic relationships to resolve entities by mapping them to standardized concepts in domain-specific ontologies, using logical reasoning and semantic similarity measures.
Studies in literature span multiple ER subtasks related to matching [37], blocking (which reduces computational complexity by identifying candidate pairs before matching) [57, 34, 36], and the broader entity alignment problem [18, 20].
Recent research reveals three primary hybridization strategies for ML and ontologies: learning enhanced ontologies, semantic data mining, and integrated learning reasoning systems [28, 45].
DL consistently outperforms traditional methods on textual and dirty data but shows limited advantages on clean, structured data [43].
LLM-Based Approaches
Approaches to ER based on LLM represent a paradigm shift from traditional methods by leveraging the advanced natural language understanding and reasoning capabilities of LLMs to identify and match entities across datasets [33]. Unlike traditional ML-based approaches, LLM-based methods can perform ER through natural language instructions, zero-shot or few-shot prompting, and contextual reasoning without extensive domain-specific training. They also differ from ontology-based approaches by utilizing the implicit world knowledge embedded in pretrained LMs to understand semantic relationships and handle ambiguous or incomplete data more flexibly.
Recent LLM-based ER methodologies demonstrate substantial performance gains with significant accuracy improvements [26, 39, 19] across diverse tasks including entity matching [58, 21], alignment [12], linking [59], and deduplication [38]. Key innovations explore varying-size LLMs for initial filtering and final decision-making of data entities [26], hybrid methods that integrate knowledge graphs with LLMs, and uncertainty-reduction frameworks that optimize question selection [38].
While recent LLM-based ER approaches demonstrate substantial performance improvements across matching, alignment, and linking tasks [26, 58, 12, 59], they predominantly focus on large-scale models (7B+ parameters) deployed via cloud APIs, with emphasis on accuracy gains and API cost optimization through selective deployment strategies [24, 38]. This literature exhibits three critical gaps for IoT scenarios. First, resource constraints: existing work overlooks deployment feasibility in edge-fog environments where computational resources are severely limited, cloud connectivity unreliable, and energy efficiency critical [41]. Second, domain specificity: evaluations focus on general entity matching rather than hierarchical, domain-specific taxonomies like SDMs requiring multi-level classification across standardized IoT verticals. Third, model specialization: systematic comparisons of GP, RS, and CS models within the lightweight regime (4B parameters) are absent, leaving practitioners without guidance on which architectural approaches best balance performance and efficiency for structured classification tasks. Furthermore, the assumption that providing taxonomies uniformly improves classification remains untested in the context of ER, despite potential cognitive overhead from large option sets.
Methodology
This section describes our experimental design, including the dataset composition, model selection rationale, prompt engineering approach, and evaluation framework. Before proceeding with the discussion, it is fundamental to identify gaps in the literature regarding ER.
Following the review proposed in section 2.2, some gaps in the literature become evident in terms of the ability of current ER approaches to handle large-scale and dynamic data streams in resource constrained environments. In this paper, the goal is to benchmark state-of-the-art lightweight LLMs to evaluate their feasibility as core matching components of innovative ER pipelines. The study focuses specifically on lightweight LLMs to address the requirements posed by resource constrained environments, specifically in terms of computing power and inference time. Performing a reliable ER pipeline in low-power computing infrastructure (typically on devices in the edge of the Internet) fosters data sovereignty and helps responding to privacy-preservation requirements. Nevertheless, this also poses challenges in terms of balance between accuracy of the model vs. the available budget in terms of resources.
System Architecture and Classification Pipeline
To clarify how the benchmarked LLMs are embedded in an end-to-end ER workflow, this subsection describes the proposed system architecture and the classification pipeline adopted in the experimental study. Figure 2 reports the high-level architecture, while Figure 3 details the per-entity processing pipeline along the two classification paths investigated in this work (constrained and unconstrained, see § 3.4).

Figure 2. System architecture of the LLM-based ER system for SDM classification in resource-constrained IoT environments. The SDM taxonomy is used only in the constrained classification path (dashed arrow).

Figure 3. Overview of the LLM-based SDM classification pipeline with constrained and unconstrained paths.
System Architecture. Heterogeneous IoT data sources (e.g., JSON payloads emitted by different vendors) feed the LLM-based ER system. Inside the system (see Figure 2), four logical components cooperate: (i) the Prompt Engine, which assembles the input entity into a task-specific prompt and, in the constrained path only, injects the SDM taxonomy (228 data models grouped under 20 subjects) as auxiliary context; (ii) the LLM Engine, which executes inference through the Ollama runtime using lightweight open-source models with at most 4B parameters; (iii) the Output Parser, which extracts structured fields from the raw model response; and (iv) the resulting Classified SDM, encoded as a subject, datamodelname pair. The dashed arrow from the SDM taxonomy to the Prompt Engine highlights that the taxonomy is consumed exclusively in the constrained classification path.
Classification Pipeline. For each input IoT data entity, the pipeline (see Figure 3) branches into two parallel paths to enable a fair comparison of taxonomy-aware and taxonomy-free classification. Both paths share the same four stages: Prompt Construction, LLM Inference, Output Parsing, and Classified SDM. In the constrained path, prompt construction concatenates the input entity with the full SDM taxonomy, asking the model to select the best matching pair from the provided options. In the unconstrained path, prompt construction includes only the input entity, asking the model to produce a datamodelname together with up to three synonyms, with no taxonomy reference. LLM inference is executed in both cases through the Ollama API with temperature set to 0.4. Output parsing applies JSON-mode decoding followed by Python-level key extraction, as detailed in § 3.5.4. The two paths terminate in structurally different outputs: the constrained path returns a taxonomy-validated pair, whereas the unconstrained path returns a free-form datamodelname accompanied by candidate synonyms suitable for downstream lexical or semantic matching.
Target Smart Data Models
FIWARE’s SDMs aim to establish a common foundation for data integration and exchange. To this end, they are designed to be generic and cross-domain.
For this study, we selected a representative subset of 228 DMs from three primary domains within the SDMs repository: Smart Cities, Smart Energy, and Smart Environment. This selection provides comprehensive coverage across diverse application scenarios while maintaining manageable dataset size for systematic evaluation. Table 1 presents the distribution of selected models across domains and subdomains.
| Domain | Subject | Count |
| Smart Cities (171) | Building | 4 |
| Smart Cities (171) | GBFS | 13 |
| Smart Cities (171) | OSLO | 4 |
| Smart Cities (171) | Parking | 5 |
| Smart Cities (171) | Parks and Gardens | 3 |
| Smart Cities (171) | Point of Interest | 4 |
| Smart Cities (171) | Ports | 4 |
| Smart Cities (171) | S4BLDG | 49 |
| Smart Cities (171) | Streetlighting | 5 |
| Smart Cities (171) | Transportation | 25 |
| Smart Cities (171) | Urban Mobility | 17 |
| Smart Cities (171) | Waste Management | 4 |
| Smart Cities (171) | Weather | 4 |
| Smart Cities (171) | Wifi Network | 2 |
| Smart Cities (171) | ZEB (Zero Energy Building) | 28 |
| Smart Energy (18) | Battery | 4 |
| Smart Energy (18) | Consumption | 2 |
| Smart Energy (18) | Energy | 5 |
| Smart Energy (18) | Green Energy | 4 |
| Smart Energy (18) | Weather | 3 |
| Smart Environment (39) | Environment | 19 |
| Smart Environment (39) | Frictionless Data | 4 |
| Smart Environment (39) | Waste Management | 4 |
| Smart Environment (39) | Water Quality | 3 |
| Smart Environment (39) | Weather | 4 |
| Total | 228 |
Table 1. Composition of Selected DMs by Domain and Subject
The Smart Cities context dominates the dataset with 171 models (75.0%), reflecting the comprehensive coverage of urban infrastructure components including building systems (S4BLDG with 49 models and ZEB with 28 models), transportation networks (25 models), urban mobility systems (17 models including complete GTFS specifications), and bike-sharing infrastructure (GBFS with 13 models). The Smart Environment domain contributes 39 models (17.1%) covering air quality monitoring, water quality assessment, noise pollution tracking, and environmental observations.
Finally, the Smart Energy domain provides 18 models (7.9%) focusing on battery systems, consumption monitoring, renewable energy generation, and photovoltaic devices.
The selected dataset exhibits significant diversity in terms of:
Structural complexity: Models range from simple observational data (e.g., WeatherObserved) to complex hierarchical systems (e.g., Building, TransitManagement).
Property count: Varying from minimal property sets to extensive specifications with dozens of attributes.
Domain specificity: Generic models applicable across contexts (e.g., PointOfInterest) versus highly specialized technical specifications (e.g., ProtectiveDeviceTrippingUnit).
Semantic richness: Different levels of ontological depth and relationship complexity.
This diversity makes the dataset particularly suitable for evaluating the robustness and generalization capabilities of classification models across varying levels of structural and semantic complexity.
Target LLM Models - Taxonomy and Features
We evaluate 26 lightweight open-source LMs spanning three distinct specializations: GP (13 models), RS (3 models), and CS (10 models). The full list of evaluated GP models is shown in Table 2. All models are constrained to a maximum of 4 billion parameters to ensure deployment feasibility on resource-limited hardware while investigating the relationship between model specialization and classification performance.
| Provider | Model Code Name | Params | Context |
| General Purpose (Sub-3B) | Google gemma3:270m | 0.27 | 32 |
| General Purpose (Sub-3B) | Alibaba qwen2.5:0.5b | 0.5 | 32 |
| General Purpose (Sub-3B) | Meta llama3.2:1b | 1.0 | 128 |
| General Purpose (Sub-3B) | Google gemma3:1b | 1.0 | 32 |
| General Purpose (Sub-3B) | Alibaba qwen2.5:1.5b | 1.5 | 32 |
| General Purpose (Sub-3B) | Microsoft phi:2.7b | 2.7 | 2 |
| General Purpose (3B+) | Alibaba qwen2.5:3b | 3.0 | 32 |
| General Purpose (3B+) | Meta llama3.2:3b | 3.0 | 128 |
| General Purpose (3B+) | Microsoft orca-mini:3b | 3.0 | 2 |
| General Purpose (3B+) | Microsoft phi3.5:3.8b | 3.8 | 4 |
| General Purpose (3B+) | Microsoft phi4-mini:3.8b | 3.8 | 128 |
| General Purpose (3B+) | Alibaba qwen3:4b-instruct | 4.0 | 256 |
| General Purpose (3B+) | Google gemma3:4b | 4.0 | 128 |
| Reasoning-Specific | Alibaba qwen3:0.6b | 0.6 | 40 |
| Reasoning-Specific | DeepSeek deepseek-r1:1.5b | 1.5 | 128 |
| Reasoning-Specific | Alibaba qwen3:1.7b | 1.7 | 40 |
| Code-Specialized | Alibaba qwen2.5-coder:0.5b | 0.5 | 32 |
| Code-Specialized | BigCode starcoder:1b | 1.0 | 8 |
| Code-Specialized | DeepSeek deepseek-coder:1.3b | 1.3 | 16 |
| Code-Specialized | Alibaba qwen2.5-coder:1.5b | 1.5 | 32 |
| Code-Specialized | Agentica/Together deepcoder:1.5b | 1.5 | 128 |
| Code-Specialized | Community opencoder:1.5b | 1.5 | 4 |
| Code-Specialized | Google codegemma:2b | 2.0 | 8 |
| Code-Specialized | Alibaba qwen2.5-coder:3b | 3.0 | 32 |
| Code-Specialized | BigCode starcoder:3b | 3.0 | 8 |
| Code-Specialized | Community cogito:3b | 3.0 | 128 |
Table 2. Overview of evaluated LMs organized by specialization, parameter size, and context window capacity. Params are expressed in billions (B) and context window in thousands (K).
The selected 26 lightweight open-source LMs are from diverse providers and architectural lineages. The GP category includes models from Alibaba’s Qwen family (qwen 2.5 models [55] and qwen3 models [56]), Meta’s Llama series (llama3.2 models [29]), Google’s Gemma architecture (gemma3 models [35]), and Microsoft’s Phi variants (phi3.5 [1], and phi4-mini [2]), alongside Microsoft’s orca-mini. For RS models, we evaluate Alibaba’s Qwen3 reasoning series (qwen3:0.6b and qwen3:1.7b [56]) and DeepSeek’s reasoning model (deepseek-r1:1.5b [17]). The CS category comprises Alibaba’s Qwen 2.5-Coder family [55], BigCode’s StarCoder variants, DeepSeek’s deepseek-coder [62], Google’s CodeGemma [61], Agentic-a/Together’s deepcoder, and community-developed models including opencoder [32] and cogito [15].
Inference Configuration. All models are deployed using Ollama with consistent generation parameters to ensure fair comparison:
Temperature: 0.4 - Low temperature setting promotes deterministic output generation while maintaining minimal creativity.
Context Window: 2048 tokens - Sufficient for processing complete DM examples with taxonomy context while maintaining efficient memory utilization. Besides, the smallest context window in 26 models that we investigate is 2K.
Batch Size: 1024 tokens - Optimized for processing throughput.
These parameters balance output consistency (required for structured JSON generation) with computational efficiency across the diverse model architectures in our evaluation.
Table 3 reports the memory footprint of each evaluated model as measured via ollama list, which reflects the GGUF file size on disk. For Q4_K_M-quantized models, this figure serves as a reliable proxy for the VRAM required during inference, as the quantized weights constitute the dominant component of memory consumption. The footprint ranges from 0.29 GB (gemma3:270m) to
| Model | Params | Memory | |
| General Purpose (Sub-3B) | gemma3:270m | 0.27 | 0.29 |
| qwen2.5:0.5b | 0.50 | 0.40 | |
| llama3.2:1b | 1.00 | 1.30 | |
| gemma3:1b | 1.00 | 0.82 | |
| qwen2.5:1.5b | 1.50 | 0.99 | |
| phi:2.7b | 2.70 | 1.60 | |
| General Purpose (3B+) | qwen2.5:3b | 3.00 | 1.90 |
| llama3.2:3b | 3.00 | 2.00 | |
| orca-mini:3b | 3.00 | 2.00 | |
| phi3.5:3.8b | 3.80 | 2.20 | |
| phi4-mini:3.8b | 3.80 | 2.50 | |
| qwen3:4b-instruct | 4.00 | 2.50 | |
| gemma3:4b | 4.00 | 3.30 | |
| Reas. Spec. | qwen3:0.6b | 0.60 | 0.52 |
| deepseek-r1:1.5b | 1.50 | 1.10 | |
| qwen3:1.7b | 1.70 | 1.40 | |
| Code-Specialized | qwen2.5-coder:0.5b | 0.50 | 0.40 |
| starcoder:1b | 1.00 | 0.73 | |
| deepseek-coder:1.3b | 1.30 | 0.78 | |
| qwen2.5-coder:1.5b | 1.50 | 0.99 | |
| deepcoder:1.5b | 1.50 | 1.10 | |
| opencoder:1.5b | 1.50 | 1.40 | |
| codegemma:2b | 2.00 | 1.60 | |
| qwen2.5-coder:3b | 3.00 | 1.90 | |
| starcoder:3b | 3.00 | 1.80 | |
| cogito:3b | 3.00 | 2.20 |
Table 3. Memory footprint of evaluated models as reported by ollama list. Disk size serves as a proxy for VRAM requirements during inference. Params are expressed in billions (B) and memory in Giga-Bytes (GBs).
3.30 GB (gemma3:4b), confirming that all evaluated models are deployable on hardware with 4–8 GB of VRAM, such as entry-level discrete GPUs or recent integrated graphics units available on edge-fog devices.
General Purpose Models
GP models constitute the largest category in our evaluation, representing LMs trained on broad corpora without specific optimization for reasoning or code generation tasks. These models are designed to handle diverse natural language understanding and generation tasks across multiple domains.
We partition GP models into two parameter ranges to assess scaling effects within the lightweight regime. The sub-3B category includes models ranging from 0.27B to 2.7B parameters, representing ultra-lightweight options particularly relevant for edge-fog deployment scenarios where memory footprints must be minimized. These models come from major providers including Google (Gemma 3 series), Alibaba (Qwen 2.5 series), Meta (Llama 3.2), and Microsoft (Phi), each employing distinct architectural innovations and training data curation strategies to maximize performance within strict parameter budgets.
The 3B+ category includes models with 3B to 4B parameters, approaching the upper bound of our lightweight model definition. These models represent a maturity point where architectural sophistication can be more fully expressed while maintaining deployment feasibility on modest hardware. This category includes multiple generations and variants from the same model families (e.g., Phi-3.5 and Phi-4 Mini), allowing assessment of iterative improvements within single architectural lineages. The complete list of evaluated GP models is presented in Table 2.
Reasoning-Specialized Models
RS models represent a distinct architectural paradigm optimized for multi-step logical processing, chain-of-thought reasoning, and systematic problem decomposition. These models are trained with techniques that encourage explicit reasoning traces and step-by-step analysis, often incorporating reinforcement learning from reasoning processes or specialized training objectives that reward intermediate analytical steps.
We evaluate three reasoning-focused models spanning 0.6B to 1.7B parameters from two major providers: DeepSeek and Alibaba (Qwen3 series). These models are significantly smaller than their GP counterparts yet are designed to excel at tasks requiring structured reasoning. The inclusion of reasoning models addresses a specific hypothesis: that SDM classification, which requires understanding semantic and hierarchical taxonomy structures, may benefit from models capable of explicit reasoning rather than direct pattern matching. These models typically generate longer intermediate outputs during inference, potentially providing more interpretable classification decisions alongside their predictions. The complete set of RS models is detailed in Table 2.
Code-Specialized Models
CS models are trained primarily on programming language corpora, including source code repositories, documentation, and structured data formats. These models develop strong capabilities in understanding formal syntax, data structures, and structured representations such as JSON and XML.
Our evaluation includes ten CS models spanning 0.5B to 3B parameters from diverse sources including (Google’s CodeGemma, BigCode’s StarCoder), established model families (Alibaba’s Qwen2.5-Coder series, DeepSeek-Coder), and community-driven initiatives (OpenCoder, Cogito). The rationale for including CS models stems from the structured nature of the classification task: data entities are represented as JSON objects with typed attributes, and the expected output is also JSON-formatted. Models trained extensively on code may possess superior capabilities in parsing structured inputs, understanding key-value relationships, and generating syntactically valid JSON outputs. Furthermore, code models are trained on data schemas, API specifications, and structured documentation that share conceptual similarities with this SDM taxonomies.
The diversity within CS models allows for nuanced analysis of which aspects of code specialization most benefit structured classification tasks. Table 2 provides the complete enumeration of CS models evaluated in this study.
Classification Framework
To comprehensively evaluate the capability of lightweight LLMs for SDM classification, two complementary classification strategies are employed: constrained and unconstrained classification (see Figure 3). In the constrained approach, the model is provided with a predefined list of valid SDM subjects and DM names and is required to select the single best-matching pair from this taxonomy. This strategy enforces strict adherence to the established SDM ontology, enabling deterministic evaluation through exact match metrics. It reflects a realistic deployment scenario in which a model must align incoming heterogeneous IoT data entities to a fixed, well-defined schema.
Constrained SDM Classification Prompt
Analyze the provided data entity and identify the
SINGLE BEST matching subject and DM name
from the available options.
Input Data
Entity to classify: {{entity_json}}
Available models (grouped by subject): {{subject_datamodelnames_list}}
Constraints
• MUST select from the provided available
models list ONLY
• Do NOT suggest models not present in
{{subject_datamodelnames_list}}
• If no reasonable match exists, return "NA"
for both fields
• Never return multiple options, arrays, or
invented model names
Matching Criteria (in order of priority)
1. Property name alignment (exact and semantic matches)
2. Data type compatibility
3. Domain/business context relevance
4. Structural / schema pattern similarity
Decision Rules
• Select the ONE subject and DM with the
strongest overall alignment
• Selection MUST exist in {{subject_datamodelnames_list}}
• If no reasonable match exists, return "NA"
for both fields
• If multiple models score equally, prefer
the one with more exact property name
matches
• Never return multiple options or arrays
Output Format
Return ONLY valid JSON with no additional text,
comments, or markdown formatting:
{
"subject": "IdentifiedSubject",
"datamodelname": "IdentifiedModelName"
}
Example Outputs
Valid match:
{
"subject": "WasteManagement",
"datamodelname": "WasteContainer"
}
No match found:
{
"subject": "NA",
"datamodelname": "NA"
}
Listing 1: Constrained SDM Classification Prompt
In the unconstrained approach, the model receives only the input data entity and is free to generate any DM name it deems appropriate, along with up to three alternative synonyms. This strategy assesses the model’s intrinsic semantic understanding and domain knowledge, independent of any taxonomy guidance. It is relevant to scenarios where the target ontology may be partially unknown or where models are expected to propose candidate classifications for human review.
Unconstrained DM Inference Prompt
Analyze the provided data entity and identify:
1. The BEST matching DM name
2. Three alternative names (synonyms) for the
same entity
Input Data
Entity to classify: {{entity_json}}
Analysis Criteria
Base your identification on:
• Property names and their semantic meaning
• Data types and their constraints
• Domain context and business purpose
• Structural patterns and relationships
Output Rules
• Return ONLY valid JSON (no comments, explanations, or markdown)
• Provide exactly one DM name and three
synonyms
• If fewer than 3 valid synonyms exist, use
"NA" for remaining slots
• Synonyms should be distinct alternative
names, not descriptions
Expected JSON Format
{
"datamodelname": "PrimaryIdentifiedName",
"synonym_1": "AlternativeName1",
"synonym_2": "AlternativeName2",
"synonym_3": "AlternativeName3"
}
Listing 2: Unconstrained DM Inference Prompt
Together, these two strategies provide complementary insights into model behavior: the constrained approach measures structured list-matching classification ability, while the unconstrained approach probes depth of semantic understanding and generalization capability. The corresponding prompt templates for each strategy are described in § 3.5.
Prompt Design
To evaluate the capability of LMs in structured data entity classification, we designed two complementary classification approaches with corresponding prompt templates. These prompts are the result of iterative prompt engineering, refined to maximize accuracy, clarity, and interpretability while ensuring consistent JSON-formatted outputs suitable for automated evaluation.
Constrained Classification Prompt
The constrained classification approach requires the model to identify exactly one subject and DM name from a predefined list of valid options. This design ensures that model outputs can be directly evaluated against ground truth labels without requiring fuzzy matching or synonym resolution. The prompt (see Listing 1) provides explicit matching criteria prioritized by importance, decision rules for handling ambiguous cases, and strict output format constraints.
Unconstrained Classification Prompt
The unconstrained classification approach allows the model to generate DM names and synonyms without reference to a predefined list. This design evaluates the model’s ability to infer appropriate classifications based solely on entity structure and semantics, testing its generalization capability and domain knowledge. The prompt in Listing 2 requests one primary DM name and three alternative synonyms, enabling assessment of the model’s understanding of semantic equivalence and nomenclature variations.
Available Data Models
The constrained classification prompt references a comprehensive taxonomy of subjects and their corresponding DMs, defining the universe of valid classification options. This taxonomy (see Table 1) is derived from the SDMs repository structure and encompasses 228 DMs across 20 subjects spanning three primary domains (Smart Cities, Smart Energy, Smart Environment). The complete list of subjects and the corresponding mapped DMs adopted for the purposes of this study is reported in the project’s Github repository 10.
The taxonomy exhibits natural hierarchies and overlaps: the Weather subject appears across all three domains (Smart Cities, Smart Energy, Smart Environment) with identical DMs, reflecting cross-domain applicability of meteorological observations. Similarly, WasteManagement appears in both Smart Cities and Smart Environment domains.
This taxonomic structure presents classification challenges including disambiguation of identical model names across subjects (e.g., "Building" in both Building and S4BLDG subjects, "Fan" in both S4BLDG and ZEB subjects) and selection among semantically similar models within the same subject.
Output Parsing and Scoring Pipeline
Raw model outputs pass through a two-stage extraction pipeline before EM scores are computed.
Stage 1 - JSON-mode inference. All Ollama API requests set "format": "json", enabling constrained decoding that biases token sampling toward structurally valid JSON. This reduces but does not eliminate malformed output: models can still embed conversational preambles, multilingual hallucinations, or reasoning traces within or around JSON field values, corrupting the document structure despite the format constraint.
To move beyond aggregate performance scores and understand why models succeed or fail on structured SDM classification, we systematically categorize prediction outcomes across all 228 entities and 26 models. Six mutually exclusive outcome categories are defined (T1–T5 are failure modes; T6 denotes a correct prediction):
T1 - Output failure: The model returns malformed, empty, or unparseable output, providing no usable prediction. This reflects instruction-following breakdown rather than semantic failure.
T2 - Correct subject, wrong data model: The subject domain is correctly identified but the specific DM name is incorrect.
T3 - Wrong subject, correct data model: The DM name is correctly predicted but assigned to the wrong subject.
T4 - Hallucinated output: Both fields are wrong and at least one value is not a valid taxonomy entry, indicating the model invented non-existent schema names.
T5 - Plausible confusion: Both fields are wrong but both values are valid taxonomy entries, indicating selection of a plausible but incorrect alternative.
T6 - Correct: Both subject and DM name exactly match the ground truth.
Note that 30 of the 228 entities belong to subjects absent from the provided taxonomy (Environment, Friction-lessData, GreenEnergy, WaterQuality), making correct prediction structurally impossible for these cases.
Stage 2 - Python parsing and key extraction. Raw responses are passed to the json.loads() Python’s function. On success, target subject and data model name are extracted via response.get('subject', None) and response.get('datamodelname', None), respectively. Any exception raised by json.loads() (malformed JSON, truncated output, embedded non-JSON text) sets both fields to None, classified as T1 (output failure). A second failure mode occurs when json.loads() succeeds but the model uses an incorrect key name (e.g., "datamodelname" instead of "datamodelname"), causing get() to return None silently. Both modes yield a score of 0.0, confirming that zero-Data Model Exact Match (D-MEM) models such as phi3.5:3.8b (83.3% T1 rate) reflect instruction-following breakdowns rather than semantic incomprehension.
EM scoring. Each extracted field is compared against the ground-truth label using strict case-sensitive string equality: subjectEM=(predicted == gold_subject) and datamodelEM=(predicted == gold_dm). No normalization is applied. Gold labels are derived programmatically from dataset filenames following the pattern dataModel.{subject}.{datamodelname}_examples.jsonld.
Table 4 illustrates the complete pipeline for three concrete cases drawn from the experimental results.
| Stage | Case A - Correct | Case B - Key typo | Case C - Malformed JSON |
| Model | qwen2.5-coder:3b | phi3.5:3.8b | phi3.5:3.8b |
| Gold labels | subject: WasteManagement; DM: WasteContainer | subject: UrbanMobility; DM: GtfsService | subject: S4BLDG; DM: CoolingTower |
| Raw LLM output | {"subject": "WasteManagement", "datamodelname": "WasteContainer"} | {"subject":"Weather", "datamodellename": "WeatherObserved"} | {"subject": "Anonymized-ConsumerDevice, ...} (479 chars; structurally invalid JSON due to embedded multilingual hallucination) |
json.loads() | ✓ Success | ✓ Success | × JSONDecodeError |
| Key extraction | subject = “WasteManagement”; DM = “WasteContainer” | subject = “Weather”; DM = None (key misspelled as "datamodellename") | subject = None; DM = None |
| SEM / DMEM | 1 / 1 | 0 / 0 | 0 / 0 (T1) |
Table 4. Pipeline trace for constrained classification: three concrete cases showing raw model output, JSON parsing result, key extraction, and final EM score. Case B shows a soft failure where json.loads() succeeds but key extraction fails due to a field name typo. Case C shows a hard parse failure.
Experimental Setup
The experimental evaluations were performed on a high-performance HP workstation running Ubuntu Linux (Kernel 6.8.0-90-generic). The software environment was managed using a virtualized Python environment, with
Ollama v0.13.1 serving as the primary inference engine for the LLMs. Ollama was selected over alternative serving stacks (e.g., llama.cpp bindings, vLLM, Hugging Face Transformers) for four reasons aligned with the resource-constrained scope of this study: (i) it provides a uniform, model-agnostic REST API, enabling identical request/response handling across the 26 evaluated models and thus a fair benchmarking protocol; (ii) it natively manages GGUF-quantized weights (Q4_K_M in this study), the same artifact format adopted by community edge-to-fog deployment toolchains, so the inference stack validated here is directly portable to edge-fog gateways without requantization; (iii) it is a local-first, self-hosted runtime that operates entirely offline, satisfying the data sovereignty and privacy-preservation requirements motivating ER at the edge of the network; and (iv) it exposes deterministic inference controls (temperature, JSON-mode decoding, per-request metrics such as total_duration) needed for reproducible latency measurements.
The hardware architecture featured a significant computational overhead to ensure high-throughput processing. Specifically, we utilized an NVIDIA RTX 6000 Ada Generation GPU, equipped with 48 GB of GDDR6 VRAM. The system was supported by 128 GB of system RAM to handle large-scale data pre-processing and context loading. The GPU utilized NVIDIA Driver version 580.95.05 with CUDA 13.0 support, providing the necessary software stack for optimized tensor operations and memory management.
Workstation as a controlled benchmarking testbed. Although the target deployment environment of this work is the edge-fog of the network, the experimental campaign was carried out on the workstation described above rather than directly on edge hardware. This choice is methodological: the workstation isolates the assessment of intrinsic model behaviour (accuracy and per-entity inference duration) from confounding edge-specific factors such as thermal throttling, transient power budgets, shared system load, and device-class heterogeneity, and therefore yields a clean, reproducible reference point against which future on-device measurements can be compared. The link to the edge-cloud continuum is preserved at two levels.
First, the evaluation is restricted to lightweight open-source LLMs (B parameters, Q4_K_M quantization) whose memory footprint, reported in Table 3, ranges from 0.29 to 3.30 GB, fitting within the 4–8 GB VRAM envelope of entry-level discrete GPUs and recent integrated graphics units found on edge gateways.
Second, the inference stack used here (Ollama runtime, GGUF weights, JSON-mode decoding) is identical to the stack that can be instantiated on such gateways, so the workstation acts as an upper-bound, hardware-uncapped reference: the relative ordering of models by accuracy and the lower bound on per-entity inference duration carry over to edge-fog deployments. The absolute latency on edge-fog hardware is expected to be model-bound rather than runtime-bound for the targeted cold-start device onboarding regime, which is a low-frequency, administrative task rather than a continuous data stream. Direct on-device validation across heterogeneous edge-fog gateways is left to future work.
To support reproducibility, the inference scripts, prompt templates, evaluation pipeline, and scoring code used in this study are published on a GitHub repository11. The repository includes the complete data flow from dataset loading to model querying via the Ollama API and exact match score computation.
Evaluation Metrics
To assess the performance of the LLMs on the data entity classification task, three primary evaluation metrics were employed: Inference Time, Subject Exact Match (SEM), and DMEM. These metrics collectively capture both the efficiency and accuracy of the models when generating structured outputs.
Inference Time
The Average Inference Duration (AID) measures the average duration required by a model to produce a response for a single input entity, reported in milliseconds (ms). It is computed as the mean total_duration value returned by the Ollama API across all evaluated entities, where total_duration is expressed in nanoseconds and converted by dividing by . This metric reflects computational efficiency and is particularly relevant in real-time or resource-constrained environments. Lower AID values indicate faster model execution and better scalability in large-scale or latency-sensitive applications.
Subject Exact Match
SEM quantifies the proportion of model predictions in which the identified subject (e.g., Building, ParkingSpot, WeatherObserved) exactly matches the ground truth label. This metric provides a strict measure of correctness, requiring the predicted subject to be identical to the expected category with no partial credit. High SEMs values indicate the model’s ability to correctly interpret the semantics and ontology of the input entity.
Data Model Exact Match
DMEM measures the percentage of predictions where the model correctly identifies the expected DM name (e.g., BuildingOperation, ParkingSpot, Event, AirQuality-Observed). Similar to SEMs, this metric applies an exact matching criterion, ensuring the predicted DM aligns precisely with the reference label. This metric is especially relevant for applications involving data harmonization, schema alignment, and interoperability within standardized data ecosystems.
Similarity-based Baselines
To contextualize LLM-based classification against simpler retrieval techniques, two reference baselines are evaluated on the constrained path only, where the SDM taxonomy provides an unambiguous candidate set. Both baselines cast SDM classification as a nearest-neighbour problem: for each input IoT data entity and each taxonomy entry , a similarity score is computed and the top-1 candidate is returned as the prediction.
Lexical Baseline (TF-IDF). The input entity is serialized to a single string by concatenating its JSON keys and string values. Each taxonomy entry is represented by the string "{subject} {datamodelname}". A unigram–bigram TF-IDF vectorizer is fitted on the union of all entity and taxonomy strings, and the predicted entry is , where denotes the TF-IDF vector. This baseline captures pure surface-form overlap and requires neither training nor a GPU.
Dense Embedding Baseline. The same entity and taxonomy strings are embedded with a lightweight sentence encoder (all-MiniLM-L6-v2, 22M parameters, 384 dimensional output) and ranked by cosine similarity. The encoder is deliberately chosen at the same scale as the smallest evaluated LLMs so that the comparison is fair under the resource-constrained scope of this study: it can be deployed on the same edge-fog gateways targeted by the LLM pipeline and incurs sub-second inference latency on CPU. Both baselines reuse the gold labels and evaluation metrics defined in § 3.6.1 (SEM, DMEM, AID).
Results and Discussion
We present the evaluation results for both constrained and unconstrained classification approaches across 26 lightweight open source LMs. The results are based on 228 data entities described in § 3.2, providing insights into model capabilities for SDM classification. Performance metrics include exact match accuracy for both subject and DM name prediction, along with inference duration measurements. In order to facilitate the analysis of the results, they are logically organized into three colored bands. Regarding the performance analysis yellow cells refer to values in the 0.4-0.6 range, whilst green cells encompass values from 0.7 to 1.0.
Similarly, concerning the AID values, the yellow cells refer to values in the 300 ms–500 ms range, whereas the green cells highlight values below 300 ms.
Constrained Classification Performance
Table 5 presents the complete results for the constrained classification task, where models select from a predefined list of valid subject vs. DM pairs across 20 subjects and 228 DMs. Performance is measured by SEM and DMEM rates, along with AID per model.
| Model name | SEM | DMEM | AID (ms) |
| Code-Specialized / codegemma:2b | 0.0 | 0.0 | 243.3 |
| Code-Specialized / cogito:3b | 0.6 | 0.7 | 332.9 |
| Code-Specialized / deepcoder:1.5b | 0.1 | 0.2 | 1636.0 |
| Code-Specialized / deepseek-coder:1.3b | 0.1 | 0.1 | 162.7 |
| Code-Specialized / opencoder:1.5b | 0.1 | 0.2 | 267.0 |
| Code-Specialized / qwen2.5-coder:0.5b | 0.1 | 0.1 | 210.2 |
| Code-Specialized / qwen2.5-coder:1.5b | 0.4 | 0.4 | 242.6 |
| Code-Specialized / qwen2.5-coder:3b | 0.8 | 0.8 | 312.3 |
| Code-Specialized / starcoder:1b | 0.0 | 0.0 | 158.1 |
| Code-Specialized / starcoder:3b | 0.1 | 0.0 | 240.8 |
| General Purpose (3B+) / gemma3:4b | 0.7 | 0.7 | 626.3 |
| General Purpose (3B+) / llama3.2:3b | 0.3 | 0.5 | 314.3 |
| General Purpose (3B+) / orca-mini:3b | 0.1 | 0.2 | 315.9 |
| General Purpose (3B+) / phi3.5:3.8b | 0.0 | 0.0 | 879.7 |
| General Purpose (3B+) / phi4-mini:3.8b | 0.3 | 0.4 | 542.0 |
| General Purpose (3B+) / qwen2.5:3b | 0.5 | 0.6 | 311.5 |
| General Purpose (3B+) / qwen3:4b-instruct | 0.8 | 0.8 | 398.1 |
| General Purpose (Sub-3B) / gemma3:1b | 0.0 | 0.0 | 553.5 |
| General Purpose (Sub-3B) / gemma3:270m | 0.0 | 0.0 | 1691.9 |
| General Purpose (Sub-3B) / llama3.2:1b | 0.2 | 0.1 | 218.7 |
| General Purpose (Sub-3B) / phi2:2.7b | 0.1 | 0.1 | 3075.7 |
| General Purpose (Sub-3B) / qwen2.5:0.5b | 0.0 | 0.4 | 213.0 |
| General Purpose (Sub-3B) / qwen2.5:1.5b | 0.4 | 0.6 | 243.0 |
| Reasoning Specialized / deepseek-r1:1.5b | 0.0 | 0.1 | 1701.0 |
| Reasoning Specialized / deepseek-r1:1.5b * | 0.0 | 0.1 | 2782.5 |
| Reasoning Specialized / qwen3:0.6b | 0.3 | 0.2 | 334.4 |
| Reasoning Specialized / qwen3:0.6b * | 0.3 | 0.3 | 608.0 |
| Reasoning Specialized / qwen3:1.7b | 0.4 | 0.5 | 319.6 |
| Reasoning Specialized / qwen3:1.7b * | 0.5 | 0.5 | 316.3 |
Table 5. Constrained classification results showing subject and DMEM rates. Reasoning models evaluated with thinking mode enabled (*) and disabled separately, where possible.
Table 5: Constrained classification results showing subject and DMEM rates. Reasoning models evaluated with thinking mode enabled (*) and disabled separately, where possible.
Overall Performance Trends. The best-performing models in constrained classification are qwen2.5-coder:3b and qwen3:4b-instruct, both achieving 80% accuracy for both SEM and DMEM. This represents the upper bound of performance in our evaluation, with these models correctly classifying 8 out of 10 test entities. Following closely are gemma3:4b and cogito:3b at 70% DM accuracy. A striking finding is the extreme performance variance across models, with accuracies ranging from 0% to 80% for DMEM. Nine models (31% of the evaluation set) achieve 0% SEM and/or DMEM accuracy, indicating complete failure on this task.
Model Specialization Analysis. The hypothesis that CS models would dominate this structured classification task receives mixed support. While the top-performing code model (qwen2.5-coder:3b at 0.8) matches the best GP model (qwen3:4b-instruct at 0.8), the average performance of CS models (0.25 DMEM) is only marginally better than GP 3B+ models (0.46) and substantially trails when excluding zero-accuracy models. Within CS models, performance variation is extreme. The Qwen2.5-Coder series demonstrates clear parameter scaling in terms of SEM: 0.1 (0.5B), 0.4 (1.5B), and 0.8 (3B), representing an 8× improvement from smallest to largest. However, other code models, such as codegemma:2b, starcoder:1b, and starcoder:3b all achieve 0% of SEM and DMEM accuracy despite their code specific training, failing completely their task. This suggests that code specialization alone is insufficient model architecture, training data quality, and instruction following capabilities are equally critical.
GP models show the strongest category performance, with 3B+ models averaging 0.46 DMEM compared to 0.25 for code models and 0.28 for reasoning models. This is driven by strong performance from qwen3:4b-instruct (0.8), gemma3:4b (0.7), and qwen2.5:3b (0.6) in terms of SEM and DMEM. Interestingly, the instruction tuned variant (qwen3:4b-instruct) matches the best code model, suggesting that instruction following capabilities may be as important as code specific pretraining for this classification task.
RS models demonstrate modest performance with an average of 0.28 DMEM. The Qwen3 reasoning variants (0.2-0.5) outperform DeepSeek-R1 (0.1), which fails almost completely despite its sophisticated reasoning architecture. Notably, explicit "thinking" modes show minimal or inconsistent improvements: qwen3:0.6b improves from 0.2 to 0.3 with thinking enabled, while qwen3:1.7b shows no change (0.5 in both modes), and deepseek-r1:1.5b remains at 0.1 regardless of thinking mode activation.
Parameter Scaling Effects. Within model families, parameter scaling shows highly variable returns in terms of SEM and DMEM. The Qwen2.5-Coder series exhibits strong scaling (0.1 → 0.4 → 0.8), while Qwen2.5 GP models show weaker DMEM scaling (0.4 → 0.6 from 0.5B to 3B, with the 1.5B model also at 0.6). The Gemma 3 series shows threshold effects: 0.0 at 270M and 1B, jumping to 0.7 in both SEM and DMEM at 4B, suggesting a critical parameter threshold between 1B and 4B for this family.
Strikingly, several sub-3B models outperform larger counterparts: qwen2.5:1.5b (0.6) DMEM exceeds phi4-mini:3.8b (0.4) DMEM and llama3.2:3b (0.5) DMEM, while cogito:3b (0.7) DMEM outperforms all models except the two tied leaders at 0.8 DMEM. This demonstrates that parameter efficiency and architectural design can compensate for model size in structured classification tasks.
The smallest viable model is qwen2.5:1.5b with 0.4 SEM accuracy and 0.6 DMEM. This suggests that aggressive parameter reduction is possible with appropriate architecture and training.
Similarity Baseline Performance
To contextualize the LLM results reported in Section 4.1, the two similarity-based baselines defined in Section 3.8 are evaluated on the same 228 entities and the same gold labels. Each baseline is run twice: once using only the data model name as the candidate text (names only) and once using the name concatenated with the official SDMs README description (names + desc, fetched from the smart-data-models GitHub organisation). Table 6 reports SEM, DMEM, and per-entity wall-clock latency for the four configurations alongside the best-performing LLM from the constrained benchmark.
Three observations stand out. First, a unigram–bigram TF-IDF model fitted on the union of entity and taxonomy strings reaches 0.816 DMEM, matching (and on the subject axis exceeding) the best benchmarked LLM, while running roughly 2600× faster on CPU. Second, the dense sentence encoder substantially underperforms the lexical baseline (0.434 vs. 0.816 DMEM). This is consistent with the structural nature of the task: the predicted label is a near-verbatim token of the entity’s JSON keys (e.g., type:WeatherObserved), so cosine similarity in token space exploits a stronger signal than the semantic abstraction produced by a 384-dimensional encoder. Third, augmenting the candidate text with the official SDM description reduces accuracy in both baselines (TF-IDF drops 0.07 DMEM; dense drops 0.05). Long natural-language descriptions dilute the salient name tokens with general vocabulary, eroding the lexical alignment that drives the success of the names-only configuration.
These findings clarify the operational niche of LLM-based SDM classification: when entity JSON keys closely mirror taxonomy names, a near-zero-cost TF-IDF retriever is a stronger reference point than the literature implicitly assumes, and LLMs compete on accuracy at a cost of three to four orders of magnitude in inference time. The LLM value proposition therefore concentrates on cold-start cases where (i) the input JSON keys do not lexically overlap with any taxonomy entry (e.g., vendor-specific naming, multilingual fields, free-text payloads), (ii) the target schema is itself missing or partial, or (iii) downstream synonym generation is required, all of which are out of reach for a strict top-1 retrieval baseline.
Per-model Outcome Break-down
Table 7 reports the per-model outcome breakdown. A detailed analysis for each proposed outcome taxonomy is provided in the following, except for T2. Indeed, no significant insights can be formulated after the absence of specific outliers in values listed in the corresponding table column.
| Model | T1 | T2 | T3 | T4 | T5 | T6 |
| Code-Specialized | ||||||
qwen2.5-coder:3b | 0 | 3 | 12 | 2 | 11 | 170 |
qwen2.5-coder:1.5b | 0 | 15 | 9 | 33 | 61 | 80 |
opencoder:1.5b | 24 | 5 | 25 | 38 | 89 | 19 |
deepcoder:1.5b | 43 | 4 | 40 | 102 | 5 | 9 |
deepseek-coder:1.3b | 4 | 17 | 1 | 8 | 159 | 10 |
qwen2.5-coder:0.5b | 0 | 10 | 10 | 118 | 54 | 6 |
starcoder:3b | 47 | 11 | 4 | 37 | 93 | 8 |
starcoder:1b | 64 | 7 | 1 | 101 | 27 | 3 |
codegemma:2b | 135 | 4 | 1 | 57 | 23 | 1 |
cogito:3b | 0 | 5 | 25 | 4 | 26 | 138 |
| General Purpose (3B+) | ||||||
qwen3:4b-instruct | 0 | 3 | 4 | 0 | 3 | 188 |
gemma3:4b | 0 | 12 | 16 | 4 | 25 | 141 |
qwen2.5:3b | 0 | 9 | 28 | 23 | 27 | 111 |
llama3.2:3b | 0 | 8 | 72 | 54 | 11 | 53 |
phi4-mini:3.8b | 21 | 8 | 18 | 73 | 37 | 40 |
orca-mini:3b | 0 | 11 | 17 | 103 | 58 | 9 |
phi3.5:3.8b | 190 | 1 | 0 | 15 | 11 | 2 |
| General Purpose (Sub-3B) | ||||||
qwen2.5:1.5b | 0 | 12 | 36 | 36 | 19 | 95 |
qwen2.5:0.5b | 0 | 7 | 61 | 124 | 1 | 5 |
llama3.2:1b | 0 | 21 | 2 | 25 | 140 | 10 |
phi:2.7b | 134 | 7 | 12 | 15 | 39 | 6 |
gemma3:1b | 0 | 6 | 3 | 0 | 186 | 3 |
gemma3:270m | 0 | 2 | 0 | 14 | 180 | 2 |
| Reasoning Specialized | ||||||
qwen3:1.7b | 95 | 4 | 6 | 11 | 2 | 97 |
qwen3:1.7b ⋆ | 100 | 3 | 5 | 11 | 2 | 92 |
qwen3:0.6b | 0 | 21 | 15 | 87 | 36 | 39 |
qwen3:0.6b ⋆ | 0 | 21 | 17 | 71 | 49 | 40 |
deepseek-r1:1.5b | 130 | 6 | 19 | 46 | 8 | 5 |
deepseek-r1:1.5b ⋆ | 120 | 4 | 35 | 41 | 14 | 4 |
Table 7. Per-model classification outcome taxonomy for the constrained classification task (228 entities). T1–T5 are failure modes; T6 denotes correct predictions. T1: output failure; T2: correct subject, wrong DM; T3: wrong subject, correct DM; T4: hallucinated output; T5: plausible confusion; T6: correct. Reasoning models evaluated with thinking mode enabled (⋆) and disabled separately. 30 entities have subjects outside the provided taxonomy and are excluded from T6 accuracy.
T1 - Output Failure Patterns. Complete output failures are concentrated in specific models regardless of parameter size: phi3.5:3.8b (190/228, 83.3%), codegemma:2b (135/228, 59.2%), and phi:2.7b (134/228, 58.3%) exhibit the highest T1 rates. These failures reflect models generating conversational prose, reasoning traces, or markdown-wrapped outputs rather than the required bare JSON, confirming that the 0.0 DMEM scores reported for these models reflect parsing failures rather than semantic incomprehension. RS models show systematically elevated T1 rates (32.5% average) as thinking-chain content bleeds into the output JSON fields.
T3 - Wrong subject, correct data model. T3 errors highlight structural difficulties within the taxonomy. The UrbanMobility Transportation confusion accounts for 24 T3 errors, reflecting genuine semantic overlap between subjects. The S4BLDG subject (SAREF4BLDG ontology abbreviation) yields only 18.5% accuracy across its 52 entities, as models routinely confuse it with Building or ZEB. GBFS entities using lowercase underscore naming (e.g., system_hours, station_information) achieve only 1.9% accuracy across all models, demonstrating that non-standard identifier formatting significantly impedes classification independently of model capability.
T4 - Hallucinated output. Hallucinations are most prevalent in smaller models: qwen2.5:0.5b (124/228, 54.4%), qwen2.5-coder:0.5b (118/228, 51.8%), and orca-mini:3b (103/228, 45.2%). A systematic subject-datamodel swap pattern was identified in 117 cases across all models, where the model outputs the ground-truth DM name as the subject and vice versa, indicating a structural misunderstanding of the output schema rather than semantic ignorance.
T5 - Plausible Confusion Patterns. T5 errors reveal systematic prediction biases. The gemma3 family exhibits a strong WasteContainer bias: gemma3:1b (186/228, 81.6%) and gemma3:270m (180/228, 78.9%) default to predicting (WasteManagement, WasteContainer) across diverse entity types, suggesting these models collapse to a dominant prior rather than parsing input content. Similarly, deepseek-coder:1.3b (159/228, 69.7%) repeats a fixed prediction regardless of input.
Inference Latency Analysis
Inference latency is a critical dimension of evaluation in resource-constrained IoT environments, where processing time directly impacts system responsiveness and throughput. The AID metric reported in Table 5 represents the average per-entity inference duration in milliseconds, computed as the mean total_duration field returned by the Ollama API (reported in nanoseconds and converted to milliseconds by dividing by ).
Overall Latency Distribution. Inference duration varies dramatically across models, ranging from 158.1 ms (starcoder:1b) to 3075.7 ms (phi:2.7b), representing a 19.5× difference. Notably, inference time does not correlate strongly with model size: phi:2.7b (3075.7 ms, 2.7B parameters) is 3.5× slower than phi3.5:3.8b (879.7 ms, 3.8B parameters), suggesting significant differences in runtime implementation and quantization optimization across model families rather than a simple parameter-count effect.
Latency by Model Category. CS models demonstrate the most favorable latency profile overall. Excluding the outlier deepcoder:1.5b (1636.0 ms), the remaining nine CS models cluster between 158.1 ms and 332.9 ms, corresponding to 0.16–0.39 s per entity. The Qwen2.5-Coder series in particular combines low latency with high accuracy, making it the most deployment-friendly family in this evaluation.
GP models exhibit broader latency variance. The sub-3B group ranges from 213.0 ms (qwen2.5:0.5b) to 3075.7 ms (phi:2.7b), while the 3B+ group ranges from 311.5 ms (qwen2.5:3b) to 879.7 ms (phi3.5:3.8b). This variance reflects architectural and quantization heterogeneity across providers rather than a consistent scaling trend within this parameter range.
RS models incur the highest latency penalties. Explicit thinking mode imposes a substantial overhead without proportional accuracy gains: deepseek-r1:1.5b increases from 1701.0 ms to 2782.5 ms (1.64×) with thinking enabled while maintaining 0.1 accuracy, and qwen3:0.6b increases from 334.4 ms to 608.0 ms (1.82×) for only a marginal improvement (0.2 → 0.3 DMEM). This confirms that chain-of-thought reasoning mechanisms, while beneficial for multi-step deductive tasks, impose unjustified computational overhead for direct structured classification.
Efficiency-Accuracy Trade-off. Combining latency and accuracy reveals a clear efficiency frontier. The most efficient high-accuracy models are qwen2.5-coder:1.5b (0.4 SEM/DMEM, 242.6 ms) and qwen2.5:1.5b (04-0.6 SEM/DMEM, 243.0 ms), both offering reasonable classification performance at well under one second per entity. The top-performing model, qwen2.5-coder:3b (0.8 SEM/DMEM, 312.3 ms), achieves peak accuracy while maintaining acceptable latency for non-real-time IoT data integration pipelines.
Deployment Implications. The observed latency range has direct implications for IoT deployment scenarios. Real-time onboarding scenarios requiring sub-100 ms responses remain beyond the reach of all evaluated models on standard CPU hardware and would require hardware acceleration or model distillation strategies beyond the scope of this study.
At 0.2–0.4 s per entity, models such as qwen2.5-coder:3b (312 ms) and qwen2.5:1.5b (243 ms) are viable for batch-mode data harmonization workflows, where entities are classified asynchronously upon ingestion rather than in real time. At the higher end (1.6–3.1 s per entity), models such as phi:2.7b (3076 ms) and deepseek-r1:1.5b with thinking enabled (2783 ms) are practical only for offline or low-frequency classification tasks.
Operational Boundary. The latency figures in Table 5 must be interpreted within the explicit operational boundary of this work. This research targets the cold-start device onboarding phase: a low-frequency, schema-discovery event triggered when a previously unseen or heterogeneous device is first registered with an IoT platform. In this context, per-entity inference durations of 200–3000 ms are operationally acceptable, because onboarding is a one-time or infrequent administrative task rather than a continuous data-processing pipeline. The assumed deployment environment is a wired or powered edge-fog gateway or local server with CPU-based inference, not a battery-constrained sensor node. This study explicitly does not target (i) real-time stream classification of high-frequency sensor readings, (ii) sub-100 ms response requirements, or (iii) battery-powered microcontroller-class hardware. For those scenarios, the deterministic standards discussed in Section 2.2.1 (W3C WoT, NGSI-LD, JSONata) remain the appropriate and preferred approach. The contribution of this work is to automate the prior step, the initial entity-to-SDM classification, for cases where no pre-existing mapping rule exists.
Unconstrained Classification Performance
Table 9 presents results for the unconstrained classification task, where models generate DM names and three synonyms without reference to a predefined taxonomy. Performance is measured by exact match rate for the primary DM name (i.e. DMEM) and for each of three synonyms (DMEM1, DMEM2, DMEM3).
| Model name | DMEM | AID |
| codemgemma:2b | 0.0 | 338.2 |
| cogito:3b | 0.8 | 371.5 |
| deepcoder:1.5b | 0.4 | 329.1 |
| deepseek-coder:1.3b | 0.0 | 792.6 |
| opencoder:1.8b | 0.4 | 292.6 |
| qwen2.5-coder:0.5b | 0.7 | 265.2 |
| qwen2.5-coder:1.5b | 0.7 | 297.1 |
| qwen2.5-coder:3b | 0.6 | 392.1 |
| starcoder:1b | 0.0 | 223.4 |
| starcoder:3b | 0.0 | 350.4 |
| gemma3:4b | 0.4 | 707.7 |
| llama3.2:3b | 0.6 | 364.7 |
| orca-mini:3b | 0.6 | 398.0 |
| phi3.5:3.8b | 0.0 | 533.8 |
| phi4-mini:3.8b | 0.0 | 471.2 |
| qwen2.5:3b | 0.2 | 393.3 |
| qwen3:4b-instruct | 0.8 | 477.0 |
| gemma3:1b | 0.8 | 610.0 |
| gemma3:270m | 0.1 | 1362.8 |
| llama3.2:1b | 0.7 | 406.8 |
| phi:2.7b | 0.6 | 405.8 |
| qwen2.5:0.5b | 0.6 | 292.1 |
| qwen2.5:1.5b | 0.4 | 338.8 |
| deepseek-r1:1.5b | 0.5 | 306.8 |
| deepseek-r1:1.5b ⋆ | 0.6 | 305.0 |
| qwen3:0.6b | 0.6 | 1500.9 |
| qwen3:0.6b ⋆ | 0.6 | 687.4 |
| qwen3:1.7b | 0.0 | 225.2 |
| qwen3:1.7b ⋆ | 0.0 | 222.7 |
Table 9. Unconstrained classification results showing exact match (EM) rates for generated DM names. Results based on 10 test entities per model. Reasoning models evaluated with thinking mode enabled (⋆) and disabled separately, where possible. Glsaid values are expressed in milliseconds (ms).
Model Category Insights. CS models show inconsistent performance in unconstrained classification. Qwen2.5-coder:0.5b, qwen2.5-coder:1.5b, and qwen2.5-coder:3b achieve 0.7, 0.7, and 0.6, respectively. Surprisingly, the smallest model equals the mid sized variant. However, most other code models fail completely (0.0), suggesting that code specialization does not inherently enable unconstrained DM naming.
GP models demonstrate the strongest unconstrained performance, with several sub-3B models achieving 0.6-0.8 accuracy (gemma3:1b: 0.8, llama3.2:1b: 0.7, qwen2.5:0.5b: 0.6). This suggests that broad pretraining on diverse natural language may provide better foundations for generating appropriate DM names compared to code-focused training that emphasizes syntax over semantic nomenclature.
RS models show moderate performance with interesting patterns. Qwen3:0.6b achieves 0.6 primary accuracy with the best synonym generation (0.2/0.2/0.1), suggesting its reasoning capabilities may extend to understanding alternative nomenclatures. However, qwen3:1.7b fails completely (0.0 across all metrics), indicating that reasoning benefits do not scale consistently within the same model family.
Model Performance Trade-offs: Accuracy vs. Duration. The evaluation reveals interesting trade-offs between accuracy and inference duration across model categories. Among the top DMEM performers, the models cogito:3b and qwen3:4b-instruct both achieved 0.8 DMEM but with substantially different durations (371.5 ms and 477.0 ms respectively), while gemma3:1b model matched this accuracy at 610.0 ms. The CS models demonstrated the most favorable accuracy-duration balance, with qwen2.5-coder:0.5b and qwen2.5-coder:1.5b both achieving 0.7 DMEM at the fastest inference times (265.2 ms and 297.1 ms). For this reason, they are listed in Table 9.
Notably, smaller models did not universally offer speed advantages: gemma3:270m required the longest duration (1362.8 ms) while achieving only 0.1 DMEM, and qwen3:0.6b required 1500.9 ms for 0.6 DMEM. The RS models showed mixed results: enabling thinking mode in qwen3:0.6b reduced duration from 1500.9 ms to 687.4 ms while maintaining 0.6 DMEM, whereas thinking mode had minimal impact on deepseek-r1:1.5b and qwen3:1.7b. Overall, the qwen2.5-coder series demonstrated the strongest combination of accuracy and efficiency, suggesting that code specific pretraining may provide advantages for structured DM recognition tasks.
Synonym Generation Insights. While the models demonstrated varying levels of success in exact DM name matching, synonym recognition proved significantly more challenging across all model categories. The vast majority of models achieved zero exact matches for synonyms 1, 2, and 3, indicating a limited ability to recognize alternative terminology for DMs. Only three models showed any synonym recognition capability: qwen3:0.6b, qwen2.5-coder:0.5b, and qwen2.5:0.5b. All other models achieved zero EM rates. Table 8 reports the exact match rates per synonym position for the five models with non-zero scores.
| Model | Sy1 | Sy2 | Sy3 |
| qwen3:0.6b | 0.2 | 0.2 | 0.1 |
| qwen2.5-coder:0.5b | 0.1 | 0.1 | 0.1 |
| qwen2.5:0.5b | 0.1 | 0.1 | 0.0 |
| deepseek-r1:1.5b | 0.1 | 0.0 | 0.0 |
| orca-mini:3b | 0.1 | 0.1 | 0.0 |
Table 8. Non-zero exact match rates for synonym generation in unconstrained classification. Only 5 of 26 models produce any exact synonym matches.
Qwen3:0.6b achieved the highest synonym performance with EM rates of 0.2, 0.2, and 0.1 for synonyms 1, 2, and 3, respectively; while qwen2.5-coder:0.5b and qwen2.5:0.5b both models achieved 0.1 EM for synonyms 1 and 2. The RS models deepseek-r1:1.5b and deepseek-r1:1.5b (⋆) showed limited synonym recognition (0.1 EM for synonym 1), and orca-mini:3b achieved 0.1 EM for both synonyms 1 and 2. These results suggest that while models can learn to identify canonical DM names, generalizing to synonymous terms remains a substantial challenge for small LMs.
Synonym generation proves extremely challenging across all models, with minimal exact matches for alternative names. Only 5 of 26 models generate any synonyms that exactly match ground truth or reference synonyms, and even these models achieve at most 0.2 accuracy on any individual synonym position.
The best synonym generators are qwen3:0.6b (0.2 for synonyms 1 and 2, 0.1 for synonym 3) and qwen2.5-coder:0.5b (0.1 for all three synonym positions), both relatively small models. Larger models consistently generate 0.0 exact matches for synonyms despite achieving reasonable primary DM accuracy, suggesting that synonym generation requires different capabilities than primary classification.
The extreme difficulty of synonym generation indicates that models lack understanding of semantic equivalence in data modeling nomenclature. Even when models correctly identify the primary DM name, they cannot reliably generate lexical variants or alternative names that align with human-defined synonyms. This suggests that synonym knowledge requires explicit training on terminology variations rather than emerging naturally from general language understanding.
Unconstrained vs. Constrained Performance Comparison
Surprisingly, unconstrained classification does not uniformly underperform constrained classification as hypothesized. Several models achieve equal or better performance in the unconstrained setting: qwen3:4b-instruct maintains 0.8 accuracy in both settings, cogito:3b improves from 0.7 to 0.8, gemma3:1b improves from 0.0 to 0.8, and llama3.2:1b improves from 0.1 to 0.7.
This counterintuitive finding suggests that the constrained task may actually be more difficult than anticipated, possibly due to confusion induced by the large taxonomy (228 DMs across 20 subjects) or challenges in parsing and matching against the provided list. In contrast, the unconstrained task allows models to leverage their pretrained knowledge of common data modeling conventions without the cognitive overhead of list matching.
The most dramatic performance reversals occur in smaller GP models. Gemma3:1b jumps from 0.0 (constrained) to 0.8 (unconstrained), suggesting that this model possesses strong semantic understanding of DMs but struggles with the structured list-matching task. Similarly, the model llama3.2:1b improves from 0.1 to 0.7, indicating that constrained selection may interfere with rather than facilitate classification for some model architectures.
However, performance degradation does occur for several models: qwen2.5:3b drops from 0.6 to 0.2, phi4-mini:3.8b drops from 0.4 to 0.0, and llama3.2:3b increases marginally from 0.5 to 0.6. These mixed patterns suggest that the relationship between constrained and unconstrained performance is model-dependent rather than task-inherent.
Cross-Task Performance Patterns. Cross-task consistency varies dramatically by model. Models showing consistent high performance across both tasks include qwen3:4b-instruct (0.8/0.8) and cogito:3b (0.7/0.8), demonstrating robust structured classification capabilities regardless of task formulation. Models showing consistent failure include phi3.5:3.8b (0.0/0.0), phi4-mini:3.8b (0.4/0.0), and multiple StarCoder and CodeGemma variants (0.0/0.0). The most inconsistent models are gemma3:1b (0.0 constrained, 0.8 unconstrained) and llama3.2:1b (0.1 constrained, 0.7 unconstrained), both showing strong unconstrained capabilities masked by constrained task difficulty. This suggests that evaluation methodology significantly impacts apparent model capabilities-constrained classification alone would severely underestimate these models’ semantic understanding.
Final remarks
This section aims to summarize the key findings and implications derived from the present study, providing practical recommendations for practitioners deploying automated DM classification systems in edge-fog environments.
Key Findings and Implications
Model Specialization. Model specialization offers limited predictive value for classification performance. The hypothesis that CS models would dominate structured classification tasks is only partially supported. In contrast, qwen2.5-coder:3b reached a top-tier 80% accuracy and several code expert models failed entirely (0% accuracy). In this sense, it is possible to state that the specialization alone is insufficient. GP instruction-tuned models, particularly qwen3:4b-instruct, match the best code models, suggesting that instruction-following capabilities and broad semantic understanding may be equally or more important than code specific pretraining. This finding has practical implications for practitioners: deploying CS models does not guarantee superior performance on structured classification tasks, and GP models should not be dismissed for such applications.
Parameter Scaling. Parameter scaling exhibits highly nonlinear returns within the light weight regime. Critically, several sub-3B models outperform larger counterparts, demonstrating that architectural efficiency can compensate for parameter count. This further suggests that aggressive parameter reduction is viable for resource constrained deployments when appropriate model families are selected, with 1.5B emerging as a practical lower bound for acceptable performance in this domain.
Task Formulation. The unconstrained classification task produces counterintuitive results, with several models achieving equal or superior performance compared to constrained taxonomy-guided classification. Models such as gemma3:1b and llama3.2:1b show dramatic improvements from constrained (0.0, 0.1) to unconstrained settings (0.8, 0.7), suggesting that large taxonomies may introduce cognitive overhead through list-matching complexity rather than facilitating classification. This finding challenges the conventional wisdom that providing explicit taxonomies always improves classification accuracy and indicates that task formulation significantly impacts apparent model capabilities. Practitioners should consider unconstrained or hybrid approaches rather than assuming taxonomy provision uniformly benefits model performance.
Reasoning Architectures. For direct taxonomic classification, the task evaluated in this study, RS architectures with explicit thinking modes impose substantial computational penalties without consistent accuracy benefits.
Lesson Learned
For practitioners deploying automated SDM classification systems in IoT environments, we offer the following actionable guidance:
Model Selection Strategy. Prioritize instruction-tuned GP models (qwen3:4b-instruct) and well-scaling CS families (Qwen2.5-Coder series) over reasoning-focused or poorly-performing code models. Avoid assumption that code specialization guarantees structured data performance.
Parameter Budget Optimization. Target 1.5B–3B parameter range for optimal performance vs. efficiency balance. Models below 1B show inconsistent performance, while the 3B–4B range provides marginal accuracy improvements at substantial memory and latency costs. For severely resource constrained edge deployments, qwen2.5:1.5b (0.6 accuracy, 243s) represents the minimum viable option.
Task Formulation. Evaluate both constrained and unconstrained approaches during model selection, as taxonomy provision may degrade rather than improve performance for certain architectures. Consider hybrid approaches where models generate candidates in unconstrained mode, subsequently validated against formal taxonomies through lightweight rule-based post-processing.
Always Benchmark Against a Lexical Retriever. When entity JSON keys lexically overlap with taxonomy names (as is typical for SDMs and similar schema-aligned vocabularies), a unigram–bigram TF-IDF retriever provides a strong and nearly free baseline. In this study it matched the best LLM on DMEM (0.816 vs. 0.800) while running roughly 2600× faster on CPU (see Table 6). Practitioners should adopt the lexical retriever as a default fallback and reserve LLM inference for cold-start cases
| Method | SEM | DMEM | Latency |
| TF-IDF (names only) | 0.864 | 0.816 | 0.12 |
| TF-IDF (names + desc) | 0.820 | 0.746 | 0.15 |
| Dense MiniLM-L6 (names only) | 0.684 | 0.434 | 52.03 |
| Dense MiniLM-L6 (names + desc) | 0.601 | 0.386 | 52.43 |
| Best LLM (qwen2.5-coder:3b) | 0.800 | 0.800 | 312.30 |
Table 6. Similarity-based baselines on the constrained SDM classification task, compared with the best-performing LLM from this study. Latency (in ms) is wall-clock per entity on the workstation described in Section 3.6; both baselines run on CPU only.
benefits. Chain-of-thought overhead is unjustified when the task requires pattern matching against a fixed taxonomy rather than multi-step logical deduction. For production IoT deployments where latency and efficiency are critical, GP or CS models without explicit reasoning mechanisms offer superior performance-efficiency tradeoffs for this task type. This conclusion is strictly scoped to direct schema-to-taxonomy mapping; complex ER scenarios involving multi-hop reasoning, ambiguous entity boundaries, or heterogeneous knowledge integration were not evaluated in this study and may still benefit from reasoning-focused architectures.
Synonym Generation. Synonym generation proves uniformly challenging across all model categories, with maximum accuracies of 0.2 even for primary classification capable models. This indicates that understanding semantic equivalence in data modeling nomenclature requires capabilities beyond general language understanding or code comprehension, possibly explicit training on terminology variation databases or graph-based semantic relationships. For practical applications requiring synonym awareness, current lightweight models require supplementation with rule-based systems, ontology-alignment tools, or retrieval augmented generation approaches accessing terminology knowledge bases.
Model Selection Strategy. Prioritize instruction-tuned GP models (qwen3:4b-instruct) and well-scaling CS families (Qwen2.5-Coder series) over reasoning-focused or poorly-performing code models. Avoid assumption that code specialization guarantees structured data performance.
Parameter Budget Optimization. Target 1.5B–3B parameter range for optimal performance vs. efficiency balance. Models below 1B show inconsistent performance, while the 3B–4B range provides marginal accuracy improvements at substantial memory and latency costs. For severely resource constrained edge deployments, qwen2.5:1.5b (0.6 accuracy, 243s) represents the minimum viable option.
Task Formulation. Evaluate both constrained and unconstrained approaches during model selection, as taxonomy provision may degrade rather than improve performance for certain architectures. Consider hybrid approaches where models generate candidates in unconstrained mode, subsequently validated against formal taxonomies through lightweight rule-based post-processing.
Always Benchmark Against a Lexical Retriever. When entity JSON keys lexically overlap with taxonomy names (as is typical for SDMs and similar schema-aligned vocabularies), a unigram–bigram TF-IDF retriever provides a strong and nearly free baseline. In this study it matched the best LLM on DMEM (0.816 vs. 0.800) while running roughly 2600× faster on CPU (see Table 6). Practitioners should adopt the lexical retriever as a default fallback and reserve LLM inference for cold-start cases where the retriever fails: vendor-specific or multilingual fields, free-text payloads, missing taxonomy entries, or downstream synonym generation.
Deployment Architecture. Avoid RS models with thinking modes for latency-sensitive applications. The computational overhead (– inference duration) rarely justifies minimal accuracy gains for structured classification. Reserve reasoning architectures for inherently complex analytical tasks requiring multi-step inference.
Deployment Decision Matrix. Edge deployments are governed by an Iron Triangle of competing constraints: mapping accuracy (DMEM), inference latency (AID), and memory footprint. No single model is optimal under all constraints.
Table 10 provides a scenario-based decision matrix derived from the Pareto frontier across these three dimensions. Three models are Pareto-optimal. No other evaluated model simultaneously dominates them on all three axes: qwen2.5:0.5b (minimum resource footprint), qwen2.5:1.5b (balanced accuracy and latency), and qwen2.5-coder:3b (peak accuracy within sub-2 GB memory). Practitioners should select the model whose operating point best matches their deployment constraints, rather than defaulting to the highest-accuracy option.
| Scenario | Recommended Model | Binding Constraint | DMEM | AID (ms) | Mem (GB) |
| Lexical retrieval baseline (CPU, no GPU) | TF-IDF (names only)† | Cost/latency floor | 0.82 | 0.12 | < 0.01 |
| Quality-critical wired server (≥4 GB VRAM) | qwen2.5-coder:3b† | Max accuracy | 0.80 | 312 | 1.90 |
| Balanced powered gateway (2–4 GB VRAM) | qwen2.5:1.5b† | Accuracy/latency tradeoff | 0.60 | 243 | 0.99 |
| Latency-critical powered gateway (≤2 GB VRAM) | qwen2.5:1.5b† | Min latency, moderate accuracy | 0.60 | 243 | 0.99 |
| Memory-constrained edge (<1 GB VRAM) | qwen2.5:0.5b† | Min memory footprint | 0.40 | 213 | 0.40 |
| GP-preferred wired server (≥4 GB VRAM) | qwen3:4b-instruct | Max accuracy, GP architecture | 0.80 | 398 | 2.50 |
Table 10. Deployment decision matrix for SDM classification based on edge-fog constraint priority. DMEM and AID from constrained classification (Table 5); memory from Table 3. Models on the Pareto frontier across all three dimensions are marked (†).
Positioning Against Deterministic Alternatives. LLM-based SDM classification is not a replacement for established deterministic integration standards such as W3C WoT Descriptions, NGSI-LD context definitions, or JSONata transformation rules. Where pre-registered schemas or authored mapping rules exist, deterministic pipelines remain the recommended approach due to guaranteed precision and millisecond-level latency. LLM-based ER is most appropriate in cold-start scenarios involving previously unseen, heterogeneous, or undocumented device types, where it can automate the initial classification step, reduce manual schema-authoring effort, and accelerate large-scale device onboarding before deterministic rules are established.
Conclusion
The primary objective of this work is to evaluate the performance and feasibility of lightweight open-source LMs for the classification of SDM in resource-constrained IoT environments. The evaluation aims to address critical challenges related to scalability, efficiency, and domain-specific requirements. The findings reveal that instruction-tuned GP models within the 1.5B to 3B range of parameter values deliver the most promising balance between accuracy and inference speed, outperforming RS architectures that incur substantial computational overhead without consistent accuracy gains on direct taxonomic classification tasks. This finding is strictly scoped to direct schema-to-taxonomy mapping; complex ER tasks involving multi-step reasoning were not evaluated and may still benefit from reasoning-focused architectures. Interestingly, results show that task formulations without explicit taxonomy constraints can sometimes yield superior classification accuracy, challenging the conventional wisdom that providing detailed taxonomies uniformly enhances model performance. Furthermore, it becomes evident that cognitive overload from large hierarchies may hinder rather than facilitate the classification process in lightweight models, and hybrid approaches might be more effective. A complementary similarity-baseline study reveals that a unigram–bigram TF-IDF retriever fitted on the union of entity and taxonomy strings matches the best LLM on DMEM (0.816 vs. 0.800) while running roughly 2600× faster on CPU, and that a lightweight dense sentence encoder underperforms the lexical baseline by a wide margin. This positions LLMs as a cold-start tool for cases where surface-form retrieval cannot resolve the input, rather than as a default classifier. Such findings help close research gaps by offering systematic comparisons of lightweight model architectures and underscoring the crucial role of task design in resource-constrained environments.
This study focuses exclusively on lightweight models (sub-4B parameters) to establish feasibility for resource constrained deployments, but does not compare against larger models (7B+) or commercial closed-source alternatives that may achieve substantially higher accuracy. While comprehensive across three major domains (228 models, 20 subjects), the evaluation dataset represents a snapshot of the SDMs repository as of the study period and may not capture emerging models or domain-specific vocabularies added subsequently. While providing rigorous assessment, the exact match evaluation metric does not credit semantically equivalent predictions (e.g., "Building" versus "ConstructionFacility") that would be acceptable in production fuzzy-matching scenarios.
Despite these limitations, this work establishes that lightweight open-source LMs provide viable foundations for automated semantic data integration in heterogeneous IoT ecosystems. With careful model selection prioritizing instruction-tuned GP or well-scaling CS architectures in the 1.5B–4B parameter range, practitioners can achieve 60–80% classification accuracy while maintaining deployment feasibility on resource-limited infrastructure. This capability represents a substantial advancement over manual classification processes, enabling scalable cross-domain interoperability for smart city, energy management, and environmental monitoring applications.
Future research should investigate the following aspects:
Retrieval-augmented generation approaches where lightweight models query external knowledge bases during classification, potentially combining efficient inference with access to comprehensive domain ontologies.
Fine-tuning experiments on SDMs-specific corpora could reveal whether domain adaptation substantially improves lightweight model performance, particularly for synonym generation and ambiguous
Multi-model ensemble approaches, combining predictions from diverse specializations, may yield accuracy improvements beyond single-model performance.
Extending evaluation to dynamic classification scenarios, where data entities arrive in streams requiring real-time processing, would provide insights into throughput optimization and batch processing strategies for production IoT integration pipelines.
Exploring semantic similarity baselines using general-purpose sentence embedding models (e.g., Sentence-BERT) would provide a reference point for assessing the lexical and knowledge-driven advantages of LLMs in DM recognition.
Applying distillation for the best-performing model to fit it to limited hardware resources on edge devices.
Acknowledgments
This research was partially supported by a grant from the D.M. n. 117/2023 (CUP: 9311) and the Italian Research Center on High Performance Computing, Big Data and Quantum Computing (ICSC) funded by PN RIC 2021-2027 (ECHO-TWIN-NET, CUP: B82F26000200005).
References
- [1]Marah Abdin, Jyoti Aneja, Hany Awadalla, and et al. Phi-3 technical report: A highly capable language model locally on your phone, 2024.arxiv.org/abs/2404.14219
- [2]Abdelrahman Abouelenin, Atabak Ashfaq, Adam Atkinson, and et al. Phi-4-mini technical report: Compact yet powerful multimodal language models via mixture-of-flores, 2025.arxiv.org/abs/2503.01743
- [3]Ulrich Ahle and Juan Jose Hierro. FIWARE for Data Spaces, page 395–417. Springer International Publishing, 2022.DOI
- [4]Hotham Altwijry, Dmitri V. Kalashnikov, and Sharad Mehrotra. Qda: A query-driven approach to entity resolution. IEEE Transactions on Knowledge and Data Engineering, 29:402–417, 2 2017.DOI
- [5]Hotham Altwijry, Sharad Mehrotra, and Dmitri V. Kalashnikov. Query. Proceedings of the VLDB Endowment, 9:120–131, 11 2015.
- [6]Martin Bauer. Fiware: Standard-based open source components for cross-domain iot platforms. In 2022 IEEE 8th World Forum on Internet of Things (WF-IoT), page 1–6. IEEE, October 2022.DOI
- [7]Martin Bauer. Fiware: Standard-based open source components for cross-domain iot platforms. In 2022 IEEE 8th World Forum on Internet of Things (WF-IoT), page 1–6, 2022.DOI
- [8]Hrvoje Belani, Petar Šolić, Eftim Zdravevski, and Vladimir Trajkovik. Internet of things ontologies for well-being, aging and health: A scoping literature review. Electronics, 14(2):394, January 2025.DOI
- [9]Arto Bendiken. Know: A real-world ontology for knowledge capture with large language models, 2024.arxiv.org/abs/2405.19877
- [10]Jakob Bjørnskov and Muhyiddine Jradi. An ontology-based innovative energy modeling framework for scalable and adaptable building digital twins. 2023.DOI
- [11]Giuseppe Celeste, Mariangela Lazoi, Mattia Mangia, and Giovanna Mangiarlardi. Innovating the construction life cycle through bim/gis integration: A review. Sustainability, 14(2):766, January 2022.DOI
- [12]Xuan Chen, Tong Lu, and Zhichun Wang. Lm-align: Utilizing large language models for entity alignment in knowledge graphs, 2024.arxiv.org/abs/2412.04690
- [13]Peter Christen, Ross Gayler, and David Hawking. Similarity-aware indexing for real-time entity resolution. page 1565. ACM Press, 2009.DOI
- [14]Vassilis Christophides, Vasilis Efthymiou, Themis Palpanas, George Papadakis, and Kostas Stefanidis. An overview of end-to-end entity resolution for big data. ACM Computing Surveys, 53(6):1–42, December 2020.DOI
- [15]Deep Cogito. Cogito-v1 preview, version v1. Hugging Face, 2025. Accessed: 2026-01-15.
- [16]Francesco Cremonesi, Vincent Planat, Varvara Kalokyri, and et al. The need for multimodal health data modeling: A practical approach for a federated-learning healthcare platform. Journal of Biomedical Informatics, 141:104338, May 2023.DOI
- [17]DeepSeek-AI. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning, 2025.DOI
- [18]Vincenzo Di Cicco, Donatella Firmanti, Nick Koudas, and et al. Interpreting deep learning models for entity resolution: an experience report using lime. In Proceedings of the Second International Workshop on Exploiting Artificial Intelligence Techniques for Data Management, SIGMOD-/PODS ’19, page 1–4. ACM, July 2019.DOI
- [19]Huahua Ding, Chaofan Dai, Yahui Wu, and et al. Setem: Self-ensemble training with pre-trained language models for entity matching. Knowledge-Based Systems, 293:111708, June 2024.DOI
- [20]Wenzhou Dou, Derong Shen, Xiangmin Zhou, and et al. Enhancing deep entity resolution with integrated blocker-matcher training: Balancing consensus and discrepancy. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, CIKM ’24, page 508–518. ACM, October 2024.DOI
- [21]Wenzhou Dou, Derong Shen, Xiangmin Zhou, and et al. Weakly-supervised entity matching via llm-guided data augmentation and knowledge transfer. Knowledge-Based Systems, 335:115238, February 2026.DOI
- [22]Daniela D’Auria, Vincenzo Moscato, Marco Postiglione, Giuseppe Romito, and Giancarlo Sperlí. Improving graph embeddings via entity linking: A case study on italian clinical notes. Intelligent Systems with Applications, 17:200161, February 2023.DOI
- [23]Dagimawi D. Eneyew, Miriam A. M. Capretz, and Girma T. Bitsuam lak. Toward smart-building digital twins: Bim and iot data integration. IEEE Access, 10:130487–130506, 2022.
- [24]Meihao Fan, Xiaoyue Han, Ju Fan, Chengliang Chai, Nan Tang, Guoliang Li, and Xiaoyong Du. Cost-effective in-context learning for entity resolution: A design space exploration. In 2024 IEEE 40th International Conference on Data Engineering (ICDE), page 3696–3709. IEEE, May 2024.arxiv.org/abs/2312.03987
- [25]Nikolaos Fourounkaris, Vasilis Efthymiou, Dimitris Kotzinos, and Vassilis Christophides. Knowledge graph embedding methods for entity alignment: experimental review. Data Mining and Knowledge Discovery, 37(5):2070–2137, June 2023.
- [26]Jiajie Fu, Haitong Tang, Arijit Khan, and et al. In-context clustering-based entity resolution with large language models: A design space exploration. Proceedings of the ACM on Management of Data, 3(4):1–28, September 2025.
- [27]Leonardo Gazzarri and Melanie Herschel. End-to-end task based parallelization for entity resolution on dynamic data. In 2021 IEEE 37th International Conference on Data Engineering (ICDE), page 1248–1259. IEEE, April 2021.
- [28]Sarah Ghidalia, Ouassila Labbani Narsis, Aurélie Bertaux, and Christophe Nicolle. Combining machine learning and ontology: A systematic literature review, 2024.arxiv.org/abs/2401.07744
- [29]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, and et al. The llama 3 herd of models, 2024.arxiv.org/abs/2407.21783
- [30]Anja Gruenheid, Xin Luna Dong, and Divesh Srivastava. Incremental record linkage. Proceedings of the VLDB Endowment, 7:697–708, 5 2014.DOI
- [31]Chih-Yuan Huang, Yao-Hsin Chiang, and Fuan Tsai. An ontology integrating the open standards of city models and internet of things for smart-city applications. IEEE Internet of Things Journal, 9(20):20444–20457, October 2022.
- [32]Siming Huang, Tianhao Cheng, J. K. Liu, and et al. Opencoder: The open cookbook for top-tier code large language models, 2025.
- [33]Ziqiu Huang, Wenli Yang, Xiang Li, and Quan Bai. Multi-source knowledge graph construction through llm-assisted incremental fusion. Intelligent Systems with Applications, 31:200674, 2026.DOI
- [34]Delaram Javadani, Hossein Rahmani, Milad Allahgholi, and Fatemeh Karimkhani. Deepblock: A novel blocking approach for entity resolution using deep learning. In 2019 5th International Conference on Web Research (ICWR), page 41–44. IEEE, April 2019.
- [35]Aishwarya Kamath, Johan Ferret, Shreya Pathak, and et al. Gemma 3 technical report, 2025.arxiv.org/abs/2503.19786
- [36]Jungo Kasai, Kun Qian, Sairam Gurajada, Yunyao Li, and Lucian Popa. Low-resource deep entity resolution with transfer and active learning. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2019.
- [37]Manuel Leone, Stefano Huber, Akhil Arora, and et al. A critical re-evaluation of neural methods for entity alignment. Proceedings of the VLDB Endowment, 15(8):1712–1725, April 2022.
- [38]Huahang Li, Longyu Feng, Shuangyin Li, Fei Hao, Chen Jason Zhang, and Yuanfeng Song. On leveraging large language models for enhancing entity resolution: A cost-efficient approach, 2024.
- [39]Jwen Fai Low, Benjamin C.M. Fung, and Pulei Xiong. Better entity matching with transformers through ensembles. Knowledge-Based Systems, 293:111678, June 2024.
- [40]Chuangtao Ma, Sriom Chakrabarti, Arijit Khan, and Bálint Molnár. Kg-rag4sm: Knowledge graph-based retrieval-augmented generation for schema matching. IEEE Transactions (preprint), 2025. “KG-RAG4SM” on arXiv / IEEE preprint.
- [41]Cristian Martella, Angelo Martella, and Antonella Longo. EdgER: Entity Resolution at the Edge for Next Generation Web Systems, page 178–196. Springer Nature Switzerland, 2024.
- [42]Torben Miny, Michael Thies, Lina Lukic, and et al. Overview and comparison of asset information model standards. IEEE Access, 11.
- [43]Sidharth Mudgal, Han Li, Theodoros Rekatsinas, and et al. Deep learning for entity matching: A design space exploration. In Proceedings of the 2018 International Conference on Management of Data, SIGMOD/PODS ’18, page 19–34. ACM, May 2018.
- [44]Emma Nuyts, Mathias Bonduel, and Ruben Verstraeten. Comparative analysis of approaches for automated compliance checking of construction data. Advanced Engineering Informatics, 60:102443, April 2024.
- [45]George Papadakis, Ekaterini Ioannou, Emanouil Thanos, and Themis Palpanas. The Four Generations of Entity Resolution. Springer International Publishing, 2021.
- [46]Yixin Peng, Yongli Mou, Bozhen Zhu, Sulayman Sowe, and Stefan Decker. Rwth-dbis at llms4ol 2024 tasks a and b: Knowledge-enhanced domain-specific continual learning and prompt-tuning of large language models for ontology learning. Open Conference Proceedings, 4:49–63, October 2024.
- [47]Flavia de Andrade Pereira, Kyriakos Katsigarakis, Dimitrios Rovas, and et al. A semantics-driven framework to enable demand flexibility control applications in real building. Advanced Engineering Informatics, 64:103049, March 2025.
- [48]Jan Portisch, Michael Hladik, and Heiko Paulheim. Background knowledge in ontology matching: A survey. Semantic Web, page 1–55, September 2022.
- [49]Banda Ramadan, Peter Christen, Huizhi Liang, Ross W. Gayler, and David Hawking. Dynamic Similarity-Aware Inverted Indexing for Real-Time Entity Resolution. 2013.
- [50]Jaleal Sanjak, Qian Zhu, and Ewy A. Mathé. Clustering rare diseases within an ontology-enriched knowledge graph. February 2023.
- [51]Alexandra Schlem itz and Vitaliy Mezh uyev. Approaches for data collection and process standardization in smart manufacturing: Systematic literature review. Journal of Industrial Information Integration, 38:100578, March 2024.
- [52]Giovanni Simonini, Luca Zecchini, Sonia Bergamaschi, and Felix Naumann. Entity resolution on-demand. Proceedings of the VLDB Endowment, 15:1506–1518, 3 2022.DOI
- [53]Mandeep Singh, Weny an Wu, Stamatia Rizou, and Edlira Vakaj. Data information interoperability model for iot-enabled smart water networks. In 2022 IEEE 16th International Conference on Semantic Computing (ICSC), page 179–186. IEEE, January 2022.
- [54]Rayan Tabari, Gennaro Costagliola, Mattia De Rosa, and Martin Boeker. State-of-the-art fast healthcare interoperability resources (FHIR)-based data model and structure implementations: Systematic scoping review. JMIR Medical Informatics, 12:e58445, September 2024.
- [55]Qwen Team. Qwen2.5: A party of foundation models, September 2024.
- [56]Qwen Team. Qwen3 technical report, 2025.arxiv.org/abs/2505.09388
- [57]Saravanan Thirumuruganathan, Han Li, Nan Tang, and et al. Deep learning for blocking in entity matching: A design space exploration. Proceedings of the VLDB Endowment, 14(11):2459–2472, July 2021.
- [58]Tianshu Wang, Xiaoyang Chen, Hongyu Lin, and et al. Match, compare, or select? an investigation of large language models for entity matching, 2024.arxiv.org/abs/2405.16884
- [59]Amy Xin, Yunjia Qi, Zijun Yao, and et al. Limaeal: Large language models are good context augmenters for entity linking. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management, CIKM ’25, page 3550–3559. ACM, November 2025.arxiv.org/abs/2407.04020
- [60]Luca Zecchini. Task-driven big data integration, 2022.
- [61]Heri Zhao, Jeffrey Hui, Joshua Howland, and et al. Codegemma: Open code models based on gemma, 2024.arxiv.org/abs/2406.11409
- [62]Qihao Zhu, Daya Guo, Zhihong Shao, and et al. Deepseek-decoder-v2: Breaking the barrier of closed-source models in code intelligence, 2024.arxiv.org/abs/2406.11931