Sunday, August 26, 2018

“The Book of Why- the New Science of Cause and Effect” by Judea Pearl and Dana Mackenzie

Judea Pearl is a professor of computer science at UCLA,  who has been working at the frontiers of machine learning and artificial intelligence for decades. Through this lens, he has become a leader in the new science of causation. Unbeknownst to many even in the disciplines that heavily rely on statistics, Pearl now believes that there has been a revolution in the techniques of teasing out cause from effect. In 2000, he proclaimed, “Causality has undergone a major transformation from a concept shrouded in mystery into a mathematical object with well-defined semantics and well-founded logic. Paradoxes and controversies have been resolved, slippery concepts have been explicated, and practical problems relying on causal information that long were regarded as either metaphysical or unmanageable can now be solved using elementary mathematics. Put simply, causality has been mathematized.” This book is Pearl’s effort to explain the science of causality in layman’s terms. He states that “the calculus of causation consists of two languages: causal diagrams, to express what we know, and a symbolic language, resembling algebra, to express what we want to know.” In this model, the data comes last because data is dumb to causal relationships.

The science of causation is so important because for humans “causal explanations, not dry facts, make up the bulk of our knowledge, and should be the cornerstone of machine intelligence…. Our transition from processors of data to makers of explanations was not gradual; it was a leap that required an external push…. Our ancestors’ capacity to imagine nonexistent things was the key to everything…. The connection between imagining and causal relations is almost self-evident.” The three levels of causation are “seeing or observing, [which] entails detection of regularities…. doing [which] entails predicting the effect(s) of deliberate alterations of the environment and choosing among these alterations to produce a desired outcome…. [and] understanding that permits imagining.” Therefore, Pearl has invented the metaphor of a Ladder of Causation, which consists of three rungs: association, intervention, and counterfactuals. Only the top two rungs involve causation. However, almost all animals and all current learning machines are stuck on the bottom rung. Intervention asks the question, “What if we do…? What Will happen if we change the environment?” Counterfactuals go back into time and require imagination. They ask, “what if things had been different?” This is skill, more than likely, unique to humans.

The bulk of Pearl’s book mixes the history of statistics with the history of a small set of outlaws, who dared to ask “why” questions, instead of just being content with correlations. Sewall Wright “was the first person to develop a mathematical method for answering causal questions from data, known as path diagrams…. [The path diagram] was the first bridge ever built between causality and probability, the first crossing of the barrier between rung two and rung one on the Ladder of Causation. Having built this bridge, Wright could travel backward over it, from the correlations measured in the data (rung one) to the hidden causal quantities.” As Wright himself wrote, defending his method from hostile attacks by the statistical establishment, “the combination of knowledge of correlations with knowledge of causal relations to obtain certain results, is a different thing from the deduction of causal relations from correlations.”

Pearl fully admits that causal diagrams require scientists to step out of their comfort zone of objectivity, explicitly. He states that “drawing a path diagram is not a statistical exercise; it is an exercise in genetics, economics, psychology, or whatever the scientist’s own field of expertise…. Causal analysis requires the user to make a subjective commitment. She must draw a causal diagram that reflects her qualitative belief—or, better yet, the consensus belief of researchers in her field of expertise—about the topology of the causal processes at work.” That is why Pearl came to causal science first through his work on Bayesian networks. “The prototype of Bayesian analysis goes like this: Prior Belief + New Evidence —> Revised Belief…. Bayesian statistics gives us an objective way of combining the observed evidence with our prior knowledge (or subjective belief) to obtain a revised belief and hence a revised prediction of the outcome…. To articulate subjective assumptions, Bayesian statisticians still use the language of probability…. The assumptions entering causal inference, on the other hand, require a richer language.” In causal diagrams, “each arrow can be thought of as a statement about the outcome of a hypothetical experiment…. Whereas a Bayesian network can only tell us how likely one event is, given that we observed another (rung-one information), causal diagrams can answer interventional and counterfactual questions.” The use of such diagrams allows the scientist ““provisional causality,” that is, causality contingent upon the set of assumptions that our causal diagram advertises…. They have the advantage of being conducted in the natural habitat of the target population, not in the artificial setting of a laboratory, and they can be “pure” in the sense of not being contaminated by issues of ethics and feasibility…. One of the major accomplishments of causal diagrams is to make the assumptions transparent so that they can be discussed and debated by experts and policy makers…. The diagram encodes the causal story behind the data.”

Pearl ends his book by circling back around to his expertise of machine learning and the state of the field today. He states, “With Bayesian networks, we had taught machines to think in shades of gray, and this was an important step toward humanlike thinking. But we still couldn’t teach machines to understand causes and effects…. Without the ability to envision alternate realities and contrast them with the currently existing reality, a machine cannot pass the mini-Turing test; it cannot answer the most basic question that makes us human: “Why?”” Machine learning will have to go beyond deep learning and gathering big data sets to get there. “In technical terms, machine-learning methods today provide us with an efficient way of going from finite sample estimates to probability distributions, and we still need to get from distributions to cause-effect relations…. A strong AI should be a machine that can reflect on its actions and learn from past mistakes. It should be able to understand the statement “I should have acted differently”…. Intent is a very important part of personal decision making…. The ability to conceive of one’s own intent and then use it as a piece of evidence in casual reasoning is a level of self-awareness (if not consciousness) that no machine I know of has achieved…. Thinking in terms of intents, therefore, offers us a shorthand to convert complicated causal instructions into simple ones…. The algorithmization of counterfactuals is a major step toward understanding these questions and making consciousness and agency a computational reality…. I believe that the software package that can give a thinking machine the benefits of agency would consist of at least three parts: a causal model of the world; a causal model of its own software, however superficial; and a memory that records how intents in its mind correspond to events in the outside world.”

Sunday, August 19, 2018

“Conversations- Volume 3” with Jorge Luis Borges and Osvaldo Ferrari (translated by Anthony Edkins)

Borges never wrote a piece of fiction or poetry beyond twenty pages. These transcribed radio conversations show that he could pack a lot of weight into just a few words. The topics range from his own stories and poems, to gossip about his literary friends, to what it meant to be Argentinian, to Oscar Wilde and sodomy, to James Joyce dissecting the genre of the novel, to the defects of sociology, to Stoic philosophy, to Walt Whitman’s quintessentially American poetry, to the nature of time, and much beyond. Each self-contained broadcast is a joy in and of itself, but the collection shows the width and depth of Borges’ knowledge, while being relayed in his unique brand of ironic humor. Ferrari more than holds his own in the exchange of banter and pushes Borges both where he does and where he does not want to go. Although recorded in the 1980s, the themes and commentaries still ring relevant in today’s literary scene and geopolitical climate.

Sunday, August 12, 2018

“The Story of the Lost Child” by Elena Ferrante (translated by Ann Goldstein)

This is the final novel of Ferrante’s Neapolitan quartet. Ferrante is a master of writing about the details of human relationships. At the heart of these four books is the enduring friendship and competition of two neighborhood girls, Elena and Lila. “I told myself again that she would no longer exercise any authority over me, that that long phase was over.” The quartet began when they were six years old, playing with dolls on the streets of Naples, and finally concludes with the narrator, Elena, as a grandmother living in Turin, but still tied to Naples, both to the city and to her childhood memories there. “A woman without love for her origins is lost.” The breath of this story deals with the mimetic rivalry between the two friends, where the hopes and dreams of the one become entwined with the other, whether in the realm of toys, school grades, the affection of lovers, their sense of purpose in the world, or the love of their families.  “She had dragged me into the swelling sea of her desires.” The two women, even with grown children of their own, constantly measure their own lives based on the success of the other. “From childhood I had given her too much importance, and now I felt as if unburdened. Finally it was clear that what I was wasn’t her, and vice versa. Her authority was no longer necessary to me, I had my own.” They compete for the praise of the same teacher. They fight for the charms of the same man. And by the time of this fourth novel, as both have matured into adults, each successful in their own way, they compete for the respect and admiration of their old neighborhood. “I had no doubts about how I would react if I discovered that she really had irrupted into my professional identity, emptying it.” This tight-knit lower class community has followed both of their lives and judged their successes and failures to its own idiosyncratic standards. “I loved my city, but I uprooted from myself any dutiful defense of it.”

Sunday, August 5, 2018

“The Screwtape Letters” by C.S. Lewis

Lewis may be best known for his fantasy epic “The Chronicles of Narnia,” but he was also a devout Christian whose theological works such as “Mere Christianity” and “Reflections on the Psalms” dealt with his personal relationship with divinity and organized religion. In “The Screwtape Letters,” Lewis mixes fiction with his religious interpretations, writing as if an agent of the Devil who is giving guidance to a young co-conspirator trying to co-opt a man’s soul to the depths of Hell. The book is short, but densely packed and I found myself rereading many of the fictional letters over and over again. Strangely perhaps, it reminded me of Marcus Aurelius’ “Meditations” in that this book also tries to set down a guide to living a moral life, albeit a Christian, rather than a Stoic, one. The form of the book is entertaining and catching in the sense that one has to remember that it is the Devil’s agent giving the advice so one has to do the opposite to avoid being ensnared by the Devil’s traps. Lewis makes the case for an uncomplicated and personal piety away from the trappings of religiosity, while never outrightly condemning the established Church.