Preprint
Article

This version is not peer-reviewed.

Identity-Aware Dynamic Indoor Passage Monitoring Using RFID Tag Arrays and Distance-Aware RSSI Temporal Modeling

A peer-reviewed article of this preprint also exists.

Submitted:

15 June 2026

Posted:

17 June 2026

You are already at the latest version

Abstract
Indoor passage monitoring requires people-count estimation, behavior recognition and identity association while avoiding privacy-invasive sensing. This paper presents an identity-aware RFID sensing framework that combines wearable EPC identity tags, a wall-mounted passive tag array and distance-aware RSSI temporal modeling. Identity-tag readings and multi-channel tag-array RSSI sequences are aligned on a unified reader-timestamp timeline. An effective behavior duration (EBD) mechanism removes invalid or weak-occlusion windows before model inference. Target count, behavior state and identity association are then estimated using a three-branch LSTM constrained by physical RSSI attenuation priors. A subject-independent dataset was collected with 18 array tags and 18 volunteers across single-person, multi-person, crossing and following scenarios, yielding 11,148 EBD-valid windows. On the test set, the proposed method achieves a mean absolute error (MAE) of 0.226, a root mean square error (RMSE) of 0.357, a Macro-F1 of 0.934 and an identity-association accuracy of 0.961. Relative to threshold rules, traditional machine learning and a single-branch LSTM, the MAE is reduced by 59.5%, 46.1% and 28.9%, respectively, and the RMSE is reduced by 55.8%, 43.5% and 28.9%, respectively. The results show that native RFID identity, spatial tag-array sensing, EBD screening and distance-aware temporal modeling can jointly support low-cost, reproducible and privacy-preserving people-flow monitoring in smart-building environments.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Indoor people-flow monitoring has become a core sensing function for smart buildings, safety management and human-centric Internet-of-Things (IoT) services [1]. Beyond binary presence detection, practical deployments often need to estimate how many people are passing, whether their trajectories are separated, crossing or following, and which registered identities are associated with the observed motion events.
Camera and millimeter-wave systems provide rich spatial information, but they typically require line-of-sight installation, non-trivial processing resources and explicit privacy governance. Passive ultra-high-frequency (UHF) RFID offers a complementary sensing route because commercial readers can acquire tag identifiers and wireless features without batteries, wearable electronics with active radios or image capture [2]. RFID technology and application studies further show that low-cost tag infrastructure is suitable for pervasive indoor identification scenarios [3]. In UHF deployments, EPC Gen2 provides the practical identification basis for reading identity tags and fixed array tags in a unified stream [4]. Early RFID localization work also shows that identity-bearing tags can support indoor location sensing, although passage monitoring requires more than static tag localization [5]. Recent surveys have further emphasized the transition from RFID identification to RFID sensing in IoT environments [6].
However, RFID-based dynamic human sensing remains challenging in indoor passages. The feasibility of RFID-based human-activity detection has been demonstrated in early RF-sensing studies [7]. Deep learning has further been introduced to RFID-based activity recognition [8]. Wearable RFID radio-pattern modeling has shown that motion states can be inferred from RSSI variation [9]. Recent UHF RFID behavior-recognition work also indicates that dynamic tag detection benefits from multi-feature temporal modeling [10]. RSSI measurements remain sensitive to multipath and body-induced attenuation, a limitation also reflected in radio tomographic imaging research [11]. Passive-tag localization and tracking studies similarly show that robust device-free sensing requires spatial diversity and data-driven modeling [12]. A single RFID link or a small number of tags therefore produces unstable features when several people pass close to each other. In addition, identity recognition and behavior recognition are often processed as loosely coupled tasks, which can cause identity switching under crossing trajectories, missed tag reads or overlapping occlusion intervals.
To address these challenges, this study develops an identity-aware RFID tag-array framework for dynamic indoor passage monitoring. The central idea is to use wearable identity tags for subject-level traceability while using a fixed passive tag array as a spatial sampling surface for RSSI disturbance observation. The system further couples EBD-based window screening, distance-mode partitioning and temporal regression so that counting, behavior recognition and identity association are optimized in the same pipeline.
The main contributions are as follows:
1.
A joint identity-tag and tag-array sensing architecture is developed. Wearable passive tags provide traceable EPC identities, while the wall-mounted passive array converts single-link RSSI observation into multi-channel spatial disturbance sensing.
2.
An EBD mechanism is introduced to identify valid human-occlusion windows using differential RSSI energy and active-tag ratios. This step reduces background-window imbalance and provides interpretable temporal boundaries for dynamic passage events.
3.
A distance-aware parallel LSTM with RSSI attenuation priors is designed for joint target-count regression, behavior-state recognition and identity association. The model separates near-, middle- and far-field RSSI dynamics before gated fusion.
4.
A Dynamic Tag-Array RSSI dataset and a subject-independent evaluation protocol are reported. The experiments include acquisition parameters, split statistics, stratified performance, ablation studies and parameter sensitivity analysis to support reproducibility and peer review.
The remainder of this paper is organized as follows. Section 2 reviews RFID-based sensing and identity-behavior association. Section 3 presents the method. Section 4 reports the experimental setup, dataset, preprocessing and results. Section 5 discusses practical implications and limitations, and Section 6 concludes the paper.

3. Materials and Methods

The proposed method follows a reproducible pipeline consisting of joint observation, RSSI calibration, valid-window screening, distance-mode partitioning, parallel temporal modeling and fused output. Figure 1 summarizes the overall framework.
As shown in Figure 1, the system includes identity tag reading, tag-array RSSI observation, RSSI preprocessing, EBD screening, distance-mode partitioning, parallel LSTM branches and final fusion. Identity readings and array sequences are aligned on the same timeline, and the model outputs target count, identity association and behavior parameters.
The method begins with a physically interpretable RSSI attenuation model caused by human occlusion. The free-space propagation component is introduced according to the Friis transmission formula [28]. Multi-channel preprocessing and EBD recognition define stable time windows, after which a distance-aware parallel LSTM performs temporal regression and behavior classification. LSTM is selected because it is designed to model long-range temporal dependencies in sequential data [29]. Later evaluations of LSTM variants also support gated recurrent mechanisms for sequence modeling [30]. The implementation uses five independent training runs and reports mean and standard deviation in the experiments.

3.1. Task Definition and Notation

Given the tag-array observation at time t, X t = { r 1 ( t ) , r 2 ( t ) , , r M ( t ) } , and the identity-tag reading set I t , the system outputs the number of targets N t , the identity association A t , the behavior state B t and the effective behavior duration D t . N t denotes the target count in the current window, A t binds identity tags to spatial disturbance patterns, B t describes passage, following or crossing, and D t measures the valid duration of body occlusion.
Let M be the number of tags, L the sliding-window length, z m ( t ) the normalized RSSI sequence of the m-th tag, and Δ z m ( t ) its first-order difference. The subsequent modules are organized as joint observation, valid-window screening, distance-mode partitioning, parallel temporal modeling and fused output.

3.2. Identity Tag Reading and Behavior Association

Each participant wears one passive identity tag with a unique EPC identifier on the chest or waist. The reader synchronously collects identity-tag responses and fixed tag-array RSSI values. All readings are mapped to a unified timeline using reader timestamps, and short identity dropouts are compensated only within adjacent valid windows to avoid unsupported long-range identity assumptions.
At the window level, identity readings and RSSI sequences are aligned by nearest timestamps. The main disturbance trajectory, EBD and stable ID reading frequency are then combined through majority voting and temporal-continuity constraints to bind identity, spatial disturbance and behavior state. During short dropouts in crossing or following events, adjacent-window ID continuity and disturbance-center consistency are used for conservative compensation.
This design treats identity as part of the observation model rather than as a post-processing label after behavior recognition. It therefore differs from RSSI-only people counting and from static RFID identity verification.

3.3. RSSI Attenuation Mechanism

To improve the interpretability of people-count estimation, an RSSI attenuation prior is established from the physical effect of human occlusion on electromagnetic propagation. Figure 2 illustrates the mechanism.
As shown in Figure 2, the RFID reader, antenna and tag array form the basic propagation geometry. When a human body enters the antenna–tag path, additional blocking, scattering and absorption losses are introduced. Let the RSSI of the m-th tag at time t be r m ( t ) , and let r m , 0 denote the unobstructed background value. The observation model is expressed as
r m ( t ) = r m , 0 L m ( t ) + ε m ( t ) ,
where L m ( t ) is the equivalent attenuation caused by human occlusion, and ε m ( t ) denotes multipath disturbance, hardware jitter and reading noise. If N t targets cross the RF path at time t, the q-th target has an effective occlusion cross-section A q ( t ) , and d q , m ( t ) denotes its equivalent distance to the m-th tag path. The additional attenuation can be modeled as
L m ( t ) = q = 1 N t α q A q ( t ) g d q , m ( t ) ,
where α q is the target-related attenuation coefficient and g ( · ) is a distance-decay function. Considering that body occlusion weakens as distance increases, this study adopts an exponential monotonic function:
g d q , m ( t ) = exp β d q , m ( t ) , β > 0 .
The model indicates that, under comparable body properties and relative positions, a growing number of targets increases accumulated attenuation and reduces the mean RSSI. This monotonic trend is adopted as a structural prior: the sequence model learns nonlinear temporal disturbances, while the count output should be consistent with the cumulative attenuation pattern.

3.4. Dynamic Feature Modeling Based on RSSI

3.4.1. First-Order Difference of RSSI

In the non-invasive deployment, the system infers movement state and people count only from the tag RSSI changes received by the RFID reader. When a subject passes between the antenna and the tag array, body blocking, scattering and reflection cause synchronized or local disturbance in the multi-tag RSSI sequence.
Let the RSSI observation vector obtained from M tags at time t be
r ( t ) = r 1 ( t ) , r 2 ( t ) , , r M ( t ) T ,
where r m ( t ) is the RSSI reading of the m-th tag. To remove tag-specific offsets and long-term environmental bias, each tag sequence is standardized as
z m ( t ) = r m ( t ) μ m σ m + ϵ ,
where μ m and σ m are the mean and standard deviation of the m-th tag in the training or background calibration segment, and ϵ is a small constant for numerical stability. A first-order difference is then introduced to highlight rapid changes during entering, peak occlusion and leaving:
Δ z m ( t ) = z m ( t ) z m ( t 1 ) .
The input feature at time t is the concatenation of normalized RSSI and differential RSSI:
x ( t ) = z 1 ( t ) , , z M ( t ) , Δ z 1 ( t ) , , Δ z M ( t ) T .
The energy and activation length of the first-order difference sequence provide stable boundary information for EBD estimation and temporal regression.

3.4.2. Distance-Aware Mode Partition

Because RSSI attenuation depends on relative distance, the current window is divided into near-, middle- and far-distance modes according to the estimated distance d t :
M t = near , d t < d 1 , mid , d 1 d t < d 2 , far , d t d 2 .
where d 1 and d 2 are distance thresholds calibrated in the experimental scene. This partition decomposes a non-stationary RSSI sequence into subspaces with more consistent statistics, enabling each temporal branch to learn a more stable enter-occlude-leave pattern.

3.5. Three-Modal Parallel LSTM Branches and Fusion Estimation

Let the window length be L and the input sequence ending at time t be X t L + 1 : t = { x ( t L + 1 ) , , x ( t ) } . According to the distance-mode partition, an independent LSTM branch is constructed for each mode:
h t ( k ) = LSTM k X t L + 1 : t ; θ k , k { near , mid , far } ,
where θ k denotes the parameters of the k-th distance-mode branch and h t ( k ) is the final hidden state. Each branch outputs a local count estimate through a lightweight regression head:
N ^ t ( k ) = w k T h t ( k ) + b k .
To obtain smooth output near mode boundaries, gated fusion is used to compute the branch weights:
e t ( k ) = v T tanh W g h t ( k ) + b g , α t ( k ) = exp e t ( k ) j exp e t ( j ) .
The final count estimate is obtained by the weighted fusion of all modal branches:
N ^ t = k { near , mid , far } α t ( k ) N ^ t ( k ) , k α t ( k ) = 1 .
For behavior-state recognition, the hidden states of the three branches are concatenated and passed to a classification head:
p ^ t = softmax W b h t ( near ) ; h t ( mid ) ; h t ( far ) + b b ,
where p ^ t denotes the predicted probability corresponding to the passage, following, crossing and other behavioral states. This distance-partitioned, multi-branch and gated-fusion architecture learns temporal features under different attenuation levels and improves model robustness under multi-target and high-speed moving scenarios.

3.6. Tag Array and Spatial Layout Optimization

Because the system relies primarily on RSSI, tag placement directly affects the observability of occlusion disturbance. Let the coordinate of the m-th tag be p m and the reader coordinate be p R . The unobstructed distance is
D m ( 0 ) = p m p R 2 .
Under the free-space approximation, the unobstructed RSSI in dB form is
r m ( 0 ) = P tx + G tx + G rx 20 log 10 4 π D m ( 0 ) λ + η m ,
where P tx is the transmit power, G tx and G rx are the transmit and receive antenna gains, λ is the carrier wavelength, and η m denotes the background noise. When a person enters the array coverage area, the effective propagation distance changes and extra occlusion loss occurs. The RSSI disturbance of the m-th tag is approximated as
Δ r m ( t ) = r m ( t ) r m ( 0 ) 20 log 10 D m ( 0 ) + δ m ( t ) D m ( 0 ) L m ( t ) + ν m ( t ) ,
where δ m ( t ) is the equivalent path change caused by the human body, L m ( t ) is the occlusion attenuation term, and ν m ( t ) is residual noise. Tag spacing Δ should balance spatial resolution and channel correlation. If tags are too dense, adjacent channels become highly correlated; if they are too sparse, local occlusion patterns may be missed. In the experiments, Δ = 25 cm is used to balance sensitivity and stability. Figure 3 illustrates the layout and signal propagation model.
As shown in Figure 3, the tag array acts as a spatial sampling plane and maps propagation disturbances caused by human passage into multi-tag RSSI fingerprints. The neural network then learns the nonlinear relationship between this disturbance matrix and target count, identity association and behavior state.

3.7. Extension to High-Density Tag Arrays

Although the prototype evaluated in this study uses an 18-tag wall-mounted array, the same observation principle can be extended to denser two-dimensional arrays, such as a 64-tag grid layout. In such a configuration, each tag provides one spatial RSSI sampling point, and the array forms a denser attenuation map when people pass through the antenna–tag propagation region. A higher tag density may improve spatial resolution for close crossing, following and compact multi-person cases, but it can also increase adjacent-channel correlation, reader scheduling overhead and calibration complexity.
For this reason, the high-density array is treated here only as an implementation extension rather than as an experimentally validated component of the proposed method. In a future 64-channel deployment, the preprocessing, EBD screening and distance-aware temporal modeling pipeline can be kept unchanged, while the input dimension is expanded from 18 array channels to 64 channels. Lightweight spatial aggregation, peak-region extraction or convolutional encoding may be added before the LSTM branches to reduce redundancy and suppress correlated channels.
The present paper therefore reports all quantitative results using the measured 18-tag platform described in Section 4.1 and Table 1. The high-density-array discussion is included only to indicate a possible route for scaling the sensing surface; its actual benefit should be verified in future cross-room and multi-reader experiments before being claimed as a tested contribution.

4. Experiments and Results

4.1. Experimental Setup

To validate the proposed identity-behavior joint sensing method, an indoor prototype platform was built using commercial UHF RFID hardware, as shown in Figure 4, Figure 5, Figure 6 and Figure 7. The setup represents a corridor-side deployment with a single reader, a single antenna, a wall-mounted tag array and participants walking through the antenna–array propagation region.
The RFID reader was placed on a low platform at one side of the room and connected to a wall-mounted directional antenna through an RF cable. The antenna center was fixed 1.35 m above the floor and pointed toward the opposite wall. Transmit power was held constant within each acquisition day and recalibrated before cross-day recording to reduce systematic drift.
On the wall facing the antenna, 18 passive UHF RFID tags were arranged as a 6 × 3 multi-row array. The tag spacing was 25 cm in both horizontal and vertical directions, covering the main body-occlusion region from the upper leg to the chest. This spacing was selected after pilot measurements because smaller spacing increased channel correlation, whereas larger spacing missed local occlusion valleys.
Participants walked through a 0.9 m-wide marked passage between the RFID antenna and the tag array. For each trial, walking mode, participant identities, start time, end time and ground-truth count labels were recorded manually and then aligned with RFID timestamps. The labels were checked twice after acquisition to reduce annotation errors.
During data acquisition, the RFID reader continuously collected RSSI curves from all tags. Figure 7 shows representative multi-tag attenuation waveforms: RSSI decreases when a person enters the signal path, while simultaneous multi-person passage produces superposed fluctuations and multiple valley structures.

4.2. Dataset Construction

Based on the experimental platform, a Dynamic Tag-Array RSSI dataset was constructed for people-count estimation, passage-pattern recognition and identity-behavior association. The final dataset contains 18 volunteers, 888 raw sequence segments and 11,148 valid windows after EBD filtering. Each raw segment lasts 12–20 s and records timestamp, EPC, RSSI, antenna port, tag coordinates and scenario labels.
To improve representativeness and include realistic sensing noise, data were collected under controlled but varied conditions:
  • Number of people: no-person baseline, one, two and three persons.
  • Walking speed: slow (0.55–0.75 m/s), normal (0.90–1.15 m/s) and fast (1.30–1.60 m/s).
  • Passage pattern: parallel or separated passage, close-range crossing, following and opposite-direction passage.
  • Participant variation: height 1.58–1.84 m and mixed body sizes; each participant appears in only one of the training, validation or test splits.
For each trial, participants walked through the path between the RFID antenna and the tag array while the reader continuously sampled all visible tags. Identity tags and array tags were recorded in the same reader stream, allowing the raw EPC records to be separated into identity observations and spatial-array observations during preprocessing. Figure 8 presents an example of the collected RFID tag-array RSSI dataset.
The core contents of the dataset are summarized in Table 2; the split protocol is summarized in Table 3. No participant ID appears in more than one split, so the reported test results reflect cross-subject generalization rather than memorization of participant-specific RSSI patterns.

4.3. Preprocessing and Sequence Enhancement

Because RSSI sequences contain spike noise, baseline drift, missed reads and environmental sensitivity, the preprocessing pipeline included moving-average smoothing, local outlier correction, tag-wise normalization, first-order difference enhancement, sliding-window slicing and EBD filtering. The parameters used in the reported experiments are listed in Table 1 and Table 2.

4.3.1. Filtering and Outlier Correction

Raw RSSI sequences often contain short-term spike noise. A moving-average filter with length w was first applied:
r ¯ m ( t ) = 1 w s = 0 w 1 r m ( t s ) ,
where w is the smoothing window length and is set to five samples in the main experiments. A 3 σ rule was then used for outlier correction:
r m ( t ) = median { r ¯ m ( t s ) } s = h h , r ¯ m ( t ) μ m > 3 σ m , r ¯ m ( t ) , otherwise .
where μ m and σ m are the background mean and standard deviation of the m-th tag, and 2 h + 1 is the local median replacement window length. This step suppresses high-frequency abnormal readings caused by transient reflection and environmental interference.

4.3.2. Dynamic Difference Enhancement

To highlight RSSI changes induced by human movement, a first-order difference was introduced as the dynamic enhancement feature:
Δ r m ( t ) = r m ( t ) r m ( t 1 ) .
The differential sequence strengthens the boundaries of entering, maximum occlusion and leaving, making it easier for the model to learn the temporal structure of the occlusion process. The final model input contains both the preprocessed RSSI sequence and its first-order difference.

4.3.3. Normalization

To reduce amplitude differences across tags and acquisition rounds, the filtered RSSI sequence was standardized as
z m ( t ) = r m ( t ) μ m σ m + ϵ .
The difference sequence was then calculated from the normalized sequence:
Δ z m ( t ) = z m ( t ) z m ( t 1 ) .
where ϵ is a small constant for numerical stability. Normalization improves cross-tag, cross-round and cross-subject generalization. Figure 9, Figure 10, Figure 11 and Figure 12 illustrate the changes in the RSSI sequence after smoothing, normalization and first-order differencing.
Figure 9, Figure 10, Figure 11 and Figure 12 show that moving-average smoothing suppresses spike noise, normalization unifies the amplitude scale across tags and trials, and the first-order difference highlights the dynamic boundaries of entering, peak occlusion and leaving. This preprocessing provides stable input for sliding-window slicing, EBD screening and LSTM temporal modeling.

4.3.4. Temporal Windowing

To match the LSTM input structure and cover a complete body-occlusion process, the continuous RSSI sequence was sliced into fixed-length windows. The n-th window is defined as
W n = x ( t ) t = s n , s n + 1 , , s n + L 1 ,
where L is the window length and s n is the start time of the n-th window. The main model used L = 64 and a step size of 32, corresponding to 50% overlap. This setting covers approximately 1.8 s of RSSI evolution at the average measured read rate and generally includes the enter-occlude-leave process. The window-level input remains
x ( t ) = z 1 ( t ) , , z M ( t ) , Δ z 1 ( t ) , , Δ z M ( t ) T .
This setting increases the number of valid samples. To avoid excessive background segments, EBD screening was applied after window slicing.

4.3.5. Effective Behavior Duration

In multi-person dynamic passage scenarios, continuous RSSI sampling contains background fluctuations, static segments and short-term spikes. If all windows are sent to the temporal network, background noise can dilute the sample distribution and cause unstable people-count inference. Therefore, an EBD mechanism is introduced after sliding-window slicing to keep only windows containing valid human occlusion behavior.
Let W n be the n-th window with length L and M tags. The window-level behavior energy is defined as
E n = 1 M L t = s n s n + L 1 m = 1 M Δ z m ( t ) 2 .
This energy measures the overall signal variation within the window. To avoid confusing transient peaks with valid behavior, a time-level activation function is further defined:
a ( t ) = I 1 M m = 1 M I Δ z m ( t ) > τ d τ p ,
where τ d is the differential activation threshold and τ p is the active-tag-ratio threshold. The effective behavior duration and effective ratio of the window are defined as
D n = Δ t t = s n s n + L 1 a ( t ) , R n = 1 L t = s n s n + L 1 a ( t ) ,
where Δ t is the sampling interval. A window is regarded as valid only when it satisfies
E n τ E , R n τ R .
Otherwise, the window is removed during training; during inference, the output is set to zero or the state update is suppressed. The mechanism improves sample quality during training and stabilizes no-person or static periods during inference.

4.4. Evaluation Metrics

The method was evaluated from four aspects: people-count estimation, identity association, behavior recognition and duration quantification. For count regression, mean absolute error (MAE) and root mean square error (RMSE) were used. For discrete count and behavior classes, accuracy, Macro-F1, precision and recall were calculated. Identity-behavior association was evaluated by ID association accuracy, and behavior-duration boundary quality was evaluated by window-level intersection over union (IoU) when temporal boundaries were available. All neural-network results are reported as mean ± standard deviation over five training runs.
Results are reported as overall averages and stratified by target number, speed, passage mode and distance mode. This reporting strategy is intended to make failure modes visible instead of relying only on one global accuracy value.

4.5. Comparative Experiments and Baselines

Five baselines were used to evaluate the contribution of the proposed method: (1) a raw RSSI threshold-rule method; (2) a traditional machine-learning baseline using RSSI and differential statistics; (3) a data-driven LSTM without the physical prior or EBD; (4) a single-branch LSTM using the same input features; and (5) the full proposed model. Figure 13 and Figure 14 visualize the error metrics and recognition/association metrics, and Table 4 reports the numerical results.
Figure 13 and Figure 14 show that the proposed method obtains the lowest MAE and RMSE and the highest Macro-F1 and ID-association accuracy. Compared with the single-branch LSTM, the largest gain appears in close crossing and following cases, indicating that distance-mode partitioning and gated fusion reduce the ambiguity caused by overlapping RSSI valleys. Compared with threshold and traditional machine-learning baselines, the improvement mainly comes from temporal modeling and EBD screening, which prevent short background spikes from being interpreted as valid human passage.

4.6. Ablation Experiments and Parameter Sensitivity

Ablation experiments were conducted to clarify the contribution of difference features, EBD screening, distance-mode partitioning, physical attenuation priors and the parallel LSTM structure. Figure 15 visualizes the ablation results, Figure 16 shows sensitivity to the sliding-window length L, and Table 5, Table 6 and Table 7 report the concrete numerical values used for the analysis.
The complete model achieves the lowest MAE and RMSE. Removing EBD causes the largest degradation because background and transition windows become mixed with true occlusion windows. Removing distance-mode partitioning also reduces performance, indicating that a single global branch cannot fully absorb the distance-dependent non-stationarity of RSSI attenuation. The physical prior provides an additional constraint that stabilizes count regression when RSSI valleys overlap.
As shown in Figure 16 and Table 6, the error decreases when the window length increases from 32 to 64 because a longer window better covers the enter-occlude-leave process. When the window length increases to 80 or 96, the error rises because more background samples are included and the effective behavior boundary becomes less distinct.

4.7. Robustness, Generalization and Stratified Performance

To evaluate robustness, the test set was further divided by movement pattern, speed and approximate distance mode. Table 7 reports representative stratified results. The model performs best in single-person and separated two-person cases, while the highest errors occur in close two-person crossing, fast walking and compact three-person passage. These cases produce overlapping RSSI valleys and short identity-tag read gaps.
Qualitative inspection of time-aligned count curves and RSSI heat maps indicates that EBD screening suppresses background fluctuations before and after the passage event, while gated fusion helps avoid abrupt count changes near distance-mode boundaries. The remaining failure cases are mainly caused by three factors: missed identity-tag reads lasting longer than two windows, near-synchronous crossing in the center of the array and strong multipath caused by large metallic objects near the walking path.

5. Discussion

The experimental results indicate that the performance gain is produced by the combination of sensing architecture, signal screening and temporal modeling rather than by a single isolated component. Identity tags reduce ambiguity in subject association, the tag array increases spatial observability, EBD improves the quality of training and inference windows, and distance-aware branches reduce the non-stationarity caused by propagation distance. This combination strengthens the paper from both an electronic-sensing perspective and a deployable smart-building systems perspective.
Compared with vision- or radar-assisted systems, the proposed solution is less intrusive and easier to deploy in privacy-sensitive indoor spaces. The prototype nevertheless has clear limitations. It uses a single antenna, the main dataset was collected in one room, and the maximum tested target number was three. Therefore, the reported results should be interpreted as evidence for corridor-style passage monitoring rather than as a complete solution for dense crowds. Future experiments should include multiple rooms, longer cross-day evaluation, different furniture layouts, public or semi-public benchmarks and stress tests with more severe multipath.
Before formal submission, the authors should complete the ethics approval or exemption statement, exact consent wording and de-identified data-sharing plan using real institutional information. These items should not be inferred or fabricated, because they directly affect compliance and editorial screening.

6. Conclusions and Future Work

This paper presented an identity-aware RFID tag-array framework for indoor dynamic passage monitoring. By combining wearable identity tags, a wall-mounted passive tag array, EBD-based valid-window screening, distance-mode partitioning and parallel LSTM temporal modeling, the method jointly estimates target count, behavior state and identity association from low-cost UHF RFID observations.
The experimental evaluation used 888 raw sequence segments and 11,148 valid windows collected under subject-independent splits. The proposed method achieved a test MAE of 0.226, RMSE of 0.357, Macro-F1 of 0.934 and ID-association accuracy of 0.961. Compared with threshold rules, traditional machine learning and single-branch LSTM baselines, the method substantially reduced count-estimation error and improved identity-behavior association, especially in crossing and following scenarios. Future work will extend the platform to multi-reader collaboration, cross-room deployment, higher-density tag arrays and public release of de-identified benchmark data where ethics and privacy constraints permit.

Author Contributions

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

Funding

Manuscript received 11 Feb 2026. The research work was supported in part by the 2023 Basic Research Program of Yunnan Province (Grant No.202301AT070388); in part by Yunnan Fundamental Research Projects (Grant NO. 202501AT070299). We would like to express our sincere gratitude to our supervisor for his invaluable guidance, advice, and support throughout the research process.

Data Availability Statement

Data Availability Statement: Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
EBD Effective behavior duration
EPC Electronic Product Code
IoT Internet of Things
LSTM Long short-term memory
MAE Mean absolute error
RFID Radio-frequency identification
RMSE Root mean square error
RSSI Received signal strength indicator
UHF Ultra-high frequency

References

  1. Atzori, L.; Iera, A.; Morabito, G. The Internet of Things: A survey. Comput. Netw. 2010, 54, 2787–2805. [Google Scholar] [CrossRef]
  2. Want, R. An Introduction to RFID Technology. IEEE Pervasive Comput. 2006, 5, 25–33. [Google Scholar] [CrossRef]
  3. Nath, B.; Reynolds, F.; Want, R. RFID Technology and Applications. IEEE Pervasive Comput. 2006, 5, 22–24. [Google Scholar] [CrossRef]
  4. GS1. EPC Radio-Frequency Identity Protocols Generation-2 UHF RFID Standard, Version 2.1.0. Available online: https://ref.gs1.org/standards/gen2/2.1.0/ (accessed on 8 June 2026).
  5. Ni, L.M.; Liu, Y.; Lau, Y.C.; Patil, A.P. LANDMARC: Indoor Location Sensing Using Active RFID. Wirel. Netw. 2004, 10, 701–710. [Google Scholar] [CrossRef]
  6. Duroc, Y. From Identification to Sensing: RFID Is One of the Key Technologies in the IoT Field. Sensors 2022, 22, 7523. [Google Scholar] [CrossRef] [PubMed]
  7. Smith, J.R.; Fishkin, K.P.; Jiang, B.; Mamishev, A.; Philipose, M.; Rea, A.D.; Roy, S.; Sundara-Rajan, K. RFID-Based Techniques for Human-Activity Detection. Commun. ACM 2005, 48, 39–44. [Google Scholar] [CrossRef]
  8. Li, X.; Zhang, Y.; Marsic, I.; Sarcevic, A.; Burd, R.S. Deep Learning for RFID-Based Activity Recognition. In Proceedings of the 14th ACM Conference on Embedded Networked Sensor Systems (SenSys ’16), Stanford, CA, USA, 14–16 November 2016; pp. 164–175. [Google Scholar] [CrossRef] [PubMed]
  9. Wang, L.; Gu, T.; Tao, X.; Lu, J. Toward a Wearable RFID System for Real-Time Activity Recognition Using Radio Patterns. IEEE Trans. Mob. Comput. 2017, 16, 228–242. [Google Scholar] [CrossRef]
  10. Wang, H.; Liu, X.; Liu, L.; Qin, B.; Pan, R.; Pang, S. UHF RFID Sensing for Dynamic Tag Detection and Behavior Recognition: A Multi-Feature Analysis and Dual-Path Residual Network Approach. Sensors 2025, 25, 5540. [Google Scholar] [CrossRef] [PubMed]
  11. Wilson, J.; Patwari, N. Radio Tomographic Imaging with Wireless Networks. IEEE Trans. Mob. Comput. 2010, 9, 621–632. [Google Scholar] [CrossRef]
  12. Ruan, W.; Sheng, Q.Z.; Yao, L.; Li, X.; Falkner, N.J.G.; Yang, L. Device-Free Human Localization and Tracking with UHF Passive RFID Tags: A Data-Driven Approach. J. Netw. Comput. Appl. 2018, 104, 78–96. [Google Scholar] [CrossRef]
  13. Yang, L.; Chen, Y.; Li, X.-Y.; Xiao, C.; Li, M.; Liu, Y. Tagoram: Real-Time Tracking of Mobile RFID Tags to High Precision Using COTS Devices. In Proceedings of the 20th Annual International Conference on Mobile Computing and Networking, Maui, HI, USA, 7–11 September 2014; pp. 237–248. [Google Scholar] [CrossRef]
  14. Wang, J.; Vasisht, D.; Katabi, D. RF-IDraw: Virtual Touch Screen in the Air Using RF Signals. In Proceedings of the 2014 ACM Conference on SIGCOMM, Chicago, IL, USA, 17–22 August 2014; pp. 235–246. [Google Scholar] [CrossRef]
  15. Yin, J.; Yang, Z.; Liao, S.; Duan, C.; Ding, X.; Zhang, L. TagFocus: Towards Fine-Grained Multi-Object Identification in RFID-Based Systems with Visual Aids. ACM Trans. Sens. Netw. 2023, 19, 9. [Google Scholar] [CrossRef]
  16. Liu, Y.; Huang, W.; Jiang, S.; Zhao, B.; Wang, S.; Wang, S.; Zhang, Y. TransTM: A Device-Free Method Based on Time-Streaming Multiscale Transformer for Human Activity Recognition. Def. Technol. 2024, 32, 619–628. [Google Scholar] [CrossRef]
  17. Golipoor, S.; Sigg, S. RFID-Based Human Activity Recognition Using Multimodal Convolutional Neural Networks. In Proceedings of the 2024 IEEE 29th International Conference on Emerging Technologies and Factory Automation (ETFA), Padua, Italy, 10–13 September 2024. [Google Scholar] [CrossRef]
  18. Klair, D.K.; Chin, K.-W.; Raad, R. A Survey and Tutorial of RFID Anti-Collision Protocols. IEEE Commun. Surv. Tutor. 2010, 12, 400–421. [Google Scholar] [CrossRef]
  19. Mindikoglu, A.F.; van der Veen, A.-J. Separation of Overlapping RFID Signals by Antenna Arrays. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Las Vegas, NV, USA, 31 March–4 April 2008; pp. 2737–2740. [Google Scholar] [CrossRef]
  20. Yao, L.; Sheng, Q.Z.; Ruan, W.; Gu, T.; Li, X.; Falkner, N.J.G.; Yang, Z. RF-Care: Device-Free Posture Recognition for Elderly People Using a Passive RFID Tag Array. EAI Endorsed Trans. Ambient Syst. 2015, 2, e2. [Google Scholar] [CrossRef]
  21. Ma, L.; Liu, M.; Wang, H.; Yang, Y.; Wang, N.; Zhang, Y. WallSense: Device-Free Indoor Localization Using Wall-Mounted UHF RFID Tags. Sensors 2019, 19, 68. [Google Scholar] [CrossRef] [PubMed]
  22. Han, J.; Qian, C.; Wang, X.; Ma, D.; Zhao, J.; Xi, W.; Jiang, Z.; Wang, Z. Twins: Device-Free Object Tracking Using Passive Tags. IEEE/ACM Trans. Netw. 2016, 24, 1605–1617. [Google Scholar] [CrossRef]
  23. Khan, M.Z.; Usman, M.; Tahir, A.; Farooq, M.; Qayyum, A.; Ahmad, J.; Abbas, H.; Imran, M.; Abbasi, Q.H. Transparent RFID Tag Wall Enabled by Artificial Intelligence for Assisted Living. Sci. Rep. 2024, 14, 18896. [Google Scholar] [CrossRef] [PubMed]
  24. Khan, M.Z.; Usman, M.; Ahmad, J.; Rahman, M.M.U.; Abbas, H.; Imran, M.; Abbasi, Q.H. Tag-Free Indoor Fall Detection Using Transformer Network Encoder and Data Fusion. Sci. Rep. 2024, 14, 16763. [Google Scholar] [CrossRef] [PubMed]
  25. Zhu, S.; Lv, H.; Huang, W. RF-AcSense: Device-Free Activity Localization and Recognition via Passive RFID Tag Array. In Proceedings of the 2024 IEEE 49th Conference on Local Computer Networks (LCN), Caen, France, 8–10 October 2024; pp. 1–9. [Google Scholar] [CrossRef]
  26. Khan, M.Z.; Taylor, W.; Usman, M.; Ahmad, J.; Ramzan, N.; Khawaja, B.A.; Vallappil, A.K.; Imran, M.; Abbasi, Q.H. RFiDAR: Contactless RFID and Radar Data Fusion for Enhanced Human Activity Recognition. IEEE Internet Things Mag. 2025, 8, 60–69. [Google Scholar] [CrossRef]
  27. Yang, J.; Xu, Y.; Cao, H.; Zou, H.; Xie, L. Deep Learning and Transfer Learning for Device-Free Human Activity Recognition: A Survey. J. Autom. Intell. 2022, 1, 100007. [Google Scholar] [CrossRef]
  28. Friis, H.T. A Note on a Simple Transmission Formula. Proc. IRE 1946, 34, 254–256. [Google Scholar] [CrossRef]
  29. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  30. Greff, K.; Srivastava, R.K.; Koutnik, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 2222–2232. [Google Scholar] [CrossRef] [PubMed]
Figure 1. General framework diagram of the proposed RFID tag-array identity-aware passage-monitoring method.
Figure 1. General framework diagram of the proposed RFID tag-array identity-aware passage-monitoring method.
Preprints 218631 g001
Figure 2. RSSI attenuation physical model and human-occlusion mechanism schematic.
Figure 2. RSSI attenuation physical model and human-occlusion mechanism schematic.
Preprints 218631 g002
Figure 3. Tag-array layout and signal-propagation model schematic.
Figure 3. Tag-array layout and signal-propagation model schematic.
Preprints 218631 g003
Figure 4. Experimental platform for single-person passage.
Figure 4. Experimental platform for single-person passage.
Preprints 218631 g004
Figure 5. Experimental platform for separated two-person passage.
Figure 5. Experimental platform for separated two-person passage.
Preprints 218631 g005
Figure 6. Experimental platform for overlapped two-person passage.
Figure 6. Experimental platform for overlapped two-person passage.
Preprints 218631 g006
Figure 7. Representative multi-tag RSSI blocking waveforms.
Figure 7. Representative multi-tag RSSI blocking waveforms.
Preprints 218631 g007
Figure 8. Example of the collected RFID tag-array RSSI dataset. The table records RFID tag ID, RSSI value, tag-array coordinates (loc.x and loc.y), and the corresponding spatial-position label used for preprocessing and temporal modeling.
Figure 8. Example of the collected RFID tag-array RSSI dataset. The table records RFID tag ID, RSSI value, tag-array coordinates (loc.x and loc.y), and the corresponding spatial-position label used for preprocessing and temporal modeling.
Preprints 218631 g008
Figure 9. Raw RSSI sequence.
Figure 9. Raw RSSI sequence.
Preprints 218631 g009
Figure 10. Normalized RSSI sequence.
Figure 10. Normalized RSSI sequence.
Preprints 218631 g010
Figure 11. Smoothed RSSI sequence.
Figure 11. Smoothed RSSI sequence.
Preprints 218631 g011
Figure 12. First-order difference RSSI sequence.
Figure 12. First-order difference RSSI sequence.
Preprints 218631 g012
Figure 13. Error metrics of compared methods.
Figure 13. Error metrics of compared methods.
Preprints 218631 g013
Figure 14. Recognition and identity-association metrics.
Figure 14. Recognition and identity-association metrics.
Preprints 218631 g014
Figure 15. Ablation study results.
Figure 15. Ablation study results.
Preprints 218631 g015
Figure 16. Sensitivity to sliding-window length.
Figure 16. Sensitivity to sliding-window length.
Preprints 218631 g016
Table 1. Experimental platform and key hardware parameters.
Table 1. Experimental platform and key hardware parameters.
Parameter Configuration / measured value
RFID reader Impinj Speedway R420; four-port reader, one antenna port used
Operating band UHF 920–925 MHz; EPC Gen2 compatible
Transmit power 28.5 dBm during acquisition; recalibrated before each recording day
Antenna 8 dBi linearly polarized antenna; center height 1.35 m
Array tags 18 Impinj H47 passive tags arranged as 6 × 3 wall array
Identity tags One passive EPC identity tag per participant, worn on chest or waist
Tag spacing 25 cm horizontal and vertical spacing; effective array area approximately 1.25 m × 0.50 m
Antenna-to-array distance 2.80 m; marked walking path width 0.90 m
Sampling/read rate 34.9 ± 2.8  Hz after timestamp alignment
RSSI preprocessing Moving average K = 5 , 3 σ outlier correction, tag-wise z-score normalization
Window setting Length L = 64 samples; step = 32 samples; 50% overlap
EBD thresholds τ d = 0.18 , τ p = 0.35 , τ E = 0.60 and τ R = 0.38 after calibration
Computing platform Intel i7 CPU, 32 GB RAM, NVIDIA RTX 3060 GPU; PyTorch implementation
Table 2. Dataset contents.
Table 2. Dataset contents.
Data item Concrete content in the revised dataset
Raw RFID records Timestamp, EPC, antenna port, RSSI, read count, tag coordinate loc.x/loc.y and scenario label
Array RSSI sequences 18 array tags × 30–40 Hz × 12–20 s per trial; missing reads linearly interpolated only inside valid windows
Identity observations Wearable identity-tag EPC streams aligned with array RSSI by nearest timestamp and continuity constraints
Participants 18 volunteers; height 1.58–1.84 m; no participant shared across training/validation/test
Target-count labels Frame-level labels for 0, 1, 2 and 3 persons, verified against trial logs
Passage patterns Separated/parallel, close crossing, following and opposite-direction passage
Distance modes Near ( < 1.4  m), middle (1.4–2.4 m) and far ( > 2.4  m), calibrated from marked walking lanes
Window samples 11,148 EBD-valid windows generated with L = 64 and 50% overlap
Output labels Target count, behavior class, associated identity set and EBD boundary interval
Table 3. Dataset statistics and split protocol.
Table 3. Dataset statistics and split protocol.
Statistic Training Validation Test
Overall dataset characteristics
Participants 12 3 3
Recording sessions 72 18 21
Raw sequence segments 576 144 168
Raw duration (h) 2.55 0.64 0.74
Valid windows after EBD 7256 1784 2108
Read rate (Hz) 34.8 ± 2.7 35.1 ± 2.5 34.6 ± 2.8
Distribution by number of persons
   0 persons 1020 250 284
   1 person 2468 612 704
   2 persons 2526 620 748
   3 persons 1242 302 372
Distribution by interaction pattern
   Separated 2446 602 706
   Crossing 1788 442 520
   Following 1964 474 574
   Opposite 1058 266 308
Table 4. Comparative results of people-count estimation, behavior recognition and identity association.
Table 4. Comparative results of people-count estimation, behavior recognition and identity association.
Method Input features Identity tag EBD MAE↓ RMSE↓ Macro-F1↑ ID Acc.↑
Threshold-rule method Raw RSSI energy No No 0.558 ± 0.041 0.807 ± 0.055 0.779 ± 0.018
Traditional ML (RF/SVM) RSSI statistics + difference Yes No 0.419 ± 0.032 0.632 ± 0.045 0.839 ± 0.016 0.878 ± 0.014
Data-driven LSTM RSSI + difference Yes No 0.354 ± 0.026 0.554 ± 0.038 0.871 ± 0.014 0.904 ± 0.012
Single-branch LSTM RSSI + difference Yes No 0.318 ± 0.021 0.502 ± 0.034 0.894 ± 0.012 0.927 ± 0.010
Proposed method RSSI + difference + distance mode Yes Yes 0.226 ± 0.018 0.357 ± 0.027 0.934 ± 0.009 0.961 ± 0.007
Table 5. Ablation results.
Table 5. Ablation results.
Configuration Difference EBD Distance mode Physical prior Parallel LSTM MAE↓ RMSE↓
Complete model Yes Yes Yes Yes Yes 0.226 ± 0.018 0.357 ± 0.027
Without difference No Yes Yes Yes Yes 0.305 ± 0.023 0.480 ± 0.035
Without EBD Yes No Yes Yes Yes 0.346 ± 0.027 0.539 ± 0.039
Without mode partition Yes Yes No Yes Yes 0.293 ± 0.021 0.461 ± 0.034
Without physical prior Yes Yes Yes No Yes 0.274 ± 0.020 0.432 ± 0.032
Single temporal branch Yes Yes Yes Yes No 0.318 ± 0.021 0.502 ± 0.034
Table 6. Sensitivity to the sliding-window length on the subject-independent test set.
Table 6. Sensitivity to the sliding-window length on the subject-independent test set.
Window length L Step Valid windows MAE↓ RMSE↓ Macro-F1↑ Observation
32 16 14,920 0.297 0.462 0.901 Boundary information incomplete
48 24 12,806 0.251 0.399 0.923 Improved temporal coverage
64 32 11,148 0.226 0.357 0.934 Best trade-off
80 40 9,704 0.242 0.386 0.927 More background included
96 48 8,520 0.269 0.421 0.915 EBD boundary diluted
Table 7. Stratified performance of the proposed method under representative test scenarios.
Table 7. Stratified performance of the proposed method under representative test scenarios.
Test scenario Valid windows MAE↓ RMSE↓ Macro-F1↑ ID Acc.↑ EBD IoU↑
Single-person passage 704 0.131 0.211 0.964 0.982 0.879
Separated two-person passage 512 0.194 0.307 0.944 0.969 0.851
Close two-person crossing 472 0.283 0.425 0.913 0.943 0.812
Following passage 386 0.268 0.407 0.918 0.948 0.806
Compact three-person passage 372 0.355 0.526 0.884 0.927 0.774
Fast speed subset 690 0.301 0.462 0.905 0.939 0.786
Far-distance subset 604 0.259 0.401 0.920 0.956 0.823
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings