Original: C ROSS -W INDOW S ELF -T RAINING VIA C ONTEXT V ARIATIONS FROM S PARSELY -L ABELED T IME S ERIES
Revised: C ROSS -W INDOW S ELF -T RAINING VIA C ONTEXT V ARIATIONS FROM S PARSELY -L ABELED T IME S ERIES

Original: Anonymous authors
Revised: Anonymous authors

Original: Paper under double-blind review
Revised: Paper under double-blind review

Original: A BSTRACT
Revised: A BSTRACT

Original: A real-world time series is often sparsely labeled due to the expensive annotation cost.
Revised: A real-world time series is often sparsely labeled due to the expensive annotation cost.

Original: Recently, self-training methods have been applied to a dataset with few labels to infer the labels of unlabeled augmented instances.
Revised: Recently, self-training methods have been applied to a dataset with few labels to infer the labels of unlabeled augmented instances.

Original: Accelerating this trend for time-series data, fully taking advantage of its sequential nature, we propose a novel data augmentation approach called context-additive augmentation , which allows a target instance to be augmented easily by adding preceding and succeeding instances to form an augmented instance.
Revised: Accelerating this trend for time-series data, fully taking advantage of its sequential nature, we propose a novel data augmentation approach called context-additive augmentation , which allows a target instance to be augmented easily by adding preceding and succeeding instances to form an augmented instance.

Original: Unlike the existing augmentation techniques which may alter the target instance by directly perturbing its features, it preserves a target instance as is but still gives various augmented instances with varying contexts.
Revised: Unlike the existing augmentation techniques which may alter the target instance by directly perturbing its features, it preserves a target instance as is but still gives various augmented instances with varying contexts.

Original: Additionally, we propose a cross-window self-training framework based on the context-additive augmentation.
Revised: Additionally, we propose a cross-window self-training framework based on the context-additive augmentation.

Original: The framework first augments target instances by applying context-varying windows over a given time series.
Revised: The framework first augments target instances by applying context-varying windows over a given time series.

Original: Then, the framework derives reliability-based cross-window labels and uses them to maintain consistency among augmented instances across the windows.
Revised: Then, the framework derives reliability-based cross-window labels and uses them to maintain consistency among augmented instances across the windows.

Original: Extensive experiments using real datasets show that the framework outperforms the existing state-of-the-art self-training methods.
Revised: Extensive experiments using real datasets show that the framework outperforms the existing state-of-the-art self-training methods.

Original:  I NTRODUCTION
Revised:  I NTRODUCTION

Original: A time series is a collection of consecutive data points, often annotated with temporally coherent timestamp labels R4 :  and the goal of a model is to classify every timestamp in a time series correctly.
Revised: A time series is a collection of consecutive data points, often annotated with temporally coherent timestamp labels R4 : , and this paper concerns a model aiming to classify every timestamp in a time series correctly.

Original: However, due to the length of and complexity in a time series, labeling every timestamp in the time series requires prohibitively high cost, and therefore, in reality a lot of time series are only sparsely labeled (Moltisanti et al., 2019;
Revised: However, due to the length of and complexity in a time series, labeling every timestamp in the time series requires prohibitively high cost, and therefore, in reality a lot of time series are only sparsely labeled (Moltisanti et al., 2019;

Original: Ma et al., 2020; Deldari et al., 2021; Shin et al., 2022).
Revised: Ma et al., 2020; Deldari et al., 2021; Shin et al., 2022).

Original: In this regard, self-training is used as a promising way to train a model from sparse labels, by leveraging the model’s output to infer new labels for unlabeled data points (Laine & Aila, 2017; Rizve et al., 2021).
Revised: In this regard, self-training is used as a promising way to train a model from sparse labels, by leveraging the model’s output to infer new labels for unlabeled data points (Laine & Aila, 2017; Rizve et al., 2021).

Original: Recent state-of-the-art self-training methods, mostly developed for image data, necessitate domain-specific data augmentation (Sohn et al., 2020; Zhang et al., 2021; Kim & Lee, 2022).
Revised: Recent state-of-the-art self-training methods, mostly developed for image data, necessitate domain-specific data augmentation (Sohn et al., 2020; Zhang et al., 2021; Kim & Lee, 2022).

Original: Such conventional data augmentation generates multiple different instances from a target instance R2 , R4 : (an instance for pseudo-labeling) by way of data perturbation.
Revised: Such conventional data augmentation generates multiple different instances from a target instance R2 , R4 : (i.e., an instance for pseudo-labeling) by way of data perturbation.

Original: If data instances are independent of one another as in image data, there is no other way than to perturb the target instance itself.
Revised: If data instances are independent of one another as in image data, there is no other way than to perturb the target instance itself.

Original: In contrast, using the sequential nature of time series, where data instances (segments or data points) are temporally correlated, it is feasible to generate multiple different instances from a target instance without perturbing it but by adding its surrounding sequence (i.e., context).
Revised: In contrast, using the sequential nature of time series, where data instances (segments or data points) are temporally correlated, it is feasible to generate multiple different instances from a target instance without perturbing it but by adding its surrounding sequence (i.e., context).

Original: R2 , R4 : As shown in Figure 1(a), given a target instance sampled from a time series, contexts of varying lengths are added to the preceding and succeeding positions of the target instance to generate different pairs of “augmented” instances.
Revised: R2 , R4 : As shown in Figure 1(a), given a target instance sampled from a time series, contexts of varying lengths are added to the preceding and succeeding positions of the target instance to generate different pairs of “augmented” instances.

Original: We call this type of data augmentation the context-additive augmentation .
Revised: We call this type of data augmentation the context-additive augmentation .

Original: The key property of context-additive augmentation is to achieve the effect of data augmentation without perturbing a target instance.
Revised: The key property of context-additive augmentation is to achieve the effect of data augmentation without perturbing a target instance.

Original: Being free of data perturbation brings several benefits.
Revised: Being free of data perturbation brings several benefits.

Original: First, consistency between augmented instances can be enforced more reliably because a target instance itself is exactly the same among its augmented instances.
Revised: First, consistency between augmented instances can be enforced more reliably because a target instance itself is exactly the same among its augmented instances.

Original: Second, a sufficient number of augmented instances can be easily obtained by context variations .
Revised: Second, a sufficient number of augmented instances can be easily obtained by context variations .

Original: Third, it is computationally inexpensive, only requiring the retrieval of a sub-sequence from a time series.
Revised: Third, it is computationally inexpensive, only requiring the retrieval of a sub-sequence from a time series.

Original: Moreover, context-additive augmentation can be used together with conventional data augmentation such as jittering and scaling.
Revised: Moreover, context-additive augmentation can be used together with conventional data augmentation such as jittering and scaling.

Original: Thus,
Revised: Thus,

Original: Target instance 𝑋 left 𝑋right
Revised: Target instance 𝑋 left 𝑋right

Original: Cross-window soft labels ഥ𝒀 𝑙
Revised: Cross-window soft labels ഥ𝒀 𝑙

Original: 𝑢 𝑓 𝜃 𝑋 left ,𝑓 𝜃 𝑋 right , ത𝑌
Revised: 𝑢 𝑓 𝜃 𝑋 left ,𝑓 𝜃 𝑋 right , ത𝑌

Original: Context
Revised: Context

Original: Target Target
Revised: Target Target

Original: Context
Revised: Context

Original: A sparsely labeled time series
Revised: A sparsely labeled time series

Original: Context-additive Augmentation
Revised: Context-additive Augmentation

Original: A true label
Revised: A true label

Original: Add
Revised: Add

Original: Pairs of augmented instances
Revised: Pairs of augmented instances

Original: Replicate
Revised: Replicate

Original: Sampling window …
Revised: Sampling window …

Original: Context Context
Revised: Context Context

Original: Add
Revised: Add

Original: Varying contexts
Revised: Varying contexts

Original: Timestamps
Revised: Timestamps

Original: Softmax probabilities
Revised: Softmax probabilities

Original: Timestamps + 𝑓 𝜃 𝑋 left 𝑓 𝜃 𝑋 right
Revised: Timestamps + 𝑓 𝜃 𝑋 left 𝑓 𝜃 𝑋 right

Original: True labels 𝑌 𝑙 𝑓 𝜃 𝑋 left ,𝑓 𝜃 𝑋 right ,𝑌
Revised: True labels 𝑌 𝑙 𝑓 𝜃 𝑋 left ,𝑓 𝜃 𝑋 right ,𝑌

Original: Model
Revised: Model

Original: 𝑓 𝜃
Revised: 𝑓 𝜃

Original: Reliability-Weighted Mixing
Revised: Reliability-Weighted Mixing

Original: M od e l upd a t e
Revised: M od e l upd a t e

Original: A pair of augmented instances
Revised: A pair of augmented instances

Original: Model
Revised: Model

Original: 𝑓 𝜃
Revised: 𝑓 𝜃

Original: Shared
Revised: Shared

Original: [Figure] [Figure]
Revised: [Figure] [Figure]

Original: the novel concept of context-additive augmentation opens a new direction of data augmentation for sequential data, i.e., time series.
Revised: the novel concept of context-additive augmentation opens a new direction of data augmentation for sequential data, i.e., time series.

Original: Despite its time-series-savvy concept and big benefits, applying context-additive augmentation for self-training is challenging.
Revised: Despite its time-series-savvy concept and big benefits, applying context-additive augmentation for self-training is challenging.

Original: First, it requires determining the proper number and range of context variations based on the trade-off between the expected performance improvement and training cost.
Revised: First, it requires determining the proper number and range of context variations based on the trade-off between the expected performance improvement and training cost.

Original: Note that varying the context length in augmented instances incurs different complexity for a downstream task; intuitively, compared with the conventional data augmentation, a short context gives weak augmentation and a long context gives strong augmentation R4 : considering the intensity of perturbation.
Revised: Note that varying the context length in augmented instances incurs different complexity for a downstream task; intuitively, compared with the conventional data augmentation, a short context gives weak augmentation and a long context gives strong augmentation R4 : considering the intensity of perturbation.

Original: Second, a new consistency regularization method is needed to fully take advantage of the benefit of context-additive augmentation, which does not perturb a target instance unlike the conventional data augmentation.
Revised: Second, a new consistency regularization method is needed to fully take advantage of the benefit of context-additive augmentation, which does not perturb a target instance unlike the conventional data augmentation.

Original: In order to address the aforementioned challenges, we propose a novel self-training approach, called
Revised: In order to address the aforementioned challenges, we propose a novel self-training approach, called

Original: CrossMatch , for time series.
Revised: CrossMatch , for time series.

Original: In existing self-training methods such as MixMatch (Berthelot et al., 2019) and FixMatch (Sohn et al., 2020), an artificial label is created as a form of a hard label; because the model’s outputs for augmented instances could be biased by the perturbation of the target instance, the most confident label is chosen by averaging and sharpening in MixMatch and weak augmentation and thresholding in FixMatch.
Revised: In existing self-training methods such as MixMatch (Berthelot et al., 2019) and FixMatch (Sohn et al., 2020), an artificial label is created as a form of a hard label; because the model’s outputs for augmented instances could be biased by the perturbation of the target instance, the most confident label is chosen by averaging and sharpening in MixMatch and weak augmentation and thresholding in FixMatch.

Original: In CrossMatch, on the other hand, due to its target-preserving property, the model’s outputs with the contexts of the same length are considered equally meaningful, and therefore, the model’s output from an augmented instance (i.e., window) is crossed to other augmented instances in the form of a soft label.
Revised: In CrossMatch, on the other hand, due to its target-preserving property, the model’s outputs with the contexts of the same length are considered equally meaningful, and therefore, the model’s output from an augmented instance (i.e., window) is crossed to other augmented instances in the form of a soft label.

Original: R2 :
Revised: R2 :

Original: As shown in Figure 1(b), a pair of augmented instances generated from a target instance is fed to a model to get the two softmax outputs of the target instance.
Revised: As shown in Figure 1(b), a pair of augmented instances generated from a target instance is fed to a model to get the two softmax outputs of the target instance.

Original: Then, a single set of cross-window soft labels is derived and enforced to each output for consistency regularization.
Revised: Then, a single set of cross-window soft labels is derived and enforced to each output for consistency regularization.

Original: The same procedure repeats using diverse pairs of augmented instances.
Revised: The same procedure repeats using diverse pairs of augmented instances.

Original: In summary, for time-series self-training, CrossMatch conducts context-additive augmentation with varying contexts and consistency regularization among augmented instances using cross-window soft labels.
Revised: In summary, for time-series self-training, CrossMatch conducts context-additive augmentation with varying contexts and consistency regularization among augmented instances using cross-window soft labels.

Original: Especially for the first aforementioned challenge, we empirically analyze the impact of context variations on classification accuracy in Section 4.2.
Revised: Especially for the first aforementioned challenge, we empirically analyze the impact of context variations on classification accuracy in Section 4.2.

Original: Through extensive evaluation using three sparsely-labeled time-series datasets, despite its simplicity CrossMatch is shown to achieve higher classification accuracy than the existing state-of-the-art methods, significantly outperforming the FixMatch style methods with jittering and scaling up to 23 p%.
Revised: Through extensive evaluation using three sparsely-labeled time-series datasets, despite its simplicity CrossMatch is shown to achieve higher classification accuracy than the existing state-of-the-art methods, significantly outperforming the FixMatch style methods with jittering and scaling up to 23 p%.

Original:  R ELATED W ORK 2. D ATA A UGMENTATION
Revised:  R ELATED W ORK 2. D ATA A UGMENTATION

Original: Data augmentation perturbs given data instances to generate diverse and sufficient data instances to prevent overfitting (Shorten & Khoshgoftaar, 2019).
Revised: Data augmentation perturbs given data instances to generate diverse and sufficient data instances to prevent overfitting (Shorten & Khoshgoftaar, 2019).

Original: The techniques used in data augmentation usually manipulate features and can be classified into two categories: (1) inner-augmentation that changes the features within a data instance and (2) inter-augmentation that exploits features across multiple data instances.
Revised: The techniques used in data augmentation usually manipulate features and can be classified into two categories: (1) inner-augmentation that changes the features within a data instance and (2) inter-augmentation that exploits features across multiple data instances.

Original: Rotation, flipping, scaling, cutout, and random erasing are the examples of inner-augmentation (DeVries & Taylor, 2017; Cubuk et al., 2019).
Revised: Rotation, flipping, scaling, cutout, and random erasing are the examples of inner-augmentation (DeVries & Taylor, 2017; Cubuk et al., 2019).

Original: Mix-up, cut-mix, and copy-paste are the representatives of inter-augmentation that mixes two full or partial images (Zhang et al., 2018;
Revised: Mix-up, cut-mix, and copy-paste are the representatives of inter-augmentation that mixes two full or partial images (Zhang et al., 2018;

Original: Yun et al., 2019; Ghiasi et al., 2021).
Revised: Yun et al., 2019; Ghiasi et al., 2021).

Original: However, these studies have not considered context-additive augmentation because they deal with independent data instances such as images.
Revised: However, these studies have not considered context-additive augmentation because they deal with independent data instances such as images.

Original: Time-series augmentation techniques have been devised in recent literature (Wen et al., 2021).
Revised: Time-series augmentation techniques have been devised in recent literature (Wen et al., 2021).

Original: They include jittering, scaling, window warping, window cropping, and the Fourier transform specialized in the time and frequency domains, and belong to the inner-augmentation category (Um et al., 2017; Eldele et al., 2021;
Revised: They include jittering, scaling, window warping, window cropping, and the Fourier transform specialized in the time and frequency domains, and belong to the inner-augmentation category (Um et al., 2017; Eldele et al., 2021;

Original: Yue et al., 2022; Chen et al., 2022).
Revised: Yue et al., 2022; Chen et al., 2022).

Original: The inter-augmentation category is considered to be ineffective because temporal patterns could be lost after mixing two time-series segments (Iwana & Uchida, 2021).
Revised: The inter-augmentation category is considered to be ineffective because temporal patterns could be lost after mixing two time-series segments (Iwana & Uchida, 2021).

Original: These studies also consider a set of already segmented time series as candidate augmentation targets and assume that the instances in each segment have the same labels.
Revised: These studies also consider a set of already segmented time series as candidate augmentation targets and assume that the instances in each segment have the same labels.

Original: Thus, they are not directly applicable to a single continuous time series with sparse labels, which is a more practical and challenging setting.
Revised: Thus, they are not directly applicable to a single continuous time series with sparse labels, which is a more practical and challenging setting.

Original: Moreover, all of them perturb the target instances, following the common trend of existing data augmentation.
Revised: Moreover, all of them perturb the target instances, following the common trend of existing data augmentation.

Original: 2. S EMI -S UPERVISED L EARNING B ASED ON A UGMENTATIONS
Revised: 2. S EMI -S UPERVISED L EARNING B ASED ON A UGMENTATIONS

Original: Semi-supervised learning (SSL) trains a model with both labeled and unlabeled data instances (Van Engelen & Hoos, 2020).
Revised: Semi-supervised learning (SSL) trains a model with both labeled and unlabeled data instances (Van Engelen & Hoos, 2020).

Original: Unlabeled data instances are harnessed by two popular approaches: (1) self-supervised learning which is mostly based on contrastive learning or pretext tasks (Chen et al., 2020;
Revised: Unlabeled data instances are harnessed by two popular approaches: (1) self-supervised learning which is mostly based on contrastive learning or pretext tasks (Chen et al., 2020;

Original: Grill et al., 2020; Singh et al., 2021) and (2) self-training which produces artificial pseudo-labels for unlabeled data instances from model predictions (Lee, 2013; Chen et al., 2018b;a;
Revised: Grill et al., 2020; Singh et al., 2021) and (2) self-training which produces artificial pseudo-labels for unlabeled data instances from model predictions (Lee, 2013; Chen et al., 2018b;a;

Original: Xie et al., 2020; Pham et al., 2021).
Revised: Xie et al., 2020; Pham et al., 2021).

Original: We focus on self-training owing to its simplicity and effectiveness demonstrated in recent studies (Yang et al., 2021).
Revised: We focus on self-training owing to its simplicity and effectiveness demonstrated in recent studies (Yang et al., 2021).

Original: State-of-the-art self-training methods force consistency in model predictions from multiple augmentations of a data instance.
Revised: State-of-the-art self-training methods force consistency in model predictions from multiple augmentations of a data instance.

Original: MixMatch (Berthelot et al., 2019) averages out the predictions from multiple augmentations and sharpens the averaged prediction to reduce the entropy in the pseudo-label.
Revised: MixMatch (Berthelot et al., 2019) averages out the predictions from multiple augmentations and sharpens the averaged prediction to reduce the entropy in the pseudo-label.

Original: ReMixMatch (Berthelot et al., 2020) generates a sharpened pseudo-label from a weak augmentation and matches it against the predictions from multiple strong augmentations.
Revised: ReMixMatch (Berthelot et al., 2020) generates a sharpened pseudo-label from a weak augmentation and matches it against the predictions from multiple strong augmentations.

Original: FixMatch (Sohn et al., 2020) generates a one-hot pseudo-label by choosing a single class above a fixed confidence threshold.
Revised: FixMatch (Sohn et al., 2020) generates a one-hot pseudo-label by choosing a single class above a fixed confidence threshold.

Original: FlexMatch (Zhang et al., 2021) is a variation of FixMatch, which uses a dynamic confidence threshold to adapt to different learning speeds among different classes.
Revised: FlexMatch (Zhang et al., 2021) is a variation of FixMatch, which uses a dynamic confidence threshold to adapt to different learning speeds among different classes.

Original: Propagation regularizer (Kim & Lee, 2022) also reduces confidence in incorrect predictions to make FixMatch robust to a more sparse label setting.
Revised: Propagation regularizer (Kim & Lee, 2022) also reduces confidence in incorrect predictions to make FixMatch robust to a more sparse label setting.

Original: However, all these methods heavily rely on domain-specific augmentation and lack for consideration of time series.
Revised: However, all these methods heavily rely on domain-specific augmentation and lack for consideration of time series.

Original: There are several time-series semi-supervised learning methods in the literature, but most of them are based on self-supervised learning.
Revised: There are several time-series semi-supervised learning methods in the literature, but most of them are based on self-supervised learning.

Original: In their settings, a model is first pre-trained with time-series selfsupervision and then fine-tuned with initial labels.
Revised: In their settings, a model is first pre-trained with time-series selfsupervision and then fine-tuned with initial labels.

Original: The examples of time-series self-supervisions are (1) pretext tasks such as forecasting and temporal relation prediction (Jawed et al., 2020; Fan et al., 2021), (2) contrastive learning with the aforementioned time-series augmentation techniques (Singh et al., 2021; Xiao et al., 2022), and (3) clustering results (Singhania et al., 2022).
Revised: The examples of time-series self-supervisions are (1) pretext tasks such as forecasting and temporal relation prediction (Jawed et al., 2020; Fan et al., 2021), (2) contrastive learning with the aforementioned time-series augmentation techniques (Singh et al., 2021; Xiao et al., 2022), and (3) clustering results (Singhania et al., 2022).

Original: These methods target an already-segmented time series, which cannot deal with continuous time series with sparse labels (
Revised: These methods target an already-segmented time series, which cannot deal with continuous time series with sparse labels (

Original: [Table]
Revised: [Table]

Original: [Table]
Revised: [Table]

Original:  C ROSS M ATCH : C ROSS - WINDOW T IME - SERIES S ELF - TRAINING 3. P RELIMINARIES AND P ROBLEM S ETTING
Revised:  C ROSS M ATCH : C ROSS - WINDOW T IME - SERIES S ELF - TRAINING 3. P RELIMINARIES AND P ROBLEM S ETTING

Original: Table 1 summarizes basic notations used in this paper.
Revised: Table 1 summarizes basic notations used in this paper.

Original: Dataset and Model: Let D = X
Revised: Dataset and Model: Let D = X

Original: ×Y
Revised: ×Y

Original: =
Revised: =

Original: ( x t , y t ) | t ∈ T } be a time series, where T is an index set of timestamps, x
Revised: ( x t , y t ) | t ∈ T } be a time series, where T is an index set of timestamps, x

Original: t ∈ R
Revised: t ∈ R

Original: d is a d -dimensional data point at timestamp t , and y t is a corresponding class label if x t is labeled or null otherwise.
Revised: d is a d -dimensional data point at timestamp t , and y t is a corresponding class label if x t is labeled or null otherwise.

Original: Let T L be the index set of labeled timestamps and T U be the index set of unlabeled timestamps, where T L ∪T U
Revised: Let T L be the index set of labeled timestamps and T U be the index set of unlabeled timestamps, where T L ∪T U

Original: = T and |T L |≪|T U | .
Revised: = T and |T L |≪|T U | .

Original: Here, T L is sparse, that is, its members are few and scattered.
Revised: Here, T L is sparse, that is, its members are few and scattered.

Original: In this work, multiple consecutive timestamps, referred to as a segment instance , is usually processed in a batch.
Revised: In this work, multiple consecutive timestamps, referred to as a segment instance , is usually processed in a batch.

Original: An instance X =
Revised: An instance X =

Original: { x t | t ∈ [ m − w : m + w ) } is a set of consecutive 2 w data points (timestamps) with d features sliced from D , where [ m − w : m + w ) represents an integer interval from m − w through m + w − 1 .
Revised: { x t | t ∈ [ m − w : m + w ) } is a set of consecutive 2 w data points (timestamps) with d features sliced from D , where [ m − w : m + w ) represents an integer interval from m − w through m + w − 1 .

Original: Likewise, Y = { y t | t ∈ [ m − w : m + w ) } is a set of the corresponding class labels sliced from D , where y t ∈{ 1 , . .
Revised: Likewise, Y = { y t | t ∈ [ m − w : m + w ) } is a set of the corresponding class labels sliced from D , where y t ∈{ 1 , . .

Original: , K } and K is the number of classes.
Revised: , K } and K is the number of classes.

Original: A model f θ predicts the sequential softmax probabilities of X , i.e., f θ ( X ) ∈ [0 , 1] 2 w × K .
Revised: A model f θ predicts the sequential softmax probabilities of X , i.e., f θ ( X ) ∈ [0 , 1] 2 w × K .

Original: The classification loss for training the model given X and Y is formulated as
Revised: The classification loss for training the model given X and Y is formulated as

Original: [Equation]
Revised: [Equation]

Original: where H ( · , · ) is sparse categorical cross-entropy and · t, : means indexing at timestamp t .
Revised: where H ( · , · ) is sparse categorical cross-entropy and · t, : means indexing at timestamp t .

Original: [Table]
Revised: [Table]

Original: Pseudo-labeling: For each instance X , using the maximum softmax probabilities conditioned on a confidence threshold τ , a pseudo-label ˆ y t at each timestamp t ∈ [ m − w : m + w ) is derived by
Revised: Pseudo-labeling: For each instance X , using the maximum softmax probabilities conditioned on a confidence threshold τ , a pseudo-label ˆ y t at each timestamp t ∈ [ m − w : m + w ) is derived by

Original: [Equation]
Revised: [Equation]

Original: if f
Revised: if f

Original: [Equation]
Revised: [Equation]

Original: X
Revised: X

Original: [Equation]
Revised: [Equation]

Original: ,k
Revised: ,k

Original: [Equation]
Revised: [Equation]

Original: τ null otherwise .
Revised: τ null otherwise .

Original: [Equation]
Revised: [Equation]

Original: A
Revised: A

Original: [Equation]
Revised: [Equation]

Original: y t | t ∈ [ m − w : m + w ) } of the pseudo-labels for
Revised: y t | t ∈ [ m − w : m + w ) } of the pseudo-labels for

Original: X is constructed by Equation (2).
Revised: X is constructed by Equation (2).

Original: Then, the classification loss for an instance X and its set ˆ Y of the pseudo-labels obtained is formulated as ℓ ( X, ˆ Y ) with Equation (1).
Revised: Then, the classification loss for an instance X and its set ˆ Y of the pseudo-labels obtained is formulated as ℓ ( X, ˆ Y ) with Equation (1).

Original: R2 , R4 : Note that we do not store obtained pseudo-labels but dump them after the model update from ℓ ( X, ˆ Y ) whenever we sample a segment instance for pseudo-labeling.
Revised: R2 , R4 : Note that we do not store obtained pseudo-labels but discard them after the model update from ℓ ( X, ˆ Y ) whenever we sample a segment instance for pseudo-labeling.

Original: R2 , R4 : Consistency regularization: Recent self-training methods force consistency between the model outputs of augmentations as class information is preserved across augmentations.
Revised: R2 , R4 : Consistency regularization: Recent self-training methods force consistency between the model outputs of augmentations as class information is preserved across augmentations.

Original: For example, FixMatch matches pseudo-labels from a weak augmentation against predictions from a strong augmentation (Sohn et al., 2020).
Revised: For example, FixMatch matches pseudo-labels from a weak augmentation against predictions from a strong augmentation (Sohn et al., 2020).

Original: That is, ℓ ( X, 
Revised: That is, ℓ ( X, ˆ Y

Original: [Equation]
Revised: [Equation]

Original: where ˆ y t =arg max k f θ ( α ( X )) t,k , and α and A represent weak and strong augmentations.
Revised: where ˆ y t =arg max k f θ ( α ( X )) t,k , and α and A represent weak and strong augmentations.

Original: R2 , R4 :
Revised: R2 , R4 :

Original: The goal of consistency regularization is to offer informative supervision to update the model by diverse augmentations and reliable pseudo-labeling method.
Revised: The goal of consistency regularization is to offer informative supervision to update the model by diverse augmentations and reliable pseudo-labeling method.

Original: In the example of FixMatch, pseudolabels from a weak augmentation are reliable due to small data perturbation and augmentations become diverse due to strong perturbation.
Revised: In the example of FixMatch, pseudolabels from a weak augmentation are reliable due to small data perturbation and augmentations become diverse due to strong perturbation.

Original: 3. C ONTEXT -A DDITIVE A UGMENTATION

Original: [Figure]
Revised: [Figure]

Original: Given a target instance ˙
Revised: Given a target instance ˙

Original: X
Revised: X

Original: = { x t | t ∈ [ m − o : m + o ) } , we add a context of total length c to its surroundings to generate an augmented instance
Revised: = { x t | t ∈ [ m − o : m + o ) } , we add a context of total length c to its surroundings to generate an augmented instance

Original: X ′ =
Revised: X ′ =

Original: { x t | t ∈ [ m − o − c l : m + o + c r ) } .
Revised: { x t | t ∈ [ m − o − c l : m + o + c r ) } .

Original: There are numerous design choices for generating X ′ where the context lengths c l and c r control the degree of perturbation and the allocation of a context around ˙
Revised: There are numerous design choices for generating X ′ where the context lengths c l and c r control the degree of perturbation and the allocation of a context around ˙

Original: X determines the multiplicity of augmentation.
Revised: X determines the multiplicity of augmentation.

Original: Increasing the multiplicity between augmented instances helps derive more informative pseudo-labels, but this high multiplicity also increases the redundancy between similar augmented instances and causes inefficient computations.
Revised: Increasing the multiplicity between augmented instances helps derive more informative pseudo-labels, but this high multiplicity also increases the redundancy between similar augmented instances and causes inefficient computations.

Original: In this work, we follow a simple heuristic for the allocation of the context R1 , R2 , R4 : for effective consistency reguluarization.
Revised: In this work, we follow a simple heuristic for the allocation of the context R1 , R2 , R4 : for effective consistency reguluarization.

Original: A context of a given length c is added on the left and right sides of the target instance, and thus two augmented instances, X left = { x t | t ∈ [ m − o − c : m + o ) } and X right = { x t | t ∈ [ m − o : m + o + c ) } , are generated as shown in Figure 2.
Revised: A context of a given length c is added on the left and right sides of the target instance, and thus two augmented instances, X left = { x t | t ∈ [ m − o − c : m + o ) } and X right = { x t | t ∈ [ m − o : m + o + c ) } , are generated as shown in Figure 2.

Original: R1 , R2 , R3 , R4 :
Revised: R1 , R2 , R3 , R4 :

Original: The underlying reason is that forcing consistency between the model outputs from the augmented instances with more difference gives more strong supervision to the model (Wang et al., 2022).
Revised: The underlying reason is that forcing consistency between the model outputs from the augmented instances with more difference gives more strong supervision to the model (Wang et al., 2022).

Original: This heuristic is practical and reasonable, as it not only maximizes the difference between the two augmented instances but also increases efficiency in further model inference due to small number of augmented instances.
Revised: This heuristic is practical and reasonable, as it not only maximizes the difference between the two augmented instances but also increases efficiency in further model inference due to small number of augmented instances.

Original: Each augmented instance is fed to a model, and pseudo-labels are generated only from the target instance (i.e., the overlap between the two augmented instances) by Equation (2).
Revised: Each augmented instance is fed to a model, and pseudo-labels are generated only from the target instance (i.e., the overlap between the two augmented instances) by Equation (2).

Original: As a result, two pseudo-label sets ˆ Y left and ˆ Y right for the left and and right augmented instances, respectively, are obtained.
Revised: As a result, two pseudo-label sets ˆ Y left and ˆ Y right for the left and and right augmented instances, respectively, are obtained.

Original: The value of o , which is half of the length of a target instance, needs to be carefully chosen for each data set.
Revised: The value of o , which is half of the length of a target instance, needs to be carefully chosen for each data set.

Original: Too large o may include semantically irrelevant data points, while too small o may not give enough temporal information for prediction.
Revised: Too large o may include semantically irrelevant data points, while too small o may not give enough temporal information for prediction.

Original: Either way leads to incorrect pseudo-labels and ultimately degrades the performance.
Revised: Either way leads to incorrect pseudo-labels and ultimately degrades the performance.

Original: Thus, we set 2 o , the length of a target instance, as a value lower than the mean length of a label-coherent segment, which could be known in advance or estimated by a given set T L of labeled timestamps.
Revised: Thus, we set 2 o , the length of a target instance, as a value lower than the mean length of a label-coherent segment, which could be known in advance or estimated by a given set T L of labeled timestamps.

Original: More important factor is the length of context c , which directly affect the information quality of consistency regularization.
Revised: More important factor is the length of context c , which directly affect the information quality of consistency regularization.

Original: If c is too short, then two augmented instances become too similar so that the model barely changes after matching the outputs of augmented instances (Wang et al., 2022).
Revised: If c is too short, then two augmented instances become too similar so that the model barely changes after matching the outputs of augmented instances (Wang et al., 2022).

Original: On the other hand, if c is too long, the outputs diverge so that the matching would weld the representation of instances from different class.
Revised: On the other hand, if c is too long, the outputs diverge so that the matching would weld the representation of instances from different class.

Original: We empirically study this trade-off in Section 4.4.
Revised: We empirically study this trade-off in Section 4.4.

Original: To prevent the potential divergence in self-training, we devise reliability-weighted mixing of pseudo-labels generated from two augmented instances.
Revised: To prevent the potential divergence in self-training, we devise reliability-weighted mixing of pseudo-labels generated from two augmented instances.

Original: 3. R ELIABILITY -W EIGHTED M IXING
Revised: 3. R ELIABILITY -W EIGHTED M IXING

Original: [Figure]
Revised: [Figure]

Original: Though all pseudo-labels generated for a target instance satisfy the confidence threshold in Equation (2), we treat them differently based on the reliability of a pseudo-label.
Revised: Though all pseudo-labels generated for a target instance satisfy the confidence threshold in Equation (2), we treat them differently based on the reliability of a pseudo-label.

Original: Our rationale is that the pseudo-label becomes more reliable if (1) the model f θ receives a larger number of data points on the left and right sides of the pseudo-label and (2) the number of data points is balanced between the two sides so that the prediction is not biased to the preceding or succeeding interval.
Revised: Our rationale is that the pseudo-label becomes more reliable if (1) the model f θ receives a larger number of data points on the left and right sides of the pseudo-label and (2) the number of data points is balanced between the two sides so that the prediction is not biased to the preceding or succeeding interval.

Original: We design a reliability function that follows our rationale and compute reliability of each pseudo-label.
Revised: We design a reliability function that follows our rationale and compute reliability of each pseudo-label.

Original: Using the reliability as a weight, we mix the pseudo-labels into a single cross-window label , which will be matched against two softmax probabilities from both of augmentations.
Revised: Using the reliability as a weight, we mix the pseudo-labels into a single cross-window label , which will be matched against two softmax probabilities from both of augmentations.

Original: Let’s consider two pseudo-labels ˆ y left t and ˆ y right t generated from f θ ( X left ) t and f θ ( X right ) t shown in
Revised: Let’s consider two pseudo-labels ˆ y left t and ˆ y right t generated from f θ ( X left ) t and f θ ( X right ) t shown in

Original: Figure 3.
Revised: Figure 3.

Original: For each timestamp t ∈ [ m − o : m + o ) of a target instance, the length n loc, + t of the left side and the length n loc, − t of the right side along each augmented instance are easily calculated by n loc, + t
Revised: For each timestamp t ∈ [ m − o : m + o ) of a target instance, the length n loc, + t of the left side and the length n loc, − t of the right side along each augmented instance are easily calculated by n loc, + t

Original: [Equation]
Revised: [Equation]

Original: and n
Revised: and n

Original: [Equation]
Revised: [Equation]

Original: where loc indicates the location of context addition—either left or right.
Revised: where loc indicates the location of context addition—either left or right.

Original: 𝑝   𝑟(𝑝)
Revised: 𝑝   𝑟(𝑝)

Original: Per our design rationale, the reliability score becomes higher as n loc, + t and n loc, − t are larger and n loc, + t and n loc, − t are more similar with each other.
Revised: Per our design rationale, the reliability score becomes higher as n loc, + t and n loc, − t are larger and n loc, + t and n loc, − t are more similar with each other.

Original: This requirement can be achieved by exploiting a bell-shaped function,
Revised: This requirement can be achieved by exploiting a bell-shaped function,

Original: [Equation] [Equation]
Revised: [Equation] [Equation]

Original: where 0 ≤ p ≤ 1 .
Revised: where 0 ≤ p ≤ 1 .

Original: Here, p is a normalization of n loc, + t with respect to the full length of an augmented instance, i.e., p loc ( t ) = n loc, + / (2 o + c ) .
Revised: Here, p is a normalization of n loc, + t with respect to the full length of an augmented instance, i.e., p loc ( t ) = n loc, + / (2 o + c ) .

Original: That is, using Equation (4), we obtain two reliability scores r ( p left ( t )) and r ( p right ( t )) for each pseudo-label from the two augmented instances
Revised: That is, using Equation (4), we obtain two reliability scores r ( p left ( t )) and r ( p right ( t )) for each pseudo-label from the two augmented instances

Original: X left and X right .
Revised: X left and X right .

Original: Due to the bell shape in Figure 4, a timestamp with a sufficiently long side length on both sides has an adequately high reliability in an augmented instance.
Revised: Due to the bell shape in Figure 4, a timestamp with a sufficiently long side length on both sides has an adequately high reliability in an augmented instance.

Original: If a side length on either side is too long (i.e., biased to one side), then the side length on the other side is too short and consequently the reliability score is too low.
Revised: If a side length on either side is too long (i.e., biased to one side), then the side length on the other side is too short and consequently the reliability score is too low.

Original: The reliability score is maximized at the center of a given augmented instance.
Revised: The reliability score is maximized at the center of a given augmented instance.

Original: Last, in order to treat each pseudo-label differently based on the reliability scores on the two sides, r ( p left ( t )) and r ( p right ( t )) , the weight of each pseudo-label is assigned as w loct =
Revised: Last, in order to treat each pseudo-label differently based on the reliability scores on the two sides, r ( p left ( t )) and r ( p right ( t )) , the weight of each pseudo-label is assigned as w loct =

Original: r ( p loc ( t )) /
Revised: r ( p loc ( t )) /

Original: ( r ( p left ( t ))
Revised: ( r ( p left ( t ))

Original: + r ( p right ( t ))) by normalizing the two reliability scores.
Revised: + r ( p right ( t ))) by normalizing the two reliability scores.

Original: The final crosswindow soft label for the target instances in the left and right instances is
Revised: The final crosswindow soft label for the target instances in the left and right instances is

Original: [Equation]
Revised: [Equation]

Original: where the function N normalizes the input to make the sum of the softmax probabilities as 1 and the onehot function converts a scalar to one-hot encoded vector.
Revised: where the function N normalizes the input to make the sum of the softmax probabilities as 1 and the onehot function converts a scalar to one-hot encoded vector.

Original: In other words, reliability-weighted mixing generates a soft label by adding and normalizing the two pseudo-labels.
Revised: In other words, reliability-weighted mixing generates a soft label by adding and normalizing the two pseudo-labels.

Original: Using the crosswindow label set and two target instance outputs, we compute classification loss as follows:
Revised: Using the crosswindow label set and two target instance outputs, we compute classification loss as follows:

Original: [Equation]
Revised: [Equation]

Original: where h is soft cross-entropy and ¯ Y
Revised: where h is soft cross-entropy and ¯ Y

Original: = { ¯ y t | t ∈ [ m − o : m + o ) } .
Revised: = { ¯ y t | t ∈ [ m − o : m + o ) } .

Original: By matching a single cross-window soft label to both augmented instances, we can reduce the variance of the label to be predicted.
Revised: By matching a single cross-window soft label to both augmented instances, we can reduce the variance of the label to be predicted.

Original: In addition, self-traning with soft labeling is more effective than with hard labeling since soft labeling can be robust to erroneous pseudo-labels when at least one pseudo-label is correct (M ¨ uller et al., 2019).
Revised: In addition, self-traning with soft labeling is more effective than with hard labeling since soft labeling can be robust to erroneous pseudo-labels when at least one pseudo-label is correct (M ¨ uller et al., 2019).

Original: 3. O VERALL S
Revised: 3. O VERALL S

Original: [Table]
Revised: [Table]

Original: R1 , R2 , R3 , R4 :
Revised: R1 , R2 , R3 , R4 :

Original: Figure 1 summarizes the overall procedure of CrossMatch using context-additive augmentation and reliability-weighted mixing.
Revised: Figure 1 summarizes the overall procedure of CrossMatch using context-additive augmentation and reliability-weighted mixing.

Original: Given a time series, CrossMatch first takes a target instance sampled from the time series as an input and generates a pair of augmented instances with context-additive augmentation (see Figure 1(a)).
Revised: Given a time series, CrossMatch first takes a target instance sampled from the time series as an input and generates a pair of augmented instances with context-additive augmentation (see Figure 1(a)).

Original: Then, a model f θ infers the pair of augmented instances X left and X right to produce two independent softmax probabilities.
Revised: Then, a model f θ infers the pair of augmented instances X left and X right to produce two independent softmax probabilities.

Original: The pseudo-labels respectively generated from the two softmax probabilities are averaged ( (cid:76) ) to get cross-window soft labels ¯ Y with reliability-weighted mixing.
Revised: The pseudo-labels respectively generated from the two softmax probabilities are averaged ( (cid:76) ) to give cross-window soft labels ¯ Y with reliability-weighted mixing.

Original: Finally, the cross-entropy losses are computed from the cross-window soft labels ¯ Y as well as the true labels Y and used to update the model
Revised: Finally, the cross-entropy losses are computed from the cross-window soft labels ¯ Y as well as the true labels Y and used to update the model

Original: f θ (see Figure 1(b)).
Revised: f θ (see Figure 1(b)).

Original: These steps are repeated with a randomly sampled target instance for I iterations.
Revised: These steps are repeated with a randomly sampled target instance for I iterations.

Original: CrossMatch in Appendix A details each step.
Revised: CrossMatch in Appendix A details each step.

Original:  E VALUATION 4. E XPERIMENT S ETTING
Revised:  E VALUATION 4. E XPERIMENT S ETTING

Original: [Table]
Revised: [Table]

Original: Datasets: We use three widely-used benchmark datasets summarized in Table 2.
Revised: Datasets: We use three widely-used benchmark datasets summarized in Table 2.

Original: mHealth is an action recognition dataset recorded with wearable sensors, such as 3D accelerometers, 3D gyroscopes, 3D magnetometers, and electrodes, whose sampling frequency is 50Hz (Banos et al., 2014).
Revised: mHealth is an action recognition dataset recorded with wearable sensors, such as 3D accelerometers, 3D gyroscopes, 3D magnetometers, and electrodes, whose sampling frequency is 50Hz (Banos et al., 2014).

Original: HAPT is also a sensor time-series dataset tracking human movements in a laboratory sampled with the frequency of 50Hz (Anguita et al., 2013).
Revised: HAPT is also a sensor time-series dataset tracking human movements in a laboratory sampled with the frequency of 50Hz (Anguita et al., 2013).

Original: Opportunity is a collection of sensor recordings at 100Hz capturing daily natural human activities with wearable, object, and ambient sensors (Roggen et al., 2010).
Revised: Opportunity is a collection of sensor recordings at 100Hz capturing daily natural human activities with wearable, object, and ambient sensors (Roggen et al., 2010).

Original: R2 , R4 :
Revised: R2 , R4 :

Original: For each fully-labeled dataset, we randomly sample the equal number of timestamps for each class and drop the labels at the rest of  timestamps to generate sparsely-labeled time series.
Revised: For each fully-labeled dataset, we randomly sample the same number of timestamps for each class and drop the labels from the rest of the timestamps to generate sparsely-labeled time series.

Original: The sampled timestamps becomes a labeled timestamp set T L given the  ratio of labeled timestamps z = |T
Revised: The sampled timestamps become a labeled timestamp set T L for the given ratio of labeled timestamps z = |T

Original: L | / |T | .
Revised: L | / |T | .

Original: Table 2 summarizes the statistics of used datasets including our data specific parameters: the half length of a target instance o , the context length c , the default ratio of labeled timestamps z , and the maximum number of iterations I .
Revised: Table 2 summarizes the statistics of used datasets including our data specific parameters: the half length of a target instance o , the context length c , the default ratio of labeled timestamps z , and the maximum number of iterations I .

Original: Implementation Details: We use a popular multi-stage temporal convolutional network named
Revised: Implementation Details: We use a popular multi-stage temporal convolutional network named

Original: MS-TCN (Farha & Gall, 2019), which is applicable to our problem setting as it gives softmax prob-
Revised: MS-TCN (Farha & Gall, 2019), which is applicable to our problem setting as it gives softmax prob-

Original: [Table]
Revised: [Table]

Original: abilities for each timestamp in an input instance X .
Revised: abilities for each timestamp in an input instance X .

Original: We follow the same hyperparameter and configuration in the original MS-TCN, except the learning rate and an optimizer adjusted for a self-training environment with sparse labels.
Revised: We follow the same hyperparameter and configuration in the original MS-TCN, except the learning rate and an optimizer adjusted for a self-training environment with sparse labels.

Original: Please refer to Appendix B for more details.
Revised: Please refer to Appendix B for more details.

Original: For CrossMatch, we set the confidence threshold τ to 0 .
Revised: For CrossMatch, we set the confidence threshold τ to 0 .

Original: 95 and the weight of the unlabeled loss λ to 1 .
Revised: 95 and the weight of the unlabeled loss λ to 1 .

Original: The model is first trained without self-training, i.e., only using the labeled batches (Algorithm
Revised: The model is first trained without self-training, i.e., only using the labeled batches (Algorithm

Original: Line 6–7).
Revised: Line 6–7).

Original: We start to update a model with pseudo-labels after the number of pseudo-labels in each class for a batch is balanced.
Revised: We start to update a model with pseudo-labels after the number of pseudo-labels in each class for a batch is balanced.

Original: Formally, this condition is satisfied when the entropy of the numbers of pseudo-labels per class is above 0 .
Revised: Formally, this condition is satisfied when the entropy of the numbers of pseudo-labels per class is above 0 .

Original: 99 for the last 100 iterations; it is enforced to prevent early confirmation bias in self-training (Kim & Lee, 2022).
Revised: 99 for the last 100 iterations; it is enforced to prevent early confirmation bias in self-training (Kim & Lee, 2022).

Original: If a data point x t in an instance X has a true label (i.e., t ∈ T L ), CrossMatch uses the true label instead of the generated pseudo-label.
Revised: If a data point x t in an instance X has a true label (i.e., t ∈ T L ), CrossMatch uses the true label instead of the generated pseudo-label.

Original: Evaluation Metrics: R1 :
Revised: Evaluation Metrics: R1 :

Original: We measure timestamp accuracy and segmental F1 score with five-fold cross validation and report the average value with standard deviation of five runs.
Revised: We measure timestamp accuracy and segmental F1 score with five-fold cross validation and report the average value with standard deviation of five runs.

Original: For sequential classifier such as MS-TCN, timestamp accuracy (denoted as TS accuracy) and segmental F1 score (denoted as F1@25) measure the performance of classification at each timestamp and segments respectively (Li et al., 2021; Kumar et al., 2022).
Revised: For sequential classifier such as MS-TCN, timestamp accuracy (denoted as TS accuracy) and segmental F1 score (denoted as F1@25) measure the performance of classification at each timestamp and segments respectively (Li et al., 2021; Kumar et al., 2022).

Original: We define each metric in detail in Appendix C.
Revised: We define each metric in detail in Appendix C.

Original: Compared Self-Training Methods: We compare CrossMatch with three state-of-the-art selftraining methods: FixMatch (Sohn et al., 2020), FlexMatch (Zhang et al., 2021), and PropReg (Kim & Lee, 2022).
Revised: Compared Self-Training Methods: We compare CrossMatch with three state-of-the-art selftraining methods: FixMatch (Sohn et al., 2020), FlexMatch (Zhang et al., 2021), and PropReg (Kim & Lee, 2022).

Original: As discussed in Section 2, these methods require inner-instance augmentation for consistency regularization.
Revised: As discussed in Section 2, these methods require inner-instance augmentation for consistency regularization.

Original: We use two popular time-series augmentations: jittering and scaling, where weak augmentation α ( X ) =
Revised: We use two popular time-series augmentations: jittering and scaling, where weak augmentation α ( X ) =

Original: jittering ( X ) and strong augmentation A ( X ) =
Revised: jittering ( X ) and strong augmentation A ( X ) =

Original: jittering ( scaling ( X ))
Revised: jittering ( scaling ( X ))

Original: (Um et al., 2017).
Revised: (Um et al., 2017).

Original: Throughout the experiments, we use the same hyperparameters for all methods except the instance length due to the context-additive augmentation.
Revised: Throughout the experiments, we use the same hyperparameters for all methods except the instance length due to the context-additive augmentation.

Original: As an additional evaluation for fair comparison, we also compare CrossMatch with the variants of the compared methods which are modified in support of our context-additive augmentation.
Revised: As an additional evaluation for fair comparison, we also compare CrossMatch with the variants of the compared methods which are modified in support of our context-additive augmentation.

Original: 4. C OMPARISON WITH S TATE - OF - THE - ART S ELF - TRAINING M ETHODS
Revised: 4. C OMPARISON WITH S TATE - OF - THE - ART S ELF - TRAINING M ETHODS

Original: Overall Comparison: Table 3 shows timestamp accuracy and F1@25 on three datasets with varying label ratios; each value is obtained by averaging over the last 20 iterations for reliable results.
Revised: Overall Comparison: Table 3 shows timestamp accuracy and F1@25 on three datasets with varying label ratios; each value is obtained by averaging over the last 20 iterations for reliable results.

Original: In general, CrossMatch achieves the best classification performancecompared with other methods R1 : with a statistical significance of 0 .
Revised: Compared with other methods, CrossMatch achieves the best classification performance R1 : with a statistical significance of 0 .

Original: 05 using independent (unpaired) t-test, except HAPT 10 × .
Revised: 05 using independent (unpaired) t-test for all datasets except HAPT 10 × .

Original: This is mainly because consistency regularization using context-additive augmentation is more informative than inner-instance augmentation used in other self-training methods.
Revised: This is mainly because consistency regularization using context-additive augmentation is more informative than inner-instance augmentation used in other self-training methods.

Original: In particular, CrossMatch exhibits much better performance than others especially when the initial label ratio is low.
Revised: In particular, CrossMatch exhibits much better performance than others especially when the initial label ratio is low.

Original: For instance, with only 0 .
Revised: For instance, with only 0 .

Original: 1% of the labeled timestamps in HAPT, CrossMatch outperforms FixMatch by 20 p%, FlexMatch by 21 p%, and PropReg by 23 p% in F1@25 (see the first row in HAPT data of Table 3).
Revised: 1% of the labeled timestamps in HAPT, CrossMatch outperforms FixMatch by 20 p%, FlexMatch by 21 p%, and PropReg by 23 p% in F1@25 (see the first row in HAPT data of Table 3).

Original: Therefore, the performance dominance of CrossMatch indicates the context-additive augmentation with reliability-weighted mixing indeed helps the model select more reliable pseudolabels even when softmax probabilities fluctuate due to label scarcity.
Revised: Therefore, the performance dominance of CrossMatch indicates the context-additive augmentation with reliability-weighted mixing indeed helps the model select more reliable pseudolabels even when softmax probabilities fluctuate due to label scarcity.

Original: Training Curve Analysis: Figure 5 shows the training curves of classification and pseudo-labeling
Revised: Training Curve Analysis: Figure 5 shows the training curves of classification and pseudo-labeling

Original: F1 score over the entire training iteration.
Revised: F1 score over the entire training iteration.

Original: Please refer to Appendix D for the same results with standard deviation and R2 , R3 , R4 : other metrics related to pseudo-labeling.
Revised: Please refer to Appendix D for the same results with standard deviation and R2 , R3 , R4 : other metrics related to pseudo-labeling.

Original: CrossMatch shows R3 : much higher performance  with respect to timestamp accuracy and F1@25 even in the early stage of training attributed to the high F1 score as well as the highest accuracy in most cases(see the
Revised: CrossMatch shows R3 : much higher performance than the other methods with respect to timestamp accuracy and F1@25 even in the early stage of training attributed to the high F1 score as well as the highest accuracy in most cases

Original: [Figure]
Revised: [Figure]

Original:  first two rows in Figure 5).
Revised: (see the first two rows in Figure 5).

Original: This is attributed to its robustness in reliability-weighted mixing in the early stage of self-training and its credibility in enforcing consistency between two augmented instances from context-additive augmentation.
Revised: This is attributed to its robustness in reliability-weighted mixing in the early stage of self-training and its credibility in enforcing consistency between two augmented instances from context-additive augmentation.

Original: For example, as shown in mHealth of Figure 5(b), other methods suffer from the low-quality pseudo-labels at the iteration of around 17 , 000 when the warm-up period ends, thereby showing a temporary drop in timestamp accuracy.
Revised: For example, as shown in mHealth of Figure 5(b), other methods suffer from the low-quality pseudo-labels at the iteration of around 17 , 000 when the warm-up period ends, thereby showing a temporary drop in timestamp accuracy.

Original: Although the accuracy recovers gradually, the final accuracy is far behind the accuracy CrossMatch achieves.
Revised: Although the accuracy recovers gradually, the final accuracy is far behind the accuracy CrossMatch achieves.

Original: The effectiveness of CrossMatch is also supported by R2 , R3 , R4 : its pseudo-labeling F1 score computed from precision and recall (see the last row in Figure 5 and Figure 7).
Revised: The effectiveness of CrossMatch is also supported by R2 , R3 , R4 : its pseudo-labeling F1 score computed from precision and recall (see the last row in Figure 5 and Figure 7).

Original: Precision is the ratio of the number of correctly predicted timestamps to the number of pseudo-labeled timestamp, while Recall is the ratio of the number of correctly predicted timestamps to the length of target instance.
Revised: Precision is the ratio of the number of correctly predicted timestamps to the number of pseudo-labeled timestamp, while Recall is the ratio of the number of correctly predicted timestamps to the length of target instance.

Original: We averaged F1 score over the target instances in a batch.
Revised: We averaged F1 score over the target instances in a batch.

Original: When there is no pseudo-label in a batch, both of precision and recall become 0 , which also makes F1 score as 0.
Revised: When there is no pseudo-label in a batch, both of precision and recall become 0 , which also makes F1 score as 0.

Original: CrossMatch reaches the highest
Revised: CrossMatch reaches the highest

Original: F1 score continuously except the early period of self-training due to correct and many pseudo-labels used for more informative cross-window label
Revised: F1 score continuously except the early period of self-training due to correct and many pseudo-labels used for more informative cross-window label

Original: [Table]
Revised: [Table]

Original: 4. E XTENSIONS WITH I NNER - AND I NTER - INSTANCE A UGMENTATION
Revised: 4. E XTENSIONS WITH I NNER - AND I NTER - INSTANCE A UGMENTATION

Original: [Table]
Revised: [Table]

Original: We investigate another possible extensions: (1) CrossMatch to combine the two inner-instance augmentation ( + IA) of jittering and scaling and (2) the variant of existing self-training methods to combine our proposed context-additive augmentation ( + CA).
Revised: We investigate another possible extensions: (1) CrossMatch to combine the two inner-instance augmentation ( + IA) of jittering and scaling and (2) the variant of existing self-training methods to combine our proposed context-additive augmentation ( + CA).

Original: For the former, we perform jittering and scaling before applying the context-additive augmentation.
Revised: For the former, we perform jittering and scaling before applying the context-additive augmentation.

Original: For the latter, we modify the existing methods in support of the context-additive augmentation.
Revised: For the latter, we modify the existing methods in support of the context-additive augmentation.

Original: The two augmented instances (the left and right instances in Figure 2) are respectively treated as weakly and strongly augmented instances for existing methods; the instance with a higher reliability score than the other becomes the weakly augmented instance.
Revised: The two augmented instances (the left and right instances in Figure 2) are respectively treated as weakly and strongly augmented instances for existing methods; the instance with a higher reliability score than the other becomes the weakly augmented instance.

Original: Table 4 summarizes the performance of possible extensions for HAPT and mHealth datasets with their default label ratios of 0 .
Revised: Table 4 summarizes the performance of possible extensions for HAPT and mHealth datasets with their default label ratios of 0 .

Original: 1% and 1 . 0% .
Revised: 1% and 1 . 0% .

Original: First, CrossMatch with jittering and scaling shows additional performance gain which is about 4 p% in timestamp accuracy and 2 – 22 p% in F1@  for the two datasets.
Revised: First, CrossMatch with jittering and scaling shows additional performance gain which is about 4 p% in timestamp accuracy and 2 – 22 p% in F1@  for the two datasets.

Original: These improvements demonstrate that jittering and scaling can be applied together with context-additive augmentation without performance drop under the proposed selftraining framework.
Revised: These improvements demonstrate that jittering and scaling can be applied together with context-additive augmentation without performance drop under the proposed selftraining framework.

Original: However, in general, the simple extensions of existing methods for contextadditive augmentation rather suffer from a significant performance drop.
Revised: However, in general, the simple extensions of existing methods for contextadditive augmentation rather suffer from a significant performance drop.

Original: Therefore, our method is robust to the addition of existing inner-instance augmentation.
Revised: Therefore, our method is robust to the addition of existing inner-instance augmentation.

Original: 4. A NALYSIS OF VARYING CONTEXT LENGTHS
Revised: 4. A NALYSIS OF VARYING CONTEXT LENGTHS

Original: Table 5 summarizes the timestamp accuracy and F1@25 score of CrossMatch by adjusting the default context length c (in Table 2) from 0 .
Revised: Table 5 summarizes the timestamp accuracy and F1@25 score of CrossMatch by adjusting the default context length c (in Table 2) from 0 .

Original: × to 4 . 

Revised: × to 4 .

Original: × .
Revised: × .

Original: If the context length is too large, augmented instances bear too much perturbation to generate high-quality cross-window labels.
Revised: If the context length is too large, augmented instances bear too much perturbation to generate high-quality cross-window labels.

Original: On the other hand, if the context length is too small, informative consistency regularization between two augmented instances becomes trivial since they show high similarity.
Revised: On the other hand, if the context length is too small, informative consistency regularization between two augmented instances becomes trivial since they show high similarity.

Original: We found out that the optimal context length is highly correlated with the average segment length of each dataset.
Revised: We found out that the optimal context length is highly correlated with the average segment length of each dataset.

Original: For instance, the best timestamp accuracy of Opportunity data is achieved with a relatively smaller context length (i.e., 64 × 0 .
Revised: For instance, the best timestamp accuracy of Opportunity data is achieved with a relatively smaller context length (i.e., 64 × 0 .

Original: 5 = 32 ) than that of mHealth data (i.e., 256 × 1 . 

Revised: 5 = 32 ) than that of mHealth data (i.e., 256 × 1 .

Original: = 256 ) because Opportunity data has much shorter mean segment length; as can be seen in Table 2, Opportunity and mHealth exhibit the shortest and the longest mean segment length among the three datasets.
Revised: = 256 ) because Opportunity data has much shorter mean segment length; as can be seen in Table 2, Opportunity and mHealth exhibit the shortest and the longest mean segment length among the three datasets.

Original: Therefore, the best timestamp accuracy and F1@25 score of each dataset is achieved with different context lengths.
Revised: Therefore, the best timestamp accuracy and F1@25 score of each dataset is achieved with different context lengths.

Original: R1 , R2 , R3 :
Revised: R1 , R2 , R3 :

Original: Table 6 shows the classification performance of CrossMatch with the variations of context-additive augmentation (CA): we added only one side of context to the target context (i.e., left-only CA or right-only CA) or used a fixed length of context (fixed-context CA) to get an augmented instance.
Revised: Table 6 shows the classification performance of CrossMatch with the variations of context-additive augmentation (CA): we added only one side of context to the target context (i.e., left-only CA or right-only CA) or used a fixed length of context (fixed-context CA) to generate an augmented instance.

Original: We set the fixed length as the best value found in Table 5.
Revised: We set the fixed length to the best value found in Table 5.

Original: These variations weaken the diversity of augmented instances which degrades the effect of consistency regularization, so all of them result in lower classification performance than CrossMatch.
Revised: These variations weaken the diversity of augmented instances, which degrades the effect of consistency regularization, so all of them result in lower classification performance than CrossMatch.

Original: [Table] [Table]
Revised: [Table] [Table]

Original:  C ONCLUSION
Revised:  C ONCLUSION

Original: In this paper, we propose a novel time-series self-training method CrossMatch equipped with context-additive augmentation.
Revised: In this paper, we propose a novel time-series self-training method CrossMatch equipped with context-additive augmentation.

Original: It adds a context instance to a target instance on its left and right sides within a window to generate two augmented instances with different contexts.
Revised: It adds a context instance to a target instance on its left and right sides within a window to generate two augmented instances with different contexts.

Original: To reduce variance in pseudo-labeling, CrossMatch mixes the two sets of pseudo-labels obtained from the two augmented instances with inferred reliability scores.
Revised: To reduce variance in pseudo-labeling, CrossMatch mixes the two sets of pseudo-labels obtained from the two augmented instances with inferred reliability scores.

Original: Our extensive experiments demonstrate that
Revised: Our extensive experiments demonstrate that

Original: CrossMatch achieves considerably higher classification accuracy than other state-of-the-art selftraining methods—by up to 23p% even when only 0.1% of timestamps are labeled.
Revised: CrossMatch achieves considerably higher classification accuracy than other state-of-the-art selftraining methods—by up to 23p% even when only 0.1% of timestamps are labeled.

Original: CrossMatch introduces a new direction of data augmentation for sequential data and has the potential to be applied to a variety of time-series applications.
Revised: CrossMatch introduces a new direction of data augmentation for sequential data and has the potential to be applied to a variety of time-series applications.

Original: For further work, we plan theoretical analysis of the optimal context length and performance maximization of self-training using context-additive augmentation.
Revised: For further work, we plan theoretical analysis of the optimal context length and performance maximization of self-training using context-additive augmentation.

Original: C ODE OF E THICS
Revised: C ODE OF E THICS

Original: In this paper, we propose a time-series self-training framework with context-additive augmentation.
Revised: In this paper, we propose a time-series self-training framework with context-additive augmentation.

Original: Our algorithm improves model performance despite sparsity of labels in time-series data, and this improvement can reduce the cost of label annotations.
Revised: Our algorithm improves model performance despite sparsity of labels in time-series data, and this improvement can reduce the cost of label annotations.

Original: In experiments we use popular time-series datasets open to the public and available from the websites at the links provided in the references.
Revised: In experiments we use popular time-series datasets open to the public and available from the websites at the links provided in the references.

Original: Each human subject in the datasets is encoded as a random number for anonymization.
Revised: Each human subject in the datasets is encoded as a random number for anonymization.

Original: R EPRODUCIBILITY
Revised: R EPRODUCIBILITY

Original: We elaborate on the details of our algorithm and dataset setting in the main text for reproduction.
Revised: We elaborate on the details of our algorithm and dataset setting in the main text for reproduction.

Original: Section 4.1 and Section B describe the dataset setting for sparsely-labeled time series and explain hyperparameters used in the training and configuration.
Revised: Section 4.1 and Section B describe the dataset setting for sparsely-labeled time series and explain hyperparameters used in the training and configuration.

Original: Algorithm 1 summarizes our framework as a pseudo-code for better understanding.
Revised: Algorithm 1 summarizes our framework as a pseudo-code for better understanding.

Original: Finally, our work can be reproduced using the guidelines and the source codes in https://www.dropbox.com/sh/j2n2hrfbze39ags/
Revised: Finally, our work can be reproduced using the guidelines and the source codes in https://www.dropbox.com/sh/j2n2hrfbze39ags/

Original: AADCRye_a-4pIomnc9OWtG2qa?dl=0 .
Revised: AADCRye_a-4pIomnc9OWtG2qa?dl=0 .

Original: A O VERALL T RAINING A LGORITHM
Revised: A O VERALL T RAINING A LGORITHM

Original: Output
Revised: Output

Original: Final
Revised: Final

Original: ←
Revised: ←

Original: 3: c ′ ←
Revised: 3: c ′ ←

Original: ; 4: w ←
Revised: ; 4: w ←

Original: X l ← {X [ m − w : m + w ) , m ∈ T l } ; Y l ← {Y [ m − w : m + w ) , t ∈ T l } ; 7:
Revised: X l ← {X [ m − w : m + w ) , m ∈ T l } ; Y l ← {Y [ m − w : m + w ) , t ∈ T l } ; 7:

Original: L l = 1 B l (cid:80) X ∈X l ,Y ∈Y l ℓ ( X, Y ) ; // See Equation (1) 8: /
Revised: L l = 1 B l (cid:80) X ∈X l ,Y ∈Y l ℓ ( X, Y ) ; // See Equation (1) 8: /

Original: ** Loss computation for unlabeled batch **/ 9:
Revised: ** Loss computation for unlabeled batch **/ 9:

Original: X u ← { ( X [ m − w : m + o ) , X [ m − o : m + w ) ) , m ∈ T u } ; // See Section 3.
Revised: X u ← { ( X [ m − w : m + o ) , X [ m − o : m + w ) ) , m ∈ T u } ; // See Section 3.

Original: 10: ˆ Y u ← P SEUDO L ABELING ( X u , f θ , τ ) ; // See Equation (2) 11: ¯ Y ← R ELIABILITY W EIGHTING ( ˆ Y u ) ; // See Section 3.
Revised: 10: ˆ Y u ← P SEUDO L ABELING ( X u , f θ , τ ) ; // See Equation (2) 11: ¯ Y ← R ELIABILITY W EIGHTING ( ˆ Y u ) ; // See Section 3.

Original: L u = 1 B u (cid:80) ( X left ,X right ) ∈X u , ¯ Y ∈ ¯ Y ℓ u
Revised: L u = 1 B u (cid:80) ( X left ,X right ) ∈X u , ¯ Y ∈ ¯ Y ℓ u

Original: ( X left , X right , ¯ Y ) ; // See Equation (6) 13: η θ
Revised: ( X left , X right , ¯ Y ) ; // See Equation (6) 13: η θ

Original: ; 14: return f
Revised: ; 14: return f

Original: Algorithm 1 describes how CrossMatch works in time-series self-training.
Revised: Algorithm 1 describes how CrossMatch works in time-series self-training.

Original: For each iteration, there are two steps for batch initialization: center timestamp sampling from T L and T U (Line 2) and context length sampling from a uniform distribution (Line 3).
Revised: For each iteration, there are two steps for batch initialization: center timestamp sampling from T L and T U (Line 2) and context length sampling from a uniform distribution (Line 3).

Original: Note that we assign w as o + c ′ after the sampling (Line 4).
Revised: Note that we assign w as o + c ′ after the sampling (Line 4).

Original: From labeled middle timestamps, instances are sliced from X with length 2 w to construct a labeled batch, X l and Y l , where X [ m − w : m + w ) =
Revised: From labeled middle timestamps, instances are sliced from X with length 2 w to construct a labeled batch, X l and Y l , where X [ m − w : m + w ) =

Original: { x t | t ∈ [ m − w : m + w ) } and
Revised: { x t | t ∈ [ m − w : m + w ) } and

Original: Y [ m − w : m + w ) =
Revised: Y [ m − w : m + w ) =

Original: { y t | t ∈ [ m − w : m + w ) } (Line 6).
Revised: { y t | t ∈ [ m − w : m + w ) } (Line 6).

Original: The classification loss for a labeled batch L l is computed and averaged over the batch (Line 7).
Revised: The classification loss for a labeled batch L l is computed and averaged over the batch (Line 7).

Original: From unlabeled middle timestamps, instances are sliced with context-additive augmentation that generates a pair of instances whose length is o + w (Line 9).
Revised: From unlabeled middle timestamps, instances are sliced with context-additive augmentation that generates a pair of instances whose length is o + w (Line 9).

Original: The target instance of each instance in an augmented unlabeled batch X u is then pseudo-labeled using a confidence threshold τ (Line 10).
Revised: The target instance of each instance in an augmented unlabeled batch X u is then pseudo-labeled using a confidence threshold τ (Line 10).

Original: CrossMatch softens the pseudo-labels with reliability weighting across two instances with different contexts, transforming two pseudolabels into a single cross-window label shared across the instances (Line 11).
Revised: CrossMatch softens the pseudo-labels with reliability weighting across two instances with different contexts, transforming two pseudolabels into a single cross-window label shared across the instances (Line 11).

Original: The classification loss with cross-window labels is computed for each pair of augmented instances and is averaged over the batch (Line 12).
Revised: The classification loss with cross-window labels is computed for each pair of augmented instances and is averaged over the batch (Line 12).

Original: Finally, the losses for labeled and unlabeled batches are then integrated into a single loss L with a hyperparameter λ , and the model f θ is updated using its gradient (Line 13).
Revised: Finally, the losses for labeled and unlabeled batches are then integrated into a single loss L with a hyperparameter λ , and the model f θ is updated using its gradient (Line 13).

Original: B D ETAILS IN TRAINING  CLASSIFIER
Revised: B D ETAILS OF TRAINING THE CLASSIFIER

Original: R2 :
Revised: R2 :

Original: As described in implementation details of 4.1, we use MS-TCN as backbone sequential classifier (Farha & Gall, 2019).
Revised: As described in implementation details of 4.1, we use MS-TCN as backbone sequential classifier (Farha & Gall, 2019).

Original: It can classify each data point in a segment instance X , generating sequential softmax probabilities at each timestamp.
Revised: It can classify each data point in a segment instance X , generating sequential softmax probabilities at each timestamp.

Original: MS-TCN has four stages and each stage is composed of eleven dilated convolution layers and  softmax output layer.
Revised: MS-TCN has four stages, and each stage is composed of eleven dilated convolution layers and a softmax output layer.

Original: The first stage takes a subsequence of the whole time series and outputs softmax probability distribution at each timestamp.
Revised: The first stage takes a subsequence of the whole time series and outputs softmax probability distribution at each timestamp.

Original: After the first stage, every stage is fed with softmax probabilities and then outputs another softmax probabilities.
Revised: After the first stage, every stage is fed with softmax probabilities and then outputs another softmax probabilities.

Original: For all datasets, we use the same training hyperparameters and classifier as listed in Table 7.
Revised: For all datasets, we use the same training hyperparameters and classifier as listed in Table 7.

Original: We set  labeled batch size as 4 and  unlabeled batch size as 8 , use SGD optimizer with momentum and Nesterov method.
Revised: We set the labeled batch size as 4 and the unlabeled batch size as 8 , use SGD optimizer with momentum and Nesterov method.

Original: Initial learning rate is 0 .
Revised: The initial learning rate is 0 .

Original: 005 and  scheduled with  cosine  function.
Revised: and is scheduled with a cosine decay function.

Original: The letter i in Scheduling denotes the currentnumber of iteration  during training and  I  total iteration number.
Revised: The letter i in Scheduling denotes the current iteration number during training, and the letter I denotes the total number of iterations.

Original: [Table]
Revised: [Table]

Original: C D ETAILS IN EVALUATION METRICS
Revised: C D ETAILS IN EVALUATION METRICS

Original: R1 :
Revised: R1 :

Original: Timestamp accuracy is the ratio of the number of timestamps with correctly predicted labels to the total number of timestamps in a times series as follows.
Revised: Timestamp accuracy is the ratio of the number of timestamps with correctly predicted labels to the total number of timestamps in a times series, computed as follows.

Original: [Equation]
Revised: [Equation]

Original: Segmental F1 score is a performance measure for judging whether a classifier outputs correct and coherent labels for consecutive timestamps.
Revised: Segmental F1 score is a performance measure for judging whether a classifier outputs correct and coherent labels for consecutive timestamps.

Original: Segmental precision and recall are first computed by counting the number of correct matches between predicted segments set ˆ Y and true segments set Y with Jaccard similarity threshold (here, we set 0 . 25 ) as follows.
Revised: Segmental precision and recall are first computed by counting the number of correct matches between predicted segments set ˆ Y and true segments set Y with Jaccard similarity threshold (here, we set 0 . 25 ) as follows.

Original: [Equation]
Revised: [Equation]

Original: Finally, Segmental F1 score is computed as F 1@

Revised: Finally, Segmental F1 score is computed as F 1@

Original: = 2 ∗ precision ∗ recall precision + recall .
Revised: = 2 ∗ precision ∗ recall precision + recall .

Original: D D ETAILED ILLUSTRATIONS
Revised: D D ETAILED ILLUSTRATIONS

Original: Figure 6 is a detailed version of Figure 5, with standard deviation error bars added.
Revised: Figure 6 is a detailed version of Figure 5, with standard deviation error bars added.

Original: Figure 8 shows the accuracy convergence trend when context length is varied as a factor or multiple of the context length c , illustrating accuracy curve during the training iterations.
Revised: Figure 8 shows the accuracy convergence trend when context length is varied as a factor or multiple of the context length c , illustrating accuracy curve during the training iterations.

Original: [Figure]
Revised: [Figure]

Original: [Figure] [Figure]
Revised: [Figure] [Figure]

Original: [Figure] [Figure]
Revised: [Figure] [Figure]