<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jcc</journal-id>
      <journal-title-group>
        <journal-title>Journal of Computer and Communications</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2327-5227</issn>
      <issn pub-type="ppub">2327-5219</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/jcc.2026.143005</article-id>
      <article-id pub-id-type="publisher-id">jcc-150171</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Seeing the Walk: Vision Transformers for Accurate Human Gait Recognition</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0009-0004-6061-0676</contrib-id>
          <name name-style="western">
            <surname>Alghamdi</surname>
            <given-names>Nouf Nayish M.</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0000-0003-2879-2751</contrib-id>
          <name name-style="western">
            <surname>Ghaleb</surname>
            <given-names>Osamah A. M.</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Technical and Vocational Training Corporation (TVTC), Digital Technical College for Girls in Tabuk, Tabuk, Saudi Arabia </aff>
      <aff id="aff2"><label>2</label> Department of Computer Science, Fahad bin Sultan University, Tabuk, Saudi Arabia </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>03</day>
        <month>03</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>03</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <issue>03</issue>
      <fpage>71</fpage>
      <lpage>90</lpage>
      <history>
        <date date-type="received">
          <day>29</day>
          <month>01</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>13</day>
          <month>03</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>16</day>
          <month>03</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/jcc.2026.143005">https://doi.org/10.4236/jcc.2026.143005</self-uri>
      <abstract>
        <p>Human gait recognition (HGR) is a non-invasive biometric modality that is applicable in mass-scale surveillance and security systems. Nevertheless, HGR systems are currently susceptible to covariate variables, including viewpoint, clothing, and the carrying conditions. Recent deep learning methods, especially convolutional neural networks, have also enhanced recognition performance, though at the cost of modeling global spatiotemporal interactions and with high training data requirements. This study presents a transfer learning-based HGR model that relies on Vision Transformer (ViT) models to harness self-attention mechanisms to achieve strong representation of global features. ViT-B/16 and ViT-L/32 are two pre-trained transformer models that were trained on gait image sequences on the CASIA-B dataset. The framework was evaluated across four viewing angles (0˚, 18˚, 36˚, and 54˚) under varying covariate conditions. Training and testing accuracy and loss metrics were used as performance metrics at the learning rate of 0.001 and 0.0001. Furthermore, experiments were conducted for both frontal-view and cross-view analysis. The results indicate that transformer-based models are capable of achieving strong recognition performance. ViT-L/32 achieved the highest average testing accuracy at 87.87 percent, followed closely by ViT-B/16 with 86.99 percent. Both models outperformed several recently proposed HGR approaches. The attention-based architecture successfully extracts discriminative gait images across image patches and is more robust to viewpoint and appearance changes as well as it consumes less computational costs due to pre-trained models. These results highlight the usefulness of Vision Transformers as an effective and precise alternative to traditional deep learning methods of recognizing human gait in biometric applications.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Human Gait Recognition</kwd>
        <kwd>Vision Transformer Models</kwd>
        <kwd>Gait Pattern</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>By facilitating reliable identification and authentication of people using physiological and behavioural characteristics, biometric systems have become essential features of contemporary security, surveillance, and access control systems. Traditional biometric modalities, such as fingerprints, faces, iris, and retinas demonstrate high recognition when used under controlled settings, but they are susceptible to occlusions, face impersonation, privacy issues, and require the cooperation of users. Conversely, human gait recognition (HGR) has become a viable behavioural biometric method as a non-invasive biometric identification tool and because data are collected remotely with ease in a regular camera system [<xref ref-type="bibr" rid="B1">1</xref>]. The innate distinctiveness of the walking style of an individual can be recognized even under low-resolution data, and in uncontrolled settings. Therefore, gait is especially appropriate in massive surveillance and forensic applications [<xref ref-type="bibr" rid="B2">2</xref>].</p>
      <p>Irrespective of these strengths, the efficiency of HGR systems is susceptible to a number of covariate variables, such as changes in viewing angle, clothing, walking speed, illumination conditions, and carrying object [<xref ref-type="bibr" rid="B3">3</xref>]. These covariates add intra-class variability and inter-class similarity, which severely compromises recognition accuracy. To overcome these challenges, several techniques have been proposed in the last ten years which can be categorized into model-based and model-free techniques. Model-based approaches rely on direct models of human anatomy and joint dynamics with the capability to investigate movements in detail, although they are often computationally intensive and sensitive to noise. Alternatively, model-free methods frequently utilize silhouette-based characteristics such as Gait Energy Images (GEIS) to represent spatiotemporal motion patterns that are computationally inexpensive but sensitive to both appearance variations and viewpoint variation [<xref ref-type="bibr" rid="B4">4</xref>].</p>
      <p>The recent advances in machine learning and deep learning have improved the gait recognition performance to a significant level. Convolutional Neural Networks (CNNs), recurrent models and autoenergizer based models have been widely applied in the learning of discriminative gait features on image sequences or silhouette templates [<xref ref-type="bibr" rid="B5">5</xref>]. These techniques have proven quite effective in addressing the moderate covariate variations but CNN-based models typically use local receptive fields and pooling mechanisms, which may limit their ability to capture long-range spatial responses to model complex gait dynamics [<xref ref-type="bibr" rid="B6">6</xref>]. In addition, deep CNN models typically require bulk data and training, as well as higher computational costs [<xref ref-type="bibr" rid="B7">7</xref>].</p>
      <p>Recent efforts in attention-based models, especially Vision Transformers (ViTs) have shown impressive results on a wide range of computer vision problems, including image classification, object detection and action recognition [<xref ref-type="bibr" rid="B8">8</xref>]. ViTs, unlike CNNs, use large patches to divide pictures and use self-attention models that capture the global contextual associations between the whole picture [<xref ref-type="bibr" rid="B9">9</xref>]. This ability allows ViTs to learn the long-range and subtle discriminative patterns that are important in biometric recognition tasks. The self-attention mechanism in the context of gait analysis provides a possibility to concentrate on the salient areas of motion without being influenced by appearance-related differences [<xref ref-type="bibr" rid="B10">10</xref>].</p>
      <p>Contemporary studies have started examining transformer-based architecture in biometric and gait-related uses. Hybrid CNN-transformer networks have been introduced to complement local feature extraction with global attention modelling, with enhanced robustness to viewpoint and clothing variation [<xref ref-type="bibr" rid="B11">11</xref>][<xref ref-type="bibr" rid="B12">12</xref>]. Pure transformer-based architectures have also exhibited state-of-the-art results in learning spatiotemporal motion representations, especially when combined with transfer learning methods exploiting large-scale pre-trained models [<xref ref-type="bibr" rid="B12">12</xref>]. These advances imply that Vision Transformers could offer an effective alternative to traditional deep learning methods in HGR, particularly in settings with strong covariate variance [<xref ref-type="bibr" rid="B13">13</xref>][<xref ref-type="bibr" rid="B14">14</xref>].</p>
      <p>Although there is remarkable progress in HGR with both classical machine learning and deep learning methods, several limitations remain [<xref ref-type="bibr" rid="B15">15</xref>]. The model-based approaches tend to be computationally complex and noise sensitive whereas model-free silhouette-based approaches remain susceptible to changes in clothing, viewpoint, illumination and carrying conditions [<xref ref-type="bibr" rid="B16">16</xref>]. Convolutional neural networks and recurrent architectures have enhanced the learner capacity of features, but they cannot model the global spatiotemporal features due to their dependence on the local receptive fields and generally need a large labelled dataset, which increases computational demands [<xref ref-type="bibr" rid="B17">17</xref>]. Vision Transformer models provide a potential alternative as they use self-attention to learn global contextual dependencies [<xref ref-type="bibr" rid="B14">14</xref>]. Nevertheless, their direct use in gait biometrics is restricted. The current study bridges this gap by offering a transfer learning based HGR framework using pre-trained ViT-B/16 and ViT-L/32 models to effectively learn discriminative gait representations on image sequences. The suggested methodology involves a multi-view assessment of the CASIA-B dataset, comparison with the state-of-the-art HGR-based methods, and optimisation over the variant of transformers, showing higher level of robustness and performance. This study combines self-attention worldwide with transfer learning to promote gait biometric recognition and make Vision Transformer a viable alternative to traditional CNN-based models.</p>
    </sec>
    <sec id="sec2">
      <title>2. Methods</title>
      <sec id="sec2dot1">
        <title>2.1. Overview of the Proposed Framework</title>
        <p>The proposed study presents an HGR model on Vision Transformer (ViT) architecture with a transfer learning modality. The general workflow involves gait frame detection on video sequences, image processing, dataset division, and transformer-based feature detection and classification. The complete architecture of the proposed system is illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>, which outlines the sequential processing pipeline from data acquisition to final recognition.</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Dataset and Data Acquisition</title>
        <p>CASIA-B gait dataset, which is publicly available, was used to test the proposed framework. The data set consists of gait sequences recorded on 124 participants in controlled conditions in an indoor environment at 11 viewing angles (0˚ to 180˚ with 18˚ intervals). All subjects completed ten walking sequences of which six of them were normal walking sequences (NM), two walking sequences with a carried bag (BG), and two walking sequences with a coat (CL), which were all common covariate conditions that influenced gait recognition. Video-to-image extraction process was used to convert video sequences into image frames. Six frames of every video sequence were uniformly sampled to ensure balance in representation and computational efficiency. The extracted images were all resized at 256 × 256 pixels in three colour channels. The resulting processed data was then further subdivided into training and testing groups so that the performance can be assessed impartially.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId16.jpeg?20260316034128" />
        </fig>
        <p><bold>Figure 1</bold><bold>.</bold>The architecture of the proposed HGR method.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Vision Transformer-Based Gait Recognition</title>
        <p>The suggested framework employs Vision Transformer models to use self-attention mechanisms to learn the global representation of features. In contrast to traditional convolutional neural networks, where local spatial patterns are addressed, ViTs subdivide images into fixed patch sizes and operate on the sequences of the tokens, which allows to effectively model long-range effects. This study adopted two variants of transformers that were pre-trained.</p>
        <p>ViT-B/16 and ViT-L/32, where the numbers indicate patch sizes used for image segmentation. Let the input image be represented as</p>
        <disp-formula id="FD1">
          <mml:math>
            <mml:mrow>
              <mml:mi>I</mml:mi>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mrow>
                  <mml:mi>L</mml:mi>
                  <mml:mo>×</mml:mo>
                  <mml:mi>C</mml:mi>
                  <mml:mo>×</mml:mo>
                  <mml:mi>O</mml:mi>
                </mml:mrow>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mi> L </mml:mi></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> C </mml:mi></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mi> O </mml:mi></mml:math></inline-formula> denote image height, width, and number of channels, respectively. The image is partitioned into non-overlapping patches, which are flattened to form patch vectors</p>
        <disp-formula id="FD2">
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>X</mml:mi>
                <mml:mi>p</mml:mi>
              </mml:msub>
              <mml:mo>∈</mml:mo>
              <mml:msup>
                <mml:mi>ℝ</mml:mi>
                <mml:mrow>
                  <mml:mi>N</mml:mi>
                  <mml:mo>×</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mi>p</mml:mi>
                      <mml:mo>⋅</mml:mo>
                      <mml:mi>O</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mi> p </mml:mi></mml:math></inline-formula> represents the patch resolution and <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> denotes the total number of patches, computed as:</p>
        <disp-formula id="FD3">
          <label>(1)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>N</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mi>L</mml:mi>
                  <mml:mo>×</mml:mo>
                  <mml:mi>C</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>p</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msup>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>This patch-based representation significantly reduces computational complexity while preserving spatial information.</p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. Linear Projection and Positional Encoding</title>
        <p>Each flattened patch was linearly projected into an embedding space using a learnable projection matrix. To retain spatial relationships between patches, positional embeddings were added to the patch embeddings. A learnable classification token was appended to the sequence to enable global representation learning for classification.</p>
        <p>The embedded token sequence was formulated as:</p>
        <disp-formula id="FD4">
          <label>(2)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>z</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mrow>
                      <mml:mi>c</mml:mi>
                      <mml:mi>l</mml:mi>
                      <mml:mi>a</mml:mi>
                      <mml:mi>s</mml:mi>
                      <mml:mi>s</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>;</mml:mo>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                  <mml:mi>E</mml:mi>
                  <mml:mo>;</mml:mo>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                  <mml:mi>E</mml:mi>
                  <mml:mo>;</mml:mo>
                  <mml:mo>⋯</mml:mo>
                  <mml:mo>;</mml:mo>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mi>N</mml:mi>
                  </mml:msub>
                  <mml:mi>E</mml:mi>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mi> E </mml:mi></mml:math></inline-formula> denotes the embedding matrix and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mrow><mml:mi> c </mml:mi><mml:mi> l </mml:mi><mml:mi> a </mml:mi><mml:mi> s </mml:mi><mml:mi> s </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents the class token. This combined sequence served as input to the transformer encoder.</p>
      </sec>
      <sec id="sec2dot5">
        <title>2.5. Transformer Encoder Architecture</title>
        <p>The transformer encoder was composed of several layers, each with a multi-head self-attention (MSA) module then a multi-layer perceptron (MLP) as in <xref ref-type="fig" rid="fig2">Figure 2</xref>. Residual connections and layer normalisation were added in order to enhance the stability of training and prevent the problem of vanishing gradients.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId39.jpeg?20260316034130" />
        </fig>
        <p><bold>Figure 2</bold><bold>.</bold> The architecture of the transformer encoder.</p>
        <p>For the <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> l </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mi> h </mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> encoder layer, the computations were expressed as:</p>
        <disp-formula id="FD5">
          <label>(3)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:msup>
                  <mml:mi>z</mml:mi>
                  <mml:mo>′</mml:mo>
                </mml:msup>
                <mml:mi>l</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mtext>MSA</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mtext>LN</mml:mtext>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>z</mml:mi>
                        <mml:mrow>
                          <mml:mi>l</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:mi>z</mml:mi>
                <mml:mrow>
                  <mml:mi>l</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
              </mml:msub>
              <mml:mo>,</mml:mo>
              <mml:mi>l</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>,</mml:mo>
              <mml:mo>⋯</mml:mo>
              <mml:mo>,</mml:mo>
              <mml:mi>L</mml:mi>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <disp-formula id="FD6">
          <label>(4)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>z</mml:mi>
                <mml:mi>l</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mtext>MLP</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mtext>LN</mml:mtext>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:msup>
                          <mml:mi>z</mml:mi>
                          <mml:mo>′</mml:mo>
                        </mml:msup>
                        <mml:mi>l</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>+</mml:mo>
              <mml:msub>
                <mml:msup>
                  <mml:mi>z</mml:mi>
                  <mml:mo>′</mml:mo>
                </mml:msup>
                <mml:mi>l</mml:mi>
              </mml:msub>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where LN denotes layer normalisation.</p>
      </sec>
      <sec id="sec2dot6">
        <title>2.6. Multi-Head Self-Attention Mechanism</title>
        <p>The MSA module performs parallel self-attention operations across multiple heads to capture diverse feature relationships. For each head, the input embeddings were projected to query (<inline-formula><mml:math><mml:mi> q </mml:mi></mml:math></inline-formula> ), key (<inline-formula><mml:math><mml:mi> k </mml:mi></mml:math></inline-formula> ), and value (<inline-formula><mml:math><mml:mi> v </mml:mi></mml:math></inline-formula> ) matrices:</p>
        <disp-formula id="FD7">
          <label>(5)</label>
          <mml:math>
            <mml:mrow>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mi>q</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>k</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>v</mml:mi>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mi>z</mml:mi>
                  <mml:msub>
                    <mml:mi>U</mml:mi>
                    <mml:mi>q</mml:mi>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:mi>z</mml:mi>
                  <mml:msub>
                    <mml:mi>U</mml:mi>
                    <mml:mi>k</mml:mi>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:mi>z</mml:mi>
                  <mml:msub>
                    <mml:mi>U</mml:mi>
                    <mml:mi>v</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> U </mml:mi><mml:mi> q </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> U </mml:mi><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> U </mml:mi><mml:mi> v </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are learnable weight matrices.</p>
        <p>The attention weights were computed using the scaled dot-product mechanism:</p>
        <disp-formula id="FD8">
          <label>(6)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>A</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mtext>softmax</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:mi>q</mml:mi>
                      <mml:msup>
                        <mml:mi>k</mml:mi>
                        <mml:mtext>T</mml:mtext>
                      </mml:msup>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:msqrt>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>d</mml:mi>
                            <mml:mi>k</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:msqrt>
                    </mml:mrow>
                  </mml:mfrac>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The self-attention output was then obtained as:</p>
        <disp-formula id="FD9">
          <label>(7)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>S</mml:mi>
              <mml:mi>A</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>z</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mi>A</mml:mi>
              <mml:mi>v</mml:mi>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Outputs from all heads were concatenated and linearly transformed:</p>
        <disp-formula id="FD10">
          <label>(8)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>MSA</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>z</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>[</mml:mo>
                <mml:mrow>
                  <mml:mi>S</mml:mi>
                  <mml:msub>
                    <mml:mi>A</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>z</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>;</mml:mo>
                  <mml:mi>S</mml:mi>
                  <mml:msub>
                    <mml:mi>A</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>z</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>;</mml:mo>
                  <mml:mo>⋯</mml:mo>
                  <mml:mo>;</mml:mo>
                  <mml:mi>S</mml:mi>
                  <mml:msub>
                    <mml:mi>A</mml:mi>
                    <mml:mi>k</mml:mi>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>z</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>]</mml:mo>
              </mml:mrow>
              <mml:msub>
                <mml:mi>U</mml:mi>
                <mml:mrow>
                  <mml:mi>m</mml:mi>
                  <mml:mi>s</mml:mi>
                  <mml:mi>a</mml:mi>
                </mml:mrow>
              </mml:msub>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>as depicted in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId66.jpeg?20260316034130" />
        </fig>
        <p><bold>Figure 3</bold><bold>.</bold> The architecture of MSA.</p>
      </sec>
      <sec id="sec2dot7">
        <title>2.7. Multi-Layer Perceptron Block</title>
        <p>The MLP block comprised two fully connected layers with Gaussian Error Linear Unit (GeLU) activation, as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. GeLU assigns weights based on both magnitude and sign, enabling improved nonlinear representation learning compared to ReLU.</p>
        <p>The MLP output was expressed as:</p>
        <disp-formula id="FD11">
          <label>(9)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>r</mml:mi>
                <mml:mi>n</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mtext>GeLU</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>W</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                  <mml:mo>⋅</mml:mo>
                  <mml:mtext>GeLU</mml:mtext>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>W</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                      <mml:msub>
                        <mml:mi>z</mml:mi>
                        <mml:mi>n</mml:mi>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>b</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:msub>
                    <mml:mi>b</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the embedding of the <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> n </mml:mi><mml:mrow><mml:mi> t </mml:mi><mml:mi> h </mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> patch.</p>
      </sec>
      <sec id="sec2dot8">
        <title>2.8. Classification and Model Training</title>
        <p>The classifier head was replaced with a single linear layer with classes outputs followed by softmax with Cross-Entropy loss, ensuring compatibility with single-label multi-class recognition.</p>
        <p>Model optimisation was performed using the Adam optimizer, and categorical cross-entropy loss was employed:</p>
        <disp-formula id="FD12">
          <label>(10)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>ℒ</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:munderover>
                <mml:mstyle displaystyle="true" mathsize="140%">
                  <mml:mo>∑</mml:mo>
                </mml:mstyle>
                <mml:mrow>
                  <mml:mi>t</mml:mi>
                  <mml:mo>=</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
                <mml:mi>T</mml:mi>
              </mml:munderover>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:msub>
              <mml:mi>log</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mover accent="true">
                      <mml:mi>y</mml:mi>
                      <mml:mo>^</mml:mo>
                    </mml:mover>
                    <mml:mi>t</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> t </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> represents the ground truth label, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi> y </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mi> t </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability, and <inline-formula><mml:math><mml:mi> T </mml:mi></mml:math></inline-formula> is the number of samples.</p>
        <p>Both ViT-B/16 and ViT-L/32 models were fine-tuned using learning rates of 0.001 and 0.0001, a batch size of 16, and 200 training epochs.</p>
      </sec>
      <sec id="sec2dot9">
        <title>2.9. Experimental Setup and Evaluation</title>
        <p>Experiments were conducted using four selected viewing angles of the CASIA-B dataset (0˚, 18˚, 36˚, and 54˚) to assess performance. Model performance was evaluated using training accuracy, testing accuracy, training loss, and testing loss.</p>
        <p>The models were evaluated under three experimental setups: a 70:30 data split, a frontal view analysis, and a cross-view analysis. In the 70:30 configuration, the NM, BG, and CL classes of the CASIA-B dataset were included. Each class contained sequences from all subjects. This experiment was designed to examine how well the models handled variations in appearance.</p>
        <p>A second set of experiments focused on subject recognition under different appearance conditions. Three evaluations were carried out: gallery versus NM, gallery versus CL, and gallery versus BG. The gallery set consisted of sequences NM-01 to NM-04, which were used for training. The corresponding test sets were NM-05 to NM-06, CL-01 to CL-02, and BG-01 to BG-02. These sequences allowed the system to be analyzed under normal walking, clothing variations, and carrying conditions.</p>
        <p>The third experimental setup was intended to measure cross-view performance. The model was trained using sequences captured at the 000˚ view. It was then tested using sequences captured at the 180˚ view. This configuration introduced a significant change in viewpoint, providing insight into how effectively the model generalized to unseen angles. All experiments were implemented in a Jupyter Notebook environment on a system equipped with an Intel Core i5 (9th generation) processor, 32 GB RAM, and an NVIDIA RTX 2060 GPU.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Results</title>
      <sec id="sec3dot1">
        <title>3.1. Experimental Setup</title>
        <p>The proposed Vision Transformer-based HGR framework was evaluated using four viewing angles of the CASIA-B dataset, namely 0˚, 18˚, 36˚, and 54˚. All experiments were implemented in a Jupyter Notebook environment using an Intel Core i5 (9th generation) processor, 32 GB RAM, 1.5 TB SSD storage, and an NVIDIA RTX 2060 GPU with 8 GB memory. Two pre-trained transformer models, ViT-B/16 and ViT-L/32, were fine-tuned using a batch size of 16 for 200 epochs. Learning rates of 0.001 and 0.0001 were examined to assess model sensitivity to optimisation settings.</p>
        <p>Model performance was evaluated using training accuracy (Trn-ACR), testing accuracy (Tst-ACR), training loss (Trn-LS), and testing loss (Tst-LS).</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Performance of ViT-B/16 at Learning Rate 0.001</title>
        <p>The ViT-B/16 model was first evaluated using a learning rate of 0.001 across the selected CASIA-B viewing angles. At 0˚, the model achieved a training accuracy of 93.40% and a testing accuracy of 91.47%, with corresponding training and testing losses of 17.59% and 22.01%, respectively. At 18˚, training and testing accuracies decreased slightly to 89.91% and 86.80%, with losses of 26.82% and 34.27%. For the 36˚ angle, the model obtained a training accuracy of 89.22% and a testing accuracy of 86.28%, while training and testing losses were recorded as 28.15% and 34.56%. At 54˚, the performance further declined, with training and testing accuracies of 88.95% and 83.43%, and losses of 28.44% and 40.50%.</p>
        <p>The detailed numerical results are presented in <bold>Table 1</bold>, while the corresponding training and validation curves are illustrated in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p>
        <p><bold>Table 1.</bold>Results for the ViT-B/16 model using CASIA-B at a learning rate of 0.001.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Angle (</bold>
                  <bold>˚</bold>
                  <bold>)</bold>
                </td>
                <td>
                  <bold>Trn-ACR (%)</bold>
                </td>
                <td>
                  <bold>Tst-ACR (%)</bold>
                </td>
                <td>
                  <bold>Trn-LS (%)</bold>
                </td>
                <td>
                  <bold>Tst-LS (%)</bold>
                </td>
              </tr>
              <tr>
                <td>0</td>
                <td>93.40</td>
                <td>91.47</td>
                <td>17.59</td>
                <td>22.01</td>
              </tr>
              <tr>
                <td>18</td>
                <td>89.91</td>
                <td>86.80</td>
                <td>26.82</td>
                <td>34.27</td>
              </tr>
              <tr>
                <td>36</td>
                <td>89.22</td>
                <td>86.28</td>
                <td>28.15</td>
                <td>34.56</td>
              </tr>
              <tr>
                <td>54</td>
                <td>88.95</td>
                <td>83.43</td>
                <td>28.44</td>
                <td>40.50</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Performance of ViT-B/16 at Learning Rate 0.0001</title>
        <p>When the learning rate was reduced to 0.0001, the ViT-B/16 model exhibited a noticeable decrease in recognition performance. At 0˚, the training accuracy was 89.98% and the testing accuracy was 87.86%, with losses of 29.34% and 32.10%, respectively.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId81.jpeg?20260316034135" />
        </fig>
        <p><bold>Figure 4.</bold>Training curves for the ViT-B/16 model using CASIA-B at a learning rate of 0.001.</p>
        <p>At 18˚, performance dropped to 82.93% training accuracy and 81.15% testing accuracy. For 36˚, the model attained 81.20% training accuracy and 79.33% testing accuracy, with increased losses exceeding 50%. At 54˚, training and testing accuracies were recorded as 82.60% and 78.84%, respectively.</p>
        <p>The complete results are summarised in <bold>Table 2</bold>, with training behaviour illustrated in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p>
        <p><bold>Table 2.</bold>Results for the ViT-B/16 model using CASIA-B at a learning rate of 0.0001.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>Angle (˚)</td>
                <td>Trn-ACR (%)</td>
                <td>Tst-ACR (%)</td>
                <td>Trn-LS (%)</td>
                <td>Tst-LS (%)</td>
              </tr>
              <tr>
                <td>0</td>
                <td>89.98</td>
                <td>87.86</td>
                <td>29.34</td>
                <td>32.10</td>
              </tr>
              <tr>
                <td>18</td>
                <td>82.93</td>
                <td>81.15</td>
                <td>42.99</td>
                <td>47.05</td>
              </tr>
              <tr>
                <td>36</td>
                <td>81.20</td>
                <td>79.33</td>
                <td>51.62</td>
                <td>50.90</td>
              </tr>
              <tr>
                <td>54</td>
                <td>82.60</td>
                <td>78.84</td>
                <td>41.18</td>
                <td>50.90</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot4">
        <title>3.4. Performance of ViT-B/16 for Frontal View Analysis Using 00˚ Angle of CASIA-B</title>
        <p>For the frontal-view analysis using the 000˚ angle of the CASIA-B dataset, four sets were used in the experiments: the gallery view, NM, BG, and CL. The gallery view consisted of four sequences (NM-01 to NM-04), while NM-05 to NM-06, BG-01 to BG-02, and CL-01 to CL-02 were used as the evaluation sets. Each set contained gait sequences from all 124 subjects. The objective of this experiment was to investigate the model’s ability to handle variations in appearance.</p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId82.jpeg?20260316034135" />
        </fig>
        <p><bold>Figure 5.</bold>Training curves for the ViT-B/16 model using CASIA-B at a learning rate of 0.0001.</p>
        <p>Using the gallery versus NM configuration, ViT-B/16 achieved a training accuracy of 100%, a test accuracy of 98.51%, a training loss of 0.00, and a test loss of 1.10. Under the gallery vs. CL setting, the model obtained training and test accuracies of 100% and 33.20%, respectively, with corresponding losses of 0.00 and 7.02. In the gallery versus BG evaluation, the training accuracy, test accuracy, training loss, and test loss were 100%, 98.43%, 0.00, and 2.10, respectively.</p>
        <p>These results indicate that ViT-B/16 performs strongly on the NM and BG sets but exhibits a notable decline in performance on the CL set. The detailed results are provided in <bold>Table 3</bold>.</p>
        <p><bold>Table 3.</bold>Performance of ViT-B/16 for frontal view analysis using 00˚ angle of CASIA-B.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Variation</bold>
                </td>
                <td>
                  <bold>Trn-ACR (%)</bold>
                </td>
                <td>
                  <bold>Tst-ACR (%)</bold>
                </td>
                <td>
                  <bold>Trn-LS (%)</bold>
                </td>
                <td>
                  <bold>Tst-LS (%)</bold>
                </td>
              </tr>
              <tr>
                <td>NM</td>
                <td>100</td>
                <td>98.51</td>
                <td>0.00</td>
                <td>1.1</td>
              </tr>
              <tr>
                <td>CL</td>
                <td>100</td>
                <td>33.20</td>
                <td>0.00</td>
                <td>7.02</td>
              </tr>
              <tr>
                <td>BG</td>
                <td>100</td>
                <td>98.43</td>
                <td>0.00</td>
                <td>2.10</td>
              </tr>
              <tr>
                <td>Average</td>
                <td>100</td>
                <td>76.71</td>
                <td>0.00</td>
                <td>3.40</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The training curves for all experiments using frontal view on ViT-B/16 are illustrated in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p>
      </sec>
      <sec id="sec3dot5">
        <title>3.5. Performance of ViT-B/16 for Cross View Analysis</title>
        <p>For the cross-view analysis of ViT-B/16, 70% of the gait sequences captured at the 000˚ view of the CASIA-B dataset were used for training, whereas 30% of the sequences captured at the 180˚ view were used for testing. The evaluation employed four metrics: training accuracy, test accuracy, training loss, and test loss. The model achieved a training accuracy of 100%, a test accuracy of 38.95%, a training loss of 0.00, and a test loss of 11.1123. The corresponding training curve for the cross-view evaluation using ViT-B/16 is presented in <xref ref-type="fig" rid="fig7">Figure 7</xref><bold>.</bold></p>
        <fig id="fig6">
          <label>Figure 6</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId83.jpeg?20260316034136" />
        </fig>
        <p><bold>Figure 6.</bold>Training curves of ViT-B/16 for frontal view analysis using 00˚ angle of CASIA-B.</p>
        <fig id="fig7">
          <label>Figure 7</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId84.jpeg?20260316034136" />
        </fig>
        <p><bold>Figure 7.</bold>Training curves of ViT-B/16 for cross view analysis.</p>
      </sec>
      <sec id="sec3dot6">
        <title>3.6. Performance of ViT-L/32 at Learning Rate 0.001</title>
        <p>The ViT-L/32 model demonstrated improved recognition performance compared with ViT-B/16 when trained using a learning rate of 0.001. At 0˚, the model achieved a training accuracy of 96.33% and a testing accuracy of 94.02%, with reduced losses of 10.98% and 16.29%, respectively.</p>
        <p>At 18˚, training and testing accuracies were 90.96% and 87.64%. At 36˚, the model obtained 89.94% training accuracy and 86.69% testing accuracy. At 54˚, performance decreased to 89.38% training accuracy and 83.12% testing accuracy.</p>
        <p>The quantitative outcomes are shown in <bold>Table 4</bold>, and the training trends are illustrated in <xref ref-type="fig" rid="fig8">Figure 8</xref>.</p>
        <p><bold>Table 4.</bold>Results for the ViT-L/32 model using CASIA-B at a learning rate of 0.001.</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Angle (</bold>
                  <bold>˚</bold>
                  <bold>)</bold>
                </td>
                <td>
                  <bold>Trn-ACR (%)</bold>
                </td>
                <td>
                  <bold>Tst-ACR (%)</bold>
                </td>
                <td>
                  <bold>Trn-LS (%)</bold>
                </td>
                <td>
                  <bold>Tst-LS (%)</bold>
                </td>
              </tr>
              <tr>
                <td>0</td>
                <td>96.33</td>
                <td>94.02</td>
                <td>10.98</td>
                <td>16.29</td>
              </tr>
              <tr>
                <td>18</td>
                <td>90.96</td>
                <td>87.64</td>
                <td>23.83</td>
                <td>32.64</td>
              </tr>
              <tr>
                <td>36</td>
                <td>89.94</td>
                <td>86.69</td>
                <td>26.44</td>
                <td>32.04</td>
              </tr>
              <tr>
                <td>54</td>
                <td>89.38</td>
                <td>83.12</td>
                <td>26.74</td>
                <td>40.05</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec3dot7">
        <title>3.7. Performance of ViT-L/32 at Learning Rate 0.0001</title>
        <p>At the lower learning rate of 0.0001, ViT-L/32 achieved slightly reduced performance relative to its higher learning rate configuration. At 0˚, training and testing accuracies were 92.25% and 90.75%, respectively. Similar performance was observed at 18˚, with a testing accuracy of 90.69%.</p>
        <fig id="fig8">
          <label>Figure 8</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId85.jpeg?20260316034137" />
        </fig>
        <p><bold>Figure 8.</bold>Training curves for the ViT-L/32 model using CASIA-B at a learning rate of 0.001.</p>
        <p>However, at higher viewing angles, performance decreased to 83.52% at 36˚ and 80.23% at 54˚. The complete results are provided in <bold>Table 5</bold>, while the training curves are depicted in <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p>
        <p><bold>Table 5.</bold>Results for the ViT-L/32 model using CASIA-B at a learning rate of 0.0001.</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Angle (</bold>
                  <bold>˚</bold>
                  <bold>)</bold>
                </td>
                <td>
                  <bold>Trn-ACR (%)</bold>
                </td>
                <td>
                  <bold>Tst-ACR (%)</bold>
                </td>
                <td>
                  <bold>Trn-LS (%)</bold>
                </td>
                <td>
                  <bold>Tst-LS (%)</bold>
                </td>
              </tr>
              <tr>
                <td>0</td>
                <td>92.25</td>
                <td>90.75</td>
                <td>23.54</td>
                <td>26.20</td>
              </tr>
              <tr>
                <td>18</td>
                <td>92.28</td>
                <td>90.69</td>
                <td>24.51</td>
                <td>25.20</td>
              </tr>
              <tr>
                <td>36</td>
                <td>85.02</td>
                <td>83.52</td>
                <td>39.78</td>
                <td>41.72</td>
              </tr>
              <tr>
                <td>54</td>
                <td>84.65</td>
                <td>80.23</td>
                <td>39.24</td>
                <td>47.34</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <fig id="fig9">
          <label>Figure 9</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId86.jpeg?20260316034137" />
        </fig>
        <p><bold>Figure 9.</bold>Training curves for the ViT-L/32 model using CASIA-B at a learning rate of 0.0001.</p>
      </sec>
      <sec id="sec3dot8">
        <title>3.8. Performance of ViT-L/32 for Frontal View Analysis Using 00˚ Angle of CASIA-B</title>
        <p>The frontal-view analysis using the 000˚ angle of the CASIA-B dataset followed the same experimental protocol described previously for ViT-L/32. Under the gallery vs. NM evaluation setting, ViT-L/32 achieved a training accuracy of 100%, a test accuracy of 96.27%, a training loss of 0.00, and a test loss of 2.15. When evaluated under the gallery vs. CL setting, the model obtained training and test accuracies of 100% and 42.09%, respectively, with corresponding training and test losses of 0.00 and 6.23. For the gallery vs. BG setting, the training accuracy, test accuracy, training loss, and test loss were 100%, 89.98%, 0.00, and 8.21, respectively.</p>
        <p>Based on these results, it is evident that ViT-L/32 performs strongly on the NM and BG sets, whereas its performance declines considerably on the CL set. The detailed results are presented in <bold>Table 6</bold>.</p>
        <p><bold>Table 6.</bold>Results of ViT-L/32 for frontal view analysis using 00˚ angle of CASIA-B.</p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Variation</bold>
                </td>
                <td>
                  <bold>Trn-ACR (%)</bold>
                </td>
                <td>
                  <bold>Tst-ACR (%)</bold>
                </td>
                <td>
                  <bold>Trn-LS (%)</bold>
                </td>
                <td>
                  <bold>Tst-LS (%)</bold>
                </td>
              </tr>
              <tr>
                <td>NM</td>
                <td>100</td>
                <td>96.27</td>
                <td>0.00</td>
                <td>2.15</td>
              </tr>
              <tr>
                <td>CL</td>
                <td>100</td>
                <td>42.09</td>
                <td>0.00</td>
                <td>6.23</td>
              </tr>
              <tr>
                <td>BG</td>
                <td>100</td>
                <td>89.98</td>
                <td>0.00</td>
                <td>8.21</td>
              </tr>
              <tr>
                <td>Average</td>
                <td>100</td>
                <td>76.11</td>
                <td>0.00</td>
                <td>5.53</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The training curves for the frontal view experiments using ViT-L/32 are depicted in <xref ref-type="fig" rid="fig10">Figure 10</xref>.</p>
      </sec>
      <sec id="sec3dot9">
        <title>3.9. Performance of ViT-L/32 for Cross View Analysis</title>
        <p>For the crossview analysis of ViTL/32, 70% of the gait sequences captured at the 000˚ view of the CASIAB dataset were used for training, while 30% of the sequences captured at the 180˚ view were used for testing. The evaluation considered four metrics: training accuracy, test accuracy, training loss, and test loss. The model achieved a training accuracy of 100%, a test accuracy of 38.84%, a training loss of 0.00, and a test loss of 12.70. The training curves corresponding to this crossview evaluation using ViT-L/32 are presented in <xref ref-type="fig" rid="fig11">Figure 11</xref>.</p>
      </sec>
      <sec id="sec3dot10">
        <title>3.10. Comparative Analysis with Recent HGR Methods</title>
        <p><bold>Table 7</bold> is a comparative analysis of the suggested transformer-based framework and the latest HGR methods. The GaitSTAR approach recorded a 76.50% average recognition accuracy at selected angles, and spatial-temporal feature optimisation designs reached around 81.68%. View alignment methods based on GEI achieved average accuracy of less than 80%. The proposed ViT-L/32 model with an average testing accuracy of 87.87 and ViT-B/16 with 86.99 model showed better performance in all tested angles as well.</p>
        <fig id="fig10">
          <label>Figure 10</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId87.jpeg?20260316034139" />
        </fig>
        <p><bold>Figure 10.</bold>Training curves of ViT-L/32 for frontal view analysis using 00˚ angle of CASIA-B.</p>
        <fig id="fig11">
          <label>Figure 11</label>
          <graphic xlink:href="https://html.scirp.org/file/1733456-rId88.jpeg?20260316034138" />
        </fig>
        <p><bold>Figure 11.</bold>Training curves of ViT-L/32 for cross view analysis.</p>
        <p><bold>Table 7.</bold>Comparison of the proposed method with recent HGR techniques.</p>
        <table-wrap id="tbl7">
          <label>Table 7</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Reference</bold>
                </td>
                <td>
                  <bold>Year</bold>
                </td>
                <td>
                  <bold>0</bold>
                  <bold>˚</bold>
                  <bold>(%)</bold>
                </td>
                <td>
                  <bold>18</bold>
                  <bold>˚</bold>
                  <bold>(%)</bold>
                </td>
                <td>
                  <bold>36</bold>
                  <bold>˚</bold>
                  <bold>(%)</bold>
                </td>
                <td>
                  <bold>54</bold>
                  <bold>˚</bold>
                  <bold>(%)</bold>
                </td>
                <td>
                  <bold>Average (%)</bold>
                </td>
              </tr>
              <tr>
                <td>[54]</td>
                <td>2024</td>
                <td>66.60</td>
                <td>75.23</td>
                <td>82.60</td>
                <td>82.57</td>
                <td>76.50</td>
              </tr>
              <tr>
                <td>[56]</td>
                <td>2022</td>
                <td>79.70</td>
                <td>81.26</td>
                <td>82.76</td>
                <td>83.03</td>
                <td>81.68</td>
              </tr>
              <tr>
                <td>[55]</td>
                <td>2020</td>
                <td>–</td>
                <td>–</td>
                <td>–</td>
                <td>71.57</td>
                <td>71.57</td>
              </tr>
              <tr>
                <td>[57]</td>
                <td>2019</td>
                <td>81.77</td>
                <td>78.06</td>
                <td>78.60</td>
                <td>80.16</td>
                <td>79.65</td>
              </tr>
              <tr>
                <td>ViT-L/32</td>
                <td>—</td>
                <td>94.02</td>
                <td>87.64</td>
                <td>86.69</td>
                <td>83.12</td>
                <td>87.87</td>
              </tr>
              <tr>
                <td>ViT-B/16</td>
                <td>—</td>
                <td>91.47</td>
                <td>86.80</td>
                <td>86.28</td>
                <td>83.43</td>
                <td>86.99</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The computational complexity of both models, ViTB/16 and ViTL/32, was also evaluated, as summarized in <bold>Table 8</bold>. The two architectures exhibit distinct parameter counts and FLOP requirements, with ViTB/16 requiring approximately 44 GFLOPs and ViTL/32 requiring approximately 55 - 60 GFLOPs. This substantial disparity in computational cost arises primarily from differences in patch size, the number of transformer layers, and the dimensionality of the hidden representations. In comparison, ViTB/16 demonstrated greater efficiency, owing to its lower FLOP count and reduced inference latency compared to ViTL/32.</p>
        <p><bold>Table 8.</bold>Computational complexity of ViT-B/16 and ViT-L/32.</p>
        <table-wrap id="tbl8">
          <label>Table 8</label>
          <table>
            <tbody>
              <tr>
                <td>Model</td>
                <td>Patch Size</td>
                <td>Params (M)</td>
                <td>FLOPs (G) (224 × 224 input)</td>
              </tr>
              <tr>
                <td>ViT-B/16</td>
                <td>16 × 16</td>
                <td>~85.8</td>
                <td>~44</td>
              </tr>
              <tr>
                <td>ViT-L/32</td>
                <td>32 × 32</td>
                <td>~307</td>
                <td>~55 - 60</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Discussion</title>
      <p>The experimental findings indicate that the proposed gait recognition Vision Transformer (ViT)-based framework achieved a high recognition accuracy under various viewing angles of the CASIA-B data. Transformer variants (ViT-B/16 and ViT-L/32) demonstrated both strong performance in perspective changes, with ViT-L/32 models generally outperforming ViT-B/16 in most parameterizations, especially when the learning rate is 0.001.</p>
      <sec id="sec4dot1">
        <title>4.1. Performance Trends across Models and Learning Rates</title>
        <p>Models trained at a learning rate of 0.001 performed better than models trained at 0.0001 across all viewing angles, suggesting moderately higher learning rate enabled improved convergence and adaptation to features during fine-tuning. As illustrated in <bold>Table 1</bold> and <xref ref-type="fig" rid="fig1">Figure 1</xref>, the ViT-B/16 model recorded its best test accuracy (Tst-ACR) at 0˚ of 91.47, where the poor performance reached 83.43 at 54˚. This apparent negative relationship with the horizontal angle reflects the expected difficulty in recognizing cross-view gait since the silhouettes vary dramatically in appearance and motion projection angles.</p>
        <p>As presented in <bold>Table 2</bold> and illustrated again in <xref ref-type="fig" rid="fig2">Figure 2</xref>, the ViTB/16 model trained with a 0.0001 learning rate showed a noticeable performance drop. This decline was most evident at the 36˚ and 54˚ viewpoints, where the training accuracy fell below 80%. This underperformance emphasises the importance of selecting appropriate hyperparameters in the application of transformer-based models, and they are also subject to optimisation schedules and data distribution.</p>
        <p>Conversely, the ViT-L/32 model exhibited better overall feature discrimination with the highest Tst-ACR of 94.02% at 0˚ with 0.001-learning rate (<bold>Table 3</bold>, <xref ref-type="fig" rid="fig3">Figure 3</xref>). ViT-L/32 achieved accuracies of over 86% at even more challenging angles (18˚ and 36˚), much higher than the calculated analogs of ViT-B/16. This trend demonstrates the benefit of increased patch sizes and increased transformer layers to capture global gait dynamics and supports related literature indicating the usefulness of transformer attention processes in learning long-range spatial dependencies in vision tasks in intuition [<xref ref-type="bibr" rid="B18">18</xref>][<xref ref-type="bibr" rid="B19">19</xref>]. At the reduced learning rate of 0.0001 (<bold>Table 4</bold>, <xref ref-type="fig" rid="fig4">Figure 4</xref>), ViT-L/32 continued to achieve fairly high performance with Tst-ACRs exceeding 90%.at 0˚ and 18˚.</p>
        <p>However, recognition at higher angles (36˚ and 54˚) again declined, illustrating that viewpoint variation remains a fundamental challenge for gait recognition systems even when using advanced architectures. The models were further assessed under frontalview appearance conditions, and the findings demonstrated that variations in clothing exerted a substantial influence on performance. Moreover, when evaluating view variation, a pronounced degradation in accuracy was observed, indicating a significant sensitivity of the models to changes in viewpoint.</p>
        <p>This trend echoes the broader gait recognition literature, where cross-view variation is acknowledged as one of the most persistent sources of error in both appearance-based and model-based frameworks [<xref ref-type="bibr" rid="B20">20</xref>].</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Comparative Analysis with State-of-the-Art</title>
        <p>When compared with recent HGR methods (<bold>Table 7</bold>), the proposed transformer models achieve superior recognition accuracy across all evaluated angles. The ViT-L/32 model yielded an average accuracy of 87.87%, surpassing techniques such as spatiotemporal attention networks (e.g., GaitSTAR) and hybrid feature optimisation approaches, which have reported average accuracies in the mid-70s to low-80s for the same evaluation protocol. For example, the GaitSTAR method obtained approximately 76.5% average accuracy across the first four angles of CASIA-B, while conventional optimisation and deep learning frameworks ranged between ~71.6% and ~81.7% in recent literature [<xref ref-type="bibr" rid="B21">21</xref>]. These results demonstrate that transformer-based global attention aids in extracting discriminative gait features that are less sensitive to covariate variations compared to traditional CNN-based methods and handcrafted feature approaches.</p>
        <p>In particular, methods such as Gait-ViT, which apply Vision Transformers to averaged silhouette templates (GEIs), have reported near-perfect CASIA-B performance in controlled settings (e.g., &gt;99% accuracy) [<xref ref-type="bibr" rid="B19">19</xref>][<xref ref-type="bibr" rid="B21">21</xref>]. However, such results often stem from tailored preprocessing (e.g., GEI extraction) and evaluation conditions that may not reflect raw sequence inputs. The present study’s direct application of ViT models to resized frames (256 × 256) without silhouette averaging demonstrates competitive performance under raw input conditions, highlighting the flexibility and generalisability of transformer architectures for gait representation learning.</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. Interpretation of Training Behaviour</title>
        <p>The training curves in all the experimental settings are visualised in <xref ref-type="fig" rid="fig1">Figures 1-4</xref>, which indicate that there are similar patterns of convergence during training and validation stages. It is also worth noting that models educated with the learning rate of 0.001 exhibited a smoother and quicker convergence, and the difference between training and testing losses were less, which suggests improved generalisation. Conversely, the 0.0001 learning rate curves exhibited larger loss gaps and slower rates of convergence, especially ViT-B/16, which reflect the underfitting behavior of more complex visual patterns. Such findings are consistent with the general knowledge on transformer optimisation in vision tasks, where the correct learning rate schedules and patch representations have a strong impact on representation consistency and prediction. Recent studies on gait transformer also propose that patch designs and positional encoding algorithms may have significant impact on recognition performance especially where conditions of cross-view and temporal variation are involved variability [<xref ref-type="bibr" rid="B13">13</xref>][<xref ref-type="bibr" rid="B22">22</xref>].</p>
      </sec>
      <sec id="sec4dot4">
        <title>4.4. Limitations and Future Directions</title>
        <p>Although the performance is high, the findings validate that viewpoint variation is a core concern of gait recognition, despite the advanced attention-based models. Although ViT-L/32 alleviates these effects to some extent, recognition accuracy declined by approximately 10% across frontal and oblique views, which suggests that alternative strategies, including multi-view fusion, temporal augmentation, or hierarchical attention, can further strengthen them. Future directions could involve studies on self-supervised pretraining with large uncontrolled gait datasets (e.g., GREW) to improve functional generalisation and test performance in unconstrained real-world scenarios.</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Conclusions</title>
      <p>This study introduced a human gait recognition model which was built on ViT-B/16 and ViT-B/32 transfer learning architectures to overcome the problem associated with viewpoint variations, clothing and carrying changes. The two models were tested at various viewing angles of CASIA-B dataset and exhibited optimal recognition performance. ViT-B/16 and ViT-B/32 models recorded 86.99% and 87.87% average testing accuracy, respectively, which surpasses recent gait recognition models.</p>
      <p>This high performance is explained by the self-attention mechanism of Vision Transformers, which effectively encodes global and discriminative gait characteristics in patches of images. The proposed method proved resilient to within-class discrepancies and minimized the computation cost by using pre-trained models. The results highlight the possibilities of transformer-based architectures to efficiently and accurately recognize gaits in practical biometric and surveillance scenarios.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bilal, M., Jianbiao, H., Mushtaq, H., Asim, M., Ali, G. and ElAffendi, M. (2024) GaitSTAR: Spatial-Temporal Attention-Based Feature-Reweighting Architecture for Human Gait Recognition. <italic>Mathematics</italic>, 12, Article 2458. https://doi.org/10.3390/math12162458 <pub-id pub-id-type="doi">10.3390/math12162458</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/math12162458">https://doi.org/10.3390/math12162458</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bilal, M.</string-name>
              <string-name>Jianbiao, H.</string-name>
              <string-name>Mushtaq, H.</string-name>
              <string-name>Asim, M.</string-name>
              <string-name>Ali, G.</string-name>
              <string-name>ElAffendi, M.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>GaitSTAR: Spatial-Temporal Attention-Based Feature-Reweighting Architecture for Human Gait Recognition</article-title>
            <source>Mathematics</source>
            <volume>12</volume>
            <elocation-id>2458</elocation-id>
            <pub-id pub-id-type="doi">10.3390/math12162458</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Yao, L., Kusakunniran, W., Wu, Q., Zhang, J., Tang, Z. and Yang, W. (2021) Robust Gait Recognition Using Hybrid Descriptors Based on Skeleton Gait Energy Image. <italic>Pattern Recognition Letters</italic>, 150, 289-296. https://doi.org/10.1016/j.patrec.2019.05.012 <pub-id pub-id-type="doi">10.1016/j.patrec.2019.05.012</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.patrec.2019.05.012">https://doi.org/10.1016/j.patrec.2019.05.012</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Yao, L.</string-name>
              <string-name>Kusakunniran, W.</string-name>
              <string-name>Wu, Q.</string-name>
              <string-name>Zhang, J.</string-name>
              <string-name>Tang, Z.</string-name>
              <string-name>Yang, W.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Robust Gait Recognition Using Hybrid Descriptors Based on Skeleton Gait Energy Image</article-title>
            <source>Pattern Recognition Letters</source>
            <volume>150</volume>
            <pub-id pub-id-type="doi">10.1016/j.patrec.2019.05.012</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Gao, S., Yun, J., Zhao, Y. and Liu, L. (2022) Gait-d: Skeleton-Based Gait Feature Decomposition for Gait Recognition. <italic>IET Computer Vision</italic>, 16, 111-125. https://doi.org/10.1049/cvi2.12070 <pub-id pub-id-type="doi">10.1049/cvi2.12070</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1049/cvi2.12070">https://doi.org/10.1049/cvi2.12070</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Gao, S.</string-name>
              <string-name>Yun, J.</string-name>
              <string-name>Zhao, Y.</string-name>
              <string-name>Liu, L.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Gait-d: Skeleton-Based Gait Feature Decomposition for Gait Recognition</article-title>
            <source>IET Computer Vision</source>
            <volume>16</volume>
            <pub-id pub-id-type="doi">10.1049/cvi2.12070</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Tyagi, A., Gupta, N., Dwivedi, A., Singh, A. and Srivastava, S. (2026) Human Gait Recognition: A Comprehensive Study Using Deep Learning and Gait Energy Images. In: <italic>Algorithms for Intelligent Systems</italic>, Springer, 427-440. https://doi.org/10.1007/978-981-95-0493-0_33 <pub-id pub-id-type="doi">10.1007/978-981-95-0493-0_33</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-981-95-0493-0_33">https://doi.org/10.1007/978-981-95-0493-0_33</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Tyagi, A.</string-name>
              <string-name>Gupta, N.</string-name>
              <string-name>Dwivedi, A.</string-name>
              <string-name>Singh, A.</string-name>
              <string-name>Srivastava, S.</string-name>
              <string-name>Systems, S</string-name>
            </person-group>
            <year>2026</year>
            <article-title>Human Gait Recognition: A Comprehensive Study Using Deep Learning and Gait Energy Images</article-title>
            <source>In: Algorithms for Intelligent Systems</source>
            <volume>427</volume>
            <pub-id pub-id-type="doi">10.1007/978-981-95-0493-0_33</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Sharma, H. and Grover, J. (2018) Human Identification Based on Gait Recognition for Multiple View Angles. <italic>International</italic><italic>Journal</italic><italic>of</italic><italic>Intelligent</italic><italic>Robotics</italic><italic>and</italic><italic>Applications</italic>, 2, 372-380. https://doi.org/10.1007/s41315-018-0061-y <pub-id pub-id-type="doi">10.1007/s41315-018-0061-y</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s41315-018-0061-y">https://doi.org/10.1007/s41315-018-0061-y</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Sharma, H.</string-name>
              <string-name>Grover, J.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Human Identification Based on Gait Recognition for Multiple View Angles</article-title>
            <source>International Journal of Intelligent Robotics and Applications</source>
            <volume>2</volume>
            <pub-id pub-id-type="doi">10.1007/s41315-018-0061-y</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Shi, L.F., Liu, Z.Y., Zhou, K.J., Shi, Y. and Jing, Y. (2023) Novel Deep Learning Network for Gait Recognition Using Multimodal Inertial Sensors. <italic>Sensors</italic>, 23, Article 849.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Shi, L.F.</string-name>
              <string-name>Liu, Z.Y.</string-name>
              <string-name>Zhou, K.J.</string-name>
              <string-name>Shi, Y.</string-name>
              <string-name>Jing, Y.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Novel Deep Learning Network for Gait Recognition Using Multimodal Inertial Sensors</article-title>
            <source>Sensors</source>
            <volume>23</volume>
            <elocation-id>849</elocation-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Liu, H., Zhu, Z., Meng, W. and Du, X. (2025) Evaluating Deep Learning in Gait Recognition. In: <italic>Lecture</italic><italic>Notes</italic><italic>in</italic><italic>Computer</italic><italic>Science</italic>, Springer, 33-50. https://doi.org/10.1007/978-981-95-3185-1_3 <pub-id pub-id-type="doi">10.1007/978-981-95-3185-1_3</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-981-95-3185-1_3">https://doi.org/10.1007/978-981-95-3185-1_3</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Liu, H.</string-name>
              <string-name>Zhu, Z.</string-name>
              <string-name>Meng, W.</string-name>
              <string-name>Du, X.</string-name>
              <string-name>Science, S</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Evaluating Deep Learning in Gait Recognition</article-title>
            <source>In: Lecture Notes in Computer Science</source>
            <volume>33</volume>
            <pub-id pub-id-type="doi">10.1007/978-981-95-3185-1_3</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hans, S., Ranjan, P. and Ismail, S. (2025) Redefining Vision Tasks: The Power of Transformers in Classification, Detection, and Segmentation. In: <italic>Communications in Computer and Information Science</italic>, Springer, 42-53. https://doi.org/10.1007/978-3-031-91340-2_4 <pub-id pub-id-type="doi">10.1007/978-3-031-91340-2_4</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-031-91340-2_4">https://doi.org/10.1007/978-3-031-91340-2_4</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hans, S.</string-name>
              <string-name>Ranjan, P.</string-name>
              <string-name>Ismail, S.</string-name>
              <string-name>Classification, D</string-name>
              <string-name>Science, S</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Redefining Vision Tasks: The Power of Transformers in Classification, Detection, and Segmentation</article-title>
            <source>In: Communications in Computer and Information Science</source>
            <volume>42</volume>
            <pub-id pub-id-type="doi">10.1007/978-3-031-91340-2_4</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Wang, Y., Deng, Y., Zheng, Y., Chattopadhyay, P. and Wang, L. (2025) Vision Transformers for Image Classification: A Comparative Survey. <italic>Technologies</italic>, 13, 32. https://doi.org/10.3390/technologies13010032 <pub-id pub-id-type="doi">10.3390/technologies13010032</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/technologies13010032">https://doi.org/10.3390/technologies13010032</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Wang, Y.</string-name>
              <string-name>Deng, Y.</string-name>
              <string-name>Zheng, Y.</string-name>
              <string-name>Chattopadhyay, P.</string-name>
              <string-name>Wang, L.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Vision Transformers for Image Classification: A Comparative Survey</article-title>
            <source>Technologies</source>
            <volume>13</volume>
            <pub-id pub-id-type="doi">10.3390/technologies13010032</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Li, C., Min, X., Sun, S., Lin, W. and Tang, Z. (2017) DeepGait: A Learning Deep Convolutional Representation for View-Invariant Gait Recognition Using Joint Bayesian. <italic>Applied Sciences</italic>, 7, 210. https://doi.org/10.3390/app7030210 <pub-id pub-id-type="doi">10.3390/app7030210</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/app7030210">https://doi.org/10.3390/app7030210</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Li, C.</string-name>
              <string-name>Min, X.</string-name>
              <string-name>Sun, S.</string-name>
              <string-name>Lin, W.</string-name>
              <string-name>Tang, Z.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>DeepGait: A Learning Deep Convolutional Representation for View-Invariant Gait Recognition Using Joint Bayesian</article-title>
            <source>Applied Sciences</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.3390/app7030210</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Aggarwal, H. and Vishwakarma, D.K. (2018) Covariate Conscious Approach for Gait Recognition Based Upon Zernike Moment Invariants. <italic>IEEE Transactions on Cognitive and Developmental Systems</italic>, 10, 397-407. https://doi.org/10.1109/tcds.2017.2658674 <pub-id pub-id-type="doi">10.1109/tcds.2017.2658674</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/tcds.2017.2658674">https://doi.org/10.1109/tcds.2017.2658674</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Aggarwal, H.</string-name>
              <string-name>Vishwakarma, D.K.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Covariate Conscious Approach for Gait Recognition Based Upon Zernike Moment Invariants</article-title>
            <source>IEEE Transactions on Cognitive and Developmental Systems</source>
            <volume>10</volume>
            <pub-id pub-id-type="doi">10.1109/tcds.2017.2658674</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Alotaibi, M. and Mahmood, A. (2017) Improved Gait Recognition Based on Specialized Deep Convolutional Neural Network. <italic>Computer Vision and Image Understanding</italic>, 164, 103-110. https://doi.org/10.1016/j.cviu.2017.10.004 <pub-id pub-id-type="doi">10.1016/j.cviu.2017.10.004</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.cviu.2017.10.004">https://doi.org/10.1016/j.cviu.2017.10.004</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Alotaibi, M.</string-name>
              <string-name>Mahmood, A.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Improved Gait Recognition Based on Specialized Deep Convolutional Neural Network</article-title>
            <source>Computer Vision and Image Understanding</source>
            <volume>164</volume>
            <pub-id pub-id-type="doi">10.1016/j.cviu.2017.10.004</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., <italic>et al</italic>. (2021) Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. 2021 <italic>IEEE</italic>/ <italic>CVF International Conference on Computer Vision</italic> ( <italic>ICCV</italic>), Montreal, 10-17 October 2021, 9992-10002. https://doi.org/10.1109/iccv48922.2021.00986 <pub-id pub-id-type="doi">10.1109/iccv48922.2021.00986</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/iccv48922.2021.00986">https://doi.org/10.1109/iccv48922.2021.00986</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Liu, Z.</string-name>
              <string-name>Lin, Y.</string-name>
              <string-name>Cao, Y.</string-name>
              <string-name>Hu, H.</string-name>
              <string-name>Wei, Y.</string-name>
              <string-name>Zhang, Z.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows</article-title>
            <source>2021 IEEE/CVF International Conference on Computer Vision (ICCV)</source>
            <volume>10</volume>
            <pub-id pub-id-type="doi">10.1109/iccv48922.2021.00986</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Tang, S., Li, C., Zhang, P. and Tang, R. (2023) SwinLSTM: Improving Spatiotemporal Prediction Accuracy Using Swin Transformer and LSTM. 2023 <italic>IEEE</italic>/ <italic>CVF International Conference on Computer Vision</italic>( <italic>ICCV</italic>), Paris, 1-6 October 2023, 13424-13433. https://doi.org/10.1109/iccv51070.2023.01239 <pub-id pub-id-type="doi">10.1109/iccv51070.2023.01239</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/iccv51070.2023.01239">https://doi.org/10.1109/iccv51070.2023.01239</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Tang, S.</string-name>
              <string-name>Li, C.</string-name>
              <string-name>Zhang, P.</string-name>
              <string-name>Tang, R.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>SwinLSTM: Improving Spatiotemporal Prediction Accuracy Using Swin Transformer and LSTM</article-title>
            <source>2023 IEEE/CVF International Conference on Computer Vision (ICCV)</source>
            <volume>1</volume>
            <pub-id pub-id-type="doi">10.1109/iccv51070.2023.01239</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Van Gansbeke, W., Vandenhende, S., Georgoulis, S., Proesmans, M. and Van Gool, L. (2020) SCAN: Learning to Classify Images without Labels. In: <italic>Lecture Notes in Computer Science</italic>, Springer, 268-285. https://doi.org/10.1007/978-3-030-58607-2_16 <pub-id pub-id-type="doi">10.1007/978-3-030-58607-2_16</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-030-58607-2_16">https://doi.org/10.1007/978-3-030-58607-2_16</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Gansbeke, W.</string-name>
              <string-name>Vandenhende, S.</string-name>
              <string-name>Georgoulis, S.</string-name>
              <string-name>Proesmans, M.</string-name>
              <string-name>Gool, L.</string-name>
              <string-name>Science, S</string-name>
            </person-group>
            <year>2020</year>
            <article-title>SCAN: Learning to Classify Images without Labels</article-title>
            <source>In: Lecture Notes in Computer Science</source>
            <volume>268</volume>
            <pub-id pub-id-type="doi">10.1007/978-3-030-58607-2_16</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Touvron, H., Bojanowski, P., Caron, M., Cord, M., El-Nouby, A., Grave, E., <italic>et al</italic>. (2023) ResMLP: Feedforward Networks for Image Classification with Data-Efficient Training. <italic>IEEE Transactions on Pattern Analysis and Machine Intelligence</italic>, 45, 5314-5321. https://doi.org/10.1109/tpami.2022.3206148 <pub-id pub-id-type="doi">10.1109/tpami.2022.3206148</pub-id><pub-id pub-id-type="pmid">36094972</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/tpami.2022.3206148">https://doi.org/10.1109/tpami.2022.3206148</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Touvron, H.</string-name>
              <string-name>Bojanowski, P.</string-name>
              <string-name>Caron, M.</string-name>
              <string-name>Cord, M.</string-name>
              <string-name>El-Nouby, A.</string-name>
              <string-name>Grave, E.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>ResMLP: Feedforward Networks for Image Classification with Data-Efficient Training</article-title>
            <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
            <volume>45</volume>
            <pub-id pub-id-type="doi">10.1109/tpami.2022.3206148</pub-id>
            <pub-id pub-id-type="pmid">36094972</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Xie, S., Girshick, R., Dollar, P., Tu, Z. and He, K. (2016) Aggregated Residual Transformations for Deep Neural Networks. 2017 <italic>IEEE Conference on Computer Vision and Pattern Recognition</italic> ( <italic>CVPR</italic>), Honolulu, 21-26 July 2017, 5987-5995. https://doi.org/10.1109/cvpr.2017.634 <pub-id pub-id-type="doi">10.1109/cvpr.2017.634</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/cvpr.2017.634">https://doi.org/10.1109/cvpr.2017.634</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Xie, S.</string-name>
              <string-name>Girshick, R.</string-name>
              <string-name>Dollar, P.</string-name>
              <string-name>Tu, Z.</string-name>
              <string-name>He, K.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Aggregated Residual Transformations for Deep Neural Networks</article-title>
            <source>2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</source>
            <volume>21</volume>
            <pub-id pub-id-type="doi">10.1109/cvpr.2017.634</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Asif, M., Tiwana, M.I., Khan, U.S., Ahmad, M.W., Qureshi, W.S. and Iqbal, J. (2022) Human Gait Recognition Subject to Different Covariate Factors in a Multi-View Environment. Results in Engineering, 15, Article 100556. https://doi.org/10.1016/j.rineng.2022.100556 <pub-id pub-id-type="doi">10.1016/j.rineng.2022.100556</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rineng.2022.100556">https://doi.org/10.1016/j.rineng.2022.100556</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Asif, M.</string-name>
              <string-name>Tiwana, M.I.</string-name>
              <string-name>Khan, U.S.</string-name>
              <string-name>Ahmad, M.W.</string-name>
              <string-name>Qureshi, W.S.</string-name>
              <string-name>Iqbal, J.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Human Gait Recognition Subject to Different Covariate Factors in a Multi-View Environment</article-title>
            <source>Results in Engineering</source>
            <volume>15</volume>
            <elocation-id>100556</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.rineng.2022.100556</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Mogan, J.N., Lee, C.P., Lim, K.M. and Muthu, K.S. (2022) Gait-ViT: Gait Recognition with Vision Transformer. <italic>Sensors</italic>, 22, Article 7362. https://doi.org/10.3390/s22197362 <pub-id pub-id-type="doi">10.3390/s22197362</pub-id><pub-id pub-id-type="pmid">36236462</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/s22197362">https://doi.org/10.3390/s22197362</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Mogan, J.N.</string-name>
              <string-name>Lee, C.P.</string-name>
              <string-name>Lim, K.M.</string-name>
              <string-name>Muthu, K.S.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Gait-ViT: Gait Recognition with Vision Transformer</article-title>
            <source>Sensors</source>
            <volume>22</volume>
            <elocation-id>7362</elocation-id>
            <pub-id pub-id-type="doi">10.3390/s22197362</pub-id>
            <pub-id pub-id-type="pmid">36236462</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Khaliluzzaman, M., Uddin, A., Deb, K. and Hasan, M.J. (2023) Person Recognition Based on Deep Gait: A Survey. <italic>Sensors</italic>, 23, Article 4875. https://doi.org/10.3390/s23104875 <pub-id pub-id-type="doi">10.3390/s23104875</pub-id><pub-id pub-id-type="pmid">37430786</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/s23104875">https://doi.org/10.3390/s23104875</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Khaliluzzaman, M.</string-name>
              <string-name>Uddin, A.</string-name>
              <string-name>Deb, K.</string-name>
              <string-name>Hasan, M.J.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Person Recognition Based on Deep Gait: A Survey</article-title>
            <source>Sensors</source>
            <volume>23</volume>
            <elocation-id>4875</elocation-id>
            <pub-id pub-id-type="doi">10.3390/s23104875</pub-id>
            <pub-id pub-id-type="pmid">37430786</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Aman, N., Islam, M.R., Ahamed, M.F. and Ahsan, M. (2024) Performance Evaluation of Various Deep Learning Models in Gait Recognition Using the CASIA-B Dataset. <italic>Technologies</italic>, 12, Article 264. https://doi.org/10.3390/technologies12120264 <pub-id pub-id-type="doi">10.3390/technologies12120264</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/technologies12120264">https://doi.org/10.3390/technologies12120264</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Aman, N.</string-name>
              <string-name>Islam, M.R.</string-name>
              <string-name>Ahamed, M.F.</string-name>
              <string-name>Ahsan, M.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Performance Evaluation of Various Deep Learning Models in Gait Recognition Using the CASIA-B Dataset</article-title>
            <source>Technologies</source>
            <volume>12</volume>
            <elocation-id>264</elocation-id>
            <pub-id pub-id-type="doi">10.3390/technologies12120264</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Cosma, A., Catruna, A. and Radoi, E. (2023) Exploring Self-Supervised Vision Transformers for Gait Recognition in the Wild. <italic>Sensors</italic>, 23, Article 2680. https://doi.org/10.3390/s23052680 <pub-id pub-id-type="doi">10.3390/s23052680</pub-id><pub-id pub-id-type="pmid">36904884</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/s23052680">https://doi.org/10.3390/s23052680</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Cosma, A.</string-name>
              <string-name>Catruna, A.</string-name>
              <string-name>Radoi, E.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Exploring Self-Supervised Vision Transformers for Gait Recognition in the Wild</article-title>
            <source>Sensors</source>
            <volume>23</volume>
            <elocation-id>2680</elocation-id>
            <pub-id pub-id-type="doi">10.3390/s23052680</pub-id>
            <pub-id pub-id-type="pmid">36904884</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>