Next Article in Journal
A Multi-Object Tracking Method with an Unscented Kalman Filter on a Lie Group Manifold
Next Article in Special Issue
Model-Data Hybrid-Driven Wideband Channel Estimation for Beamspace Massive MIMO Systems
Previous Article in Journal
Federated Learning Under Evolving Distribution Shifts
Previous Article in Special Issue
Wireless Communications: Signal Processing Perspectives
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Transformer–LSTM Hybrid Detector for OFDM-IM Signal Detection

1
School of Computer Science, Guangdong Polytechnic Normal University, Guangzhou 510665, China
2
Sound and Vibration Division P&R Measurement Technology Co., Ltd., Zhuhai 519125, China
*
Authors to whom correspondence should be addressed.
Entropy 2026, 28(1), 102; https://doi.org/10.3390/e28010102
Submission received: 11 December 2025 / Revised: 6 January 2026 / Accepted: 12 January 2026 / Published: 14 January 2026
(This article belongs to the Special Issue Wireless Communications: Signal Processing Perspectives, 2nd Edition)

Abstract

This paper addresses the signal detection problem in orthogonal frequency division multiplexing with index modulation (OFDM-IM) systems using deep learning (DL) techniques. In particular, a DL-based detector termed FullTrans-IM is proposed, which integrates the Transformer architecture with long short-term memory (LSTM) networks. Unlike conventional methods that treat signal detection as a classification task, the proposed approach reformulates it as a sequence prediction problem by exploiting the sequence modeling capability of the Transformer’s decoder rather than relying solely on the encoder. This formulation enables the detector to effectively learn channel characteristics and modulation patterns, thereby improving detection accuracy and robustness. Simulation results demonstrate that the proposed FullTrans-IM detector achieves superior bit error rate (BER) performance compared with conventional methods such as zero-forcing (ZF) and existing DL-based detectors under Rayleigh fading channels.

1. Introduction

Orthogonal frequency division multiplexing with index modulation (OFDM-IM) [1] has emerged as a promising alternative to traditional OFDM technology in multicarrier systems. In OFDM-IM, only a subset of subcarriers is active, and both the activated subcarriers and their indices can carry information bits. This enables higher reliability and energy efficiency compared to OFDM, since it does not require extra power or bandwidth to carry data bits through the indices of active subcarriers. Furthermore, OFDM-IM provides an attractive trade-off between spectral efficiency and reliability by adjusting the number of active subcarriers. Although many variants of OFDM-IM schemes have been proposed to expand the design space for flexible communication systems [2], challenges such as computational complexity and power consumption in practical deployments still require further investigation. To address detection complexity, solutions such as the maximum subcarrier power detection (MSPD) algorithm have been proposed in [3], although they require optimization for specific settings. While a theoretical analysis of multi-carrier index keying orthogonal frequency division multiplexing (MCIK-OFDM) is provided in [4], its real-world applicability is limited. To address computational complexity and interference in multiple-input multiple-output orthogonal frequency division multiplexing with index modulation (MIMO-OFDM-IM) systems, sequential Monte Carlo (SMC)-based detection has shown significant performance improvements [5].
On the other hand, deep learning (DL), which has revolutionized fields such as computer vision and speech recognition [6,7], is increasingly being applied in wireless communications. A deep neural network (DNN)-based autoencoder framework has shown significant potential in improving bit error rate (BER) performance and spectral efficiency in OFDM systems [8]. In [9], DeepIM, a deep learning-based detector, was introduced for OFDM-IM systems. It achieves efficient signal detection with low complexity and near-optimal performance. Additionally, a dual-mode detector utilizing a convolutional neural network (CNN) and a DNN was proposed in [10], thereby enhancing detection accuracy by separating the processes for index and carrier bits. Similarly, a two-stage dilated convolutional neural network (TS-DCNN) was developed in [11], which improves BER performance and efficiency through separate detection of index and carrier bits. Moreover, deep recurrent neural networks (DRNNs), which utilize long short-term memory (LSTM), have demonstrated the ability to reduce complexity while maintaining high detection accuracy [12].
It is notable that the Transformer [13] network structure, which exhibits superior performance in various fields, was introduced into OFDM-IM detection in [14]. The TransIM model in [14] combines the Transformer networks with traditional post-processing to enhance BER performance. In our previous work [15], we explored Transformer models for coded OFDM systems and demonstrated their capability in signal detection process. Although some researchers have attempted to utilize Transformers in the communication tasks, to the best of our knowledge, none of the existing works has explored the potential of applying the full Transformer model, in particular performing classification using only the Transformer encoder layer. To maximize the Transformer’s potential, we develop a network employing the Transformer decoder designed specifically for OFDM-IM systems. Thus, in this paper, we propose a novel DL-based detector, named FullTrans-IM, which reformulates the detection problem as a sequence prediction task, so that the Transformer decoder can be used naturally. For comparison, we also design a network using only the Transformer encoder, termed TransEnc-IM, for the OFDM-IM system. Simulation results indicate that FullTrans-IM significantly outperforms conventional zero-forcing (ZF) and TransEnc-IM detectors under Rayleigh fading channels. The main contributions of this paper can be summarized as follows:
  • Hybrid Transformer–LSTM architecture: A new FullTrans-IM framework is developed by combining the Transformer’s self-attention mechanism with LSTM-based temporal modeling, enabling the detector to effectively capture both global and sequential dependencies within the received OFDM-IM signals.
  • Sequence prediction-based detection: Unlike conventional encoder-only approaches that treat detection as a static classification problem, the proposed FullTrans-IM reformulates signal detection as a sequence prediction task using the Transformer’s decoder, thereby enhancing prediction accuracy and robustness.
  • Performance superiority and efficiency: Simulation results demonstrate that the proposed FullTrans-IM achieves significantly better BER performance and improved robustness compared with existing detectors, while maintaining a favorable trade-off between accuracy and computational complexity.
The remainder of the paper is organized as follows. Section 2 introduces the OFDM-IM system model, including the index modulation scheme; Section 3 describes the proposed FullTrans-IM network architecture in detail, covering the preprocessing module, Transformer-based model design, loss function formulation, and the offline training and online deployment processes; Section 4 discusses the simulation setup and analyzes BER performance under various modulation schemes; Finally, Section 5 concludes the paper and discusses potential directions for future research.

2. System Description

In this paper, we consider a single-antenna OFDM-IM system over time-varying frequency-selective Rayleigh fading channels. The overall communication process of the OFDM-IM system is illustrated in Figure 1. Assuming that there are N subcarriers in the OFDM-IM system, an information bit sequence u is modulated into the frequency-domain transmitted OFDM symbol, denoted as x = [ x 0 , , x N 1 ] T , where the notation [ · ] T denotes the transpose of a vector. The time-domain symbols are generated by applying the inverse discrete Fourier transform (IDFT) to the frequency-domain data symbols. To eliminate inter-symbol interference (ISI) induced by channel dispersion, a cyclic prefix (CP) of length N c p N t a p 1 is appended to the beginning of each time-domain symbol. The resulting sequence is subsequently transmitted through a doubly selective channel characterized by N t a p resolvable taps. At the receiver side, after the cyclic prefix is removed and the discrete Fourier transform (DFT) is performed, the received signal vector can be expressed as:
y = FH t F H x + w = H x + w ,
where F denotes the unitary DFT matrix of dimension N × N , and ( · ) H represents the Hermitian transpose of a matrix. The matrix H t represents the time-domain channel matrix, the detailed construction of which will be presented in the subsequent section. The matrix H = FH t F H corresponds to the equivalent frequency-domain channel matrix. The vector w denotes additive white Gaussian noise (AWGN), which follows a complex normal distribution CN ( 0 , σ 2 I N ) .

2.1. The Channel Model

In an OFDM system, the discrete-time channel matrix elements are represented by the discrete-time impulse response h n , m , where n denotes the subcarrier index, and m represents the tap index, with 0 n N 1 and 0 m N t a p 1 . According to Jakes’ Doppler spectrum model [16], the channel coefficient h n , m can be expressed as:
h n , m = P m 4 M s i = 1 M s 2 e j ψ i e j ( ω i n + ϕ ) + e j ( ω i n + ϕ ) ,
where ω i = ω d cos α i , and the Doppler frequency parameters are defined as
ω d = 2 π ϑ max N , α i = 2 π i π + θ 4 M s , i = 1 , 2 , , M s .
In this work, M s denotes the number of sinusoids used to model the fading process, and is set to M s = 32 . The term P m represents the power-delay profile (PDP), while ϑ m a x corresponds to the normalized maximum Doppler shift. The random variables θ , ϕ and ψ are mutually independent and uniformly distributed over the interval [ π , π ) for all i.
The time-domain channel matrix H t consists of nonzero elements generated according to Equation (2). Given the cyclic prefix and OFDM signal structure, H t can be decomposed as H t = L + U , where L is an N × N lower-triangular matrix with nonzero elements L n , m = h n , n m for 0 m n N 1 . Similarly, U is an N × N upper-triangular matrix with nonzero elements U n , m = h n , N + n m for 0 n N t a p 1 , N N t a p + 1 m N 1 , and n m .

2.2. The Index Modulation

In the OFDM-IM system, a block of OFDM containing N subcarriers is divided into g groups, with each group consisting of N g = N g subcarriers. For each group, we select n a subcarriers to transmit the signals. The transmitted signal vector is denoted as s β = [ s β , 0 , , s β , n a 1 ] , where β = 0 , , g 1 .
In the index modulation scheme, for any arbitrary group β , two constellations are involved. The first is the traditional two-dimensional signal constellation  S C with | S | = 2 N s , and we can define a one-to-one mapping φ s : F 2 N s S . Apparently, each transmitted symbol in s β is selected from S , i.e., s β , γ S , where γ = 0 , , n a 1 . The second constellation, referred to as the index constellation  I , determines the active subcarriers. The index constellation consists of 2 N a Boolean vectors I β = ( i β , 0 , , i β , N g 1 ) { 0 , 1 } N g , each with a Hamming weight of n a , where i β , γ = 1 indicates that the γ -th subcarrier is active. Let N a = log 2 N g n a , where x denotes the greatest integer not exceeding x. Then, we can define a one-to-one mapping φ a : F 2 N a I . With the above settings, we can further define a combined mapping φ : F 2 N a + n a N s X for each group in the OFDM-IM system.
As an example, consider an OFDM symbol with N = 128 subcarriers divided into g = 32 groups. Each group contains N g = 4 subcarriers, of which n a = 2 subcarriers are activated in each transmission. Consequently, there exist 4 2 = 6 possible index combinations, from which 2 log 2 6 = 4 combinations are selected to form the index constellation. This selection guarantees that each subcarrier group maps an integer number of index bits. The index constellation can be defined as:
I = ( 1 , 1 , 0 , 0 ) , ( 0 , 1 , 1 , 0 ) , ( 0 , 0 , 1 , 1 ) , ( 1 , 0 , 0 , 1 ) .
For each active subcarrier, M-ary quadrature amplitude modulation (QAM) or phase-shift keying (PSK) is implemented.
At the receiver, the ZF detection algorithm is used to mitigate inter-symbol interference or to preprocess signals for the deep learning-based detector. After processing with the pseudo-inverse matrix H , the received vector is expressed as:
H y = x + H w .
where H denotes the pseudo-inverse of the channel matrix H . For all possible index constellation I , the ZF detector estimates each nonzero element in x from the signal constellation S .

3. Proposed FullTrans-IM Detector

In this section, we first introduce the structure of the proposed FullTrans-IM network. Subsequently, we describe the offline training and online deployment processes of FullTrans-IM. In practical applications, although the FullTrans-IM detector can process multiple IM groups simultaneously, we illustrate its operation using a single group as an example.

3.1. Structure of FullTrans-IM Detector

As illustrated in Figure 2, the proposed FullTrans-IM network consists of two main components: a data preprocessor and a classical Transformer model. Specifically, the solid arrows in the architecture represent the data flow paths that are active during both the training and testing phases. In contrast, the dashed arrows denote paths that carry data only during the training phase and remain inactive during the online testing. The main modules of FullTrans-IM are introduced in detail below.

3.1.1. Preprocessor

For an arbitrary group β , the preprocessor accepts two types of inputs. The first input type is the received signal vector before and after ZF equalization, denoted by ( y β , y ^ β ) . These two vectors are extracted, respectively, from y in Equation (1) and y ^ = H y in Equation (3) for a single group. The second input type is the bit information b corresponding to one group, which is used for training or evaluation. By concatenating the modulus of each element of y β , the real part of y ^ β , and the imaginary part of y ^ β , we obtain the following row vector:
z = | y β | { y ^ β } { y ^ β } .
In Equation (4), the symbol | · | denotes the element-wise modulus operation on a complex vector, whereas { · } and { · } represent the extraction of the real and imaginary parts, respectively. This representation, though mathematically redundant, provides multi-dimensional physical cues that enrich the network’s feature space. Specifically, the modulus component offers an energy-based feature that helps the model identify active subcarrier indices, whereas the real and imaginary components facilitate accurate reconstruction of the constellation symbols.
For the positional encoding of z , the tokens are first projected into a high-dimensional embedding space via a linear mapping layer. Subsequently, standard sine and cosine functions are applied to generate positional encodings, which are added to the embeddings to enable the Transformer to capture the sequential dependencies within the received signals.
For the bit sequence b = ( b 0 , b 1 , , b n 1 ) , a mapping function is defined as
f ( b i ) = i + 1 , if b i = 0 , i + n + 1 , if b i = 1 ,
where i = 0 , 1 , , n 1 , and n = N a + n a N s for an IM group. This mapping ensures that the values of f ( b i ) fall within the range [ 1 , 2 n ] , creating a distinct set of 2 n tokens. Through this mapping, the bit sequence b is transformed into a real-valued vector α = [ f ( b 0 ) , f ( b 1 ) , , f ( b n 1 ) ] . To align with the sequence-to-sequence processing format of the Transformer model, both the input z and the output vector α are augmented with special functional tokens. Specifically, the sequence is prepended with a start token 0 (defined as 0 to trigger the start of decoding) and appended with an end token eos , where eos is defined as 2 n + 1 .
For example, consider the bit sequence b = ( 0 , 1 , 0 , 1 , 1 , 0 ) . When n = 6 , the corresponding mappings, see Equation (5), are obtained as α = ( 1 , 8 , 3 , 10 , 11 , 6 ) and eos = 13 .

3.1.2. Transformer Model

As illustrated in Figure 2, a modified Transformer architecture is employed in the FullTrans-IM network. Both the encoder and decoder consist of four stacked layers, each with an embedding dimension of 128. Each layer contains a self-attention module followed by a feed-forward network with a hidden dimension of 512. The selection of a four-layer architecture was determined based on empirical evaluation. Experimental results showed that increasing the number of layers did not lead to noticeable improvements in performance. Instead, deeper architectures tended to cause overfitting and significantly increased computational complexity. In contrast, using fewer layers reduced the model’s ability to represent and learn the complex temporal and spectral characteristics of time-varying frequency-selective Rayleigh fading channels. Therefore, a four-layer configuration was adopted as the optimal balance between model expressiveness, generalization capability, and computational efficiency.
In both the encoder and decoder, the input tokens are embedded into 128-dimensional dense vectors. The encoder further processes these embeddings using a two-layer LSTM with an input dimension of 1 and a hidden state dimension of 128, capturing temporal dependencies in the sequence before passing the resulting representations through the encoder stack. In contrast, the decoder directly feeds the embeddings into the decoder stack, which incorporates self-attention and cross-attention mechanisms to integrate the encoded features with the decoder’s current state. Finally, layer normalization is applied at the end of both the encoder and decoder stacks before generating the final output.

3.1.3. Multi-Head Attention

The multi-head attention mechanism relies on the query ( Q ), key ( K ), and value ( V ) [13], which are used to compute attention weights. These weights determine the relevance of different elements in the input sequence to each position in the output representation. The multi-head attention operation is defined as:
MultiHead ( Q , K , V ) = Concat ( head 1 , , head h ) W O ,
where each attention head is computed as
head i = Attention ( QW i Q , KW i K , VW i V ) .
Here, W i Q , W i K , and W i V denote the learned projection matrices for the queries, keys, and values in each head, respectively. The concatenated outputs from all heads are then linearly transformed by the output projection matrix W O . The scaled dot-product attention mechanism within each head is expressed as:
Attention ( Q , K , V ) = softmax QK d k V ,
where d k denotes the dimensionality of the key vectors. The scaling factor d k prevents the dot-product values from becoming excessively large, thereby ensuring numerical stability during the softmax computation.

3.1.4. Loss Function

In this paper, the cross-entropy loss is employed to measure the divergence between the true label distribution and the predicted probability distribution generated by the model. By minimizing this loss, the model learns to generate output probabilities that more closely align with the true labels. The loss function is defined as
L = 1 M n i = 0 M 1 j = 0 n 1 log exp ( θ i , φ ( j ) ) k = 0 2 n + 1 exp ( θ i , k ) ,
where M denotes the total number of samples in the dataset, and n represents the number of bits corresponding to one IM group. Furthermore, θ i , k denotes the logit corresponding to the k-th class of the i-th sample. Similarly, θ i , φ ( j ) represents the logit associated with the correct class of the j-th bit.

3.2. Offline Training and Online Deployment

The overall framework of offline training and online deployment is illustrated in Figure 3. During the offline training phase, the model is trained to learn the relationships among the input data ( y β , y ^ β ) , the mapped vector α derived from b , and the corresponding output sequences α ^ . The data ( y β , y ^ β ) are pre-processed into z , which is then fed into the encoder for feature extraction. The decoder then predicts the output sequence α ^ based on the features extracted by the encoder. Finally, the predicted sequence is compared with α , and the cross-entropy loss is computed to optimize the model parameters.
In the online deployment phase, only the data ( y β , y ^ β ) are passed through the encoder, which extracts the relevant features. The decoder begins with the start token 0 and generates the output sequence sequentially, relying on both the encoder features and its own previously generated outputs until the end token eos is produced. Finally, the predicted bit sequence b ^ is reconstructed from the generated sequence α ^ .

4. Simulation Results

In this section, the proposed FullTrans-IM and TransEnc-IM models are evaluated, where TransEnc-IM denotes a standard Transformer architecture that utilizes only the encoder layer. Additionally, the traditional ZF detector and a DNN-IM detector are included for comparison. The simulation results demonstrate and compare the performance of the proposed and benchmark methods under various modulation schemes.

4.1. BER Performance

The BER is evaluated via Monte Carlo simulations. For each signal-to-noise ratio (SNR) point, the predicted bit sequence b ^ produced by the FullTrans-IM detector and demapper is compared with the original transmitted bit sequence b on a bit-by-bit basis. For the dataset, a 9:1 split is applied between the training and testing sets, ensuring that the model is trained on diverse channel conditions while maintaining sufficient unseen data for performance evaluation.
The experiments are conducted based on three key parameters, namely ( N g , n a , M ) , where N g denotes the number of subcarriers within each group; n a , which represents the number of active subcarriers selected for transmission; and M, which denotes the modulation order. In the following simulations, an OFDM symbol with N = 64 subcarriers is utilized. The OFDM symbol is divided into g = 16 groups, each containing N g = 4 subcarriers, where n a = 2 active subcarriers are selected per group. Moreover, we employ the index constellation I = ( 1 , 1 , 0 , 0 ) , ( 0 , 1 , 1 , 0 ) , ( 0 , 0 , 1 , 1 ) , ( 1 , 0 , 0 , 1 ) . Additionally, M = 4 corresponds to QPSK modulation, whereas, M = 8 corresponds to 8-PSK modulation. To ensure the fairness and consistency of the performance comparison among different detection methods, all simulations are conducted under the same experimental configuration, as summarized in Table 1.
Example 1. 
In this example, the BER performance is evaluated under various SNR values with parameter settings of ( N g , n a , M ) = ( 4 , 2 , 4 ) . The training dataset comprises mixed SNR values ranging from 1 dB to 30 dB, with each SNR level utilizing 9,662,000 bits. The BER performance comparison is illustrated in Figure 4. From the figure, we have the following observations.
  • The OFDM-IM system employing the FullTrans-IM detector achieves superior BER performance compared with the ZF, TransEnc-IM, and DNN-IM detectors.
  • Both the TransEnc-IM and DNN-IM detectors exhibit an error floor in the high-SNR region, indicating limited generalization capability under low-noise conditions.
  • At a BER of 10 4 , the FullTrans-IM detector achieves approximately a 2.5 dB gain over the ZF detector.
Example 2. 
In this example, the BER performance is evaluated under various SNR values with parameter settings of ( N g , n a , M ) = ( 4 , 2 , 8 ) . The training dataset is similarly generated using mixed SNR values ranging from 1 dB to 30 dB, with 12,882,000 bits employed per SNR level. The BER performance comparison is illustrated in Figure 5. From the figure, we have the following observations.
  • The BER performance results follow a consistent trend with those observed in Example 1. The FullTrans-IM detector again achieves the best overall BER performance among all compared schemes.
  • At a BER of 10 4 , the FullTrans-IM detector attains approximately a 2 dB gain over the ZF detector.

4.2. Training Loss Performance

Corresponding to the schemes discussed in the examples above, the training losses of different neural network-based detectors are presented for comparison. The training losses of FullTrans-IM, TransEnc-IM, and DNN-IM are shown in Figure 6 and Figure 7, corresponding to the cases where ( N g , n a , M ) equals ( 4 , 2 , 4 ) and ( 4 , 2 , 8 ) , respectively. As shown in the figures, the FullTrans-IM consistently achieves lower training loss compared with both TransEnc-IM and DNN-IM, particularly in the high-SNR region. When ( N g , n a , M ) = ( 4 , 2 , 8 ) , the TransEnc-IM demonstrates superior performance compared with DNN-IM, indicating that attention-based architectures remain more stable than conventional feed-forward designs as modulation complexity increases. The FullTrans-IM, however, exhibits the most rapid reduction in training loss and converges to a substantially lower steady-state value, demonstrating its enhanced optimization capability and stronger representational power.
It is observed that the training loss curves of the 6-bit and 8-bit OFDM-IM schemes exhibit distinct convergence behaviors. In particular, a noticeable loss drop occurs at a certain training stage, which is more pronounced in the 8-bit case. This phenomenon is mainly attributed to the substantially increased combinatorial detection complexity introduced by the higher bit mapping in the 8-bit OFDM-IM scheme. During the early training stage, the model experiences difficulty in jointly learning the coupling between subcarrier index selection and symbol modulation, resulting in a relatively slow reduction of the training loss. As training proceeds, once the underlying structural characteristics of OFDM-IM are effectively captured, a large proportion of training samples can be correctly decoded. Consequently, the training loss exhibits a sudden decrease, indicating that the model has transitioned from coarse representation learning to structured detection.
Compared with the 6-bit scheme, the 8-bit OFDM-IM configuration involves a larger joint search space and stronger index-symbol dependency, which delays the formation of reliable internal representations and leads to a more evident loss drop. These results suggest that the proposed model is capable of learning the intrinsic structure of OFDM-IM signals, especially under higher mapping complexity, thereby demonstrating its effectiveness in handling challenging index modulation detection tasks.
These observations highlight that the FullTrans-IM effectively leverages its joint encoder–decoder structure to capture both local feature dependencies and long-term sequential correlations within OFDM-IM signals. As a result, it achieves more efficient gradient propagation and improved convergence stability during training. This also implies that the FullTrans-IM model generalizes more effectively across varying SNR conditions, which contributes to its superior detection accuracy in the test phase.
Overall, these results confirm that integrating both encoder and decoder components within the FullTrans-IM architecture enables superior feature extraction and optimization stability compared with conventional Transformer or DNN-based structures, making it a robust and scalable solution for OFDM-IM detection.

4.3. Complexity Comparison

In Table 2, we provide the time complexity of various detection methods, including FullTrans-IM, TransEnc-IM, DNN-IM and ZF, with different modulation schemes. The evaluation is conducted using a dataset containing 10 5 bits, and the processing time is measured in seconds (s). To ensure a fair comparison with the traditional ZF algorithm, the neural network models (originally trained in PyTorch) were converted into a C++ compatible format via LibTorch. All detection schemes were then executed and timed within a unified Visual Studio 2022 environment on the hardware platform described in Section 4.1.
As shown in Table 2, although the FullTrans-IM method exhibits higher time complexity compared to TransEnc-IM and DNN-IM, with times of 0.835 s when ( N g , n a , M ) = ( 4 , 2 , 4 ) and 0.899 s when ( N g , n a , M ) = ( 4 , 2 , 8 ) , it still demonstrates a significant advantage over the ZF detector. The ZF detector has a time complexity of 9.097 s when ( N g , n a , M ) = ( 4 , 2 , 4 ) and 10.523 s when ( N g , n a , M ) = ( 4 , 2 , 8 ) , which is more than an order of magnitude higher than that of FullTrans-IM.
Furthermore, this reduction in processing time is directly linked to the energy efficiency of the detection process. In practical wireless communication systems, energy consumption is proportional to the active execution time of the processor. Since the FullTrans-IM detector significantly shortens the inference latency compared to the traditional ZF method, it effectively reduces the energy required per bit for signal recovery.
These results indicate that although the full Transformer architecture introduces additional computational overhead, the FullTrans-IM detector achieves an excellent trade-off between accuracy and efficiency. Its superior processing speed relative to ZF highlights the effectiveness of Transformer-based sequence modeling for OFDM-IM detection while maintaining practical computational feasibility.

5. Conclusions

In this paper, a novel FullTrans-IM detector has been proposed for OFDM-IM systems by integrating the Transformer architecture with LSTM networks. In the proposed detector, signal detection is formulated as a sequence prediction problem, leveraging the powerful sequence modeling capability of the Transformer’s decoder rather than treating detection purely as a classification task based on the encoder. Simulation results demonstrate that the FullTrans-IM detector achieves superior BER performance and enhanced robustness compared with the TransEnc-IM, DNN-IM, and ZF detectors under Rayleigh fading channels. Furthermore, the proposed method attains a good trade-off between detection accuracy and computational complexity, highlighting its potential for practical deployment in next-generation wireless communication systems. Future work may explore extending the FullTrans-IM framework to MIMO and higher-order modulation scenarios to further enhance detection efficiency and scalability.

Author Contributions

Conceptualization, L.W. and J.L.; methodology, L.W. and J.L.; software, Z.T., K.W. and J.X.; validation, X.Z. and J.Z.; formal analysis, L.W. and J.L.; investigation, Z.T. and X.P.; resources, Z.T., X.P. and B.L.; data curation, Z.T.; writing—original draft preparation, Z.T.; writing—review and editing, L.W.; visualization, L.W.; supervision, J.Z. and R.C.; project administration, L.W.; funding acquisition, X.Z., R.C. and J.Z. All authors have read and agreed to the published version of this manuscript.

Funding

The work was supported in part by the Special Projects in Key Fields of Ordinary Universities of Guangdong Province under Grant 2022ZDZX1013, in part by the Guangdong Provincial Natural Science Foundation General Project under Grants 2024A1515011971 and 2024A1515010219, in part by the Key Discipline Improvement Project of Guangdong Province under Grants 2022ZDJS015 and 2025ZDJS023, in part by the Guangzhou Science and Technology Plan Project under Grants 2024B03J1361, 2023B03J1327, 2023A04J0362, and 2023A04J0361, in part by the Scientific Research Capacity Improvement Project of the Doctoral Program Construction Unit of Guangdong Polytechnic Normal University under Grant 22GPNUZDJS17, in part by the Graduate Education Demonstration Base Project of Guangdong Polytechnic Normal University under Grant 2023YJSY04002, in part by the Guangzhou Science and Technology Plan Project under Grants 2024B03J1361 and 2023B03J1327, and in part by the Guangdong Province Ordinary Colleges and Universities Young Innovative Talents Project Grant 2022KQNCX038.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding authors.

Conflicts of Interest

Author Zian Tong was employed by P&R Measurement Technology Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AWGNadditive white Gaussian noise
BERbit error rate
CNNconvolutional neural network
CPcyclic prefix
DFTdiscrete Fourier transform
DLdeep learning
DNNdeep neural network
DRNNsdeep recurrent neural networks
IDFTinverse discrete Fourier transform
IMindex modulation
ISIinter-symbol interference
LSTMlong short-term memory
MCIK-OFDMmulti-carrier index keying orthogonal frequency division multiplexing
MIMOmultiple-input multiple-output
MIMO-OFDM-IMMIMO orthogonal frequency division multiplexing with index modulation
MSPDmaximum subcarrier power detection
OFDMorthogonal frequency division multiplexing
OFDM-IMOFDM with index modulation
PDPpower-delay profile
PSKphase-shift keying
QAMquadrature amplitude modulation
SMCsequential Monte Carlo
SNRsignal-to-noise ratio
TS-DCNNtwo-stage dilated convolutional neural network
ZFzero forcing

References

  1. Başar, E.; Aygölü, Ü.; Panayırcı, E.; Poor, H.V. Orthogonal frequency division multiplexing with index modulation. IEEE Trans. Signal Process. 2013, 61, 5536–5549. [Google Scholar] [CrossRef] [Scilit]
  2. Wen, M.; Basar, E.; Li, Q.; Zheng, B.; Zhang, M. Multiple-Mode Orthogonal Frequency Division Multiplexing With Index Modulation. IEEE Trans. Commun. 2017, 65, 3892–3906. [Google Scholar] [CrossRef] [Scilit]
  3. Lian, Y.; Ying, M.; Wang, S.; Wang, Y. An Efficient Maximum Subcarrier Power Detection Scheme for OFDM-IM Systems. In Proceedings of the International Wireless Communications and Mobile Computing (IWCMC), Marrakesh, Morocco, 19–23 June 2023; pp. 258–263. [Google Scholar]
  4. Van Luong, T.; Ko, Y. A tight bound on BER of MCIK-OFDM with greedy detection and imperfect CSI. IEEE Commun. Lett. 2017, 21, 2594–2597. [Google Scholar] [CrossRef] [Scilit]
  5. Zheng, B.; Wen, M.; Basar, E.; Chen, F. Low-complexity near-optimal detector for multiple-input multiple-output OFDM with index modulation. In Proceedings of the IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
  6. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Chen, R.; Yao, C.; Zeng, X.; Ma, Y.; Yuan, J.; Li, J.; Zhao, H.; Lu, X.; Ren, J. Large-scale cross-modal hashing via Kolmogorov-Arnold representation theorem and optimal transport. Knowl.-Based Syst. 2025, 330, 114698. [Google Scholar]
  8. Felix, A.; Cammerer, S.; Dörner, S.; Hoydis, J.; Ten Brink, S. OFDM-Autoencoder for End-to-End Learning of Communications Systems. In Proceedings of the IEEE 19th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Kalamata, Greece, 25–28 June 2018; pp. 1–5. [Google Scholar]
  9. Luong, T.V.; Ko, Y.; Vien, N.A.; Nguyen, D.H.N.; Matthaiou, M. Deep Learning-Based Detector for OFDM-IM. IEEE Wirel. Commun. Lett. 2019, 8, 1159–1162. [Google Scholar] [CrossRef] [Scilit]
  10. Kim, J.; Ro, H.; Park, H. Deep Learning-Based Detector for Dual Mode OFDM with Index Modulation. IEEE Wirel. Commun. Lett. 2021, 10, 1562–1566. [Google Scholar] [CrossRef] [Scilit]
  11. Du, R.; Wang, H.; Wang, S.; Shi, B.; Duan, Z.; Liu, F. Two-Stage Dilated Convolutional Neural Network-Based Detector for OFDM-IM. IEEE Trans. Green Commun. Netw. 2024, 8, 1852–1861. [Google Scholar] [CrossRef] [Scilit]
  12. Abdul Aziz, M.; Rahman, M.H.; Abrar Shakil Sejan, M.; Tabassum, R.; Hwang, D.D.; Song, H.K. Deep Recurrent Neural Network Based Detector for OFDM with Index Modulation. IEEE Access 2024, 12, 89538–89547. [Google Scholar] [CrossRef] [Scilit]
  13. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 6000–6010. [Google Scholar]
  14. Zhang, D.; Wang, S.; Niu, K.; Dai, J.; Wang, S.; Yuan, Y. Transformer-based detector for OFDM with index modulation. IEEE Commun. Lett. 2022, 26, 1313–1317. [Google Scholar] [CrossRef] [Scilit]
  15. Wang, L.; Zhou, W.; Tong, Z.; Zeng, X.; Zhan, J.; Li, J.; Chen, R. Transformer-Based Detection for Highly Mobile Coded OFDM Systems. Entropy 2023, 25, 852. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Zheng, Y.R.; Xiao, C. Simulation models with correct statistical properties for Rayleigh fading channels. IEEE Trans. Commun. 2003, 51, 920–928. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The block diagram of the OFDM-IM system.
Figure 1. The block diagram of the OFDM-IM system.
Entropy 28 00102 g001
Figure 2. FullTrans-IM network structure.
Figure 2. FullTrans-IM network structure.
Entropy 28 00102 g002
Figure 3. Offline Training and Online Deployment Framework.
Figure 3. Offline Training and Online Deployment Framework.
Entropy 28 00102 g003
Figure 4. BER performance of the OFDM-IM system with the different types of detector and ( N g , n a , M ) = ( 4 , 2 , 4 ) .
Figure 4. BER performance of the OFDM-IM system with the different types of detector and ( N g , n a , M ) = ( 4 , 2 , 4 ) .
Entropy 28 00102 g004
Figure 5. BER performance of the OFDM-IM system with the different types of detector and ( N g , n a , M ) = ( 4 , 2 , 8 ) .
Figure 5. BER performance of the OFDM-IM system with the different types of detector and ( N g , n a , M ) = ( 4 , 2 , 8 ) .
Entropy 28 00102 g005
Figure 6. Training loss performance of the different types of deep learning based detector for OFDM-IM systems and ( N g , n a , M ) = ( 4 , 2 , 4 ) .
Figure 6. Training loss performance of the different types of deep learning based detector for OFDM-IM systems and ( N g , n a , M ) = ( 4 , 2 , 4 ) .
Entropy 28 00102 g006
Figure 7. Training loss performance of the different types of deep learning based detector for OFDM-IM systems and ( N g , n a , M ) = ( 4 , 2 , 8 ) .
Figure 7. Training loss performance of the different types of deep learning based detector for OFDM-IM systems and ( N g , n a , M ) = ( 4 , 2 , 8 ) .
Entropy 28 00102 g007
Table 1. Simulation and experimental configuration.
Table 1. Simulation and experimental configuration.
Configuration ItemValue
Computing PlatformDesktop computer (MSI)
ProcessorIntel i7-11700 @ 2.5 GHz
Memory64 GB
Graphics CardNVIDIA RTX 3090/24 GB
Programming LanguagePython 3.10
Deep Learning FrameworkPyTorch 1.12.0 (CUDA 11.3)
Model ParametersLearning rate = 0.0003, Epochs = 50
Channel ModelRayleigh fading channel
Performance MetricBER
Table 2. Comparison of time complexity of the detectors.
Table 2. Comparison of time complexity of the detectors.
( N g , n a , M ) DNN-IMTransEnc-IMFullTrans-IMZF
(4, 2, 4)0.031 s0.324 s0.835 s9.097 s
(4, 2, 8)0.041 s0.473 s0.899 s10.523 s
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, L.; Tong, Z.; Wang, K.; Xie, J.; Peng, X.; Li, B.; Li, J.; Zeng, X.; Zhan, J.; Chen, R. A Transformer–LSTM Hybrid Detector for OFDM-IM Signal Detection. Entropy 2026, 28, 102. https://doi.org/10.3390/e28010102

AMA Style

Wang L, Tong Z, Wang K, Xie J, Peng X, Li B, Li J, Zeng X, Zhan J, Chen R. A Transformer–LSTM Hybrid Detector for OFDM-IM Signal Detection. Entropy. 2026; 28(1):102. https://doi.org/10.3390/e28010102

Chicago/Turabian Style

Wang, Leijun, Zian Tong, Kuan Wang, Jinfa Xie, Xidong Peng, Bolong Li, Jiawen Li, Xianxian Zeng, Jin Zhan, and Rongjun Chen. 2026. "A Transformer–LSTM Hybrid Detector for OFDM-IM Signal Detection" Entropy 28, no. 1: 102. https://doi.org/10.3390/e28010102

APA Style

Wang, L., Tong, Z., Wang, K., Xie, J., Peng, X., Li, B., Li, J., Zeng, X., Zhan, J., & Chen, R. (2026). A Transformer–LSTM Hybrid Detector for OFDM-IM Signal Detection. Entropy, 28(1), 102. https://doi.org/10.3390/e28010102

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop