Giter Club home page Giter Club logo

exvo's Introduction

Exploring the Effectiveness of Self-supervised Learning and Classifier Chains in Emotion Recognition of Nonverbal Vocalizations

Official implementation of the paper "Exploring the Effectiveness of Self-supervised Learning and Classifier Chains in Emotion Recognition of Nonverbal Vocalizations" accepted by the Few-Shot track of the ICML Expressive Vocalizations (ExVo) Competition 2022.

Abstract:
We present an emotion recognition system for nonverbal vocalizations (NVs) submitted to the ExVo Few-Shot track of the ICML Expressive Vocalizations Competition 2022. The proposed method uses self-supervised learning (SSL) models to extract features from NVs and uses a classifier chain to model the label dependency between emotions. Experimental results demonstrate that the proposed method can significantly improve the performance of this task compared to several baseline methods. Our proposed method obtained a mean concordance correlation coefficient (CCC) of $0.725$ in the validation set and $0.739$ in the test set, while the best baseline method only obtained $0.554$ in the validation set.

Ranking

Our work obtained the 1st place in the Fewshot-track. Our work also has the best emotion recognition performance on not only the Few-shot track but also the Multi-task track.

Setup

Please follow the following steps to setup your environment

  1. clone this repo
  2. install poetry
  3. run poetry install
  4. enter the virtual env by poetry shell
  5. prepare the data (wav files and the features provided by the organizer) in your local disk

Preprocess

  1. trim silence in wav files
python3 preprocess.py --src_dir /path/to/wav --tgt_dir /path/to/output/dir
  1. create filelists
python3 create_splits.py --data_file_path=/path/to/data_info.csv --save_path=./filelists
  1. create test filelists (optional)

If you want to fine-tune the model on test samples, please run:

python3 create_splits.py --data_file_path=/path/to/data_info.fewshot.csv --save_path=./filelists --test
  1. create cross-validation filelists (optional)

If you want to do cross-validation, please run:

python3 create_cv.py

Training

Run the following cmd to train the model.

python3 train.py

This will train the model with default setting using Wav2vec-base as feature extractor and linear classifier chain as the predictor. If everything goes well, you should get a mean CCC of about 0.67 on the validation set.

If you want to train other models or modify the parameters, please refer the config files under the config dir.

Cross-validation

git checkout cv
python3 cv.py

This will run cross-validation with default setting

Citation

Please kindly cite our work if you find our paper or code is helpful for you.

@article{detai2022exvo,
  title={Exploring the Effectiveness of Self-supervised Learning and Classifier Chains in Emotion Recognition of Nonverbal Vocalizations},
  author={Detai, Xin and Shinnosuke, Takamichi and Hiroshi, Saruwatari},
  journal={arXiv preprint arXiv:2206.10695},
  year={2022}
}

LICENCE

MIT

exvo's People

Contributors

aria-k-alethia 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.