“…In general, the integration of domain knowledge can be done 1) using pretrained models and transferring knowledge (Devlin et al, 2018;Mirzaee et al, 2021), 2) designing architectures that integrate knowledge expressed in knowledge bases (KB) and knowledge graphs (KG) in a way that the KB/KG context influences the learned representations (Yang and Mitchell, 2019;Sun et al, 2018), or 3) using the knowledge explicitly and logically as a set of constrains or preferences over the inputs or outputs (Li and Srikumar, 2019a;Nandwani et al, 2019b;Muralidhar et al, 2018;Stewart and Ermon, 2017). Our current library aims at facilitating the third approach.…”