Skip to content

GitHub repository for our project "Complexity Experts are Task-Discriminative Learners for Any Image Restoration"

License

Notifications You must be signed in to change notification settings

eduardzamfir/MoCE-IR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MoCE-IR

Complexity Experts are Task-Discriminative Learners for Any Image Restoration

1 University of Würzburg, Germany - 2 INSAIT Sofia University, Bulgaria - 3 Shanghai Jiao Tong University, China

paper project

Latest

  • 11/28/2024: Repository is created.

Method


Abstract Recent advancements in all-in-one image restoration models have revolutionized the ability to address diverse degradations through a unified framework. However, parameters tied to specific tasks often remain inactive for other tasks, making mixture-of-experts (MoE) architectures a natural extension. Despite this, MoEs often show inconsistent behavior, with some experts unexpectedly generalizing across tasks while others struggle within their intended scope. This hinders leveraging MoEs' computational benefits by bypassing irrelevant experts during inference. We attribute this undesired behavior to the uniform and rigid architecture of traditional MoEs. To address this, we introduce ``complexity experts" -- flexible expert blocks with varying computational complexity and receptive fields. A key challenge is assigning tasks to each expert, as degradation complexity is unknown in advance. Thus, we execute tasks with a simple bias toward lower complexity. To our surprise, this preference effectively drives task-specific allocation, assigning tasks to experts with the appropriate complexity. Extensive experiments validate our approach, demonstrating the ability to bypass irrelevant experts during inference while maintaining superior performance. The proposed MoCE-IR model outperforms state-of-the-art methods, affirming its efficiency and practical applicability.

Citation

If you find our work helpful, please consider citing the following paper and/or ⭐ the repo.

@misc{zamfir2024complexityexperts,
      title={Complexity Experts are Task-Discriminative Learners for Any Image Restoration}, 
      author={Eduard Zamfir and Zongwei Wu and Nancy Mehta and Yuedong Tan and Danda Pani Paudel and Yulun Zhang and Radu Timofte},
      year={2024},
      eprint={2411.18466},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
}

Acknowledgements

This code is built on PromptIR and AirNet.

About

GitHub repository for our project "Complexity Experts are Task-Discriminative Learners for Any Image Restoration"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published