Skip to content
/ LR-XFL Public

Open-source code for AAAI-24 paper "LR-XFL: Logical Reasoning-based Explainable Federated Learning"

License

Notifications You must be signed in to change notification settings

Yanci87/LR-XFL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LR-XFL: Logical Reasoning-based Explainable Federated Learning

Overview

This is the open-source code for AAAI-24 paper "LR-XFL: Logical Reasoning-based Explainable Federated Learning". This repository contains LR-XFL model implementations and the experimental codes that produced the results documented in the paper.

Directory Structure

  • entropy_lens/: Core modules of entropy-based network.

    • models/: Model definitions and implementations.
    • logic/: Logic-related modules
    • nn/: Neural network modules
  • experiments/: Scripts and data related to different experimental setups.

    • result_plot.py: Script to plot results.
    • data/: datasets used in experiments.
    • mnist.py: Scripts to run LR-XFL, and the baseline FedAvg-Logic on MNIST(Even/Odd) dataset.
    • cub.py: Scripts to run LR-XFL, and the baseline FedAvg-Logic on CUB dataset.
    • vdem.py: Scripts to run LR-XFL, and the baseline FedAvg-Logic on V-Dem dataset.
    • mimic.py: Scripts to run LR-XFL, and the baseline FedAvg-Logic on MIMIC-II dataset.
    • mnist_tree.py: Scripts to run the baseline distributed decision tree (DDT) on MNIST(Even/Odd) dataset.
    • cub_tree.py: Scripts to run the baseline distributed decision tree (DDT) on CUB dataset.
    • vdem_tree.py: Scripts to run the baseline distributed decision tree (DDT) on V-Dem dataset.
    • mimic_tree.py: Scripts to run the baseline distributed decision tree (DDT) on MIMIC-II dataset.
  • results/: Directory to store output and results from the project.

Acknowledgement

The local client model is built based on the entropy-lens (https://github.com/pietrobarbiero/entropy-lens). We hereby greatly thank the authors of entropy-lens for their clear code and novel research.

About

Open-source code for AAAI-24 paper "LR-XFL: Logical Reasoning-based Explainable Federated Learning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages