# Heterogeneous Transformer: A Scale Adaptable Neural Network Architecture for Device Activity Detection

arXiv: https://arxiv.org/abs/2112.10086 · HTML: https://mlsanity.com/paper/2112.10086/

## Key facts

- Cited by 10 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 19 Dec 2021.

## Built on by (most cited first, 10 of 10)

- [Graph Neural Networks for Wireless Communications: From Theory to Practice](https://mlsanity.com/paper/2203.10800/) (2022)
- [State-Augmented Learnable Algorithms for Resource Management in Wireless Networks](https://mlsanity.com/paper/2207.02242/) (2022)
- [ENGNN: A General Edge-Update Empowered GNN Architecture for Radio Resource Management in Wireless Networks](https://mlsanity.com/paper/2301.00757/) (2022)
- [Activity Detection for Massive Connectivity in Cell-free Networks with Unknown Large-scale Fading, Channel Statistics, Noise Variance, and Activity Probability: A Bayesian Approach](https://mlsanity.com/paper/2401.16775/) (2024)
- [Phase Shift Design in RIS Empowered Wireless Networks: From Optimization to AI-Based Methods](https://mlsanity.com/paper/2204.13372/) (2022)
- [Learning Cooperative Beamforming with Edge-Update Empowered Graph Neural Networks](https://mlsanity.com/paper/2212.08020/) (2022)
- [Mixture of Experts-augmented Deep Unfolding for Activity Detection in IRS-aided Systems](https://mlsanity.com/paper/2502.20183/) (2025)
- [Generative Diffusion Model Driven Massive Random Access in Massive MIMO Systems](https://mlsanity.com/paper/2505.12382/) (2025)
- [A General Deep Learning Framework for Wireless Resource Allocation under Discrete Constraints](https://mlsanity.com/paper/2603.19322/) (2026)
- [From Semantic to Token Communication: The Next Paradigm for Large-Model-Driven 6G Intelligent Connectivity](https://mlsanity.com/paper/2609.10714/) (2026)

## Abstract (arXiv)

To support the modern machine-type communications, a crucial task during the random access phase is device activity detection, which is to detect the active devices from a large number of potential devices based on the received signal at the access point. By utilizing the statistical properties of the channel, state-of-the-art covariance based methods have been demonstrated to achieve better activity detection performance than compressed sensing based methods. However, covariance based methods require to solve a high dimensional nonconvex optimization problem by updating the estimate of the activity status of each device sequentially. Since the number of updates is proportional to the device number, the computational complexity and delay make the iterative updates difficult for real-time implementation especially when the device number scales up. Inspired by the success of deep learning for real-time inference, this paper proposes a learning based method with a customized heterogeneous transformer architecture for device activity detection. By adopting an attention mechanism in the architecture design, the proposed method is able to extract the relevance between device pilots and received signal, is permutation equivariant with respect to devices, and is scale adaptable to different numbers of devices. Simulation results demonstrate that the proposed method achieves better activity detection performance with much shorter computation time than state-of-the-art covariance approach, and generalizes well to different numbers of devices, BS-antennas, and different signal-to-noise ratios.
