Code Monkey home page Code Monkey logo

indigo's Introduction

INDIGO: Intrinsic Multimodality for Domain Generalization (ECCV'22- OOD-CV Workshop)

Puneet Mangla*, Shivam Chandhok*, Milan Aggarwal, Vineeth N Balasubramanian, Balaji Krishnamurthy (*Equal Contribution)

Paper Link

Abstract: For models to generalize under unseen domains (a.k.a do- main generalization), it is crucial to learn feature represen- tations that are domain-agnostic and capture the underlying semantics that makes up an object. Recent advances towards weakly supervised vision-language models (such as CLIP) have shown their ability on object understanding by captur- ing semantic characteristics that generalize under different domains. Hence, it becomes important to investigate how the semantic knowledge present in their representations can be effectively incorporated and utilized for domain generaliza- tion. Motivated from this, we study how semantic informa- tion from existing pre-trained multimodal networks can be leveraged in an ”intrinsic” way to make systems generalize under unseen domains. We propose IntriNsic multimodality for DomaIn GeneralizatiOn (INDIGO), a simple and elegant framework that leverages the intrinsic modality present in pre-trained multimodal networks to enhance generalization to unseen domains at test-time. We experiment on several Do- main Generalization settings (ClosedDG, OpenDG, and Lim- ited sources) and show state-of-the-art generalization perfor- mance on unseen domains. Further, we provide a thorough analysis to develop a holistic understanding of INDIGO.

intro_image

Usage & Data

Refer to requirements.txt for installing all python dependencies. Install CLIP pip install ./CLIP

Arguments:

--target <Target Domain> --name <Name of experiment> --model <Backbone model> --teacher <Teacher model >

Class Token Distillation Training Approach

CUDA_VISIBLE_DEVICES=2,3 python main.py --dg --target clipart --config_file configs/zsl+dg/clipart.json --dataset domainnet --name test --runs 5 --method class_token_distill --model vit_small_hybrid --teacher clip_vit_b

DeiT Distillation Training Approach

Load teacher model using main.py and then run CUDA_VISIBLE_DEVICES=2,3 python main.py --dg --target clipart --config_file configs/zsl+dg/clipart.json --dataset domainnet --name test --runs 5 --method distill --model vit_small_hybrid

Standard Training Approach

CUDA_VISIBLE_DEVICES=2,3 python main.py --dg --target clipart --config_file configs/zsl+dg/clipart.json --dataset domainnet --name test --runs 5 --method standard --model vit_small_hybrid

Results

Results of our proposed method INDIGO on Domain Generalization and OpenDG along with attention visualizations and analysis

Domain Generalization (ClosedDG) performance of INDOGO in comparison with state-of art Domain Generalization methods on DomainNet and Office-Home Datasets.

Results


Attention Visualizations

Results


Open Domain Generalization (OpenDG) performance of INDOGO in comparison with state-of art Domain Generalization methods on benchmark datasets Results


Analysis and Ablation Studies(OpenDG)

Results


Results


Results


Citation

@inproceedings{indigo2022,
    title={INDIGO: Intrinsic Multimodality for Domain Generalization}, 
    author={P Mangla and S Chandhok and M Aggarwal and VN Balasubramanian and B Krishnamurthy},
    booktitle={ECCV'22- OOD-CV Workshop},
    month = {June},
    year={2022}
  }

Acknowledgements

Our code is based on CuMix and timm repositories. We thank the authors for releasing their code. If you use our model, please consider citing these works as well.

indigo's People

Contributors

shivam-chandhok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.