Giter VIP home page Giter VIP logo

comma's Introduction

COMMA: Co-Articulated Multi-Modal Learning [AAAI 2024]

Official implementation of the paper "COMMA: Co-Articulated Multi-Modal Learning".


Main Contributions

  1. Correlated prompt generation: The prompts of the vision and language branches in these methods are usually separated or uni-directionally correlated. To better guide and align the representations of two branches, we present to compute prompts based on preceding prompts of both branches to aggregate beneficial multi-modal information.
  2. Alleviating Forgetting Generic Knowledge: The essential generic knowledge learned in the pretraining stage is partly forgotten in the fine-tuning process. We propose to alleviate forgetting generic knowledge by minimizing the feature discrepancy between the learnable prompts and hand-crafted prompts of the pretrained CLIP in the last several layers.

โ˜‘๏ธ Supported Methods

Method Paper Configs Training Scripts
MaPLe CVPR 2023 link link
CoOp IJCV 2022 link link
Co-CoOp CVPR 2022 link link
Deep Vision Prompting - link link
Deep Language Prompting - link link
Independent V-L Prompting - link link
COMMA (ours) AAAI2024 link link

Results

MaPLe in comparison with existing methods

Results reported below show accuracy for base and novel classes for across 11 recognition datasets averaged over 3 seeds.

Name Base Acc. Novel Acc. HM Epochs
CLIP 69.34 74.22 71.70 -
CoOp 82.69 63.22 71.66 200
CoCoOp 80.47 71.69 75.83 10
KgCoOp 80.73 73.60 77.00 10
MaPLe 82.28 75.14 78.55 5
COMMA (ours) 82.42 75.87 79.04 5

Installation

For installation and other package requirements, please follow the instructions detailed in INSTALL.md.

Data preparation

Please follow the instructions at DATASETS.md to prepare all datasets.

Training and Evaluation

Please refer to the RUN.md for detailed instructions on training and evaluating.

Acknowledgements

Our code is based on Co-CoOp/CoOp and MaPLe repositories. We thank the authors for releasing their code.

comma's People

Contributors

hulianyuyy avatar

Stargazers

Huo avatar Jeff Carpenter avatar Alexandridis, Konstantinos Panagiotis avatar Shunyu Yao avatar

Watchers

Kostas Georgiou avatar  avatar

comma's Issues

Method consultation

Excuse me, I would like to ask if this method is a combination of MaPLe and KgCoOp?

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.