Related Experiment Video
Updated: Jun 1, 2025

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
494
Practical Implementation of Federated Learning for Detecting Backdoor Attacks in a Next-word Prediction Model
Jimmy K W Wong1, Ki Ki Chung2, Yuen Wing Lo1
1Research and Development Office, The Education University of Hong Kong, Hong Kong, China.
Scientific Reports
|January 17, 2025
Summary
This study introduces a method to detect backdoor attacks in federated learning, enhancing model security. The approach effectively mitigates bias caused by compromised devices, ensuring more reliable next-word prediction.
Area of Science:
- Artificial Intelligence
- Machine Learning
- Cybersecurity
Background:
- Federated learning (FL) allows collaborative model training across decentralized devices, preserving data privacy.
- FL systems are vulnerable to backdoor attacks, where malicious participants inject biased data to manipulate model outputs.
- Such attacks can significantly skew model performance, particularly on sensitive topics like elections.
Purpose of the Study:
- To develop and evaluate a novel mechanism for detecting backdoor attacks in federated learning.
- To enhance the robustness and reliability of next-word prediction models trained via federated learning.
- To mitigate the impact of malicious data manipulation on model outputs.
Main Methods:
- Development of a federated learning framework for next-word prediction.
- Implementation of a detection mechanism to identify and exclude devices with anomalous datasets.
- Experimental validation using a presidential election scenario to quantify attack impact and detection effectiveness.
Main Results:
- A positive correlation was observed between the proportion of compromised devices and the degree of model bias.
- The proposed detection mechanism effectively reduced the impact of backdoor attacks, especially with a low percentage of malicious devices.
- The system demonstrated improved robustness against targeted data poisoning.
Conclusions:
- The developed detection mechanism significantly enhances the security and reliability of federated learning systems.
- This research contributes to building more trustworthy AI models in decentralized environments.
- The findings underscore the importance of robust defense strategies against adversarial manipulation in federated learning.
Related Concept Videos
Prediction Intervals
2.2K
The interval estimate of any variable is known as the prediction interval. It helps decide if a point estimate is dependable.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
2.2K
Improving Translational Accuracy
2.5K
2.5K
Associative Learning
286
Associative learning is a fundamental concept in behavioral psychology, wherein a connection is established between two stimuli or events, leading to a learned response. This process is critical in understanding how behaviors are acquired and modified. Conditioning, the mechanism through which associations are formed, can be divided into two main types: classical conditioning and operant conditioning, each elucidating different aspects of associative learning.
Classical conditioning, also known...
Classical conditioning, also known...
286
Force Classification
1.1K
Forces play a crucial role in the study of physics and engineering. They are essential in describing the motion, behavior, and equilibrium of objects in the physical world. Forces can be classified based on their origin, type, and direction of action.
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
1.1K
Wald-Wolfowitz Runs Test II
177
The Wald-Wolfowitz runs test, commonly referred to as the runs test, is a nonparametric test used to assess the randomness of ordered data. The test evaluates the number of runs, which are consecutive sequences of similar elements within the data. If the number of runs is significantly higher or lower than expected, the data is considered non-random, indicating a detectable pattern or structure.
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and...
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and...
177
Wald-Wolfowitz Runs Test I
604
The Wald-Wolfowitz test, also known as the runs test, is a nonparametric statistical test used to assess the randomness of a sequence of two different types of elements (e.g., positive/negative values, successes/failures). It examines whether the order of the elements in a sequence is random or if there is a pattern or trend present. This nonparametric test applies to any ordered data despite the population and sample data distribution, even if a higher sample size is available.
The test works...
The test works...
604

