Coder Social home page Coder Social logo

he-changhao / 2024-mm-vital Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 1.48 MB

[ACM MM 2024] Code for the paper "Robust Variational Contrastive Learning for Partially View-unaligned Clustering"

License: MIT License

Python 100.00%
contrastive-loss false-negatives multi-view-clustering partially-view-unaligned-clustering

2024-mm-vital's Introduction

2024-MM-VITAL

[ACM MM 2024] Code for the paper "Robust Variational Contrastive Learning for Partially View-unaligned Clustering"

Installation

  1. Clone the repository:

    git clone https://github.com/He-Changhao/2024-MM-VITAL
  2. Install the Python dependencies:

    numpy>=1.26.3
    scipy>=1.11.4
    scikit-learn>=1.4.0
    munkres>=1.1.4
    torch>=1.12.1
    matplotlib>=3.8.2
    pyyaml>=6.0.1
    

Dataset and Configuration

The datasets used in our paper can be downloaded from Google Drive. Each dataset's configuration is written in a .yaml file located in the config folder. The parameters are explained in the get_args_parser() function in run.py. The structure of the datasets and their corresponding .yaml files should be as follows:

VITAL-path
    └─── datasets
        │   CUB.mat
        │   Deep Animal.mat
        │   Deep Caltech-101.mat
        │   MNIST-USPS.mat
        │   NoisyMNIST.mat
        │   NUS-WIDE.mat
        │   Scene-15.mat
        │   WIKI.mat
    └─── config
        │   CUB.yaml
        │   Deep Animal.yaml
        │   Deep Caltech-101.yaml
        │   MNIST-USPS.yaml
        │   NoisyMNIST.yaml
        │   NUS-WIDE.yaml
        │   Scene-15.yaml
        │   WIKI.yaml

If you need to add new datasets for training, please modify dataloader.py according to the existing dataset format and add the corresponding .yaml file to the config directory.

Usage

All dataset parameters can be set by modifying the ./config/*.yaml files. After editing the configuration file, you can train the model using the following command:

python vital_path/run.py --dataset_name 'CUB'

Experiment Results

The partially aligned (50%) clustering performance:

The fully aligned (100%) clustering performance:

Citation

If you find our work useful in your research, please consider citing:

@inproceedings{he2024robust,
  title={Robust Variational Contrastive Learning for Partially View-unaligned Clustering},
  author={He, Changhao and Zhu, Hongyuan and Hu, Peng and Peng, Xi},
  booktitle={ACM Multimedia 2024}
}

2024-mm-vital's People

Contributors

he-changhao avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.