Skip to content

IIP-Lab-XDU/QuAC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuAC: Quality-adaptive Activation

Quality-Adaptive Activation for Degraded Image Understanding

Paper project Python 3.8+ PyTorch 1.9+

QuAC is a novel Quality-adaptive Activation that enables deep networks to dynamically adjust feature representations based on input image quality, significantly enhancing robustness against various degradations.

Abstract

Degraded image understanding remains a significant challenge in computer vision. To mitigate the domain shift between high-quality and low-quality image distributions, we propose an adaptation approach based on activation functions rather than adjusting convolutional parameters. First, inspired by physiological findings in the human visual system, we introduce Quality-adaptive Activation (QuAC), a novel concept that automatically adjusts neuron activations based on input image quality to enhance essential semantic representations. Second, we implement Quality-adaptive meta-ACON (Q-ACON), which incorporates hyperparameters learned from image quality assessment functions. Q-ACON is efficient, flexible, and plug-and-play. Extensive experiments demonstrate that it consistently improves the performance of various networks—including convolutional neural networks, transformers, and diffusion models—against challenging degradations across multiple vision tasks, such as semantic segmentation, object detection, image classification, and image restoration. Furthermore, QuAC integrates effectively with existing techniques like knowledge distillation and image restoration, and can be extended to other activation functions.

Pipeline

fig_quac_pipeline

✨ Key Features

  • 🔌 Plug-and-Play: Seamlessly integrated into existing CNNs as a replacement for or an addition to standard activation layers.
  • 🎯 Quality-aware: Employs IQA methods (e.g., BRISQUE, CONTRIQUE) to extract image quality features
  • ⚡ Effective & Efficient: Significant performance gains with minimal computational overhead
  • 🎯 Versatile: Proven effective in segmentation, classification, detection, and image restoration

📈 Visual Results

Activation Distribution Alignment

QuAC reduces the activation distribution gap between HQ and LQ images (KLD: 0.216→0.205)

fig_mtv_dist

Qualitative Comparisons

QuAC produces clearer structures and fewer artifacts in image restoration tasks

fig_ast_sinsr

QuAC generates segmentation results with clearer boundaries and more complete structures in complex scenes, significantly outperforming other methods.

fig_sam

QuAC improves segmentation accuracy on degraded images under challenging scenarios.

fig_face_lq_hq

🚀 Quick Start

Installation

git clone https://github.com/IIP-Lab-XDU/QuAC.git
cd QuAC
pip install -r requirements.txt

📚 Citation

If you find our work useful in your research, please cite our paper

🙏 Acknowledgements

We would like to express our gratitude to the following projects ACON and CONTRIQUE

📢 Contact

For questions or discussions, please open an issue or contact: wwhan@stu.xidian.edu.cn

About

Quality-Adaptive Activation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages