Manuscript Offprint
arXiv:2611.05049On the Learnability of Footwear Robustness: Footstep Recognition Under Unseen Conditions
Robyn Larracy, Graduate Student Member, IEEE, and Erik Scheme, Senior Member, IEEE
Abstract—Footstep patterns, captured using pressure or force-sensitive walkways during natural walking, offer a convenient and passive approach to biometric recognition. However, footwear variability poses a major challenge to practical deployment, as it impacts both the foot-sensor interface and the user's underlying gait mechanics. This study considers the particularly difficult scenario where users enroll under one fixed footwear condition but must later be recognized in arbitrary, unseen footwear. Using the StepUP-P150 dataset, we show that footwear-induced shift, while substantial and heterogeneous across individuals, contains shared structure that can be learned from a training population and transferred, zero-shot, to previously unseen users and footwear styles. We do this using BiStepNet, a novel architecture that decomposes spatial and temporal identity cues into independently trainable streams and outperforms compact 3D spatiotemporal baselines for cross-footwear recognition. We demonstrate that cross-footwear recognition performance scales systematically with the volume and diversity of footwear representation in the training set, with gains transferring to footwear styles not directly observed during training. Moreover, we show that auxiliary gait datasets with only partial modality overlap (incorporated through the architecture's decomposed design) can be leveraged to further improve robustness to unseen footwear conditions.
Index Terms—Plantar Pressure, Gait Biometrics, Footwear, Ground Reaction Forces, Center of Pressure, Conditional Shift, Domain Generalization, Covariates
I. INTRODUCTION
FOOTSTEP recognition is the identification or verification of individuals from their ground-contact signals generated during walking. Sensors embedded in floors or walkways can passively and continuously capture these signals, in the form of plantar pressure distributions or ground reaction forces, without requiring users to pause, present themselves, or remove equipment or personal items for capture. Moreover, unlike vision-based gait recognition, these sensors measure the biomechanical signals underlying gait directly rather than inferring them from video, making them inherently robust to challenges such as occlusion and viewpoint variation. These properties make footstep recognition a convenient option for physical access control and activity monitoring in environments like airports, secured offices, and other restricted facilities. Recent studies have demonstrated that footstep recognition can achieve strong performance under constrained and familiar conditions, with reported identification and verification accuracies routinely exceeding 95% in barefoot or fixed-footwear settings [1], [2], [3], [4].
Real-world deployment, however, introduces covariates that can substantially degrade this performance, with footwear posing the most significant challenge. Although some applications naturally limit footwear variation (e.g., airport security checkpoints requiring shoe removal, workplaces with mandated footwear, or short-term recognition scenarios where footwear is unchanged), many practical deployments must accommodate footwear changes between enrollment and subsequent transactions. Footwear affects the recorded signals in two compounding ways: first, by altering the foot's interface with the sensor, redistributing and filtering the plantar pressures, and second, by modifying the user's underlying gait mechanics. In some cases, these effects can be large enough to overwhelm the biometric information in the pressure signal. Zhou et al. [5] demonstrated that within-person differences across footwear conditions exceeded between-person differences within the same footwear condition, and studies consistently report large drops in performance for cross-shoe recognition relative to within-footwear recognition [6], [7], [5].
This study considers a particularly challenging cross-shoe recognition scenario, where users enroll under a single, fixed footwear condition (barefoot) but may present in arbitrary, unconstrained footwear during subsequent transactions. In this setting, footwear-robust representations generally cannot be learned from a user's own enrollment data, since 1) only one condition is available per user, and 2) retraining or adapting the model for each new enrollee is impractical at deployment scale. Instead, these representations must be learned from a separate set of training identities and generalize, zero-shot, to previously unseen users wearing (potentially) previously unseen footwear styles. While a handful of studies have explored recognition across footwear conditions, these often assume either closed-set evaluation protocols [5], [8], [6] or a small set of predefined footwear domains [9]. Consequently, it remains unclear whether footwear-robust representations learned from one group of individuals can transfer to new users and new styles alike.
Using the StepUP-P150 dataset [10], which includes high-resolution footstep pressure recordings for 150 individuals under four footwear conditions each, we investigate whether transferable footwear-robust representations can be learned for zero-shot cross-footwear recognition. To answer this question, we proceed in three parts:
- We introduce BiStepNet (Bi-stream Spatial-Temporal Pressure Network) which separately encodes spatial and temporal features using established gait representations, and show that this decomposed architecture outperforms several compact 3D spatiotemporal baselines.
R. Larracy and E. Scheme are with the Movement and Biosignals Intelligence Lab (MoBIL), University of New Brunswick, Fredericton, NB, Canada. e-mail: {rlarracy,scheme}@unb.ca.
-
We characterize the relationship between footwear representation during training and cross-footwear recognition performance, finding that performance improves systematically with additional footwear exposure and extends to footwear styles not directly represented during training.
-
We propose a multi-dataset contrastive training strategy that leverages the decomposed network design to incorporate auxiliary gait datasets with partial modality coverage, and show meaningful gains from the added diversity of identities and conditions.
Connor [8] and Zhou et al. [5] approached cross-footwear recognition by exploiting long-range temporal information and gait attributes, such as stride length and width, extracted from several consecutive footsteps during inference. Connor employed a hand-crafted feature pipeline that combined spatial and temporal footstep features with gait-level descriptors, followed by principal component analysis (PCA) and forward feature selection. Using five consecutive footsteps, the method achieved a cross-shoe rank-1 identification accuracy of 99.5% and a verification equal error rate (EER) of 11.4% on the 13-user CASIA-D dataset. Zhou et al. proposed a transformer architecture that incorporated physical and gait attributes as auxiliary prompts. Evaluated on the 200-user MFID-200 dataset, the model achieved 94.61% within-footwear (barefoot-to-barefoot) and 73.42% cross-footwear (barefoot-to-mixed-footwear) rank-1 accuracy using sequences of approximately 14 consecutive footsteps. However, both studies employed subject-dependent (closed-set) evaluation protocols in which the same identities were used for training and testing. Consequently, neither investigated whether the learned representations generalize to previously unseen users.
Wang et al. [9], by contrast, explicitly evaluated generalization to unseen identities by training with 140 users and testing with 60 held-out users. They proposed a domain-adversarial disentanglement framework that fused domain-relevant and domain-irrelevant features, achieving a cross-footwear rank-1 identification accuracy of 77.78%. However, the evaluation was restricted to two standardized footwear conditions (barefoot and a cloth shoe) that were shared across all participants. Although this setting isolates the effect of a controlled footwear change, it assumes a small, fixed set of common domains that is unlikely to represent real-world deployment, where shoes can vary continuously in style and construction.
To our knowledge, only one prior study considers the current scenario of cross-footwear recognition against a probe set of unseen identities and varied, possibly unseen footwear styles. Duncanson et al. [7] collected a force-plate dataset of 193 participants who each returned for two sessions, with 78 wearing different personal footwear between sessions. Using seven-fold cross-validation, they trained several deep network architectures with a triplet-loss metric learning approach and evaluated performance on held-out identities. Averaged across five architectures, within-footwear rank-1 accuracy ranged from 81.3% to 95.7%, while cross-footwear accuracy ranged from 68.3% to 83.2%, an average drop of 14 percentage points.
Our work adopts a similar contrastive metric-learning framework for zero-shot cross-footwear recognition, but differs in several important respects. First, rather than relying on force plate recordings, we use a high-density pressure sensing modality that captures both spatial and temporal characteristics of foot-ground interaction. Second, we evaluate on the StepUP-P150 dataset [10], which includes four footwear conditions per participant, including two standardized conditions shared across all participants. This controlled diversity enables systematic investigation of how footwear representation during training influences cross-footwear generalization, rather than relying on incidental variation in personal footwear. Building on this foundation, we investigate whether footwear-induced variability contains sufficient shared structure for representations learned from one population to generalize to previously unseen users and footwear conditions. To answer this question, we propose a robust spatiotemporal architecture with an auxiliary multi-dataset training strategy designed to improve robustness to unseen footwear conditions.
III. FOOTWEAR-INDUCED DOMAIN SHIFT
Changes in footwear introduce a domain shift in the recorded pressure data. Every footwear condition, including barefoot walking, can therefore be regarded as a distinct domain. During deployment, this manifests as a reference-probe mismatch, where the footwear worn during a verification or identification transaction differs from that worn by the claimed user during enrollment. We target an especially challenging version of this problem, in which a user enrolls with a small number of footsteps in a single footwear condition and must later be recognized while wearing different, arbitrary styles. Because footwear-robust representations cannot be learned from a user's own enrollment data, they must instead be learned from a separate pool of training identities and generalized to new users at deployment. Formally, these shoe-induced effects constitute a class-conditional shift, in which the conditional measurement distribution varies across footwear domains. The objective is therefore to learn an encoder that produces representations for which remains invariant to footwear, even for identities that were unseen during training.
This setup presents several challenges. First, the space of possible shoe styles a system may encounter during deployment is effectively unbounded, so the model will inevitably be faced with novel domains not represented during training.
Moreover, training sets will generally have disjoint label sets across domains. For example, one subset of users might wear large winter boots, another high heels, with little or no overlap between groups. As a result, unless common footwear domains are specifically collected (as with the StepUP-P150 [10] and MFID-200 [5] datasets), the model has limited opportunity to observe how a given domain shift manifests across multiple individuals. Shoe style domains are also themselves ill-defined, since continuous variation in characteristics such as heel height and sole softness produces a spectrum of effects rather than discrete categories, and coarse labels like running shoes, sandals, or casual sneakers are subjective and may overlap. Rather than relying on fine-grained domain labels, it is therefore more tractable to exploit grouped observations during training using multiple examples from the same identity collected under different, unlabelled conditions. This motivates a contrastive or metric-learning approach over explicit domain alignment, disentanglement, or translation-based methods.
Lastly, although literature suggests that certain shoe characteristics will have similar effects across people [15], the domain shift cannot be expected to be homogeneous. As an illustration of this heterogeneity, we project the average footstep recording from each trial in StepUP-P150 via PCA (retaining components explaining 95% of the variance) and visualize the shift between barefoot and a shared standard shoe for 150 individuals using UMAP (Fig. 1). This reveals a dominant shift direction shared across participants (mean pairwise cosine similarity 0.64, vs. 0.42 for arbitrary personal footwear), alongside a substantial participant-specific residual (on average, 73% the magnitude of the population component), indicating that shoe-induced effects are neither fully uniform nor fully idiosyncratic.
This structure underlies the central challenge of cross-shoe recognition. A shift with meaningful shared structure suggests that shoe-invariant features should, in principle, be learnable, while the heterogeneous components suggest that doing so will require sufficient identity diversity during training to capture how footwear characteristics will manifest for any individual the system might encounter. We hypothesize that, given adequate identity and footwear diversity during training, this structure is learnable and transferable to previously unseen users, and explore this hypothesis empirically in this study.
IV. METHODS
A. Experimental Setup
- Primary Dataset: The publicly-available StepUP-P150 dataset was the primary dataset used for the experiments [10]. This dataset contains footstep pressure recordings from 150 individuals (74 M, 76 F; 19–91 years) as they walked across a 1.2 m × 3.6 m instrumented flooring system equipped with high-density pressure sensors (4 pixels/cm²) sampled at 100 Hz. Participants completed a total of sixteen 90-second walking trials, including all combinations of four walking speeds (preferred, slow, fast, slow-to-stop) and four footwear conditions (barefoot or sock-foot, standard Adidas sneakers, and two pairs of the participant's personal shoes). These personal shoes included a diverse range of footwear, coarsely

Fig. 1. Demonstration of the domain shift between pressure recordings collected in different footwear conditions: (a) footwear clusters in UMAP space, (b) per-user shift vectors between walking barefoot and walking in a common, standardized shoe (Adidas casual sneakers). The shift has a dominant shared direction across individuals.
categorized into eight style families; see example styles and corresponding footstep recordings in Fig. 2. All participants provided their informed written consent, and the study was approved by the University of New Brunswick's Research Ethics Board (REB 2022-132).
To process the footsteps into a format suitable for deep learning, individual footsteps were extracted from the 90-second recordings and normalized in size. Full details of the preprocessing steps are provided in the original paper describing the data (see preprocessing Pipeline 1 [10]); briefly, the footsteps were rotated to align their first principal component axis with the y-axis, spatially zero-padded to a height of 75 pixels and width of 40 pixels, and normalized in time to 101 frames. Incomplete or outlier footsteps, identified through a combination of automated and manual review, were excluded from the analysis.
-
Data Splitting: Disjoint sets of individuals were used for model development and evaluation. A three-fold cross-validation protocol was used, with 100 individuals allocated to model development and 50 reserved for downstream biometric matching in each fold. Within the development set, 90 individuals were used for training and 10 for validation. Each input sample consisted of a complete gait cycle stride consisting of a pair of consecutive left and right footsteps. Training samples were constructed using overlapping strides (i.e., one footstep could appear in two separate strides) to maximize data utilization, whereas validation and test samples consisted exclusively of non-overlapping strides. On average, each fold contained approximately 92,000 development strides and 27,000 test strides.
-
Verification and Identification: Verification and identification performance were evaluated using a distance-based matching protocol on the 50 held-out test users in each fold. For each test user, five reference strides were sampled from their barefoot walking trials collected at their preferred walking speed. Their remaining samples, including additional barefoot strides and strides collected under three footwear conditions, served as mated probes. Samples from the other 49 test users in each fold served as non-mated probes; because

Fig. 2. Examples of footwear conditions in the StepUP-P150 dataset, with corresponding peak pressure images, ground reaction force (GRF) time series, and center of pressure (COP) trajectories in the mediolateral (ML) and anteroposterior (AP) directions. The conditions are shown in order of their prevalence in the dataset; barefoot and standard shoe conditions were collected for all 150 participants, while the remaining categories included personal shoe styles that varied across participants. Note: GRF and COP are shown in normalized units to facilitate visual comparison across conditions.
these individuals were excluded from model development, non-mated comparisons represent matching against entirely unseen distractor identities.
This protocol simulates a deployment context in which all users perform their enrollment sessions barefoot, but footwear is unconstrained for subsequent transactions. We therefore consider three evaluation scenarios of increasing difficulty, depending on the footwear worn for the probe stride; (1) barefoot-to-barefoot comparisons (BF → BF), (2) barefoot-to-standard-footwear comparisons (BF → SF), and (3) barefoot-to-personal-footwear comparisons (BF → PF). While the standard footwear style was represented during network training for other identities, the test users' personal footwear styles may or may not have been encountered at all during training.
For scoring, all left-right footstep pairs were passed through the trained feature extraction network to obtain 256-dimensional feature embeddings. A prototype reference embedding was constructed for each user by averaging the L2-normalized embeddings of their five reference strides. Probe embeddings were then compared against the prototypes using cosine similarity to generate a score for each probe. Exhaustive prototype-probe comparisons were performed for each fold, yielding over 4 million comparisons in total. These were used for computing verification performance (equal error rate, EER) and identification performance (rank-1 accuracy).
B. Part 1: Spatiotemporal Architecture Comparison
- Spatial and Temporal Representations: Because footwear is expected to affect spatial and temporal gait characteristics differently, we represent and learn these information sources independently. The resulting BiStepNet architecture encodes spatial and temporal information separately, using established lower-dimensional representations from the gait analysis and recognition literature.
Three time series representations that are widely used in force plate-based gait analysis were considered: the vertical ground reaction force (GRF) waveform and the mediolateral (ML) and anteroposterior (AP) center of pressure (COP) trajectories. Although force plates directly measure three-dimensional GRFs, only the vertical component was consid-
ered for this work as its shape can be reliably estimated from the pressure recordings by summing sensor values at each time step. Likewise, the COP, which captures the spatial progression of the load during the stance, can be computed from the pressure recordings as the pressure-weighted centroid of the impression at each time step.
Five two-dimensional representations derived from the pressure maps were used for learning spatial features. These included peak pressure, mean pressure, and mean contact area images, which have previously demonstrated strong performance for footstep recognition [11], [16]. Additionally, two representations based on first-order temporal differences were used: the maximum positive and negative differences of each pixel, capturing peak loading and offloading rates.
Prior to training, GRF waveforms were scaled by their mean amplitude and COP trajectories were mean-centered and normalized by their anteroposterior span (approximating foot length). Likewise, all of the image representations were individually rescaled to amplitudes in the range [0, 1]. For all images except the mean contact area representation, values above the 99th percentile were clipped prior to rescaling to reduce outlier effects, and a natural logarithm transformation was applied to enhance low-pressure features.
- Proposed Bi-Stream Spatiotemporal Network: The proposed BiStepNet for feature extraction consists of two lightweight encoders; a convolutional network to encode spatial information from the 2D gait representations, and a recurrent network to encode temporal information from the 1D time series representations. The network architecture is shown in Fig. 3. Briefly, the spatial encoder is comprised of three convolutional blocks, which contain a 2D convolutional layer followed by instance normalization [17], ReLU activation, and channel and spatial attention through a Convolutional Block Attention Module (CBAM) [18]. Each convolutional block is followed by a pooling layer; max pooling after the first two blocks and average pooling after the third block. Finally, a fully connected layer produces the 256-dimensional feature vector for the stream. The temporal encoder consisted of two bidirectional gated recurrent unit (GRU) layers, followed by attention pooling and a fully connected projection layer to create a 256-dimensional temporal embedding. A gated fusion

Fig. 3. Overview of the proposed BiStepNet: (a) CNN-based architecture that encodes five 2D input representations; (b) GRU-based architecture that encodes three 1D input representations; (c) gated fusion module used to merge the embeddings from the spatial and temporal streams into a single embedding vector for the footstep; and (d) feature-level fusion strategy used to combine information from paired left/right footsteps into a final 256-feature vector.
technique was used to combine the embeddings from the two streams, using a learned mapping to obtain a scalar weighting for the summation of the two vectors. The architecture is compact, with a total of 0.6M trainable parameters.
- Baseline 3D Architectures: Three spatiotemporal architectures, representative of distinct modeling families commonly used for related spatiotemporal problems, were evaluated as baselines. Unlike the proposed bi-stream network, these models operate directly on the full 3D footstep volume (time × height × width), learning spatial and temporal patterns jointly rather than through decomposed streams. These included: (1) a 3D CNN [19] with three layers of 3D convolutions (0.4M parameters); (2) an R(2+1)D CNN [20], using three residual blocks with factorized spatial and temporal convolutions (0.4M parameters); and (3) a hybrid 3D CNN-GRU network, which consists of a three-block 3D CNN followed by a two-layer bidirectional GRU (0.6M parameters). Where possible, these architectures were designed with depths and hyperparameters (e.g., kernel sizes) comparable to the proposed network. Full architectural details are provided in the Supplementary Material, and PyTorch implementations of all models (including BiStepNet) are available on GitHub¹.
Similar to BiStepNet, individual footstep recordings were normalized before training by clipping pressures above the 99th percentile, rescaling to the range [0, 1], and applying a natural logarithm transformation.
- Left and Right Footstep Fusion: All of the compared architectures were designed to operate on individual footsteps. Figure 3(d) shows the feature-level fusion strategy used to combine information from paired left and right footsteps in
a stride. Each footstep was independently processed by the same backbone, and their corresponding embeddings were concatenated and passed through a fully-connected layer to obtain a fused 256-dimensional representation. To ensure a unified representation across sides, right footsteps were mirrored before feature extraction. The models were trained end-to-end with the fusion head, using paired footsteps as inputs.
- Training Details: Models were trained using supervised contrastive loss (t = 0.05) [21] and an AdamW optimizer. An initial learning rate of was used following a 100-step linear warm-up, with a weight decay of . Batches were constructed using domain-aware sampling to ensure shoe diversity at each training step, with each comprising 64 individuals × 4 shoe conditions × 2 samples, for a total batch size of 512 samples. During training, affine augmentations were applied with a probability of 50% to simulate minor spatial misalignments. These consisted of random rotations in the range and translations up to 10% of the spatial dimensions along the x and y axes. Validation performance was evaluated every 100 batches (treated as one epoch for scheduling purposes), computed as the area under the detection error tradeoff curve (DET-AUC) over all pairwise comparisons between validation samples. Learning rate was reduced by a factor of 0.5 upon plateau in validation performance (patience of 1 epoch), and training was stopped early after 5 epochs without improvement. The checkpoint with the best validation AUC was retained. During both validation and testing inference, an exponential moving average (EMA) of model weights with a decay of 0.99 was used [22], resulting in an effective memory window of approximately 100 training steps. Data loaders were seeded identically across all training runs to ensure reproducibility and a fair comparison between models.
github.com/rlarracy/bistepnet
For the BiStepNet, we additionally considered a staged training procedure in which the two streams were first trained independently before being jointly fine-tuned, in contrast to standard combined training. The spatial and temporal encoders were pretrained using the hyperparameters described above, using the left/right fusion head from Section IV-B4 to accommodate paired steps. Following pretraining, the fusion heads were discarded and the two encoders combined for joint fine-tuning. The backbones were frozen for the first epoch, during which only the stream-gating and left/right fusion head were trained, then the backbones were unfrozen and fine-tuned together at a halved learning rate () until validation performance stopped improving. A dropout rate of 20% was applied between GRU layers and at the fully connected output layer of each stream during this fine-tuning stage.
The experiments were run on a single NVIDIA RTX A4000 GPU (16 GB memory). All three of the baseline architectures exceeded the GPU memory budget with the 512-sample batch sizes; GradCache [23] was used in these cases to enable supervised contrastive learning within the available memory.
C. Part 2: Effect of Training Set Footwear Representation
Section III identified a shift direction shared across participants for a given shoe style, alongside a smaller participant-specific residual. Building on this, we used a learning curve procedure to test whether increased footwear representation during training produces predictable gains in cross-footwear recognition performance.
Using BiStepNet with the staged training procedure, we compared two training set expansion strategies, holding participant count fixed while varying how additional footwear representation was introduced. In both cases, the baseline training set consisted of all strides from two footwear domains: barefoot, and one personal footwear style per participant. The strategies differed only in how footwear instances beyond this baseline were added. Single-domain expansion incrementally added instances of a shared style (standard footwear) across participants, while multi-domain expansion instead added a second, distinct personal footwear instance per participant.
For single-domain expansion, the number of participants contributing standard shoe recordings during training was systematically increased (), where corresponds to the full training partition), with recordings included for a random subset of participants at each step. Multi-domain expansion followed a similar procedure, by increasing the number of participants contributing training strides in a second pair of personal footwear. For both, the random sampling procedure was repeated five times for each cross-validation fold, and performance was averaged across all folds and repetitions to produce the final learning curves.
D. Part 3: Multi-Dataset Training
- Auxiliary Datasets: Five additional gait datasets were incorporated during training (Table I). Four were collected using walkways embedded with two sequential force plates to independently capture the left and right footsteps in a gait cycle, providing accurate 3D GRFs, 2D COP, and 3D
TABLE I SUMMARY OF AUXILIARY DATASETS AND THE PRIMARY DATASET (STEPUP-P150) USED FOR THE EXPERIMENTS.
| Dataset | IDs | Strides | Footwear | Other Covariates |
|---|---|---|---|---|
| Force plate (temporal representations only) | ||||
| GaitRec [24] | 211 | 7,755 | BF (0–1), PF (0–1) | Speed (3) |
| Gutenberg [25] | 350 | 8,819 | BF | — |
| Bialystok [26] | 324 | 13,702 | PF (1–7) | — |
| ForceID-A [7] | 184 | 5,327 | PF (1–2) | Speed (3), Days (2) |
| Pressure platform (spatial representations only) | ||||
| MFID-200 [5] | 200 | 91,796* | BF, SF (4), PF (1) | Loading (2) |
| Pressure platform (spatial and temporal representations) | ||||
| StepUP-P150 [10] | 150 | 145,084* | BF, SF (1), PF (2) | Speed (3) |
BF = barefoot, SF = standard footwear (shared across participants), PF = personal footwear. Numbers in brackets denote the number of levels collected per participant. Stride counts marked with * include overlapping strides.
orthogonal moment components during walking [24], [25], [26], [7]. The three time series of interest (vertical GRF, 2D COP) from these datasets were used for auxiliary training of the temporal encoder.
The fifth dataset, MFID-200, consists of high-resolution 2D peak pressure maps collected from a 10 m pressure runway [5]. Individual footsteps were segmented from the raw recordings, automatically labelled as left or right instances [27], and grouped into overlapping pairs for auxiliary training of the spatial stream. As MFID-200 contains only peak pressure maps, the remaining spatial input channels were approximated by using a binary pressure mask in place of mean contact area and replicating the peak pressure image across the remaining channels.
The datasets vary in footwear coverage, some including one or multiple personal or standardized footwear conditions per user, while one is barefoot only. Some also include additional sources of variability such as varied walking speeds, loading conditions, or cross-day collection. All datasets were preprocessed to approximately match the resolution and format of StepUP-P150, and the same normalization procedures (described in Section IV-B1) were used for all datasets to improve consistency during pooled training. Full preprocessing details are provided in the Supplementary Material.
- Multi-Dataset Training Strategy: During temporal encoder training, one of the four temporal datasets was randomly selected at each step to act as the auxiliary task, with selection probability weighted by the square root of the dataset's size. As there was only one additional spatial dataset (MFID-200), it acted as the auxiliary task for the spatial encoder training at every step. Batches were drawn from the auxiliary datasets using the same sampling procedure as StepUP-P150 (512 samples from 64 identities, spanning up to four footwear conditions per identity where available, with remaining samples drawn randomly when fewer conditions existed). Each auxiliary batch was passed through the model alongside a StepUP-P150 batch, for a combined batch size of 1024. Batch normalization was applied jointly across the combined batch, to provide a light
TABLE II
IDENTIFICATION (RANK-1, %) AND VERIFICATION (EER, %) PERFORMANCE ACROSS THREE EVALUATION SCENARIOS.
| Model | BF → BF | BF → SF | BF → PF | |||
|---|---|---|---|---|---|---|
| Rank-1 | EER | Rank-1 | EER | Rank-1 | EER | |
| R(2+1)D CNN | 96.1 | 1.9 | 79.2 | 5.3 | 42.5 | 15.4 |
| 3D CNN | 95.8 | 2.3 | 79.2 | 5.9 | 44.6 | 15.5 |
| 3D CNN-GRU | 93.3 | 3.0 | 74.3 | 7.0 | 46.3 | 14.6 |
| BiStepNet | 97.2 | 2.0 | 83.4 | 4.9 | 52.3 | 12.7 |
| BiStepNet | 95.9 | 2.4 | 83.4 | 5.0 | 65.2 | 9.1 |
combined training, staged training. The best result per column is highlighted in bold; multiple values are bolded where differences were not statistically significant (p > 0.05).
data augmentation effect through cross-dataset statistic mixing while improving training stability.
A within-dataset supervised contrastive loss objective was used for training, computed separately for the StepUP-P150 and auxiliary batches to avoid cross-dataset negatives, which could otherwise encourage the model to rely on dataset-specific cues rather than identity-relevant features. Under this formulation, the auxiliary dataset is effectively treated as a second, simultaneous identification task, requiring the model to learn representations effective across both datasets concurrently. To support convergence under this multi-task setup, we applied PCGrad [28]. When gradients from the two tasks conflicted (i.e., had a negative cosine similarity), each gradient was projected onto the other's normal plane to remove the conflicting components. This improved optimization across the simultaneous objectives while reducing the influence of dataset-specific patterns on training.
For the spatial stream specifically, the StepUP-P150 loss was up-weighted by a factor of five before combining it with the MFID-200 loss because of the discrepancy between MFID-200 and StepUP-P150 input representations (due to the channel approximations described above). All other training hyperparameters were the same as in single-dataset training (Section IV-B). The two encoders were trained independently with their respective auxiliary dataset(s), then jointly fine-tuned using the StepUP-P150 dataset alone to produce the final encoder.
V. RESULTS
A. Part 1: Spatiotemporal Architecture Comparison
Table II compares identification and verification performance across the three evaluation scenarios for BiStepNet and the baselines. We report macro-averaged rank-1 accuracy (averaged across per-user estimates) and global EER (computed across all users using a single decision threshold). Significance for both metrics was assessed using the Wilcoxon signed-rank test on paired per-user estimates across the 150 test users.
All models performed comparably well within-domain (BF → BF), with rank-1 accuracy exceeding 93% and EER below 3.5% across the board, indicating that barefoot-to-barefoot recognition is a comparatively easy task for all architectures tested. Performance diverged substantially once footwear was introduced at probe time. In the BF → SF scenario, all models showed a large drop relative to within-footwear performance, but BiStepNet retained the strongest rank-1 accuracy (83.4%) and lowest EER (4.9%), outperforming the next-best baselines (3D CNN and R(2+1)D CNN) by more than four percentage points in rank-1 accuracy. The BF → PF scenario, which introduced unseen footwear domains, proved considerably more difficult for every model, with rank-1 accuracy dropping below 50% for all baselines. Here, while the jointly-trained BiStepNet model still led the baselines (52.3% rank-1, 12.7% EER), the staged-training variant achieved 65.2% rank-1 and 9.1% EER, a gain of roughly 13 percentage points in rank-1 over the jointly-trained counterpart. This improvement in footwear robustness came at a small cost within-domain, where the staged-training model's rank-1 accuracy (95.9%) was lower than the jointly-trained model's (97.2%).
Per-stream evaluation indicated that the improved footwear resilience with the staged training procedure was driven primarily by the temporal stream. While the spatial stream performed similarly under both training regimes, the individually trained temporal stream consistently outperformed its end-to-end-trained counterpart, achieving average improvements of 14 percentage points in Rank-1 accuracy and 11 percentage points in EER across the three evaluation scenarios. Analysis of the learned gated fusion weights also revealed a higher emphasis on temporal features; across all probe strides, the temporal stream received an average gating weight of 26% with combined training and 29% with independent training. These findings suggest that staged training enabled the temporal stream to converge to a more discriminative representation, rather than allowing the fusion network to rely predominantly on the stronger, but more footwear-dependent, spatial features. The results indicate that temporal gait information plays an important role in generalization across footwear. The performance of the individual streams is examined in more detail in Section V-D.
B. Part 2: Training Set Footwear Representation
Fig. 4 shows identification and verification performance across both training set expansion strategies.
For single-domain expansion, BF → SF performance improved rapidly with minimal representation. As few as two standard footwear instances yielded a significant 5.2 percentage-point improvement in rank-1 accuracy (p < 0.0001) and a 1.9 percentage-point improvement in EER (p = 0.002) for new users wearing the same style. Gains continued with additional representation, reaching nearly 12 percentage points in rank-1 accuracy and over 4 percentage points in EER by only k = 10. However, the shape of the curves suggest that BF → SF performance had not fully saturated even at k = 90, remaining more than 10% below within-domain (BF → BF) performance.
Increasing standard footwear representation also improved performance for personal footwear styles not directly represented by the added instances. At k = 90, gains were observed across all personal footwear categories (Fig. 2), including styles visually and structurally dissimilar to the standard shoe. The largest relative rank-1 gains occurred for hiking/trail shoes (32.9%; 14.5 percentage points) and business/dress shoes.

Fig. 4. Impact on identification (rank-1) and verification (EER) performance for the three evaluation scenarios as (a,c) the number of standard footwear instances and (b,d) the number of secondary personal footwear instances in the training set are increased.
(32.5%; 12.9); the largest relative EER gains occurred for flat canvas shoes (33.6%; 2.6) and boots (30.3%; 3.2). BF → BF performance remained stable across all values of k, indicating that the increased footwear robustness afforded by the added samples did not negatively impact within-domain performance.
As anticipated, standard footwear probe performance was relatively lower under multi-domain expansion (additional personal footwear styles) than under single-domain expansion (standard footwear examples). However, multi-domain expansion did produce comparable results for BF → BF and BF → PF evaluations. At k = 90, the largest relative rank-1 gains were observed for boots (27.9%; 12.8 percentage points) and sandals (27.6%; 12.3); the largest relative EER gains were observed for business/dress shoes (34.1%; 4.9) and flat canvas shoes (29.4%; 2.3). Notably, boots, business/dress shoes, and flat canvas shoes were among the largest gainers under both scaling strategies, suggesting that the categories benefiting most from additional footwear representation were largely consistent regardless of whether that representation came from a single shared style or from diverse, participant-specific styles. At k = 90, there was no significant difference in personal footwear performance between the two training sets, indicating that representing footwear diversity through a single, common shoe style yielded generalization benefits comparable to representing it through varied styles.
Neither strategy reached saturation in cross-domain personal footwear performance by k = 90, suggesting that footwear diversity beyond what is feasible to collect from a single
TABLE III
PERFORMANCE IMPROVEMENTS USING MULTI-DATASET TRAINING COMPARED TO SINGLE-DATASET TRAINING.
| Encoder | Datasets | BF → BF | BF → SF | BF → PF | |||
|---|---|---|---|---|---|---|---|
| Rank-1 | EER | Rank-1 | EER | Rank-1 | EER | ||
| Temporal | Single | 74.9 | 8.1 | 44.3 | 15.4 | 45.2 | 15.5 |
| Multi | 77.0 | 7.8 | 46.5 | 14.6 | 48.6 | 14.7 | |
| Spatial | Single | 95.2 | 2.7 | 75.9 | 6.3 | 42.8 | 15.2 |
| Multi | 96.1 | 2.4 | 77.0 | 5.7 | 44.1 | 14.7 | |
| Fused | Single | 95.9 | 2.4 | 83.4 | 5.0 | 65.2 | 9.1 |
| Multi | 96.5 | 2.2 | 85.0 | 4.7 | 67.4 | 8.7 | |
Bolded values indicate statistically significant improvements compared to single-dataset training (p < 0.05).
participant pool may be needed to fully resolve style-specific shifts; we investigated this using auxiliary datasets in Part 3.
C. Part 3: Multi-Dataset Training
Table III shows performance gains from multi-dataset training for the spatial and temporal encoders individually, and for the fused BiStepNet. Most gains came from the auxiliary temporal datasets, where significant improvements in rank-1 accuracy and EER were observed across all three evaluation scenarios. The largest gains occurred for BF → PF, with a 3.4 percentage point improvement in rank-1 accuracy and 0.8 in EER. Gains were observed across all shoe style categories. Leave-one-dataset-out analysis confirmed that each auxiliary dataset contributed to the performance, with removal of any single dataset reducing rank-1 accuracy by 23–46% of the total gain. The largest marginal contributions came from the Bialystok and Gutenberg datasets, the two datasets with the most identities by a large margin. Notably, while Bialystok includes substantial shoe-style variation (some participants contributing up to seven styles), Gutenberg consists only of barefoot samples, pointing to factors beyond footwear-domain coverage alone as contributing to these gains.
The spatial stream also benefited from multi-dataset training, but to a lesser extent. Rank-1 accuracy improved by 0.9–1.3 percentage points, and EER by 0.3–0.6 across scenarios. The improvement was statistically significant within-domain (BF → BF: rank-1 p = 0.003, EER p < 0.0001), but generally not significant across shoe conditions, aside from a weakly significant EER improvement for BF → PF (p = 0.03). This more limited gain may partly reflect the input mismatch between StepUP-P150 and MFID-200, as well as the specific domains represented in MFID-200. For instance, while gains were observed for business/dress shoes and casual sneakers (styles well represented across participants), auxiliary training actually reduced performance for hiking shoes and boots (styles with minimal or no representation).
Nonetheless, gains from the two streams compounded in the fused spatiotemporal network, with significant improvements across all probe scenarios. For the hardest case, BF → PF, the fused model achieved a best rank-1 accuracy of 67.4% and EER of 8.7%, a 2.2 percentage point improvement in rank-1 accuracy and 0.4 in EER over single-dataset training. Rank-1

Fig. 5. UMAP of the embeddings for eight random test users, from the spatial and temporal encoders and from their fusion. Colors represent different users while marker shapes represent different footwear domains.
gains were largest for sandals (6.0 percentage points), followed by business/dress shoes and flat canvas shoes (2.7 each).
D. Characterizing Model Behaviour
Notably, while the spatial encoder outperformed the temporal encoder for well-represented domains (barefoot and standard footwear), the temporal encoder achieved better rank-1 performance for personal footwear (Table III). This corroborates earlier findings on the footwear resilience of temporal features, and helps explain the fused model's approximately 70% weighting toward spatial embeddings. Spatial features are more identity-discriminative but less resilient to footwear changes, while temporal features trade some discriminative power for cross-shoe robustness. Figure 5 illustrates this through UMAP projections of test-user embeddings from the spatial encoder, temporal encoder, and gated fusion module. The spatial encoder produces tight within-condition clusters, but personal footwear samples are frequently displaced from the rest of an identity's cluster, consistent with its lower cross-shoe robustness. The temporal encoder shows softer, more overlapping cluster boundaries overall, but keeps a given identity's samples grouped more consistently across footwear conditions. The fused model combines these complementary properties, achieving tighter and more unified identity clustering across footwear conditions.
Despite this, several challenging domain shifts could not be overcome by the proposed approach. While 31 users achieved BF → PF rank-1 accuracy above 90%, seven fell below 25% (and three below 10%). Fig. 6(a) shows the probes with incorrect rank-1 matches with the largest score margins over the true identity. Visually, peak pressure maps are difficult to match across footwear conditions. Although the top-ranked (incorrect) matches often differ from the true identity in characteristics like arch height and foot size, these features are partially obscured by footwear. For example, one probe's true identity differs from its rank-1 match by 2 cm in foot length (2.5 UK sizes), yet oversized boots increased the probe's apparent foot length enough to close this gap (row 1). Conversely, a high heel (row 2) and a sandal (row 3) produced impressions equal to or shorter than their corresponding barefoot impressions. Fig. 6(b) shows correctly matched probes with the largest score margins over the next-ranked identity; these tend to involve either highly distinctive

Fig. 6. Peak pressure images for extreme probe cases: (a) the most confident false matches (those with the largest similarity score margin over the true identity), and (b) the most confident true matches (largest score margin over the next-ranked identity).
gait features (e.g., a 12.5 UK shoe size in row 1) or footwear inducing minimal shift (e.g., minimalist shoes designed to mimic barefoot walking in row 2).
Fig. 7 shows recognition performance by footwear category. Flat canvas shoes and casual sneakers, both relatively homogeneous in sole construction and well represented in StepUP-P150 and the auxiliary datasets, achieved the highest rank-1 accuracy. The small "Other" category, consisting primarily of minimalist shoes and foam clogs (e.g., Crocs), performed comparably well. Business/dress shoes and hiking/trail shoes were the most difficult categories, likely reflecting their greater structural variability and more pronounced gait effects. Notably, training set representation alone did not predict performance. Athletic shoes were the most prevalent style in StepUP-P150 (as well as the ForceID-A and Bialystok auxiliary datasets), yet achieved a rank-1 accuracy nearly 20 percentage points lower than flat canvas shoes, plausibly due to the broad structural diversity within the athletic category (running shoes, trainers, basketball sneakers, etc., each with differently structured soles).
VI. DISCUSSION
A. Implications for Footwear-Robust Representation Learning
The proposed BiStepNet architecture significantly outperformed the 3D architecture baselines for cross-shoe recognition, with the largest gains for unseen personal footwear styles (more than 18 percentage points in rank-1 accuracy, 5 in EER), despite the baselines having access to the full 3D footstep

Fig. 7. Identification (rank-1) and verification (EER) performance for each shoe style category.
volume. We attribute this to the inductive biases of the decomposed design, with two streams to independently learn from information-dense spatial and temporal gait representations prior to fusion. The architecture is similar in concept to two-stream approaches in both footstep recognition (two parallel ResNets to learn from peak pressure images and pressure sequences separately [29]) and action recognition (one stream to encode RGB video frames and another to encode optical flow sequences [30]).
The superior performance of the bi-stream model parallels longstanding findings in fields like action recognition. Architectures that jointly model spatial and temporal structure in a single pathway often carry more parameters and have historically required much larger training sets to match decomposed approaches, only becoming competitive once large-scale datasets such as Sports-1M and Kinetics-400 became available [31]. Given the current scale of footstep biometric datasets, architectures with stronger structural priors may remain preferable for now, while a shift toward higher-capacity architectures may become viable with additional large datasets. This trend was already observed in a recent competition that used all 150 users from the StepUP-P150 dataset for model development [32], where the top solutions used R(2+1)D CNNs.
Beyond providing a stronger structural prior for limited data, the decomposed architecture may also better preserve temporal information specifically. As discussed in Section V-D, spatial features are more discriminative in isolation but less footwear-resilient than temporal features. When the two streams were trained jointly, spatial features tended to dominate the training signal, consistent with the established phenomenon of modality competition in multi-modal learning [33]. Because the streams are separable, this competition could be addressed directly through staged training, a common strategy in fields such as action recognition [30], allowing the temporal stream to converge to a more discriminative, footwear-resilient representation than under joint training. The 3D architectures, by contrast, have no analogous mechanism to protect weaker but more footwear-robust temporal cues from being overshadowed, a limitation the proposed architecture avoids by design.
B. Learnability of Footwear-Induced Shift
Heterogeneous class-conditional shift, in which a domain shift affects different classes in different ways, has been documented in other areas of machine learning such as computer vision. For instance, a shift from day to night causes pedestrians to be shadowed in darkness while a streetlamp will instead become illuminated [34]. A structurally similar problem in biometrics is cross-age face recognition, where the effects of aging can differ across individuals [35]; however, this is generally treated as a source of variability that can be learned and generalized to new users given sufficient training representation. We hypothesized that a similar assumption would hold for footwear-induced domain shift.
The results for the standard footwear style provide direct evidence for the learnability and transferability of footwear-robust representations. The trained embeddings transferred well to new users overall (85.0% rank-1 accuracy), and performance scaled predictably with the number of training identities represented in that footwear style. The rapid early gains followed by a long tail toward saturation are consistent with the shift structure identified in Section III: the dominant, shared component of the domain shift may be learnable from very few examples, while the smaller, participant-specific residual requires substantially more representation to resolve.
This shift structure is also supported by the biomechanics literature. The existence of a shared shift component aligns with prior work reporting broadly similar effects across individuals for specific footwear styles, such as high heels [36], flip-flop sandals [37], and running shoes of varied designs [38]. However, the nature and magnitude of these effects can be modulated by person-specific physiology and behaviour. Butler et al. [39], for instance, found an interaction between arch type and shoe type during running, with low-arched and high-arched runners exhibiting different loading responses to two sole designs. Footwear effects have also been shown to vary with factors like walking speed [40], [41] and familiarity with a given style [42]. Further, Horst et al. [43] identified subject-specific responses to different footwear during running. However, footwear type itself could be classified across participants with high accuracy (median 87.8%), suggesting that footwear effects are simultaneously person-specific and systematic enough to be learned.
The shape of the learning curve, however, suggests that additional identities are still needed to fully resolve the standard footwear domain. Unlike for personal footwear styles, adding a fourth domain per training user did not improve performance for this domain (p > 0.05). This suggests that further gains will require additional identities represented in that style (or in styles with similar characteristics), rather than additional domains from existing identities. Consistent with this, we observed a small but significant increase in BF → SF performance when additional identities were incorporated with the auxiliary datasets (Table III). Even so, we cannot determine whether the saturated performance for this style would eventually match the high within-domain performance observed for BF → BF comparisons. It is possible that part of this gap reflects shift components unique to each person that could not be learned even from a much larger training population. This question cannot be answered based on the results of the current study. If there is an unresolvable gap, alternative strategies beyond training set scaling, such as (automated or supervised) reference updating [44], may be needed to close it.
For the more varied personal footwear styles, although there remains substantial room for improvement, we note several promising observations. Performance improved both with additional identities represented in existing domains (approximately 10 percentage points in rank-1 accuracy from k = 0 to k = 90) and with additional domains represented per identity (approximately 50% rank-1 with two domains, 60% with three, and 65% with all four). Notably, this scaling held regardless of whether the third domain added per participant was the shared standard shoe or a distinct personal footwear style, indicating that learned features generalize across domains to at least some extent, rather than being specific to the individual style.
This generalization may reflect one or both of two underlying mechanisms. First, footwear styles may share a generic barefoot-to-shod shift component, and the model may be learning invariance to this shared component specifically. This aligns with the average cosine similarity of 0.42 across all barefoot-to-personal-footwear shift vectors that was identified in Section III, indicating meaningful shared structure even among otherwise dissimilar styles. Alternatively, the model may be learning robustness to specific shoe properties, such as the effects of particular heel heights or sole textures, which recur across nominally different styles. In this case, adequate training representation may not require direct instances of every specific style, but rather sufficient combined representation of the underlying effects relevant to a style, drawn from a large and varied set of individuals (e.g., the effects of flat soles learned from one group of individuals, and of soft soles from another). This suggests that targeted data collection could reasonably prioritize families of styles sharing relevant structural characteristics, such as popular styles or those most representative of a given deployment's expected footwear distribution (e.g., rigid-soled, high-arch business footwear for an office building), rather than attempting to represent every anticipated style directly.
C. Multi-Dataset Training
The unsaturated learning curves in Part 2 suggest that further gains in cross-shoe recognition require more data than any single available dataset can provide. In the absence of a sufficiently large dataset collected under a single protocol, pooling data from multiple sources is a natural alternative. Multi-dataset training has proven effective in other domains facing similar data constraints, including lesion detection from medical images [45], and semantic segmentation of 3D point clouds [46]. The decomposed architecture adopted in this work, which relies on established, lower-dimensional gait representations, allows each stream to draw on related auxiliary datasets that would be incompatible with a 3D architecture.
However, previous studies have demonstrated the challenges associated with pooling gait datasets from different sources. Derlatka et al. [47] found that collection location significantly
affected ground reaction force measurements despite similar hardware and collection protocols. Similarly, Fleischmann et al. [48] showed that they could predict the source of four different gait datasets with up to 99% accuracy, indicating that dataset-specific artifacts, rather than genuine gait or identity information, can dominate pooled feature representations if left unaddressed. Duncanson et al. [49], who evaluated combinations of four force plate datasets (including the ForceID-A, GaitRec, and Gutenberg datasets used in this work) reported mixed results on recognition performance. The benefit of the auxiliary datasets depended heavily on dataset compatibility, with many combinations resulting in poorer performance than training with the target dataset alone.
To improve the compatibility and effectiveness of the auxiliary datasets during training, we adopted several strategies. All samples were resized and normalized to approximately match StepUP-P150, since normalization has been shown to reduce dataset-specific bias in prior gait work [48]. Loss was computed separately within each dataset rather than across pooled batches, to prevent the model from exploiting dataset-specific cues as a shortcut for identity discrimination. Finally, PCGrad was used to resolve destructive gradient interference when combining loss gradients from different datasets, encouraging convergence toward a shared solution rather than one that favors either objective at the other's expense. Our approach framed multi-dataset training as a form of multi-task learning, in which each dataset constitutes a related task and the model is required to enforce conditional invariance simultaneously across all of them, with every training step informed by both the target and an auxiliary dataset.
The resulting gains were consistent but modest, likely reflecting the same compatibility limitations observed in prior pooled gait studies. Differences in sensing modality, protocol, and population between StepUP-P150 and the auxiliary datasets constrain how much identity-relevant information can transfer. Even with the added datasets, several footwear styles with pronounced or unusual biomechanical effects, such as hiking or winter boots, remained poorly represented in training and correspondingly difficult to recognize. Notably, however, gains were not restricted to datasets with rich footwear diversity; Gutenberg, despite consisting entirely of barefoot recordings, contributed a marginal improvement comparable to Bialystok's, whose participants each contributed multiple footwear styles. This suggests that at least part of the benefit of auxiliary training comes from reinforcing general, identity-related gait structure, information that helps the model discriminate individuals regardless of footwear, rather than solely from learning explicit footwear-to-footwear shifts.
D. Future Work
The present study used barefoot reference strides, consistent with previous work [5]; barefoot enrollment may be practical in some deployment contexts and provides a common reference domain across users. Moreover, learning the shift between barefoot and shod conditions may be more tractable than between arbitrary pairs of footwear styles. Indeed, although the same performance trends were observed when personal footwear styles were used as the reference domain, recognition of other personal styles (PF1 → PF2 and PF2 → PF1) decreased by an average of 3.4 percentage points in rank-1 accuracy. By contrast, using the standard footwear as the reference domain produced an average 7.6 percentage point improvement for personal footwear recognition (SF → PF). Thus, the choice of enrollment condition can meaningfully affect cross-footwear performance and should be evaluated according to the requirements of the target application.
The study also assumes five reference strides (10 footsteps, corresponding to approximately two passes across the sensing platform and 10 seconds of walking) and only one probe stride available for each transaction. The enrollment requirement is smaller than in several previous studies, including Zhou et al. [5] (approximately 28 footsteps), Wang et al. [9] (72 footsteps), and Connor et al. [8] (24 footsteps), but larger than the single-stride enrollment assumed by Duncanson et al. [7]. Similarly, the present two-footstep transaction provides less information than approaches that aggregate multiple consecutive strides for inference [8], [5], [9]. Future work should evaluate the trade-off between enrollment effort, transaction duration, and recognition performance.
Lastly, although the dataset includes four walking speeds per participant, the effect of speed was not specifically evaluated in this work. All speeds were included in both the development and probe sets, such that most comparisons (> 75%) were cross-speed. Thus, some of the observed gains may partially reflect improved robustness to speeds in addition to footwear. However, gains from the auxiliary datasets were consistent across speeds (p = 0.70, Friedman test), while the learning-curve experiments showed either no difference across speeds (p = 0.09 with single-domain expansion) or greater gains for within-speed comparisons (average 1.5 percentage points higher than cross-speed comparisons with multi-domain expansion; p = 0.0004). Previous work further suggests that walking speed has a smaller effect on recognition than footwear [7]. Nevertheless, explicitly evaluating speed generalization, as well as other deployment-relevant covariates such as load carriage [50], remains a direction for future work.
VII. CONCLUSION
This work investigated whether footwear-robust identity representations can be learned from one population and transferred, zero-shot, to previously unseen users. We showed that a bi-stream architecture decomposing spatial and temporal gait representations outperforms 3D baselines for cross-footwear recognition, and that performance scales predictably with the volume and diversity of footwear representation in training, with gains transferring to styles not directly observed in the training set. These findings indicate that footwear-induced shift is heterogeneous across individuals, but contains shared, learnable structure. Nonetheless, performance remains unsaturated, suggesting that more training data than any single available dataset can provide is likely needed to fully resolve it. However, we found that auxiliary gait datasets, despite differing sensing modalities and protocols, can be leveraged to improve robustness.
ACKNOWLEDGMENT
This work was supported by the New Brunswick Innovation Foundation's Strategic Opportunities Fund, the Atlantic Canada Opportunities Agency's Regional Innovation Ecosystem program, and the Natural Sciences and Engineering Research Council of Canada's Alliance Grants program [ALLRP 558340-20] and Postgraduate Scholarship-Doctoral award [PGS D-589922-2024].
Claude (Anthropic, Sonnet 5) was used to assist with software development and editorial feedback during this work. The authors reviewed and take responsibility for all final content.
REFERENCES
[1] X. Wei, Q. Wu, Y. Chang, N. Zhang, and Q. Pan, "Spatiotemporal feature fusion modeling method of plantar pressure for pedestrian identity recognition," Appl. Soft Comput., p. 114693, 2026.
[2] Y. Zhang, Y. Sun, N. Wang, S. Gao, J. Zhu, and J. Tang, "Multi-scale confusion and filling mechanism for pressure footprint recognition," Neural Comput. Appl., vol. 35, no. 1, pp. 375–392, 2023.
[3] F. Horst, D. Slijepevic, M. Simak, B. Horsak, W. I. Schöllhorn, and M. Zeppelzauer, "Modeling biological individuality using machine learning: A study on human gait," Comput. Struct. Biotechnol. J., 2023.
[4] M. Derlatka and M. Borowska, "Ensemble of heterogeneous base classifiers for human gait recognition," Sensors, vol. 23, no. 1, p. 508, 2023.
[5] X. Zhou, Y. Zhang, X. Fan, N. Wang, and W. Bao, "MFID-200: A multimodal footprint dataset and Spatial-Temporal prompted transformer for identification," Pattern Recognit., p. 113581, 2026.
[6] M. Derlatka, "Human gait recognition based on ground reaction forces in case of sport shoes and high heels," in Proc. IEEE Int. Conf. Innov. Intell. Syst. Appl. (INISTA), pp. 247–252, IEEE, 2017.
[7] K. A. Duncanson, S. Thwaites, D. Booth, G. Hanly, W. S. Robertson, E. Abbasnejad, and D. Thewlis, "Deep metric learning for scalable gait-based person re-identification using force platform data," Sensors, vol. 23, no. 7, p. 3392, 2023.
[8] P. C. Connor, "Comparing and combining underfoot pressure features for shod and unshod gait biometrics," in Proc. IEEE Int. Symp. Technol. Homeland Secur. (HST), pp. 1–7, IEEE, 2015.
[9] S. Wang, Y. Zhang, Y. Xia, Y. Wang, and N. Wang, "DisenCB: Learning diverse disentangled representation for Cross-Domain consecutive footprint retrieval," in Proc. Int. Conf. Wirel. Commun. Signal Process. (WCSP), pp. 1406–1411, IEEE, 2024.
[10] R. Larracy, A. Phinyomark, A. Salehi, E. MacDonald, S. Kazemi, S. S. Bashar, A. Tabor, and E. Scheme, "A dataset of high-resolution plantar pressures for gait analysis across varying footwear and walking speeds," Sci. Data, vol. 12, no. 1, p. 1415, 2025.
[11] T. C. Pataky, T. Mu, K. Bosch, D. Rosenbaum, and J. Y. Goulermas, "Gait recognition: highly unique dynamic plantar pressure patterns among 104 individuals," J. R. Soc. Interface, vol. 9, no. 69, pp. 790–800, 2012.
[12] S. Zheng, K. Huang, T. Tan, and D. Tao, "A cascade fusion scheme for gait and cumulative foot pressure image recognition," Pattern Recognit., vol. 45, no. 10, pp. 3603–3610, 2012.
[13] P. Terrier, "Gait recognition via deep learning of the center-of-pressure trajectory," Appl. Sci., vol. 10, no. 3, 2020.
[14] A. Majeed and A. K. Chong, "Forensic perpetrator identification utilising foot pressure under shoes during gait," in Proc. IEEE Symp. Comput. Appl. Ind. Electron. (ISCAIE), pp. 123–126, IEEE, 2021.
[15] M. M. Mohammadi and A. Nourani, "Testing the effects of footwear on biomechanics of human body: A review," Heliyon, vol. 11, no. 4, 2025.
[16] R. Larracy, A. Phinyomark, and E. Scheme, "Gait representation: from Vision-Based to floor Sensor-Based gait recognition," in Proc. IEEE Sensors Appl. Symp. (SAS), pp. 1–6, IEEE, 2023.
[17] D. Ulyanov, A. Vedaldi, and V. Lempitsky, "Instance normalization: The missing ingredient for fast stylization," arXiv preprint arXiv:1607.08022, 2016.
[18] S. Woo, J. Park, J.-Y. Lee, and I. S. Kweon, "CBAM: Convolutional block attention module," in Proc. Eur. Conf. Comput. Vis. (ECCV), pp. 3–19, 2018.
[19] D. Tran, L. Bourdev, R. Fergus, L. Torresani, and M. Paluri, “Learning spatiotemporal features with 3d convolutional networks,” in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), pp. 4489–4497, 2015.
[20] D. Tran, H. Wang, L. Torresani, J. Ray, Y. LeCun, and M. Paluri, “A closer look at spatiotemporal convolutions for action recognition,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), pp. 6450–6459, 2018.
[21] P. Khosla, P. Teterwak, C. Wang, A. Sarna, Y. Tian, P. Isola, A. Maschinot, C. Liu, and D. Krishnan, “Supervised contrastive learning,” Adv. Neural Inf. Process. Syst., vol. 33, pp. 18661–18673, 2020.
[22] D. M. Brotons, T. Vogels, and H. Hendrikx, “Exponential moving average of weights in deep learning: Dynamics and benefits,” Trans. Mach. Learn. Res., pp. 1–27, 2024.
[23] L. Gao, Y. Zhang, J. Han, and J. Callan, “Scaling deep contrastive learning batch size under memory limited setup,” in Proc. Workshop Represent. Learn. NLP (RepLANLP), pp. 316–321, 2021.
[24] B. Horsak, D. Slijepcevic, A.-M. Raberger, C. Schwab, M. Worisch, and M. Zeppelzauer, “GaitRec, a large-scale ground reaction force dataset of healthy and impaired gait,” Sci. Data, vol. 7, no. 1, p. 143, 2020.
[25] F. Horst, D. Slijepcevic, M. Simak, and W. I. Schöllhorn, “Gutenberg gait database, a ground reaction force database of level overground walking in healthy individuals,” Sci. Data, vol. 8, no. 1, p. 232, 2021.
[26] M. Derlatka and M. Parfeniuk, “Real-world measurements of ground reaction forces of normal gait of young adults wearing various footwear,” Sci. Data, vol. 10, no. 1, p. 60, 2023.
[27] E. Macdonald, R. Larracy, A. Phinyomark, and E. Scheme, “Underfoot pressure-based left and right foot classification algorithms: The impact of footwear,” IEEE Access, vol. 11, pp. 137937–137947, 2023.
[28] T. Yu, S. Kumar, A. Gupta, S. Levine, K. Hausman, and C. Finn, “Gradient surgery for multi-task learning,” Adv. Neural Inf. Process. Syst., vol. 33, pp. 5824–5836, 2020.
[29] O. Costilla-Reyes, R. Vera-Rodriguez, P. Scully, and K. B. Ozanyan, “Analysis of spatio-temporal representations for robust footstep recognition with deep residual neural networks,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 41, no. 2, pp. 285–296, 2018.
[30] C. Feichtenhofer, A. Pinz, and A. Zisserman, “Convolutional two-stream network fusion for video action recognition,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), pp. 1933–1941, 2016.
[31] A. K. AlShami, R. Rabinowitz, K. Lam, Y. Shleibik, M. Mersha, T. Boult, and J. Kalita, “SMART-vision: survey of modern action recognition techniques in vision,” Multimed. Tools Appl., vol. 84, no. 27, pp. 32705–32776, 2025.
[32] R. Larracy, E. MacDonald, A. Phinyomark, S. Rezaei, M. Laghaei, A. Hajighasem, A. Tabor, and E. Scheme, “First international StepUP competition for biometric footstep recognition: Methods, results and remaining challenges,” in Proc. IEEE Int. Joint Conf. Biom. (IJCB), pp. 1–9, IEEE, 2025.
[33] Y. Huang, J. Lin, C. Zhou, H. Yang, and L. Huang, “Modality competition: What makes joint training of multi-modal network fail in deep learning? (Provably),” in Proc. Int. Conf. Mach. Learn. (ICML), pp. 9226–9259, PMLR, 2022.
[34] X. Liu, Z. Guo, S. Li, F. Xing, J. You, C.-C. J. Kuo, G. El Fakhri, and J. Woo, “Adversarial unsupervised domain adaptation with conditional and label shift: Infer, align and iterate,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), IEEE, 2021.
[35] J. Zhao, Y. Cheng, Y. Cheng, Y. Yang, F. Zhao, J. Li, H. Liu, S. Yan, and J. Feng, “Look across elapse: disentangled representation learning and photorealistic cross-age face synthesis for age-invariant face recognition,” in Proceedings of the AAAI conference on artificial intelligence, AAAI'19, AAAI Press, 2019.
[36] N. J. Cronin, “The effects of high heeled shoes on female gait: a review,” J. Electromyogr. Kinesiol., vol. 24, no. 2, pp. 258–263, 2014.
[37] C. Price, V. Andrejevas, A. H. Findlow, P. Graham-Smith, and R. Jones, “Does flip-flop style footwear modify ankle biomechanics and foot loading patterns?,” J. Foot Ankle Res., vol. 7, no. 1, p. 40, 2014.
[38] S. Lin, Y. Song, X. Cen, K. Bálint, G. Fekete, and D. Sun, “The implications of sports biomechanics studies on the research and development of running shoes: A systematic review,” Bioengineering, vol. 9, no. 10, p. 497, 2022.
[39] R. J. Butler, I. S. Davis, and J. Hamill, “Interaction of arch type and footwear on running mechanics,” Am. J. Sports Med., vol. 34, no. 12, pp. 1998–2005, 2006.
[40] M. R. Titchenal, J. L. Asay, J. Favre, T. P. Andriacchi, and C. R. Chu, “Effects of high heel wear and increased weight on the knee during walking,” J. Orthop. Res., vol. 33, no. 3, pp. 405–411, 2015.
[41] B. Xuan, D. Sun, D. Wang, D. Chen, F. Li, Y. Song, X. Cen, G. Fekete, M. Jemni, and Y. Gu, “Biomechanical effects of sandal strap
design on gait kinematics and electromyographic activation patterns: A speed-dependent analysis," Appl. Bionics Biomech., vol. 2025, no. 1, p. 8802614, 2025.
[42] P. W. Macdermid, S. J. Walker, and D. Cochrane, “Gait stability and structure during a 30 minute treadmill run: Implications for protocol duration and shoe familiarity,” Appl. Sci., vol. 16, no. 6, 2026.
[43] F. Horst, F. Hoitz, D. Slijepcevic, N. Schons, H. Beckmann, B. M. Nigg, and W. I. Schöllhorn, “Identification of subject-specific responses to footwear during running,” Sci. Rep., vol. 13, no. 1, p. 11284, 2023.
[44] P. H. Pisani, A. Mhenni, R. Giot, E. Cherrier, N. Poh, A. C. P. d. L. Ferreira de Carvalho, C. Rosenberger, and N. E. B. Amara, “Adaptive biometric systems: Review and perspectives,” ACM Comput. Surv., vol. 52, no. 5, pp. 1–38, 2019.
[45] K. Yan, J. Cai, Y. Zheng, A. P. Harrison, D. Jin, Y. Tang, Y. Tang, L. Huang, J. Xiao, and L. Lu, “Learning from multiple datasets with heterogeneous and partial labels for universal lesion detection in CT,” IEEE Trans. Med. Imaging, vol. 40, no. 10, pp. 2759–2770, 2020.
[46] X. Wu, Z. Tian, X. Wen, B. Peng, X. Liu, K. Yu, and H. Zhao, “Towards large-scale 3d representation learning with multi-dataset point prompt training,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), pp. 19551–19562, IEEE, 2024.
[47] M. Derlatka, M. Skublewska-Paszkowska, P. Powroznik, J. Smolka, E. Łukasik, A. Borysiewicz, P. Borkowski, and D. Czerwiński, “Recognition of human gait based on ground reaction forces and combined data from two gait laboratories,” Acta Mech. Autom., vol. 18, no. 2, pp. 361–366, 2024.
[48] S. Fleischmann, S. Dietz, J. Shanbhag, A. Wuensch, M. Nitschke, J. Miehlng, S. Wartzack, S. Leyendecker, B. M. Eskofier, and A. d. Koelewijn, “Exploring dataset bias and scaling techniques in multi-source gait biomechanics: an explainable machine learning approach,” ACM Trans. Intell. Syst. Technol., vol. 16, no. 1, pp. 1–19, 2024.
[49] K. A. Duncanson, F. Horst, E. Abbasnejad, G. Hanly, W. S. Robertson, and D. Thewlis, “Modelling individual variation in human walking gait across populations and walking conditions via gait recognition,” J. R. Soc. Interface, vol. 21, no. 221, p. 20240565, 2024.
[50] M. Derlatka, “Recognition of human gait under asymmetric loading,” Sensors, vol. 26, no. 6, p. 1940, 2026.
Robyn Larracy, Graduate Student Member, IEEE, received the B.Sc. and M.Sc. degrees in electrical engineering from the University of New Brunswick, Fredericton, NB, Canada, in 2019 and 2021, respectively, where she is currently pursuing the Ph.D. degree in electrical engineering as a member of MoBIL: the Movement and Biosignals Intelligence Lab. In 2025 and 2026, she hosted the 1st and 2nd International StepUP Competitions for Biometric Footstep Recognition. Her research interests include gait analysis, biometrics, and machine learning for

biosignals.
Erik Scheme, Senior Member, IEEE, received the B.Sc., M.Sc., and Ph.D. degrees in electrical engineering from the University of New Brunswick, Fredericton, NB, Canada, in 2003, 2005, and 2013, respectively. He is a Full Professor with the Department of Electrical and Computer Engineering, the Acting Director of the Institute of Biomedical Engineering, and the Director of MoBIL: the Movement and Biosignals Intelligence Lab at UNB. His research explores the application of signal processing and machine learning for human-machine interfaces,

mobility and rehabilitation, digital health, and biometrics.
Supplementary Material: On the Learnability of Footwear Robustness
SI. ADDITIONAL DETAILS FOR BASELINE NETWORKS
The architectural details for the three spatiotemporal baseline models are in Table SI. Each of these backbones encode a single 3D footstep pressure recording (101 time steps × 75 pixels × 40 pixels) into a 256-dim embedding, and the embeddings from the left and right footsteps in a stride are fused using the fully-connected fusion head described in the main text.
All of the models in this study were implemented with PyTorch 2.10.0 and trained using GPU acceleration with CUDA 12.9.4. Any convolutional or fully-connected layers were initialized with Kaiming uniform initialization (, PyTorch default) [1]. GRU weight matrices and biases were initialized from where is the hidden size. Affine parameters of all normalization layers were initialized with . PyTorch class implementations for all of the models are available on GitHub¹.
TABLE SI ARCHITECTURE DETAILS FOR THE SPATIOTEMPORAL BASELINE MODELS.
| Layer | Channels | Hyperparameters | Output |
|---|---|---|---|
| 3D CNN (352K params) | |||
| Conv3D† | 1→32 | 32×51×38×20 | |
| Conv3D† | 32→64 | 64×26×19×10 | |
| Conv3D† | 64→128 | 128×13×10×5 | |
| AvgPool3D+FC | 128→256 | pool(1,1,1) | 256 |
| R(2+1)D CNN (364K params) | |||
| Res Conv(2+1)D† | 1→32 | 32×51×38×20 | |
| Res Conv(2+1)D† | 32→64 | 64×26×19×10 | |
| Res Conv(2+1)D† | 64→128 | 128×13×10×5 | |
| AvgPool+FC | 128→256 | pool(1,1,1) | 256 |
| 3D CNN-GRU (582K params) | |||
| Conv3D† | 1→16 | 16×51×38×20 | |
| Conv3D† | 16→32 | 32×26×19×10 | |
| Conv3D† | 32→64 | 64×13×10×5 | |
| AvgPool3D+IN | 64→64 | pool(1,1) | 64×13 |
| BiGRU+AttnPool | 64→256 | 256 | |
| FC | 256→256 | - | 256 |
IN = InstanceNorm, = kernel size, = stride, = hidden units, = GRU layers.
† Each is followed by IN and ReLU.
SII. AUXILIARY DATASET PREPROCESSING
At the time of writing, all auxiliary datasets used in this work are freely accessible to the research community.
Identical preprocessing was applied to the four force plate datasets to improve consistency during training, following
the pipeline used by the GaitRec authors [2]. Recordings were cropped in time to the interval where vertical GRF exceeded 80 N, filtered with a 2nd-order low-pass Butterworth filter (20 Hz cutoff), and resampled to 101 time steps using nearest-neighbor interpolation. For this study, GRF time series were additionally divided by their mean amplitude and COP time series were mean-centered and divided by the total anteroposterior span. Strides from the ForceID-A, GaitRec, and Gutenberg datasets were labeled as left or right steps by the original authors. For the Bialystok dataset, we applied the authors' provided scripts for automated left/right stride detection [3].
For the MFID-200 dataset, which consists of a single 2D peak pressure map for each trial (capturing approximately 14 consecutive steps on the sensing platform), individual footsteps were extracted using techniques similar to those used for StepUP-P150 [4]. Pressure maps were thresholded to detect areas of activity, processed using morphological dilation and erosion, and a simple connected-components technique was used to detect the bounding box for each footstep. The footstep images were then roughly aligned by rotating the foot's long axis (i.e., its first principal component) to the y-axis, downsampled with linear resizing to match the resolution of StepUP-P150 (4 px/cm²), and zero-padded to 75 × 40 pixels. During training, pressures above the 99th percentile were clipped, and the resulting maps were min-max normalized and rescaled using a natural log transformation. Footsteps were labeled as left or right based on the proportion of active pixels from different quadrants of the forefoot [5], and consecutive steps were grouped into overlapping left/right pairs to form strides for training.
As with the StepUP-P150 dataset, random spatial affine transformations were applied to the auxiliary datasets during training as a form of augmentation. For the time-series datasets, this was implemented through transformation of the mediolateral and anteroposterior COP trajectories:
which simulates variations in foot rotation on the force plate. Translation was not simulated, since the COP trajectories were mean-centered and therefore unaffected by it. Likewise, the vertical GRF aggregates forces across the entire foot and is unaffected by spatial changes.
¹github.com/rlarracy/bistepnet
REFERENCES
[1] K. He, X. Zhang, S. Ren, and J. Sun, "Delving deep into rectifiers: Surpassing human-level performance on imagenet classification," in Proc. IEEE Int. Conf. Comput. Vis., pp. 1026–1034, 2015.
[2] B. Horsak, D. Slijepcevic, A.-M. Raberger, C. Schwab, M. Worisch, and M. Zeppelzauer, "GaitRec, a large-scale ground reaction force dataset of healthy and impaired gait," Sci. Data, vol. 7, no. 1, p. 143, 2020.
[3] M. Derlatka and M. Parfieniuk, "Real-world measurements of ground reaction forces of normal gait of young adults wearing various footwear," Sci. Data, vol. 10, no. 1, p. 60, 2023.
[4] R. Larracy, A. Phinyomark, A. Salehi, E. MacDonald, S. Kazemi, S. S. Bashar, A. Tabor, and E. Scheme, "A dataset of high-resolution plantar pressures for gait analysis across varying footwear and walking speeds," Sci. Data, vol. 12, no. 1, p. 1415, 2025.
[5] E. MacDonald, R. Larracy, A. Phinyomark, and E. Scheme, "Underfoot pressure-based left and right foot classification algorithms: The impact of footwear," IEEE Access, vol. 11, pp. 137937–137947, 2023.