Home

Awesome

PSL Engine

This engine is created by building up on the theory presented in the Hinge-Loss Markov Random Fields and Probabilistic Soft Logic. Even though the authors have already published a open-sourced PSL engine, our version offers several advantages:

Citation

If you use or modify this engine for your project, please do not forget to cite:

@inproceedings{DBLP:conf/aaai/AdityaYB18,
   author    = {Somak Aditya and Yezhou Yang and Chitta Baral},
   title     = {Explicit Reasoning over End-to-End Neural Architectures for Visual Question Answering},
   booktitle = {Proceedings of the Thirty-Second {AAAI} Conference on Artificial Intelligence,
                New Orleans, Louisiana, USA, February 2-7, 2018},
   year      = {2018},
   crossref  = {DBLP:conf/aaai/2018},
   url       = {https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/16446},
   timestamp = {Thu, 03 May 2018 17:03:19 +0200},
   biburl    = {https://dblp.org/rec/bib/conf/aaai/AdityaYB18},
   bibsource = {dblp computer science bibliography, https://dblp.org}
}

Pre-requisites:

For ConceptNet and Word2vec, download conceptnet-numberbatch-201609_en_word.txt and GoogleNews-vectors-negative300.bin and change the paths in W2VPredicateSimilarity.py.

To make changes and run from command Line:

Run the following commands:


To Run VQA-model Inference from command-line:

Use:


To Run generic-models Inference from command-line:

Use:

To Run weight-learning from command-line:

Author Affiliation:

The code is developed by Somak Aditya, when he was working as a Graduate Research Assistant in Prof. Chitta Baral's lab at CIDSE, Arizona State Univerisity.

Disclaimer