---
title: 'TACTFL: Semi-Supervised Federated Learning'
url: https://www.emergentmind.com/topics/tactfl
type: topic
---

# TACTFL: Semi-Supervised Federated Learning

Searching arXiv for the primary TACTFL paper and closely related MMFL references.
TACTFL is a unified framework for semi-supervised multi-modal federated learning in heterogeneous settings, designed for scenarios in which clients hold locally collected, potentially heterogeneous multi-modal data while the central server has access only to a small labelled proxy dataset [2509.17532]. It combines modality-agnostic temporal contrastive training on clients with similarity-guided model aggregation on the server, with the stated objective of learning a global model for downstream tasks such as action recognition and emotion classification without transferring raw data. The framework is motivated by two recurrent difficulties in real-world federated learning: limited access to labelled data and the presence of heterogeneous multi-modal inputs, together with semantic drift induced by local self-supervised training and the need to exploit cross-modal temporal alignment without labels [2509.17532].

## 1. Problem formulation

TACTFL is formulated in a federated setting with $C$ clients, each holding locally collected, potentially heterogeneous multi-modal data from sources such as smart cameras, wearable sensors, and mobile devices [2509.17532]. Each client is assumed to possess at least two synchronised modalities, denoted $x^A$ and $x^B$, such as RGB video frames and audio signals or accelerometer and gyroscope time series. The local unlabelled dataset at client $c$ is written as
$$
D_c = \{(x_i^A, x_i^B)\}_{i=1}^{N_c},
$$
while the central server alone holds a small labelled proxy dataset
$$
D_S = \{(x_j^A, x_j^B, y_j)\}_{j=1}^{N_s}.
$$

This formulation is explicitly semi-supervised. All client datasets are fully unlabelled, and the labelled server-side dataset is used to train a task head and to support similarity-based aggregation [2509.17532]. The framework therefore separates unsupervised representation learning on clients from supervised task adaptation on the server.

The main challenges identified for this setting are client and data heterogeneity, including non-IID distributions via Dirichlet partitioning, semantic drift caused by self-supervised local training, and the need to recover cross-modal temporal alignment without labels [2509.17532]. TACTFL addresses these issues by pairing a local temporal contrastive objective with a server-side aggregation rule that upweights clients whose learned feature spaces remain more representationally consistent with the population.

## 2. Temporal contrastive training

The local learning mechanism in TACTFL is modality-agnostic temporal contrastive training. Modality-specific encoders $E^m$ are used, such as $E^A$ for RGB/video and $E^B$ for audio, while LSTMs are used for wearable signals [2509.17532]. These encoders are trained locally on unlabelled data, and the downstream task head $H$ is frozen during this stage. No separate projection heads are introduced; contrastive learning is performed directly on encoder embeddings.

For each multi-modal sample, the input sequence is segmented into two temporal chunks per modality, yielding sets
$$
X^A = \{x^A_k\}_{k=0}^{2N-1}, \qquad X^B = \{x^B_k\}_{k=0}^{2N-1}
$$
over a mini-batch, where $2N$ is the total number of segments [2509.17532]. Segments may overlap, and the window size is defined as a proportion of the full input, with examples in the range $80$–$90\%$ and ablations over $50$–$90\%$.

TACTFL derives soft supervision from temporal intersection-over-union. For each pair $(x_i^A, x_j^B)$, the temporal intersection-over-union score $I(i,j)$ is computed and each row is normalised to produce a soft target distribution,
$$
T(i, j) = \frac{I(i, j)}{\sum_{k=0}^{2N} I(i, k)}.
$$
Cross-modal similarity is measured by cosine similarity between encoder outputs,
$$
\mathcal{S}(i, j) = \frac{E^A(x^A_i)^\top E^B(x^B_j)}{\|E^A(x^A_i)\| \cdot \|E^B(x^B_j)\|},
$$
and a temperature $\tau$ scales the similarities [2509.17532].

The loss for a pair $(i,j)$ is given as
$$
l(i, j) = -\log \frac{e^{\mathcal{S}(i, j) / \tau}}{\sum_{k=0}^{2N} e^{\mathcal{S}(i, k) / \tau}} T(i, j),
$$
with symmetric aggregation over both modalities, aggregating all pairs $(i,j)$ and $(j,i)$ within the mini-batch [2509.17532]. This design encourages embeddings of temporally overlapping segments across modalities to be close while pushing apart embeddings from different time steps. Positives and negatives are therefore not defined by labels but by temporal overlap, with low-tIoU pairs implicitly acting as negatives.

The method is described as modality-agnostic because the training signal is derived from temporal alignment rather than modality-specific priors. When a modality is missing, the same modality can be duplicated to form pseudo-pairs for training [2509.17532]. This is a core design choice because it permits the same training mechanism to operate across RGB/video, audio, text, and wearable sensors.

## 3. Semi-supervised federated protocol

TACTFL interleaves local self-supervised learning and server-side supervised training in a round-based federated procedure [2509.17532]. The server initializes global encoders $\{E^m\}$ and the downstream head $H$, then distributes them to clients. Each client performs local training on unlabelled data by temporally segmenting its multi-modal sequences, computing the tIoU matrix $I(i,j)$, normalising rows to obtain soft targets $T(i,\cdot)$, computing cosine similarities $\mathcal{S}(i,j)$ between modalities, and updating encoder weights while keeping $H$ frozen.

Only updated encoder weights are uploaded to the server. No intermediate representations or prototypes are communicated, and only model parameters are exchanged [2509.17532]. The paper characterises this as communication-light.

After aggregation, the task head $H$ is trained on $D_S$ with encoders frozen. This is described as “standard supervised central training” with a conventional cross-entropy objective over labels $y_j$, although no explicit LaTeX formula for the supervised loss is provided in the main text [2509.17532]. The head is updated after aggregation each round, and the updated encoders and head are then redistributed to clients.

The training schedule follows FedMM’s setup of 200 global rounds with 1 local epoch per round and batch size 16 [2509.17532]. Client sampling specifics and the number of clients per dataset are deferred to supplementary material. This suggests that the paper’s principal reproducibility anchors are the encoder choices, the round structure, the temporal segmentation procedure, and the similarity-guided aggregation rule, rather than extensive scheduling heuristics.

## 4. Similarity-guided model aggregation

TACTFL’s server-side aggregation mechanism is similarity-guided model aggregation, introduced to address semantic divergence among locally trained self-supervised models [2509.17532]. The stated motivation is that standard aggregation methods such as FedAvg and FedOpt become unreliable when clients train on heterogeneous data and their learned feature spaces drift apart semantically.

To measure representational consistency, the server passes the labelled set $D_S$ through each client encoder model $m_i$, computes embeddings, and averages across samples to obtain summary vectors $\{V_0,\dots,V_{C-1}\}$ [2509.17532]. It then constructs the pairwise cosine similarity matrix
$$
S(i, j) = \frac{V_i \cdot V_j}{\|V_i\| \cdot \|V_j\|}.
$$

From this matrix, the similarity-based weight vector $W \in \mathbb{R}^C$ is computed as
$$
W(i) = \frac{\sum_{j=0}^{C-1} S(i, j)}{\sum_{i=0}^{k-1} \sum_{j=0}^{k-1} S(k, j)},
\qquad \sum_{i=0}^{C-1} W(i) = 1,
$$
and the updated global encoder model is
$$
m' = \sum_{i=0}^{C-1} W(i) \cdot m_i.
$$
Clients whose representations are more consistent with the majority receive greater weight [2509.17532].

The aggregation mechanism introduces no additional thresholds or temperatures beyond cosine similarity; the weighting is produced by normalisation alone [2509.17532]. The intended effect is to mitigate semantic drift and accelerate convergence relative to uniform weighting or purely optimizer-driven aggregation. The paper provides empirical evidence for improved performance and convergence but does not present a formal theoretical analysis.

A plausible implication is that the server-side labelled proxy dataset plays a dual role: it is not only the source for task-head supervision, but also the anchor that makes representational consistency measurable across clients. This dual use is explicit in the training protocol and is central to the framework’s semi-supervised design.

## 5. Heterogeneity, missing modalities, and implementation

TACTFL is explicitly designed for heterogeneous multi-modal federated learning. It assumes synchronised modalities at each client, and uses temporal overlap as a soft supervisory signal across modalities [2509.17532]. Moderate window sizes and overlap are reported to improve robustness to small timing differences. The framework also supports clients with missing modalities: when a modality is absent, the same modality can be duplicated to form pseudo-pairs for within-modality alignment.

Missing-modality experiments are simulated by dropping entire modalities per client with rate $r_m \in \{0.5, 0.7, 0.8\}$, and robustness analyses also report results over $r_m \in \{0.1, 0.3, 0.5, 0.7, 0.9\}$ [2509.17532]. The label fraction parameter $r_l$ controls how much labelled data resides on the server; for example, $r_l = 0.9$ implies 10% labelled data on the server and 90% unlabelled data at clients.

The implementation follows prior benchmark conventions for encoders. Following FedMM, MobileNetV2 is used for videos and images, MFCC-based features for audio, and MobileBERT for text; following FedMEKT, two LSTM layers are used for wearable data such as accelerometer, gyroscope, and magnetometer streams [2509.17532]. Contrastive learning is applied directly on encoder outputs, without a projection head. Two temporal chunks are extracted per sample, with window size proportions varied from $50\%$ to $90\%$.

The paper reports a temporal window ablation on UCF101 in which performance peaks at moderate window sizes: $90\%$ gives $69.26$, $80\%$ gives $71.34$, $70\%$ gives $72.22$, $60\%$ gives $71.28$, and $50\%$ gives $70.86$ [2509.17532]. This suggests that neither very large nor very small windows are optimal for the temporal-overlap signal used by tIoU-based supervision.

## 6. Empirical performance and ablations

TACTFL is evaluated across diverse benchmarks and modalities, including video, audio, text, and wearable sensors [2509.17532]. The reported datasets include UCF101 and MiT-10 for audio-video clients, UCI-HAR for accelerometer and gyroscope data, Hateful Memes for image-plus-text, MELD for audio-plus-text, and FedMEKT-style benchmarks such as mHealth, UR-Fall, and Opportunity.

On UCF101 with non-IID partitioning at $\alpha = 0.1$ and $r_l = 0.9$, the reported accuracies are FedAvg $10.49$, FedOpt $35.35$, and TACTFL $68.48$; with $r_l = 0.8$, they are FedAvg $40.14$, FedOpt $44.43$, and TACTFL $71.67$ [2509.17532]. On MiT-10 at $\alpha = 0.1$, the corresponding results are FedAvg $7.48$, FedOpt $19.86$, and TACTFL $48.87$ for $r_l = 0.9$, and FedAvg $25.77$, FedOpt $36.90$, and TACTFL $51.77$ for $r_l = 0.8$. On UCI-HAR, the reported F1 scores are FedAvg $33.78$, FedOpt $41.26$, and TACTFL $74.87$ for $r_l = 0.9$, and FedAvg $35.11$, FedOpt $42.64$, and TACTFL $75.12$ for $r_l = 0.8$.

The missing-modality results also favour TACTFL. For UCI-HAR, the reported F1 scores are $77.92$ at $r_m = 0.5$, $75.83$ at $r_m = 0.7$, and $75.12$ at $r_m = 0.8$; for Hateful Memes, the reported AUC values are $56.89$ at $r_m = 0.5$, $55.31$ at $r_m = 0.7$, and $59.47$ at $r_m = 0.8$; for MELD, the reported UAR values are $55.26$, $54.10$, and $53.25$ at the same missing-modality rates [2509.17532].

Ablations isolate the contributions of temporal contrastive training and similarity-guided aggregation. On UCF101, temporal contrastive training alone substantially improves over the semi-supervised federated learning baseline: under FedAvg, accuracy rises from $10.49$ to $54.58$, and under FedOpt, from $40.43$ to $62.91$ [2509.17532]. Adding similarity-guided model aggregation yields further gains, with reported accuracies of $63.12$ under FedAvg and $69.60$ under FedOpt, together with faster convergence toward fully supervised performance.

These results underpin the paper’s claim of state-of-the-art performance across video, audio, and wearable sensor benchmarks [2509.17532]. Since the paper does not include formal theory, the empirical case is the principal basis for the framework’s significance.

## 7. Limitations, interpretation, and future directions

TACTFL assumes synchronised modalities at the client, and the paper notes that severe temporal misalignment or asynchronous signals may weaken tIoU-based supervision [2509.17532]. Fixed segmentation windows are also identified as a limitation, since a single windowing strategy may not optimally capture semantic dynamics for all modalities or activities. Dynamic windowing and alignment are identified as future directions.

The framework is reported to be robust at high label sparsity and missing-modality rates, but extremely non-IID distributions or very sparse labels can still challenge aggregation and head training [2509.17532]. This identifies an important boundary condition: similarity-guided aggregation mitigates semantic drift, but does not eliminate all pathologies induced by extreme heterogeneity.

The paper also raises fairness and privacy considerations. Although TACTFL preserves privacy by not sharing raw data or intermediate features, similarity-guided aggregation may penalise clients from underrepresented populations, and proxy datasets may contain demographic or cultural biases [2509.17532]. Fairness-aware aggregation and personalised adaptation are recommended as mitigation strategies. This suggests that representational consensus, while beneficial for convergence, may also privilege dominant client subpopulations when the proxy dataset is not representative.

Planned extensions include dynamic temporal alignment, asynchronous modality support, and personalised model adaptation for highly heterogeneous clients [2509.17532]. Code is stated to be released upon publication, although no repository link is provided in the main text. The implementation details singled out as critical for reproduction are the encoder choices, the 200-round schedule with 1 local epoch per round and batch size 16, the two-segment tIoU-based contrastive pipeline with cosine similarity and temperature $\tau$, and the cosine-similarity-based server aggregation scheme [2509.17532].

Source: https://www.emergentmind.com/topics/tactfl