Welcome to the official implementation of "Deep Dependency Networks and Advanced Inference Schemes for Multi-Label Classification." In this repository, we present the key details of our research work on enhancing multi-label classification using Deep Dependency Networks (DDNs) and advanced inference techniques.
We present a unified framework called deep dependency networks (DDNs) that combines dependency networks and deep learning architectures for multi-label classification, with a particular emphasis on image and video data. The primary advantage of dependency networks is their ease of training, in contrast to other probabilistic graphical models like Markov networks. In particular, when combined with deep learning architectures, they provide an intuitive, easy-to-use loss function for multi-label classification. A drawback of DDNs compared to Markov networks is their lack of advanced inference schemes, necessitating the use of Gibbs sampling. To address this challenge, we propose novel inference schemes based on local search and integer linear programming for computing the most likely assignment to the labels given observations. We evaluate our novel methods on three video datasets (Charades, TACoS, Wetlab) and three image datasets (MS-COCO, PASCAL VOC, NUS-WIDE), comparing their performance with (a) basic neural architectures and (b) neural architectures combined with Markov networks equipped with advanced inference and learning techniques. Our results demonstrate the superiority of our new DDN methods over the two competing approaches.
- Clone this repo.
- Use to requirements file (charades, wetlab and TaCOS, coco, NUS-WIDE and PASCAL VOC) given in the corresponding directories to install the packages (please use conda for this). We also provide the requirements files to install the dependencies for all the baselines in their corresponding folders.
- Download the datasets and the pre-trained models. More details about the baselines are given in MODEL_ZOO.md files (MLAC and MLIC ).
- Use the requirement file for the Advanced Inference Schemes
- Train and perform Inferences DDN. More details are given in GETTING_STARTED.md files in the directories.
The following things are supported for this project -
- Train the DDNs jointly for all the datasets.
- Perform the following inference strategies
- Gibbs Sampling
- Local Search Based Methods
- Multi-Linear Integer Programming
If this work is helpful in your research, please consider starring ⭐ us and citing:
@inproceedings{arya_2024_dependencynetworksa,
title = {Deep {{Dependency Networks}} and {{Advanced Inference Schemes}} for {{Multi-Label Classification}}},
booktitle = {Proceedings of {{The}} 27th {{International Conference}} on {{Artificial Intelligence}} and {{Statistics}}},
author = {Arya, Shivvrat and Xiang, Yu and Gogate, Vibhav},
year = {2024},
month = apr,
pages = {2818--2826},
publisher = {PMLR},
issn = {2640-3498},
urldate = {2024-04-21},
}