by currymj · 3y ago · 0 comments
If you want to take a system that's working on Boolean logic, and introduce uncertainty, replacing true/false with probabilities does a great job of this. However in the 1960s/1970s, people believed it was hopeless to have AI systems use probability to deal with uncertainty. This is because probability requires you to use Bayes' Theorem, and computing the denominator in Bayes' Theorem requires summing over an exponentially large number of different outcomes.
Thus people came up with all kinds of alternative systems to avoid dealing with probability. Among these would have been fuzzy logic.
However people came up with ways to cope with the computational intractability (belief propagation on Bayesian networks, better Markov-chain Monte Carlo algorithms, etc.), so probability became practically viable. And on the merits, if you can deal with the computational issues, probability seems to be much nicer than these other formal systems. So since the 1980s/1990s the probabilistic approach to AI has become dominant (even if deep learning has displaced the actual models).
>replacing true/false with probabilities does a great job of this ... people came up with all kinds of alternative systems to avoid dealing with probability
a probability is a number between 0 and 1, instead of either 0 or 1. a number between 0 and 1, instead of 0 and 1, is called fuzzy logic.
so I'm really lost about what you're saying here.
Numeric representation may be the same[0], but the rules of how to do math on them, and what that math means, are different.
--
[0] - AFAIK dealing with Bayesian math, it's usually more useful to take a logarithm of all probabilities, so you can add them instead of multiplying. This translation expands the range from <0, 1> to <-infinity, +infinity>, and incidentally makes it clear why some people say that "zero and one are not probabilities".
[0] Not necessarily. You might choose to measure X that way, but it's not required.
When you say that "The hotel room is 75% clean", that's a degree. It means a room that's not as clean as a "90% clean" hotel room, but definitely cleaner than a "50% clean" hotel room on some kind of cleanliness scale that you have. You need a scale because the boundary between clean and unclean is not sharp, but fuzzy. Fuzzy logic gives you tools to construct well-behaved scales for logical combinations of variables that already have scales associated with them. E.g. if you have a scale for a motorcycle being loud and a scale for a motorcycle being expensive (both fuzzy concepts), the tools of fuzzy logic can e.g. give you a scale for loud OR expensive.
In contrast, when you say that "The hotel room is clean with probability 75%", you're reasoning about how likely it is that the room is clean under uncertainty. Maybe the cleaners only work 3 out of 4 days, and you're unsure what day it is. But these are not degrees of cleanliness: if you say that a room has a 75% chance of being clean you're not claiming that it's cleaner than some other room that has a 50% chance of being clean.
The concepts involved in probability need not be fuzzy, or even measured on a scale. E.g. when one says "there's a 75% chance that the car repair will cost more than $50", there is no fuzziness involved in whether the repair costs more than $50 or not: in the end, you'll get a bill, and it will state a number that is unambiguously either above $50 or not above $50, a pure binary variable, no scales involved.
Probability: “There’s a 70% chance the grass will be wet tomorrow morning”
Fuzzy logic: “The grass will be 70% wet tomorrow morning”
It is common to saysthat the 'truthiness' of (a and b), is the minimum truthiness of a and b. Or becomes a maximum, not becomes 1 - truthiness. Then normal predicate logic works by combining these rules the usual way. E.g. (a implies b) becomes b or not a, which is max(b, 1-a).
Basyan probability is much more sophisticated, but also more difficult to calculate.
x AND y is xy, x OR y is x + y - xy
Whereas in (Zadeh) fuzzy logic:
x AND y is min(x, y), x OR y is max(x, y)
IIRC, “fuzzy logic” is actually a class that includes all generalizations of crisp binary logic to continuous values over [0,1] with operators meeting a set of definitions which basically boil down to “reduces to crisp logic when the input values are constrained to 0 and 1”, so that Bayesian logic is a fuzzy logic.
The Zadeh operators in particular I remember being constructed, or at keast rationalized, as ways to combine the degree of truth of propositions as distinct from the probability of truth of uncertain proposition. But I think interest in the kind of epistemic differences in alternative extensions to propositional logic faded with the lack of a practical need in terms of computational efficiency to avoid Bayesian probability (and I think there was also a separate philosophical battle and the side in favor of “Bayesianism is the only meaningful extension of propositional logic” was winning that battle when the computational problems were resolved, which helped sweep aside the alternatives.)
No it isn't. P(x AND y) = P(x)P(y) only in the special case where x and y are independent. Unlike fuzzy logic, probabilistic logic is not truth functional.