SPAR: Self-supervised Placement-Aware Representation Learning for Distributed Sensing

Yizhuo Chen, Tianchen Wang, You Lyu, Yanlan Hu, Jinyang Li, Tomoyoshi Kimura, Hongjue Zhao, Yigong Hu, Denizhan Kara, Tarek F. Abdelzaher · Submission to ICLR 2026 · Rejected

In the world of distributed sensing—think seismic networks tracking earthquakes or wearable sensors monitoring human movement—where a sensor is placed is just as important as what it records. Yet, most AI models treat sensor location as an afterthought or "auxiliary metadata."

A new paper, "SPAR: Self-supervised Placement-Aware Representation Learning for Distributed Sensing," set to be reviewed for ICLR 2026, proposes a fundamental shift. Instead of ignoring sensor placement, the authors argue that the relationship between a signal and its position is a "duality" that should be at the very heart of how machines learn to perceive the world.

TL;DR

SPAR is a self-supervised pretraining framework that treats sensor placement (spatial location and structural role) as an intrinsic part of representation learning. By using dual reconstruction objectives to predict both masked signals and masked positions, it achieves superior accuracy and robustness across tasks ranging from earthquake localization to human activity recognition.

What Problem Does This Paper Address?

Distributed sensing involves multiple sensors spread across an environment (like a city, a building, or a human body) jointly observing a phenomenon. A central challenge is that the signals these sensors pick up are "inseparably shaped" by their placement. For example, an IMU sensor on a person's wrist produces a vastly different motion pattern than one on their chest, even during the same activity. Similarly, a seismic station's "vantage point" determines which parts of the Earth's crust it samples.

Current state-of-the-art pretraining methods (like Masked Autoencoders or Contrastive Learning) are largely placement-agnostic. they treat sensor nodes as generic data streams. This lack of spatial context limits the model's ability to generalize to new sensor layouts or handle missing data when a sensor fails.

Methods

The authors introduce SPAR (Self-supervised Placement-Aware Representation learning), which is built on the principle of signal-position duality. The framework introduces three main components:

  1. Spatial Positional Embeddings: Unlike the discrete indices used in language models (e.g., "word #1, word #2"), SPAR uses continuous physical coordinates. These are normalized and subjected to "geometric augmentation" (random rotation and translation) during training to prevent the model from overfitting to a specific map.
  2. Structural Positional Embeddings: These capture the "role" of a sensor (e.g., "attached to the ankle"). The authors even experiment with SPAR+LLM, using Large Language Models to turn text descriptions of sensor placement into rich embeddings.
  3. Dual Reconstruction Objectives: This is the "secret sauce." During pretraining, the model is tasked with two simultaneous goals:
  4. Signal Decoder: Reconstruct masked signals using known positions.
  5. Spatial Decoder: Reconstruct masked positions using known signals.

This forces the latent representations to encode how signals and positions mutually determine each other.

Datasets

The researchers validated SPAR on three diverse, real-world datasets:

  • M3N-VC: Acoustic and seismic signals from moving vehicles across six outdoor scenes.
  • Ridgecrest Seismicity: Multi-modal seismic waveforms from 16 stations in California used for 3D earthquake localization.
  • RealWorld-HAR: Accelerometer, gyroscope, and magnetometer data from 15 participants performing eight activities (walking, jumping, etc.) with sensors at six body locations.

Key Insights and Ideas

  • Duality as an Inductive Bias: The most important "aha moment" is that position isn't just a label; it's a physical constraint. If you know the environment and the signal, you should be able to guess where the sensor is. SPAR bakes this physical intuition into the architecture.
  • Continuous vs. Discrete: By moving away from discrete "tokens" to continuous coordinate projections, the model can handle arbitrary sensor layouts that it didn't see during training.
  • Information Theory Support: The authors provide a mathematical proof showing that SPAR's objective encourages the model to retain signal information conditioned on placement, effectively filtering out redundant noise and focusing on context-aware features.

Key Results

SPAR consistently outperformed eight state-of-the-art baselines (including SimCLR, AudioMAE, and FreqMAE) across all tasks:

  • Localization Accuracy: In vehicle tracking, SPAR achieved a Mean Squared Error (MSE) of 12.98, compared to the best baseline (CAV-MAE) at 18.85.
  • Earthquake Tracking: It reduced localization error significantly, achieving an MSE of 23.46 km² vs. the best baseline's 31.58 km².
  • Robustness to Data Loss: In "lossy communication" tests where up to 20% of sensor data was randomly dropped, SPAR's performance remained remarkably stable, while other models' errors spiked.
  • Unseen Placements: When tested on sensor layouts it had never seen before, SPAR maintained high performance, proving its "placement-aware" approach generalizes better than agnostic models.

Limitations and Future Work

While SPAR is powerful, the authors note a few areas for growth:

  • Metadata Dependency: The "Structural" embeddings often rely on manual labeling or metadata. While the SPAR+LLM variant helps, it still requires some human-in-the-loop description.
  • Dynamic Placements: The current model assumes sensors stay in one place during a sample. Future work could extend this to sensors that move relative to each other in real-time (like a swarm of drones).
  • Scaling: While tested on up to 16 nodes, the computational cost of the joint transformer encoder may need optimization for massive "Smart City" style networks with thousands of nodes.

For those interested in the technical proofs or specific hyperparameters, the full implementation and scripts are available at the anonymous repository linked in the paper.

Summary updated

Abstract

We present SPAR, a framework for self-supervised placement-aware representation learning in distributed sensing. Distributed sensing spans applications where multiple spatially distributed and multimodal sensors jointly observe an environment, from vehicle monitoring to human activity recognition and earthquake localization. A central challenge shared by this wide spectrum of applications, is that observed signals are inseparably shaped by sensor placements, including their spatial locations and structural roles. However, existing pretraining methods remain largely placement-agnostic. SPAR addresses this gap through a unifying principle: the duality between signals and positions. Guided by this principle, SPAR introduces spatial and structural positional embeddings together with dual reconstruction objectives, explicitly modeling how observing positions and observed signals shape each other. Placement is thus treated not as auxiliary metadata but as intrinsic to representation learning. SPAR is theoretical supported by analyses from information theory and occlusion-invariant learning. Extensive experiments on three real-world datasets show that SPAR achieves superior robustness and generalization across various modalities, placements, and downstream tasks.
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 Distributed Sensing}},
  year = {2025},
  eprint = {2505.16936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.16936},
}
Figure