{"id":1731,"date":"2016-09-12T02:50:33","date_gmt":"2016-09-12T02:50:33","guid":{"rendered":"http:\/\/causality.cs.ucla.edu\/blog\/?p=1731"},"modified":"2016-09-12T16:43:59","modified_gmt":"2016-09-12T16:43:59","slug":"logically-equivalent-yet-way-too-different","status":"publish","type":"post","link":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/2016\/09\/12\/logically-equivalent-yet-way-too-different\/","title":{"rendered":"Logically equivalent yet way too different"},"content":{"rendered":"<p>Contributor: Judea Pearl<\/p>\n<p>In comparing the tradeoffs between the structural\u00a0and potential outcome frameworks, I often state that the\u00a0two are logically equivalent yet poles apart in terms\u00a0of transparency and computational efficiency.\u00a0(See Slide #34 of the JSM tutorial). Indeed,\u00a0anyone who examines how the two frameworks\u00a0solve a specific problem from begining to end\u00a0(See, e.g., Slides #35-36 )\u00a0would find the differences astonishing.<\/p>\n<p>The question naturally arises:\u00a0How can two equivalent frameworks differ so\u00a0substantially in actual use.<\/p>\n<p>The answer is that epistemic equivalence does not\u00a0mean representational equivalence.\u00a0Two representations of the same information may\u00a0highlight different aspects of the problem and\u00a0thus differ substantially in how easy it is to solve a given\u00a0problem.\u00a0 This is a recurrent theme in complexity analysis,\u00a0but is not generally appreciated outside computer science.\u00a0We saw it in our discussions with\u00a0Guido Imbens who could not accept the fact that\u00a0the use of graphical models is a mathematical necessity\u00a0not just a matter of taste.\u00a0(<a href=\"http:\/\/causality.cs.ucla.edu\/blog\/index.php\/2014\/10\/27\/are-economists-smarter-than-epidemiologists-comments-on-imbenss-recent-paper\/\" target=\"_blank\" data-saferedirecturl=\"https:\/\/www.google.com\/url?hl=en&amp;q=http:\/\/causality.cs.ucla.edu\/blog\/index.php\/2014\/10\/27\/are-economists-smarter-than-epidemiologists-comments-on-imbenss-recent-paper\/&amp;source=gmail&amp;ust=1473730887210000&amp;usg=AFQjCNH49C3Al-_nxOvjiUrh1Io3zTgxlw\">http:\/\/causality.cs.<wbr \/>ucla.edu\/blog\/index.php\/2014\/<wbr \/>10\/27\/are-economists-smarter-<wbr \/>than-epidemiologists-comments-<wbr \/>on-imbenss-recent-paper\/<\/a>)<\/p>\n<p>The examples usually cited in complexity analysis are\u00a0combinatorial problems whose solution times depend\u00a0critically on the initial representation. I hesitated from\u00a0bringing up these examples, fearing that they will not be\u00a0compelling to readers on this blog who are more\u00a0familiar with classical mathematics.<\/p>\n<p>Last week I stumbled upon a very simple example\u00a0that demonstrates representational differences\u00a0in no ambiguous terms;\u00a0I would like to share it with readers.<\/p>\n<p><span class=\"im\">Consider the age-old problem of finding a solution to an\u00a0algebraic equation, say<br \/>\n<\/span>y(x) = x<sup>3<\/sup>\u00a0+ ax<sup>2<\/sup>\u00a0+ bx + c = 0<\/p>\n<p>This is a tough problem for those of us who do not\u00a0remember Tartalia\u2019s solution of the cubic.\u00a0 (It can\u00a0be made much tougher once we go to quintic equation.)<\/p>\n<p>But there are many syntactic ways of representing the same\u00a0function y(x)\u00a0. Here is one equivalent representation:<br \/>\ny(x) = x(x<sup>2<\/sup>+ax) + b(x+c\/b) = 0<br \/>\nand here is another:<br \/>\ny(x) = (x-x<sub>1<\/sub>)(x-x<sub>2<\/sub>)(x-x<sub>3<\/sub>) = 0,<span class=\"im\"><br \/>\nwhere x<sub>1<\/sub>, x<sub>2<\/sub>, and x<sub>3<\/sub>\u00a0are some functions of a, b, c.<\/span><\/p>\n<p>The last representation permits an immediate solution,\u00a0which is:<br \/>\nx=x<sub>1<\/sub>, x=x<sub>2<\/sub>, x=x<sub>3<\/sub>.<\/p>\n<p>The example may appear trivial, and some may even\u00a0call it cheating, saying that finding x<sub>1<\/sub>, x<sub>2<\/sub>, and x<sub>3<\/sub>\u00a0is as hard as solving the original problem.\u00a0This is true, but the purpose of\u00a0the example was not to produce an easy solution to\u00a0the cubic. The purpose was to demonstrate that\u00a0different syntactic ways of representing the\u00a0same information (i.e., the same polynomial)\u00a0may lead to substantial differences in the complexity\u00a0of computing an answer to a query (i.e., find a root).<\/p>\n<p>A preferred representation is one that makes\u00a0certain desirable aspects of the problem explicit, thus\u00a0facilitating a speedy solution.\u00a0Complexity theory is full of such examples.<\/p>\n<p>Note that the complexity is query-dependent.\u00a0Had our goal been to find a value x that makes the polynomial y(x) equal 4, not zero, the representation above y(x) = (x-x1)(x-x2)(x-x3) would offer no help at all. For this query, the representation<br \/>\ny(x) = (x-z<sub>1<\/sub>)(x-z<sub>2<\/sub>)(x-z<sub>3<\/sub>) + 4 \u00a0<span class=\"im\"><br \/>\nwould yield an immediate solution<br \/>\nx=z<sub>1<\/sub>, x=z<sub>2<\/sub>, x=z<sub>3,<\/sub><br \/>\nwhere z<sub>1<\/sub>, z<sub>2<\/sub>, and z<sub>3<\/sub>\u00a0are the roots of\u00a0another polynomial:<br \/>\nx<sup>3<\/sup>\u00a0+ ax<sup>2<\/sup>\u00a0+ bx\u00a0+ (c-4) = 0<\/span><\/p>\n<p>This simple example demonstrates\u00a0nicely the principle that makes graphical models\u00a0more efficient than alternative representations\u00a0of the same causal information, say a set of\u00a0ignorability assumptions.\u00a0What makes graphical models efficient is the fact that\u00a0they make explicit the logical ramifications of\u00a0the conditional-independencies conveyed\u00a0by the model. Deriving those ramifications by algebraic\u00a0or logical means takes substantially more work.\u00a0(See\u00a0<a href=\"http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r396.pdf\" target=\"_blank\" rel=\"noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?hl=en&amp;q=http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r400.pdf&amp;source=gmail&amp;ust=1473730887210000&amp;usg=AFQjCNFHgbYMOUDnWTo0vy41M3jol-7Z4g\">http:\/\/ftp.cs.ucla.<wbr \/>edu\/pub\/stat_ser\/r396.pdf<\/a>\u00a0for the logic of counterfactual independencies)<\/p>\n<p>A typical\u00a0example of how nasty such derivations\u00a0can get is given in Heckman and Pinto\u2019s paper\u00a0on \u201cCausal Inference after Haavelmo\u201d (Econometric Theory, 2015).\u00a0Determined to avoid graphs at all cost,\u00a0Heckman and Pinto derived conditional independence\u00a0relations directly from Dawid\u2019s axioms and the Markov\u00a0condition (See\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Graphoid\" target=\"_blank\" rel=\"noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?hl=en&amp;q=https:\/\/en.wikipedia.org\/wiki\/Graphoid&amp;source=gmail&amp;ust=1473730887210000&amp;usg=AFQjCNGS3ugeE-bYrU75-9IjyYZQgXRH5Q\">https:\/\/en.wikipedia.org\/<wbr \/>wiki\/Graphoid<\/a>.)\u00a0The results are pages upon pages of derivations\u00a0of independencies that are displayed explicitly in the graph.\u00a0<a href=\"http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r420.pdf\" target=\"_blank\" rel=\"noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?hl=en&amp;q=http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r420.pdf&amp;source=gmail&amp;ust=1473730887210000&amp;usg=AFQjCNG0wjHm5GWoD3myFx40J6ECHxqRPA\">http:\/\/ftp.cs.ucla.edu\/<wbr \/>pub\/stat_ser\/r420.pdf<\/a><\/p>\n<p>Of course, this and other difficulties will not dissuade\u00a0econometricians to use graphs; that would rake a scientific\u00a0revolution of Kuhnian proportions.\u00a0(see\u00a0<a href=\"http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r391.pdf\" target=\"_blank\" rel=\"noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?hl=en&amp;q=http:\/\/ftp.cs.ucla.edu\/pub\/stat_ser\/r391.pdf&amp;source=gmail&amp;ust=1473730887210000&amp;usg=AFQjCNEqxozmydZCsyrLwzC_-EUVlGywIw\">http:\/\/ftp.<wbr \/>cs.ucla.edu\/pub\/stat_ser\/r391.<wbr \/>pdf<\/a>)\u00a0Still, awareness of these complexity issues\u00a0should give inquisitive students the ammunition to\u00a0hasten the revolution and equip\u00a0econometrics with modern tools of causal analysis.<\/p>\n<p>They eventually will.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contributor: Judea Pearl In comparing the tradeoffs between the structural\u00a0and potential outcome frameworks, I often state that the\u00a0two are logically equivalent yet poles apart in terms\u00a0of transparency and computational efficiency.\u00a0(See Slide #34 of the JSM tutorial). Indeed,\u00a0anyone who examines how the two frameworks\u00a0solve a specific problem from begining to end\u00a0(See, e.g., Slides #35-36 )\u00a0would find [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1731","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1731"}],"version-history":[{"count":15,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1731\/revisions"}],"predecessor-version":[{"id":1751,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1731\/revisions\/1751"}],"wp:attachment":[{"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/causality.cs.ucla.edu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}