TraceFL is a novel mechanism for Federated Learning that achieves interpretability by tracking neuron provenance. It identifies clients responsible for global model predictions, achieving 99% accuracy across diverse datasets (e.g., medical imaging) and neural networks (e.g., GPT).
10
stars
5
commits
Python
primary language
Nov 12, 2024
updated
Accepted at 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE) [Arxiv Paper Link]
For questions or feedback, please contact at waris@vt.edu. The code is written in Flower FL Framework, the most widely used FL framework.
TraceFL is a tool designed to provide interpretability in Federated Learning (FL) by identifying clients responsible for specific predictions made by a global model.

Federated Learning (FL) enables multiple clients (e.g., hospitals ) to collaboratively train a global model without sharing their raw data. However, this distributed and privacy-preserving setup makes it challenging to attribute a model's predictions to specific clients. Understanding which clients are most responsible for a model's output is crucial for debugging, accountability, and incentivizing high-quality contributions.
TraceFL addresses this challenge by dynamically tracking the significance of neurons in a global model's prediction and mapping them back to the corresponding neurons in each participating client's model. This process allows FL developers to localize the clients most responsible for a prediction without accessing their raw training data.
The
.sh(e.g.,job_training_all_exps.sh) scripts andTraceFL/tracefl/conf/base.yamlprovided in this artifact can be used to regenerate any experiment results presented in the paper. `
The experiments cover various aspects of federated learning, including:
These experiments evaluate the impact of differential privacy on TraceFL by applying different noise levels and clipping norms.
Scalability tests involve running experiments with varying numbers of clients and rounds to assess how well TraceFL scales.
These experiments explore the effect of different Dirichlet alpha values on data partitioning, model training, and TraceFL's localizability.
Each experiment's output will be logged in the logs directory, providing detailed information about the training process and results.
Latex
@inproceedings{gill2025tracefl,
title = {{TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenance}},
author = {Gill, Waris and Anwar, Ali and Gulzar, Muhammad Ali},
booktitle = {2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)},
year = {2025},
organization = {IEEE},
}
5 commits
Python
87.3%
Shell
11.8%
TraceFL is a novel mechanism for Federated Learning that achieves interpretability by tracking neuron provenance. It identifies clients responsible for global model predictions, achieving 99% accuracy across diverse datasets (e.g., medical imaging) and neural networks (e.g., GPT).
10
stars
5
commits
Python
primary language
Nov 12, 2024
updated
Accepted at 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE) [Arxiv Paper Link]
For questions or feedback, please contact at waris@vt.edu. The code is written in Flower FL Framework, the most widely used FL framework.
TraceFL is a tool designed to provide interpretability in Federated Learning (FL) by identifying clients responsible for specific predictions made by a global model.

Federated Learning (FL) enables multiple clients (e.g., hospitals ) to collaboratively train a global model without sharing their raw data. However, this distributed and privacy-preserving setup makes it challenging to attribute a model's predictions to specific clients. Understanding which clients are most responsible for a model's output is crucial for debugging, accountability, and incentivizing high-quality contributions.
TraceFL addresses this challenge by dynamically tracking the significance of neurons in a global model's prediction and mapping them back to the corresponding neurons in each participating client's model. This process allows FL developers to localize the clients most responsible for a prediction without accessing their raw training data.
The
.sh(e.g.,job_training_all_exps.sh) scripts andTraceFL/tracefl/conf/base.yamlprovided in this artifact can be used to regenerate any experiment results presented in the paper. `
The experiments cover various aspects of federated learning, including:
These experiments evaluate the impact of differential privacy on TraceFL by applying different noise levels and clipping norms.
Scalability tests involve running experiments with varying numbers of clients and rounds to assess how well TraceFL scales.
These experiments explore the effect of different Dirichlet alpha values on data partitioning, model training, and TraceFL's localizability.
Each experiment's output will be logged in the logs directory, providing detailed information about the training process and results.
Latex
@inproceedings{gill2025tracefl,
title = {{TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenance}},
author = {Gill, Waris and Anwar, Ali and Gulzar, Muhammad Ali},
booktitle = {2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)},
year = {2025},
organization = {IEEE},
}
5 commits
Python
87.3%
Shell
11.8%