Circuit Languages at the Confluence of Learning and Reasoning
Guy Van den Broeck
KR2ML Workshop @ NeurIPS, December 13, 2019 Computer Science
Circuit Languages at the Confluence of Learning and Reasoning Guy - - PowerPoint PPT Presentation
Computer Science Circuit Languages at the Confluence of Learning and Reasoning Guy Van den Broeck KR2ML Workshop @ NeurIPS, December 13, 2019 The AI Dilemma Pure Learning Pure Logic The AI Dilemma Pure Learning Pure Logic Slow
KR2ML Workshop @ NeurIPS, December 13, 2019 Computer Science
Pure Learning Pure Logic
Pure Learning Pure Logic
noise, uncertainty, incomplete knowledge, …
Pure Learning Pure Logic
fails to incorporate a sensible model of the world
bias, algorithmic fairness, interpretability, explainability, adversarial attacks, unknown unknowns, calibration, verification, missing features, missing labels, data efficiency, shift in distribution, general robustness and safety
Pure Learning Pure Logic Probabilistic World Models
Pure Learning Pure Logic Probabilistic World Models
[Lu, W. L., Ting, J. A., Little, J. J., & Murphy, K. P. (2013). Learning to track and identify players from broadcast sports videos.], [Wong, L. L., Kaelbling, L. P., & Lozano-Perez, T., Collision-free state estimation. ICRA 2012], [Chang, M., Ratinov, L., & Roth, D. (2008). Constraints as prior knowledge], [Ganchev, K., Gillenwater, J., & Taskar, B. (2010). Posterior regularization for structured latent variable models]… and many many more!
People appear at most
Rigid objects don’t overlap
At least one verb in each sentence. If X and Y are married, then they are people.
[Graves, A., Wayne, G., Reynolds, M., Harley, T., Danihelka, I., Grabska-Barwińska, A., et al.. (2016). Hybrid computing using a neural network with dynamic external memory. Nature, 538(7626), 471-476.]
[Graves, A., Wayne, G., Reynolds, M., Harley, T., Danihelka, I., Grabska-Barwińska, A., et al.. (2016). Hybrid computing using a neural network with dynamic external memory. Nature, 538(7626), 471-476.]
Input Neural Network Logical Constraint Output
Output is probability vector p, not Boolean logic!
Probability of satisfying α after flipping coins with probabilities p
How to do this reasoning during learning?
1 1 1 1 1 1 1 1 1 1 1 1 1
Decomposable
Deterministic
C XOR D
Deterministic
C XOR D C⇔D
1 1 1 1 1 1 1 1 1
16
8 8 4 4 4 8 8 2 2 2 2 1 1 1
Is output a path? Are individual edge predictions correct? Is prediction the shortest path? This is the real task! (same conclusion for predicting sushi preferences, see paper)
Hungry? $25? Restau rant? Sleep?
Clear Modeling Assumption Well-understood
“Black Box” Empirical performance
1 1 1 1 1
.1 .8 .3
.01 .24
.194 .096
.096
𝐐𝐬(𝑩, 𝑪, 𝑫, 𝑬) = 𝟏. 𝟏𝟘𝟕
(.1x1) + (.9x0) .8 x .3 SPNs, ACs PSDDs, CNs
(conditional probabilities of logical sentences)
Density estimation benchmarks: tractable vs. intractable
Dataset
best circuit BN MADE VAE
Dataset
best circuit BN MADE VAE
nltcs
Book
msnbc
movie
kdd2000
webkb
plants
12.32
cr52
audio
c20ng
jester
bbc
netflix
ad
accidents
retail
pumbs*
dna
Kosarek
Msweb
fails to incorporate a sensible model of the world
bias, algorithmic fairness, interpretability, explainability, adversarial attacks, unknown unknowns, calibration, verification, missing features, missing labels, data efficiency, shift in distribution, general robustness and safety
M: Missing features y: Observed Features
Pure Learning Pure Logic Probabilistic World Models
Bring high-level representations, general knowledge, and efficient high-level reasoning to probabilistic models (Weighted Model Integration, Probabilistic Programming) Bring back models of the world, supporting new tasks, and reasoning about what we have learned, without compromising learning performance
– Structure and parameter learning algorithms – Advanced reasoning algorithms with probabilistic and logical circuits – Scalable implementation in Julia (release this month)
– Knowledge Representation and Reasoning (KR 2020) – Submit in March! Go to Rhodes, Greece.
Life in the Fast Lane: Viewed from the Confluence Lens. George Varghese, SIGCOMM CCR, 2015.
Jonas Vlasselaer, Guy Van den Broeck, Angelika Kimmig, Wannes Meert and Luc De Raedt. Tp-Compilation for Inference in Probabilistic Logic Programs, In International Journal of Approximate Reasoning, 2016.
Guy Van den Broeck and Dan Suciu. Query Processing on Probabilistic Data: A Survey, Foundations and Trends in Databases, Now Publishers, 2017.
Vaishak Belle, Andrea Passerini and Guy Van den Broeck. Probabilistic Inference in Hybrid Domains by Weighted Model Integration, In Proceedings of 24th International Joint Conference on Artificial Intelligence (IJCAI), 2015.
Antonio Vergari, Nicola Di Mauro and Guy Van den Broeck. Tractable Probabilistic Models, UAI Tutorial, 2019.
Yitao Liang and Guy Van den Broeck. Learning Logistic Circuits, In Proceedings of the 33rd Conference on Artificial Intelligence (AAAI), 2019.
Pasha Khosravi, Yitao Liang, YooJung Choi and Guy Van den
Regression with Missing Features, In Proceedings of the ICML Workshop on Tractable Probabilistic Modeling (TPM), 2019. & unpublished work in progress