Giter Site home page Giter Site logo

cross-modal-adapter's Introduction

Cross-Modal-Adapter

This repository wiil be the official Pytorch implementation for Cross-Modal Adapter.

Title:  Cross-Modal Adapter for Text-Video Retrieval
Authors:  Haojun Jiang, Jianke Zhang, Rui Huang, Chunjiang Ge, Zanlin Ni
     Jiwen Lu, Jie Zhou, Shiji Song, Gao Huang (Corresponding Author)
Institute: Tsinghua University, BNRist and Beijing Institute of Technology
Publish:   arXiv preprint (arXiv 2211.09623)
Contact:  jhj20 at mails dot tsinghua dot edu dot cn

Overview

In this paper, we present a novel Cross-Modal Adapter for parameter-efficient fine-tuning. Although surprisingly simple, our approach has three notable benefits: (1) reduces 99.6% of fine-tuned parameters, and alleviates the problem of overfitting, (2) saves approximately 30% of training time, and (3) allows all the pre-trained parameters to be fixed, enabling the pre-trained model to be shared across datasets.

Results

1.Text2video and video2text retrieval resutls on MSR-VTT.

2. Text2video and video2text retrieval resutls on MSVD, VATEX, DiDeMo, and ActivityNet.

3. Training efficiency.

4. Visualizations.

Acknowledgment

Our implementation is mainly based on the following codebases. We gratefully thank the authors for their wonderful works.

  • CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval.
  • hyperformer: Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworks.

cross-modal-adapter's People

Contributors

jianghaojun avatar leaplabthu avatar

Stargazers

Jianke Zhang avatar

Watchers

Jianke Zhang 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.