feat: Implement Graph Pruning Defense and Evaluation Script#23
feat: Implement Graph Pruning Defense and Evaluation Script#23AlishThapa wants to merge 7 commits intoLabRAI:devfrom
Conversation
|
Could you please complete the implementation by adding the metrics from the original paper, namely TCA, ECA, TBA, EBA, and fidelity? |
…aluation of backdoor watermarking
…aluation of backdoor watermarking
|
I've completed the work on this PR. This includes the implementation of the Graph Pruning Defense Enhancements During development, I found that the TCA, TBA, and EBA are specific to backdoor-based defenses and they are not applicable to the graph pruning mechanism, which only removes edges. Therefore, I have refactored the GraphPruningDefense and its evaluation script to focus on the metrics that are meaningful for this context:
The updated evaluation script (evaluate_graph_pruning.py) now generates an improved summary plot that visualizes both accuracy and fidelity, providing much richer insights into the effects of pruning. New: Backdoor Watermarking Evaluation A comprehensive summary plot that visualizes the final results across multiple datasets is also added. In summary, this PR now delivers two distinct experiments: a refined analysis of Graph Pruning and a new, robust evaluation pipeline for Backdoor Watermarking. |


📦 Pull Request Template
📋 Summary
This pull request introduces a new defense mechanism, GraphPruningDefense, to the PyGIP framework.
This PR includes:
✅ Checklist
main🧠 Additional Context (Optional)