Manuscript Offprint

arXiv:2609.06131

IIns-VAE+: A Robust Transfer Learning Framework for Environmental Identification in Wireless Sensing

Yuxiao Li, Keke Hu, Bobai Zhao, Santiago Mazuelas, Yuan Shen

Yuxiao Li, Keke Hu, Bobai Zhao, Santiago Mazuelas, and Yuan Shen,

Abstract—Environmental identification in wireless sensing is essential for 6G integrated sensing and communication (ISAC) systems to achieve reliable situational awareness. However, deep learning (DL) models for this task often fail to generalize under domain shift across diverse environments. While the Inter-Instance Variational Auto-encoder (IIns-VAE) learns features of rich representation, its neural classifier remains vulnerable to these distribution changes. In this paper, we propose IIns-VAE+, a hybrid model that combines the IIns-VAE framework with Minimax Risk Classifiers (MRC) to improve adaptability in transfer learning scenarios. We use real-world datasets to evaluate our framework across three transfer learning scenarios, including general to specific room environments, high to low label resolutions, and mixed to specific environments. The experimental results indicate that IIns-VAE+ significantly outperforms baselines, demonstrating its critical value in building adaptable and robust perceptive networks in future 6G systems.

Index Terms—Wireless sensing, environmental identification, transfer learning, deep learning, statistical inference, generalization.

1 INTRODUCTION

Wireless sensing has been widely recognized as a key enabler of sixth-generation (6G) wireless systems, driven by their critical role in emerging applications ranging from smart homes to industrial automation [1]–[5]. By sharing spectrum, hardware, and signal processing, integrated sensing and communication (ISAC) can improve resource utilization, enhance coordination, and increase overall network efficiency, thus enabling novel, immersive and context-aware experiences [6], [7]. Within such systems, environmental identification is essential to ensure reliable and precise sensing for various scenarios [8]. The ability of environmental identification enables ISAC systems to dynamically adapt to changing conditions, thereby strengthening the core functionalities, e.g., object detection, real-time decision-making, and high-accuracy localization [9]–[12]. These techniques underpin a wide range of advanced wireless applications, including autonomous driving [13], crowd sensing [14], environmental monitoring [15], and smart cities [16], [17]. Consequently, robust and accurate environmental identification is becoming increasingly vital for next-generation wireless systems, helping to pave the way for a new era of connectivity in beyond-5G (B5G) and 6G networks.

Environmental identification faces inherent challenges

Source Domain Data

Figure

Target Domain Data

Figure

Fig. 1. Transfer learning in environmental identification. Target domain data can be collected from different environments compared to source domain data.

due to the variability in wireless scenarios. Signal propagation is significantly affected by reflection, scattering, and attenuation caused by dynamic room layouts, heterogeneous material properties of obstacles, and varied sensor

  • Yuxiao Li and Santiago Mazuelas are with the Basque Center for Applied Mathematics (BCAM), 48009 Bilbao, Spain (e-mail: yli@bcamath.org, smazuelas@bcamath.org).
  • Keke Hu is with the College of Semiconductor (College of Integrated Circuits), Hunan University, Changsha 410082, China (e-mail: hukeke@hnu.edu.cn)
  • Bobai Zhao is with the College of Computer Science, Beijing Information Science and Technology University, Beijing 100192, China (e-mail: zhaobobai@bistu.edu.cn)
  • Yuan Shen is with the Department of Electronic Engineering and the Beijing National Research Center for Information Science and Technology, Tsinghua University, Beijing 100084, China, and also with the Shanghai AI Laboratory, Shanghai 201112, China (e-mail: shenyuan_e@tsinghua.edu.cn).

deployment configurations. These environmental variations directly manifest in the statistical properties of both the channel impulse response (CIR) and received waveform data, complicating the task of robust and reliable environmental identification in practical applications. Existing environmental identification methods including traditional techniques such as Support Vector Machines (SVM) [18], [19], Gaussian process regression (GPR) [20], and more advanced deep learning (DL) models such as CNNs [8], [21], [22], have demonstrated promising results in controlled scenarios. However, these approaches are prone to overfitting to specific training conditions, which significantly limits their ability to generalize to unseen environments with different propagation characteristics [23]. This limitation becomes particularly severe when the training of a model is confined to simplistic and static conditions, such as a single room configuration or a fixed set of obstacles, while its deployment demands robustness across a wide spectrum of dynamic and real-world environments. Furthermore, many current models focus primarily on coarse-grained classification tasks, e.g., line-of-sight (LOS) versus non-line-of-sight (NLOS) discrimination [18]–[20]. This narrow scope limits their capability to extract more fine-grained environmental attributes, such as room geometry or material composition, which are essential for robust performance in complex applications requiring detailed situational awareness.

Transfer learning enables models to leverage knowledge from a source environment and adapt it to a target environment with minimal performance degradation. In the context of wireless sensing, particularly for ISAC systems, this paradigm allows models trained in a specific setting (e.g., a known indoor room) to generalize effectively to unseen environments (e.g., unfamiliar buildings or outdoor) without requiring extensive retraining [24]. By reducing the reliance on large labeled datasets for each potential target domain, transfer learning substantially improves the scalability and practical viability of perceptive networks. While common techniques (e.g., fine-tuning, adversarial domain adaptation, and meta-learning) have successfully addressed domain adaptation challenges in several applications such as signal detection [25], [26] and localization [27]–[29], they often struggle with environmental identification, which is a key component of ISAC situational awareness. This difficulty stems from the substantial variability and complex distributional shifts in wireless environments, caused by the subtle alterations in signal patterns induced by structural or material disparities in the target environment [30], [31].

Meanwhile, the efficacy of several aforementioned methods is constrained by the underlying assumption of moderate distributional shifts, rendering them inadequate for the complex scenarios envisaged for 6G, including adaptation from dense urban canyons to deep indoor environments or across diverse office layouts. For instance, while transfer learning is employed to adapt localization models in [31], its reliance on feature alignment techniques remains effective only under minor domain shifts. Similarly, fine-tuning is investigated for cross-domain signal detection [26], yet performance deteriorates significantly in highly dynamic settings. Adversarial training [30], though moderately successful in aligning feature distribution across source and target domains, fails to preserve fine-grained

environmental characteristics, which are essential for detailed environmental identification in perceptive networks. More recently, DL models, like Inter-Instance Variational Auto-Encoder (IIns-VAE) [32], have demonstrated superior performance in environmental identification by effectively disentangling position-related and environment-related features. Nevertheless, its neural classifier exhibits limited generalization capability in unseen environments, constraining its practicality in transfer learning scenarios that are critical for scalable ISAC systems operating under inherent domain shifts.

In this paper, we propose IIns-VAE+, a hybrid model designed to advance transfer learning by integrating the feature extraction capability of IIns-VAE with the classification robustness of Minimax Risk Classifiers (MRC). The MRC is formulated to minimize the worst-case risk, enhancing resilience to domain shifts and ensuring adaptability to unseen environments [33]–[35]. By incorporating both linear and Fourier mappings, MRC effectively captures complex environmental characteristics, thereby improving generalization across diverse practical environments [36]. This integration enables IIns-VAE+ to harness the complementary strengths of DL and risk-aware classification, ensuring reliable performance under varying environmental conditions and label resolutions.

The main contributions of this paper are summarized as follows:

  • We propose IIns-VAE+, a novel approach that integrates MRC into the IIns-VAE architecture. This hybrid design synergistically combines the rich representational learning of DL and the worst-case robustness of MRC, significantly improving environmental identification performance in wireless sensing.
  • We introduce and formalize two flexible transfer learning strategies, layer-wise integration and bottleneck-wise integration. These strategies not only enable effective fine-tuning of the classifier for specific environments, but also provide scalable adaptation mechanisms under varying training conditions.
  • We conduct a comprehensive evaluation of IIns-VAE+ in three real-world transfer learning scenarios and compare its performance with several baseline methods. Experimental results demonstrate that IIns-VAE+ achieves significant performance improvements, confirming its superior adaptability and generalization capabilities across diverse environments.

The remaining sections are organized as follows. Section 2 presents the related work. Section 3 formulates the problem of transfer learning in wireless sensing, specifically for environmental identification. Section 4 presents the proposed IIns-VAE+ framework, detailing the integration of IIns-VAE with MRC and the two transfer learning strategies. Section 5 provides a comprehensive experimental evaluation of the proposed framework using real-world datasets. Finally, Section 6 concludes the paper and discusses potential research directions.

Notations: random variables (RVs) are displayed in sans serif, upright fonts and their realizations in serif, italic fonts; vectors are denoted by bold lowercase letters; a RV and its realization are denoted by x and x; a random vector and its realization are denoted by x\mathbf{x} and x;x[j]\mathbf{x}; \mathbf{x}[j] denotes the jjth component of the vector x;p(x∣y)\mathbf{x}; p(\mathbf{x}|y) denotes the conditional distribution of x\mathbf{x} given y=y;N(x;μ,Σ)y = y; \mathcal{N}(\mathbf{x}; \boldsymbol{\mu}, \boldsymbol{\Sigma}) denotes the PDF of a Gaussian RV x\mathbf{x} with mean μ\boldsymbol{\mu} and covariance matrix Σ;E{⋅}\boldsymbol{\Sigma}; \mathbb{E}\{\cdot\} denotes the expectation of the argument, and Ex{⋅}\mathbb{E}_{\mathbf{x}}\{\cdot\} denotes the expectation with respect to RV x\mathbf{x}; sets are denoted by calligraphic fonts, e.g., D\mathcal{D}.

References (52)

  • 6G white paper on localization and sensing
  • Localization as a key enabler of 6G wireless systems: A comprehensive survey and an outlook
  • CSI-based fingerprinting for indoor localization: A deep learning approach
  • Data-driven deep learning for automatic modulation recognition in cognitive radios
  • Enabling situational awareness in millimeter wave massive MIMO systems
  • Integrated sensing and communication in 6G: Motivations, use cases, requirements, challenges and future directions
  • ISAC: From human to environmental sensing
  • CSI-based outdoor localization for massive MIMO: Experiments with a learning approach
  • A theoretical foundation of network localization and navigation
  • Network operation strategies for efficient localization and navigation
  • Fundamental limits of wideband localization – Part II: Cooperative networks
  • The future of automotive localization algorithms: Available, reliable, and scalable localization: Anywhere and anytime
  • An online context-aware machine learning algorithm for 5g mmwave vehicular communications
  • Inhomogeneous poisson sampling of finite-energy signals with uncertainties in $\mathbb{R}^d$
  • Mathematical evaluation of environmental monitoring estimation error through energy-efficient wireless sensor networks
  • Enabling communication technologies for smart cities
  • Future smart cities: Requirements, emerging technologies, applications, challenges, and future aspects
  • NLOS identification and mitigation for localization based on UWB experimental data
  • A machine learning approach to ranging error mitigation for UWB localization
  • Identification and mitigation of non-line-of-sight conditions using received signal strength
  • Deep generative model for simultaneous range error mitigation and environment identification
  • A deep learning approach for generating soft range information from RF data
  • Soft range information for network localization
  • Transfer learning for wireless networks: A comprehensive survey
  • Transfer learning for signal detection in wireless networks
  • Deep transfer learning for signal detection in ambient backscatter communications
  • Adaptive localization through transfer learning in indoor Wi-Fi environment
  • Transfer learning for WiFi-based indoor localization
  • Toward low-overhead fingerprint-based indoor localization via transfer learning: Design, implementation, and evaluation
  • Domain generalization in machine learning models for wireless communications: Concepts, state-of-the-art, and open issues
  • Transfer learning promotes 6G wireless communications: Recent advances and future challenges
  • A variational learning approach for concurrent distance estimation and environmental identification
  • Minimax forward and backward learning of evolving tasks with performance guarantees
  • Double-weighting for covariate shift adaptation
  • Minimax classification under concept drift with multidimensional adaptation and performance guarantees
  • Efficient learning of minimax risk classifiers in high dimensions
  • A framework for CSI-based indoor localization with ID convolutional neural networks
  • DuLoc: Dual-channel convolutional neural network based on channel state information for indoor localization
  • An indoor positioning method based on CSI by using features optimization mechanism with LSTM
  • LoT: A transformer-based approach based on channel state information for indoor localization
  • Swin-Loc: Transformer-based CSI fingerprinting indoor localization with mimo isac system
  • CSI-based MIMO indoor positioning using attention-aided deep learning
  • Hi-Loc: Hybrid indoor localization via enhanced 5G NR CSI
  • Variational inference: A review for statisticians
  • Auto-Encoding Variational Bayes
  • Generative adversarial nets
  • Variational inference using implicit distributions (opens arXiv in a new tab)
  • Soft information for localization-of-things
  • General supervision via probabilistic transformations
  • Minimax risk classifiers with 0-1 loss
  • Improving indoor localization using convolutional neural networks on computationally restricted devices
  • Deep UWB: A dataset for UWB ranging error mitigation in indoor environments (opens the publisher in a new tab)