Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ganmodokix/concvae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConcVAE: Conceptual Representation Learning

This repository contains the official implementation of the ConcVAE models proposed in our paper "ConcVAE: Conceptual Representation Learning" (IEEE TNNLS 36(4)).

Our ConcVAE models, based on variational autoencoders (VAEs), are designed to learn data representations consisting of variables paired with verbal concepts. Each verbal concept includes a pair of antonyms, which represent the negative and positive directions of the representation variables.

这个代码库包含了我们在论文《ConcVAE: 概念表征学习》(IEEE TNNLS 36(4))中提出的ConcVAE模型的官方实现。

我们的ConcVAE模型基于变分自编码器(VAE)设计,旨在学习由与语言概念配对的变量组成的数据表征。每个语言概念都包含一对反义词,分别表示表征变量的负方向和正方向。

BibTeX Citation

Please cite our paper if you use this code.

@article{Togo2024,
    author   = {Togo, Ren and Nakagawa, Nao and Ogawa, Takahiro and Haseyama, Miki},
    title    = {Conc{VAE}: Conceptual Representation Learning},
    journal  = {{IEEE} Transactions on Neural Networks and Learning Systems},
    year     = {2025},
    volume   = {36},
    number   = {4},
    pages    = {7529-7541},
    keywords = {Representation learning;Task analysis;Natural languages;Feature extraction;Information science;Data models;Computational modeling;Deep learning;disentanglement;interpretable machine learning;representation learning;vision and language},
    doi      = {10.1109/TNNLS.2024.3404496}
}

Setup

We developed and tested this code in the environment below.

  • Ubuntu 20.04.4
  • NVIDIA GeForce RTX 2080 x1
  • Python 3.9.5 with venv
  • PyTorch 1.10.1+cu102
  • 32GB of RAM
  1. Install python & venv
    $ sudo apt update
    $ sudo apt upgrade
    $ sudo apt install python3.9 python3.9-dev python3.9-venv python3-tk
  2. Create an environment
    $ python -m venv .env
    $ source .env/bin/activate
  3. Install the dependencies We are using some third-party libraries of PyTorch.
    $ pip install -U pip
    $ pip install wheel
    $ pip install -r requirements.txt
  4. Try conceptual representation learning
    $ python train.py settings/concvae_celeba.yaml
    $ python train.py settings/concvae_getchu.yaml
    $ python train.py settings/concvae_mnist.yaml
    Some datasets requires to be manually downloaded.

About

Official implementation of "ConcVAE: Conceptual Representation Learning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages