Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

KamalEngine

> 编程语言
Open source

Knowledge Amalgamation Engine

100 stars0 likes0 views
WebsiteGitHub

About

Knowledge Amalgamation Engine

Introduction

KAmalEngine (KAE) aims at building a lightweight algorithm package for Knowledge Amalgamation, Knowledge Distillation and Model Transferability Estimation.

Features:

  • Algorithms for knowledge amalgamation and distillation
  • Deep model transferability estimation based on attribution maps
  • Predefined callbacks & metrics for evaluation and visualization
  • Easy-to-use tools for multi-tasking training, e.g. synchronized transformation

Table of contents

  • Introduction
  • Table of contents
  • Quick Start
  • Algorithms
    • 1. Knowledge Amalgamation
    • 2. Knowledge Distillation
    • 3. Model Transferability
  • Transferability Graph
  • Authors

Quick Start

Please follow the instructions in QuickStart.md for the basic usage of KAE. More examples can be found in examples, including knowledge amalgamation, knowledge distillation, transferability and model slimming.

Algorithms

1. Knowledge Amalgamation

Amalgamating Knowledge towards Comprehensive Classification

Amalgamating Knowledge towards Comprehensive Classification (AAAI 2019)

@inproceedings{shen2019amalgamating,
  author={Shen, Chengchao and Wang, Xinchao and Song, Jie and Sun, Li and Song, Mingli},
  title={Amalgamating Knowledge towards Comprehensive Classification},
  booktitle={AAAI Conference on Artificial Intelligence (AAAI)},
  pages={3068--3075},
  year={2019}
}

Scripts can be found in examples/amalgamation/layerwise_ka

Customizing Student Networks From Heterogeneous Teachers via Adaptive Knowledge Amalgamation

Customizing Student Networks From Heterogeneous Teachers via Adaptive Knowledge Amalgamation (ICCV 2019)

@inproceedings{shen2019customizing,
  title={Customizing student networks from heterogeneous teachers via adaptive knowledge amalgamation},
  author={Shen, Chengchao and Xue, Mengqi and Wang, Xinchao and Song, Jie and Sun, Li and Song, Mingli},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  pages={3504--3513},
  year={2019}
}

Scripts can be found in examples/amalgamation/customize_ka

Student Becoming the Master: Knowledge Amalgamation for Joint Scene Parsing, Depth Estimation, and More

Student Becoming the Master: Knowledge Amalgamation for Joint Scene Parsing, Depth Estimation, and More (CVPR 2019)

@inproceedings{ye2019student,
  title={Student Becoming the Master: Knowledge Amalgamation for Joint Scene Parsing, Depth Estimation, and More},
  author={Ye, Jingwen and Ji, Yixin and Wang, Xinchao and Ou, Kairi and Tao, Dapeng and Song, Mingli},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  pages={2829--2838},
  year={2019}
}

Knowledge Amalgamation from Heterogeneous Networks by Common Feature Learning

Knowledge Amalgamation from Heterogeneous Networks by Common Feature Learning (IJCAI 2019)

Feature Space Common Space
@inproceedings{luo2019knowledge,
  title={Knowledge Amalgamation from Heterogeneous Networks by Common Feature Learning},
  author={Luo, Sihui and Wang, Xinchao and Fang, Gongfan and Hu, Yao and Tao, Dapeng and Song, Mingli},
  booktitle={Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI)},
  year={2019},
}

Collaboration by competition: Self-coordinated knowledge amalgamation for multi-talent student learning

Collaboration by competition: Self-coordinated knowledge amalgamation for multi-talent student learning (ECCV 2020)

@inproceedings{luo2020collaboration,
  title={Collaboration by competition: Self-coordinated knowledge amalgamation for multi-talent student learning},
  author={Luo, Sihui and Pan, Wenwen and Wang, Xinchao and Wang, Dazhou and Tang, Haihong and Song, Mingli},
  booktitle={Computer Vision--ECCV 2020: 16th European Conference, Glasgow, UK, August 23--28, 2020, Proceedings, Part VI 16},
  pages={631--646},
  year={2020},
  organization={Springer}
}

Scripts can be found in examples/knowledge_amalgamation/soka

Knowledge Amalgamation for Object Detection With Transformers

Knowledge Amalgamation for Object Detection With Transformers (TIP 2021)

@article{zhang2023knowledge,
  title={Knowledge Amalgamation for Object Detection With Transformers},
  author={Zhang, Haofei and Mao, Feng and Xue, Mengqi and Fang, Gongfan and Feng, Zunlei and Song, Jie and Song, Mingli},
  journal={IEEE Transactions on Image Processing},
  volume={32},
  pages={2093--2106},
  year={2023},
  publisher={IEEE}
}

Scripts can be found in examples/amalgamation/transformer_ka

FedKA: Federated Selective Aggregation for Knowledge Amalgamation

Federated Selective Aggregation for Knowledge Amalgamation (CHIP 2022)

@article{XIE2023100053,
  title = {Federated selective aggregation for on-device knowledge amalgamation},
  journal = {Chip},
  volume = {2},
  number = {3},
  pages = {100053},
  year = {2023},
  issn = {2709-4723},
  doi = {https://doi.org/10.1016/j.chip.2023.100053},
  url = {https://www.sciencedirect.com/science/article/pii/S2709472323000163},
  author = {Donglin Xie and Ruonan Yu and Gongfan Fang and Jiaqi Han and Jie Song and Zunlei Feng and Li Sun and Mingli Song}
}

2. Knowledge Distillation

Hearing Lips: Improving Lip Reading by Distilling Speech Recognizers

Hearing Lips: Improving Lip Reading by Distilling Speech Recognizers (AAAI 2020)

@inproceedings{zhao2020hearing,
  title={Hearing lips: Improving lip reading by distilling speech recognizers},
  author={Zhao, Ya and Xu, Rui and Wang, Xinchao and Hou, Peng and Tang, Haihong and Song, Mingli},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={34},
  number={04},
  pages={6917--6924},
  year={2020}
}

Scripts can be found in examples/distillation/libs

Progressive Network Grafting for Few-Shot Knowledge Distillation

Progressive Network Grafting for Few-Shot Knowledge Distillation (AAAI 2021)

@inproceedings{shen2021progressive,
  title={Progressive network grafting for few-shot knowledge distillation},
  author={Shen, Chengchao and Wang, Xinchao and Yin, Youtan and Song, Jie and Luo, Sihui and Song, Mingli},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={35},
  number={3},
  pages={2541--2549},
  year={2021}
}

Scripts can be found in /examples/distillation/graft_kd

KDExplainer: A Task-oriented Attention Model for Explaining Knowledge Distillation

KDExplainer: A Task-oriented Attention Model for Explaining Knowledge Distillation (IJCAI 2021)

…

Scripts can be found in /examples/distillation/kd_explainer

CMI: Contrastive Model Inversion for Data-Free Knowledge Distillation

Contrastive Model Inversion for Data-Free Knowledge Distillation (IJCAI 2021)

…

Scripts can be found in examples/distillation/cmi

MosaicKD: Mosaicking to Distill: Knowledge Distillation from Out-of-Domain Data

Mosaicking to Distill: Knowledge Distillation from Out-of-Domain Data (NeurIPS 2021)

@article{fang2021mosaicking,
  title={Mosaicking to distill: Knowledge distillation from out-of-domain data},
  author={Fang, Gongfan and Bao, Yifan and Song, Jie and Wang, Xinchao and Xie, Donglin and Shen, Chengchao and Song, Mingli},
  journal={Advances in Neural Information Processing Systems},
  volume={34},
  pages={11920--11932},
  year={2021}
}

FastDFKD: Up to 100× Faster Data-free Knowledge Distillation

Up to 100× Faster Data-free Knowledge Distillation (AAAI 2022)

@inproceedings{fang2022up,
  title={Up to 100x faster data-free knowledge distillation},
  author={Fang, Gongfan and Mo, Kanya and Wang, Xinchao and Song, Jie and Bei, Shitao and Zhang, Haofei and Song, Mingli},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={36},
  number={6},
  pages={6597--6604},
  year={2022}
}

Data-Free Adversarial Distillation

Data-Free Adversarial Distillation

@article{fang2019data,
  title={Data-free adversarial distillation},
  author={Fang, Gongfan and Song, Jie and Shen, Chengchao and Wang, Xinchao and Chen, Da and Song, Mingli},
  journal={arXiv preprint arXiv:1912.11006},
  year={2019}
}

Scripts can be found in examples/distillation/dfkd

Safe Distillation Box

Safe Distillation Box (AAAI 2022)

@inproceedings{ye2022safe,
  title={Safe distillation box},
  author={Ye, Jingwen and Mao, Yining and Song, Jie and Wang, Xinchao and Jin, Cheng and Song, Mingli},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={36},
  number={3},
  pages={3117--3124},
  year={2022}
}

Scripts can be found in examples/distillation/sdb

Spot-adaptive Knowledge Distillation

Spot-adaptive Knowledge Distillation (TIP 2022)

@article{song2022spot,
  title={Spot-adaptive knowledge distillation},
  author={Song, Jie and Chen, Ying and Ye, Jingwen and Song, Mingli},
  journal={IEEE Transactions on Image Processing},
  volume={31},
  pages={3359--3370},
  year={2022},
  publisher={IEEE}
}

Scripts can be found in examples/distillation/sakd

Tree-like Decision Distillation

Tree-like Decision Distillation (CVPR 2021)

@inproceedings{song2021tree,
  title={Tree-like decision distillation},
  author={Song, Jie and Zhang, Haofei and Wang, Xinchao and Xue, Mengqi and Chen, Ying and Sun, Li and Tao, Dacheng and Song, Mingli},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={13488--13497},
  year={2021}
}

Script can be found in examples/distillation/tdd

Context Correlation Distillation for Lip Reading

[Con

Issues· 5 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonknowledge-amalgamationmodel-reusemodel-transferability

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言