Manuscript Offprint
arXiv:2610.37909TERRA: Task-Oriented Edge AI for Regional Fire Detection with Identity-Free Reporting
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Distributed fire-monitoring systems may involve many sensing devices reporting over a shared uplink, even though the operational objective is often to identify regions exhibiting evidence of fire rather than to recover device-specific measurements. We introduce TERRA (Task-Oriented Edge Representation and Regional Aggregation), an edge-AI framework that combines task-oriented local inference, identity-free region-tagged reporting, and permutation-invariant regional evidence aggregation. TERRA supports two reporting modes: TERRA-Score, in which each device communicates a quantized local fire probability, and TERRA-Feature, in which it communicates a compact learned representation for receiver-side aggregation using a permutation-invariant DeepSets model. Using all 15 numerical sensing modalities of the distributed indoor EN54 fire-alarm dataset as a proof-of-concept testbed, we evaluate regional inference for an episode-level fire-scenario target under repetition-disjoint three-fold cross-validation. We study representation size, task-payload quantization, report availability, and robustness to missed and false recovered messages. With nine reports and perfect message recovery, TERRA-Feature achieves mean AUPRC 0.990 using a 24-bit task payload, while TERRA-Score achieves 0.987 using only 6 bits; both attain an MDR of 1.81% at FAR ≤ 1%. TERRA-Feature achieves slightly higher AUPRC under reliable recovery, whereas the more compact TERRA-Score is less sensitive to increasing false-message contamination.
Keywords
multisensor fire detection, edge AI, multimodal sensing, unsourced random access, task-oriented communications, distributed sensing
Conventional monitoring architectures commonly recover measurements, features, or alarm decisions as individually addressed device reports. This is appropriate when device identities or specific observations are needed, but can introduce unnecessary addressing
and access coordination when the objective is to identify regions showing evidence of an event. Sensors within the same region may observe different manifestations of the same regional state, making their collective task-relevant evidence more important than their persistent identities.
We introduce TERRA (Task-Oriented Edge Representation and Regional Aggregation), an edge-AI framework that combines task-oriented local inference, identity-free region-tagged reporting, and permutation-invariant regional evidence aggregation. Each active device processes its multimodal temporal observations locally and communicates a compact task payload, along with a geographic region tag and a nonce, without requiring a persistent transmitter identity. TERRA supports two reporting modes: TERRA-Score, in which the device communicates a quantized local fire probability that is averaged across recovered reports, and TERRA-Feature, in which it communicates a compact learned feature vector that is fused at the receiver using a permutation-invariant DeepSets model [13]. For identity-free access, the present system model adopts unsourced random access (URA), in which active devices share a common codebook and the receiver recovers an unordered list of transmitted messages rather than their source identities.
The two modes expose a task-specific communication tradeoff. TERRA-Score communicates the completed local binary inference using very few bits, whereas TERRA-Feature retains richer intermediate information for receiver-side processing at a larger payload. This creates a tradeoff between communication efficiency and the flexibility of receiver-side inference, which we evaluate under both reliable and imperfect message recovery.
1.1 Related Work and Positioning
IoT-based fire and wildfire monitoring systems employ distributed environmental sensors and wireless networks to support early detection and alarm delivery [1, 2, 4, 8]. Edge-intelligence methods reduce communication by processing observations near their sources and transmitting local decisions or intermediate representations [10, 14], while task-oriented communication further tailors the communicated information to a downstream inference objective rather than source reconstruction [3, 9]. TERRA combines these ideas with region-wise evidence fusion: the required output is a regional event decision, and devices communicate either task-specific scores or learned representations rather than complete sensor records.
Over-the-air computation can directly exploit waveform superposition to recover functions such as sums or averages of distributed observations [5, 7], and could provide an alternative way to implement simple score aggregation. TERRA instead recovers discrete task reports before regional aggregation, allowing the same framework to accommodate explicit region tags and both scalar scores and learned feature vectors. We model identity-free reporting through URA, in which devices share a common codebook and the receiver recovers transmitted messages without persistent source identities; [6] provides a comprehensive overview of this access paradigm. In TERRA, the recovered messages are an intermediate representation of distributed evidence rather than the final application output: they are grouped by region and subsequently fused to obtain the regional decision.
1.2 Contributions
The main contributions of this work are:
-
We introduce TERRA, a task-oriented distributed edge-AI architecture in which sensing devices transform local observations into compact task reports, transmit them without persistent device identities using explicit region tags, and enable permutation-invariant fusion of the recovered reports into regional decisions. The framework supports complementary TERRA-Score and TERRA-Feature operating modes that communicate completed local decisions or intermediate learned representations, respectively.
-
We develop a staged evaluation that separates representation design, report availability, task-payload quantization, and message-recovery errors, using a compact nonlearned Handcrafted-Stats pipeline as a benchmark.
-
Using the distributed indoor EN54 fire dataset as a proof-of-concept testbed, we select a four-dimensional learned representation for TERRA-Feature and use the same representation dimension in the sensor-side models of both TERRA modes. With nine reports and perfect message recovery, TERRA-Feature achieves mean AUPRC 0.990 using a 24-bit task payload, while TERRA-Score achieves 0.987 using only 6 bits; both attain an MDR of 1.81% at FAR ≤ 1%, compared with an AUPRC of 0.971 and MDR of 11.42% for the 30-bit Handcrafted-Stats benchmark.
-
We characterize how the choice between communicating intermediate learned representations and completed local decisions affects regional inference over a broad range of missed and false recovered-message rates. TERRA-Feature performs best under reliable recovery, whereas the substantially more compact TERRA-Score is less sensitive to increasing false-message contamination, exposing a communication-inference tradeoff that is hidden when edge representation and regional aggregation are considered separately.
2 TERRA System Model and Framework
We consider a distributed monitoring system in which spatially deployed sensing devices observe a common environment and communicate with a central receiver through a shared uplink. The application objective is a region-wise event map rather than a collection of device-specific measurements: the receiver should determine which geographic regions exhibit evidence of fire without requiring persistent transmitter identities. TERRA addresses this objective by combining sensor-side edge inference, compact identity-free reporting, and region-wise evidence fusion. Figure 1 illustrates the two reporting modes considered in this work.
2.1 Spatial Sensing and Edge Reporting Modes
Let the monitored area be partitioned into nonoverlapping geographic regions indexed by , and let denote the deployed sensing devices. Device is associated with a region index , assumed to be known locally through deployment configuration, positioning information, or another localization mechanism, while denotes the state of region , with indicating the presence of the target event.
At each reporting opportunity, device forms a temporal multimodal observation from its most recent sensor samples, where is the number of sensing modalities. The regional target denotes the application-level state associated with that reporting opportunity. Reporting opportunities occur periodically or randomly according to the access policy, and a device may or may not transmit at a given opportunity.
Let indicate whether device transmits at the current reporting opportunity and define the active set . The number of transmitting devices associated with region is . Activity in the baseline system is independent of the local observation and event state, so the absence of a report is not itself interpreted as evidence of a non-fire state.
TERRA provides two alternative reporting configurations. In TERRA-Score, the edge model completes the local binary inference task and produces a fire probability
which is communicated as a compact scalar task payload. In TERRA-Feature, the edge model instead extracts an intermediate representation
which preserves information for receiver-side regional inference. A device uses one of these reporting modes at a time: TERRA-Score communicates the completed local inference as a compact scalar, whereas TERRA-Feature communicates an intermediate learned representation for receiver-side inference at a larger task payload.
2.2 Task-Oriented Messages and Identity-Free Access
Let denote the selected reporting mode and define and . Before transmission, the task quantity is converted to a finite-bit description
where denotes the task-payload length. Device constructs the message
where encodes the geographic region, is a fresh randomly generated nonce for the report, and denotes concatenation. The region field contains only the spatial information required by the task and does not identify the device. The nonce likewise carries no persistent device identity; its role is to distinguish complete messages whose region and quantized task fields would otherwise be identical.

Figure 1: TERRA architecture for region-wise inference over an identity-free random access channel. Devices transmit either a quantized local score (TERRA-Score) or a learned representation (TERRA-Feature), together with a region tag and a nonce; recovered reports are grouped by region and aggregated using score averaging or DeepSets, respectively.
We instantiate the identity-free access abstraction using unsourced random access (URA), in which active devices use a common codebook and the receiver recovers the transmitted messages without resolving persistent transmitter identities [6]. Here, identity-free refers to these access and inference semantics: no persistent device identifier is required in the task message or for regional aggregation. A generic multiple-access observation can be represented as
where is the common encoder, denotes the effective channel coefficient, represents channel noise, and denotes a list decoder that returns the unordered recovered-message list .
2.3 Region-Wise Task Aggregation
Each recovered message is parsed into a decoded region index , quantized task field , and nonce, after which the nonce is discarded. For region , define its recovered report indices as
For TERRA-Score, the reconstructed local probability is , and the regional probability is obtained by averaging
the recovered scores,
Thus, TERRA-Score performs task inference locally and uses the receiver only to combine reported probabilities within each region.
For TERRA-Feature, the reconstructed report is , and the regional evidence is processed using a DeepSets architecture [13],
where is a learned neural network that transforms each individual report, is a learned neural network that maps the pooled regional representation to a scalar logit, and and denote their trainable parameters. The averaging operation makes the receiver invariant to the ordering of recovered reports; in a batched implementation, a mask simply ensures that padded positions do not contribute to this mean. The function is the logistic sigmoid, producing the regional fire probability.
If no report is assigned to a region, a predefined default output is required; in the experiments, we set the regional fire probability to zero. A binary alarm can subsequently be obtained by thresholding , while the evaluation procedure and operating-point metrics are described in Section 3.
2.4 Message-Recovery Errors
Let denote the transmitted full-message set and the recovered list. We characterize message recovery by
where the false-alarm term is defined as zero when the recovered list is empty. A missed detection removes genuine regional evidence, whereas a false alarm introduces a decoded message that was not transmitted and is assigned to a region according to its decoded tag. A decoding error that converts one transmitted message into another therefore appears at the recovered-list level as a missed genuine message together with a false decoded message, so the abstraction does not require separate payload-bit or region-tag error probabilities.
3 Experimental Methodology
We first evaluate the application pipeline under perfect message recovery to isolate the effects of representation size, report availability, and task-payload quantization. We then introduce controlled missed and false message recoveries to characterize communication robustness. We train all sensor-side models and regional receivers only on development data under the repetition-level cross-validation procedure described below. We then freeze the resulting local scores, learned representations, and regional receivers before the report-availability, quantization, and message-recovery experiments, so these evaluations do not involve quantization-aware fine-tuning or adaptation to communication errors.
3.1 Dataset, Windowing, and Cross-Validation
We use the distributed indoor EN54 fire-alarm dataset [11, 12]. After preprocessing, the data used in our experiments contain 304,920 timestamped node-level measurements collected from nine synchronized multisensor nodes during controlled fire, nuisance, and background experiments. EN54 provides the synchronized multi-node, multimodal observations needed to evaluate the proposed distributed inference architecture and is therefore used as a controlled proof-of-concept fire-detection testbed rather than direct validation of an outdoor wildfire deployment. We retain all 15 numerical sensing modalities available at the nodes: carbon dioxide, carbon monoxide, hydrogen, humidity, particulate-matter measurements corresponding to approximately 0.5, 1.0, 2.5, 4.0, and 10 m, typical particle size, total particulate matter, temperature, ultraviolet intensity, volatile organic compounds (VOC), and raw VOC measurements.
The recordings are divided into episodes corresponding to contiguous runs of the same experimental scenario, with a new episode also introduced when the gap between consecutive measurements exceeds 30 s. Within each sensor trace and episode, measurements are partitioned into consecutive, non-overlapping windows of samples, corresponding to approximately two minutes at the nominal 10-s sampling interval. We use as a fixed temporal-context design point and do not optimize the window duration in this study. Each window endpoint defines one reporting opportunity, so a window is the local temporal observation available to a
sensor at that opportunity, whereas an episode is the longer experimental sequence from which multiple such windows may be obtained. Windows never cross sensor or episode boundaries.
The controlled Cable, Candles, Lunts, and Wood recordings constitute the fire scenarios, while Background and nuisance experiments constitute the non-fire scenarios. The dataset provides two fire labels that play different roles in our pipeline. The sensor-side classifier is supervised using the sample-level control fire label (fire_label_control), which can change during an experimental run; consequently, each local -sample window is assigned the control label of its final sample. For regional evaluation, we use the binary scenario-level fire label (fire_label), which is synchronized across sensing nodes and constant within each derived episode. The regional AUPRC and MDR values therefore quantify recognition of whether a synchronized regional example belongs to a controlled fire scenario, rather than ignition-time estimation or alarm-delay performance. The sensor-side auxiliary task provides temporally localized supervision, whereas the final regional task evaluates episode-level fire-scenario recognition.
We normalize each sensing modality using statistics estimated exclusively from clean Background measurements in the corresponding training data. We normalize each physical sensor separately to reduce sensor-specific offsets and scale differences; when fewer than 50 Background samples are available for an individual sensor, we use the corresponding global Background statistics estimated from the same training data instead. Validation and test measurements never contribute to these normalization statistics.
A repetition denotes a separate experimental execution of the same controlled scenario. Each of the four fire scenarios contains three repetitions, enabling three repetition-disjoint outer cross-validation folds. In each outer fold, we hold out one repetition of every fire scenario for testing, and the remaining repetitions form part of the development data; we assign non-fire episodes across folds so every episode appears in the test set exactly once. Within each outer development set, we use inner train-validation partitions to select the training duration based on validation AUPRC, after which we retrain the final model from a new initialization on the full outer development set for the selected number of epochs. This construction prevents temporal windows originating from the same experimental episode from appearing in both development and test data.
Regional examples are then formed by synchronizing windows from the nine sensing nodes in the same episode and reporting opportunity, yielding nine candidate sensor reports for each regional decision. Thus, each EN54-derived regional example represents multisensor fusion within one controlled sensing environment; the dataset does not provide multiple independently measured geographic regions. The three outer folds contain 1540/1265, 2473/332, and 1597/1208 development/test regional examples, respectively.
3.2 Edge Models, Regional Receiver, and Representation Selection
Both TERRA modes use the same sensor-side neural architecture. Its direct observation is the normalized multimodal window described above. Within the encoder, each sensing-modality trajectory is deterministically transformed into values relative to the first sample, first temporal differences, within-window standardized temporal shape, and three temporal statistics: standard deviation, endpoint change, and linear slope. These quantities are computed from the normalized sensor window inside the sensor-side processing pipeline rather than supplied as additional measurements. The resulting feature vector is processed by a multilayer perceptron with two 64-unit hidden layers and GELU activations to produce a d-dimensional embedding, followed by a binary-classification head trained with cross-entropy. The sigmoid output of this head provides the local probability used by TERRA-Score, whereas TERRA-Feature communicates the learned embedding itself.
We train the sensor-side models with AdamW using a learning rate of , weight decay , batch size 256, and a maximum of 30 epochs, with early stopping based on validation AUPRC (patience 6). All main experiments use random seed 42. For TERRA-Feature, we evaluate and select the smallest dimension whose mean regional AUPRC is within 0.005 of the best observed value and whose mean MDR at FAR is within 0.02 in absolute value of the best observed value. This rule selects . Because this dimension study reuses the same three outer folds, we treat it as a development ablation rather than an additional independent estimate of generalization.
After selecting , the corresponding sensor-side model is used for both TERRA modes in all main communication experiments. TERRA-Score therefore communicates the scalar classifier probability produced from the same four-dimensional internal representation that TERRA-Feature communicates directly. This matching avoids confounding the comparison between the two reporting modes with differences in sensor-side representation size or model complexity: the principal difference is whether the completed local inference or the intermediate learned representation is transmitted.
The TERRA-Feature regional receiver uses a DeepSets architecture [13], with a report-level network having hidden/output dimensions 32/16 and a receiver network with hidden dimension 16; GELU activations and dropout 0.15 are used throughout. A learned report-level network independently transforms each recovered feature vector, masked mean pooling combines the available transformed reports, and a second learned network maps the resulting order-invariant regional representation to a fire probability. The mask excludes padded entries when variable numbers of reports are processed in a batch. Regional models again use validation AUPRC to select the training duration before being retrained from a new initialization on the complete outer development set.
As a nonlearned edge benchmark, Handcrafted-Stats forms reports from a predefined nested sequence of per-modality temporal statistics: mean, standard deviation, slope, final value, maximum, minimum, and endpoint change. We apply the same near-saturation selection principle used for the learned representation. Its regional predictions are produced by a separately trained DeepSets receiver with the same architecture and training protocol as TERRA-Feature.
3.3 Report Availability and Task-Payload Quantization
We first assume perfect message recovery and vary only the amount of regional evidence available to the receiver. Starting from each synchronized nine-report regional example, we retain exactly
reports. We evaluate ten independently generated report subsets for each , using identical subset realizations for all competing schemes. This experiment therefore measures sensitivity to report availability without introducing missed or false decoded messages.
We then apply task-payload quantization post hoc to the frozen models. For TERRA-Score, the local probability is uniformly quantized using bits with reconstruction levels including the endpoints of the interval. For levels, the reconstruction can be written as
where is obtained by rounding the scaled probability to the nearest valid index.
Unlike TERRA-Score, for which endpoint reconstruction preserves the meaningful probability limits 0 and 1, TERRA-Feature and Handcrafted-Stats treat their standardized components as clipped continuous variables and therefore use uniform mid-rise scalar quantization. Each component is standardized using the development-set mean and standard deviation of its corresponding frozen regional receiver and clipped to before quantization. With reconstruction levels and ,
where again . We use no per-component range optimization, unequal bit allocation, quantization-aware training, or receiver fine-tuning.
We use the resulting rate-performance curves to select compact near-saturated operating points for the subsequent message-recovery study. These are a 6-bit scalar task payload for TERRA-Score, 6 bits per component for the four-dimensional TERRA-Feature representation, giving 24 task bits in total, and 1 bit per component for the 30-dimensional Handcrafted-Stats representation, giving 30 task bits. These values refer only to the task field ; the region tag and nonce are accounted for separately in the system model.
3.4 Message-Recovery Sensitivity Study and Metrics
The nonideal communication study characterizes downstream regional inference directly as a function of the list-level missed-detection and false-alarm probabilities (), without assuming a particular physical-layer code, SNR, or blocklength. For each target-region example, the nine synchronized EN54 nodes provide up to nine genuine reports. We embed this target region in a synthetic address space of valid region tags and evaluate , , with 10 Monte Carlo realizations at each of the 90 operating points. The regions define a synthetic regional address space for the message-recovery study rather than 16 physically distinct EN54 test areas: we evaluate task performance on the EN54-derived target-region examples, while the remaining regions are represented through their aggregate recovered-message counts when constructing the global recovered list.
Each transmitted full message is independently removed with probability . Let denote the number of genuine messages remaining globally after these missed detections. For , the desired real-valued false-message count is . Since the decoded-list size must be an integer, we randomly choose between and , with the mixing probability chosen so that .
Each false decoded message is assigned a uniformly random valid region tag, so target-region contamination corresponds to binomial thinning of the global false-message count with probability . Its task field is sampled independently from the valid quantized task words of the corresponding reporting scheme, and a fresh synthetic nonce ensures that the complete false message was not transmitted. An incorrectly recovered full message is therefore represented at the list level by a missed genuine message and a false decoded message, without separate payload- or region-tag-error probabilities. The uniform tag and task-word distributions are modeling choices for this application-layer sensitivity study.
AUPRC is the primary metric because of class imbalance, with AUROC reported secondarily. We also report the minimum MDR attainable at FAR , and secondarily at FAR ; test-set thresholds are not used for model selection. For stochastic experiments, metrics are first averaged across realizations within each outer fold and then equally across the three folds. Given the three outer folds and their reuse for operating-point ablations, we interpret the results as repetition-disjoint engineering estimates rather than formal significance tests.
4 Results and Discussion
4.1 Compact Edge Representations
We first examine how compactly we can express the learned sensor representation before introducing task-payload quantization or message-recovery errors¹. Increasing the TERRA-Feature embedding dimension from to clearly improves regional discrimination, after which the gains largely saturate. The mean regional AUPRC increases from 0.983 at and 0.986 at to 0.990 at , while the best observed value over is 0.993 at . The corresponding MDR at FAR is 1.81% at both and . Under the predefined near-saturation rule, we therefore select , reducing the transmitted feature dimension by approximately 89% relative to while retaining nearly all regional detection performance.
After this selection, we use the same sensor-side model for both TERRA modes in all subsequent comparisons. The two modes therefore match in sensor-side architecture, representation size, and training procedure, and differ at the reporting interface: TERRA-Score transmits the scalar probability produced by the classifier attached to the representation, whereas TERRA-Feature transmits the four-dimensional representation itself for receiver-side DeepSets inference. This makes the subsequent comparison a direct tradeoff between communicating a completed local decision and communicating the intermediate information that forms that decision.
We apply the same compaction principle to the nonlearned benchmark. Starting from seven temporal statistics per sensing modality, the predefined nested ablation identifies the per-window
Table 1: Selected reporting operating points under perfect message recovery with . Report dimension refers to the transmitted task representation; task bits exclude the region tag and nonce.
| Method | Report dim. | Task bits | AUPRC | MDR@FAR≤ 1% |
|---|---|---|---|---|
| TERRA-Score | 1 | 6 | 0.9868 | 1.81% |
| TERRA-Feature | 4 | 24 | 0.9896 | 1.81% |
| Handcrafted-Stats | 30 | 30 | 0.9713 | 11.42% |
mean and standard deviation as the strongest compact configuration, yielding a 30-dimensional Handcrafted-Stats report with a mean unquantized regional AUPRC of 0.946. Adding slope, final value, extrema, and endpoint change does not consistently improve the evaluated nested sequence. The final comparison therefore contains three pipelines: TERRA-Score with scalar score averaging, TERRA-Feature with a four-dimensional learned report and a DeepSets receiver, and Handcrafted-Stats with a 30-dimensional mean-standard-deviation report and a separately trained DeepSets receiver using the same architecture and training protocol as the TERRA-Feature receiver.
4.2 Payload Efficiency and Report Availability
Figure 2(a) compares regional AUPRC against the transmitted task-payload length under perfect message recovery with all nine reports available. TERRA-Score reaches a near-saturated operating point using only a few bits: its mean AUPRC is 0.9868 with 6 bits and 0.9876 with 8 bits, so we retain the 6-bit configuration. TERRA-Feature similarly reaches 0.9896 using 6 bits per component, corresponding to a 24-bit task payload for its four-dimensional report, compared with 0.9902 at 8 bits per component. Thus, both modes tolerate substantial post-training quantization without quantization-aware training, while TERRA-Score requires substantially fewer task bits because it communicates only the completed local binary inference.
The Handcrafted-Stats benchmark behaves differently. Its most compact evaluated configuration uses one bit for each of the 30 standardized mean and standard-deviation components, yielding a 30-bit task payload and mean AUPRC 0.9713, compared with approximately 0.946 for the corresponding unquantized representation. With symmetric one-bit mid-rise quantization, each component effectively indicates whether the standardized statistic lies above or below its development-set reference mean, and diagnostic analysis confirms that the resulting binary reports remain diverse and class-informative rather than collapsing to constant patterns. We therefore retain this 30-bit configuration, interpreting the improvement as an empirical regularization effect rather than as evidence that one-bit quantization is intrinsically preferable.
Table 1 highlights the resulting communication-inference trade-off. With matched sensor-side models, TERRA-Feature achieves a slightly higher clean AUPRC than TERRA-Score, 0.9896 versus 0.9868, while both attain the same MDR of 1.81% at FAR . TERRA-Score obtains this performance with only 6 task bits rather than 24, making their distinction more explicit: Feature preserves additional intermediate information for regional inference, whereas
¹The implementation and experiment configurations are available at https://github.com/kazemi-mohammad/TERRA.

Figure 2: Communication-performance tradeoffs under perfect message recovery. (a) Mean regional AUPRC versus task-payload length with all nine reports available; open markers indicate the selected operating points. (b) Mean regional AUPRC versus the number of available reports using 6-bit TERRA-Score, 24-bit TERRA-Feature, and 30-bit Handcrafted-Stats reports. Shaded regions indicate standard deviation across the three outer folds after averaging report-subset realizations within each fold.
Score communicates the same local model's completed inference as a highly task-specific scalar report.
Holding these payloads fixed, Fig. 2(b) shows the effect of the number of available reports. With one report, mean AUPRC is 0.914, 0.925, and 0.933 for TERRA-Score, TERRA-Feature, and Handcrafted-Stats, respectively. With three reports, these values increase to 0.976, 0.978, and 0.966, and with five reports they reach 0.983, 0.985, and 0.969. Across all evaluated report counts, TERRA-Feature slightly exceeds TERRA-Score in AUPRC, though the difference diminishes as more reports become available. The handcrafted representation performs best with a single report but saturates at a lower regional AUPRC as additional evidence is added. The largest gains for the two learned modes therefore arise from the first few additional reports, with comparatively modest improvement beyond K = 5.
4.3 Robustness to Message-Recovery Errors
We next evaluate the selected reporting configurations over and , starting from nine transmitted reports per region. Figure 3 reveals a different tradeoff from the perfect-recovery experiment. At , TERRA-Feature has the highest mean AUPRC at 0.9896, followed by TERRA-Score at 0.9868 and Handcrafted-Stats at 0.9713. Under moderate joint impairment, however, TERRA-Score becomes more robust: at , the corresponding AUPRCs are 0.9605, 0.9414, and 0.9230, and at they are 0.8526, 0.8012, and 0.8173. At the extreme corner , where fewer than one genuine report remains per region on average, all methods degrade substantially, and TERRA-Feature is again slightly highest at 0.4413, compared with 0.4383 for TERRA-Score and 0.4138 for Handcrafted-Stats. Across the 90 sampled operating points, TERRA-Score has the highest aggregate mean AUPRC at 53 points, TERRA-Feature at 35, and Handcrafted-Stats at two; these counts characterize the sampled grid rather than implying uniform dominance by any method.
The two error mechanisms affect this ordering differently. When , missed messages mainly reduce the amount of genuine evidence, and TERRA-Feature preserves a small advantage over
TERRA-Score through most of the evaluated range. For example, at , their mean AUPRCs are 0.9812 and 0.9787, respectively, compared with 0.9635 for Handcrafted-Stats, while at the corresponding values are 0.9290, 0.9255, and 0.9237. Thus, the stronger robustness of TERRA-Score over much of Fig. 3 is not primarily a consequence of missing reports.
False decoded messages produce the clearer separation. With , TERRA-Feature remains slightly ahead at , with AUPRC 0.9841 compared with 0.9831 for TERRA-Score, but TERRA-Score overtakes it by , where the corresponding values are 0.9838 and 0.9783. At , TERRA-Score retains an AUPRC of 0.9729, compared with 0.9398 for TERRA-Feature and 0.9512 for Handcrafted-Stats. The low-false-alarm metric shows the same sensitivity: TERRA-Score and TERRA-Feature both begin at MDR 1.81% for FAR , but at and the MDRs increase to 5.34% and 16.56%, respectively, compared with 13.35% for Handcrafted-Stats.
A plausible explanation is that a false TERRA-Score report is constrained to a scalar in [0, 1] and then averaged with the genuine probabilities, whereas an independently generated false feature report can correspond to an atypical point relative to the learned feature distribution and is processed nonlinearly by the DeepSets receiver. This interpretation is consistent with the observed greater sensitivity of TERRA-Feature to false reports, but the present experiments do not establish it as a causal mechanism. More generally, the relative ranking is metric- and regime-dependent in the most severe conditions, so the results support a tradeoff rather than a universal ordering: TERRA-Feature provides the strongest regional discrimination when message recovery is reliable, while the more compact TERRA-Score is less sensitive to spurious decoded evidence over much of the evaluated impairment region.
The surfaces in Fig. 3 characterize downstream inference at a specified message-recovery quality rather than performance under equal physical-channel conditions. Because the reporting modes have different message lengths, a concrete access scheme may produce different operating points for TERRA-Score and

Figure 3: Regional fire-detection robustness to message-recovery errors for the selected reporting configurations with nine transmitted reports per region. Panels show mean AUPRC for (a) TERRA-Score, (b) TERRA-Feature, and (c) Handcrafted-Stats as a function of the global missed-detection probability and false-alarm probability . All panels use the same color scale, and contours, where present, indicate AUPRC levels of 0.98, 0.95, 0.90, and 0.80. Metrics are averaged across 10 Monte Carlo recovery realizations within each outer fold, then averaged equally across the three folds.
TERRA-Feature at the same SNR, blocklength, and activity level. The present experiment deliberately holds these recovery probabilities fixed to isolate application-layer sensitivity; we discuss the implications for concrete low-power communication systems next.
4.4 Communication Interpretation and Limitations
The selected operating points contain 6, 24, and 30 task bits per report for TERRA-Score, TERRA-Feature, and Handcrafted-Stats, respectively. These values exclude the region tag and nonce; the address space requires at least four region-tag bits. Since the nonce length is implementation-dependent, we do not assign total message lengths or infer channel-use, energy, or latency reductions. In a concrete access scheme, message length, SNR, blocklength, activity, and coding jointly determine the achievable (), which can then be mapped through the robustness surfaces above to regional detection performance.
TERRA's task-oriented processing and regional aggregation can also operate over conventional addressed IoT links such as LoRaWAN [4, 8], which could transmit the same score or feature payloads and apply the same regional aggregation, but would not provide the identity-free reporting semantics of the main TERRA model. Those semantics require common-codebook transmission and list recovery (e.g., URA). TERRA therefore separates what task information is communicated and fused from how it is transported.
EN54 provides synchronized multisensor observations within one controlled indoor fire-test environment rather than multiple independently instrumented geographic regions or an outdoor wild-fire deployment. The communication study accordingly embeds each EN54-derived target-region example in a synthetic region-tag space and applies controlled list-level errors. Future work will connect these results to concrete low-power access schemes and larger outdoor deployments.
5 Conclusion
We introduced TERRA, a task-oriented distributed edge-AI architecture that couples compact local representations with identity-free region-tagged reporting and permutation-invariant regional evidence aggregation. We evaluated TERRA on the distributed indoor EN54 testbed for the episode-level fire-scenario target used in the regional evaluation. A four-dimensional TERRA-Feature report achieves mean AUPRC 0.990 using 24 task bits, while TERRA-Score achieves 0.987 using only 6 bits; both attain an MDR of 1.81% at FAR . TERRA-Feature therefore achieves a small AUPRC advantage under reliable recovery, whereas TERRA-Score provides a substantially more compact task representation.
Under message-recovery errors, TERRA-Feature retains a small advantage when errors are dominated by missed reports, whereas TERRA-Score is less sensitive to false decoded messages over much of the evaluated region. Future work will map these application-level robustness results to concrete low-power access schemes and evaluate TERRA on larger outdoor deployments and richer regional inference tasks.
Acknowledgments
This research was supported by the National Edge AI Hub for Real Data (UK EPSRC, EP/Y028813/1), and the Communications Hub for Empowering Distributed Cloud Computing Applications and Research (CHEDDAR) under grant numbers (UK EPSRC, EP/Y037421/1) and (UK EPSRC, EP/X040518/1).
References
[1] Chiu Chun Chan, Sheeraz A. Alvi, Xiangyun Zhou, Salman Durrani, Nicholas Wilson, and Marta Yebra. 2024. A Survey on IoT Ground Sensing Systems for Early Wildfire Detection: Technologies, Challenges, and Opportunities. IEEE Access 12 (2024), 172785–172819. doi:10.1109/ACCESS.2024.3501336 [2] Daniel Filipe Gonçalves Freira and Carlos Coutinho. 2024. Wildfire Detection Based on IoT Technology. In Proceedings of the 2024 8th International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT). IEEE, 1–6. doi:10.1109/ISMSIT63511.2024.10757256
[3] Deniz Gündüz, Zhijin Qin, İfaki Estella Aguerri, Harpreet S. Dhillon, Zhao-hui Yang, Aylin Yener, Kai Kit Wong, and Chan-Byoung Chae. 2023. Beyond Transmitting Bits: Context, Semantics, and Task-Oriented Communications. IEEE Journal on Selected Areas in Communications 41, 1 (January 2023), 5–41. doi:10.1109/JSAC.2022.3223408
[4] Ben Herring, Tony Sharp, Tim Roberts, Jarred Fastier-Wooller, Greg Kelly, Oz Sahin, David Thiel, Dzung Dao, and Peter L. Woodfield. 2022. Underground LoRa Sensor Node for Bushfire Monitoring. Fire Technology 58, 3 (May 2022), 1087–1095. doi:10.1007/s10694-022-01224-3
[5] Wanchun Liu, Xin Zang, Yonghui Li, and Branka Vucetic. 2020. Over-the-Air Computation Systems: Optimization, Analysis and Scaling Laws. IEEE Transactions on Wireless Communications 19, 8 (August 2020), 5488–5502. doi:10.1109/TWC.2020.2993703
[6] Mert Ozates, Mohammad Javad Ahmadi, Mohammad Kazemi, Deniz Gündüz, and Tolga M. Duman. 2026. Unsourced Random Access: A Comprehensive Survey. IEEE Communications Surveys & Tutorials 28 (2026), 955–984. doi:10.1109/COMST.2025.3637685
[7] Alphan Şahin and Rui Yang. 2023. A Survey on Over-the-Air Computation. IEEE Communications Surveys & Tutorials 25, 3 (2023), 1877–1908. doi:10.1109/COMST.2023.3264649
[8] Errynando Surya Sasmita, Mia Rosmiati, and Moch Fahru Rizal. 2018. Integrating Forest Fire Detection with Wireless Sensor Network Based on Long Range
Radio. In Proceedings of the 2018 International Conference on Control, Electronics, Renewable Energy and Communications (ICCEREC). IEEE, 222–225. doi:10.1109/ICCEREC.2018.8711991
[9] Jiawei Shao, Yuyi Mao, and Jun Zhang. 2022. Learning Task-Oriented Communication for Edge Inference: An Information Bottleneck Approach. IEEE Journal on Selected Areas in Communications 40, 1 (January 2022), 197–211. doi:10.1109/JSAC.2021.3126087
[10] Surat Teerapittayanon, Bradley McDaniel, and H. T. Kung. 2017. Distributed Deep Neural Networks Over the Cloud, the Edge and End Devices. In Proceedings of the 2017 IEEE 37th International Conference on Distributed Computing Systems (ICDCS). IEEE, 328–339. doi:10.1109/ICDCS.2017.226
[11] Pascal Vorwerk. 2025. Indoor Fire Dataset with Distributed Multi-Sensor Nodes (EN54 Test Room). Mendeley Data, Version 2. doi:10.17632/npk2zcm85h.2
[12] Pascal Vorwerk, Jörg Kelleter, Steffen Müller, and Ulrich Krause. 2023. Distance-Based Analysis of Early Fire Indicators on a New Indoor Laboratory Dataset with Distributed Multi-Sensor Nodes. Fire 6, 8 (2023), 323. doi:10.3390/fire6080323
[13] Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Póczos, Ruslan Salakhutdinov, and Alexander J. Smola. 2017. Deep Sets. In Advances in Neural Information Processing Systems, Vol. 30. 3391–3401.
[14] Zhi Zhou, Xu Chen, En Li, Liekang Zeng, Ke Luo, and Junshan Zhang. 2019. Edge Intelligence: Paving the Last Mile of Artificial Intelligence With Edge Computing. Proc. IEEE 107, 8 (August 2019), 1738–1762. doi:10.1109/JPROC.2019.2918951