Skip to content

Francesco-Sovrano/From-Philosophy-to-Interfaces-an-Explanatory-Method-and-a-Tool-Inspired-by-Achinstein-s-Theory-of-E

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

From Philosophy to Interfaces: an Explanatory Method and a Tool Inspired by Achinstein’s Theory of Explanation

In this repository you'll find the source code and the data used in the experiments of our paper: "From Philosophy to Interfaces: an Explanatory Method and a Tool Inspired by Achinstein’s Theory of Explanation". This paper has been presented at ACM IUI 2021, the 26th annual meeting of the intelligent interfaces, in April the 15th.

Installation

Before installation, be sure that virtualenv and pip are both available to your local python environment. To install virtualenv run pip install virtualenv.

The Code

Extra Documentation

We share with you:

  • a pitch summarising the salient aspects of the proposed technology,
  • a brief video presenting the live demo.

How to Run the Demos (after Installation)

Each demo is made of different components:

  • The baseline has 2 components:
    • aix, containing the back-end of the credit approval system: the code for training and deploying the neural network and CEM.
    • yai, containing the front-end of the credit approval system: the interface.
  • The alternative has the same components of the baseline, but the following extra:
    • oke, containing the back-end of the explanatory AI used for the generation of user-centred explanations.

You can run all the components together by running the scripts:

  • software/yai_alternative/server.sh 8080 to start the alternative to the baseline, at port 8080.
    • The first time you run it may take a while, training the neural network for credit approval (therefore generating the npz and h5 files) and downloading the pre-trained language models for summarisation and question-answer retrieval (a few GB each one).
    • Log files are saved in the aix, oke and yai folders.
  • software/yai_baseline/server.sh 8000 to start the baseline at port 8000.
    • The first time you run it may take a while, training the neural network for credit approval (therefore generating the npz and h5 files).
    • Log files are generated in the aix and yai folders.

For debugging or other reasons, you can run the components separately by executing the following command python3 server.py 8080 (replace 8080 with the port number you chose) from within the directory of the component.

The User Study

Citation

Please use the following bibtex entry:

@inproceedings{sovrano2021philosophy,
  title={From Philosophy to Interfaces: an Explanatory Method and a Tool Based on Achinstein's Theory of Explanation},
  author={Sovrano, Francesco and Vitali, Fabio},
  booktitle={Proceedings of the 26th International Conference on Intelligent User Interfaces},
  year={2021},
}

Contact

To report issues, use GitHub Issues. For other queries, contact Francesco Sovrano francesco.sovrano2@unibo.it