Distilling Vision-Language Models for On-Device Fire Understanding
Summary
This paper proposes a knowledge distillation framework to compress vision-language models for on-device fire detection, showing that compact models can retain most of their teacher's capability while being deployable on embedded hardware.
View Cached Full Text
Cached at: 09/10/26, 08:42 AM
# Distilling Vision-Language Models for On-Device Fire Understanding
Source: [https://arxiv.org/html/2609.05782](https://arxiv.org/html/2609.05782)
###### Abstract
Vision\-language models \(VLMs\) offer a promising alternative to conventional fire detection systems by reasoning about the semantic context of a scene and thus reducing false alarms, yet their large model size makes deployment on embedded fire sensors impractical\. In this paper, we study how domain\-specialized VLMs can be compressed for fully on\-device deployment without losing the safety\-critical behavior required for fire detection\. We develop a teacher\-student knowledge distillation framework in which large VLMs fine\-tuned for fire understanding can be distilled into lightweight students\. Experiments across multiple VLM families and model scales show that compact students preserve most of their teachers’ fire\-understanding capability\. We further deploy the distilled models on our commercial Detectium fire detection sensor and jointly evaluate reasoning accuracy, latency, and memory usage\. The results show that compression and deployment affect not only accuracy but also model failure modes, with Qwen2\.5\-0\.5B providing the strongest overall deployment trade\-off\. Our findings provide broader guidance for deploying domain\-specialized VLMs in resource\-constrained, safety\-critical settings\.
1EPFL, Lausanne, Switzerland
2Detectium, Espoo, Finland
seyedmohammad\.ojaghkazazi@epfl\.ch, zixuan@detectium\.io, siavash\.khajavi@aalto\.fi
## 1Introduction
Traditional fire detection systems in industrial settings rely primarily on smoke detectors or thermal cameras that trigger alarms upon detecting smoke or abnormally high temperatures\([Fonollosa et al\. 2018](https://arxiv.org/html/2609.05782#bib.bib9);[Khajavi et al\. 2023](https://arxiv.org/html/2609.05782#bib.bib1)\)\. As these sensors respond to low\-level physical signals rather than the surrounding context, they suffer from high false\-positive rates\([Liu et al\. 2023a](https://arxiv.org/html/2609.05782#bib.bib10)\): benign scenarios, such as open flames during cooking or deliberately controlled high\-temperature processes in a factory, can raise the same alarms as a genuinely hazardous fire\([Mensch et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib35)\)\. Every false alarm requires human verification and may trigger costly interventions, wasting resources and eroding trust in the system\([Tannous 2021](https://arxiv.org/html/2609.05782#bib.bib11);[Chagger and Smith 2014](https://arxiv.org/html/2609.05782#bib.bib12)\)\. Recent advances in multi\-modal models, particularly vision\-language models \(VLMs\)\([Liu et al\. 2023b](https://arxiv.org/html/2609.05782#bib.bib6);[Bai et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib7);[Team et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib8);[Liu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib34)\), offer a path beyond signal\-level detection\. Given image frames from a camera, a VLM can reason about the scene as a whole, for example, distinguishing a controlled flame from an uncontrolled one, and assess whether an observed fire poses a genuine safety risk\. Prior studies show that such semantic reasoning substantially reduces false positives compared to traditional systems\([Gragnaniello et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib3);[Kim et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib4)\), pointing the way toward a more intelligent generation of fire detection systems\.
Deploying VLMs for fire detection, however, is hindered by a fundamental conflict between model scale and deployment constraints\. Modern VLMs with billions of parameters cannot run on the embedded hardware of fire detection sensors and must instead be hosted on cloud services, requiring every captured frame to be uploaded for analysis\. This introduces two problems\. The first is latency\. Fire propagates rapidly, and a practical system must identify a hazardous fire at the very onset of ignition for mitigation to be effective\([Çetin et al\. 2013](https://arxiv.org/html/2609.05782#bib.bib13)\)\. Conventional smoke detectors take on the order of a minute to trigger an alarm\([Bukowski et al\. 2003](https://arxiv.org/html/2609.05782#bib.bib5)\)\. To alert before a smoke detector, a VLM\-based system must therefore complete its entire detection\-inference cycle within seconds\. Cloud inference, however, adds round\-trip communication delay, and any network failure can render the system unavailable at exactly the moment it is needed\. The second, and more fundamental, is privacy\. Fire sensors must be installed precisely in the spaces with the strongest privacy expectations, such as private apartments, public restrooms, or facilities where transmitting images off\-site is prohibited by regulation\([Regulation 2016](https://arxiv.org/html/2609.05782#bib.bib14);[Kansal et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib15)\), making continuous image upload to a cloud service unacceptable\. Fire detection thus demands the semantic reasoning of large modern VLMs, yet requires fully on\-device inference to guarantee low latency and privacy,requirements that current systems cannot satisfy at once\.
In this paper, we investigate how a domain\-specialized VLM can be compressed sufficiently for real\-world embedded deployment without sacrificing the safety\-critical behavior, i\.e\., reduced false\-alarm rate, required for fire detection\. To this end, we develop a teacher\-student knowledge distillation framework for on\-device fire understanding\. We first fine\-tune state\-of\-the\-art VLMs from the Qwen\([Yang et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib24)\), Llama\([Grattafiori et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib25)\), and Gemma\([Team et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib8)\)families as teacher models to acquire contextual understanding of fire scenes, and then distill their fire\-domain knowledge into lightweight student models spanning multiple parameter scales\. We evaluate the resulting models on DetectiumFire\([Liu et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib2)\), measuring not only their ability for fire understanding, but also their behavior on non\-fire scenes that determine false\-alarm performance\. Our results show that compact students can retain most of their teachers’ capability, while increasing student size provides surprisingly limited accuracy gains\. We then deploy the distilled students on our commercial Detectium fire detection sensor and jointly evaluate their fire\-understanding accuracy, safety\-relevant detection errors, inference latency, and memory consumption under fully on\-device inference\. This deployment study reveals that model deployment involves more than an accuracy\-efficiency trade\-off: different architectural and deployment choices can systematically shift the model toward different failure modes\. Across the tested model families and scales, Qwen2\.5\-0\.5B provides the strongest overall deployment trade\-off\.
In summary, our contributions are as follows: 1\. We develop a teacher\-student distillation framework that compresses domain\-specialized VLMs into lightweight models suitable for fully on\-device fire understanding while largely preserving their semantic reasoning capability\. 2\. We systematically study the effect of distillation across model families and scales, showing that compact students retain most teacher performance while revealing important failure modes under different distillation objective\. 3\. We deploy the distilled students on our commercial Detectium fire detection sensor and characterize the practical trade\-off among reasoning accuracy, safety\-relevant detection errors, latency, and memory usage\. Although our experiments focus on fire detection, the resulting insights on domain\-specific distillation, failure\-mode evaluation, and deployment\-time study are broadly applicable to other safety\-critical VLM applications requiring resource\-constrained on\-device inference\.
## 2Related Work
### 2\.1VLMs for Fire Detection\.
Fire detection has traditionally been formulated as image classification or object detection\([Çetin et al\. 2013](https://arxiv.org/html/2609.05782#bib.bib13);[Liu 2023](https://arxiv.org/html/2609.05782#bib.bib31);[Elhanashi et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib21);[Khajavi et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib36)\), which localizes flames but cannot reason about whether a fire is hazardous\. Recent work instead leverages the reasoning and language capabilities of VLMs, moving beyond detection toward semantic understanding: describing and analyzing fire scenes in natural language\([Seidel et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib16)\), and assessing whether an observed fire poses genuine risk\([Gragnaniello et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib3);[Kim et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib4)\)\. Benchmarks such as SmokeBench\([Qi et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib17)\)and the multi\-modal DetectiumFire dataset\([Liu et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib2)\)further show that VLMs can describe burning objects, environments, and risk levels beyond binary detection\. However, existing work evaluates VLMs offline or assumes cloud\-scale inference\. Deploying fire\-domain VLMs on embedded sensors remains unexplored, which is the focus of this work\.
### 2\.2Knowledge Distillation for VLMs\.
Knowledge distillation \(KD\) transfers the capability of a large teacher into a smaller student\([Hinton et al\. 2015](https://arxiv.org/html/2609.05782#bib.bib18);[Kim and Rush 2016](https://arxiv.org/html/2609.05782#bib.bib22)\), and has become a standard route to deployable vision\-language models\([Jin et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib20);[Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19);[Cai et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib23);[Ghonim et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib37);[Kumar et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib38)\)\. Several distillation frameworks have been proposed for VLMs\. For example, LLaVA\-MoD\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\)progressively distills a large teacher into a sparse mixture\-of\-experts student through mimic and preference distillation\. LLaVA\-KD\([Cai et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib23)\)combines output\-distribution distillation with relation distillation over visual tokens in a multi\-stage training scheme\. Production models such as Gemma 3\([Team et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib8)\)are likewise trained with distillation\. Existing VLM distillation, however, targets general\-purpose capability measured on standard multimodal benchmarks\. In contrast, we study domain\-specific distillation for fire understanding from a deployment perspective, evaluating not only the preservation of visual reasoning capability but also its impact on safety\-critical behaviors, on\-device latency, and resource consumption\.
## 3Knowledge Distillation for Fire Understanding
In this section, we present our teacher\-student knowledge distillation framework for on\-device fire understanding\. We first describe how state\-of\-the\-art large VLMs are fine\-tuned to acquire contextual understanding of fire scenes in Section[3\.1](https://arxiv.org/html/2609.05782#S3.SS1)\. We then introduce the procedure for distilling this fire\-domain knowledge into lightweight student models in Section[3\.2](https://arxiv.org/html/2609.05782#S3.SS2), following the standard distillation framework of prior work\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\)\.
### 3\.1Teacher Model
Since general\-purpose VLMs are not specifically trained to reason about fire scenes, and no existing fire\-domain VLM is suitable for use as a distillation teacher, we construct our own fire\-specialized teacher modelπT\\pi\_\{T\}through a two\-stage process:
#### Foundational Initialization:
Given a pre\-trained large VLM, we keep both the language model and vision encoder frozen, as their pre\-trained parameters already encode rich linguistic and visual representations\. We train only the vision\-language adaptor, which projects visual features into the language embedding space\. For this initialization stage, we use a curated image\-caption dataset covering diverse scenes and visual concepts, so that the adaptor learns general\-purpose visual\-language alignment before any fire\-specific supervision is introduced\. Specifically, given a multimodal instruction example\(x,y\)\(x,y\), wherex=\(xv,xi\)x=\(x\_\{v\},x\_\{i\}\)consists of the input imagexvx\_\{v\}and text instructionxix\_\{i\}, andyydenotes the ground\-truth response, we optimize the standard next\-token prediction objective:
ℒInit\(πT\)=−𝔼\(yk∣y<k,x\)∼πT\[logπT\(yk∣y<k,x\)\]\.\\mathcal\{L\}\_\{\\mathrm\{Init\}\}\(\\pi\_\{T\}\)=\-\\mathbb\{E\}\_\{\(y\_\{k\}\\mid y\_\{<k\},x\)\\sim\\pi\_\{T\}\}\\left\[\\log\\pi\_\{T\}\(y\_\{k\}\\mid y\_\{<k\},x\)\\right\]\.\(1\)Here,πT\(yk∣y<k,x\)\\pi\_\{T\}\(y\_\{k\}\\mid y\_\{<k\},x\)denotes the probability assigned by the teacher model to tokenyky\_\{k\}, conditioned on the multimodal inputxxand the preceding response tokensy<k=\(y1,y2,…,yk−1\)y\_\{<k\}=\(y\_\{1\},y\_\{2\},\\ldots,y\_\{k\-1\}\)\.
#### Task\-Specific Fine\-Tuning\.
The model is then fine\-tuned on the fire\-specific image\-caption dataset to acquire contextual understanding of fire scenes\. To preserve its general visual grounding during domain specialization, we additionally include general vision\-language instruction data, which helps prevent the teacher from losing the ability to interpret and describe unfamiliar scenes\. We optimize the model using the same next\-token prediction objective as in Eq\.[1](https://arxiv.org/html/2609.05782#S3.E1)\.
### 3\.2Student Model
#### Foundational Initialization:
Before distillation, we initialize the student model using the same procedure as the teacher\. Specifically, we train only the vision\-language adaptor on general image\-caption pairs to establish general visual\-language alignment before introducing fire\-specific distillation\.
#### Distillation\.
The initialized student modelπS\\pi\_\{S\}is then trained to reproduce the teacher model’s behavior on fire\-understanding tasks\. Given a fire\-understanding example\(x,y\)\(x,y\)presented to both the teacherπT\\pi\_\{T\}and the studentπS\\pi\_\{S\}, we train the student to match the teacher’s output distribution at each generated token\. Following prior work\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\), we measure the discrepancy between the teacher and student token distributions using the Kullback–Leibler \(KL\) divergence:
ℒKL\(πS,πT\)=−𝔼\(x,yk\)∼πT\[logπT\(yk∣y<k,x\)πS\(yk∣y<k,x\)\]\\mathcal\{L\}\_\{\\mathrm\{KL\}\}\(\\pi\_\{S\};\\pi\_\{T\}\)=\-\\mathbb\{E\}\_\{\(x,y\_\{k\}\)\\sim\\pi\_\{T\}\}\\left\[\\log\\frac\{\\pi\_\{T\}\(y\_\{k\}\\mid y\_\{<k\},x\)\}\{\\pi\_\{S\}\(y\_\{k\}\\mid y\_\{<k\},x\)\}\\right\]\(2\)Here,πT\(yk∣y<k,x\)\\pi\_\{T\}\(y\_\{k\}\\mid y\_\{<k\},x\)andπS\(yk∣y<k,x\)\\pi\_\{S\}\(y\_\{k\}\\mid y\_\{<k\},x\)denote the probabilities assigned by the teacher and student, respectively, to tokenyky\_\{k\}, conditioned on the multimodal inputxxand the preceding tokensy<ky\_\{<k\}\.
However, we find that optimizing the KL objective alone can cause the distilled student to predict fire for nearly every image \(Table[8](https://arxiv.org/html/2609.05782#A3.T8)\), even though the corresponding teacher does not exhibit this bias\. To mitigate this failure mode, we additionally incorporate a standard cross\-entropy \(CE\) term based on the ground\-truth responses, providing direct supervision from the training data:
ℒCE\(πS\)=−𝔼\(x,yk\)∼πS\[logπ𝒮\(yt∣x,y<t\)\],\\mathcal\{L\}\_\{\\mathrm\{CE\}\}\(\\pi\_\{S\}\)=\-\\mathbb\{E\}\_\{\(x,y\_\{k\}\)\\sim\\pi\_\{S\}\}\\left\[\\log\\pi\_\{\\mathcal\{S\}\}\(y\_\{t\}\\mid x,y\_\{<t\}\)\\right\],\(3\)The student is therefore trained with the combined objective
ℒ=ℒKL\+ℒCE\.\\mathcal\{L\}=\\mathcal\{L\}\_\{\\mathrm\{KL\}\}\+\\mathcal\{L\}\_\{\\mathrm\{CE\}\}\.\(4\)
## 4Distillation Evaluation
Table 1:Fire\-understanding accuracy \(%\) across model families on the DetectiumFire evaluation set\. The best\-performing student within each family is shown inbold\.Table 2:Comparison of safety\-relevant detection errors under the two distillation objectives in Eq\.[4](https://arxiv.org/html/2609.05782#S3.E4)and Eq\.[2](https://arxiv.org/html/2609.05782#S3.E2)\. False alarms denote non\-fire images incorrectly classified as fire, while missed fires denote fire images incorrectly classified as non\-fire\. Recall is the proportion of fire images correctly identified, and specificity is the proportion of non\-fire images correctly identified\.Fire\-scene reasoningDetectionBurning objectEnvironmentSeverityFire/non\-fireModelVision encoderAcc\.Δ\\DeltaAcc\.Δ\\DeltaAcc\.Δ\\DeltaAcc\.Δ\\Delta*Qwen2\.5 family*Qwen2\.5\-0\.5BCLIP ViT\-L/33675\.95±\\pm0\.85−0\.97\-0\.9785\.10±\\pm0\.43−0\.66\-0\.6688\.37±\\pm2\.48\+0\.09\+0\.0999\.52±\\pm0\.12−0\.23\-0\.23Qwen2\.5\-1\.5BCLIP ViT\-L/33675\.73±\\pm1\.38−1\.46\-1\.4684\.13±\\pm0\.28−1\.28\-1\.2887\.31±\\pm1\.20−0\.13\-0\.1399\.54±\\pm0\.20−0\.02\-0\.02Qwen2\.5\-3BCLIP ViT\-L/33676\.88±\\pm0\.41−1\.41\-1\.4186\.34±\\pm1\.04\+0\.75\+0\.7588\.82±\\pm0\.550\.00\\phantom\{\+\}0\.0097\.87±\\pm0\.62−0\.64\-0\.64Qwen2\.5\-3BMobileCLIP\-S268\.39±\\pm1\.86−0\.40\-0\.4068\.22±\\pm1\.89−0\.39\-0\.3973\.34±\\pm1\.39−0\.09\-0\.0996\.97±\\pm0\.590\.00\\phantom\{\+\}0\.00*Qwen3 family*Qwen3\-0\.6BCLIP ViT\-L/33682\.45±\\pm0\.20\+2\.79\+2\.7976\.79±\\pm0\.69−3\.90\-3\.9087\.62±\\pm0\.50−4\.94\-4\.9499\.38±\\pm0\.12−0\.30\-0\.30Qwen3\-0\.6BMobileCLIP\-S269\.01±\\pm1\.00\+0\.44\+0\.4487\.40±\\pm0\.66\+0\.66\+0\.6680\.64±\\pm0\.53\+0\.18\+0\.1898\.81±\\pm0\.08\+0\.07\+0\.07Qwen3\-4BCLIP ViT\-L/33678\.87±\\pm1\.23−1\.50\-1\.5085\.76±\\pm0\.20−0\.67\-0\.6789\.74±\\pm0\.43\+0\.66\+0\.6699\.29±\\pm0\.64−0\.32\-0\.32*Llama\-3 family*Llama\-3\.2\-1BCLIP ViT\-L/33674\.09±\\pm0\.81−4\.07\-4\.0782\.40±\\pm1\.10−3\.14\-3\.1486\.12±\\pm0\.60−1\.28\-1\.2899\.47±\\pm0\.04−0\.30\-0\.30Llama\-3\.2\-3BCLIP ViT\-L/33677\.59±\\pm0\.27−1\.50\-1\.5084\.92±\\pm0\.63−0\.05\-0\.0585\.41±\\pm2\.11−1\.81\-1\.8198\.88±\\pm0\.20−0\.89\-0\.89*Gemma\-2 family*Gemma\-2\-2BCLIP ViT\-L/33677\.59±\\pm0\.70−1\.63\-1\.6384\.13±\\pm0\.80−0\.71\-0\.7188\.99±\\pm1\.51\+0\.44\+0\.4499\.24±\\pm0\.18−0\.32\-0\.32
Table 3:Fire\-understanding accuracy \(%\) of the exported student models measured on the commercial Detectium fire detection sensor\.Δ\\Deltadenotes the change relative to the corresponding student before export, as reported in Table[1](https://arxiv.org/html/2609.05782#S4.T1)\. The best\-performing student within each model family is shown inbold\.ModelVisionTTFTE2ERSSFits\(ms\)\(ms\)\(MB\)*Qwen2\.5 family*Qwen2\.5\-0\.5BCLIP381840341880✓Qwen2\.5\-1\.5BCLIP686274194210✓Qwen2\.5\-3BCLIP11598125197341✓Qwen2\.5\-3BMobileCLIP1757189768778×\\times*Qwen3 family*Qwen3\-0\.6BCLIP446947703050✓Qwen3\-0\.6BMobileCLIP89342272952✓Qwen3\-4BCLIP15253166459850×\\times*Llama\-3 family*Llama\-3\.2\-1BCLIP572069053624✓Llama\-3\.2\-3BCLIP12077139147548✓*Gemma\-2 family*Gemma\-2\-2BCLIP9148101467251✓
Table 4:On\-device latency and memory usage of the exported student models\. The final column indicates whether each model fits within the memory constraints of the Detectium sensor\. Models marked×\\timesexceed the available memory and are benchmarked with additional memory for reference only\. The best overall value for each metric is shown inbold\.### 4\.1Experimental Setup
#### Models\.
We evaluate our distillation framework across multiple VLM families and model scales\. For the teacher models, we use Qwen2\.5\-7B\-Instruct, Qwen3\-8B\([Yang et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib24)\), Llama\-3\.1\-8B\-Instruct\([Grattafiori et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib25)\), and Gemma\-2\-9B\-IT\([Team et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib8)\)\. Each student is distilled from a teacher within the same model family\. Specifically, we consider Qwen2\.5\-0\.5B, 1\.5B, 3B, Qwen3\-0\.6B, 4B, Llama\-3\.2\-1B, 3B, and Gemma\-2\-2B as student models\. We use the CLIP vision encoder\([Radford et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib39)\)for most configurations and additionally evaluate MobileCLIP\-S2\([Vasu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib26)\)as a more lightweight alternative\.
#### Training Data\.
During the foundational initialization stage, both teacher and student models are trained on the LLaVA pretraining data \(LCS\-558K\)\([Liu et al\. 2023b](https://arxiv.org/html/2609.05782#bib.bib6);[Liu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib29)\), a 558K image\-caption subset used for visual\-language feature alignment\. The teacher models are subsequently fine\-tuned on the DetectiumFire training set\([Liu et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib2)\)to acquire contextual fire\-understanding capability, together with LLaVA\-1\.5 Mix665K instruction\-tuning data\([Liu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib29)\)to preserve general visual\-language capability during domain specialization\. The student models are then distilled using only the DetectiumFire training set\.
#### Evaluation\.
We evaluate all teacher and student models on the DetectiumFire evaluation set, which contains 1,452 images, including 754 fire images and 698 non\-fire images\. We consider four fire\-understanding tasks: fire/non\-fire detection, identification of the burning object, recognition of the surrounding environment, and assessment of fire severity\. The latter three tasks are evaluated on fire images only, while fire/non\-fire detection is evaluated on the complete evaluation set\. All results for student models are averaged over three random seeds\.
Additional implementation details are provided in Appendix[B](https://arxiv.org/html/2609.05782#A2)\.
### 4\.2Results on Fire Understanding
Table[1](https://arxiv.org/html/2609.05782#S4.T1)reports accuracy on the four fire\-understanding tasks for each teacher and its distilled students\. Overall, the teacher models achieve consistently strong performance across model families, despite differences in backbone and parameter scale\. In particular, their near\-perfect fire/non\-fire detection accuracy shows that fine\-tuned VLMs can effectively distinguish hazardous fire scenes from benign ones, while the more fine\-grained fire\-scene reasoning tasks remain more challenging\.
*Students retain most of the teacher’s capability across every family\.*For example, relative to its teacher, Qwen2\.5\-0\.5B retains 95\.2% of the burning\-object accuracy, 99\.3% of the environment and severity accuracy, and 99\.96% of the fire/non\-fire detection accuracy, while using roughly an order of magnitude fewer language\-model parameters \(0\.5B vs\. 7B\)\. Similar patterns hold across the other model families, demonstrating that the distillation framework preserves most of the fire\-understanding capability of the teacher models\. However,*the distillation gap is not uniform across tasks, with the largest degradation occurring in burning\-object identification*\. Across families, students typically trail their teachers by approximately 2\.5\-4\.3 on this task, whereas the gap in fire/non\-fire detection is negligible\. Environment and severity prediction fall between these two extremes, with several students matching or even exceeding their teachers\. This suggests that fine\-grained visual discrimination, such as identifying the specific object that is burning, is more sensitive to distillation than coarse fire detection or scene\-level reasoning\.
Within the student models,*increasing model capacity provides little additional accuracy*\. For example, scaling Qwen2\.5 from 0\.5B to 3B improves burning\-object accuracy by only 1\.37, while the corresponding gains for the Llama\-3 and Qwen3 families are 0\.93 and 0\.71, respectively, all within or close to one standard deviation across seeds\. For fire/non\-fire detection, larger students provide no benefit: Qwen2\.5 accuracy decreases monotonically from 99\.75% at 0\.5B to 99\.56% at 1\.5B and 98\.51% at 3B, and no model family shows a consistent improvement with increasing student size\. Since latency and memory usage grow substantially with parameter count \(Section[5](https://arxiv.org/html/2609.05782#S5), Table[4](https://arxiv.org/html/2609.05782#S4.T4)\),*the smallest student is not merely a deployment compromise, but is often the preferred choice in terms of both accuracy and efficiency*\.
Finally,*the choice of vision encoder has a larger effect on accuracy than increasing the language\-model size*\. Replacing CLIP ViT\-L/336 with MobileCLIP\-S2 causes substantially larger performance drops than those observed when changing student scale\. The effect is already visible in the teachers: Qwen2\.5\-7B loses 7\.83 in environment accuracy and 4\.91 in severity, while Qwen3\-8B loses 9\.68 in burning\-object accuracy\. This degradation is subsequently inherited by the distilled students\. Therefore, although a lightweight vision encoder can reduce computational cost \(Section[5](https://arxiv.org/html/2609.05782#S5), Table[4](https://arxiv.org/html/2609.05782#S4.T4)\), the efficiency gains discussed in Section[5](https://arxiv.org/html/2609.05782#S5)come at a substantial loss in fire\-understanding accuracy\.
### 4\.3Ablation Study
Table[2](https://arxiv.org/html/2609.05782#S4.T2)isolates the effect of the distillation objective by comparing students trained with the full objective in Eq\.[4](https://arxiv.org/html/2609.05782#S3.E4)against those trained with the KL term in Eq\.[2](https://arxiv.org/html/2609.05782#S3.E2)alone\.*Removing the cross\-entropy termℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}causes a severe collapse in fire/non\-fire detection\.*In particular, Qwen2\.5\-0\.5B, Qwen2\.5\-1\.5B, Llama\-3\.2\-1B, and Llama\-3\.2\-3B all achieve100\.00±0\.00%100\.00\\pm 0\.00\\%recall but only 3\.82%\-21\.25% specificity, indicating that they classify nearly every image as containing fire\. In contrast, addingℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}restores balanced detection performance across all students, with specificity between 97\.52% and 99\.90% and recall between 99\.43% and 99\.82%\.
*This collapse is not mitigated by increasing model capacity\.*Qwen3\-4B, the largest student considered in this ablation, still achieves only 60\.60% specificity without the cross\-entropy term, while Llama\-3\.2\-3B performs even worse than the smaller Llama\-3\.2\-1B \(7\.88% vs\. 13\.51% specificity\)\. We further report teacher\-model results in Appendix[C](https://arxiv.org/html/2609.05782#A3), Table[9](https://arxiv.org/html/2609.05782#A3.T9), where every teacher produces at most two false alarms\. Thus,*the collapse is not inherited from the teacher*, but instead emerges during distillation\.
The complete ablation results on the fire\-understanding tasks are reported in Appendix[C](https://arxiv.org/html/2609.05782#A3), Table[8](https://arxiv.org/html/2609.05782#A3.T8)\. Strikingly,*this failure is largely invisible on the fire\-scene reasoning tasks*: removingℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}leaves burning\-object, environment, and severity accuracy largely unchanged, and in several cases even improves them\. Because these tasks are evaluated only on images containing fire, a model that predicts fire indiscriminately is not penalized\. A practitioner selecting the distillation objective based only on positive\-class reasoning performance could therefore favor the KL\-only objective despite its severe deployment failure\.This result highlights a broader lesson: domain\-specific distillation must be validated on negative examples, not only on the positive class that defines the task\.
## 5On\-device Deployment
### 5\.1Deployment Setup
To evaluate the real\-world performance of the distilled students, we deploy them on a commercial Detectium fire detection sensor used for industrial fire monitoring111https://www\.detectium\.io/sensor\-package\([Khajavi et al\. 2023](https://arxiv.org/html/2609.05782#bib.bib1)\)\. The target sensor has limited memory and contains no GPU or dedicated hardware accelerator\. Moreover, it operates without network access during inference, so all experiments are performed entirely on the sensor CPU\. This setting reflects the resource and privacy constraints of real\-world deployment discussed in Section[1](https://arxiv.org/html/2609.05782#S1)\.
For embedded inference, student models using the CLIP vision encoder are exported with thellama\.cpptoolchain222https://github\.com/ggml\-org/llama\.cpp\. The language\-model weights are converted to GGUF format and quantized to Q8\_0, while the vision encoder and vision\-language adaptor are packaged separately as the multimodal component\. Becausellama\.cppdoes not support conversion of the MobileCLIP\-S2 encoder, students using MobileCLIP\-S2 are instead executed directly on the device without this export pipeline\.
We evaluate deployment efficiency using three metrics\.*Time to first token \(TTFT\)*measures the latency from receiving an input request to generating the first output token\.*End\-to\-end latency \(E2E\)*measures the total inference time, including both prefill and response generation\.*Peak resident set size \(RSS\)*measures the maximum physical memory occupied by the inference process\. In addition to these efficiency metrics, we re\-evaluate the deployed models on the same DetectiumFire evaluation set to measure how deployment affects their fire\-understanding capability and detection behavior\. Additional hardware, export, and measurement details are provided in Appendix[D](https://arxiv.org/html/2609.05782#A4)\.
### 5\.2Results
Table[3](https://arxiv.org/html/2609.05782#S4.T3)reports the accuracy of the exported students measured on the Detectium sensor, together with the change relative to the corresponding models before export in Table[1](https://arxiv.org/html/2609.05782#S4.T1)\. Overall,*fire/non\-fire detection accuracy is largely preserved after deployment*, with an absolute change of at most 0\.89 percentage across all students\. In contrast,*fine\-grained fire\-scene reasoning is more sensitive to deployment\-time compression*\. For example, Llama\-3\.2\-1B loses 4\.07 in burning\-object accuracy and 3\.14 in environment accuracy after export\. The two MobileCLIP\-based students, which are executed directly without conversion or quantization, exhibit much smaller changes, with a maximum absolute difference of only 0\.66 across the four tasks\. This suggests that the degradation observed for the CLIP\-based students is primarily associated with the export and quantization pipeline rather than with moving inference from GPU to CPU alone\. Consistent with the distillation results in Section[4](https://arxiv.org/html/2609.05782#S4), fine\-grained visual discrimination is the capability most sensitive to compression: it degrades under both distillation and deployment\-time quantization\. Nevertheless, the overall loss remains modest\. For example, after both distillation and quantization, Qwen2\.5\-0\.5B remains only 5\.88 below its 7B teacher in burning\-object accuracy\.
To better understand changes in detection behavior, Appendix[E](https://arxiv.org/html/2609.05782#A5), Table[11](https://arxiv.org/html/2609.05782#A4.T11), decomposes fire/non\-fire errors into false alarms and missed fires\.*For the quantized CLIP\-based students, deployment introduces a directional shift toward predicting fire more frequently*, increasing false alarms rather than missed fires\. Moreover,*this shift tends to become more pronounced for larger students*, suggesting that smaller students are not only faster and more memory\-efficient, but can also be more robust to deployment\-time compression\. MobileCLIP\-based students exhibit the opposite and more safety\-critical behavior:*their errors are more likely to take the form of missed fires*\. In practical fire detection, a missed fire is substantially more consequential than a false alarm, making this failure mode undesirable despite the computational efficiency of the lightweight vision encoder\.
Table[4](https://arxiv.org/html/2609.05782#S4.T4)reports on\-device latency and memory usage for each student\. We find that*latency is dominated by prefill rather than autoregressive generation*\. For every CLIP\-based student, TTFT accounts for approximately 83%\-95% of the total E2E latency\. For example, Qwen2\.5\-0\.5B requires 3818 ms to produce its first token but only an additional 216 ms to generate the remainder of the response\. We further find that*the vision encoder is a major determinant of prefill latency*\. Replacing CLIP with MobileCLIP\-S2 reduces TTFT substantially: from 4469 ms to 893 ms for Qwen3\-0\.6B and from 11598 ms to 1757 ms for Qwen2\.5\-3B\. This reduction is consistent with the substantially smaller visual representation produced by MobileCLIP\-S2\. However, because MobileCLIP\-S2 is not supported by thellama\.cppexport pipeline and must instead be executed directly on the device, these models do not obtain the same optimized inference path\. Consequently, the reduction in TTFT does not necessarily translate into lower E2E latency\.
Finally,*deployment cost grows steeply with student size, while accuracy does not*\. Across the evaluated Qwen models, E2E latency increases from 4034 ms for Qwen2\.5\-0\.5B to 16645 ms for Qwen3\-4B, while RSS increases from 1880 MB to 9850 MB\. In contrast, the improvement in fire\-scene reasoning accuracy from using larger students is limited, and the smallest models remain highly competitive in fire/non\-fire detection \(Table[3](https://arxiv.org/html/2609.05782#S4.T3)\)\. Considering fire\-understanding capability, detection reliability, latency, and memory jointly,Qwen2\.5\-0\.5B provides the strongest overall deployment trade\-off: it is the fastest configuration at 4034 ms E2E latency, approximately an order of magnitude lower than that reported for conventional smoke detectors\([Bukowski et al\. 2003](https://arxiv.org/html/2609.05782#bib.bib5)\)\. It also has the lowest memory usage and achieves overall best fire\-understanding accuracy after export\.
## References
- Baiet al\.\(2025\)S\. Bai, Y\. Cai, R\. Chen, K\. Chen, X\. Chen, Z\. Cheng, L\. Deng, W\. Ding, C\. Gao, C\. Ge,et al\.Qwen3\-vl technical report\.arXiv preprint arXiv:2511\.21631\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Bukowskiet al\.\(2003\)R\. W\. Bukowski, R\. D\. Peacock, J\. D\. Averill, T\. G\. Cleary, N\. P\. Bryner, and P\. A\. RenekePerformance of home smoke alarms, analysis of the response of several available technologies in residential fire settings\.\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p2.1),[§5\.2](https://arxiv.org/html/2609.05782#S5.SS2.p4.1)\.
- Caiet al\.\(2025\)Y\. Cai, J\. Zhang, H\. He, X\. He, A\. Tong, Z\. Gan, C\. Wang, Z\. Xue, Y\. Liu, and X\. BaiLlava\-kd: a framework of distilling multimodal large language models\.In2025 IEEE/CVF International Conference on Computer Vision \(ICCV\),pp\. 239–249\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Çetinet al\.\(2013\)A\. E\. Çetin, K\. Dimitropoulos, B\. Gouverneur, N\. Grammalidis, O\. Günay, Y\. H\. Habiboǧlu, B\. U\. Töreyin, and S\. VerstocktVideo fire detection–review\.Digital Signal Processing23\(6\),pp\. 1827–1843\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p2.1),[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Chagger and Smith \(2014\)R\. Chagger and D\. SmithThe causes of false fire alarms in buildings\.Briefing Paper\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Chertiet al\.\(2023\)M\. Cherti, R\. Beaumont, R\. Wightman, M\. Wortsman, G\. Ilharco, C\. Gordon, C\. Schuhmann, L\. Schmidt, and J\. JitsevReproducible scaling laws for contrastive language\-image learning\.In2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 2818–2829\.Cited by:[§D\.2](https://arxiv.org/html/2609.05782#A4.SS2.SSS0.Px2.p1.1)\.
- Elhanashiet al\.\(2025\)A\. Elhanashi, S\. Essahraui, P\. Dini, and S\. SaponaraEarly fire and smoke detection using deep learning: a comprehensive review of models, datasets, and challenges\.Applied Sciences15\(18\),pp\. 10255\.Cited by:[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Fonollosaet al\.\(2018\)J\. Fonollosa, A\. Solórzano, and S\. MarcoChemical sensor systems and associated algorithms for fire detection: a review\.Sensors18\(2\),pp\. 553\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Ghonimet al\.\(2026\)K\. Ghonim, A\. Roberto, and D\. BernardiWhen speed meets intelligence: scalable conversational ner in an ever\-evolving world\.InProceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics \(Volume 5: Industry Track\),pp\. 366–376\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Gragnanielloet al\.\(2025\)D\. Gragnaniello, A\. Greco, C\. Sansone, and B\. VentoVideo fire recognition using zero\-shot vision\-language models guided by a task\-aware object detector\.ACM Transactions on Multimedia Computing, Communications and Applications21\(10\),pp\. 1–24\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1),[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Grattafioriet al\.\(2024\)A\. Grattafiori, A\. Dubey, A\. Jauhri, A\. Pandey, A\. Kadian, A\. Al\-Dahle, A\. Letman, A\. Mathur, A\. Schelten, A\. Vaughan,et al\.The llama 3 herd of models\.arXiv preprint arXiv:2407\.21783\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p4.1),[§1](https://arxiv.org/html/2609.05782#S1.p3.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px1.p1.1)\.
- Hintonet al\.\(2015\)G\. Hinton, O\. Vinyals, and J\. DeanDistilling the knowledge in a neural network\.arXiv preprint arXiv:1503\.02531\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Hoefler and Belli \(2015\)T\. Hoefler and R\. BelliScientific benchmarking of parallel computing systems: twelve ways to tell the masses when reporting performance results\.InProceedings of the international conference for high performance computing, networking, storage and analysis,pp\. 1–12\.Cited by:[§D\.3](https://arxiv.org/html/2609.05782#A4.SS3.p2.1)\.
- Huet al\.\(2021\)E\. J\. Hu, Y\. Shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, and W\. ChenLora: low\-rank adaptation of large language models\.arXiv preprint arXiv:2106\.09685\.Cited by:[§B\.3](https://arxiv.org/html/2609.05782#A2.SS3.SSS0.Px1.p1.1),[§D\.2](https://arxiv.org/html/2609.05782#A4.SS2.SSS0.Px1.p1.1)\.
- Ilharcoet al\.\(2021\)G\. Ilharco, M\. Wortsman, N\. Carlini, R\. Taori, A\. Dave, V\. Shankar, H\. Namkoong, J\. Miller, H\. Hajishirzi, A\. Farhadi,et al\.Openclip\.Zenodo\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p2.1),[§D\.2](https://arxiv.org/html/2609.05782#A4.SS2.SSS0.Px2.p1.1)\.
- Jinet al\.\(2025\)Y\. Jin, J\. Li, T\. Gu, Y\. Liu, B\. Zhao, J\. Lai, Z\. Gan, Y\. Wang, C\. Wang, X\. Tan,et al\.Efficient multimodal large language models: a survey\.Visual Intelligence3\(1\),pp\. 27\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Kansalet al\.\(2025\)K\. Kansal, Y\. Wong, and M\. KankanhalliImplications of privacy regulations on video surveillance systems\.ACM Transactions on Multimedia Computing, Communications and Applications21\(7\),pp\. 1–27\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p2.1)\.
- Khajaviet al\.\(2024\)S\. H\. Khajavi, M\. Moshtaghi, D\. Yu, Z\. Liu, K\. Främling, and J\. HolmströmSynthetic imagery for fuzzy object detection: a comparative study\.arXiv preprint arXiv:2410\.01124\.Cited by:[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Khajaviet al\.\(2023\)S\. H\. Khajavi, M\. Tetik, Z\. Liu, P\. Korhonen, and J\. HolmströmDigital twin for safety and security: perspectives on building lifecycle\.IEEE Access11,pp\. 52339–52356\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1),[§5\.1](https://arxiv.org/html/2609.05782#S5.SS1.p1.1)\.
- Kimet al\.\(2025\)J\. Kim, Y\. Lee, D\. Yoon, C\. Jung, and G\. LeeAn integrated yolo and vlm system for fire detection in enclosed environments\.InI Can’t Believe It’s Not Better: Challenges in Applied Deep Learning,Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1),[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Kim and Rush \(2016\)Y\. Kim and A\. M\. RushSequence\-level knowledge distillation\.InProceedings of the 2016 conference on empirical methods in natural language processing,pp\. 1317–1327\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Kumaret al\.\(2026\)G\. Kumar, Q\. Xi, T\. S\. Dabral, H\. Ghasemi, A\. Krishnamoorthy, D\. Fu, R\. Min, E\. Antunez, Z\. Ding, and P\. NarayanaEnhancing user safety: context\-aware detection of offensive query\-ad pairs in multimodal search advertising\.InProceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics \(Volume 5: Industry Track\),pp\. 475–482\.Cited by:[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1)\.
- Liuet al\.\(2023a\)G\. Liu, H\. Yuan, and L\. HuangA fire alarm judgment method using multiple smoke alarms based on bayesian estimation\.Fire safety journal136,pp\. 103733\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Liuet al\.\(2024\)H\. Liu, C\. Li, Y\. Li, and Y\. J\. LeeImproved baselines with visual instruction tuning\.In2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 26286–26296\.Cited by:[§B\.2](https://arxiv.org/html/2609.05782#A2.SS2.SSS0.Px1.p1.1),[§B\.2](https://arxiv.org/html/2609.05782#A2.SS2.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px2.p1.1)\.
- Liuet al\.\(2023b\)H\. Liu, C\. Li, Q\. Wu, and Y\. J\. LeeVisual instruction tuning\.Advances in neural information processing systems36,pp\. 34892–34916\.Cited by:[§B\.2](https://arxiv.org/html/2609.05782#A2.SS2.SSS0.Px1.p1.1),[§B\.2](https://arxiv.org/html/2609.05782#A2.SS2.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2609.05782#S1.p1.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px2.p1.1)\.
- Liuet al\.\(2026\)Z\. Liu, S\. H Khajavi, and G\. JiangDetectiumfire: a comprehensive multi\-modal dataset bridging vision and language for fire understanding\.Advances in Neural Information Processing Systems38\.Cited by:[§B\.2](https://arxiv.org/html/2609.05782#A2.SS2.SSS0.Px1.p3.1),[§1](https://arxiv.org/html/2609.05782#S1.p3.1),[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px2.p1.1)\.
- Liuet al\.\(2025\)Z\. Liu, G\. Jiang, and S\. KhajaviLlava\-sco: teach vision language models to self\-correct\.In2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops \(CVPRW\),pp\. 3406–3415\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Liu \(2023\)Z\. LiuDeep learning based method for fire detection\.Cited by:[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Menschet al\.\(2024\)A\. Mensch, E\. Veley, and T\. ClearyPerformance of new smoke alarms and aerosol measurements for a range of nuisance cooking sources in a mock kitchen\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Qiet al\.\(2026\)T\. Qi, W\. Li, and N\. BarnesSmokebench: evaluating multimodal large language models for wildfire smoke detection\.In2026 IEEE/CVF Winter Conference on Applications of Computer Vision \(WACV\),pp\. 1043–1053\.Cited by:[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Radfordet al\.\(2021\)A\. Radford, J\. W\. Kim, C\. Hallacy, A\. Ramesh, G\. Goh, S\. Agarwal, G\. Sastry, A\. Askell, P\. Mishkin, J\. Clark,et al\.Learning transferable visual models from natural language supervision\.InInternational conference on machine learning,pp\. 8748–8763\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p2.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px1.p1.1)\.
- Regulation \(2016\)E\. Regulation679 of the european parliament and of the council of 27 april 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing directive 95/46/ec \(general data protection regulation\)\.Official Journal of the European Union L119,pp\. 1–88\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p2.1)\.
- Seidelet al\.\(2025\)L\. Seidel, S\. Gehringer, T\. Raczok, S\. Ivens, B\. Eckardt, and M\. MaerzAdvancing early wildfire detection: integration of vision language models with unmanned aerial vehicle remote sensing for enhanced situational awareness\.Drones9\(5\),pp\. 347\.Cited by:[§2\.1](https://arxiv.org/html/2609.05782#S2.SS1.p1.1)\.
- Shuet al\.\(2025\)F\. Shu, Y\. Liao, L\. Zhang, L\. Zhuo, C\. Xu, G\. Zhang, H\. Shi, W\. Dai, Z\. Yu, W\. He,et al\.Llava\-mod: making llava tiny via moe\-knowledge distillation\.InInternational Conference on Learning Representations,Vol\.2025,pp\. 9386–9404\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p1.1),[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p3.1),[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p4.1),[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1),[§3\.2](https://arxiv.org/html/2609.05782#S3.SS2.SSS0.Px2.p1.1),[§3](https://arxiv.org/html/2609.05782#S3.p1.1)\.
- Tannous \(2021\)W\. K\. TannousThe economic cost of unwanted automatic fire alarms\.Fire safety journal124,pp\. 103394\.Cited by:[§1](https://arxiv.org/html/2609.05782#S1.p1.1)\.
- Teamet al\.\(2024\)G\. Team, T\. Mesnard, C\. Hardin, R\. Dadashi, S\. Bhupatiraju, S\. Pathak, L\. Sifre, M\. Rivière, M\. S\. Kale, J\. Love,et al\.Gemma: open models based on gemini research and technology\.arXiv preprint arXiv:2403\.08295\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p4.1),[§1](https://arxiv.org/html/2609.05782#S1.p1.1),[§1](https://arxiv.org/html/2609.05782#S1.p3.1),[§2\.2](https://arxiv.org/html/2609.05782#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px1.p1.1)\.
- Vasuet al\.\(2023\)P\. K\. A\. Vasu, J\. Gabriel, J\. Zhu, O\. Tuzel, and A\. RanjanFastvit: a fast hybrid vision transformer using structural reparameterization\.In2023 IEEE/CVF international conference on computer vision \(ICCV\),pp\. 5762–5772\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p2.1),[§D\.2](https://arxiv.org/html/2609.05782#A4.SS2.SSS0.Px2.p1.1)\.
- Vasuet al\.\(2024\)P\. K\. A\. Vasu, H\. Pouransari, F\. Faghri, R\. Vemulapalli, and O\. TuzelMobileclip: fast image\-text models through multi\-modal reinforced training\.In2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 15963–15974\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p2.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px1.p1.1)\.
- Yanget al\.\(2025\)A\. Yang, A\. Li, B\. Yang, B\. Zhang, B\. Hui, B\. Zheng, B\. Yu, C\. Gao, C\. Huang, C\. Lv,et al\.Qwen3 technical report\.arXiv preprint arXiv:2505\.09388\.Cited by:[§B\.1](https://arxiv.org/html/2609.05782#A2.SS1.p4.1),[§1](https://arxiv.org/html/2609.05782#S1.p3.1),[§4\.1](https://arxiv.org/html/2609.05782#S4.SS1.SSS0.Px1.p1.1)\.
## Appendix AConclusion
In this paper, we studied how far domain\-specialized VLMs can be compressed for fully on\-device fire understanding without sacrificing the behaviors required for reliable deployment\. Across multiple VLM families and model scales, our experiments show that compact students preserve most of their teachers’ fire\-understanding capability, while increasing student size provides only limited additional benefit\. At the same time, our ablation study reveals that distillation quality cannot be judged solely by positive\-class reasoning accuracy: distillation objective with only the KL term as in Eq\.[2](https://arxiv.org/html/2609.05782#S3.E2)can preserve strong fire\-scene reasoning while inducing severe false\-alarm bias, highlighting the importance of negative examples in evaluating domain\-specific compression\. Real\-world deployment further shows that compression affects not only accuracy, but also the type of errors made by the system, with different architectural and quantization choices shifting the balance between false alarms and missed fires\. Among the evaluated models, Qwen2\.5\-0\.5B provides the strongest overall trade\-off between reasoning capability, detection reliability, latency, and memory usage on the target sensor\.
Although our experiments focus on fire detection, these findings are not specific to this domain\. Other safety\-critical and resource\-constrained applications of VLMs face the same challenge of preserving domain\-specific reasoning while satisfying strict deployment constraints\. Our results therefore suggest broader lessons for on\-device VLM deployment: smaller models can be preferable to larger ones, negative examples are essential for validating distilled models, and deployment\-time compression should be evaluated in terms of failure modes as well as accuracy and efficiency\.
## Appendix BAdditional Implementation Details
### B\.1Model Architecture
All teacher and student models follow the LLaVA\-MoD architecture\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\), which consists of three main components: a vision encoder, a vision\-language \(VL\) adaptor, and a large language model \(LLM\)\. We summarize the architecture here for completeness\. Given a multimodal instruction pairx=\(xv,xi\)x=\(x\_\{v\},x\_\{i\}\), wherexvx\_\{v\}denotes the input image andxix\_\{i\}the text instruction, the model generates responseyyas
y=LLM\(Proj\(ViT\(xv\)\),xi\)\.y=\\mathrm\{LLM\}\\bigl\(\\mathrm\{Proj\}\(\\mathrm\{ViT\}\(x\_\{v\}\)\),x\_\{i\}\\bigr\)\.
ViT\\mathrm\{ViT\}denotes the vision encoder, which extracts visual features fromxvx\_\{v\}\. We consider two vision encoders in our experiments\. The first is the CLIP vision encoder \(openai/clip\-vit\-large\-patch14\-336\)\([Radford et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib39)\), which takes a336×336336\\times 336input image and produces576576visual tokens using14×1414\\times 14image patches\. The second is MobileCLIP\-S2 \(MCi2\)\([Vasu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib26)\), a lightweight vision encoder based on FastViT\([Vasu et al\. 2023](https://arxiv.org/html/2609.05782#bib.bib27)\), which takes a256×256256\\times 256input image and produces 64 visual tokens\. We load theapple/MobileCLIP\-S2\-OpenCLIPcheckpoint through OpenCLIP\([Ilharco et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib28)\)\.
Proj\\mathrm\{Proj\}denotes the VL adaptor, which maps the visual features produced by the vision encoder into the language\-model embedding space\. Following LLaVA\-MoD\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\), we implement the adaptor as a two\-layer MLP with a GELU activation\.
LLM\\mathrm\{LLM\}denotes the language\-model backbone, which generates the responseyyconditioned on the projected visual features and text instruction\. For the teacher models, we consider Qwen2\.5\-7B\-Instruct, Qwen3\-8B\([Yang et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib24)\), Llama\-3\.1\-8B\-Instruct\([Grattafiori et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib25)\), and Gemma\-2\-9B\-IT\([Team et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib8)\)\. Following LLaVA\-MoD\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\), each student is distilled from a teacher with a compatible vocabulary\. Specifically, Qwen2\.5\-7B is distilled into Qwen2\.5\-0\.5B, 1\.5B, 3B\-Instruct students; Qwen3\-8B is distilled into Qwen3\-0\.6B, 4B students; Llama\-3\.1\-8B is distilled into Llama\-3\.2\-1B, 3B\-Instruct students; and Gemma\-2\-9B is distilled into Gemma\-2\-2B\-IT\. Although the Llama teacher and students belong to different Llama releases, Llama\-3\.1 and Llama\-3\.2 use the same tokenizer and therefore share the vocabulary required for token\-level distillation\. Finally, unlike LLaVA\-MoD\([Shu et al\. 2025](https://arxiv.org/html/2609.05782#bib.bib19)\), we do not sparsify the student LLMs\. Each student retains the standard architecture of its corresponding base language model\.
### B\.2Training Data
#### Teacher Model\.
For the foundational initialization stage, we train the vision\-language adaptor on theliuhaotian/LLaVA\-Pretraindataset\([Liu et al\. 2023b](https://arxiv.org/html/2609.05782#bib.bib6);[Liu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib29)\), a filtered set of 558K image\-caption pairs used for visual\-language feature alignment\. For the subsequent task\-specific fine\-tuning stage, we use 35,486 training examples, whose composition is summarized in Table[5](https://arxiv.org/html/2609.05782#A2.T5)\.
Table 5:Composition of the training data used in the task\-specific fine\-tuning stage\.The first three subsets are used to preserve the teacher models’ general visual\-language capability during fire\-specific fine\-tuning and are constructed by filtering the LLaVA\-1\.5 Mix665K dataset\. We retain single\-turn English examples associated with COCO train2017 or Visual Genome images and group them according to instruction type\. Description\-style examples contain image\-description prompts; localization examples request bounding\-box coordinates and are restricted to COCO images; and simple VQA examples contain short factual or multiple\-choice questions after excluding description, localization, and multi\-step reasoning prompts\.
To equip the teacher model with contextual fire\-understanding capability, we fine\-tune it on the DetectiumFire training set\([Liu et al\. 2026](https://arxiv.org/html/2609.05782#bib.bib2)\), a comprehensive multimodal fire dataset containing visual question\-answering annotations for burning objects, surrounding environments, and fire severity, together with non\-fire images\. We use the official training split for fine\-tuning and reserve the validation split for evaluation\. For fire images, we directly use the provided visual question\-answering \(VQA\) annotations as supervision\. We additionally include 3,000 real\-world non\-fire images from DetectiumFire\. This negative supervision is particularly important because false alarms are a central challenge in practical fire detection \(Section[1](https://arxiv.org/html/2609.05782#S1)\)\. It encourages the teacher not only to characterize fire scenes, but also to correctly reject benign scenes that may superficially resemble fire\.
We additionally include 2,000 synthetic fire images with bounding\-box annotations and 3,000 real non\-fire images as negative localization examples\. Both subsets use the instruction, “Please provide all bounding box coordinates for regions with visible fire or flame\.” For synthetic fire images, the target response consists of the annotated boxes converted to normalizedxyxyxyxycoordinates\. For non\-fire images, the response is "No fire or flame is visible in this image\. There are no bounding boxes to report\." These examples are used only during teacher fine\-tuning and are separate from the DetectiumFire VQA supervision\.
#### Student Model\.
For the foundational initialization stage, following the same procedure as for the teacher model, we train the vision\-language adaptor using theliuhaotian/LLaVA\-Pretraindataset\([Liu et al\. 2023b](https://arxiv.org/html/2609.05782#bib.bib6);[Liu et al\. 2024](https://arxiv.org/html/2609.05782#bib.bib29)\)\. For the subsequent distillation stage, we use only the DetectiumFire training set\.
To expose the student to diverse formulations of the fire\-understanding task, each training image is paired separately with multiple prompts\. Specifically, each fire image is used four times, once with each of the following prompts: \(1\) “Carefully analyze the image for signs of fire or smoke\.” \(2\) “What is burning, where is it happening, and how severe is the fire?” \(3\) “Describe the fire scene and estimate risk level\.” and \(4\) “Provide a concise fire\-focused description of this image\.” Similarly, each non\-fire image is used three times, once with each of the following prompts: \(5\) “Carefully analyze the image for signs of fire or smoke\.” \(6\) “Check this scene for signs of fire, flame, or smoke\.” and \(7\) “Is there any evidence of active fire in this image? Explain briefly\.” Thus, each image\-prompt pair constitutes a separate distillation example\.
During evaluation, we use these same task formulations and additionally introduce the prompt “Assess whether this is a fire incident or a non\-fire scene\.” This additional formulation is not used during student distillation and therefore provides an evaluation of generalization to unseen question wording\.
### B\.3Training Configuration
All models are trained on eight NVIDIA A100 GPUs with 80,GB of memory per GPU\.
#### Teacher Model\.
We fine\-tune the teacher models using low\-rank adaptation \(LoRA\)\([Hu et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib30)\)rather than full\-parameter fine\-tuning\. The detailed training hyperparameters are summarized in Table[6](https://arxiv.org/html/2609.05782#A2.T6)\.
Table 6:Training hyperparameters for teacher initialization and task\-specific fine\-tuning\.
#### Student Model\.
The detailed training hyperparameters for the student models are summarized in Table[7](https://arxiv.org/html/2609.05782#A2.T7)\. All experiments are conducted using the same three random seeds: 42, 123, and 456\.
Table 7:Training hyperparameters for student initialization and distillation\.
## Appendix CAdditional Experimental Results
### C\.1Ablation Study
Table 8:Effect of the distillation objective on fire\-understanding accuracy \(%\) across model families on the DetectiumFire evaluation set\.Δ\\Deltadenotes the change in fire/non\-fire detection accuracy\. RemovingℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}leaves performance on the three fire\-scene reasoning tasks largely unchanged, and in several cases slightly improves it, while reducing fire/non\-fire detection accuracy by up to 45\.99 percentage\.Table[8](https://arxiv.org/html/2609.05782#A3.T8)compares students trained with the full objective in Eq\.[4](https://arxiv.org/html/2609.05782#S3.E4)against those trained with the KL term in Eq\.[2](https://arxiv.org/html/2609.05782#S3.E2)alone\.*RemovingℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}causes a severe collapse in fire/non\-fire detection*, with most students losing between 15\.70 and 45\.99 percentage points in accuracy\. This degradation persists across model scales\. For example, Qwen2\.5\-0\.5B drops to 53\.76% accuracy, while Qwen3\-4B, despite being eight times larger, still falls to 81\.04%\. Similarly, Llama\-3\.2\-3B performs even worse than the smaller Llama\-3\.2\-1B \(55\.72% vs\. 58\.43%\)\.
In contrast,*the collapse is nearly invisible on the fire\-scene reasoning tasks*\. Removing the cross\-entropy termℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}leaves burning\-object, environment, and severity accuracy largely unchanged and, in many cases, even nominally improves performance\. For example, burning\-object accuracy increases for four of the seven students, including gains of 3\.05 points for Llama\-3\.2\-1B and 2\.43 points for Qwen2\.5\-1\.5B\. Because these three tasks are evaluated only on images containing fire, a model that predicts fire indiscriminately is not penalized by these benchmarks\. Consequently, a practitioner selecting a distillation objective solely on the basis of fire\-scene reasoning performance could favor the KL\-only objective even though it produces a model that is unsuitable for deployment\. This ablation therefore highlights a central practical lesson:domain\-specific distillation must be validated on negative examples\.
Table 9:Safety\-relevant detection errors for the teacher models\.Table[9](https://arxiv.org/html/2609.05782#A3.T9)reports fire/non\-fire detection performance for the teacher models\. All teachers achieve consistently strong results, producing at most two false alarms and at most two missed fires\. This confirms that the collapse observed in students trained withoutℒCE\\mathcal\{L\}\_\{\\mathrm\{CE\}\}\(Table[2](https://arxiv.org/html/2609.05782#S4.T2)\) is not inherited from the teacher models, but instead emerges during distillation\.
## Appendix DAdditional Deployment Configuration
### D\.1Target Sensor
We evaluate the distilled students on our commercial Detectium fire detection sensor333https://www\.detectium\.io/sensor\-package\. The sensor is built on a Raspberry Pi 5 with 8 GB of memory and runs Raspberry Pi OS Lite 64\-bit \(Debian 13, glibc 2\.41\)\. It is equipped with a Broadcom BCM2712 SoC containing four Arm Cortex\-A76 CPU cores \(ARMv8\.2\-A\) clocked at up to 2\.4 GHz\. No GPU or NPU is used during inference\. To reserve sufficient memory for the operating system and other system processes, we impose a 7 GiB memory cap on model inference\. All experiments use four CPU threads, one per core\.
Table 10:Prompt templates used for each student family at inference, matching the formats used during training\. For Qwen3 and Llama\-3\.2,\{system\}denotes the system message specified in the text\. Gemma\-2 uses an empty system prompt\.Errors \(counts\)Rates \(%\)False alarmsMissed firesRecallSpecificityModelVision encoderCountΔ\\DeltaCountΔ\\DeltaRateΔ\\DeltaRateΔ\\Delta*Qwen2\.5 family*Qwen2\.5\-0\.5BCLIP ViT\-L/3365\.7±\\pm2\.5\+3\.7\+3\.71\.3±\\pm1\.2−0\.4\-0\.499\.83±\\pm0\.16\+0\.05\+0\.0599\.18±\\pm0\.36−0\.53\-0\.53Qwen2\.5\-1\.5BCLIP ViT\-L/3365\.0±\\pm1\.7\+0\.3\+0\.31\.7±\\pm1\.20\.0\\phantom\{\+\}0\.099\.77±\\pm0\.160\.00\\phantom\{\+\}0\.0099\.28±\\pm0\.24−0\.04\-0\.04Qwen2\.5\-3BCLIP ViT\-L/33627\.7±\\pm9\.0\+10\.4\+10\.43\.3±\\pm0\.6−1\.0\-1\.099\.56±\\pm0\.08\+0\.13\+0\.1396\.03±\\pm1\.29−1\.49\-1\.49Qwen2\.5\-3BMobileCLIP\-S24\.7±\\pm1\.5\+0\.4\+0\.439\.3±\\pm9\.7−0\.4\-0\.494\.79±\\pm1\.29\+0\.05\+0\.0599\.33±\\pm0\.21−0\.06\-0\.06*Qwen3 family*Qwen3\-0\.6BCLIP ViT\-L/3366\.3±\\pm2\.1\+2\.6\+2\.62\.7±\\pm0\.6\+1\.7\+1\.799\.64±\\pm0\.08−0\.23\-0\.2399\.10±\\pm0\.30−0\.37\-0\.37Qwen3\-0\.6BMobileCLIP\-S22\.7±\\pm2\.1−0\.3\-0\.314\.7±\\pm2\.1−0\.6\-0\.698\.05±\\pm0\.28\+0\.08\+0\.0899\.61±\\pm0\.30\+0\.04\+0\.04Qwen3\-4BCLIP ViT\-L/3369\.0±\\pm8\.7\+4\.7\+4\.71\.3±\\pm0\.60\.0\\phantom\{\+\}0\.099\.83±\\pm0\.080\.00\\phantom\{\+\}0\.0098\.71±\\pm1\.25−0\.67\-0\.67*Llama\-3 family*Llama\-3\.2\-1BCLIP ViT\-L/3364\.7±\\pm0\.6\+4\.0\+4\.03\.0±\\pm1\.0\+0\.3\+0\.399\.60±\\pm0\.13−0\.04\-0\.0499\.33±\\pm0\.08−0\.57\-0\.57Llama\-3\.2\-3BCLIP ViT\-L/33616\.0±\\pm2\.6\+14\.7\+14\.70\.3±\\pm0\.6−1\.7\-1\.799\.96±\\pm0\.08\+0\.23\+0\.2397\.71±\\pm0\.37−2\.11\-2\.11*Gemma\-2 family*Gemma\-2\-2BCLIP ViT\-L/33610\.3±\\pm2\.5\+5\.3\+5\.30\.7±\\pm0\.6−0\.6\-0\.699\.91±\\pm0\.08\+0\.08\+0\.0898\.52±\\pm0\.36−0\.76\-0\.76
Table 11:Safety\-relevant detection errors of the exported student models on the Detectium sensor\.Δ\\Deltadenotes the change relative to the corresponding student before export, as reported in Table[2](https://arxiv.org/html/2609.05782#S4.T2)\.
### D\.2Export Pipeline
#### Students with CLIP Encoder\.
Because the student models are trained using LoRA\([Hu et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib30)\), each trained checkpoint consists of a PEFT LoRA adapter together with a two\-layer MLP vision\-language projector\. We export each CLIP\-based student using thellama\.cpptoolchain444https://github\.com/ggml\-org/llama\.cppin four steps\. First, the LoRA adapter is merged into the corresponding base language model to obtain dense float16 weights\. Second, the merged language model is converted to GGUF format and quantized to Q8\_0\. Third, the CLIP vision encoder and the student\-specific two\-layer MLP vision\-language projector are packaged into a separate F16 multimodal projector file\. Because the projector is trained independently for each student, this file cannot be shared across models\. Fourth, the chat template used during training is embedded into the GGUF file so that prompts are formatted consistently with the training procedure at inference time\. The template used for each model family is summarized in Table[10](https://arxiv.org/html/2609.05782#A4.T10)\. We found this step to be important in practice: a mismatched chat template does not necessarily cause an explicit runtime error and can still produce fluent outputs, but substantially increases the false\-alarm rate\. For Qwen3 and Llama\-3\.2, the system message is:
> You are a helpful language and vision assistant\. You are able to understand the visual content that the user provides, and assist the user with a variety of tasks using natural language\.
The final deployed configuration therefore consists of a Q8\_0\-quantized language model together with an F16 multimodal vision module\. At inference time, the exported files are served usingllama\-serverfromllama\.cpp, which loads the model and performs inference directly on the sensor CPU\.
#### Students with MobileCLIP Encoder\.
Thellama\.cppconversion pipeline supports the CLIP\-based vision encoder used in our main configurations, but does not support the FastViT\([Vasu et al\. 2023](https://arxiv.org/html/2609.05782#bib.bib27)\)backbone used by MobileCLIP\-S2\. As a result, the MobileCLIP\-S2 students, Qwen3\-0\.6B and Qwen2\.5\-3B, cannot be exported through the same GGUF pipeline\. Instead, these models are executed directly on the sensor CPU using PyTorch in bfloat16 precision, with the LoRA adapter applied at load time and the vision encoder loaded throughopen\_clip\_torch\([Ilharco et al\. 2021](https://arxiv.org/html/2609.05782#bib.bib28);[Cherti et al\. 2023](https://arxiv.org/html/2609.05782#bib.bib32)\)\. The same four CPU threads are used as in the GGUF experiments\.
Because the MobileCLIP\-S2 models use a different runtime and numerical precision from the quantized GGUF models, their latency and accuracy results are not strictly directly comparable to those of the CLIP\-based students\. We therefore report them primarily to characterize the deployment behavior of the lightweight vision encoder under the available runtime\.
### D\.3Measurement
For evaluation, we use the same DetectiumFire evaluation set as in the main experiments\. Each inference request contains a single previously unseen image together with the prompt corresponding to the fire\-understanding task\. We use deterministic decoding with temperature set to 0 and a maximum generation length of 64 new tokens\. No image or prompt cache is reused across requests, so each request independently re\-encodes the input image, matching the behavior of a sensor processing a live image stream\.
We report three deployment metrics\.*Time to first token \(TTFT\)*measures the interval from receiving an inference request to generating the first output token\. For a vision\-language model, TTFT primarily captures the prefill stage, including image encoding, projection of visual features into the language\-model embedding space, and the initial language\-model forward pass\.*End\-to\-end latency \(E2E\)*measures the total inference time, including both TTFT and autoregressive generation of the remaining output tokens\.*Peak resident set size \(RSS\)*measures the maximum physical memory occupied by the inference process during execution\. For each metric, we report the median over 20 randomly sampled fire\-understanding requests from the validation set rather than the mean, following standard benchmarking practice for latency measurements\([Hoefler and Belli 2015](https://arxiv.org/html/2609.05782#bib.bib33)\)\.
Qwen2\.5\-3B with MobileCLIP\-S2 and Qwen3\-4B require approximately 8\.8 GB and 9\.9 GB of memory, respectively, exceeding the memory capacity available on the target Detectium sensor\. We therefore report their measurements for reference only\. Neither configuration is deployable under the target hardware constraints\.
## Appendix EAdditional Deployment Results
Table[11](https://arxiv.org/html/2609.05782#A4.T11)decomposes on\-device fire/non\-fire detection error into false alarms and missed fires, together with recall and specificity\. The results reveal more clearly how quantization changes the prediction behavior of the distilled students\. For every CLIP\-based student, the number of false alarms increases after export and specificity consequently decreases\. Thus,*the effect of quantization is not simply a general loss of accuracy, but a directional shift toward predicting fire more frequently*\. In contrast, the two MobileCLIP\-based students, which are executed without quantization, exhibit no comparable shift\.
Moreover,*the magnitude of this shift increases with model size*\. Among the CLIP\-based students, the four models with 1\.5B parameters or fewer produce, on average, 2\.7 additional false alarms after export, whereas the four models with 2B parameters or more produce 8\.8 additional false alarms\. Llama\-3\.2\-3B provides the clearest example, producing 14\.7 additional false alarms and losing 2\.11 percentage points of specificity after export, compared with increases of 4\.0 false alarms and a 0\.57\-point specificity drop for Llama\-3\.2\-1B\. These results suggest that larger students are more sensitive to quantization\. Consequently,*smaller students are not only faster and more memory\-efficient, but also degrade less under the compression required for on\-device deployment*\.
The MobileCLIP\-based students exhibit a different failure mode\. Although they produce only 4\.7 and 2\.7 false alarms, respectively, among the lowest values in Table[11](https://arxiv.org/html/2609.05782#A4.T11), they miss 39\.3 and 14\.7 fires\.*This failure mode is particularly concerning for real\-world deployment*\. False alarms produced by the CLIP\-based models can still be resolved through human verification, whereas a missed fire may remain entirely undetected and therefore carries substantially greater safety consequences\. Thus, despite their low false\-alarm rates, the high number of missed fires makes the MobileCLIP\-based configurations less suitable for practical fire detection\.Similar Articles
Switch-KD: Visual-Switch Knowledge Distillation for Vision-Language Models
Switch-KD proposes a novel visual-switch knowledge distillation framework for efficiently compressing vision-language models by unifying multimodal knowledge transfer within a shared text-probability space. The method achieves 3.6-point average improvement across 10 multimodal benchmarks when distilling a 0.5B TinyLLaVA student from a 3B teacher model.
Self-Boosting Vision-Language Models with Noisy Student On-Policy Self-Distillation
Proposes NOPD, a self-distillation method that improves vision-language models without external supervision by leveraging prediction discrepancies between clean and corrupted inputs. Achieves significant gains on visual reasoning tasks, matching or exceeding RL and distillation from external models.
Large Language Model Teaches Visual Students: Cross-Modality Transfer of Fine-Grained Conceptual Knowledge
This paper introduces LaViD, a framework that transfers semantic knowledge from a language-only LLM to a vision student model by generating multiple-choice questions as conceptual signatures, achieving superior fine-grained classification performance and robustness.
World Model Self-Distillation: Training World Models to Solve General Tasks
A scalable framework combines self-distillation and reinforcement learning to transfer task-solving abilities from vision-language models to video diffusion models without requiring labeled task-video data.
Masked Distillation: Internalizing the Chain-of-Thought in Language Models
Masked distillation is a knowledge-distillation framework that trains a student LLM to predict only solution tokens while a reasoning teacher provides feedback, aiming to internalize chain-of-thought computation into model parameters. The method shows task-dependent success, working on GSM8K but requiring small scaffolds for harder tasks like Countdown.