SPAR: Self-supervised Placement-Aware Representation Learning for Multi-Node IoT Systems

Yizhuo Chen, Tianchen Wang, You Lyu, Yanlan Hu, Jinyang Li, Tomoyoshi Kimura, Hongjue Zhao, Yigong Hu, Denizhan Kara, Tarek F. Abdelzaher · DOI

Abstract

Distributed sensing systems in smart cities, seismic networks, and health monitoring often treat sensor placement as secondary metadata. However, the physical context of a sensor—its location and mounting—is intrinsic to the signal it captures. This paper introduces SPAR (Self-supervised Placement-Aware Representation learning), a framework that treats sensor placement as a universal inductive bias. By employing a dual reconstruction approach to learn signals and positions simultaneously, SPAR achieves state-of-the-art performance and robustness across diverse modalities and applications.

Introduction: The Placement Gap in Distributed Sensing

In distributed sensing, multiple nodes observe a shared environment. A fundamental physical reality is that signals are inseparable from their placement. For instance, an acoustic sensor's data depends on its distance from the source and its specific mounting characteristics (e.g., pole-mounted vs. ground-buried).

Current AI models are largely "placement-agnostic," treating sensor streams as independent channels. This lack of physical context limits generalization; models often fail when sensor layouts change or environments shift. SPAR addresses this by integrating placement—both spatial coordinates and structural characteristics—directly into the representation learning process.

Overview of the SPAR framework, showing the sensing node components and the two-stage pretraining and finetuning pipeline.

Methodology: Dual Reconstruction and Placement Awareness

SPAR builds upon the Masked Autoencoder (MAE) architecture, introducing a novel "duality" between positions and signals.

Dual Positional Embeddings

The framework utilizes two types of embeddings to capture the full context of a sensor:

  1. Spatial Embeddings: These represent continuous physical coordinates (e.g., GPS or local grid positions).
  2. Structural Embeddings: These are learnable vectors that capture latent characteristics like sensor orientation or mounting style, eliminating the need for manual labeling of environmental nuances.

The Dual Reconstruction Objective

The core innovation of SPAR is its pretraining strategy. Unlike standard MAEs that only reconstruct masked signals, SPAR performs a dual task:

  • Signal Reconstruction: Predicting missing signal segments using known sensor positions.
  • Position Reconstruction: Predicting missing sensor positions based on the captured signals.
Detailed architecture of SPAR highlighting the per-modality embedding, the cross-modality joint encoder, and the dual spatial and signal decoders.

This approach forces the model to learn the underlying physical relationships between geometry and signal propagation. To further enhance robustness, SPAR employs geometric augmentation—randomly rotating and translating coordinates during training—to prevent overfitting to specific layouts.

Evaluation and Results

SPAR was evaluated across three distinct real-world datasets: M3N-VC (multimodal vehicle monitoring), Ridgecrest Seismicity (large-scale earthquake localization), and RealWorld-HAR (human activity recognition).

Performance Benchmarks

SPAR consistently outperformed eight major baselines, including specialized models like Cosmo and FOCAL:

  • Localization: On the M3N-VC task, SPAR reduced distance error to 4.20m, compared to the best baseline's 5.06m.
  • Multi-Target Detection: In complex multi-vehicle scenarios, SPAR achieved an mAP@4m of 41.57%, nearly doubling the performance of the leading baseline (22.12%).
  • Robustness: The model maintained high accuracy even with 20% data loss or 90% communication compression, demonstrating its suitability for low-bandwidth IoT deployments.

Key Insights

  • Placement as an Intrinsic Property: By predicting "where" a sensor is from "what" it hears, the model develops a deep spatial reasoning capability.
  • Latent Structural Awareness: Learnable structural embeddings allow the model to automatically account for installation differences (e.g., soil type for seismic sensors) without explicit documentation.
  • Generalization: SPAR proves that learning the physics of the problem—rather than just the specific layout—allows for superior performance on unseen sensor configurations.

Conclusion and Future Work

SPAR demonstrates that placement-aware pretraining is a powerful inductive bias for distributed sensing. While currently optimized for static or semi-static networks, future research will explore highly dynamic environments, such as drone swarms. The ultimate goal is to integrate SPAR into large-scale foundation models for global-scale sensing tasks.

Summary updated

BibTeX
@misc{chen2025spar,
  author = {Yizhuo Chen and Tianchen Wang and You Lyu and Yanlan Hu and Jinyang Li and Tomoyoshi Kimura and Hongjue Zhao and Yigong Hu and Denizhan Kara and Tarek F. Abdelzaher},
  title = {{SPAR: Self-supervised Placement-Aware Representation Learning for Multi-Node IoT Systems}},
  year = {2025},
  eprint = {2505.16936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.16936},
}
Figure