Archive for the ‘Uncategorized’ Category

The evolution of good vs. evil

Monday, August 2nd, 2010

I’ll bet you a beer you don’t know the species with DNA most closely matching humans.

The answer is the bonobo at 99.6%. (I’ll take a Bass Ale, thanks.) They look like chimpanzees, but behave quite differently. You could call chimpanzees the evil-parallel-universe versions of bonobos (minus the goatees). Chimps can be warm and loving, but they also maim, rape and kill each other. According to Vanessa Woods, however, bonobos cooperate rather than compete, literally preferring to make love rather than war.

Woods’ book Bonobo Handshake chronicles her study of bonobos in the Congo. She also describes the political backdrop of humans who do a lot of maiming, raping and killing of their own. (It’s like Jane Goodall meets Hotel Rwanda.) And don’t think that can’t happen here. The college students in the Stanford Prison Experiment, normally docile in their native environment, went Lord of The Flies in only six days.

Darwin himself wondered how good ever evolved. When others steal and kill, altruistic behavior is a sucker’s ticket to extinction. Darwin speculated some group-level selective advantage; others later developed models of nepotistic “kin selection.” But you still had the problem of free riders sleeping on the genetic couch of the altruists and outbreeding them. Enter George Price, who developed a mathematical model demonstrating how altruistic traits could be passed on genetically. Unfortunately, this convinced him selfless altruism didn’t exist.  He later gave away all his money, and ultimately committed suicide.

Today, people distinguish between “biological” altruism (evolutionary self-interest) and “psychological” altruism (intentional and empathetic). Getting back to bonobos, Woods saw one put herself between a fallen comrade and a gun, leading her to believe bonobos are capable of psychological altruism. She helped conduct experiments suggesting that bonobos trust and unselfishly share to a degree that chimpanzees would metaphorically fling feces at in contempt.

I was disappointed when Woods suggested an environment of plentiful food, rather than harsh competition, may have shaped the bonobos’ character.  Still, if the cruelty that comes so easily to us is absent in our closest relatives, further study seems like a good idea.

Darwin

Temporal poverty

Monday, July 26th, 2010

Recently I read The Geography of Time by Robert Levine, an intriguing overview of how individuals and cultures perceive the tempo or duration of time differently.

One section describes the irony that the richer our society becomes materially, the poorer we become regarding spare time. Levine cites a Harris poll finding “a 37 percent decrease in Americans’ leisure time over the past twenty years.” Wow. Funny though, the poll I found in the Harris archives said leisure time estimates decreased from 26.2 to 19.0 hours per week between 1973 and 1993. First, isn’t that a 27% decrease? Second, part of the report’s title read, “LEISURE TIME SHOWS NO CHANGE.” The actual numbers showed a decline, followed by a 14% increase between 1987 and 1993.

Others have reported conflicting results. Nobel laureate Robert Fogel calculated leisure time almost tripled between 1880 and 1995. Another paper reported a “dramatic increase in leisure time” between 1965 and 2003. But this paper reported essentially no change since 1900. (To form your own opinion, go to the methodology. How is leisure defined? How are demographics accommodated?)

But you can’t just look at the quantity of leisure time. Spare time isn’t a commodity in itself, it’s merely the currency we use to consume experiences. Levine quotes Allen Johnson as arguing that as productivity increases, so does the opportunity cost of sitting idle. The problem is that the increased variety and richness of leisure options means we can now waste our spare time as well.  Quoting Johnson, this “increase in the value of time…is felt subjectively as an increase in tempo or pace.”  Increased tempo increases stress, which is antithetical to leisure.  So our problem isn’t lack of leisure time, it’s our addiction to consuming experiences.

And with the annoying products I designed, you can tell yourself you’re spending more time with your family, while multi-tasking reading email on your phone.  Do two things  for the temporal price of one.

In other words, when it comes to leisure time, it’s less about quantity than quality.  I guess that’s why they call it “quality time.”  Speaking of which, my wife is downstairs watching TV, so I think I’ll join her.

time is money

This week from the blogosphere

Monday, July 19th, 2010

OK, I’ve been getting a little heavy lately so I thought I’d dial it back and update you on things that caught my eye this week.

Robots, robots, robots
It’s surprising how much coverage you find on robots if you look,  even on non-geek sites. The NY Times, for example, seems to run a piece every month or so. This week’s article covered robots in the classroom. At one school, “Children swarmed the robot…. But by the end of the day, a couple of boys had yanked off its arms.” I can envision engineers pulling their hair out. “FFS!” (Singularity note: perhaps young boys stand the best chance fighting our future robotic overlords.)

Speaking of Singularity, a major robotics milestone was reported by the Singularity Hub. Willow Garage succeeded in programming a robot to get you a beer from the fridge. You can choose the brand you want, and it won’t release it from its iron grip until its camera sees a face.  Watch the video where employees click the “Beer Me” button and chill with the ‘bots.

Freakonomics meets MySpace
ScienceBlogs had a link to a dating site’s blog that applies statistical analysis to examine dating behavior.  This post contains a distribution chart of messages to men by age and income (spoiler alert: income matters).  This post described how men rate women’s looks much more charitably than women rate men’s looks–and then proceed to mainly message the best looking women. (And yet the data shows “cleavage” profile shots don’t do as well as travel photos for women.) It’s an oddly compelling combination of science and reality TV.  But there are more sobering posts like the correlations between race and messaging.

Best psychology experiment video ever
If you haven’t heard about an experiment where you count people passing a basketball, read no further and try this 30-second experiment.

Wasn’t that awesome?  Apparently 50% fail this test. Now that you think you’re so clever, check this one out. That’s the sequel: apparently expecting the unexpected doesn’t help unless you know what the unexpected is.

basketball

Follow the bouncing ball.

The myth of objective reality

Monday, July 12th, 2010

I used to assume there was an objective reality.

But that would require shared perceptions and memories, which turn out to be disturbingly unreliable and malleable. Sure, hindsight bias tells me I always knew you may not see reality perfectly. But my confirmation bias notices research showing unconscious biases in all of us, like “priming” (e.g., people played games more competitively when a briefcase is nearby).  Or the study showing people rate job candidates higher when resumes are attached to heavier clipboards.  The list goes on and on (104 are described in the Wikipedia article, “List of cognitive biases.”) See www.youarenotsosmart.com for amusing evidence of how clueless we are.

Psychologist David Dunning says, “What we see and what we hear is shaped by our preferences, our wishes, our fears, our desires…. We literally see the world the way we want to see it.”   There isn’t a binary break between realistic and delusional, just a sliding scale of cluelessness, self-deception and denial. Psychologists have known this since early cognitive dissonance experiments in 1959.

And Director Akira Kurosawa knew this in 1950, when he made Rashomon, the story of a murder told from the perspective of four eyewitnesses. Not surprisingly, the versions differ dramatically. You ultimately realize there is no “real” story, just individual interpretations. (And as we saw earlier, contaminated memories are indistinguishable from the originals.)

So facts and shared experiences don’t constitute objective reality. They are merely common building blocks from which we selectively create our individual realities.  And we each select different building blocks by choosing what we read, watch and hear. (Then join those with similar realities, like Glenn Beck or Jon Stewart fans.)

Are there evolutionary reasons behind this? Maybe we developed rationalization to avoid being traumatized by empathy (and got too good at it). Maybe self-deception is critical for innovation.  (The first cavemen who thought they could kill mammoths with pointed sticks were probably tragically mistaken.  But where would Silicon Valley without the audacity of spectacular failure?)

So that’s my reality now.  Perhaps less comforting, but it provides an interesting perspective on people–and me.

Mammoth

"Dude, we can totally take this guy."

Sakamoto Ryōma

Engineering memories: what could possibly go wrong?

Tuesday, July 6th, 2010

When forming memories, you actually build physical connections (synapses) between neurons. People used to think this process was like burning CDs–once formed, memories wouldn’t change. Sure, they might get fuzzy, but that’s just reality viewed through something like cognitive beer goggles.

But it turns out that when we recall memories, we rebuild these connections from scratch. And you can interrupt this “reconsolidation” with drugs, literally erasing  memories. Clinical trials are being conducted to use this process to treat PTSD.  Great news–so why is my Spider Sense tingling?

Well, for one thing, new information can contaminate the original memory when it is rebuilt.  Slate recently documented the research of Elizabeth Loftus in this area.  In 1974, she showed people video of a car accident.  When asked how fast the cars were going when they “smashed into” each other, the estimates were higher than when the verb “contacted” was used (and more people mistakenly remembered broken glass). Loftus subsequently developed techniques to implant increasingly rich false memories, like being lost in a mall as a child, witnessing demonic possession, or being choked. She also showed how similar effects can increase false identifications in lineups. (Here’s a simple demonstration.)

Slate portrays Loftus as passionately pursuing the Dark Side to use for Good. (“These aren’t the droids you’re looking for.”) Occasionally she took side paths, like helping advertisers plant happy memories of their products.  But she fought wrongful eyewitness-based convictions, and controversially opposed repressed memory evidence.  Later, she planted false memories of getting sick eating unhealthy foods, actually modifying behavior to reduce consumption.  Then she expanded the “manipulation sessions” to reduce alcohol intake. She advocates attempting to purge traumatic memories, or even eliminate prejudices. (One catch, though: you must be unaware of the “manipulation” for it to work.)

Loftus proved memory was malleable by learning to, um, malleate it. It’s disturbingly easy, and you’re convinced the altered memories are true.  In her words, “You call up a file, edit it and then put the revised file back. The original is lost.”

Why do I suddenly have the urge to want to write everything down?

Remember!

The Singularity is near (repent now)

Monday, June 28th, 2010

I have mixed reactions regarding the Singularity, the “technological creation of smarter-than-human intelligence.” Once this happens, the argument goes, AI will program itself and spiral beyond human comprehension. If so, will they consider humans adorable pets or vermin destroying the planet?  It’s hard to feel a sense urgency when state-of-the-art recognition AI involves telling people from trees. But when it comes to uncontrollable, incomprehensible intelligence, you either have to reject the premise or welcome some contingency planning.

Ray Kurzwell takes a broader, sunnier view, emphasizing exponential advancement in numerous technologies. “With 30 linear steps, you get to 30,” he says. “With 30 steps exponentially, you get to one billion.” Progress is misleading though, because at 15 steps you’re only 0.003% there. Kurzwell estimates we’ll advance the equivalent of 200 centuries this century. He predicts we’ll download our brains, and live forever.

Incredible gains generate concomitant risks, however. If you hate the Gulf spill, imagine the equivalent catastrophic failure with self-replicating nanobots. Some feared turning on the Hadron Collider would generate a black hole (more like “apocalyptic failure”). And as  Adam Smith observed, people over-invest seeking upside and under-invest in risk mitigation (e.g., we buy too many lottery tickets and too little insurance).

Then there’s the exponential increase in destructive capabilities. About when my grandmother was born, the NY Times opined we were millions of years from manned flight. When her daughter was a teenager, B29s dropped 3600 tons of incendiary bombs on her home city in one night. And when her grandchildren were teenagers, ICBMs were capable of destroying the world many times over without even being piloted.

Too bad human benevolence doesn’t increase exponentially (or even linearly). Yet it stubbornly refuses to be defeated entirely. Ironically, my grandmother’s daughter named her son after Robert Little, a colonel in the Air Force that had devastated her hometown. After the war, he had shown tremendous generosity to her family, refusing to judge a people by the atrocities their Empire committed. Hopefully this capacity for kindness and understanding, despite our horrible flaws, will score us some points with our future robotic overlords.

Bonus links:

  • If you’re interested in the exponential advancement of technology, Michio Kaku wrote a great book called Physics of The Impossible. He talks about crazy ideas that are theoretically possible, and how far we’ve gotten (like time travel and teleporation–did you know scientists have teleported particles?)
  • For Hadron Collider fans, some people at CERN made the coolest uber-geek rap video ever made (topics include anti-matter and the Higgs bosons).

robotic overlord

Vitamin D Video version 1.3

Thursday, June 17th, 2010

I’m posting this week’s blog a little early, to provide some color commentary for a new release of Vitamin D Video.

Version 1.3 is another free upgrade, with some significant improvements.

  • Performance enhancements.  Processing video is now up to 2x faster!  Since we process video in real time, this really means you can run more cameras at once on your PC, or free up more processing power for other applications.  The biggest areas of improvement are at QVGA (320 x 240) resolution, and in scenes where there is very little activity (since we’d previously put effort into optimizing busy scenes). Your mileage will vary to a large degree, depending on factors described here.  A fast quad-core PC should now run up to 16 cameras at QVGA.
  • Multi-camera arming (with delay). (Basic and Pro Editions).  If you have multiple cameras, you can configure a set to turn on with one click from a toolbar icon (in case you’ve been wondering why we have a toolbar for just two icons!).  There is an option to set a delay so you can leave the premises before notifications or alarms start. You can turn off all cameras with one click as well.
  • Remote storage of clips to an FTP site. (Basic and Pro Editions). You can set up a rule to upload clips to a secure remote server.  There are websites that make it easy to set up an account to do this, many offering 1GB of storage free.
  • Custom responses to rules. (Basic and Pro Editions). This was actually in v 1.2, but in case you missed it, you can set up a rule to trigger a custom program or script.  For example, you can configure a home automation system to turn on a light when an event is seen.

And my favorite interface enhancement is that if you have multiple cameras, you can stretch the monitor view to arrange the video panes in multiple columns.

For a video overview of these and other features, click here.

Happy monitoring!

Monitor view grid layout

You can change from one column of video panes to multiple columns by widening the window.

Multitasking: what was that about hats again?

Monday, June 14th, 2010

phones

Last week the NY Times ran seven pieces covering your brain on gadgets, the Internet and multitasking. Several showed families engrossed with gadgets while ignoring each other.

Is this technology making us unable to focus (except, ironically, on our iPhones)?  It reminds me of the Monty Python sketch where an executive concludes grimly that souls don’t materialize because people are “distracted from spiritual matters by everyday trivia.” After a dramatic pause, another asks, “What was that about hats again?”

Apparently, we evolved to react to stimuli–last guy to notice the panther didn’t breed.  Novel stimuli actually provide a  dopamine hit, explaining the addictive aspects of being plugged in. So wireless gadgets are like crack pipes for cyber-stimuli.  iPads sell because they provide a purer high.

We crave stimuli, but also justify gadget addiction.  Multitasking makes us more productive, right? Well, people can’t literally concentrate on two things simultaneously, like driving and texting.  We’re really “task switching” when we IM and email “simultaneously.”

Unfortunately, studies have shown task switching inhibits rather than increases productivity. The research often consists of switching between small tasks like adding vs. multiplying numbers.  You incur “switching costs” when you re-orient, so it’s more efficient to finish one task first.

But isn’t reality more complex?  Checking mail while waiting in line doesn’t get you your latte any slower. Or if you get bored or fatigued,  switching could theoretically increase  efficiency. (And what about time-sensitive tasks?) That said, you’re probably less efficient in “squirrel chasing mode” than you think.

Others, however, cite studies showing beneficial effects of being plugged in, even of multitasking. So which side is “right?”

Well first, don’t trust people who say studies support sweeping conclusions like “web surfing helps memory.”  If you actually read the studies and their methodologies, you often find narrower results than you expected.

Technology amplifies human tendencies, and isn’t inherently good or bad.  But whatever the negatives, people dislike giving up benefits, so you might as well go with the flow. Food creates problems too, but you can advocate good cooking and fighting obesity at the same time.

The science of bias

Tuesday, June 1st, 2010

I recently came across a 2008 lecture by Anthony Greenwald, who says he can tell you precisely how biased you are. Or more specifically, he developed a psychological test that measures unconscious associations. (You may have read this in Blink).

Greenwald uses the terms “Level 1″ and “Level 2″ to distinguish between deliberate, high-level thinking and automatic, unthinking behavior.  We’re often on Level 2 auto-pilot, even when we think we’re in Level 1. For example, if asked how you’re doing, “Fine” might be a Level 2 response, whereas “The North Koreans are on to me” suggests Level 1 engagement.  (In HTM parlance, Level 2 is the state when lower-level predictions are met.)

Next, Greenwald shows a cool optical illusion illustrating how context can create powerful, unconscious bias.  In this image, squares A and  B are exactly the same color (seriously):

Optical illusion checkerboard

Click the image above for proofs and an explanation of the illusion.

Finally, he described the Implicit Association Test (IAT).  In one test, you categorize pictures of light vs. dark skinned faces, then “good” vs. “bad” concepts (e.g., joy, love, agony, failure).  Next they pair the categories. If it’s a light face or “bad” concept, press one key. If it’s a dark face or “good” concept press another.   Then they switch the pairs.

Greenwald found significant differences in reaction time for different combinations (measured in milliseconds). He claims this represents unconscious bias:  if two concepts are associated, you answer more quickly (responding at Level 2). Taking longer means your Level 1 brain needs to be engaged to overcome Level 2. The test has its critics as well as supporters (Greenwald’s responses can be found here). But it’s fascinating to go to the IAT website and test yourself.

I found my results to be…unsettling. Greenwald said that he’s taken the test hundreds of times and his biases have barely changed.  Someone asked if one could become aware of when you were biased.  Greenwald politely replied that, well, it wouldn’t be “unconscious” then would it?

I wonder if it’s fair to say that it only takes me a few hundred milliseconds to overcome my unconscious biases if I stop to think….

I want to build an artificial David Lynch

Monday, May 24th, 2010

If you wanted to replicate “creativity” in software, you’d need to define your goals.  According to HTM theory, all cognitive activity is inherently creative. So technically, you could fist bump if you got to pigeon-level creativity, or you could hold out for David Lynch level.

What then defines what we consider human-level creativity? Some say it’s the production of novel and useful things (which could make me reconsider David Lynch—I’m not sure if Eraserhead counts as “useful.”) Kenneth Heilman speaks of “divergent reasoning,” or abandoning known methods to generate previously unknown solutions. (This contrasts with “convergent reasoning,” which assembles stored knowledge to choose known solutions, e.g., diagnoses based on medical training.) And Rex Jung quipped to the NY Times, “Creativity is kind of like pornography—you know it when you see it.” (Spoken like a true scientist.)

Undaunted, research on creativity forges ahead. Sometimes subjects are asked questions like how many creative uses you can imagine for a brick. (1. Throw it at a pigeon. 2. Throw it at David Lynch….) One study measured brain activity at the “aha moment” when you solve a brain teaser or get a joke. (So the kamikaze instructor says, “Watch carefully because I’m only going to show you this once.”) Scientists have isolated patterns of brain activity that correlate with creative thought. So we don’t know exactly what we’re measuring, but apparently it’s measurable.

OK, so how does creativity work? Maybe I’m biased, but theories I hear sound a lot like HTM to me. For example, Semir Zeki studies the neural basis of artistic creativity (neuroesthetics). He describes two basic laws of visual perception: “constancy” and “abstraction.” The brain focuses on the aspects of object that remain constant, and forms high-level concepts to avoid being “enslaved to the particulars.” This closely mirrors HTM concepts of invariant representation and hierarchical inference.

Heilman defines creativity as discovering “novel orderly relationships.” Again, that’s a primary function of HTM.  I don’t know if HTM belief distribution algorithms can be tweaked to generate creative outputs, but it seems to be developing in the right places to try.

Postscript: A study cited in this dissertation found that “the shifts in attention and concentration measured by low frequency EEG that occur in creative thinking are similar to those experienced by unmedicated schizophrenics prior to hallucinations.” It didn’t occur to me that a buggy creative program could be, um, psychotic. Suggestion: when developing advanced AI for nuclear missile command systems, stick with the convergent reasoning algorithms.