arXiv:2610.09559cs.LGOct 2026

Manuscript Offprint

arXiv:2610.09559

UniCSI Towards a Universal Wi-Fi CSI Encoder for Ubiquitous Human Sensing

Daniel Eckhoff, Hua Kang, Zhitang Chen, Jie Chuai

Abstract

Wi-Fi sensing promises to turn the everyday wireless signals that already surround us into ubiquitous sensors for human sensing. However, a fundamental obstacle is that CSI is acquired under diverse device-specific configurations, including different subcarrier counts, bandwidths, and carrier bands. Consequently, the resulting CSI tensors vary in both spectral resolution and tensor shape, making heterogeneous modeling challenging. Standard architectures struggle with such heterogeneity, forcing lossy pre-processing which compromises the underlying signal. To bridge this gap, we present UniCSI, a unified foundation architecture that directly operates on heterogeneous CSI while preserving the integrity of the native waveform. UniCSI hinges on two core innovations: (1) a physics-informed RF tokenizer that encodes each frequency channel based on its fractional position within the physical spectrum rather than rigid array indices. It preserves intrinsic spectral coherence and enables seamless, frequency resolution-agnostic processing across arbitrary sensing configurations. (2) a spectral aggregator that distills variable-length channel sequences into a fixed-size spectral signature, effectively decoupling the feature dimensionality from the physical subcarrier spacing. Extensive evaluations on a large-scale corpus of 25 heterogeneous public datasets, spanning 14 to 2048 subcarriers, 20 to 160 MHz bandwidth, and the 2.4 and 5 GHz bands, demonstrate that native heterogeneous ingestion substantially improves cross-domain transfer under both supervised and self-supervised training schemes, particularly in regimes where fixed-grid architectures fail to generalize.

Introduction

Wireless sensing has emerged as a promising paradigm for ubiquitous human-centric perception, with commodity Wi-Fi devices supporting applications from activity recognition and gesture interaction to health monitoring and indoor localization (Wang et al. 2014; Zhang et al. 2021; Abdelnasser, Harras, and Youssef 2015; Adib et al. 2014). Compared with vision-based sensing, it preserves privacy, operates under poor lighting and occlusion, and leverages existing infrastructure without wearables or dedicated sensors. Among wireless signals, Channel State Information (CSI) has become the dominant sensing modality due to its fine-grained characterization of wireless propagation and its sensitivity to environmental dynamics.

Despite the remarkable progress of Wi-Fi sensing, existing solutions suffer from poor cross-domain generalization because CSI measurements are inherently sensitive to environments, devices, and wireless configurations. The resulting distribution shifts significantly limit model transferability across deployment scenarios. Large-scale pretraining offers a promising solution, learning transferable representations from diverse datasets. Unlike vision datasets, however, which share a common representation format, Wi-Fi sensing datasets are inherently heterogeneous, differing in signal dimensions and acquisition configuration such as subcarrier count, bandwidth, carrier frequency, number of devices, and antenna configuration. These differences are not only observed across devices and datasets, but may also vary over time for the same device as communication parameters are dynamically reconfigured.

Existing solutions (Jiang et al. 2025; Zhu et al. 2026; Luo, Li, and Liu 2026; Kim et al. 2026) handle this heterogeneity through ad hoc preprocessing, such as zero-padding, subcarrier resampling, or per-device backbones, each of which wastes capacity, distorts the signal, or precludes knowledge sharing. None yields a single model that exploits heterogeneous datasets within a unified framework.

To address these limitations, we introduce UniCSI, a carrier-frequency- and bandwidth-agnostic foundation model for Wi-Fi sensing, built on two components. The first is a per-subcarrier tokenizer that accepts any subcarrier count without padding or resampling, encoding each subcarrier by its fractional position within the observed band rather than by a fixed array index, so that the representation depends on where a subcarrier sits in the band rather than on how finely the band is sampled. Because each antenna link is embedded separately by this same tokenizer, the scheme extends to any MIMO configuration without assuming a fixed antenna layout. The second is a cross-attention module that compresses variable-length spectra into a fixed latent representation, independent of input length and sampling density. Together, these enable a single model to ingest CSI of any shape natively.

In particular, this work makes the following contributions. (1) We propose, to the best of our knowledge, the first CSI encoder that natively ingests measurements of arbitrary subcarrier count, bandwidth, and carrier band without padding or resampling, and that extends to varying MIMO config-urations through per-link encoding. (2) We show that JEPA pretraining on a large heterogeneous CSI corpus yields transferable representations, and characterize how much this pretraining benefits from heterogeneity across datasets, bands, and bandwidths. (3) We show that on difficult cross-domain benchmarks, fixed-grid architectures collapse toward chance while UniCSI transfers, establishing native heterogeneous ingestion as a prerequisite for cross-domain generalization rather than a convenience.

References (39)