<?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.1410005</article-id>
      <article-id pub-id-type="publisher-id">jcc-154820</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>Periodic Segment-Wise Knowledge Distillation with Adaptive Temperature</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Li</surname>
            <given-names>Guiyu</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> School of Computer Science, Sichuan University Jinjiang College, Meishan, China </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The author declares no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>22</day>
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <issue>10</issue>
      <fpage>98</fpage>
      <lpage>122</lpage>
      <history>
        <date date-type="received">
          <day>14</day>
          <month>09</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>24</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>27</day>
          <month>10</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.1410005">https://doi.org/10.4236/jcc.2026.1410005</self-uri>
      <abstract>
        <p>Pre-trained language models (PLMs) achieve strong performance but are difficult to deploy because of their large parameter sizes and high computational costs. Existing knowledge distillation methods generally use fixed temperatures and uniform training strategies, limiting their ability to handle differences in sample difficulty and teacher reliability. To address this issue, this study proposes Periodic Segment-wise Knowledge Distillation with Adaptive Temperature (SAT). SAT introduces a Segment-wise Focal Loss (SFL) to periodically adjust the learning focus across training stages and an Adaptive Temperature Distillation Loss (ATL) to assign sample-specific temperatures according to teacher uncertainty. By jointly modeling sample difficulty and prediction reliability, SAT improves the efficiency and robustness of knowledge transfer. Experiments on language modeling and natural language understanding tasks show that SAT improves the performance and generalization ability of student models while preserving their inference efficiency.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Pre-Trained Language Models</kwd>
        <kwd>Knowledge Distillation</kwd>
        <kwd>Adaptive Temperature</kwd>
        <kwd>Sample Difficulty</kwd>
        <kwd>Teacher Uncertainty</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Recent years have witnessed remarkable progress by pre-trained language models (PLMs) in natural language understanding, text generation, and language modeling by leveraging large-scale pre-training [<xref ref-type="bibr" rid="B1">1</xref>]-[<xref ref-type="bibr" rid="B3">3</xref>]. However, their increasing parameter size, computational complexity, and storage requirements hinder deployment on mobile devices, edge platforms, and low-latency services. Knowledge distillation (KD) addresses this issue by transferring the output distributions, class relationships, and intermediate representations of high-capacity teacher models to lightweight student models [<xref ref-type="bibr" rid="B4">4</xref>]. Compared with one-hot labels, the soft labels generated by teacher models provide richer inter-class similarity information and have therefore been widely used in model compression and PLM optimization [<xref ref-type="bibr" rid="B5">5</xref>]-[<xref ref-type="bibr" rid="B7">7</xref>].</p>
      <p>Conventional KD methods generally minimize the discrepancy between teacher and student outputs using temperature-scaled cross-entropy or Kullback-Leibler divergence. Increasing the distillation temperature smooths the teacher distribution and exposes inter-class relationships [<xref ref-type="bibr" rid="B4">4</xref>]. Representative methods such as DistilBERT and TinyBERT demonstrate that distillation can substantially reduce model size and inference cost while preserving language understanding ability [<xref ref-type="bibr" rid="B8">8</xref>][<xref ref-type="bibr" rid="B9">9</xref>]. However, existing methods commonly rely on fixed temperatures, uniform loss weights, and static data-processing strategies, which are insufficient for handling variations in sample difficulty and class distribution.</p>
      <p>In natural language data, minority classes may be dominated by majority-class gradients, while samples can differ considerably in semantic complexity, contextual dependency, and classification ambiguity. Easy samples are generally suitable for stabilizing early training, whereas difficult samples provide valuable information for learning complex decision boundaries and improving generalization. In addition, teacher predictions may be unreliable because of noise, distribution shifts, ambiguity, and model bias. Directly using uncertain or incorrect predictions as soft supervision may therefore propagate erroneous knowledge to the student model. Although existing studies have explored teacher ensembles, label smoothing, confidence calibration, and uncertainty modeling [<xref ref-type="bibr" rid="B10">10</xref>]-[<xref ref-type="bibr" rid="B13">13</xref>], many still use globally fixed temperatures or uniform distillation weights.</p>
      <p>To address these limitations, this paper proposes periodic segment-wise knowledge distillation with adaptive temperature (SAT). The method incorporates a Segment-wise Focal Loss (SFL) and an Adaptive Temperature Distillation Loss (ATL). SFL periodically adjusts the optimization focus according to sample difficulty. Easy samples are emphasized during the early stage to establish stable representations, difficult samples receive greater attention during the middle stage to facilitate the learning of complex patterns and decision boundaries, and easy samples are revisited during the later stage for fine-grained refinement. This periodic strategy balances stable optimization, difficult-sample learning, and knowledge refinement.</p>
      <p>ATL assigns a sample-specific temperature according to the predictive uncertainty of the teacher model. Relatively low temperatures are used for highly uncertain samples to strengthen class distinctions and reduce the influence of unreliable predictions, whereas relatively high temperatures are used for confident samples to preserve informative inter-class relationships. By jointly modeling sample difficulty and teacher reliability, SAT dynamically determines both which samples should be prioritized and how strongly they should be supervised.</p>
      <p>The main contributions of this study are as follows:</p>
      <p>1) This paper proposes SAT, an adaptive-temperature, periodic segment-wise knowledge distillation framework that jointly considers sample difficulty and teacher-prediction uncertainty.</p>
      <p>2) This paper develops SFL to dynamically adjust the learning emphasis between easy and difficult samples across different training stages.</p>
      <p>3) This paper develops ATL to determine the distillation temperature according to sample-level predictive uncertainty, thereby reducing the negative effects of unreliable teacher predictions.</p>
      <p>4) This paper conducts systematic experiments on natural language understanding and language modeling tasks to evaluate the proposed method in terms of predictive performance and inference efficiency, as well as to verify the contribution of each component.</p>
    </sec>
    <sec id="sec2">
      <title>2. Related Work</title>
      <p>This section reviews related research on knowledge distillation, focal loss, periodic training, and dynamic-temperature distillation.</p>
      <sec id="sec2dot1">
        <title>2.1. Knowledge Distillation</title>
        <p>Knowledge distillation (KD), introduced by Hinton <italic>et al</italic>. [<xref ref-type="bibr" rid="B4">4</xref>], transfers the output distribution of a teacher model to a lightweight student model through temperature-scaled soft labels. In this way, the student learns not only from ground-truth labels but also from the “dark knowledge” encoded in the relationships among classes. Beyond output-level distillation, researchers have extended knowledge transfer to intermediate features and structural relationships. FitNets introduced intermediate representations from the teacher model as hints, enabling the student to learn deeper feature representations [<xref ref-type="bibr" rid="B6">6</xref>]. Attention Transfer further transfers knowledge through the attention maps of the teacher and student models, allowing the student to learn the teacher’s patterns of focus on input information [<xref ref-type="bibr" rid="B14">14</xref>]. Relational Knowledge Distillation goes beyond matching the features of individual samples by constraining the distances and angular relationships between samples, thereby transferring the structured knowledge learned by the teacher model [<xref ref-type="bibr" rid="B15">15</xref>]. These studies demonstrate that the knowledge of a teacher model is not limited to its final predictions but is also encoded in intermediate representations, attention distributions, and inter-sample relationships.</p>
        <p>Driven by progress in pre-trained language models, knowledge distillation is now commonly employed to compress and accelerate natural language processing models. During pre-training, DistilBERT combines the language modeling loss, distillation loss, and representation-level constraints to compress BERT into a smaller student model, reducing the number of parameters while preserving strong language understanding capabilities [<xref ref-type="bibr" rid="B8">8</xref>]. TinyBERT further performs multi-level distillation on the embedding representations, hidden states, attention matrices, and output layer of Transformer models. It also improves the performance of student models on natural language understanding tasks through the combination of general distillation and task-specific distillation [<xref ref-type="bibr" rid="B9">9</xref>]. MobileBERT designs a network architecture suitable for resource-constrained devices and incorporates knowledge distillation to balance model performance and deployment efficiency [<xref ref-type="bibr" rid="B16">16</xref>]. In addition, MiniLM distills the self-attention relations and self-attention values of the teacher model, thereby preserving important linguistic knowledge of Transformer models at a relatively low computational cost [<xref ref-type="bibr" rid="B17">17</xref>].</p>
        <p>Existing knowledge distillation methods primarily focus on maximizing the capacity and information coverage of knowledge transfer, but relatively little attention has been given to two critical factors that limit distillation performance. First, student models may have limited ability to learn from difficult samples or challenging semantic segments. Second, teacher predictions inevitably contain uncertainty, which may cause erroneous or low-reliability knowledge to be propagated to the student model. To overcome these challenges, we propose a knowledge distillation framework that makes joint use of the Segment-wise Focal Loss (SFL) and the Adaptive Temperature Distillation Loss (ATL). The proposed framework jointly optimizes the distillation process from two perspectives—imbalanced sample difficulty and uncertainty in teacher predictions—thereby improving the robustness and effectiveness of knowledge transfer.</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Focal Loss</title>
        <p>Focal loss was originally proposed by Lin <italic>et al</italic>. [<xref ref-type="bibr" rid="B18">18</xref>] to address the severe imbalance between positive and negative samples in object detection. In most cases, network training is guided by the cross-entropy loss. However, focal loss generally achieves superior performance to cross-entropy loss in scenarios involving imbalanced class distributions, foreground-background imbalance in the image domain [<xref ref-type="bibr" rid="B19">19</xref>], or imbalanced positive and negative samples in multi-label classification [<xref ref-type="bibr" rid="B20">20</xref>]. By modifying the cross-entropy loss, focal loss encourages neural networks to focus more on difficult-to-classify samples and assign greater attention to samples that are prone to misclassification. The conventional cross-entropy loss treats all samples equally, allowing the large number of easy negative samples to dominate the training process and consequently limiting the model’s ability to learn from difficult samples. Focal loss introduces an adjustable modulating factor that dynamically reduces the weights of easy samples while increasing the relative emphasis placed on difficult ones. Its mathematical formulation is given as follows:</p>
        <disp-formula id="FD1">
          <label>(1)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mi>l</mml:mi>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>−</mml:mo>
                      <mml:msub>
                        <mml:mi>p</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>γ</mml:mi>
                    <mml:mrow>
                      <mml:mi>l</mml:mi>
                      <mml:mi>c</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:msup>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mi>i</mml:mi>
              </mml:msub>
              <mml:mi>log</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (Low-Confidence Loss) primarily focuses on the loss values of low-confidence samples. <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability of a sample <inline-formula><mml:math display="inline"><mml:mi> i </mml:mi></mml:math></inline-formula> , while <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes its correct label. Focal loss modifies the cross-entropy loss by introducing a weighting term <inline-formula><mml:math display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> − </mml:mo><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> . When the predicted probability <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of a training sample approaches 1, indicating that the model has high confidence in its prediction, the loss weight assigned to that sample decreases rapidly. Consequently, compared with conventional cross-entropy loss, its loss term declines more quickly. This weighting mechanism directs the training process toward the relatively small number of low-confidence samples, thereby improving the model’s ability to learn difficult-to-classify examples.</p>
        <p>Ridnik <italic>et al</italic>. [<xref ref-type="bibr" rid="B19">19</xref>] applied focal loss to multi-label classification tasks to address the imbalance between positive and negative labels. In such tasks, each image typically contains only a small number of positive labels, while most labels are negative, resulting in a much larger number of negative samples than positive samples. To address this issue, the authors proposed a variant of Focal Loss called Asymmetric Loss (ASL), which achieved better performance than the original Focal Loss in multi-label classification tasks. ASL separates the loss terms for positive and negative samples in Focal Loss and assigns an independent focusing parameter to each, thereby improving the modeling of positive-negative sample imbalance and enhancing classification performance.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/1733674-rId27.svg?20261027014648" />
        </fig>
        <p><xref>(2)</xref></p>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the ground-truth label of the sample, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability obtained after applying the sigmoid function to the sample, <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> γ </mml:mi><mml:mo> + </mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is the focusing parameter for positive samples, which enhances the learning of difficult positive samples, and <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> γ </mml:mi><mml:mo> − </mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is the focusing parameter for negative samples, which suppresses the loss contribution of easily classified negative samples. Nevertheless, existing methods still cannot fully account for the characteristics of different training stages or flexibly adjust the degree of attention assigned to samples throughout the training process. Inspired by curriculum learning, this paper proposes a periodic segment-wise focal loss that divides the training process into multiple stages and dynamically adjusts the weighting assigned to the focal loss at each stage.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. General Cyclical Training</title>
        <p>General Cyclical Training (GCT) [<xref ref-type="bibr" rid="B20">20</xref>] refers to a general machine learning training paradigm that partitions the training procedure into a series of suitably ordered stages. In the initial phase, the model prioritizes samples that are easy to classify.; in the middle stage, its attention expands to more challenging samples; and in the final stage, it returns to high-confidence samples for fine-tuning, thereby improving generalization and convergence efficiency. This strategy can be regarded as a combination of Curriculum Learning [<xref ref-type="bibr" rid="B21">21</xref>] and fine-tuning, while also leveraging the entire dataset for comprehensive optimization during the middle stage of training [<xref ref-type="bibr" rid="B22">22</xref>]. Studies have shown that the key learning processes of neural networks typically occur during the early stages of training. Therefore, properly scheduling the difficulty of samples can help improve the model’s optimization trajectory and final performance.</p>
        <p>Within the General Cyclical Training framework, the Cyclical Learning Rate (CLR) [<xref ref-type="bibr" rid="B23">23</xref>] has become one of the mainstream approaches. By dynamically adjusting the learning rates for different samples, ASL can balance the importance of different samples. In addition, Learning Rate Warmup [<xref ref-type="bibr" rid="B24">24</xref>] and Stochastic Gradient Descent with Warm Restarts (SGDR) [<xref ref-type="bibr" rid="B25">25</xref>] are also regarded as variants of CLR. These methods adjust the learning rate during optimization to improve convergence speed and generalization ability. In recent years, the concept of adaptive hyperparameters has gradually been extended to weight decay [<xref ref-type="bibr" rid="B26">26</xref>] and dynamic batch-size adjustment strategies, further enhancing the convergence stability of models. Based on these developments, this paper further extends the principles of General Cyclical Training and explores their application to loss-function optimization. Specifically, cyclical focal loss is employed to adaptively adjust loss weights at different training stages, thereby improving the model’s ability to learn from imbalanced datasets.</p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. Dynamic Temperature Distillation</title>
        <p>The temperature parameter plays an important role in knowledge distillation. By controlling the smoothness of the soft labels output by the teacher model, it affects the learning process of the student model. Traditional knowledge distillation methods typically use a fixed temperature parameter <inline-formula><mml:math><mml:mi> τ </mml:mi></mml:math></inline-formula> , and the soft-label generation formula is given as follows:</p>
        <disp-formula id="FD3">
          <label>(3)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>q</mml:mi>
                <mml:mi>i</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mi>exp</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>z</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo>/</mml:mo>
                        <mml:mi>τ</mml:mi>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mrow>
                  <mml:mstyle displaystyle="true">
                    <mml:munder>
                      <mml:mo>∑</mml:mo>
                      <mml:mi>j</mml:mi>
                    </mml:munder>
                    <mml:mrow>
                      <mml:mi>exp</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>z</mml:mi>
                                <mml:mi>j</mml:mi>
                              </mml:msub>
                            </mml:mrow>
                            <mml:mo>/</mml:mo>
                            <mml:mi>τ</mml:mi>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability output for class <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> by the teacher model, and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> q </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the generated soft label. Although a fixed temperature parameter is simple to use, it has clear limitations in practical applications. For samples with high predictive uncertainty, an excessively high temperature value may amplify the uncertainty of the soft labels, causing the student model to inherit incorrect predictions from the teacher model. For easily classified samples, a fixed temperature may fail to fully exploit the relational information among different classes. </p>
        <p>To address this issue, researchers have proposed various dynamic temperature scaling methods. For example, Zhang <italic>et al</italic>. [<xref ref-type="bibr" rid="B27">27</xref>] proposed a temperature adjustment method based on sample uncertainty. This method dynamically adjusts the temperature parameter according to the prediction entropy of each sample, as shown in the following equation:</p>
        <disp-formula id="FD4">
          <label>(4)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>τ</mml:mi>
                <mml:mrow>
                  <mml:mtext>dynamic</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>τ</mml:mi>
                <mml:mrow>
                  <mml:mtext>base</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>⋅</mml:mo>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>+</mml:mo>
                  <mml:mi>α</mml:mi>
                  <mml:mo>⋅</mml:mo>
                  <mml:mi>H</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>q</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:mi> H </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> q </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the entropy of the soft labels and is used to measure the predictive uncertainty of each sample; <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mtext> base </mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> denotes the base temperature, and <inline-formula><mml:math><mml:mi> α </mml:mi></mml:math></inline-formula> isa scaling coefficient. This method can dynamically adjust the temperature according to the uncertainty of each sample, thereby reducing the impact of incorrect predictions on the student model. However, existing methods typically focus only on predictive uncertainty and fail to fully consider the difficulty of each sample and its influence on temperature adjustment. Therefore, this paper proposes an adaptive temperature distillation loss that further extends the concept of dynamic temperature adjustment. Specifically, it assigns a customized temperature parameter to each sample and dynamically adjusts it according to both the predictive uncertainty and difficulty of the sample.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Methodology</title>
      <p>As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the proposed periodic segment-wise with adaptive temperature knowledge distillation method mainly consists of a segment-wise focal loss and an adaptive temperature distillation loss. The segment-wise focal loss module dynamically adjusts the loss weights of samples with different difficulty levels according to the training stage. Meanwhile, the adaptive temperature distillation loss module constructs a confusion measure based on the soft labels generated by the teacher model and adaptively selects the distillation temperature according to the teacher model’s predictive uncertainty for the current sample. </p>
      <fig id="fig2">
        <label>Figure 2</label>
        <graphic xlink:href="https://html.scirp.org/file/1733674-rId55.jpeg?20261027014648" />
      </fig>
      <p><bold>Figure 1</bold><bold>.</bold> Framework diagram of periodic segment-wise knowledge distillation with adaptive temperature.</p>
      <sec id="sec3dot1">
        <title>3.1. Segment-Wise Focal Loss</title>
        <p>The imbalanced distribution of easy and difficult samples is prevalent in most natural language processing tasks. Conventional focal loss prioritizes difficult samples; if this bias is maintained throughout the entire training process, the model may easily overfit noisy samples, overlook the fundamental semantic features contained in easy samples, and consequently suffer a decline in generalization performance. Following the cyclical training strategy, the model should dynamically adjust the weights of easy and difficult samples at different training stages. Accordingly, this paper designs a novel loss-weighting term aimed at guiding the teacher model during fine-tuning and the student model during knowledge transfer to prioritize learning from easy samples in the early stages of training. Its specific form is given as follows:</p>
        <disp-formula id="FD5">
          <label>(5)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mi>h</mml:mi>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>+</mml:mo>
                      <mml:msub>
                        <mml:mi>p</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>γ</mml:mi>
                    <mml:mrow>
                      <mml:mi>h</mml:mi>
                      <mml:mi>c</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:msup>
              <mml:msub>
                <mml:mi>y</mml:mi>
                <mml:mi>i</mml:mi>
              </mml:msub>
              <mml:mi>log</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Equation (1) represents the focal loss, which encourages the model to focus more on low-confidence samples during training. In contrast, the loss term <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (High-Confidence Loss) places greater emphasis on high-confidence samples. <xref ref-type="fig" rid="fig2">Figure 2</xref> compares the standard cross-entropy loss (CE) with the low-confidence loss <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and high-confidence loss <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> under different parameter settings (<inline-formula><mml:math><mml:mrow><mml:mi> γ </mml:mi><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:mi> γ </mml:mi><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> ).</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/1733674-rId68.jpeg?20261027014648" />
        </fig>
        <p><bold>Figure 2</bold><bold>.</bold> This figure compares the variations of cross-entropy loss, focal loss, and the proposed high-confidence weighting term across different ground truth probabilities.</p>
        <p>As shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>, different loss-weighting terms have varying effects on the loss function as the true class probability <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> changes. The blue solid line represents the cross-entropy loss (CE), whose value decreases monotonically as <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> increases. <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> primarily reduces the loss weight assigned to high-confidence samples (<inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> → </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> ) while increasing the loss for low-confidence samples (<inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> → </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> ), thereby enabling the model to focus more on difficult-to-classify samples. In contrast, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> increases the loss for high-confidence samples while suppressing the influence of low-confidence samples. In particular, when <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> takes a relatively large value (e.g., <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> ), the loss weight of high-confidence samples increases significantly.</p>
        <p>The objective of segment-wise focal loss is to dynamically adjust the model’s attention to samples at different stages of training, thereby improving learning performance. During the early training stage, SFL primarily focuses on high-confidence samples to ensure that the model’s gradient updates are more stable and that the model converges rapidly. During the middle stage, SFL gradually shifts its focus toward difficult-to-classify samples, namely those that are more likely to be misclassified. This enhances the model’s ability to learn complex patterns and improves its generalization performance.</p>
        <p>To achieve this objective, SFL combines the two loss terms in Equation (1) and Equation (5), dynamically balancing them through a reasonable scheduling strategy. In this study, a linear scheduling strategy is adopted, allowing the loss-function weights to smoothly shift from easy-to-classify samples to difficult-to-classify samples throughout the training process. This approach not only ensures training stability but also prevents the model from becoming trapped in a local optimum, thereby further improving classification performance. Accordingly, this paper defines a parameter <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> , which varies with the training epoch as follows:</p>
        <disp-formula id="FD6">
          <label>(6)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>ξ</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mrow>
                <mml:mo>{</mml:mo>
                <mml:mrow>
                  <mml:mtable columnalign="left">
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:msub>
                            <mml:mi>f</mml:mi>
                            <mml:mi>c</mml:mi>
                          </mml:msub>
                          <mml:mfrac>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>e</mml:mi>
                                <mml:mi>i</mml:mi>
                              </mml:msub>
                            </mml:mrow>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>e</mml:mi>
                                <mml:mi>n</mml:mi>
                              </mml:msub>
                            </mml:mrow>
                          </mml:mfrac>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>if</mml:mtext>
                          <mml:mtext>
                             
                          </mml:mtext>
                          <mml:msub>
                            <mml:mi>f</mml:mi>
                            <mml:mi>c</mml:mi>
                          </mml:msub>
                          <mml:mo>×</mml:mo>
                          <mml:msub>
                            <mml:mi>e</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mo>≤</mml:mo>
                          <mml:msub>
                            <mml:mi>e</mml:mi>
                            <mml:mi>n</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                    <mml:mtr columnalign="left">
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>f</mml:mi>
                                    <mml:mi>c</mml:mi>
                                  </mml:msub>
                                  <mml:mfrac>
                                    <mml:mrow>
                                      <mml:msub>
                                        <mml:mi>e</mml:mi>
                                        <mml:mi>i</mml:mi>
                                      </mml:msub>
                                    </mml:mrow>
                                    <mml:mrow>
                                      <mml:msub>
                                        <mml:mi>e</mml:mi>
                                        <mml:mi>n</mml:mi>
                                      </mml:msub>
                                    </mml:mrow>
                                  </mml:mfrac>
                                  <mml:mo>−</mml:mo>
                                  <mml:mn>1</mml:mn>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mo>/</mml:mo>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>f</mml:mi>
                                    <mml:mi>c</mml:mi>
                                  </mml:msub>
                                  <mml:mo>−</mml:mo>
                                  <mml:mn>1</mml:mn>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mtd>
                      <mml:mtd columnalign="left">
                        <mml:mrow>
                          <mml:mtext>otherwise</mml:mtext>
                        </mml:mrow>
                      </mml:mtd>
                    </mml:mtr>
                  </mml:mtable>
                </mml:mrow>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the current training epoch, while <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the total number of training epochs. We introduce a cycle factor <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> ≥ </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> to provide flexibility for cyclic scheduling. When <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> decreases linearly from 1 at the beginning of training to O at the end. When <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:math></inline-formula> , the cyclic curve resembles an inverted equilateral triangle: <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> decreases from 1 to 0 during the first half of training, and then increases linearly from O to 1 during the second half. When <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> decreases from 1 to 0 during the first quarter of the training epochs, and then increases linearly to 1 over the remaining three quarters.</p>
        <p><xref ref-type="fig" rid="fig3">Figure 3</xref> is plotted according to Equation (6), illustrating the effects of different cycle factors, with the total number of training epochs set to <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mi> n </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 20 </mml:mn></mml:mrow></mml:math></inline-formula> . The curves correspond to <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> (blue), <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:math></inline-formula> (red), and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> (green), reflecting the cyclical scheduling patterns of <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> as the training epochs change. Based on Equations (1) (5), and (6), this paper defines the segment-wise focal loss as follows:</p>
        <disp-formula id="FD7">
          <label>(7)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mtext>SFL</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>p</mml:mi>
                  <mml:mo>,</mml:mo>
                  <mml:mi>y</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mi>ξ</mml:mi>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mi>h</mml:mi>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>−</mml:mo>
                  <mml:mi>ξ</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mi>l</mml:mi>
                  <mml:mi>c</mml:mi>
                </mml:mrow>
              </mml:msub>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/1733674-rId119.jpeg?20261027014648" />
        </fig>
        <p><bold>Figure 3.</bold> Hyperparameter change curves under different settings.</p>
        <p>here, <inline-formula><mml:math><mml:mi> p </mml:mi></mml:math></inline-formula> denotes the probability predicted by the model, and <inline-formula><mml:math><mml:mi> y </mml:mi></mml:math></inline-formula> denotes the true label of the sample. By introducing the linear scheduling parameter <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> , the weighting ratio of the two focal losses is dynamically adjusted at different training stages, guiding the model to focus on samples with varying confidence levels. By introducing the scheduling parameter <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> , the model dynamically adjusts its attention to samples of varying difficulty, as well as their corresponding loss weights, at different stages of training. During the early stage, the weights assigned to easy samples are appropriately increased to facilitate the rapid establishment of stable classification representations. During the middle stage, the learning focus gradually shifts toward hard-to-classify samples, thereby enhancing the model’s ability to identify complex patterns. During the late stage, attention is again placed on easy samples to consolidate the learned feature representations and improve training stability and generalization performance.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Adaptive Temperature Distillation Loss</title>
        <p>Before transferring knowledge to the student model, the teacher model may produce uncertain or erroneous predictions, leading to inherited errors during the knowledge distillation process. Consequently, the student model may also face a high probability of uncertainty in its predictions. Some of the uncertainty in the soft labels arises from an excessively high temperature setting during distillation. Therefore, this paper introduces an adaptive-temperature distillation loss, which adaptively adjusts the temperature according to the prediction confidence of each sample, thereby mitigating the negative impact of uncertain predictions.</p>
        <p>1) Assume that the teacher model outputs the class probabilities as <inline-formula><mml:math><mml:mrow><mml:mi> p </mml:mi><mml:mo> = </mml:mo><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> p </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:msub><mml:mi> p </mml:mi><mml:mi> C </mml:mi></mml:msub></mml:mrow><mml:mo> ] </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mi> C </mml:mi></mml:math></inline-formula> denotes the number of classes. To quantify the degree of uncertainty in the teacher model’s predictions for a sample, this paper defines the confusion degree <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> x </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , which is calculated as follows:</p>
        <disp-formula id="FD8">
          <label>(8)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>w</mml:mi>
                <mml:mi>i</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>−</mml:mo>
              <mml:mfrac>
                <mml:mn>1</mml:mn>
                <mml:mrow>
                  <mml:mi>C</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:mn>1</mml:mn>
                </mml:mrow>
              </mml:mfrac>
              <mml:mstyle displaystyle="true">
                <mml:munder>
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:mi>i</mml:mi>
                    <mml:mo>≠</mml:mo>
                    <mml:mi>y</mml:mi>
                  </mml:mrow>
                </mml:munder>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>|</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>p</mml:mi>
                        <mml:mi>y</mml:mi>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:msub>
                        <mml:mi>p</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>|</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mstyle>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> y </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability corresponding to the true label <inline-formula><mml:math><mml:mi> y </mml:mi></mml:math></inline-formula> of the sample, and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> p </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the predicted probability for another class <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> (<inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mo> ≠ </mml:mo><mml:mi> y </mml:mi></mml:mrow></mml:math></inline-formula> ). This formula calculates the average of the absolute differences between the predicted probability of the true label and those of the other classes, thereby reflecting the degree of confusion in the model’s predictions. When <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is close to 0, the model’s prediction for the sample is relatively clear and confident; when <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is close to 1, the model’s prediction for the sample is relatively confused. </p>
        <p>2) To further optimize the temperature adjustment mechanism in the knowledge distillation process, this paper introduces an adaptive temperature parameter based on the confusion degree <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , which is calculated as follows:</p>
        <disp-formula id="FD9">
          <label>(9)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>τ</mml:mi>
                <mml:mi>i</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>τ</mml:mi>
                <mml:mrow>
                  <mml:mi>max</mml:mi>
                </mml:mrow>
              </mml:msub>
              <mml:mo>−</mml:mo>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>w</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:mfrac>
                  <mml:mo>⋅</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>τ</mml:mi>
                        <mml:mrow>
                          <mml:mi>max</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:msub>
                        <mml:mi>τ</mml:mi>
                        <mml:mrow>
                          <mml:mi>min</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mi> max </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mi> min </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represent the minimum and maximum temperature values, respectively. When the degree of confusion is high, the temperature approaches the lower value, thereby widening the probability gap between classes and helping the student model focus on the classes in which the teacher model has higher confidence. When the degree of confusion is low, the temperature approaches the higher value, enhancing the smoothness of the class probabilities and enabling the student model to learn more inter-class relational information.</p>
        <p>3) The final adaptive temperature distillation loss function is defined as follows:</p>
        <disp-formula id="FD10">
          <label>(10)</label>
          <mml:math>
            <mml:mrow>
              <mml:msub>
                <mml:mi>ℒ</mml:mi>
                <mml:mrow>
                  <mml:mtext>ATL</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msubsup>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msubsup>
                  <mml:mo>,</mml:mo>
                  <mml:msubsup>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>s</mml:mi>
                  </mml:msubsup>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:msubsup>
                <mml:mi>τ</mml:mi>
                <mml:mi>i</mml:mi>
                <mml:mn>2</mml:mn>
              </mml:msubsup>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>KL</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msubsup>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>t</mml:mi>
                  </mml:msubsup>
                  <mml:mo>/</mml:mo>
                  <mml:msub>
                    <mml:mi>τ</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                  <mml:mo>∥</mml:mo>
                  <mml:msubsup>
                    <mml:mi>p</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>s</mml:mi>
                  </mml:msubsup>
                  <mml:mo>/</mml:mo>
                  <mml:msub>
                    <mml:mi>τ</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> t </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> s </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> denote the output probability distributions for sample <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> produced by the teacher model and the student model, respectively. <inline-formula><mml:math><mml:mrow><mml:mtext> KL </mml:mtext><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mo> ⋅ </mml:mo><mml:mo> ∥ </mml:mo><mml:mo> ⋅ </mml:mo></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the Kullback-Leibler divergence, which is used to measure the difference between the output distributions of the teacher and student models. <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the adaptive temperature parameter calculated using Equation (9), which is dynamically adjusted according to the confusion degree <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> x </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of the sample.</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Training Objective</title>
        <p>As illustrated by the overall framework in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the SAT training procedure introduced in this study is primarily composed of two stages, which are detailed below:</p>
        <p>1) Stage 1: Fine-tuning of the teacher model</p>
        <p>Before knowledge distillation, the teacher model needs to be fine-tuned according to the task-related knowledge so that it can subsequently transfer this knowledge to the student model. Previously, the teacher model used the cross-entropy loss function to adjust its parameters. However, because the task contains samples with different levels of difficulty, the teacher model should focus on samples with different confidence levels at different stages. Therefore, during the fine-tuning process, this paper adopts the segment-wise focal loss as the training objective.</p>
        <p>Given the training sample set <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mrow><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi> i </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mi> N </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the input sample and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes its corresponding ground-truth label, the teacher model outputs a class-probability distribution <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> t </mml:mi></mml:msubsup><mml:mo> = </mml:mo><mml:msub><mml:mi> f </mml:mi><mml:mrow><mml:msub><mml:mi> θ </mml:mi><mml:mi> T </mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> θ </mml:mi><mml:mi> T </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the parameters of the teacher model. The optimization objective of the teacher model is defined as minimizing the periodic focal loss:</p>
        <disp-formula id="FD11">
          <label>(11)</label>
          <mml:math display="inline">
            <mml:mtable columnalign="left">
              <mml:mtr>
                <mml:mtd>
                  <mml:munder>
                    <mml:mrow>
                      <mml:mi>min</mml:mi>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>θ</mml:mi>
                        <mml:mi>T</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:munder>
                  <mml:msub>
                    <mml:mi>L</mml:mi>
                    <mml:mrow>
                      <mml:mtext>SFL</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>p</mml:mi>
                        <mml:mi>t</mml:mi>
                      </mml:msup>
                      <mml:mo>,</mml:mo>
                      <mml:mi>y</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>=</mml:mo>
                  <mml:munder>
                    <mml:mrow>
                      <mml:mi>min</mml:mi>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>θ</mml:mi>
                        <mml:mi>T</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:munder>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mi>ξ</mml:mi>
                      <mml:msub>
                        <mml:mi>L</mml:mi>
                        <mml:mrow>
                          <mml:mi>l</mml:mi>
                          <mml:mi>c</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                      <mml:mo>+</mml:mo>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mi>ξ</mml:mi>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                      <mml:msub>
                        <mml:mi>L</mml:mi>
                        <mml:mrow>
                          <mml:mi>h</mml:mi>
                          <mml:mi>c</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mo>=</mml:mo>
                  <mml:munder>
                    <mml:mrow>
                      <mml:mi>min</mml:mi>
                    </mml:mrow>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>θ</mml:mi>
                        <mml:mi>T</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:munder>
                  <mml:mtext>
                     
                  </mml:mtext>
                  <mml:mo>−</mml:mo>
                  <mml:mfrac>
                    <mml:mn>1</mml:mn>
                    <mml:mi>N</mml:mi>
                  </mml:mfrac>
                  <mml:mrow>
                    <mml:mo>[</mml:mo>
                    <mml:mrow>
                      <mml:mi>ξ</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mo>−</mml:mo>
                          <mml:msup>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:mn>1</mml:mn>
                                  <mml:mo>−</mml:mo>
                                  <mml:msubsup>
                                    <mml:mi>p</mml:mi>
                                    <mml:mi>i</mml:mi>
                                    <mml:mi>t</mml:mi>
                                  </mml:msubsup>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>γ</mml:mi>
                                <mml:mrow>
                                  <mml:mi>l</mml:mi>
                                  <mml:mi>c</mml:mi>
                                </mml:mrow>
                              </mml:msub>
                            </mml:mrow>
                          </mml:msup>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mi>log</mml:mi>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msubsup>
                                <mml:mi>p</mml:mi>
                                <mml:mi>i</mml:mi>
                                <mml:mi>t</mml:mi>
                              </mml:msubsup>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                      <mml:mo>+</mml:mo>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:mi>ξ</mml:mi>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:mo>−</mml:mo>
                          <mml:msup>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:mn>1</mml:mn>
                                  <mml:mo>+</mml:mo>
                                  <mml:msubsup>
                                    <mml:mi>p</mml:mi>
                                    <mml:mi>i</mml:mi>
                                    <mml:mi>t</mml:mi>
                                  </mml:msubsup>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>γ</mml:mi>
                                <mml:mrow>
                                  <mml:mi>h</mml:mi>
                                  <mml:mi>c</mml:mi>
                                </mml:mrow>
                              </mml:msub>
                            </mml:mrow>
                          </mml:msup>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mi>log</mml:mi>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msubsup>
                                <mml:mi>p</mml:mi>
                                <mml:mi>i</mml:mi>
                                <mml:mi>t</mml:mi>
                              </mml:msubsup>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo>]</mml:mo>
                  </mml:mrow>
                </mml:mtd>
              </mml:mtr>
            </mml:mtable>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math><mml:mi> N </mml:mi></mml:math></inline-formula> denotes the total number of samples. <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mtext> SFL </mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> consists of two components: the low-confidence focal loss <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and the high-confidence focal loss <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> . The periodic parameter <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> guides the model to adjust its attention to easy and difficult samples at different stages. To balance the training weights between hard and easy samples during the fine-tuning phase of the teacher model, the period factor <italic>f</italic><italic><sub>c</sub></italic> is set to 2. This allows the parameter <inline-formula><mml:math><mml:mi> ξ </mml:mi></mml:math></inline-formula> to be dynamically adjusted throughout the full training cycle: the first quarter of the epoch focuses on easy samples, the middle half focuses on hard samples, and the final quarter focuses on easy samples again.</p>
        <p>2) Stage 2: Training the student model</p>
        <p>After the teacher model has been fine-tuned for the specific task, its knowledge is transferred to the student model. The student model is usually smaller, and its training objective mainly consists of one part: imitating the prediction results of the teacher model.</p>
        <p>Similar to the teacher model, given the same training sample set <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mrow><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi> i </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mi> N </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the input sample and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes its corresponding ground-truth label, the student model outputs a class probability distribution <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> s </mml:mi></mml:msubsup><mml:mo> = </mml:mo><mml:msub><mml:mi> f </mml:mi><mml:mrow><mml:msub><mml:mi> θ </mml:mi><mml:mi> S </mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> θ </mml:mi><mml:mi> S </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the parameters of the student model. To optimize the student model, two main loss functions are designed: the periodic focal loss and the adaptive temperature confusion loss. The overall objective is defined by combining these two loss functions, enabling the student model to learn from the ground-truth labels while acquiring knowledge from the teacher model’s soft labels. The specific loss function is defined as follows:</p>
        <disp-formula id="FD12">
          <label>(12)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:munder>
                <mml:mrow>
                  <mml:mi>min</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>θ</mml:mi>
                    <mml:mi>S</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:munder>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mrow>
                  <mml:mtext>SAT</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msup>
                    <mml:mi>p</mml:mi>
                    <mml:mi>s</mml:mi>
                  </mml:msup>
                  <mml:mo>,</mml:mo>
                  <mml:mi>y</mml:mi>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:munder>
                <mml:mrow>
                  <mml:mi>min</mml:mi>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>θ</mml:mi>
                    <mml:mi>S</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:munder>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mi>α</mml:mi>
                  <mml:msub>
                    <mml:mi>L</mml:mi>
                    <mml:mrow>
                      <mml:mtext>SFL</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>p</mml:mi>
                        <mml:mi>s</mml:mi>
                      </mml:msup>
                      <mml:mo>,</mml:mo>
                      <mml:mi>y</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mn>1</mml:mn>
                      <mml:mo>−</mml:mo>
                      <mml:mi>α</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:msub>
                    <mml:mi>L</mml:mi>
                    <mml:mrow>
                      <mml:mtext>ATL</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>p</mml:mi>
                        <mml:mi>t</mml:mi>
                      </mml:msup>
                      <mml:mo>,</mml:mo>
                      <mml:msup>
                        <mml:mi>p</mml:mi>
                        <mml:mi>s</mml:mi>
                      </mml:msup>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>here, <inline-formula><mml:math display="inline"><mml:mi> α </mml:mi></mml:math></inline-formula> is a weighting coefficient used to balance the contributions of the two losses. During training, the student model updates its parameters <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> θ </mml:mi><mml:mi> S </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> through backpropagation to minimize the overall loss <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> L </mml:mi><mml:mrow><mml:mtext> SAT </mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> . Based on the updated student-model parameters, the process is repeated until the student model converges. Within the knowledge distillation framework, to prevent the student model from overfitting simple samples, this mechanism directs the model to learn simple samples briefly during the early stages of training before shifting its learning focus to difficult samples, thereby enhancing the model’s generalization performance. To this end, this paper adopts a periodicity factor of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> for the periodic focal loss. This configuration enables the model to dynamically shift its learning focus throughout the training cycle: prioritizing simple samples during the first one-eighth of the cycle, focusing on hard samples during the middle five-eighths, and returning to learning simple samples during the final quarter.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Method Validation on Natural Language Understanding Task</title>
      <p>To verify the effectiveness of the proposed method on natural language understanding tasks, we adopt the BERT model as the baseline and conduct systematic experiments on the GLUE benchmark dataset. This section describes the experimental setup in detail, including datasets, evaluation metrics, implementation details, compared methods and experimental results.</p>
      <sec id="sec4dot1">
        <title>4.1. Experiment Environment</title>
        <p>All experiments are performed on a machine with an Intel Xeon E3-1231 CPU and an NVIDIA RTX 3060 GPU. We implement the proposed method and baselines in PyTorch using PyCharm.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Datasets and Metrics</title>
        <p>This work validates the proposed approach on a suite of tasks from the General Language Understanding Evaluation (GLUE) benchmark [<xref ref-type="bibr" rid="B28">28</xref>]. The benchmark consists of single-sentence tasks including [<xref ref-type="bibr" rid="B29">29</xref>] and SST-2 [<xref ref-type="bibr" rid="B30">30</xref>], natural language inference tasks covering MNLI [<xref ref-type="bibr" rid="B31">31</xref>], QNLI [<xref ref-type="bibr" rid="B32">32</xref>], and RTE [<xref ref-type="bibr" rid="B33">33</xref>], as well as similarity and paraphrase tasks such as MRPC [<xref ref-type="bibr" rid="B34">34</xref>], STS-B [<xref ref-type="bibr" rid="B35">35</xref>], and QQP [<xref ref-type="bibr" rid="B36">36</xref>]. Multiple metrics are adopted to measure model performance: accuracy is reported for MNLI, SST-2, QNLI, QQP and RTE; F1-score for MRPC; Matthews correlation coefficient for CoLA; and Spearman rank correlation coefficient for STS-B. This combination of metrics enables a holistic assessment of our method. Detailed descriptions of these datasets are presented in <bold>Table 1</bold>.</p>
        <p><bold>Table 1</bold><bold>.</bold> Details of GLUE datasets.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>Task</td>
                <td>#Train</td>
                <td>#Dev</td>
                <td>#Test</td>
                <td>#Label</td>
                <td>Metrics</td>
              </tr>
              <tr>
                <td colspan="6">Single-Sentence Tasks</td>
              </tr>
              <tr>
                <td>CoLA</td>
                <td>8.5 k</td>
                <td>1 k</td>
                <td>1 k</td>
                <td>2</td>
                <td>Matthews corr</td>
              </tr>
              <tr>
                <td>SST-2</td>
                <td>67 k</td>
                <td>872</td>
                <td>1.8 k</td>
                <td>2</td>
                <td>Accuracy</td>
              </tr>
              <tr>
                <td colspan="6">Inference Tasks</td>
              </tr>
              <tr>
                <td>MNLI</td>
                <td>393 k</td>
                <td>20 k</td>
                <td>20 k</td>
                <td>3</td>
                <td>Accuracy</td>
              </tr>
              <tr>
                <td>QNLI</td>
                <td>108 k</td>
                <td>5.7 k</td>
                <td>5.7 k</td>
                <td>2</td>
                <td>Accuracy</td>
              </tr>
              <tr>
                <td>RTE</td>
                <td>2.5 k</td>
                <td>276</td>
                <td>3 k</td>
                <td>2</td>
                <td>Accuracy</td>
              </tr>
              <tr>
                <td colspan="6">Similarity and Paraphrase Tasks</td>
              </tr>
              <tr>
                <td>MRPC</td>
                <td>3.7 k</td>
                <td>408</td>
                <td>1.7 k</td>
                <td>2</td>
                <td>F1</td>
              </tr>
              <tr>
                <td>STS-B</td>
                <td>7 k</td>
                <td>1.5 k</td>
                <td>1.4 k</td>
                <td>1</td>
                <td>Spearman corr</td>
              </tr>
              <tr>
                <td>QQP</td>
                <td>364 k</td>
                <td>40 k</td>
                <td>391 k</td>
                <td>2</td>
                <td>Accuracy</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Furthermore, to further analyze the effect of our method on mitigating the imbalance between easy and hard samples as well as prediction uncertainty, we adopt multiple evaluation metrics for comparison. Among them, Top-1 denotes the prediction accuracy of the category with the fewest samples in the training set; a higher value indicates stronger capability of the model to learn hard samples. In addition to Top-1, we introduce the Area Under Risk-Coverage Curve (AURC, ×10<sup>3</sup>). A lower AURC implies that the model can more effectively distinguish correct predictions from incorrect ones, thereby alleviating the impacts brought by high-uncertainty samples.</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. Implementation Details</title>
        <p>Stage 1: This paper uses the pretrained BERT-base-uncased model as the teacher model. Its architecture consists of a 12-layer Transformer encoder, with a hidden-layer dimension of 768 and approximately 110M parameters. To adapt the model to different tasks, it is fine-tuned separately on six specific tasks from the GLUE benchmark. During fine-tuning, the learning rate is uniformly set to 3e−5, and the training period is set to 20 epochs to ensure that the model can learn and converge sufficiently on each task.</p>
        <p>In addition, two new hyperparameters, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> , are introduced into the periodic focal loss. According to the study by Smith <italic>et al</italic>. [<xref ref-type="bibr" rid="B20">20</xref>], the focal-loss parameter <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is not highly sensitive, and setting <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> can achieve good performance on most tasks. Therefore, this paper sets <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> . Furthermore, experimental results show that the model generally performs well when <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is set to 2 or 3.</p>
        <p>Stage 2: This paper uses four-layer BERT models, BERT<sub>base</sub> (4/768; 52 M) as student models. Each student model is trained on a specific task using the corresponding teacher model fine-tuned in Stage 1, and knowledge distillation is performed according to Equation (12). The learning rate is selected from {2e−5, 3e−5, 4e−5}. The hyperparameter <inline-formula><mml:math><mml:mi> α </mml:mi></mml:math></inline-formula> is selected from {0.3, 0.4, 0.5 }, while the temperature parameters are selected from <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mtext> max </mml:mtext></mml:mrow></mml:msub><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 6 </mml:mn><mml:mo> , </mml:mo><mml:mn> 8 </mml:mn><mml:mo> , </mml:mo><mml:mn> 10 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mtext> min </mml:mtext></mml:mrow></mml:msub><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 3 </mml:mn><mml:mo> , </mml:mo><mml:mn> 4 </mml:mn><mml:mo> , </mml:mo><mml:mn> 5 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . In addition, for the two hyperparameters <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> in the periodic focal loss, the same settings as those used during teacher-model fine-tuning are adopted: <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is fixed at 4, while <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is selected as either 2 or 3.</p>
      </sec>
      <sec id="sec4dot4">
        <title>4.4. Comparison Methods</title>
        <p>To validate the effectiveness of our method, we adopt multiple well-performed knowledge distillation methods for NLP tasks as baselines.</p>
        <p>Vanilla KD [<xref ref-type="bibr" rid="B4">4</xref>] employs basic knowledge distillation methods that transfer knowledge through the prediction distributions.TinyBERT [<xref ref-type="bibr" rid="B9">9</xref>] adopts layer-wise distillation based on hidden representations and self-attention matrices. It proposes two distillation stages—general learning and task-specific learning—and employs a data augmentation strategy.CKD [<xref ref-type="bibr" rid="B37">37</xref>] and MGSKD [<xref ref-type="bibr" rid="B38">38</xref>] extract pairwise and triplet structural relationships between the hidden representations of the teacher and student models, and then calculate the corresponding loss.MiniLMv2 [<xref ref-type="bibr" rid="B39">39</xref>] first performs task-agnostic distillation and then fine-tunes the model on task-specific datasets. By introducing multi-head self-attention relations, it allows greater diversity in the number of attention heads used by the student model.</p>
        <p>Note that we re-implement several methods (MGSKD, MiniLMv2) using their original codes for fair comparisons.</p>
      </sec>
      <sec id="sec4dot5">
        <title>4.5. Main Results</title>
        <p>This paper compresses the model size from 110 M to 52 M parameters, yielding the student model SAT<sub>Small</sub>. Its overall accuracy on the GLUE benchmark is presented in <bold>Table 2</bold>. Compared with the teacher model BERT-base, SAT<sub>Small</sub> reduces the model size by 52.7%, while its average performance decreases by only 3.2%, demonstrating excellent model compression effectiveness.</p>
        <p>Detailed comparisons with other student models show that SAT<sub>Small</sub> achieves superior performance on the majority of tasks, with an average accuracy of 80.8%. This represents improvements of 1.8% over BERT<sub>Small</sub>, 2.1% over TinyBERT<sub>4</sub>, 3.3% over MiniLMv2<sub>4</sub>, 3.8% over CKD<sub>4</sub>, and 2.8% over MGSKD<sub>4</sub>. In particular, SAT<sub>Small</sub> achieves the best results on the sentiment classification task SST-2, the semantic matching task MRPC, and the natural language inference task QNLI, with accuracies of 90.0%, 90.6%, and 90.4%, respectively. These results demonstrate clear performance gains over the other student models.</p>
        <p>Across all evaluated tasks, SAT<sub>Small</sub> achieves its most significant improvement on the MRPC dataset, attaining an F1 score of 90.6%. This is 1.0% higher than BERT<sub>Small</sub>, 4.8% higher than TinyBERT<sub>4</sub>, 5.3% higher than MiniLMv2<sub>4</sub>, 8.0% higher than CKD<sub>4</sub>, and 8.2% higher than MGSKD<sub>4</sub>, representing a substantial improvement over the baseline methods. These results demonstrate that SAT<sub>Small</sub> has stronger representational capability on tasks that rely on capturing semantic similarity and learning fine-grained features.</p>
        <p><bold>Table 2</bold><bold>.</bold> Comparative results show that the student model obtained in this study reduces the number of model parameters from 110 M to 52 M. The optimal value of the student model is shown in bold.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td rowspan="2">Model</td>
                <td rowspan="2">#Params</td>
                <td>CoLA</td>
                <td>MNLI(m/mm)</td>
                <td>SST-2</td>
                <td>QNLI</td>
                <td>MRPC</td>
                <td>QQP</td>
                <td>RTE</td>
                <td>STS-B</td>
                <td>Avg</td>
              </tr>
              <tr>
                <td>Mcc(%)</td>
                <td>Acc(%)</td>
                <td>Acc(%)</td>
                <td>Acc(%)</td>
                <td>F1(%)</td>
                <td>Acc(%)</td>
                <td>Acc(%)</td>
                <td>Spear(%)</td>
                <td>(%)</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>base</sub>
                  (Teacher)
                </td>
                <td>110 M</td>
                <td>60</td>
                <td>84.8/84.6</td>
                <td>92.9</td>
                <td>91.5</td>
                <td>92</td>
                <td>91.3</td>
                <td>70.6</td>
                <td>89.1</td>
                <td>84</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>Small</sub>
                  (Student)
                </td>
                <td>52 M</td>
                <td>45</td>
                <td>79.9/80.2</td>
                <td>89</td>
                <td>88.3</td>
                <td>89.6</td>
                <td>89.4</td>
                <td>63.2</td>
                <td>87.4</td>
                <td>79</td>
              </tr>
              <tr>
                <td>
                  TinyBERT
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>50.5</td>
                <td>
                  <bold>80.8</bold>
                  /80.1
                </td>
                <td>89.6</td>
                <td>87.7</td>
                <td>85.8</td>
                <td>85.3</td>
                <td>
                  <bold>64.9</bold>
                </td>
                <td>85.3</td>
                <td>78.7</td>
              </tr>
              <tr>
                <td>
                  MiniLMv2
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>50.6</td>
                <td>79.7/80.4</td>
                <td>
                  <bold>90.3</bold>
                </td>
                <td>85.5</td>
                <td>85.3</td>
                <td>80.2</td>
                <td>63.1</td>
                <td>85.3</td>
                <td>77.5</td>
              </tr>
              <tr>
                <td>
                  CKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>50.1</td>
                <td>79.9/79.3</td>
                <td>89.4</td>
                <td>85.1</td>
                <td>82.6</td>
                <td>84.2</td>
                <td>62.3</td>
                <td>82.8</td>
                <td>77</td>
              </tr>
              <tr>
                <td>
                  MGSKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>49.8</td>
                <td>78.9/80.1</td>
                <td>89.9</td>
                <td>85.2</td>
                <td>82.4</td>
                <td>88.5</td>
                <td>63.1</td>
                <td>86.1</td>
                <td>78</td>
              </tr>
              <tr>
                <td>
                  SAT
                  <sub>Small</sub>
                </td>
                <td>52 M</td>
                <td>
                  <bold>50.9</bold>
                </td>
                <td>
                  80.1
                  <bold>/80.9</bold>
                </td>
                <td>90.0</td>
                <td>
                  <bold>90.4</bold>
                </td>
                <td>
                  <bold>90.6</bold>
                </td>
                <td>
                  <bold>90.9</bold>
                </td>
                <td>63.9</td>
                <td>
                  <bold>89.5</bold>
                </td>
                <td>
                  <bold>80.8</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><bold>Table 3</bold> presents the performance of our proposed student model SAT<sub>Small</sub>. The model compresses the parameter count from 110M to 52M and achieves notable improvements on hard-sample classification tasks across all datasets of the GLUE benchmark. Compared with the teacher model BERT-base, SAT<sub>Small</sub> only suffers a 3.7% drop in Top-1 accuracy (78.6% vs. 82.3%), indicating that it can retain performance close to the teacher model even with drastic parameter compression. When compared with the undistilled student model BERT<sub>Small</sub> (74.4%), SAT<sub>Small</sub> obtains a 4.2% accuracy gain, which further verifies its effectiveness for model compression while preserving performance on hard samples.</p>
        <p>For individual tasks, SAT<sub>Small</sub> achieves an accuracy of 88.8% on QQP, outperforming BERT<sub>Small</sub> (86.4%) and achieving comparable results to the state-of-the-art MiniLMv2<sub>4</sub> (90.3%). Although the positive and negative samples in QQP are relatively balanced, the promising performance of SAT<sub>Small</sub> demonstrates its strong robustness when handling class imbalance. The model can effectively capture hard-to-distinguish semantic patterns and improve prediction performance for minority classes. On the MRPC semantic matching task, SAT<sub>Small</sub> reaches an F1 score of 90.2%, substantially exceeding BERT<sub>Small</sub>’s 84.6%. The MRPC dataset contains many low-frequency non-equivalent sentence pairs. This result further proves that knowledge distillation enables SAT<sub>Small</sub> to boost prediction accuracy for hard and minority-class samples.</p>
        <p>In summary, SAT<sub>Small</sub> achieves strong Top-1 performance. Especially on hard-sample tasks such as QQP and MRPC, it delivers better classification ability than the undistilled BERT<sub>Small</sub>. The experiments demonstrate that SAT<sub>Small</sub> achieves remarkable advantages in both model compression and hard-sample classification.</p>
        <p><bold>Table 3</bold><bold>.</bold> The comparison results indicate that the second student model obtained in this paper compresses the model parameters from 110 M to 52 M and achieves Top-1 prediction accuracy.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td rowspan="2">Model</td>
                <td rowspan="2">#Params</td>
                <td>CoLA</td>
                <td>MNLI (m/mm)</td>
                <td>SST-2</td>
                <td>QNLI</td>
                <td>MRPC</td>
                <td>QQP</td>
                <td>RTE</td>
                <td>STS-B</td>
                <td>Avg</td>
              </tr>
              <tr>
                <td>Mcc (%)</td>
                <td>Acc (%)</td>
                <td>Acc (%)</td>
                <td>Acc (%)</td>
                <td>F1(%)</td>
                <td>Acc (%)</td>
                <td>Acc (%)</td>
                <td>Spear (%)</td>
                <td>(%)</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>base</sub>
                  (Teacher)
                </td>
                <td>110 M</td>
                <td>62.4</td>
                <td>82.8/83.6</td>
                <td>92.5</td>
                <td>80.6</td>
                <td>87.9</td>
                <td>93.5</td>
                <td>69.6</td>
                <td>89.2</td>
                <td>82.3</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>Small</sub>
                  (Student)
                </td>
                <td>52 M</td>
                <td>44</td>
                <td>71.9/70.2</td>
                <td>89</td>
                <td>73.8</td>
                <td>84.6</td>
                <td>86.4</td>
                <td>61.2</td>
                <td>84.4</td>
                <td>74.4</td>
              </tr>
              <tr>
                <td>
                  TinyBERT
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>39.5</td>
                <td>
                  69.8/
                  <bold>80.1</bold>
                </td>
                <td>89.6</td>
                <td>77.7</td>
                <td>84.8</td>
                <td>86.3</td>
                <td>62.9</td>
                <td>84.3</td>
                <td>74.4</td>
              </tr>
              <tr>
                <td>
                  MiniLMv2
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>39.6</td>
                <td>68.7/70.4</td>
                <td>
                  <bold>90.6</bold>
                </td>
                <td>75.5</td>
                <td>84.3</td>
                <td>87.2</td>
                <td>62.1</td>
                <td>85.3</td>
                <td>74.2</td>
              </tr>
              <tr>
                <td>
                  CKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>41.1</td>
                <td>68.9/69.3</td>
                <td>89.3</td>
                <td>76.1</td>
                <td>81.6</td>
                <td>85.2</td>
                <td>62.8</td>
                <td>85.8</td>
                <td>73.9</td>
              </tr>
              <tr>
                <td>
                  MGSKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>42.8</td>
                <td>67.9/70.1</td>
                <td>91.1</td>
                <td>75.2</td>
                <td>83.4</td>
                <td>86.5</td>
                <td>62.1</td>
                <td>86.1</td>
                <td>74.4</td>
              </tr>
              <tr>
                <td>
                  SAT
                  <sub>Small</sub>
                </td>
                <td>52 M</td>
                <td>
                  <bold>47.7</bold>
                </td>
                <td>
                  <bold>76.6/</bold>
                  78.6
                </td>
                <td>90.4</td>
                <td>
                  <bold>80.4</bold>
                </td>
                <td>
                  <bold>90.2</bold>
                </td>
                <td>
                  <bold>88.8</bold>
                </td>
                <td>
                  <bold>64.7</bold>
                </td>
                <td>
                  <bold>89.8</bold>
                </td>
                <td>
                  <bold>78.6</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><bold>Table 4</bold> evaluates the ability of the 4 × 768 student model to distinguish correct and incorrect predictions, <italic>i</italic>.<italic>e</italic>., the model’s capability to quantify prediction uncertainty, via AURC (Area Under the Risk-Coverage Curve). Experimental results demonstrate that the SAT<sub>Small</sub> student model achieves outstanding performance in uncertainty estimation, with an average AURC of 50.1. This value is markedly lower than that of the undistilled BERT<sub>Small</sub> (average AURC = 55.4) and close to the performance of the teacher model BERT-base (average AURC = 45.9).</p>
        <p>Specifically, on the SST-2 task, SAT<sub>Small</sub> achieves an AURC of 59.2, which is substantially lower than BERT<sub>Small</sub>’s 64.2 and close to the teacher model’s 51.5. For the RTE task, SAT<sub>Small</sub> obtains an AURC of 55.7, outperforming BERT<sub>Small</sub> (61.2) and approaching the teacher model’s 55.6. These observations indicate that SAT<sub>Small</sub> effectively learns the teacher model’s ability to quantify prediction uncertainty through knowledge distillation. While reducing parameter size, the model significantly improves its capability to identify wrong predictions. In contrast, without supervision from the teacher model, the undistilled BERT<sub>Small</sub> yields generally higher AURC values, which reflects its weaker uncertainty estimation performance.</p>
        <p>Overall, SAT<sub>Small</sub> not only narrows the performance gap with the teacher model on uncertainty estimation tasks but also surpasses the undistilled student model by a notable margin. The results verify that by introducing the adaptive temperature distillation loss, the SAT method successfully alleviates the “error inheritance” problem from the teacher model during knowledge distillation.</p>
        <p><bold>Table 4</bold><bold>.</bold> The ability of the student model to discriminate between correct and incorrect predictions was assessed by AURC.</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>Model</td>
                <td>#Params</td>
                <td>CoLA</td>
                <td>MNLI (m/mm)</td>
                <td>SST-2</td>
                <td>QNLI</td>
                <td>MRPC</td>
                <td>QQP</td>
                <td>RTE</td>
                <td>STS-B</td>
                <td>Avg</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>base</sub>
                  (Teacher)
                </td>
                <td>110 M</td>
                <td>41.4</td>
                <td>40.8/41.6</td>
                <td>51.5</td>
                <td>48.5</td>
                <td>36.9</td>
                <td>43.5</td>
                <td>55.6</td>
                <td>49.2</td>
                <td>45.9</td>
              </tr>
              <tr>
                <td>
                  BERT
                  <sub>Small</sub>
                  (Student)
                </td>
                <td>52 M</td>
                <td>50.2</td>
                <td>52.9/50.2</td>
                <td>64.2</td>
                <td>55.3</td>
                <td>44.6</td>
                <td>56.4</td>
                <td>61.2</td>
                <td>58.4</td>
                <td>55.4</td>
              </tr>
              <tr>
                <td>
                  TinyBERT
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>50.5</td>
                <td>50.8/50.1</td>
                <td>61.6</td>
                <td>57.7</td>
                <td>44.8</td>
                <td>56.3</td>
                <td>62.9</td>
                <td>60.3</td>
                <td>55.6</td>
              </tr>
              <tr>
                <td>
                  MiniLMv2
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>49.6</td>
                <td>49.7/50.4</td>
                <td>62.3</td>
                <td>55.5</td>
                <td>44.3</td>
                <td>57.2</td>
                <td>62.1</td>
                <td>59.3</td>
                <td>55</td>
              </tr>
              <tr>
                <td>
                  CKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>48.1</td>
                <td>49.9/49.3</td>
                <td>63.4</td>
                <td>56.1</td>
                <td>41.6</td>
                <td>55.2</td>
                <td>62.8</td>
                <td>58.8</td>
                <td>54.5</td>
              </tr>
              <tr>
                <td>
                  MGSKD
                  <sub>4</sub>
                </td>
                <td>52 M</td>
                <td>46.8</td>
                <td>48.9/50.1</td>
                <td>63.9</td>
                <td>55.2</td>
                <td>43.4</td>
                <td>56.5</td>
                <td>63.1</td>
                <td>59.1</td>
                <td>54.6</td>
              </tr>
              <tr>
                <td>
                  SAT
                  <sub>Small</sub>
                </td>
                <td>52 M</td>
                <td>
                  <bold>45.6</bold>
                </td>
                <td>
                  <bold>46.6/47.6</bold>
                </td>
                <td>
                  <bold>59.2</bold>
                </td>
                <td>
                  <bold>49.1</bold>
                </td>
                <td>
                  <bold>39.2</bold>
                </td>
                <td>
                  <bold>48.8</bold>
                </td>
                <td>
                  <bold>55.7</bold>
                </td>
                <td>
                  <bold>56.8</bold>
                </td>
                <td>
                  <bold>50.1</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Method Validation on Language Modeling Task</title>
      <p>To verify that the proposed SAT method can mitigate the negative impacts of easy-hard sample imbalance and prediction uncertainty on model performance in language modeling tasks, this paper adopts GPT-2 as the baseline model. With self-supervised pre-training, the model gradually learns the ability to generate text sequences on large-scale text datasets and improves its understanding of semantics and grammar. Built upon conventional knowledge distillation, we introduce periodic focal loss to dynamically adjust the attention weights assigned to easy and hard samples at different training stages. Meanwhile, an adaptive temperature distillation loss is adopted to customize temperature parameters for each sample, distinguishing between correct and incorrect predictions. To comprehensively evaluate the effectiveness of the SAT method, we conduct systematic experiments under two typical scenarios: zero-shot learning and transfer learning.</p>
      <sec id="sec5dot1">
        <title>5.1. Datasets and Metrics</title>
        <p>To verify the language modeling capability of the small language model, we perform pre-training distillation on the Open WebText dataset. This dataset contains approximately 8 million training documents with 38 GB of text, which is suitable for large-scale natural language processing tasks. Furthermore, we further evaluate the generalization ability of the model through zero-shot task evaluation and transfer learning experiments. The main datasets used include LAMBADA [<xref ref-type="bibr" rid="B40">40</xref>] (for evaluating text comprehension and generation, with perplexity PPL and accuracy ACC as metrics), WikiText-103 [<xref ref-type="bibr" rid="B41">41</xref>] (for evaluating language modeling performance, with perplexity PPL as the metric), and The Children’s Book Test [<xref ref-type="bibr" rid="B42">42</xref>] (for evaluating text comprehension and generation, with accuracy ACC as the metric). </p>
        <p>Perplexity (PPL) is a commonly used evaluation metric for language models [<xref ref-type="bibr" rid="B26">26</xref>], primarily used to measure a model’s ability to predict text sequences. PPL reflects the model’s average degree of uncertainty on test data; a smaller value indicates stronger predictive ability.</p>
        <p>For a given text sequence <inline-formula><mml:math><mml:mrow><mml:mi> X </mml:mi><mml:mo> = </mml:mo><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 2 </mml:mn></mml:msub><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:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , perplexity is calculated as:</p>
        <disp-formula id="FD13">
          <label>(13)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtext>PPL</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mi>exp</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mo>−</mml:mo>
                  <mml:mfrac>
                    <mml:mn>1</mml:mn>
                    <mml:mi>n</mml:mi>
                  </mml:mfrac>
                  <mml:mstyle displaystyle="true">
                    <mml:munderover>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>i</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:munderover>
                    <mml:mrow>
                      <mml:mi>log</mml:mi>
                      <mml:mi>P</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mo>|</mml:mo>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mn>1</mml:mn>
                          </mml:msub>
                          <mml:mo>,</mml:mo>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mn>2</mml:mn>
                          </mml:msub>
                          <mml:mo>,</mml:mo>
                          <mml:mo>⋯</mml:mo>
                          <mml:mo>,</mml:mo>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mrow>
                              <mml:mi>i</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:mstyle>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> denotes the total length of the text sequence, and <inline-formula><mml:math><mml:mrow><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> x </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> | </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mrow><mml:mi> i </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:math></inline-formula> denotes the model’s conditional probability prediction for the <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> -th word perplexity measures a language model’s ability to predict a text sequence. A smaller value indicates greater confidence when the model generates or predicts text. Generally, a lower PPL means that the text generated by the language model is closer to real-world text.</p>
      </sec>
      <sec id="sec5dot2">
        <title>5.2. Implementation Details</title>
        <p>Within the framework of knowledge distillation for language modeling, the distillation process utilizes a large-scale general-purpose text corpus (specifically, the Open WebText dataset) with the aim of transferring the general language modeling knowledge acquired by the teacher model—such as implicit knowledge regarding contextual dependencies and word probability distributions—to the student model.</p>
        <p>Stage 1: This paper uses a pretrained 12-layer GPT-2 model as the teacher model. Each hidden layer has a dimension of 768, and the model contains 125M parameters. During fine-tuning, the learning rate is fixed at 3e−5, and the training period is set to 10 epochs to ensure that the model can learn sufficiently and reach convergence on each task. </p>
        <p>For the two hyperparameters in the periodic focal loss, the teacher model continues to use the same fine-tuning settings for natural language understanding tasks: <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mtext> c </mml:mtext></mml:mrow></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> , while <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is set to either 2 or 3. As with natural language understanding tasks, the period factor <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is set to 2.</p>
        <p>Stage 2: This paper uses a 4-layer GPT-2 (4/312, 19.6 M) model as the student model and performs distillation from the teacher model after it has been fine-tuned on the specific task, following Equation (12). The learning rate is selected from {2e−5, 3e−5, 4e−5, 5e−5}, with the best configuration being chosen The hyperparameter <inline-formula><mml:math><mml:mi> α </mml:mi></mml:math></inline-formula> is selected from <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 0.4 </mml:mn><mml:mo> , </mml:mo><mml:mn> 0.5 </mml:mn><mml:mo> , </mml:mo><mml:mn> 0.6 </mml:mn><mml:mo> , </mml:mo><mml:mn> 0.7 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , while the two temperature hyperparameters in Equation (9) are selected from <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mi> max </mml:mi></mml:mrow></mml:msub><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 6 </mml:mn><mml:mo> , </mml:mo><mml:mn> 8 </mml:mn><mml:mo> , </mml:mo><mml:mn> 10 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> τ </mml:mi><mml:mrow><mml:mtext> min </mml:mtext></mml:mrow></mml:msub><mml:mo> ∈ </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:mn> 3 </mml:mn><mml:mo> , </mml:mo><mml:mn> 4 </mml:mn><mml:mo> , </mml:mo><mml:mn> 5 </mml:mn></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . </p>
        <p>For the two hyperparameters in the periodic focal loss, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mtext> c </mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> , the same settings as those used during teacher-model fine-tuning are adopted. The low-confidence hyperparameter is fixed at <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> l </mml:mi><mml:mtext> c </mml:mtext></mml:mrow></mml:msub><mml:mo> = </mml:mo><mml:mn> 4 </mml:mn></mml:mrow></mml:math></inline-formula> , while the high-confidence hyperparameter <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> γ </mml:mi><mml:mrow><mml:mi> h </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is selected as either 2 or 3. In contrast to the training weight allocation for natural language processing tasks—where simple and difficult samples are treated equally for the student model—the period factor <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> f </mml:mi><mml:mi> c </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is set to 2.</p>
      </sec>
      <sec id="sec5dot3">
        <title>5.3. Comparison Methods</title>
        <p>To verify the effectiveness of the proposed method, the following approaches are selected for comparison:</p>
        <p>Vanilla KD [<xref ref-type="bibr" rid="B4">4</xref>] is trained by minimizing the discrepancy between the probability distributions output by the student and teacher models.Layer-wise Distillation (LWD) matches the hidden vectors at each layer and optimizes the student model based on the consistency of hidden-layer features.TED [<xref ref-type="bibr" rid="B43">43</xref>] uses a fully connected layer to select hidden features and calculates the knowledge discrepancy between the selected features and the corresponding teacher-model features.CI-WA [<xref ref-type="bibr" rid="B44">44</xref>] employs a dynamic extractor to obtain word-level correlations from each sample and transfers them as knowledge to the student model. It further enhances low-level feature representations through a top-down cross-layer integration mechanism.A2D [<xref ref-type="bibr" rid="B45">45</xref>] aligns attention heads to avoid heuristic selection of layer mappings.</p>
      </sec>
      <sec id="sec5dot4">
        <title>5.4. Main Results</title>
        <p><bold>Table 5</bold> presents the zero-shot learning and transfer learning performance of the GPT-2<sub>4</sub> model on the test set, compared with the teacher model GPT-2₁₂. The experimental results show that the teacher model performs well on both zero-shot and transfer learning tasks, whereas the baseline student model (GPT-2<sub>4</sub>) performs poorly without knowledge distillation. This is particularly evident in the zero-shot learning task on the LAMBADA dataset, where its perplexity (PPL) reaches 99.8 and its accuracy is only 16.4%.</p>
        <p>In the zero-shot learning task, SAT achieves the best overall performance across the three datasets. This indicates that dynamically emphasizing sample difficulty at different stages and appropriately adjusting inter-class differences can help the model better adapt to unseen classes or tasks.</p>
        <p>Through knowledge distillation (KD), layer-wise distillation (LWD), task-related distillation (TED), word-level association knowledge distillation (CI-WA), and self-adaptive temperature periodic knowledge distillation (SAT), the performance of the student model is significantly improved. For example, GPT-2<sub>4</sub> (SAT) achieves a transfer-learning accuracy of 80.3% on the CBT dataset, the highest among all methods.</p>
        <p><bold>Table 5</bold><bold>.</bold> The zero-shot and transfer learning performance of the GPT-2<sub>4</sub> model on the test set.</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td rowspan="3">Method</td>
                <td colspan="4">Zero-Shot</td>
                <td colspan="4">Transfer Learning</td>
              </tr>
              <tr>
                <td colspan="2">LAMBADA</td>
                <td>WikiText-103</td>
                <td>CBT</td>
                <td colspan="2">LAMBADA</td>
                <td>WikiText-103</td>
                <td>CBT</td>
              </tr>
              <tr>
                <td>PPL</td>
                <td>Acc (%)</td>
                <td>PPL</td>
                <td>Acc (%)</td>
                <td>PPL</td>
                <td>Acc (%)</td>
                <td>PPL</td>
                <td>Acc (%)</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>12</sub>
                  (Teacher)
                </td>
                <td>35.1</td>
                <td>46</td>
                <td>37.5</td>
                <td>83.4</td>
                <td>37.2</td>
                <td>34.8</td>
                <td>15.9</td>
                <td>85.1</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (Student)
                </td>
                <td>99.8</td>
                <td>16.4</td>
                <td>70.1</td>
                <td>65.8</td>
                <td>63.2</td>
                <td>27.9</td>
                <td>35.7</td>
                <td>69</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (KD)
                </td>
                <td>91.9</td>
                <td>21.9</td>
                <td>54.8</td>
                <td>75.1</td>
                <td>51.5</td>
                <td>30.7</td>
                <td>34.2</td>
                <td>70.4</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (LWD)
                </td>
                <td>90.8</td>
                <td>22</td>
                <td>51.7</td>
                <td>72.8</td>
                <td>50.4</td>
                <td>30.5</td>
                <td>35.9</td>
                <td>75.2</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (TED)
                </td>
                <td>89.5</td>
                <td>
                  <bold>22.4</bold>
                </td>
                <td>47.2</td>
                <td>73.3</td>
                <td>49.4</td>
                <td>30.4</td>
                <td>31.6</td>
                <td>78.6</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (A2D)
                </td>
                <td>87.9</td>
                <td>22.1</td>
                <td>48.1</td>
                <td>74.9</td>
                <td>49.6</td>
                <td>31.6</td>
                <td>31.8</td>
                <td>78.9</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (CI-WA)
                </td>
                <td>88.2</td>
                <td>21.8</td>
                <td>47.2</td>
                <td>75.4</td>
                <td>
                  <bold>48.2</bold>
                </td>
                <td>31</td>
                <td>
                  <bold>29.8</bold>
                </td>
                <td>79</td>
              </tr>
              <tr>
                <td>
                  GPT-2
                  <sub>4</sub>
                  (SAT)
                </td>
                <td>
                  <bold>87.1</bold>
                </td>
                <td>22.3</td>
                <td>
                  <bold>46.1</bold>
                </td>
                <td>
                  <bold>76.8</bold>
                </td>
                <td>49.7</td>
                <td>
                  <bold>33.8</bold>
                </td>
                <td>30.0</td>
                <td>
                  <bold>80.3</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Discussion</title>
      <sec id="sec6dot1">
        <title>6.1. Effectiveness of Segment-Wise Focal Loss</title>
        <p>This ablation study verifies the effectiveness of segment-wise focal loss for knowledge distillation on multiple NLU tasks. The results are presented in <bold>Table 6</bold>. The undistilled baseline Student4 underperforms Teacher12 severely, reaching only 63.2% on RTE and 89.6% on MRPC and struggling with imbalanced low-frequency samples. Vanilla KD brings moderate gains, lifting SST-2 from 89% to 90.6%.</p>
        <p>FL + KD further improves RTE and MRPC to 62.9% and 90%. Our SFL + KD achieves the best or near-best results across all tasks, with 91.2% accuracy on SST-2 and 50.9% MCC on CoLA. Segment-wise focal loss dynamically reweights samples and boosts prediction accuracy for hard and uncertain instances.</p>
        <p><bold>Table 6</bold><bold>.</bold> The impact of segment-wise focal loss on the BERT4 student model in balanced and imbalanced datasets.</p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td rowspan="2">Methods</td>
                <td colspan="3">Balanced Test Sets</td>
                <td colspan="3">Imbalanced Test Sets</td>
              </tr>
              <tr>
                <td>SST-2 (%)</td>
                <td>RTE (%)</td>
                <td>MNLI-(m/mm) (%)</td>
                <td>QNLI (%)</td>
                <td>CoLA (%)</td>
                <td>MRPC (%)</td>
              </tr>
              <tr>
                <td>Teacher12</td>
                <td>92.9</td>
                <td>70.6</td>
                <td>84.8/84.6</td>
                <td>91.5</td>
                <td>60</td>
                <td>92</td>
              </tr>
              <tr>
                <td>Student4</td>
                <td>89</td>
                <td>63.2</td>
                <td>79.9/80.2</td>
                <td>88.3</td>
                <td>45</td>
                <td>89.6</td>
              </tr>
              <tr>
                <td>KD</td>
                <td>90.6</td>
                <td>62.1</td>
                <td>79.2/79.1</td>
                <td>89.7</td>
                <td>41.5</td>
                <td>89.2</td>
              </tr>
              <tr>
                <td>CrossEntropy + KD</td>
                <td>90.0</td>
                <td>62.8</td>
                <td>72.4/73.5</td>
                <td>89.5</td>
                <td>43.2</td>
                <td>89.5</td>
              </tr>
              <tr>
                <td>FL + KD</td>
                <td>90.2</td>
                <td>62.9</td>
                <td>72.9/73.2</td>
                <td>89.7</td>
                <td>45.1</td>
                <td>90</td>
              </tr>
              <tr>
                <td>SFL + KD</td>
                <td>
                  <bold>91.2</bold>
                </td>
                <td>
                  <bold>63.9</bold>
                </td>
                <td>
                  <bold>80.1/80.9</bold>
                </td>
                <td>
                  <bold>90.4</bold>
                </td>
                <td>
                  <bold>50.9</bold>
                </td>
                <td>
                  <bold>90.6</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec id="sec6dot2">
        <title>6.2. Mitigating Dataset Imbalances</title>
        <p>To investigate the effects of segment-wise focal loss (SFL) and adaptive temperature distillation loss (ATL) on imbalanced datasets, this paper conduct experiments on QNLI, CoLA and MRPC. Following Kim <italic>et al</italic>. [<xref ref-type="bibr" rid="B46">46</xref>], besides Top-1 and AURC, we also report Expected Calibration Error (ECE, %). Lower ECE indicates better calibration, where model confidence aligns closely with actual accuracy. Top-1 accuracy denotes the prediction accuracy of the majority class, which contains the largest number of samples in the dataset.</p>
        <p>1) ECE </p>
        <p>Expected Calibration Error (ECE) is a commonly used model calibration metric, primarily used to measure the agreement between a classification model’s predicted confidence and its actual accuracy. ECE reflects whether the model tends to be overly confident or overly conservative in its predictions. It divides the model’s predicted confidence scores into <inline-formula><mml:math><mml:mi> M </mml:mi></mml:math></inline-formula> bins, and then calculates the difference between the average confidence and accuracy within each bin. The formula is:</p>
        <disp-formula id="FD14">
          <label>(14)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtext>ECE</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mstyle displaystyle="true">
                <mml:munderover>
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:mi>m</mml:mi>
                    <mml:mo>=</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mi>M</mml:mi>
                </mml:munderover>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>|</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>B</mml:mi>
                            <mml:mi>m</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo>|</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mi>n</mml:mi>
                  </mml:mfrac>
                </mml:mrow>
              </mml:mstyle>
              <mml:mrow>
                <mml:mo>|</mml:mo>
                <mml:mrow>
                  <mml:mtext>acc</mml:mtext>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>B</mml:mi>
                        <mml:mi>m</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>−</mml:mo>
                  <mml:mtext>conf</mml:mtext>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>B</mml:mi>
                        <mml:mi>m</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </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> B </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> denotes the sample set in the <inline-formula><mml:math><mml:mi> m </mml:mi></mml:math></inline-formula> -th bin, <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mo> | </mml:mo><mml:mrow><mml:msub><mml:mi> B </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow><mml:mo> | </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the number of samples in the <inline-formula><mml:math><mml:mi> m </mml:mi></mml:math></inline-formula> -th bin, <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> denotes the total number of samples, <inline-formula><mml:math display="inline"><mml:mrow><mml:mtext> acc </mml:mtext><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> B </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the average accuracy of the samples in the <inline-formula><mml:math><mml:mi> m </mml:mi></mml:math></inline-formula> -th bin, and <inline-formula><mml:math display="inline"><mml:mrow><mml:mtext> conf </mml:mtext><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> B </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the average confidence of the samples in the <inline-formula><mml:math><mml:mi> m </mml:mi></mml:math></inline-formula> -th bin. The value of ECE ranges from [0, 1]. A smaller value indicates that the model’s confidence is closer to the actual probability, suggesting better calibration.</p>
        <p>2) AURC</p>
        <p>AURC (Area Under the Reliability Curve) is a metric used to measure the reliability of a classification model’s predictions. It is typically used to evaluate whether the model’s confidence is consistent with its actual performance Similar to Expected Calibration Error (ECE), AURC focuses on the relationship between the model’s predicted confidence and its actual accuracy. The formula for calculating AURC is:</p>
        <disp-formula id="FD15">
          <label>(15)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mtext>AURC</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mstyle displaystyle="true">
                <mml:mrow>
                  <mml:msubsup>
                    <mml:mo>∫</mml:mo>
                    <mml:mn>0</mml:mn>
                    <mml:mn>1</mml:mn>
                  </mml:msubsup>
                  <mml:mrow>
                    <mml:mtext>acc</mml:mtext>
                  </mml:mrow>
                </mml:mrow>
              </mml:mstyle>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:mtext>conf</mml:mtext>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mtext>d</mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>conf</mml:mtext>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <inline-formula><mml:math><mml:mrow><mml:mtext> acc </mml:mtext><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mtext> conf </mml:mtext></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the actual accuracy at a given confidence level conf. The value of AURC generally ranges from 0 to 1. A value closer to 1 indicates a larger discrepancy between the model’s confidence and its actual accuracy, suggesting that the model’s predictions are unreliable. Conversely, an AURC value closer to 0 indicates that the model’s predicted confidence is consistent with its actual accuracy, suggesting that the model is relatively reliable.</p>
        <p>As shown in <bold>Table 7</bold> for QNLI, either SFL or ATL alone improves Top-1 accuracy but yields limited gains for ECE and AURC. Combining SFL and ATL (SAT) achieves the best results across all metrics: Top-1 accuracy of 80.4%, ECE of 2.39%, and AURC of 49.1. This verifies the complementarity and effectiveness of SFL and ATL in knowledge distillation.</p>
        <p><bold>Table 7</bold><bold>.</bold> Comparative experiments of the student model BERT4 on the QNLI dataset.</p>
        <table-wrap id="tbl7">
          <label>Table 7</label>
          <table>
            <tbody>
              <tr>
                <td>Methods</td>
                <td>SFL</td>
                <td>ATL</td>
                <td>Top-1</td>
                <td>ECE</td>
                <td>AURC</td>
              </tr>
              <tr>
                <td>Abl.1</td>
                <td>×</td>
                <td>×</td>
                <td>76.8%</td>
                <td>11.87%</td>
                <td>67.6</td>
              </tr>
              <tr>
                <td>Abl.2</td>
                <td>×</td>
                <td>√</td>
                <td>79.2%</td>
                <td>10.81%</td>
                <td>57.2</td>
              </tr>
              <tr>
                <td>Abl.3</td>
                <td>√</td>
                <td>×</td>
                <td>77.6%</td>
                <td>6.21%</td>
                <td>61.7</td>
              </tr>
              <tr>
                <td>SAT</td>
                <td>√</td>
                <td>√</td>
                <td>
                  <bold>80.4%</bold>
                </td>
                <td>
                  <bold>2.39%</bold>
                </td>
                <td>
                  <bold>49.1</bold>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec7">
      <title>7. Conclusions and Future Work</title>
      <p>To address the imbalance between easy and hard samples in training data, this chapter proposes a periodic segment-wise focal loss knowledge distillation method with adaptive temperature. Built upon conventional knowledge distillation, it contains two improvements. The segment-wise focal loss dynamically adjusts the weights for high- and low-confidence samples, enabling the model to learn comprehensive knowledge across different training stages. The adaptive temperature distillation loss dynamically tunes the temperature according to sample difficulty to scale inter-class differences and boost distillation performance. By mitigating the easy-hard sample imbalance, this method optimizes the distillation pipeline. Experiments demonstrate that the proposed approach effectively reduces the adverse impact of sample imbalance and improves the quality and generalization of the compressed model.</p>
      <p>In this work, sample difficulty is characterized mainly based on model confidence. Future work can incorporate multiple factors such as semantic complexity of samples, class distribution, and prediction discrepancy between the teacher and student models to construct a more accurate and robust sample difficulty evaluation mechanism, so as to achieve finer-grained knowledge allocation.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Devlin, J., Chang, M., Lee, K. and Toutanova, K. (2019) BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding. <italic>Proceedings of the</italic>2019 <italic>Conference of the North American Chapter of the Association for Computational Linguistics</italic>: <italic>Human Language Technologies</italic>, <italic>Volume</italic> 1 (Long and Short Papers), Minneapolis, 2 June-7 June 2019, 4171-4186. https://doi.org/10.18653/v1/n19-1423 <pub-id pub-id-type="doi">10.18653/v1/n19-1423</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/n19-1423">https://doi.org/10.18653/v1/n19-1423</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Devlin, J.</string-name>
              <string-name>Chang, M.</string-name>
              <string-name>Lee, K.</string-name>
              <string-name>Toutanova, K.</string-name>
              <string-name>Technologies, V</string-name>
            </person-group>
            <year>2019</year>
            <article-title>BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding</article-title>
            <source>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
            <volume>2</volume>
            <pub-id pub-id-type="doi">10.18653/v1/n19-1423</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Liu, Y., Ott, M., Goyal, N., <italic>et al</italic>. (2019) RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv:1907.11692.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Liu, Y.</string-name>
              <string-name>Ott, M.</string-name>
              <string-name>Goyal, N.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>RoBERTa: A Robustly Optimized BERT Pretraining Approach</article-title>
            <fpage>1907</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Brown, T.B., Mann, B., Ryder, N., <italic>et al</italic>. (2020) Language Models Are Few-Shot Learners. <italic>Advances in Neural Information Processing Systems</italic>, 33, 1877-1901.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Brown, T.B.</string-name>
              <string-name>Mann, B.</string-name>
              <string-name>Ryder, N.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Language Models Are Few-Shot Learners</article-title>
            <source>Advances in Neural Information Processing Systems</source>
            <volume>33</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hinton, G., Vinyals, O. and Dean, J. (2015) Distilling the Knowledge in a Neural Network. arXiv:1503.02531.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hinton, G.</string-name>
              <string-name>Vinyals, O.</string-name>
              <string-name>Dean, J.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>Distilling the Knowledge in a Neural Network</article-title>
            <fpage>1503</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Buciluǎ, C., Caruana, R. and Niculescu-Mizil, A. (2006) Model Compression. <italic>Proceedings of the</italic>12 <italic>th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</italic>, Philadelphia, 20-23 August 2006, 535-541. https://doi.org/10.1145/1150402.1150464 <pub-id pub-id-type="doi">10.1145/1150402.1150464</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1150402.1150464">https://doi.org/10.1145/1150402.1150464</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Caruana, R.</string-name>
              <string-name>Niculescu-Mizil, A.</string-name>
              <string-name>Mining, P</string-name>
            </person-group>
            <year>2006</year>
            <article-title>Model Compression</article-title>
            <source>Proceedings of the 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source>
            <volume>20</volume>
            <pub-id pub-id-type="doi">10.1145/1150402.1150464</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Romero, A., Ballas, N., Kahou, S.E., <italic>et al</italic>. (2015) FitNets: Hints for Thin Deep Nets. arXiv:1412.6550.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Romero, A.</string-name>
              <string-name>Ballas, N.</string-name>
              <string-name>Kahou, S.E.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>FitNets: Hints for Thin Deep Nets</article-title>
            <fpage>1412</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Gou, J., Yu, B., Maybank, S.J., <italic>et al</italic>. (2021) Knowledge Distillation: A Good Teacher Is Patient and Consistent. <italic>Pattern Recognition</italic>, 116, Article 107880.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Gou, J.</string-name>
              <string-name>Yu, B.</string-name>
              <string-name>Maybank, S.J.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Knowledge Distillation: A Good Teacher Is Patient and Consistent</article-title>
            <source>Pattern Recognition</source>
            <volume>116</volume>
            <elocation-id>107880</elocation-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Sanh, V., Debut, L., Chaumond, J., <italic>et al</italic>. (2019) DistilBERT, a Distilled Version of BERT: Smaller, Faster, Cheaper and Lighter. arXiv:1910.01108.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Sanh, V.</string-name>
              <string-name>Debut, L.</string-name>
              <string-name>Chaumond, J.</string-name>
              <string-name>Smaller, F</string-name>
            </person-group>
            <year>2019</year>
            <article-title>DistilBERT, a Distilled Version of BERT: Smaller, Faster, Cheaper and Lighter</article-title>
            <fpage>1910</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Jiao, X., Yin, Y., Shang, L., Jiang, X., Chen, X., Li, L., <italic>et al</italic>. (2020) TinyBERT: Distilling BERT for Natural Language Understanding. <italic>Findings of the Association for Computational Linguistics</italic>: <italic>EMNLP</italic> 2020, Online, 16-20 November 2020, 4163-4174. https://doi.org/10.18653/v1/2020.findings-emnlp.372 <pub-id pub-id-type="doi">10.18653/v1/2020.findings-emnlp.372</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2020.findings-emnlp.372">https://doi.org/10.18653/v1/2020.findings-emnlp.372</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Jiao, X.</string-name>
              <string-name>Yin, Y.</string-name>
              <string-name>Shang, L.</string-name>
              <string-name>Jiang, X.</string-name>
              <string-name>Chen, X.</string-name>
              <string-name>Li, L.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>TinyBERT: Distilling BERT for Natural Language Understanding</article-title>
            <source>Findings of the Association for Computational Linguistics: EMNLP 2020</source>
            <volume>16</volume>
            <pub-id pub-id-type="doi">10.18653/v1/2020.findings-emnlp.372</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Müller, R., Kornblith, S. and Hinton, G.E. (2019) When Does Label Smoothing Help? <italic>Proceedings of the</italic>33 <italic>rd International Conference on Neural Information Processing Systems</italic>, Vancouver, 8-14 December 2019, 4696-4705.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Kornblith, S.</string-name>
              <string-name>Hinton, G.E.</string-name>
              <string-name>Systems, V</string-name>
            </person-group>
            <year>2019</year>
            <article-title>When Does Label Smoothing Help? Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, 8-14 December 2019, 4696-4705</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Malinin, A. and Gales, M. (2018) Predictive Uncertainty Estimation via Prior Networks. <italic>Proceedings of the</italic>32 <italic>nd International Conference on Neural Information Processing Systems</italic>, Montréal, 3-8 December 2018, 7047-7058.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Malinin, A.</string-name>
              <string-name>Gales, M.</string-name>
              <string-name>Systems, M</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Predictive Uncertainty Estimation via Prior Networks</article-title>
            <source>Proceedings of the 32nd International Conference on Neural Information Processing Systems</source>
            <volume>3</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Lakshminarayanan, B., Pritzel, A. and Blundell, C. (2017) Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles. <italic>Proceedings of the</italic>31 <italic>st International Conference on Neural Information Processing Systems</italic>, Long Beach, 4-9 December 2017, 6405-6416.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Lakshminarayanan, B.</string-name>
              <string-name>Pritzel, A.</string-name>
              <string-name>Blundell, C.</string-name>
              <string-name>Systems, L</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles</article-title>
            <source>Proceedings of the 31st International Conference on Neural Information Processing Systems</source>
            <volume>4</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Yang, C., An, Z., Cai, L., <italic>et al</italic>. (2023) Knowledge Distillation Using Neural Network Ensembles. <italic>Proceedings of the IEEE</italic>/ <italic>CVF Conference on Computer Vision and Pat-tern Recognition</italic>, Vancouver, 1383-1392.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Yang, C.</string-name>
              <string-name>An, Z.</string-name>
              <string-name>Cai, L.</string-name>
              <string-name>Recognition, V</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Knowledge Distillation Using Neural Network Ensembles</article-title>
            <source>Proceedings of the IEEE/CVF Conference on Computer Vision and Pat-tern Recognition</source>
            <volume>1383</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Zagoruyko, S. and Komodakis, N. (2017) Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfer. <italic>International Conference on Learning Representations</italic>, Toulon, 1-13.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Zagoruyko, S.</string-name>
              <string-name>Komodakis, N.</string-name>
              <string-name>Representations, T</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfer</article-title>
            <source>International Conference on Learning Representations</source>
            <volume>1</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Park, W., Kim, D., Lu, Y. and Cho, M. (2019) Relational Knowledge Distillation. 2019 <italic>IEEE</italic>/ <italic>CVF Conference on Computer Vision and Pattern Recognition</italic>( <italic>CVPR</italic>), Long Beach, 15-20 June 2019, 3967-3976. https://doi.org/10.1109/cvpr.2019.00409 <pub-id pub-id-type="doi">10.1109/cvpr.2019.00409</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/cvpr.2019.00409">https://doi.org/10.1109/cvpr.2019.00409</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Park, W.</string-name>
              <string-name>Kim, D.</string-name>
              <string-name>Lu, Y.</string-name>
              <string-name>Cho, M.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Relational Knowledge Distillation</article-title>
            <source>2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)</source>
            <volume>15</volume>
            <pub-id pub-id-type="doi">10.1109/cvpr.2019.00409</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Sun, Z., Yu, H., Song, X., Liu, R., Yang, Y. and Zhou, D. (2020) MobileBERT: A Compact Task-Agnostic BERT for Resource-Limited Devices. <italic>Proceedings of the</italic>58 <italic>th Annual Meeting of the Association for Computational Linguistics</italic>, Online, 5-10 July 2020, 2158-2170. https://doi.org/10.18653/v1/2020.acl-main.195 <pub-id pub-id-type="doi">10.18653/v1/2020.acl-main.195</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2020.acl-main.195">https://doi.org/10.18653/v1/2020.acl-main.195</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Sun, Z.</string-name>
              <string-name>Yu, H.</string-name>
              <string-name>Song, X.</string-name>
              <string-name>Liu, R.</string-name>
              <string-name>Yang, Y.</string-name>
              <string-name>Zhou, D.</string-name>
              <string-name>Linguistics, O</string-name>
            </person-group>
            <year>2020</year>
            <article-title>MobileBERT: A Compact Task-Agnostic BERT for Resource-Limited Devices</article-title>
            <source>Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics</source>
            <volume>5</volume>
            <pub-id pub-id-type="doi">10.18653/v1/2020.acl-main.195</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Wang, W., Wei, F., Dong, L., Bao, H., Yang, N. and Zhou, M. (2020) MINILM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers. <italic>Proceedings of the</italic>34 <italic>th International Conference on Neural Information Processing Systems</italic>, Vancouver, 6-12 December 2020, 5776-5788.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Wang, W.</string-name>
              <string-name>Wei, F.</string-name>
              <string-name>Dong, L.</string-name>
              <string-name>Bao, H.</string-name>
              <string-name>Yang, N.</string-name>
              <string-name>Zhou, M.</string-name>
              <string-name>Systems, V</string-name>
            </person-group>
            <year>2020</year>
            <article-title>MINILM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers</article-title>
            <source>Proceedings of the 34th International Conference on Neural Information Processing Systems</source>
            <volume>6</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Lin, T., Goyal, P., Girshick, R., He, K. and Dollar, P. (2017) Focal Loss for Dense Object Detection. 2017 <italic>IEEE International Conference on Computer Vision</italic>( <italic>ICCV</italic>), Venice, 22-29 October 2017, 2999-3007. https://doi.org/10.1109/iccv.2017.324 <pub-id pub-id-type="doi">10.1109/iccv.2017.324</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/iccv.2017.324">https://doi.org/10.1109/iccv.2017.324</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Lin, T.</string-name>
              <string-name>Goyal, P.</string-name>
              <string-name>Girshick, R.</string-name>
              <string-name>He, K.</string-name>
              <string-name>Dollar, P.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Focal Loss for Dense Object Detection</article-title>
            <source>2017 IEEE International Conference on Computer Vision (ICCV)</source>
            <volume>22</volume>
            <pub-id pub-id-type="doi">10.1109/iccv.2017.324</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Ridnik, T., Ben-Baruch, E., Zamir, N., Noy, A., Friedman, I., Protter, M., <italic>et al</italic>. (2021) Asymmetric Loss for Multi-Label Classification. 2021 <italic>I</italic><italic>EEE</italic>/ <italic>CVF International Con</italic><italic>ference on Computer Vision</italic> ( <italic>ICCV</italic>), Montreal, 10-17 October 2021, 82-91. https://doi.org/10.1109/iccv48922.2021.00015 <pub-id pub-id-type="doi">10.1109/iccv48922.2021.00015</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/iccv48922.2021.00015">https://doi.org/10.1109/iccv48922.2021.00015</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Ridnik, T.</string-name>
              <string-name>Ben-Baruch, E.</string-name>
              <string-name>Zamir, N.</string-name>
              <string-name>Noy, A.</string-name>
              <string-name>Friedman, I.</string-name>
              <string-name>Protter, M.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Asymmetric Loss for Multi-Label Classification</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.00015</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Smith, L.N. (2023) General Cyclical Training of Neural Networks. <italic>Advances in Artificial Intelligence and Machine Learning</italic>, 3, 958-976. https://doi.org/10.54364/aaiml.2023.1157 <pub-id pub-id-type="doi">10.54364/aaiml.2023.1157</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.54364/aaiml.2023.1157">https://doi.org/10.54364/aaiml.2023.1157</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Smith, L.N.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>General Cyclical Training of Neural Networks</article-title>
            <source>Advances in Artificial Intelligence and Machine Learning</source>
            <volume>3</volume>
            <pub-id pub-id-type="doi">10.54364/aaiml.2023.1157</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Bengio, Y., Louradour, J., Collobert, R. and Weston, J. (2009) Curriculum Learning. <italic>Proceedings of the</italic>26 <italic>th Annual International Conference on Machine Learning</italic>, Montreal, 14-18 June 2009, 41-48. https://doi.org/10.1145/1553374.1553380 <pub-id pub-id-type="doi">10.1145/1553374.1553380</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/1553374.1553380">https://doi.org/10.1145/1553374.1553380</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Bengio, Y.</string-name>
              <string-name>Louradour, J.</string-name>
              <string-name>Collobert, R.</string-name>
              <string-name>Weston, J.</string-name>
              <string-name>Learning, M</string-name>
            </person-group>
            <year>2009</year>
            <article-title>Curriculum Learning</article-title>
            <source>Proceedings of the 26th Annual International Conference on Machine Learning</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.1145/1553374.1553380</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Frankle, J., Schwab, D.J. and Morcos, A.S. (2020) The Early Phase of Neural Network Training. <italic>Proceedings of the International Conference on Learning Representations</italic>( <italic>ICLR</italic>), Addis Ababa, 1-20.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Frankle, J.</string-name>
              <string-name>Schwab, D.J.</string-name>
              <string-name>Morcos, A.S.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>The Early Phase of Neural Network Training</article-title>
            <source>Proceedings of the International Conference on Learning Representations (ICLR)</source>
            <volume>1</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Smith, L.N. (2017) Cyclical Learning Rates for Training Neural Networks. 2017 <italic>IEEE Winter Conference on Applications of Computer Vision</italic> ( <italic>WACV</italic>), Santa Rosa, 24-31 March 2017, 464-472. https://doi.org/10.1109/wacv.2017.58 <pub-id pub-id-type="doi">10.1109/wacv.2017.58</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/wacv.2017.58">https://doi.org/10.1109/wacv.2017.58</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Smith, L.N.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Cyclical Learning Rates for Training Neural Networks</article-title>
            <source>2017 IEEE Winter Conference on Applications of Computer Vision (WACV)</source>
            <volume>24</volume>
            <pub-id pub-id-type="doi">10.1109/wacv.2017.58</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Goyal, P., Dollár, P., Girshick, R., Noordhuis, P., Wesolowski, L., Kyrola, A., Tul-loch, A., Jia, Y. and He, K. (2017) Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour. <italic>Proceedings of the IEEE International Conference on Computer Vision</italic> ( <italic>ICCV</italic>), Venice, 472-481.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Goyal, P.</string-name>
              <string-name>Girshick, R.</string-name>
              <string-name>Noordhuis, P.</string-name>
              <string-name>Wesolowski, L.</string-name>
              <string-name>Kyrola, A.</string-name>
              <string-name>Tul-loch, A.</string-name>
              <string-name>Jia, Y.</string-name>
              <string-name>He, K.</string-name>
              <string-name>Accurate, L</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour</article-title>
            <source>Proceedings of the IEEE International Conference on Computer Vision (ICCV)</source>
            <volume>472</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Loshchilov, I. and Hutter, F. (2017) SGDR: Stochastic Gradient Descent with Warm Restarts. arXiv:1608.03983.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Loshchilov, I.</string-name>
              <string-name>Hutter, F.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>SGDR: Stochastic Gradient Descent with Warm Restarts</article-title>
            <fpage>1608</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B26">
        <label>26.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Zhang, G., Wang, C., Xu, B. and Grosse, R. (2019) Three Mechanisms of Weight Decay Regularization. arXiv:1810.12281.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Zhang, G.</string-name>
              <string-name>Wang, C.</string-name>
              <string-name>Xu, B.</string-name>
              <string-name>Grosse, R.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Three Mechanisms of Weight Decay Regularization</article-title>
            <fpage>1810</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B27">
        <label>27.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Zhang, O., Wu, M., Bayrooti, J. and Goodman, N. (2021) Temperature as Uncertainty in Contrastive Learning. 35 <italic>th Conference on Neural Information Processing Systems</italic>( <italic>NeurIPS</italic> 2021), Sydney, 4 p.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Zhang, O.</string-name>
              <string-name>Wu, M.</string-name>
              <string-name>Bayrooti, J.</string-name>
              <string-name>Goodman, N.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Temperature as Uncertainty in Contrastive Learning</article-title>
            <source>35th Conference on Neural Information Processing Systems (NeurIPS 2021)</source>
            <volume>4</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B28">
        <label>28.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Wang, A., Singh, A., Michael, J., Hill, F., Levy, O. and Bowman, S. (2018) GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding. <italic>Proceedings of the</italic> 2018 <italic>EMNLP Workshop BlackboxNLP</italic>: <italic>Analyzing and Interpreting Neural Networks for NLP</italic>, Brussels, 1 November 2018, 353-355. https://doi.org/10.18653/v1/w18-5446 <pub-id pub-id-type="doi">10.18653/v1/w18-5446</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/w18-5446">https://doi.org/10.18653/v1/w18-5446</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Wang, A.</string-name>
              <string-name>Singh, A.</string-name>
              <string-name>Michael, J.</string-name>
              <string-name>Hill, F.</string-name>
              <string-name>Levy, O.</string-name>
              <string-name>Bowman, S.</string-name>
              <string-name>NLP, B</string-name>
            </person-group>
            <year>2018</year>
            <article-title>GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding</article-title>
            <source>Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP</source>
            <volume>1</volume>
            <pub-id pub-id-type="doi">10.18653/v1/w18-5446</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B29">
        <label>29.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Warstadt, A., Singh, A. and Bowman, S.R. (2018) Neural Network Acceptability Judgments. <italic>Transactions of the Association for Computational Linguistics</italic>, 7, 625-641. https://doi.org/10.1162/tacl_a_00290 <pub-id pub-id-type="doi">10.1162/tacl_a_00290</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1162/tacl_a_00290">https://doi.org/10.1162/tacl_a_00290</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Warstadt, A.</string-name>
              <string-name>Singh, A.</string-name>
              <string-name>Bowman, S.R.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Neural Network Acceptability Judgments</article-title>
            <source>Transactions of the Association for Computational Linguistics</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.1162/tacl_a_00290</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B30">
        <label>30.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, C.D., Ng, A., <italic>et al</italic>. (2013) Recursive Deep Models for Semantic Compositionality over a Sentiment Treebank. <italic>Proceedings of the</italic>2013 <italic>Conference on Empirical Methods in Natural Language Processing</italic>, Seattle, 18-21 October 2013, 1631-1642. https://doi.org/10.18653/v1/d13-1170 <pub-id pub-id-type="doi">10.18653/v1/d13-1170</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/d13-1170">https://doi.org/10.18653/v1/d13-1170</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Socher, R.</string-name>
              <string-name>Perelygin, A.</string-name>
              <string-name>Wu, J.</string-name>
              <string-name>Chuang, J.</string-name>
              <string-name>Manning, C.D.</string-name>
              <string-name>Ng, A.</string-name>
              <string-name>Processing, S</string-name>
            </person-group>
            <year>2013</year>
            <article-title>Recursive Deep Models for Semantic Compositionality over a Sentiment Treebank</article-title>
            <source>Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing</source>
            <volume>18</volume>
            <pub-id pub-id-type="doi">10.18653/v1/d13-1170</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B31">
        <label>31.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Williams, A., Nangia, N. and Bowman, S. (2018) A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference. <italic>Proceedings of the</italic> 2018 <italic>Conference of the North American Chapter of the Association for Computational Linguistics</italic>: <italic>Human Language Technologies</italic>, <italic>Volume</italic>1 ( <italic>Long Papers</italic>), New Orleans, 1-6 June 2018, 1112-1122. https://doi.org/10.18653/v1/n18-1101 <pub-id pub-id-type="doi">10.18653/v1/n18-1101</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/n18-1101">https://doi.org/10.18653/v1/n18-1101</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Williams, A.</string-name>
              <string-name>Nangia, N.</string-name>
              <string-name>Bowman, S.</string-name>
              <string-name>Technologies, V</string-name>
            </person-group>
            <year>2018</year>
            <article-title>A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference</article-title>
            <source>Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
            <volume>1</volume>
            <pub-id pub-id-type="doi">10.18653/v1/n18-1101</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B32">
        <label>32.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Rajpurkar, P., Zhang, J., Lopyrev, K. and Liang, P. (2016) Squad: 100,000+ Questions for Machine Comprehension of Text. <italic>Proceedings of the</italic>2016 <italic>Conference on Empirical Methods in Natural Language Processing</italic>, Austin, 1-5 November 2016, 2383-2392. https://doi.org/10.18653/v1/d16-1264 <pub-id pub-id-type="doi">10.18653/v1/d16-1264</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/d16-1264">https://doi.org/10.18653/v1/d16-1264</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Rajpurkar, P.</string-name>
              <string-name>Zhang, J.</string-name>
              <string-name>Lopyrev, K.</string-name>
              <string-name>Liang, P.</string-name>
              <string-name>Processing, A</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Squad: 100,000+ Questions for Machine Comprehension of Text</article-title>
            <source>Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing</source>
            <volume>1</volume>
            <fpage>100</fpage>
            <pub-id pub-id-type="doi">10.18653/v1/d16-1264</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B33">
        <label>33.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Bentivogli, L., Clark, P., Dagan, I. and Giampiccolo, D. (2011) The Seventh PASCAL Recognizing Textual Entailment Challenge. <italic>Proceedings of the</italic>4 <italic>th Text Analysis Conference</italic>, Gaithersburg, 1-6.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Bentivogli, L.</string-name>
              <string-name>Clark, P.</string-name>
              <string-name>Dagan, I.</string-name>
              <string-name>Giampiccolo, D.</string-name>
              <string-name>Conference, G</string-name>
            </person-group>
            <year>2011</year>
            <article-title>The Seventh PASCAL Recognizing Textual Entailment Challenge</article-title>
            <source>Proceedings of the 4th Text Analysis Conference</source>
            <volume>1</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B34">
        <label>34.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Dolan, W.B. and Brockett, C. (2005) Automatically Constructing a Corpus of Sentential Paraphrases. <italic>Proceedings of the Third International Workshop on Paraphrasin</italic><italic>g</italic>, Korea, 9-16.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Dolan, W.B.</string-name>
              <string-name>Brockett, C.</string-name>
              <string-name>Paraphrasing, K</string-name>
            </person-group>
            <year>2005</year>
            <article-title>Automatically Constructing a Corpus of Sentential Paraphrases</article-title>
            <source>Proceedings of the Third International Workshop on Paraphrasing</source>
            <volume>9</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B35">
        <label>35.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Cer, D., Diab, M., Agirre, E., Lopez-Gazpio, I. and Specia, L. (2017) Semeval-2017 Task 1: Semantic Textual Similarity Multilingual and Crosslingual Focused Evaluation. <italic>Proceedings of the</italic>11 <italic>th International Workshop on Semantic Evaluation</italic> (SemEval-2017), Vancouver, 3-4 August 2017, 1-14. https://doi.org/10.18653/v1/s17-2001 <pub-id pub-id-type="doi">10.18653/v1/s17-2001</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/s17-2001">https://doi.org/10.18653/v1/s17-2001</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Cer, D.</string-name>
              <string-name>Diab, M.</string-name>
              <string-name>Agirre, E.</string-name>
              <string-name>Lopez-Gazpio, I.</string-name>
              <string-name>Specia, L.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Semeval-2017 Task 1: Semantic Textual Similarity Multilingual and Crosslingual Focused Evaluation</article-title>
            <source>Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017)</source>
            <volume>3</volume>
            <pub-id pub-id-type="doi">10.18653/v1/s17-2001</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B36">
        <label>36.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Chen, Z., Zhang, H., Zhang, X. and Zhao, L. (2018) Quora Question Pairs. https://www.kaggle.com/c/quora-question-pairs</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Chen, Z.</string-name>
              <string-name>Zhang, H.</string-name>
              <string-name>Zhang, X.</string-name>
              <string-name>Zhao, L.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Quora Question Pairs</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B37">
        <label>37.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Park, G., Kim, G. and Yang, E. (2021) Distilling Linguistic Context for Language Model Compression. <italic>Proceedings of the</italic>2021 <italic>Conference on Empirical Methods in Natural Language Processing</italic>, Punta Cana, 7-11 November 2021, 364-378. https://doi.org/10.18653/v1/2021.emnlp-main.30 <pub-id pub-id-type="doi">10.18653/v1/2021.emnlp-main.30</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2021.emnlp-main.30">https://doi.org/10.18653/v1/2021.emnlp-main.30</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Park, G.</string-name>
              <string-name>Kim, G.</string-name>
              <string-name>Yang, E.</string-name>
              <string-name>Processing, P</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Distilling Linguistic Context for Language Model Compression</article-title>
            <source>Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.18653/v1/2021.emnlp-main.30</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B38">
        <label>38.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Liu, C., Tao, C., Feng, J. and Zhao, D. (2022) Multi-Granularity Structural Knowledge Distillation for Language Model Compression. <italic>Proceedings of the</italic> 60 <italic>th Annual Meeting of the Association for Computational Linguistics</italic> (Volume 1: Long Papers), Dublin, 22-27 May 2022, 1001-1011. https://doi.org/10.18653/v1/2022.acl-long.71 <pub-id pub-id-type="doi">10.18653/v1/2022.acl-long.71</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2022.acl-long.71">https://doi.org/10.18653/v1/2022.acl-long.71</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Liu, C.</string-name>
              <string-name>Tao, C.</string-name>
              <string-name>Feng, J.</string-name>
              <string-name>Zhao, D.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Multi-Granularity Structural Knowledge Distillation for Language Model Compression</article-title>
            <source>Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
            <volume>22</volume>
            <pub-id pub-id-type="doi">10.18653/v1/2022.acl-long.71</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B39">
        <label>39.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Wang, W., Bao, H., Huang, S., Dong, L. and Wei, F. (2021) MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformers. <italic>Findings of the Association for Computational Linguistics</italic>: <italic>ACL</italic>- <italic>IJCNLP</italic> 2021, Online, 1-6 August 2021, 2140-2151. https://doi.org/10.18653/v1/2021.findings-acl.188 <pub-id pub-id-type="doi">10.18653/v1/2021.findings-acl.188</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2021.findings-acl.188">https://doi.org/10.18653/v1/2021.findings-acl.188</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Wang, W.</string-name>
              <string-name>Bao, H.</string-name>
              <string-name>Huang, S.</string-name>
              <string-name>Dong, L.</string-name>
              <string-name>Wei, F.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformers</article-title>
            <source>Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021</source>
            <volume>1</volume>
            <pub-id pub-id-type="doi">10.18653/v1/2021.findings-acl.188</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B40">
        <label>40.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Paperno, D., Kruszewski, G., Lazaridou, A., Pham, N.Q., Bernardi, R., Pezzelle, S., <italic>et al</italic>. (2016) The LAMBADA Dataset: Word Prediction Requiring a Broad Discourse Context. <italic>Proceedings of the</italic>54 <italic>th Annual Meeting of the Association for Computational Linguistics</italic> (Volume 1: Long Papers), Berlin, 7-12 August 2016, 1525-1534. https://doi.org/10.18653/v1/p16-1144 <pub-id pub-id-type="doi">10.18653/v1/p16-1144</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/p16-1144">https://doi.org/10.18653/v1/p16-1144</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Paperno, D.</string-name>
              <string-name>Kruszewski, G.</string-name>
              <string-name>Lazaridou, A.</string-name>
              <string-name>Pham, N.Q.</string-name>
              <string-name>Bernardi, R.</string-name>
              <string-name>Pezzelle, S.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>The LAMBADA Dataset: Word Prediction Requiring a Broad Discourse Context</article-title>
            <source>Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.18653/v1/p16-1144</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B41">
        <label>41.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Merity, S., Xiong, C., Bradbury, J. and Socher, R. (2016) Pointer Sentinel Mixture Models. arXiv:1609.07843.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Merity, S.</string-name>
              <string-name>Xiong, C.</string-name>
              <string-name>Bradbury, J.</string-name>
              <string-name>Socher, R.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Pointer Sentinel Mixture Models</article-title>
            <fpage>1609</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B42">
        <label>42.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hill, F., Bordes, A., Chopra, S. and Weston, J. (2016) The Goldilocks Principle: Reading Children’s Books with Explicit Memory Representations. arXiv:1511.02301.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hill, F.</string-name>
              <string-name>Bordes, A.</string-name>
              <string-name>Chopra, S.</string-name>
              <string-name>Weston, J.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>The Goldilocks Principle: Reading Children’s Books with Explicit Memory Representations</article-title>
            <fpage>1511</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B43">
        <label>43.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Liang, C., Zuo, S., Zhang, Q., He, P., Chen, W. and Zhao, T. (2022) Less Is More: Task-Aware Layer-Wise Distillation for Language Model Compression. <italic>International Conference on Machine Learning</italic>, Honolulu, 20852-20867.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Liang, C.</string-name>
              <string-name>Zuo, S.</string-name>
              <string-name>Zhang, Q.</string-name>
              <string-name>He, P.</string-name>
              <string-name>Chen, W.</string-name>
              <string-name>Zhao, T.</string-name>
              <string-name>Learning, H</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Less Is More: Task-Aware Layer-Wise Distillation for Language Model Compression</article-title>
            <source>International Conference on Machine Learning</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B44">
        <label>44.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Li, G., Zheng, S., Zou, H., Yu, H. and Gao, S. (2025) Model Compression through Distillation with Cross-Layer Integrated Guidance at Word Level. <italic>Neurocomputing</italic>, 619, Article 129162. https://doi.org/10.1016/j.neucom.2024.129162 <pub-id pub-id-type="doi">10.1016/j.neucom.2024.129162</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.neucom.2024.129162">https://doi.org/10.1016/j.neucom.2024.129162</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Li, G.</string-name>
              <string-name>Zheng, S.</string-name>
              <string-name>Zou, H.</string-name>
              <string-name>Yu, H.</string-name>
              <string-name>Gao, S.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Model Compression through Distillation with Cross-Layer Integrated Guidance at Word Level</article-title>
            <source>Neurocomputing</source>
            <volume>619</volume>
            <elocation-id>129162</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.neucom.2024.129162</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B45">
        <label>45.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Jin, H., Son, S., Park, J., Kim, Y., Noh, H. and Lee, Y. (2024) Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation. <italic>Proceedings of the Language Resources and Evaluation Conference</italic>, Turin, 20-25 May 2024, 722-732. https://doi.org/10.63317/496bh35o3ybj <pub-id pub-id-type="doi">10.63317/496bh35o3ybj</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.63317/496bh35o3ybj">https://doi.org/10.63317/496bh35o3ybj</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Jin, H.</string-name>
              <string-name>Son, S.</string-name>
              <string-name>Park, J.</string-name>
              <string-name>Kim, Y.</string-name>
              <string-name>Noh, H.</string-name>
              <string-name>Lee, Y.</string-name>
              <string-name>Conference, T</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation</article-title>
            <source>Proceedings of the Language Resources and Evaluation Conference</source>
            <volume>20</volume>
            <pub-id pub-id-type="doi">10.63317/496bh35o3ybj</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B46">
        <label>46.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Kim, S. and Kim, H. (2017) Transferring Knowledge to Smaller Network with Class-distance Loss. <italic>Proceedings of the International Conference on Learning Representations Workshop</italic>, 3 p Extended Abstract.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Kim, S.</string-name>
              <string-name>Kim, H.</string-name>
            </person-group>
            <year>2017</year>
            <article-title>Transferring Knowledge to Smaller Network with Class-distance Loss</article-title>
            <source>Proceedings of the International Conference on Learning Representations Workshop</source>
            <volume>3</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>