Federated Learning (FL) suffers from severe performance degradation due to the data heterogeneity among clients. Some existing work suggests that the fundamental reason is that data heterogeneity can cause local model drift, and therefore proposes to calibrate the direction of local updates to solve this problem. Though effective, existing methods generally take the model as a whole, which lacks a deep understanding of how the neurons within deep classification models evolve during local training to form model drift. In this paper, we bridge this gap by performing an intuitive and theoretical analysis of the activation changes of each neuron during local training. Our analysis shows that the high activation of some neurons on the samples of a certain class will be reduced during local training when these samples are not included in the client, which we call neuron drift, thus leading to the performance reduction of this class. Motivated by this, we propose a novel and simple algorithm called FedNLR, which utilizes Neuron-wise Learning Rates during the FL local training process. The principle behind this is to enhance the learning of neurons bound to local classes on local data knowledge while reducing the decay of non-local classes knowledge stored in neurons. Experimental results demonstrate that FedNLR achieves state-of-the-art performance on federated learning with popular deep neural networks.
18 June 2025 in IEEE Communications Surveys & Tutorials
Foundation model (FM) powered agent services are regarded as a promising solution to develop intelligent and personalized applications for advancing toward Artificial General Intelligence (AGI). To achieve high reliability and scalability in deploying these agent services, it is essential to collaboratively optimize computational and communication resources, thereby ensuring effective resource allocation and seamless service delivery. In pursuit of this vision, this paper proposes a unified framework aimed at providing a comprehensive survey on deploying FM-based agent services across heterogeneous devices, with the emphasis on the integration of model and resource optimization to establish a robust infrastructure for these services. Particularly, this paper begins with exploring various low-level optimization strategies during inference and studies approaches that enhance system scalability, such as parallelism techniques and resource scaling methods. The paper then discusses several prominent FMs and investigates research efforts focused on inference acceleration, including techniques such as model compression and token reduction. Moreover, the paper also investigates critical components for constructing agent services and highlights notable intelligent applications. Finally, the paper presents potential research directions for developing real-time agent services with high Quality of Service (QoS).
Early diagnosis of paroxysmal atrial fibrillation (PAF) could prompt patients to receive timely interventions in clinical practice. Various PAF onset prediction algorithms might benefit from accurate heart rate variability (HRV) analysis and machine learning classification but are challenged by real-time monitoring scenarios. The aim of this study is to present an end-to-end deep learning-based PAFNet model that integrates a sliding window technique on raw R-R intervals of electrocardiogram (ECG) segments to achieve a real-time prediction of PAF onset. This integration enables the deep convolutional neural network (CNN) to be customized as a light-weight architecture that accommodates the size of sliding windows simply by altering the input layer, and specifically its effectiveness in making a new prediction with each new heartbeat. Catering to the potential influence of input sizes, three CNN models were trained using 50, 100, and 200 R-R intervals, respectively. For each model, the performance of the automated algorithms was evaluated for PAF prediction using a ten-fold cross-validation. As a results, a total of 56,381 PAFN-type and 56,900 N-type R-R interval segments were collected from publicly accessible ECG databases, and a promising prediction performance of the automated algorithm with 100 R-R intervals was achieved, with a sensitivity of 97.12%, a specificity of 97.77%, and an accuracy of 97.45%, respectively. Importantly, the automated algorithm with a sliding window step of 1 could process one sample in only 23.1 milliseconds and identify the onset of PAF at least 45 min in advance. The present results suggest that the sliding window technique on raw R-R interval sequences, along with deep learning-based algorithms, may offer the possibility of providing an accurate, real-time, end-to-end clinical tool for mass monitoring of PAF.
Early diagnosis of paroxysmal atrial fibrillation (PAF) could suggest patients to receive timely interventions in clinical practice. Various PAF onset prediction algorithms might benefit from accurate heart rate variability (HRV) analysis and machine learning classification but to be challenged in real-time monitoring scenarios. The aim of this study is to present an end-to-end deep learning based PAFNet model that integrates a sliding window technique on raw R-R interval of electrocardiogram (ECG) segments to achieve a real-time prediction of PAF onsets. This integration enable the deep convolutional neural network (CNN) to be customized as a light-weight architecture that accommodates the size of sliding windows simply by altering the input layer, specifically its effectiveness in making a new prediction with each new heartbeat. Catering to potential influence of input sizes, three CNN models were trained using 50, 100, and 200 R-R intervals, respectively. For each model, the performance of automated algorithms was evaluated for PAF prediction using a ten-fold cross-validation. As a results, a total of 56,381 PAFN-type and 56,900 N-type R-R interval segments was collected from publicly accessible ECG databases, and a promising prediction performance of the automated algorithm with a 100 R-R intervals was achieved in terms of the sensitivity of 97.12%, the specificity of 97.77%, and the accuracy of 97.45%, respectively. Importantly, the automated algorithm with a sliding windows step of 1 could process one sample in only 23.1 milliseconds and identify the onset of PAF at least 45 minutes in advance. The present results suggest that the sliding window technique on raw R-R interval sequences along by deep learning based algorithms may offers the possibility of providing an accurate, real-time, and end-to-end clinical tool for mass monitoring of PAF.
The sparse mixture-of-experts (MoE) architecture is a promising backbone of foundation models for a wide range of applications in edge. However, deploying them locally presents a significant challenge to memory-constrained GPUs. Previous techniques utilize CPUs for expert offloading, which suffer from inaccurate expert prefetching and on-demand loading latency. To address these challenges, we propose self-speculative MoE ( SS-MoE ), an algorithm-system co-design framework that facilitates inference under limited GPU memory. Our insight is that only a subset of routed experts, i.e., draft model, can still tackle easy tasks and generate draft tokens. Second, we deem GPU memory as the experts cache, and on-demand update it to mitigate IO overhead. Draft tokens from fewer routed experts are generated quickly, and these experts are then routed for verification. Additionally, we design a confidence-based policy to adaptively accept or verify draft tokens, which selectively decreases or increases the number of verification tokens of speculative decoding and achieves acceleration. Notably, under conservative verification, our approach preserves model accuracy and surpasses the decoding speed of the 4-bit quantized counterpart model. Under adaptive verification, our method significantly enhances decoding speed by 3.72x over state-of-the-art methods while maintaining nearly lossless accuracy.