[Paper Review] IoT Device Labeling Using Large Language Models
The paper presents a passive IoT labeling approach that uses enriched textual features from network traffic and LLM-powered zero-shot classification to identify unseen IoT vendors and functions, with an auto-update mechanism for catalogs.
The IoT market is diverse and characterized by a multitude of vendors that support different device functions (e.g., speaker, camera, vacuum cleaner, etc.). Within this market, IoT security and observability systems use real-time identification techniques to manage these devices effectively. Most existing IoT identification solutions employ machine learning techniques that assume the IoT device, labeled by both its vendor and function, was observed during their training phase. We tackle a key challenge in IoT labeling: how can an AI solution label an IoT device that has never been seen before and whose label is unknown? Our solution extracts textual features such as domain names and hostnames from network traffic, and then enriches these features using Google search data alongside catalog of vendors and device functions. The solution also integrates an auto-update mechanism that uses Large Language Models (LLMs) to update these catalogs with emerging device types. Based on the information gathered, the device's vendor is identified through string matching with the enriched features. The function is then deduced by LLMs and zero-shot classification from a predefined catalog of IoT functions. In an evaluation of our solution on 97 unique IoT devices, our function labeling approach achieved HIT1 and HIT2 scores of 0.7 and 0.77, respectively. As far as we know, this is the first research to tackle AI-automated IoT labeling.
Motivation & Objective
- Address the challenge of labeling unseen IoT devices in real-time security and observability settings.
- Leverage textual features from traffic (domains, hostnames, TLS issuers, OUI, user-agents) enriched via search results.
- Identify vendor via string matching on enriched features and deduce function with zero-shot LLM classification.
- Enable catalog updates for new device types without retraining the model.
- Provide explanations for labeling decisions to support human verification.
Proposed method
- Extract textual features from IoT device network traffic (domains, hostnames, TLS issuers, OUI, user-agents).
- Enrich features by querying Google search results via SerpAPI to obtain top-k descriptions for each feature value.
- Identify vendor by string-matching enriched features against a vendor catalog.
- Identify function by zero-shot classification with an LLM (Roberta) using vendor-specific or full function catalogs.
- Aggregate confidence scores across features with feature-type weights to select the final label and provide justification.
- Use an offline, passive labeling process that can be updated as new device types emerge via catalog updates.

Experimental results
Research questions
- RQ1How effectively can unseen IoT devices be labeled in terms of vendor and function using enriched textual features?
- RQ2What is the impact of different feature types and enrichment on labeling accuracy?
- RQ3Can zero-shot LLM classification robustly map enriched features to IoT functions?
- RQ4How effective is catalog updating in maintaining labeling accuracy for new device types?
Key findings
- Vendor labeling with enriched features and string matching achieves HIT1 = 0.86 and HIT2 = 0.89.
- Function labeling using Roberta on enriched features achieves HIT1 = 0.70 and HIT2 = 0.77.
- OUI-based vendor identification remains less accurate (0.64 HIT1); richer textual enrichment improves labeling.
- Across 97 unique devices from 55 vendors and 21 functions, the approach demonstrates strong performance for unseen devices.
- Zero-shot classification enables updating function catalogs without retraining the model.
- Enriched features (Domains, Hostname, TLS, User-Agents, OUI) contribute differently to accuracy, with Domains+Hostname+TLS+User-Agents+OUI providing the best results for vendor labeling.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.