Manuscript Offprint
arXiv:2608.29186Multi-Scale Temporal Domain Alignment for Federated Video Domain Adaptation
Abstract
Federated Video Domain Adaptation (FVDA) enables collaborative learning across distributed and non-IID video datasets while preserving privacy, but is under-explored due to challenges in aligning temporal information. We propose Multi-scale Temporal domAin aLignment (METAL), a novel framework that leverages temporal information at multiple resolutions to improve cross-domain video action recognition with only model parameter transfers. METAL trains per-scale transformer encoders on source-clients, then performs independent knowledge voting at each temporal scale to generate robust pseudo-labels on the target-server. A novel variance penalty enforces cross-scale consistency during scale-based knowledge distillation, preventing a singular dominant scale. The late fusion aggregates features across different scales, where the fusion head is trained via knowledge distillation using confidence-weighted aggregation of scale-wise predictions, enabling the model to effectively exploit complementary temporal information for final predictions. Experiments on Epic-Kitchens-55 and Daily-DA demonstrate state-of-the-art performances, with gains up to 28.47% over current FDA methods. Ablation studies prove that multi-scale distillation and scale coordination are critical for effective temporal knowledge transfer.
1. Introduction
Federated Domain Adaptation (FDA) is a privacy-preserving machine learning paradigm that seeks to transfer knowledge from the multiple source-clients to a target-server with statistically heterogeneous distributions. FDA is more robust than Federated Learning (FL) as real-world datasets are often non-IID. Without domain alignment to the target data, source models have poor out-of-domain performance and their aggregations fail to generalise to the target domain.
While extensively explored with image data [10, 13, 28], FDA has yet to be studied for the more challenging video modality, which contains significantly more information, specifically the temporal information. In applications such as security surveillance, users such as homeowners or building managers who wish to benefit from an existing security system without sending their data to a third-party database can participate as a target-server. Models trained locally on other surveillance cameras can be adapted to these new users with varied scenarios (e.g., lighting and background) without access to existing local surveillance data that contains sensitive information such as human faces via applying FDA frameworks. However, current FDA methods are image-based and lack the ability to process temporal information in videos, leading to poor performance on the target domain. Hence, developing Federated Video Domain Adaptation (FVDA) would be invaluable to the creation of more robust models while preserving data privacy.
Video data presents additional challenges as domain alignment must be achieved for both spatial and temporal dimensions to develop an effective FVDA method. Specifically, to align the temporal domain, two key challenges must be addressed. (1) Temporal characteristics vary even within a video, hence temporal alignment requires considering multiple frequencies simultaneously. For instance, the action “wash” would involve rapid scrubbing motions at the wrist, but mostly stationary arms to hold the object in the sink. Recognising such action requires jointly representing motion patterns of different frequencies. Furthermore, for each frequency, the temporal characteristics are inconsistent between domains. That is, we cannot assume that the domain shift is uniform across all temporal scales. (2) Existing Video Unsupervised Domain Adaptation (VUDA) works typically approach challenge (1) by statistically aligning extracted features from the source and target domains during training [20, 23]. However, the federated setting prohibits data access across source-clients and the target-server, which rules out direct application of VUDA techniques and further amplifies the challenges of frequency-wise feature alignment of FVDA. Moreover,
Corresponding author.
most VUDA works consider a single-source-single-target scenario, whereas FVDA involves multiple source-clients with distinct data distributions. As data access across source-clients is also not permitted in FVDA, having multiple sources adds further complexity, as information from multiple varied statistical distributions must be considered during the alignment process.
To address the challenge of temporal-domain alignment in FVDA, both the variation in temporal characteristics within the video and across domains must be addressed without cross-domain data access. Recognising that capturing temporal information at different frequencies is a prerequisite to performing temporal alignment, we take inspiration from the multi-temporal-scale works for the action recognition task [8]. We propose that a model with multiple pathways that analyse the video at a few selected frequencies could be used to capture the varied temporal information simultaneously. Each pathway takes in the same video at different frame rates, extracting the temporal information which is later fused to form a holistic temporal representation of the action. Then, to address the temporal domain shift on a temporal scale level in the federated setting where only model parameters are accessible, it is essential to build a more generalised model from the source-clients. That is, we hypothesise that forming a consensus amongst the source-clients will make transferring knowledge to the target-server easier. Furthermore, consensus formation at a scale level can address the individual domain shifts of each scale separately. To accomplish this, we draw inspiration from the consensus vote process in KD3A [9], a knowledge distillation-based unsupervised FDA work. The consensus vote not only creates high consensus and confidence pseudo-labels for the unlabelled target domain but also provides insight into the consensus quality across the source domains. The consensus vote process hence forms consensus knowledge, which can be used alongside the source model parameters to create a generalised source model. Per-scale generalised source models can serve as teachers to their respective scale's target model to address temporal domain shifts at a scale level. Subsequently, a fusion step can serve to aggregate temporal features from across scales to create a final prediction on the target data. This fusion step can be further guided by a fusion generalised source model.
To this end, we propose METAL, a novel FVDA method. Instead of naively sampling videos frame-wise and applying an image-based FDA method, we consider the temporal domain shift explicitly by learning multi-temporal-scale representations of video data and handling temporal domain alignment on a temporal scale level. To learn such multi-scale representations, each source-client trains multiple models on its video data sampled at different frequencies. Per-scale knowledge distillation is performed by creating generalised source-models, using only source model parameters, to act as a teacher for its corresponding target model. Scale coordination via L2 variance minimisation prevents any singular temporal scale from dominating training, ensuring the fusion process does not overlook temporal information from any scale. Finally, a late fusion approach is used so that distinct temporal representations are learned by each scale, preventing scales from providing overlapping information during fusion.
Our key contributions are threefold. First, we propose METAL, the first work, to the best of our knowledge, to tackle Federated Video Domain Adaptation (FVDA). Second, METAL tackles the challenge of FVDA by approaching the temporal domain shift in a multi-scale manner while leveraging only model parameters. It creates per-scale generalised source-models for per-scale knowledge distillation, utilises an L2 variance loss to prevent scale-dominance and late fusion with feature-based knowledge distillation to combine the distinct temporal representations for temporal domain alignment across all scales. Third, we demonstrate the efficacy of METAL with extensive baseline experiments. METAL outperforms current FDA methods in cross-domain action recognition datasets such as Epic-Kitchens-55 [6] and Daily-DA [26], and achieves up to 28.47% relative performance gain.
Video Unsupervised Domain Adaptation. Video DA aims to address the domain shift problem in the video modality, increasing the generalisability of models. Compared to image DA works, it presents the additional challenge of aligning the temporal domains of the source and target [23]. Earlier works such as TA3N [2] emphasised the importance of temporal feature alignment and also selecting more temporal features that contribute more to domain shift using attention mechanisms. This improved performance over naïve methods that sampled video frames and applied image DA methods directly, which ignored temporal domain shift. Domain alignment for spatiotemporal features has been achieved through adversarial methods [2], contrastive learning [5] and attention [4, 20]. Subsequently, other methods of handling spatio-temporal features have emerged. TranSVAE [23] tackles video DA from a disentanglement view. By extracting the static and dynamic latent factors from videos and designing specific objectives for each of them, TranSVAE achieves better domain alignment in both spatial and temporal domains. [4] proposed an attention mechanism to place greater emphasis on clips with discriminative information instead of equally aligning all clips. In sum, some notable innovations in video DA include techniques to align temporal domains, the creation of specific objectives for temporal features and methods to remove focus from the uninformative details in videos. Most video DA works have assumed the closed-set video unsupervised DA setting defined in [24]. However, the federated setting violates most of these assumptions and prevents direct application of video DA methods to FDA.
Temporal Representation for Videos. Multi-Temporal-Scale networks were first proposed in Feichtenhofer et al.'s SlowFast [8]. SlowFast had two pathways with different temporal resolutions, allowing the slower pathway to focus on capturing semantic information while the faster pathway captured rapid motion. This trains a model with a dual understanding of the spatiotemporal information in videos. Variations of multi-scale temporal modelling have since been developed. Pathformer uses adaptive temporal scales to suit the temporal characteristics of the dataset [3] instead of fixed temporal scales, MSTCN performs scale fusion using attention mechanisms that reduce redundancies across scales [27] and MTT leverages lateral cross attention mechanisms across scales to better align semantic information [11].
3. Proposed Method
For Federated Video Domain Adaptation (FVDA), we consider the Multi-Source-Single-Target scenario with K

Figure 1. METAL Architecture. Source-clients train per-scale models independently before uploading to the target-server. For each temporal scale, a knowledge vote process aggregates source predictions into high-confidence pseudo-labels, forming a generalised teacher model. Target students minimize per-scale KL divergence with these pseudo-labels, while an L2 variance penalty enforces cross-scale consistency. The target fusion head is trained on concatenated multi-scale target features, distilled using confidence-weighted ensemble pseudo-labels as the teacher signal. After each communication round, federated averaging with consensus-based domain weights updates all models. Only 2 scales are shown for clarity.
source domains each contained within a source-client and target domain on a target-server. Each source domain contains labelled videos and the target domain contains unlabelled videos (i.e., D_S^k := \{X_i^k, y_i^k\}_{i=1}^N_k, D_T := \{X_i^T, y_i^T\}_{i=1}^N_T where is unobserved). Each domain is drawn from its corresponding distribution and with domain shift, . We assume that both the labelled source-client videos and the unlabelled target-server videos share the same classes. For the federated setting, communication between source-clients and target-server is limited to model parameters, i.e., is inaccessible when adapting the source models to .
3.1. Multi-Scale Temporal Feature Representation
We represent an action segment as a temporal sequence of frame-features , where is the number of temporal segments and is the feature dimension. Each frame-feature is constructed from a clip centred at the frame of interest in order to preserve temporal information at the feature extraction stage. To capture temporal dynamics at multiple scales, we construct temporal views of each action segment, aiming to capture a range of motion patterns from fine-grained to coarse-level action patterns. For each scale , we uniformly sample frames from the original sequence to construct the multi-scale representation . This multi-scale temporal sampling enables the model to learn scale-invariant features that are robust to temporal variations across domains.
3.2. Source Model Training
3.2.1. Per-Scale Encoder Architecture
For each temporal scale in , we employ a transformer-based encoder to extract domain-specific representations. The encoder processes the input features through , where is multi-layer transformer encoder and is the hidden dimension. Each scale-specific encoder is paired with a classifier that predicts action labels.
3.2.2. Source Training Objective
Each source client independently trains its scale-specific models using the standard cross-entropy loss:
where is the one-hot encoded label and is the predicted probability for class c. Each scale is trained independently . After training, each source client uploads the parameters of its three trained models to the target server.
3.3. Per-Scale Knowledge Distillation
3.3.1. Per-Scale Generalised Source Model Creation
To facilitate knowledge transfer to the target domain, we aim to create a generalised source model for each scale that will act as a teacher to the target model. Naively averaging source model parameters is not feasible due to the domain shift; instead, we adapt K3DA's [9] knowledge vote and perform separate knowledge voting for each temporal scale. This is crucial as different scales may have different levels of consensus across source domains. The knowledge vote outputs high-confidence and high-consensus pseudo-labels for each scale. This meaningfully combines the inferences from the individual source domains and allows them to behave as a single generalised source model which is used to teach its corresponding scale target model as seen in Fig. 1. For a target sample at scale , each source domain produces a prediction . We then collect predictions from all source domains to form a knowledge matrix for batch size . We then perform knowledge voting to identify confident predictions. For each sample, we compute the consensus by majority voting , where is the indicator function. The consensus confidence is measured by:
Samples with confidence above a threshold are considered reliable for pseudo-labeling. The consensus knowledge for scale s is:
where is the set of agreeing source domains. The confidence gate is linearly annealed from to during training as too strict a confidence a gate in early epochs will eliminate too many domains from the knowledge vote, resulting in no consensus being formed.
To further enhance model robustness to the domain shifts, we apply Mixup [29] augmentation with to both inputs and pseudo-labels to obtain and , respectively. This creates soft interpolations between samples, improving generalisation.
3.3.2. Per-Scale Knowledge Distillation Loss
For each scale s, we train a student model to minimize the KL divergence between its predictions and the consensus pseudo-label:
where is a binary weight indicating reliable samples, and denotes the KL divergences.
3.3.3. Scale Coordination via L2 Variance Minimisation
An L2 variance penalty that enforces consistent learning across temporal scales is introduced. We observe that different scales may learn at different rates, leading to imbalanced representations which cause our model to overlook key temporal features present in other frequencies. To address this, the variance of per-scale KL divergence losses is minimised with:
where is the mean KL loss across scales. The square root ensures the penalty is in the same scale as the KL losses. This regularisation prevents any single scale from dominating the learning process and encourages balanced knowledge transfer across all temporal resolutions.
The total loss for target adaptation combines per-scale distillation with scale coordination:
where is a hyper-parameter controlling the strength of scale coordination. Critically, this loss is computed with gradients flowing through all scale models simultaneously. During backpropagation, the variance term connects all scales, ensuring that the gradient updates consider inter-scale consistency.
3.4. Scale Fusion
After training the scale-specific student models, we perform late fusion to combine information from all temporal scales. A late fusion approach allows the distinct temporal representations of each scale to be independently learned in contrast to introducing lateral connections earlier in training which may cause features output by each scale to provide overlapping information to the fusion head. We train a separate fusion classifier that takes as input the concatenated features from all scales via feature-based knowledge distillation. The fusion classifier is trained using an ensemble pseudo-label that combines the consensus from all scales, weighted by their respective confidences:
where prevents division by zero. The fusion loss is:
where indicates whether the sample has reliable consensus from any scale and . This union strategy allows the fusion classifier to leverage confident predictions from any temporal scale.
To adaptively weigh the contribution of each source domain, we employ consensus focus [9]. During training, we track how often each source domain agrees with the final consensus prediction. The consensus focus score for source domain is computed as:
where is the number of batches processed and is the consensus prediction (averaged across scales for domain weighting). These scores are normalised to obtain domain weights .
After each communication round, we perform federated averaging to update all models. For each scale independently, we aggregate the encoder and classifier parameters:
where indexes the communication round, is the target domain weight (based on the proportion of confident predictions), and are the source domain weights from consensus focus. The fusion classifier is aggregated similarly: . This ensures that more informative domains contribute more to the target model while maintaining privacy through parameter-only communication. The complete training procedure is summarised in Algorithm 1.
4. Experiments
In this section, we evaluate METAL across two widely used cross-domain action recognition benchmarks: Epic-Kitchens-55 [6] and Daily-DA [26], under the federated domain adaptation setting. Ablation studies, hyper-parameter sensitivity studies and empirical analysis of METAL are also presented to validate our proposed architecture.
Table 1. Sensitivity analysis of the number of temporal segments () on Epic-Kitchens-55. Performance scales significantly with higher temporal resolution.
| Num. (T) | Segments | Scale 1 | Scale 4 | Scale 16 | Target Acc. |
|---|---|---|---|---|---|
| 16 | 0.3101 | 0.3162 | 0.3029 | 0.3223 | |
| 64 | 0.4240 | 0.4254 | 0.4230 | 0.4158 | |
| 256 (Ours) | 0.5216 | 0.4990 | 0.5082 | 0.5298 | |
| 512 | 0.5226 | 0.5421 | 0.5164 | 0.5380 |
4.1. Experimental Settings
4.1.1. Datasets.
The Epic-Kitchens-55[6] dataset is a large egocentric dataset for the HAR task that contains recordings of daily kitchen activities collected from 32 individuals in 4 cities for a total of 55 hours. Video lengths, action sequences and the distribution of action classes across videos vary greatly, adding challenge to the dataset and making it a widely used benchmark dataset for the video HAR task. The dataset was not originally intended for domain adaptation tasks but was conveniently recorded by individuals with differing kitchens and mannerisms, creating a domain shift between the data from each participant. Following [18, 23], 3 large
Algorithm 1 METAL for Federated Video Domain Adaptation
Require: Source domains , target domain , scales , confidence threshold schedule , weight
Ensure: Adapted models and fusion classifier
1: Phase 1: Source Training (on clients in parallel)
2: Train per-scale models and fusion on . Upload all parameters to server
3: Phase 2: Multi-Scale Target Adaptation (on server)
4: Initialize: Aggregate source models, set , schedule
5: for each communication round do
6: for each target batch from do
7: for each scale do
8: Create Per-Scale generalised source models (Eq. 2-3)
9: Calculate: (Eq. 4)
10: end for
11: Add Variance Loss: (Eq. 5-6)
12: Joint backward: for all (gradients connect scales)
13: Ensemble pseudo-label: (Eq. 7)
14: Train: = (Eq. 8)
15: Update consensus focus and compute domain weights
16: end for
17: Federated aggregation: for all scales and fusion
18: end for
19: return
and distinct kitchens were selected to form 3 domains with 8 shared action classes. Of these domains, 2 will serve as source domains while the third will be the target domain, resulting in three different cross-domain tasks.
Meanwhile, Daily-DA [26] is a challenging video domain adaptation dataset that combines originally distinct video datasets. The subset we will be using comprises of 8 shared classes across ARID [25], HMDB51 [12] and Moments-In-Time (MIT) [16]. HMDB51 and MIT have widely been used in action recognition benchmarks and ARID is a dark dataset that provides additional challenge to Daily-DA with its adverse illumination conditions. This subset of Daily-DA shares 8 classes which will be used in our experiments, each dataset serves as distinct domain with 4507 videos for ARID, 1527 for HMDB51, and 4400 for
Table 2. Comparison of METAL against current FDA methods on Epic-Kitchens-55.
| Source | Target | KD3A | FDAC | FedGP | Co-MDA | METAL |
|---|---|---|---|---|---|---|
| P08, P01 | P22 | 0.4333 | 0.4466 | 0.4698 | 0.3921 | 0.5298 |
| P22, P01 | P08 | 0.3517 | 0.3425 | 0.4351 | 0.3597 | 0.4506 |
| P22, P08 | P01 | 0.4560 | 0.4667 | 0.4549 | 0.3963 | 0.4947 |
| Avg. Target Acc. | 0.4137 | 0.4186 | 0.4533 | 0.3827 | 0.4917 | |
| Avg. METAL Perf. Gain | 0.1886 | 0.1746 | 0.0848 | 0.2847 | - | |
Table 3. Comparison of METAL against current FDA methods on Daily-DA.
| Source | Target | KD3A | FDAC | Co-MDA | METAL |
|---|---|---|---|---|---|
| HMDB51, MIT | ARID | 0.2490 | 0.1979 | 0.2284 | 0.2999 |
| ARID, MIT | HMDB51 | 0.5930 | 0.5558 | 0.5814 | 0.5967 |
| ARID, HMDB51 | MIT | 0.3250 | 0.3229 | 0.3912 | 0.3452 |
| Avg. Target Acc. | 0.3890 | 0.3589 | 0.4003 | 0.4139 | |
| Avg. METAL Perf. Gain | 0.0641 | 0.1535 | 0.0339 | - | |
MIT. A train-test split of 70-30 implemented for ARID and HMDB51, while MIT's train-test split was used. For both Epic-Kitchens and Daily-DA, we report the top-1 accuracy obtained on each setting.
4.1.2. Detailed Implementation.
Frame-features were extracted from each video using a frozen I3D [1] feature extractor pre-trained on the ImageNet dataset [7]. Clips consist of 16 frames i.e., for each frame, the previous 7 frames and the next 8 frames are combined with the frame to form a clip. This clip is then fed to the feature extractor. Zero-padding is used for the start and end of the videos. Pre-extracted features created by [23] were used for the Epic-Kitchens-55 experiments whereas the Daily-DA features were extracted by us. Frame-features are of dimension . The per-scale transformer encoder utilised in all experiments is a 4-layer transformer encoder with 8 attention heads, hidden dimension , and feed-forward dimension of 1024. We select the number of temporal segments to be fed into our model after experimentation as shown in Table 1. Selecting a suitable -value is vital as our method relies on learning temporal representations at different temporal frequencies. Small values result in the loss of critical longer-range temporal information. This is evidenced by the significant performance improvement from to . As performance improvement with further increase to is minimal, we choose for our experiments to reduce computational costs. Scales were also chosen after experimentation.
4.2. Overall Results and Comparisons
We compare METAL with state-of-the-art (SOTA) FDA approaches as shown in Table 2 and 3. We use the same transformer encoder described in Section 3.2.1 and with identical settings for the encoder across all experiments. The top-1 target accuracies are reported for each approach. The current FDA approaches include: KD3A [9], FDAC [28], FedGP [10] and Co-MDA [14]. Of the 4 FDA methods, FedGP considers the supervised FDA case while the rest are unsupervised FDA methods. KD3A [9] is a knowledge distillation-based method that aims to reduce negative transfer and minimise communication costs. It utilises the knowledge vote and consensus formation process to determine which domains are contributing poorly and assigns a smaller weight to them in aggregation rounds. It performs well even with reduced communication rounds in contrast to adversarial methods. FDAC [28] is a dual-contrastive method that aims to extract domain-invariant features and also identify class-discriminative information. The simultaneous contrastive learning goals ensure that learning is not skewed towards any source domain, which in turn improves generalisability. Co-MDA [14] introduces a multi-domain attention mechanism that weights source domains with greater inter-class discriminative predictions more strongly and also trains two networks that perform co-teaching. This reduces the impact of negative transfer and also any confirmation bias that a single network might learn. Finally, FedGP [10] is a gradient projection aggregation method that extracts useful components of source gradients, guided by the target gradient, and aggregates them with an auto-weighting scheme while filtering out negative source gradients. It considers data-scarce scenarios but assumes that the target labels are available. While these 4 works introduce highly effective mechanisms to tackle domain alignment, they fail to consider the temporal domain shift which must be addressed explicitly for video data.
METAL outperforms all current FDA methods on Epic-Kitchens-55, achieving an average relative performance gain of as seen in Table 2, and up to when compared with Co-MDA. This demonstrates the effectiveness of learning multi-scale representations of video data and handling temporal domain alignment on a scale level.
On the more challenging Daily-DA dataset, we achieve an average performance gain of , outperforming all current FDA baselines except Co-MDA with MIT as the target domain. As previously explored in Section 4.1.2, the number of segments chosen has significant impact on model performance. Compared to Epic-Kitchens, the MIT dataset has fixed video lengths of 3s [16] which yield about 90 frame-features, resulting in many zero-padded frame-features which dampened METAL's performance on the MIT split. The number of segments was not lowered for the Daily-DA experiments to present an apple-to-apple comparison with the Epic-Kitchens-55 dataset and also to capture the longer range temporal information in the HMDB51 and ARID datasets, where METAL outperformed all current FDA methods.
Table 4. Comprehensive ablation studies for METAL on Epic-Kitchens-55, averaged across all three tasks.
(a) Individual Scale Contribution to Fusion
| Fusion | S1 | S4 | S16 | Acc. |
|---|---|---|---|---|
| 1+4 | .4745 | .4734 | .4764 | |
| 1+16 | .4788 | .4846 | .4780 | |
| 4+16 | .4772 | .4599 | .4677 | |
| All | .4746 | .4723 | .4760 | .4917 |
(b) Fusion Strategy
| Strategy | S1 | S4 | S16 | Fusion |
|---|---|---|---|---|
| Early | .4574 | .4711 | .4918 | .4667 |
| Late | .4746 | .4723 | .4760 | .4917 |
(c) L2 Loss Inclusion
| Configuration | Acc. |
|---|---|
| Without Loss | .4797 |
| With Loss | .4917 |
4.3. Ablation and Hyper-Parameter Sensitivity Study
To further validate the architecture of METAL, we conduct our ablation studies on key components of our model. First, we investigate the contributions of each scale chosen using a Leave-One-Out approach. Second, we show the superiority of the late fusion approach which allows distinct temporal representations to be learned by each scale for better fusion performance. Finally, we prove the need for scale coordination with the loss to prevent dominance of any scale. All ablation studies are performed over Epic-Kitchens-55, and averaged across the three tasks.
4.3.1. Individual scale contribution.
Each scale learns distinct temporal representations of the action and contributes unique information to the fusion head. Thus, ablation of any scale should result in performance loss as the model loses a frequency range of temporal information. Indeed, using all 3 scales achieved a higher fusion target accuracy than any subset of the scales, shown in Table 4a. This shows that the individual scales have succeeded in learning distinct temporal representations which allows the model to fuse the representations for a greater target accuracy than any individual scale achieves.
4.3.2. Fusion Method.
Late fusion allows scales to specialise and learn temporal representations at a designated frequency. In contrast, early fusion encourages contextual information sharing, temporal representations learned would blend across scales. This would work against the per-scale knowledge distillation that addresses the individual temporal domain shifts of each scale separately and requires distinct representations for
Table 5. Hyperparameter sensitivity study for METAL on Epic-Kitchens-55. Scale accuracies correspond to the three temporal resolutions selected for each configuration.
| Parameter | Value | Target Acc. | |||
|---|---|---|---|---|---|
| Scale Spacing | [1, 2, 4] | 0.5092 | 0.5051 | 0.5237 | 0.5257 |
| [1, 4, 16] (Ours) | 0.5216 | 0.4990 | 0.5082 | 0.5298 | |
| [1, 8, 64] | 0.5246 | 0.5185 | 0.4004 | 0.5267 | |
| L2 Loss Weight | 0.01 | 0.5257 | 0.5103 | 0.4867 | 0.5267 |
| 0.05 | 0.5277 | 0.5072 | 0.4846 | 0.5267 | |
| 0.10 (Ours) | 0.5216 | 0.4990 | 0.5082 | 0.5298 | |
| 0.20 | 0.5154 | 0.5062 | 0.4856 | 0.5267 | |
| 0.50 | 0.5175 | 0.5041 | 0.5010 | 0.5164 |
each scale. As expected, a significant performance improvement for late fusion over early fusion as shown in Table 4b. In our early fusion approach, we include lateral connections across scales to encourage contextual information sharing. This performance gap validates our decision to perform per-scale temporal alignment, as temporal domain shifts at different frequencies are distinct.
4.3.3. L2 Loss.
Scale coordination via L2 variance minimisation prevents any scale from dominating training. This ensures the fusion process does not overlook temporal information from any scale. Ablation of the L2 loss results in a 1.203% performance loss, as seen in Table 4c. This shows that scale coordination and the prevention of scale dominance improves the learned fusion representation.
4.3.4. Hyper-parameter Sensitivity.
We further examine the hyper-parameter sensitivity of our model to two key hyper-parameters: L2 loss weight and scale-spacing. In the federated setting, we are unable to access source and target data before hand, as such, the variance in the KL divergences cannot be pre-determined. As such, a model that is robust to a wider range of L2 loss weight would be adaptable to a wider range of domain shifts. Similarly, we cannot pre-determine the best scale-spacing as we are not privy to the full action-sequence length. A model robust to various scale spacings would allow for good performance even if a specific scale is not contributing as well as the other scales. As shown in Table 5, METAL's scale fusion approach is robust to various scale-spacing configurations, achieving similar performance. In the [1, 8, 64] configuration, we see that , a very coarse scale, performs relatively poorly but the model is robust to this poorly performing scale. Different values of L2 loss weight is explored. While model performance is similar across the various values, our chosen value of 0.1 has the best performance. Dropping to 0.05 or increasing to 0.2 results in an identical performance plateau 52.67%, while a heavy penalty of 0.5 finally begins to degrade the individual scale performances.
5. Conclusion
In this work, we pioneer the exploration of the Federated Video Domain Adaptation (FVDA) task, which seeks to transfer knowledge from statistically heterogeneous source-clients to the target-server while preserving data privacy in the video modality. We propose METAL, which learns multi-scale temporal representations and performs per-scale knowledge distillation to tackle the temporal domain shift. METAL preserves the distinct temporal representations by choosing a late fusion approach, allowing each scale to contribute unique temporal information to the fusion head through feature-based knowledge distillation. Scale coordination is further introduced to prevent the dominance of any scale during training. Extensive experimentation and detailed ablation and hyper-parameter studies across two challenging video domain adaptation datasets validate METAL's approach to FVDA.
References
[1] Carreira, J., Zisserman, A.: Quo vadis, action recognition? a new model and the kinetics dataset. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). pp. 4724–4733 (2017). https://doi.org/10.1109/CVPR.2017.502
[2] Chen, M.H., Kira, Z., Alregib, G., Yoo, J., Chen, R., Zheng, J.: Temporal attentive alignment for large-scale video domain adaptation. In: 2019 IEEE/CVF International Conference on Computer Vision (ICCV). pp. 6320–6329 (2019). https://doi.org/10.1109/ICCV.2019.00642
[3] Chen, P., ZHANG, Y., Cheng, Y., Shu, Y., Wang, Y., Wen, Q., Yang, B., Guo, C.: Pathformer: Multiscale transformers with adaptive pathways for time series forecasting. In: The Twelfth International Conference on Learning Representations (2024), https://openreview.net/forum?id=lJkOCMP2aW
[4] Choi, J., Sharma, G., Schulter, S., Huang, J.B.: Shuffle and attend: Video domain adaptation. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J.M. (eds.) Computer
Vision – ECCV 2020. pp. 678–695. Springer International Publishing, Cham (2020)
[5] da Costa, V.G.T., Zara, G., Rota, P., Oliveira-Santos, T., Sebe, N., Murino, V., Ricci, E.: Dual-head contrastive domain adaptation for video action recognition. In: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). pp. 1181–1190 (January 2022)
[6] Damen, D., Doughty, H., Farinella, G.M., Fidler, S., Furnari, A., Kazakos, E., Moltisanti, D., Munro, J., Perrett, T., Price, W., Wray, M.: Scaling egocentric vision: The epic-kitchens dataset. CoRR abs/1804.02748 (2018), http://arxiv.org/abs/1804.02748
[7] Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: Imagenet: A large-scale hierarchical image database. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition. pp. 248–255 (2009). https://doi.org/10.1109/CVPR.2009.5206848
[8] Feichtenhofer, C., Fan, H., Malik, J., He, K.: Slowfast networks for video recognition. In: 2019 IEEE/CVF International Conference on Computer Vision (ICCV). pp. 6201–6210 (2019). https://doi.org/10.1109/ICCV.2019.00630
[9] Feng, H., You, Z., Chen, M., Zhang, T., Zhu, M., Wu, F., Wu, C., Chen, W.: Kd3a: Unsupervised multi-source decentralized domain adaptation via knowledge distillation. In: Meila, M., Zhang, T. (eds.) Proceedings of the 38th International Conference on Machine Learning. Proceedings of Machine Learning Research, vol. 139, pp. 3274–3283. PMLR (18–24 Jul 2021), https://proceedings.mlr.press/v139/feng21f.html
[10] Jiang, E., Zhang, Y.J., Koyejo, S.: Principled federated domain adaptation: Gradient projection and auto-weighting. In: The Twelfth International Conference on Learning Representations (2024), https://openreview.net/forum?id=6J3ehSUrMU
[11] Kong, J., Bian, Y., Jiang, M.: Mtt: Multi-scale temporal transformer for skeleton-based action recognition. IEEE Signal Processing Letters 29, 528–532 (2022). https://doi.org/10.1109/LSP.2022.3142675
[12] Kuehne, H., Jhuang, H., Garrote, E., Poggio, T., Serre, T.: Hmdb: a large video database for human motion recognition. In: 2011 International conference on computer vision. pp. 2556–2563. IEEE (2011)
[13] Liu, X., Chen, Z., Zhou, L., Xu, D., Xi, W., Bai, G., Zhao, Y., Zhao, J.: Ufda: universal federated domain adaptation with practical assumptions. In: Proceedings of the Thirty-Eighth AAAI Conference on Artificial Intelligence and Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence and Fourteenth Symposium
on Educational Advances in Artificial Intelligence. AAAI'24/IAAI'24/EAAI'24, AAAI Press (2024). https://doi.org/10.1609/aaai.v38i12.29311, https://doi.org/10.1609/aaai.v38i12.29311
[14] Liu, X., Xi, W., Li, W., Xu, D., Bai, G., Zhao, J.: Co-mda: Federated multisource domain adaptation on black-box models. IEEE Transactions on Circuits and Systems for Video Technology 33(12), 7658–7670 (2023). https://doi.org/10.1109/TCSVT.2023.3277135
[15] Ma, J., Du, M., Zheng, H., Feng, X.: Unsupervised federated adversarial domain adaptation for heterogeneous internet of things. In: 2021 17th International Conference on Mobility, Sensing and Networking (MSN). pp. 520–527 (2021). https://doi.org/10.1109/MSN53354.2021.00082
[16] Monfort, M., Andonian, A., Zhou, B., Ramakrishnan, K., Bargal, S.A., Yan, T., Brown, L., Fan, Q., Gutfreund, D., Vondrick, C., et al.: Moments in time dataset: one million videos for event understanding. IEEE transactions on pattern analysis and machine intelligence 42(2), 502–508 (2019)
[17] Mori, J., Kihara, K., Miyagawa, T., Ebihara, A.F., Teranishi, I., Kashima, H.: Federated source-free domain adaptation for classification: Weighted cluster aggregation for unlabeled data. In: 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). pp. 6879–6889 (2025). https://doi.org/10.1109/WACV61041.2025.00669
[18] Munro, J., Damen, D.: Multi-modal domain adaptation for fine-grained action recognition. In: 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW). pp. 3723–3726 (2019). https://doi.org/10.1109/ICCVW.2019.00461
[19] Peng, X., Huang, Z., Zhu, Y., Saenko, K.: Federated adversarial domain adaptation. In: International Conference on Learning Representations (2020), https://openreview.net/forum?id=HJezF3VYPB
[20] Sacilotti, A., Dos Santos, S.F., Sebe, N., Almeida, J.: Transferable-Guided Attention Is All You Need for Video Domain Adaptation. In: 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). pp. 8691–8701 (Feb 2025). https://doi.org/10.1109/WACV61041.2025.00842, https://ieeexplore.ieee.org/document/10944072, iSSN: 2642-9381
[21] Shao, R., Lan, X.: Adversarial auto-encoder for unsupervised deep domain adaptation. IET Image Processing 13(14), 2772–2777 (2019). https://doi.org/https://doi.org/10.1049/ietipr.2018.6687, https://ietresearch.
onlinelibrary.wiley.com/doi/abs/10.1049/iet-ipr.2018.6687
[22] Shenaj, D., Fanì, E., Toldo, M., Caldarola, D., Tavera, A., Michieli, U., Ciccone, M., Zanuttigh, P., Caputo, B.: Learning across domains and devices: Style-driven source-free domain adaptation in clustered federated learning. In: 2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). pp. 444–454 (2023). https://doi.org/10.1109/WACV56688.2023.00052
[23] Wei, P., Kong, L., Qu, X., Ren, Y., Xu, Z., Jiang, J., Yin, X.: Unsupervised video domain adaptation for action recognition: A disentanglement perspective. In: Proceedings of the 37th International Conference on Neural Information Processing Systems. pp. 17623–17642. NIPS '23, Curran Associates Inc., Red Hook, NY, USA (Dec 2023)
[24] Xu, Y., Cao, H., Xie, L., Li, X.l., Chen, Z., Yang, J.: Video unsupervised domain adaptation with deep learning: A comprehensive survey. ACM Comput. Surv. 56(12) (Oct 2024). https://doi.org/10.1145/3679010, https://doi.org/10.1145/3679010
[25] Xu, Y., Yang, J., Cao, H., Mao, K., Yin, J., See, S.: Arid: A new dataset for recognizing action in the dark. In: Deep Learning for Human Activity Recognition: Second International Workshop, DL-HAR 2020, Held in Conjunction with IJCAI-PRICAI 2020, Kyoto, Japan, January 8, 2021, Proceedings 2. pp. 70–84. Springer (2021)
[26] Xu, Y., Yang, J., Cao, H., Wu, K., Wu, M., Li, Z., Chen, Z.: Multi-source video domain adaptation with temporal attentive moment alignment network. IEEE Transactions on Circuits and Systems for Video Technology (2023)
[27] Xu, Z., Zhang, Y., Miao, Q.: An attention-based multi-scale temporal convolutional network for remaining useful life prediction. Reliability Engineering & System Safety 250, 110288 (2024). https://doi.org/https://doi.org/10.1016/j.ress.2024.110288, https://www.sciencedirect.com/science/article/pii/S0951832024003600
[28] Yi, C., Chen, H., Zhang, Y., Xu, Y., Zhou, Y., Cui, L., Yu, H.: Fdac: Federated domain adaptation via dual contrastive learning. IEEE Transactions on Circuits and Systems for Video Technology 35(7), 6948–6960 (2025). https://doi.org/10.1109/TCSVT.2025.3538539
[29] Zhang, H., Cisse, M., Dauphin, Y.N., Lopez-Paz, D.: mixup: Beyond empirical risk minimization. In: International Conference on Learning Representations