DAPA is a dynamic aggregation technique which assigns different weights to each of the base models. However, unlike traditional dynamic aggregation techniques which weight the contribution of each base model differently based on the performance during the training process, DAPA adaptively adjusts the weights for each base model based on the reliability score associated with the instance of the document under consideration.
HTX method provides a hierarchical four-tiered explanation on how each model contributes to the final prediction and the impact of reliability factors on the models' performance. Tier 1 identifies the top contributing models; Tier 2 identifies the type of network (\emph{i.e.} content
- Code was developed using python 3 on Ubuntu linux
- Install python requirements
pip3 install -r requirements.txt
- Run the Python script:
python3 dapa.py
2 demo files containing data for a number of documents
-
dataset data
- Merged base model probabilities for each document
-
metadata
- Reliability factors information for each document
-
Reliability factor - word_count
- This is where the lookup table reliability scores are derived
- Each reliability factor has its own figure to derive the scores. These ones are calculated for each dataset using the entire database.
Output files of the dapa code
-
Aggregator output
- Probability of falsehood for each document (0 True / 1 False)
- For a number of different models
-
Explainer Data
- Hierarchical Tiered eXplanation for each document