by YeGoblynQueenne · 4y ago · 0 comments
The article looked... not enough. I got a general idea of how Prolog was used in Watson, but not clear enough that I could easily reproduce it myself. Or so I thought back then.
Reading it again now, it's clear to me that they used Prolog to implement the rule-based part of their system, whose function was, essentially, to map from an initial parse of a Jeopardy qustion to a semantic representation of the question, then find an answer for it.
Similar to what Triska points out in another comment in this thread, this is Prolog's bread and butter and the kind of thing that modern AI approaches can still not do very well, or at all. The downside of course is that they had to encode all those rules in Prolog by hand.
Which is not strictly necessary thanks to Inductive Logic Programming approaches, that can learn Prolog programs from data, either on their own, or in an interactive session, collaborating with a human programmer. I hear that IBM now have a dedicated ILP team who seem to be working on problems like that. Let's hope that the Watson debacle doesn't drag the whole thing down with it.
BTW, I had seen your ILP publications in other previous posts and they are quite cool! Contrary to the popular belief, I think there is still a lot of room for logic-based approaches to AI.
All the information that IBM have released about Watson (the original system that won that Jeopardy game) was spread around a dozen reports published in the "IBM Journal of Research and Deelopment". I have the lot on a drive half a continent away, otherwise I'm sure it would be OK to share them. You might be able to find them online, but a very quick look didn't locate them for me. Online versions might be accessible from a university library, although I don't even remember their titles.
In short, from memory, Watson started with a shallow parse that was then used to fill in good old frames. If I remember correctly those were then queried by the Prolog rulebase. The shallow parse was by means of a dependency grammar trained from an annotated corpus (so not a language model, say). That's the very high level of it- I read all that back in 2014 or so and I only half-understood it. I seem to remember that one of the reports made a big to-do about a shallow parse being sufficient to solve a good chunk of information retrieval problems.
I guess it will take some time to become a bit more mature and get to the job market, maybe 5 years?
Some groups to look at (not exhaustive): Tenenbaum (MIT), De Raedt (KU Leuven), Muggleton (Imperial).