Re: [silk] Building intelligent machines with casual reasoning

2018-08-23 Thread Charles Haynes
Thinking out loud, it seems to me that for most things Bayesian logic
supercedes Pearls causality. The probability of something given a prior,
versus the probability without the prior is, in some sense, the degree to
which the prior "causes" the result. The beauty is that you can usefully
reason about P(A|B) without knowing P(A) or P(B).

On Thu., 23 Aug. 2018, 9:43 am Charles Haynes, 
wrote:

> You mention Bayesian statistics as a thing like Pearls causality maths
> that's too complex.for most people and so hasn't caught on. I'd argue the
> exact opposite. Bayesian statistics ARE complicated but the first time I
> saw them my reaction was Oh My God this is going to change everything about
> how I reason about anything.
>
> And it has.
>
> So it seems to me.that Pearls formalisms just aren't that useful.
>
> -- Charles
>
> On Thu., 23 Aug. 2018, 3:24 am Bharat Shetty, 
> wrote:
>
>> On Wed, Aug 22, 2018 at 11:38 PM Landon Hurley 
>> wrote:
>>
>> > Sorry to delurk with a massive rant but I love this field and Pearl's
>> > work, and spent the last 18 months being denied my doctorate because I
>> use
>> > to much maths for a Psych department.
>> >
>> > >Anyone else have opinions on why his ideas haven't caught on more
>> > >generally?
>> >
>> >
>> > There are two connected problems (sorry, this area of statistics is my
>> > field and raison d'etre, so bear with me) as to why Pearl's work isn't
>> > universal.
>> >
>> >
>> Thank you for sharing your insights and discussion!
>>
>> Regards,
>> Bharat
>>
>


Re: [silk] Building intelligent machines with casual reasoning

2018-08-23 Thread Charles Haynes
You mention Bayesian statistics as a thing like Pearls causality maths
that's too complex.for most people and so hasn't caught on. I'd argue the
exact opposite. Bayesian statistics ARE complicated but the first time I
saw them my reaction was Oh My God this is going to change everything about
how I reason about anything.

And it has.

So it seems to me.that Pearls formalisms just aren't that useful.

-- Charles

On Thu., 23 Aug. 2018, 3:24 am Bharat Shetty, 
wrote:

> On Wed, Aug 22, 2018 at 11:38 PM Landon Hurley 
> wrote:
>
> > Sorry to delurk with a massive rant but I love this field and Pearl's
> > work, and spent the last 18 months being denied my doctorate because I
> use
> > to much maths for a Psych department.
> >
> > >Anyone else have opinions on why his ideas haven't caught on more
> > >generally?
> >
> >
> > There are two connected problems (sorry, this area of statistics is my
> > field and raison d'etre, so bear with me) as to why Pearl's work isn't
> > universal.
> >
> >
> Thank you for sharing your insights and discussion!
>
> Regards,
> Bharat
>


Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Bharat Shetty
On Wed, Aug 22, 2018 at 11:38 PM Landon Hurley  wrote:

> Sorry to delurk with a massive rant but I love this field and Pearl's
> work, and spent the last 18 months being denied my doctorate because I use
> to much maths for a Psych department.
>
> >Anyone else have opinions on why his ideas haven't caught on more
> >generally?
>
>
> There are two connected problems (sorry, this area of statistics is my
> field and raison d'etre, so bear with me) as to why Pearl's work isn't
> universal.
>
>
Thank you for sharing your insights and discussion!

Regards,
Bharat


Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Landon Hurley
Bharat,

I had the same double take but upon pondering I assumed it meant clinical 
decision making group (the MIT enclave).

Landon

On 22 August 2018 22:21:49 GMT-04:00, Bharat Shetty  
wrote:
>On Thu, Aug 23, 2018 at 4:54 AM  wrote:
>
>> First, stepping back, https://youtu.be/ajGX7odA87k provides some
>examples
>> of my ML and AI involve too much magical thinking. That jobs with
>some of
>> the points in the Quanta essay. I'm especially sensitive to this
>because of
>> days of AI including a stint in the MIT clinical decision making
>group
>> (over four decades ago). The focus wasn't just on computing but also
>> understanding how doctors approached problems. Humans don't do a
>great job
>> either.
>>
>
>A big fan of James Mickens types of guys who always call for skepticism
>and
>careful analysis and continual improvement in our mental models of how
>things work.
>
>
>> But when I see
>>
>> "Three decades ago, a prime challenge in artificial intelligence
>research
>> was to program machines to associate a potential cause to a set of
>> observable conditions. Pearl figured out how to do that using a
>scheme
>> called Bayesian networks. Bayesian networks made it practical for
>machines
>> to say that, given a patient who returned from Africa with a fever
>and body
>> aches, the most likely explanation was malaria. In 2011 Pearl won the
>> Turing Award, computer science’s highest honor, in large part for
>this
>> work."
>>
>> I'm wary because in that CDMG we recognized that Bayesian approaches
>> didn't work when there wasn't a well-defined space of choices.
>
>Pardon my ignorance, but what is CDMG ?
>
>Regards,
>Bharat

-- 
Violence is the last refuge of the incompetent.



Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Bharat Shetty
On Thu, Aug 23, 2018 at 4:54 AM  wrote:

> First, stepping back, https://youtu.be/ajGX7odA87k provides some examples
> of my ML and AI involve too much magical thinking. That jobs with some of
> the points in the Quanta essay. I'm especially sensitive to this because of
> days of AI including a stint in the MIT clinical decision making group
> (over four decades ago). The focus wasn't just on computing but also
> understanding how doctors approached problems. Humans don't do a great job
> either.
>

A big fan of James Mickens types of guys who always call for skepticism and
careful analysis and continual improvement in our mental models of how
things work.


> But when I see
>
> "Three decades ago, a prime challenge in artificial intelligence research
> was to program machines to associate a potential cause to a set of
> observable conditions. Pearl figured out how to do that using a scheme
> called Bayesian networks. Bayesian networks made it practical for machines
> to say that, given a patient who returned from Africa with a fever and body
> aches, the most likely explanation was malaria. In 2011 Pearl won the
> Turing Award, computer science’s highest honor, in large part for this
> work."
>
> I'm wary because in that CDMG we recognized that Bayesian approaches
> didn't work when there wasn't a well-defined space of choices.

Pardon my ignorance, but what is CDMG ?

Regards,
Bharat


Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread silklist
First, stepping back, https://youtu.be/ajGX7odA87k provides some examples of my 
ML and AI involve too much magical thinking. That jobs with some of the points 
in the Quanta essay. I'm especially sensitive to this because of days of AI 
including a stint in the MIT clinical decision making group (over four decades 
ago). The focus wasn't just on computing but also understanding how doctors 
approached problems. Humans don't do a great job either.

But when I see 

"Three decades ago, a prime challenge in artificial intelligence research was 
to program machines to associate a potential cause to a set of observable 
conditions. Pearl figured out how to do that using a scheme called Bayesian 
networks. Bayesian networks made it practical for machines to say that, given a 
patient who returned from Africa with a fever and body aches, the most likely 
explanation was malaria. In 2011 Pearl won the Turing Award, computer science’s 
highest honor, in large part for this work."

I'm wary because in that CDMG we recognized that Bayesian approaches didn't 
work when there wasn't a well-defined space of choices. But causal reasoning is 
also a problem when there isn't enough information. I can understand the 
attraction of a WTF approach of ML/AI (I call it splat -- throwing the problem 
against wall and reading the shards).

So, yeah, it would be nice to be able to understand why ... whether we're three 
years old or eighty. Yet we still don't know why the chickened cross the road 
-- we understand some ways but not the ultimate why.




Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Landon Hurley
Sorry to delurk with a massive rant but I love this field and Pearl's work, and 
spent the last 18 months being denied my doctorate because I use to much maths 
for a Psych department.

>Anyone else have opinions on why his ideas haven't caught on more
>generally?


There are two connected problems (sorry, this area of statistics is my field 
and raison d'etre, so bear with me) as to why Pearl's work isn't universal.

Foremost is that causality research as a statistical problem started with 
Medical research, and Psychology/Educational research. One can include the 
early econometric work as well, but at the time simultaneous equation sets for 
endogenous processes were more theoretical publications and derivations until 
Jöreskogs' publication for multivariate normal estimation in 1969. Basically 
though, neither of those two fields are particularly mathematically inclined, 
and Pearl's graph and discrete theoretic arguments tend to get very 
complicated. One cannot simply plug in an equation and be finished, which is 
also the reason why SPSS is still the golden child of Psychology departments. 
Bayesian stats (I recommend taking a look at the free software package JASP; 
Just Another Statistical Package) also fall prey to the same issue in that the 
estimation of a model in full Stan framework involves things about and defining 
each variable, and the distributional structure of their measurements and 
probability density functions. Pearl has exactly the same issue in that his 
work is more in depth than the answer provided by a regression coefficient's 
p-value.

Unfortunately, most of the published Social Sciences work is grossly invalid (I 
recommend Les Hayduk's work and book on SEM and his vitriolic diatribes against 
relative fit measures compared to the actual best case of the likelihood ratio 
test. He can be a bit singularly focused, but he is correct) and the p-values 
that are commonly reported are only valid conditional upon that falsehood. It 
is very hard to convince people they are wrong, even on basic truisms. Things 
like the non-equivalence of factor analysis and principal components analysis, 
the latter of which SPSS still labels as factor analysis under the menu 
options; decades of research, for example consider the freely available book on 
an update of the California F-scale called Right Wing Authoritarians by Bob 
Altemeyer. He performs PCA for measurement structure assessment, calls it FA, 
and his justification for three components is that it retains 85% of the 
variance. This ignores the fact that Likert scale items are intrinsically 
discrete, and the decomposition of a covariance structure as normally estimated 
is only defined for continuous spaces.

The reason for this side note is that especially Psychology is extremely change 
resistant. Many of the propensity score analysis (i.e., Don Rubin's work) 
concepts have been automated for 'applied' researchers, and so they don't have 
to feel a need to worry about the data. I was literally just reviewing 
someone's grant application that one of his students shared, and I wanted to go 
punch the researcher. It was that poorly conducted and applied, and didn't 
reflect any of the theoretical requirements of validity. As well, one has to 
note that the justifications for Rubin's dissertation was built upon Bayesian 
assertions and requirements, but those parts, and the meaning of the actual 
propensity scores themselves, were dropped.

Easy to use software is the second issue, and it's tied to why Bayes in general 
doesn't pervade intro statistics courses. I've had faculty in psych PhD 
programmes who never took undergraduate calculus but felt they knew more about 
how to use a technique, even if it was literally stated as a requirement in the 
introductory text: Jöreskogs' book on SEM explicitly stated how ordinal scales 
can never be continuous and so the application of confirmatory factor analysis 
to such items should never be applied in 1969. It's my favourite example 
because it's literally the most trivially wrong and yet universally published 
easy technique that qualifies one as an 'advanced quantitative expert'. 



On 22 August 2018 05:00:39 GMT-04:00, Charles Haynes  
wrote:
>Pearl has been spruiking his causality formalisms for years, but they
>don't
>seem to have caught on despite widespread dissemiy of the ideas. I've
>read
>them and my reaction was "hm, interesting" rather than "oh! I see how
>this
>could be useful"
>
>Anyone else have opinions on why his ideas haven't caught on more
>generally?
>
>-- Charles
>
>On Wed., 22 Aug. 2018, 5:28 am Bharat Shetty, 
>wrote:
>
>> Sharing an intriguing interview with Judea Pearl related to his book
>"The
>> Book of Why", a book that I have been reading and enjoying.
>>
>> "In his new book, Pearl, now 81, elaborates a vision for how truly
>> intelligent machines would think. The key, he argues, is to replace
>> reasoning by association with causal reasoning. Instead of the 

Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Heather Madrone

Charles Haynes wrote on 8/22/18 2:00 AM August 22, 2018:

Pearl has been spruiking his causality formalisms for years, but they don't
seem to have caught on despite widespread dissemiy of the ideas. I've read
them and my reaction was "hm, interesting" rather than "oh! I see how this
could be useful"

Anyone else have opinions on why his ideas haven't caught on more generally?


It's too hard to make computers think that way? Much easier to show them 
what you want and have them select a series of linear transformations 
that make it so. This is not how humans think, but, hey, you can model 
almost anything that way, so why not do it if you can throw the data and 
the cycles at it?


Humans seem to do a lot more reasoning by association than causal 
thinking. We also reason by analogy, which no one seems interested in 
teaching machines to do. A lot of our thinking is tangled up with our 
perceptual systems, which works well for us but would require millions 
of years of evolution to replicate in machines.


Humans arguably aren't reasoning machines, and there's a lot more to 
thinking than the ability to construct proofs. Our ability to construct 
story might be more fundamental than our ability to probe causality.


--hmm


-- Charles

On Wed., 22 Aug. 2018, 5:28 am Bharat Shetty, 
wrote:


Sharing an intriguing interview with Judea Pearl related to his book "The
Book of Why", a book that I have been reading and enjoying.

"In his new book, Pearl, now 81, elaborates a vision for how truly
intelligent machines would think. The key, he argues, is to replace
reasoning by association with causal reasoning. Instead of the mere ability
to correlate fever and malaria, machines need the capacity to reason that
malaria causes fever. Once this kind of causal framework is in place, it
becomes possible for machines to ask counterfactual questions — to inquire
how the causal relationships would change given some kind of intervention —
which Pearl views as the cornerstone of scientific thought. Pearl also
proposes a formal language in which to make this kind of thinking possible
— a 21st-century version of the Bayesian framework that allowed machines to
think probabilistically.

Pearl expects that causal reasoning could provide machines with human-level
intelligence. They’d be able to communicate with humans more effectively
and even, he explains, achieve status as moral entities with a capacity for
free will — and for evil."


https://www.quantamagazine.org/to-build-truly-intelligent-machines-teach-them-cause-and-effect-20180515/

PS: If there are similar mind-bending and worldview changing books, holler
about them at me.

Regards,
- Bharat








Re: [silk] Building intelligent machines with casual reasoning

2018-08-22 Thread Charles Haynes
Pearl has been spruiking his causality formalisms for years, but they don't
seem to have caught on despite widespread dissemiy of the ideas. I've read
them and my reaction was "hm, interesting" rather than "oh! I see how this
could be useful"

Anyone else have opinions on why his ideas haven't caught on more generally?

-- Charles

On Wed., 22 Aug. 2018, 5:28 am Bharat Shetty, 
wrote:

> Sharing an intriguing interview with Judea Pearl related to his book "The
> Book of Why", a book that I have been reading and enjoying.
>
> "In his new book, Pearl, now 81, elaborates a vision for how truly
> intelligent machines would think. The key, he argues, is to replace
> reasoning by association with causal reasoning. Instead of the mere ability
> to correlate fever and malaria, machines need the capacity to reason that
> malaria causes fever. Once this kind of causal framework is in place, it
> becomes possible for machines to ask counterfactual questions — to inquire
> how the causal relationships would change given some kind of intervention —
> which Pearl views as the cornerstone of scientific thought. Pearl also
> proposes a formal language in which to make this kind of thinking possible
> — a 21st-century version of the Bayesian framework that allowed machines to
> think probabilistically.
>
> Pearl expects that causal reasoning could provide machines with human-level
> intelligence. They’d be able to communicate with humans more effectively
> and even, he explains, achieve status as moral entities with a capacity for
> free will — and for evil."
>
>
> https://www.quantamagazine.org/to-build-truly-intelligent-machines-teach-them-cause-and-effect-20180515/
>
> PS: If there are similar mind-bending and worldview changing books, holler
> about them at me.
>
> Regards,
> - Bharat
>