TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deep Learning vs. Probabilistic Graphical Models vs. Logic

123 pointsby sungeunsabout 10 years ago

12 comments

epistasisabout 10 years ago
After learning PGMs, I find that I&#x27;ve almost completely eschewed first order logic for my own personal everyday reasoning. Arguments based on logical formulations require that the propositions are not leaky abstractions, and for most problem domains (i.e. not physics), there are going to be so many exceptions that I find very few cases where I can rely on first order logic. The softness of PGMs, and ideas like &quot;explaining away&quot; [1] come in quite handy. And after learning some of Pearl&#x27;s (and others) formulation of causality as graphical models, I understand much better why counterfactual reasoning is so error-prone.<p>Further, PGMs have the advantage over deep networks in that they are highly explainable, and you can go back and look at the chain of reasoning. For some problem domains, this part is more important than prediction accuracy.<p>[1] <a href="http:&#x2F;&#x2F;www.cs.ubc.ca&#x2F;~murphyk&#x2F;Bayes&#x2F;bnintro.html#explainaway" rel="nofollow">http:&#x2F;&#x2F;www.cs.ubc.ca&#x2F;~murphyk&#x2F;Bayes&#x2F;bnintro.html#explainaway</a>
评论 #9358738 未加载
评论 #9358952 未加载
TimPCabout 10 years ago
Logic based AI is definitely taking a backseat to data driven methods in the current environment but dead is a gross exaggeration. There are a large class of problems for which heuristic search in logic domains is the most performant technique, and a significant class of problems where SAT solvers are feasible solutions. Many of them are real world examples, rather than academic problems. Also, many techniques are evolved or emerging for systems of logic that can handle uncertainty. I&#x27;ve done work on hybrid systems combining rule-based systems with data-based systems (the typical process takes a rule-based system as a starting point and evolves it towards a pure data system as the data sets get large enough). However, starting with a rule-based system is actually a good approach for most start-ups when you don&#x27;t have enough data to get performant models.
评论 #9359450 未加载
kriroabout 10 years ago
I have worked with Prolog a bit so FOL is somewhat familiar (I wouldn&#x27;t call myself an expert by any means). FOL is quite an amazing tool to reduce the problem space in well defined environments. I enjoy board games and rules based FOL AIs are pretty well suited in that domain. Modelling non-trivial domains as a set of rules is pretty tough though (+Gödel applies). Creating game like structures for everyday stuff is one of my remaining AI research interests (the idea being that expert knowledge can somehow be modelled as AIs that compete in the game and thus be made comparable). The &quot;Inductive Logic Programming&quot; chapter in &quot;Prolog Programming for AI&quot; (best intro Prolog book imo) is very interesting and has lead to a couple of entries in my todo list :) Non-Standard logics are also very fascinating.<p>I love &quot;AI A Modern Approach&quot; but the chapter on PGMs wasn&#x27;t the best in my opinion. I think the dentist example just bothered me&#x2F;it wasn&#x27;t all that obvious how useful they really are. Thankfully the book is amazing and they provide plenty of references to move on :) That being said I think PGMs are immensely powerful and my gut says this approach is the one that I like the best.
compbioabout 10 years ago
I do not think logic-based learning is dead. It just smells a bit funny.<p>In the vein of the papers &quot;From machine learning to machine reasoning&quot; and &quot;Text understanding from scratch&quot; I expect a &quot;First-order logic understanding from scratch&quot; to follow naturally.
mizzaoabout 10 years ago
A good summary of why probabilistic models are important is this article by the legendary Chris Bishop: <a href="http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;cmbishop&#x2F;downloads&#x2F;bishop-mbml-2012.pdf" rel="nofollow">http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;cmbishop&#x2F;downl...</a>
Homunculiheadedabout 10 years ago
Anyone interested in Logic and Probability should take the time to read through (at least) chapters 1 &amp; 2 of Jaynes&#x27; Probability: the Logic of Science [0]. Jaynes&#x27; is the arch-Bayesian and in these chapters mathematically develops what is essentially an alternate Universe model of probability which, in his view, arrives as the natural extension of Aristotlean logic. There&#x27;s no &quot;coin flipping&quot; in these chapters, and when he finally derives the method calculating probabilities the fact that his model matches with coin-flipping models is written off almost as a happy accident. If you&#x27;re familiar with Bayesian analysis but have not read Jaynes it is very likely that you aren&#x27;t familiar with quite how (delightfully) extreme his views are.<p>Jaynes&#x27; fundamental metaphor through the book is building a &quot;reasoning robot&quot; so anyone interested in the intersection of logic, probability and AI will get many interesting insights from this book.<p>[0] PDF of the preprint: <a href="http:&#x2F;&#x2F;bayes.wustl.edu&#x2F;etj&#x2F;prob&#x2F;book.pdf" rel="nofollow">http:&#x2F;&#x2F;bayes.wustl.edu&#x2F;etj&#x2F;prob&#x2F;book.pdf</a>
eli_gottliebabout 10 years ago
You should really look into the emerging field of probabilistic programming. Avi Pfeffer has a nice book out on it, <i>Practical Probabilistic Programming</i> (or at least, you can get PDFs by pre-ordering). It basically expands the PGM way of reasoning to Turing-complete domains, and &quot;hides&quot; the problem of coding custom inference algorithms by making them parts of the language runtime.<p>My personal prediction is that once we get good at learning whole probabilistic programs from data rather than just inferring free numerical parameters from data, this is going to become the dominant mode of machine reasoning.
soup10about 10 years ago
In my opinion logic, &quot;deep learning&quot;, and everything else are subproblems. The real test of strong a.i. is intelligent code generation.
lognabout 10 years ago
Don&#x27;t under-estimate the power of single layer neural networks--classifiers. They&#x27;re much cheaper to train effectively and avoid over-fitting. Also, I&#x27;ve had good results using multiple classifiers that essentially cast votes and adding on hand-crafted heuristics to look through the top vote getters.
mcguireabout 10 years ago
How hard is it to determine <i>why</i> a probabilistic or &quot;deep learning&quot; system made a specific choice?
评论 #9360810 未加载
评论 #9360901 未加载
cafebeenabout 10 years ago
An interesting thing about probability is that it&#x27;s essentially a &quot;softened&quot; version of logical reasoning, so maybe it&#x27;s more fair to say that logic-based AI was generalized:<p><a href="http:&#x2F;&#x2F;bayes.wustl.edu" rel="nofollow">http:&#x2F;&#x2F;bayes.wustl.edu</a>
nmrmabout 10 years ago
Of course if you conflate logic with just traditional first order logic then all the interesting fruit has been picked.<p>But there are many logics that can be used to reason about stochastic and probabilistic dynamics.