SPFlow: An Easy and Extensible Library for Deep Probabilistic Learning using Sum-Product Networks
TU Darmstadt(达姆施塔特工业大学);Max-Planck-Institute(马克斯-普朗克研究所);University of Cambridge(剑桥大学);University of Waterloo(滑铁卢大学);University of Bari “Aldo Moro”(巴里大学“阿尔多·莫罗”)
Alejandro Molina, Antonio Vergari, Karl Stelzner, Robert Peharz, Pranav Subramani, Nicola Di Mauro, Pascal Poupart, Kristian Kersting
We introduce SPFlow, an open-source Python library providing a simple interface to inference, learning and manipulation routines for deep and tractable probabilistic models called Sum-Product Networks (SPNs). The library allows one to quickly create SPNs both from data and through a domain specific language (DSL). It efficiently implements several probabilistic inference routines like computing marginals, conditionals and (approximate) most probable explanations (MPEs) along with sampling as well as utilities for serializing, plotting and structure statistics on an SPN. Moreover, many of the algorithms proposed in the literature to learn the structure and parameters of SPNs are readily available in SPFlow. Furthermore, SPFlow is extremely extensible and customizable, allowing users to promptly distill new inference and learning routines by injecting custom code into a lightweight functional-oriented API framework. This is achieved in SPFlow by keeping an internal Python representation of the graph structure that also enables practical compilation of an SPN into a TensorFlow graph, C, CUDA or FPGA custom code, significantly speeding-up computations.
DIG: A Turnkey Library for Diving into Graph Deep Learning Research
Texas A&M University(得克萨斯农工大学);Department of Computer Science and Engineering(计算机科学与工程系)
虽然存在几个用于图上的深度学习的库,但它们旨在实现图深度学习的基本操作。在研究社区中,使用现有库实现和基准测试各种高级任务仍然是痛苦和耗时的。为了促进图深度学习研究,我们引入了DIG:Dive into Graphs,这是一个交钥匙库,为更高级别的面向研究的图深度学习任务提供了统一的测试平台。目前,我们考虑图生成,图上的自监督学习,图神经网络的可解释性,以及3D图上的深度学习。对于每个方向,我们提供统一的数据接口,通用算法和评估指标的实现。总而言之,DIG是一个可扩展的,开源的和交钥匙的库,供研究人员开发新方法,并使用广泛使用的数据集和评估指标轻松地与常见基线进行比较。源代码可在https://github.com/divelab/DIG上获得。
torchmil: A PyTorch-based library for deep Multiple Instance Learning
a Department of Computer Science and Artificial Intelligence, University of Granada, Spain(计算机科学与人工智能系,格拉纳达大学);b Research Centre for Information and Communications Technologies, University of Granada, Spain(信息与通信技术研究中心,格拉纳达大学);c Department of Statistics and Operations Research, University of Granada, Spain(统计与运筹学系,格拉纳达大学);d Institute of Mathematics (IMAG), University of Granada, Spain(数学研究所(IMAG),格拉纳达大学)