Giter Site home page Giter Site logo

ood_audio's Introduction

by Zaharah Bukhsh, Aaqib Saeed @ 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).

Abstract

Out-of-distribution (OOD) detection is concerned with identifying data points that do not belong to the same distribution as the model's training data. For the safe deployment of predictive models in a real-world environment, it is critical to avoid making confident predictions on OOD inputs as it can lead to potentially dangerous consequences. However, OOD detection largely remains an under-explored area in the audio (and speech) domain. This is despite the fact that audio is a central modality for many tasks, such as speaker diarization, automatic speech recognition, and sound event detection. To address this, we propose to leverage feature-space of the model with deep k-nearest neighbors to detect OOD samples. We show that this simple and flexible method effectively detects OOD inputs across a broad category of audio (and speech) datasets. Specifically, it improves the false positive rate (FPR@TPR95) by 17% and the AUROC score by 7% than other prior techniques.


We provide an example of running an OOD detection with Deep-kNN.

1. Installation

Install required packages:

Tensorflow

FAISS

2. Extract features with a pretrained model (Optional):

The pretrained MobileNet (YAMNet) models are available from this link. Download and put them under models directory.

python3 fe.py

Download precomputed features from here and put them under features directory.

3. Run OOD detection with Deep kNN:

python3 run_ood.py

Citation

@article{bukhsh2022out,
  title={On Out-of-Distribution Detection for Audio with Deep Nearest Neighbors},
  author={Bukhsh, Zaharah and Saeed, Aaqib},
  journal={arXiv preprint arXiv:2210.15283},
  year={2022}
}

ood_audio's People

Contributors

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