Sunday 9 November 2014

Engineering telepathy

Brain-to-brain communication isn't a novel concept - we do it all time when we talk and listen to each other. However it would be a notable achievement if we could bypass our normal communication organs (e.g., mouth and ears) and instead directly communicate with each other via our thoughts.

A recent scientific paper describes a cooperative activity between two people involving direct brain-to-brain communication that occurs without using their normal sensory and speech organs. Instead, the first person imagines the physical action required to achieve a certain goal and, via brain signal monitoring, electronic transmission and brain stimulation, a physical action is produced in the second person to achieve the desired goal.

The way the experiment is set up is that two people, in buildings a mile apart, are playing a computer game that requires firing a cannon to shoot down an enemy rocket. The first person can see the game screen but they have no input device to fire the cannon. The second person cannot see the game screen, but they do have an input device to fire the cannon. The goal is for the first person to determine when the cannon needs to be fired, instruct the second person to fire the cannon and consequently destroy the enemy rocket. However the only available communication channel is via direct brain-to-brain communication.

The way the goal is achieved is that the first person imagines moving their hand up or down. Brain sensors on their scalp interpret their brain signals (via electroencephalography, or EEG) and move a cursor on the screen up or down accordingly. When the enemy rocket appears, the person causes the cursor to move up and over a button that represents the instruction to fire the cannon. This instruction is then transmitted via the internet to the second person's computer. When the instruction is received, the second person's brain is stimulated at a particular region (via transcranial magnetic stimulation, or TMS) that causes their hand to move up and then down onto a button which fires the cannon. If all goes according to plan, this action shoots down the enemy rocket.

That's the experiment and it works successfully. While this is a very nice end-to-end demonstration of where the technology is at now, the obvious improvement would be to have the first person just think the instruction to "fire now!" and have the instruction detected and automatically transmitted to the second person. Then the recipient's brain would be stimulated such that it generates the idea of "fire now!" in their minds and, finally, they act by pressing the button.

That would be a truly impressive demonstration of engineering telepathy. As Arthur C. Clarke once proposed, "Any sufficiently advanced technology is indistinguishable from magic."

Wednesday 24 September 2014

Are you smarter than a chimp?

I watched a great talk called, "How not to be ignorant about the world" by Hans Rosling. He demonstrates that people, regardless of education level, are often less knowledgeable about the world than they think. Hans jokes in his talk that monkeys randomly selecting the answers to his quiz do better than the people answering them!

To get the idea, try answering the four questions below to see how you go.
  1. In 1950 there were fewer than one billion children (aged 0-14) in the world. By 2000 there were almost two billion. How many do UN experts think there will be in 2100?
     
    A. Four billion
    B. Three billion
    C. Two billion
     
  2. What percentage of adults in the world today are literate – can read and write?
     
    A. 80%
    B. 60%
    C. 40%
     
  3. On average, in the world as a whole today, men aged 25-34 have spent 8 years in school. How many years on average have women in the same age group spent in school?
     
    A. 7 years
    B. 5 years
    C. 3 years
     
  4. In the last 20 years the proportion of the world population living in extreme poverty has...
     
    A. Almost doubled
    B. Remained more or less the same
    C. Almost halved
You can find the answers to the quiz at the end of this post along with the percentage of people who selected the correct answer. The questions were part of the Ignorance Survey that was conducted in the US in 2013.

So how did you go? If you didn't do very well then you're in good company with the vast majority of respondents! As you can see by the percentages, the respondents did worse than monkeys randomly choosing the right answers 33% of the time.

One of the issues Hans raised was whether the problem was due to people not reading and listening to the media. It turns out that after surveying the media with these questions, they fared no better than the general population. The problem was that even the media themselves didn't know basic facts about the world!

In the second part of the talk, Han's son Ola provided some tips for beating the chimps. He pointed out that the reason that we often get these questions wrong is due to:
  1. Personal bias - we tend to generalize from our own experience which is not representative of the broader population
  2. Teachers often teach outdated information based both on what they learnt during their schooling and on outdated text books
  3. News bias - sensational and unusual events are more likely to make headlines and these are not representative of world events
These biases lead to the misconceptions that:
  1. Everything is getting worse
  2. The gap is increasing between rich and poor
  3. People need wealth before social development can occur
  4. Sharks are dangerous
Ola suggests that people's scores on the world fact survey will immediately and dramatically improve if they generalize in the opposite direction, recognizing instead that:
  1. Most things improve
  2. Global wealth can be represented as a normal bell curve with most people in the middle
  3. Most people are already socially developed before they have wealth
  4. Sharks are not actually very dangerous to us since they kill very few people - so recognize that fear exaggerates danger
--
Answers to the quiz (along with the percentage of respondents who selected the correct answer):
  1. C (7%)
  2. A (22%)
  3. A (24%)
  4. C (5%)

 

Monday 22 September 2014

The Blue Eyes Puzzle (Part 2)

This follow-up post gives the solution to the Blue Eyes puzzle described here.

The answer is that the 100 blue-eyed people will leave the island on the 100th day.

The way to understand this answer is to first work through a much simpler version of the problem where there is only one-blue eyed person and one brown-eyed person on the island. Let's first try to solve it before the outsider arrives. The blue-eyed person doesn't see anyone with blue eyes, while the brown-eyed person sees one person with blue eyes. Since the blue-eyed person doesn't know whether there are any blue-eyed people on the island, he doesn't know whether he himself has blue eyes. So he will not leave the island.

However once the outsider informs the people that there is at least one blue-eyed person, the single blue-eyed person immediately knows that it must be him. Thus he leaves the island that night. Conversely, when the outsider makes her statement, the brown-eyed person doesn't yet know the color of his own eyes because he can already see someone with blue eyes. But he knows that if he does have brown eyes, then the other person will deduce their own blue eyes and leave the island that night. Or if he himself has blue eyes, then the other person will similarly not yet know the color of his eyes and will stay on the island. Once he observes the blue-eyed person leave the island that night, he then immediately knows that he himself has brown eyes.

So in this simple case, at least, the outsider's statement conveyed crucial information to the blue-eyed person that he didn't previously know and that made the difference to whether he left the island or not. Also, on observing the blue-eyed person leave the island, the brown-eyed person deduces that he himself has brown eyes.

Now consider the next simplest case where there are only two blue-eyed people and two brown-eyed people. Again, let's try to solve it before the outsider arrives. Each blue-eyed person can see one other blue-eyed person, while the brown-eyed people can see two people with blue eyes. Therefore everyone knows that there is at least one blue-eyed person on the island.

The first blue-eyed person realizes that if he himself has brown eyes then his scenario is identical to the single blue-eyed person scenario that we just analyzed. However, without the outsider's information, the other blue-eyed person cannot deduce that he has blue eyes and will therefore stay on the island. He similarly realizes that if he has blue eyes, he has no way of knowing this, so will stay on the island.

However when the outsider states that there is at least one blue-eyed person, the first blue-eyed person will now reason differently. He again realizes that if he has brown eyes then his scenario is identical to the single blue-eyed person scenario that we just analyzed. But he now knows that the other blue-eyed person would deduce that he himself has blue eyes and leave the island on the first night. So the first blue-eyed person now just has to wait until that night to see if the other blue-eyed person leaves the island. If he does, then he can deduce that he himself has brown eyes. If he does not leave, then he can deduce that he himself has blue eyes, and will leave on the second night. The other blue-eyed person reasons in the same way and also leaves on the second night. The brown-eyed person also reasons in a similar way. However, because he can see two blue-eyed people, he will wait until the second night to see what happens. When he observes the blue-eyed people leave the island on the second night, he then immediately knows that he himself has brown eyes.

So the outsider's statement, which only seemed crucial in the one blue-eyed person scenario was also crucial in the two blue-eyed people scenario. That's because it allowed each blue-eyed person to rule out the one-blue-eyed person scenario by observing what happened after the first night. It also allowed each brown-eyed person to confirm the two blue-eyed people scenario after the second night.

The same line of reasoning applies to the three blue-eyed people scenario. Without the outsider's statement, no-one will leave the island. With the outsider's statement the three blue-eyed people can rule out the two blue-eyed people scenario after the second night, deduce that they themselves have blue eyes and leave on the third night.

How do they conclude this? All three blue-eyed people hypothesize that if they themselves have brown eyes, then there are only two blue-eyed people on the island who, in turn, hypothesize that if they themselves have brown eyes, then there is only one blue-eyed person on the island. That hypothesized single blue-eyed person will deduce that he has blue eyes and leave on the first night as a result of the outsider's statement. But if no-one leaves on the first night, then that falsifies the hypothesized two blue-eyed people's hypothesis, so they would leave on the second night. But if no-one leaves on the second night, that falsifies the hypothesis of the three blue-eyed people, so they will all leave on the third night.

Conversely, the brown-eyed people will observe the three blue-eyed people leave on the third night and deduce that they themselves have brown eyes. The same style of reasoning applies to the 100 blue-eyed people scenario, with the blue-eyed people leaving on the 100th night and the remaining islanders deducing that they themselves have brown eyes.

So the outsider's statement did enable everyone to deduce their eye colors. But what new and useful information did it convey? In the single blue-eyed person scenario, it informed the blue-eyed person that someone had blue eyes. In the two blue-eyed people scenario, it informed the two blue-eyed people that the other blue-eyed person knew that someone had blue eyes. In the three blue-eyed people scenario, it informed the three blue-eyed people that the other blue-eyed people knew that the other blue-eyed people knew that someone had blue eyes. And so on.

In other words, the information that at least one person had blue eyes had become common knowledge. This meant that they all knew it, they all knew that they knew it, they all knew that they all knew that they knew it, and so on ad infinitum.

Another way to think about this puzzle is that the blue-eyed people know that they are either in a 99 or a 100 blue-eyed people scenario, but they don't know which one. Whereas the brown-eyed people know that they are either in a 100 or a 101 blue-eyed people scenario, but they also don't know which one. So the blue-eyed people will wait to see if the other blue-eyed people leave the island on the 99th night. If they do not leave, then the blue-eyed people deduce that they are in the 100 blue-eyed people scenario, and leave on the 100th night. The brown-eyed people observe the blue-eyed people leave the island on the 100th night, deduce that they are in the 100 blue-eyed people scenario, and thus know that they themselves have brown eyes. But remember that no-one will leave the island without the outsider's statement since her statement is necessary to falsify or confirm each persons' deeply-nested hypothetical about what the others know.

The key to solving this puzzle is to recognize that it has a recursive structure, observe the pattern that emerges with the simpler scenarios, and then apply that pattern to the more complex 100 blue-eyed people scenario. It's like the pattern that emerges when solving the factorial of four (or 4!). 4! = 4 * 3!, 3! = 3 * 2!, 2! = 2 * 1!, 1! = 1. Once the base case of 1! is solved, and the factorial pattern is understood, it's then easy to solve for higher-numbered factorials.

For some other expositions of the blue eyes puzzle, see xkcd and Terence Tao.

[Added Sep 24]
Bonus question: In a different version of the puzzle, the outsider comes back the day after making her public announcement, calls together all the people on the island, and makes a new public announcement:

"I'm terribly sorry, but I retract my statement from yesterday. I had a migraine that caused me to not see colors correctly so I don't actually know that I saw someone with blue eyes."

What effect (if any) will the outsider's new statement have?

Friday 19 September 2014

The Blue Eyes Puzzle (Part 1)

I came across a fascinating logic puzzle that goes like this:

On an island, there are 100 people who have blue eyes and 100 people who have brown eyes. No-one on the island knows their own eye color. By rule, if a person on the island ever discovers they have blue eyes, that person must leave the island that night. On the island, each person knows every other person's eye color, there are no reflective surfaces, and there is no discussion of eye color. Also it is public knowledge that the islanders are perfect logicians - if a conclusion can be deduced then they will immediately do so.

One day, an outsider comes to the island, calls together all the people on the island, and makes the following public announcement:

"I can see someone with blue eyes."

Who leaves the island and on what night do they leave?

If you haven't seen this puzzle before, I encourage you to think about it before continuing.

...

All done?

Is your answer that no-one will leave the island? If so then I'm sorry to say that you are incorrect! Despite the fact that all the islanders can see many blue-eyed people, the outsider's statement does convey new information to the islanders and that information enables them to determine the color of their own eyes.

I will give the actual answer and explanation in a few days time. In the meantime, here is a suggestion to help you find the correct solution.

First try to solve a much simpler version of the puzzle. The simplest version is the scenario where there is one blue-eyed person and one brown-eyed person. Consider what the islanders can deduce before the outsider arrives. Then consider what they can deduce after the outsider makes his statement.

Now solve the next simplest version where there are two blue-eyed people and two brown-eyed people. Again consider what the islanders can deduce both before and after the outsider makes his statement. This will help you notice what the islanders learned from the outsider's statement and how it is necessary for solving the subsequent versions with three blue-eyed people and so on.

[Added Sep 22: The Blue Eyes Puzzle solution]

Sunday 31 August 2014

Visualizing Euler's Identity

Euler's Identity is often considered the most beautiful equation in mathematics because it elegantly combines one each of 0, 1, i, e, π, addition, multiplication and exponentiation. But intuitively, what does it mean?

Answering that requires a brief tour of exponential growth (to understand e) and complex numbers (to understand i and π). My previous post on complex numbers is here.

e, or Euler's number, is a mathematical constant (approximately 2.72) that represents 100% continuous growth when starting at 1. For example, 100% compound interest on $1 for a year would be e in dollars, or $2.72. With continuous growth, the interest is calculated at every instant as compared with yearly (where you would only end up with $2), quarterly ($2.44), monthly ($2.61) or daily ($2.71). The formula for calculating compound interest is:
  (1) compound interest = (1 + 1 / time periods)time periods
And e is the limit that is approached as the number of time periods increase.

e is used to calculate continuous growth for any rate, time period or starting point. So 10% compound interest on $1,000 for 3 years would be $1,000 * e 0.1 * 3 = $1,349.86. The formula is:
  (2) final amount = initial amount * e rate * time periods
If we know the initial and final amounts but not the interest rate, then the natural logarithm function is used, as follows:
  (3) rate = ln(final amount / starting amount)
The natural logarithm of a number is the exponent that e is raised to in order to get that same number. For example, 2 = e0.69, so the natural logarithm of 2 is 0.69. That is, the compound interest rate required to grow from $1 to $2 in 1 year is 69%.

This is where I think things get interesting! Any number can be interpreted as the end result of continuous growth starting from 1, that is:
  (4) number = e ln(number)
This same idea can be applied to numbers with exponents. For example, 23 can be understood as 1 growing to 2 at a rate of ln(2) (or 69%) and then again to 4 and finally to 8, for a total of 3 growth periods. That is, 23 = e ln(2) * 3. Generalizing, we get:
  (5) number time periods = e ln(number) * time periods
In geometric terms, continuous growth can be visualized as a scaling operation on the real number line (i.e., the distance travelled in each growth period is increasingly larger, as with 1, 2, 4, 8, 16, ...) However if a logarithmic scale is used for the number line then the distance travelled in each growth period will be the same (the equidistant points can be marked as 1, e, e2, e3, ...)

As with real numbers, imaginary numbers also can be interpreted as the end result of continuous growth starting from 1. However instead of exponential growth along the real number line, imaginary growth follows a linear circular path around the origin on the complex plane. The reason the growth is linear is because the scale is logarithmic with a growth rate of i represented by an angular distance of 1 radian. You can see this linearity when multiplying by i. 1 multiplied by i rotates 1 by π / 2 radians (90 degrees) to i and multiplying by i again rotates a further π / 2 radians to -1.

To summarize, a growth rate of 1 (or 100%) results in growth from 1 to e1 on the real number line, whereas a growth rate of i results in growth from 1 to ei on the complex number plane - a distance of 1 radian around the unit circle (see the diagram below).


Similarly, a growth rate of 2i will travel 2 radians from 1 to e2i. A growth rate of π / 2i will travel π / 2 radians to e π / 2 i or i. A growth rate of π i will travel π radians to eπ i or -1. And a growth rate of 2π i will travel all the way around the unit circle to arrive back at 1.

That second-to-last calculation is Euler's Identity: e π i = -1. It just means that starting at 1 and growing at an imaginary rate of π (via an anti-clockwise rotation), we will end up at -1 on the real number line. A way to remember this is that if you deposit $1 in a bank offering π imaginary interest, you'll end up owing them $1 after 1 year! Fortunately, if you wait for another year, you will get your original money back...

The basic formulas for calculating real growth can easily be applied to imaginary numbers. The key insight is to transform the number to base e and then the growth rate will be expressed in the exponent (as imaginary or real). Some further fun equations to end this post.
  (a) 23i = e ln(2) * 3i = e 0.69 * 3i = 2.08 radians
Start at 1 and grow at a 69% compound rate three times for a distance of 2.08 radians.
  (b) i = e ln(i) = e π / 2i = π / 2 radians
Start at 1 and grow at a rate of π / 2 radians to arrive at i.
  (c) i2 = e ln(i) * 2 = e π / 2i * 2 = e π i = π radians = -1
Euler's Identity derived from the complex number identity i 2 = -1.
  (d) ii = e ln(i) * i = e π / 2 * i * i = e π / 2 * -1 = e -π / 2 = 0.21
Start at 1 and grow at a rate of -π / 2 to arrive at 0.21.
  (e) (ii)i = e ln(ii) * i = e ln(e -π / 2) * i = e -π / 2i = -i
Start at 1 and grow at a rate of -π / 2 radians to arrive at -i.

Wednesday 20 August 2014

Lunchbox game theory

A practical lesson in game theory: the three-person game.

When helping the kids pack yoghurt for their lunch boxes, I found there was only strawberry yoghurt left in the fridge in the tear-off individual containers. Their preferred yoghurts, mango and vanilla, were finished.

So I asked Liam to grab new yoghurt from the garage fridge. He came back with two large containers (there were no tear-off packs left) which happened to be mango and vanilla. Since we could only open one of them, I asked Liam which one he wanted.

"Mango."

Liam then asked Michelle the same question, who replied, "Vanilla."

I said, "Sorry, we can only open one. So which one will we have?"

Same responses.

"Michelle.", I said, "We can only have one, so how about we have mango this week?"

"No!", she says, "I want vanilla!", as she starts to melt down.

"OK, Liam.", I said, "How about we have vanilla this week, since it seems to be important to Michelle?"

"No!", he says, "I want mango and I said it first!", as he also starts to melt down.

"OK.", I said, "Since you can't agree, I'm going to put them away and you can both have strawberry today."

"Noooooooo!"

OK that was traumatic. Unfortunately, in addition to the yoghurt wars, I see that tomorrow we will only have one bread roll left and one of the kids will have to have sliced bread...

Sunday 8 June 2014

Perspectives on Islam

I watched an excellent Richmond Forum discussion exploring whether Islam is a religion of violence or peace. The first speaker was Ayaan Hirsi Ali, a well-known activist who is critical of Islam. The second speaker was Maajid Nawaz, a former Islamic radical who now promotes democracy in the Muslim world. The final speaker was Imam Feisal Abdul Rauf who leads a mosque in downtown Manhattan and works at improving relations between the Muslim world and the West. A few years ago I read his book, "What's Right with Islam: A New Vision for Muslims and the West".

Ali's view is that Islam is fundamentally a religion of violence and subjugation and that this is the natural interpretation of particular passages in the Quran and hadith literature. She believes that extremists provide a compelling and inspiring case arguing from the Quran and that this is the main reason why they find ready and devout followers. For her, the only viable solution is for an Islamic reformation to occur where such passages are fully repudiated. Without this, a political and authoritarian Islam will continue to threaten the world.

Nawaz makes the case that Islam is not intrinsically a religion of either violence or peace.  Rather, there are competing interpretations that promote political violence and social discrimination on the one hand and liberal and democratic ideals on the other hand. What is important is to support people who are looking to reform the discourse and open up the debate in Muslim countries. He also points out the widespread problem of half-truth narratives. This occurs when religious texts or world events are cherry-picked to create false or misleading perceptions. For example, many Muslims think that Americans are anti-Muslim because certain events are played up in the Muslim world (e.g., the burning of copies of the Quran in Florida or the US president claiming that God told him to invade Iraq). Conversely, many westerners learn about the concepts of jihad or sharia from extremist sources and assume that these are the commonly-held interpretations of Muslims.

Rauf makes a different case again that Islam is fundamentally a religion of peace with its roots in the Abrahamic faith. His view is that Islamic jurisprudence has a venerable tradition, often exemplifying religious tolerance, progressive views for women, and intellectual achievement. He notes that Islamic fundamentalism is a relatively recent phenomenon that is discontinuous with the tradition of Islam, particularly with its insistence on an exclusive Islamic nation state which he sees as an incoherent concept. He also sees the need to change the cultural discourse around Islam. Instead of portraying terrorism and fundamentalism as an Islam versus the West battle, to rather understand it as a religious moderate versus religious extremism battle.

One point that especially struck me during this discussion is the problem of half-truth narratives. It's almost always possible to interpret events and textual sources in ways that support conflicting narratives. The real challenge is to form the most likely conclusions from the data that is available. In this case, the two narratives are "Islam versus the West", which Ali argues for and "Extremists versus Moderates", which Nawaz and Rauf argue for.

Sunday 27 April 2014

Liberalism's divide

In the US, a wedding photographer was found to be in breach of New Mexico's anti-discrimination law, and fined $6,600, when she refused (on religious grounds) to be the photographer for a same-sex wedding. It follows a similar case where a baker was fined for refusing to make a cake for a same-sex wedding.

The cases raise several issues. For example, does the ruling infringe the business owner's right to free expression (or free association or religious belief)? Also to what extent should the state be involved in deciding these matters? In the US, religious pastors are exempt from performing same-sex weddings. But how does that differ in principle from the above cases?

In the liberal intellectual tradition, the conventional divide has been between classical (free market) liberalism and welfare (redistributionist) liberalism. In recent decades, with the collapse of socialism and the shift toward market-based reform around the world, that division is no longer quite as fundamental as it was.

However there is another historical division regaining prominence, which is between pluralist and rationalist liberalism. Pluralist liberalism is skeptical of the central state and friendly towards local, traditional and voluntary communities and associations. Whereas rationalist liberalism is committed to intellectual progress, universalism and equality before a unified law and is keen to disrupt what it sees as local tyrannies in religious and ethnic groups.

The anti-discrimination cases are examples of disputes across the pluralist/rationalist divide. On the one side, liberal rationalists are arguing that the state should ensure equal treatment before the law, on the other side liberal pluralists are arguing for religious diversity and autonomy (for various reasons, while I support same-sex marriage, I side with the pluralists for the two described cases).

Jacob T. Levy (Professor of Political Theory at McGill University) has written a book that explores this liberal divide since the Enlightenment (entitled "Rationalism, Pluralism, and Freedom", 2014 - the first three chapters are here). He points out that many of the problems we find today about multiculturalism, religious freedom and freedom of associations are really just the recent manifestations of this deep and perennial divide. That is, one side is inclined toward the use of state power to protect individuals from local group power, the other is inclined to see groups as the results of individual free choice and the protectors of freedom against state power. It's also worth noting that both groups and the state have some general tendencies to impair freedom and the book seeks to identify the patterns.

Tuesday 4 March 2014

Lean Startup by Eric Ries

"You too can achieve fame and fortune with a great product and hard work."

This is the grand myth that the media loves to proclaim. However the stories we hear are a result of both selection bias (major success stories are newsworthy, the countless failed attempts are not) and after-the-fact rationalization (data is rarely available to determine true cause-and-effect).

So how can startup success move from being an art to being an engineering process? Lean Startup begins by recognizing that entrepreneurs are people who create new products and services under extreme uncertainty. The problem for a startup is figuring out the right thing to build and how to build a sustainable business around it.

Part I - Vision

Since, by definition, a startup doesn't know whether its product idea will be sustainable in the marketplace, the key insight is to rapidly expose the core assumptions about the product and then systematically test them. Each tested assumption is something new that is learned. If the assumption is validated, then the startup can persevere with the product direction; if it's not, then the product direction may need to change (called a pivot). Each stage of learning leads to new hypotheses to be tested and the opportunity to learn more about the product.

This process is a feedback loop called Build-Measure-Learn (see the diagram above). To be most effective, the feedback loop should be as short as possible. For example, an assumption might be that the world needs a new social media app. One way to test this is to spend $10 million of venture capital and two years building the app. Unfortunately, if the assumption is mistaken, then a lot of time and capital has been wasted. However, if a simple prototype were developed, or a video produced, or an Adwords test done, then it might be possible to learn of this mistake much sooner. This simplest version of the product is called a Minimum Viable Product (MVP), a minimal product that allows you to validate an assumption about the product. If the product is not meeting customer needs, then it may be possible to modify it in some way or target it at a different audience or decide that the whole idea needs to be scrapped. Each of these ideas are new hypotheses that can be tested.

The purpose of the feedback loop is to learn the crucial things you need to know without wasting resources. This does not occur by simply asking customers (they may be mistaken) or viewing sales metrics (which hide the specific causes of what is or is not working). Validated learning only occurs by testing a single assumption and carefully measuring the outcome.

Part II - Steer

Ries describes a number of MVP types. A concierge MVP is a product aimed at one or a few customers to see if they will buy it. A Wizard-of-Oz MVP is a prototype where functionality is manually provided. An MVP allows a startup to establish real data as a baseline. Then the startup engine can be tuned from the baseline to the ideal, persevering or pivoting as necessary.

Instead of relying on general metrics such as sales data or hits (termed vanity metrics), focus on metrics identifying cohorts (groups of users with common characteristics, such as first-time users, paid users or corporate users) that use the product in different ways. Metric reports should be actionable (demonstrating clear cause and effect), accessible (as simple as possible, understandable and concrete) and auditable (testable by hand).

A sign that a startup needs to pivot is when product experiments become ineffective or development seems unproductive. Note that any new design should always be tested against the old design to ensure that it is an improvement. Types of pivots include zoom-in (one feature becomes the whole product), zoom-out (the product becomes a single feature), customer segment (different customers need the product), customer need (customers have more important problems to solve), platform (app to platform or vice-versa), business architecture (B2B or consumer, complex or volume), value capture (type of revenue model), engine of growth (viral, sticky or paid growth), channel (internet, traditional retail) and technology pivots.

Part III - Accelerate

The purpose of the feedback loop is to determine which activities create value and which are a form of waste. Value is not found in the creation of stuff, but rather in the validated learning about how to build a sustainable business.

Ries recommends testing in small batches, for example, rapid releases to a small amount of users. Startups don't starve for ideas, they drown (most ideas have marginal benefit, hence the need to focus on validated learning).

Growth models include the sticky engine of growth (don't focus on the number of customers - a vanity metric, instead measure customer acquisition and churn), viral engine of growth (customers cause growth as a side-effect of use, for example, Facebook and Tupperware) and the paid engine of growth (revenue per customer exceeds cost of acquiring the customer).

To accelerate, Lean Startups need a process that provides a natural feedback loop. When a problem occurs, use the method of Five Whys (a method similar to a child repeatedly asking "Why?") to identify the root cause. Then make incremental investments and evolve the startup’s processes gradually. For example, if a problem ultimately occurred because an employee wasn't trained correctly, then the best solution might be a one hour training session rather than developing an eight-week training course. Also, look to improve processes rather than blaming personnel. For example, if a build was broken, is it possible to make the build process more robust?

The culture of a lean startup is one of data-driven decision making that focuses on early customer involvement and rapid iteration.

Monday 3 March 2014

Australia and asylum seekers

What is the difference between migrants, asylum seekers and refugees?

Economic migrants normally leave a country voluntarily to seek a better life. Should they elect to return home, they would continue to receive the protection of their government. Refugees flee because of the threat of persecution and cannot return safely to their homes in the prevailing circumstances. An asylum seeker is someone who is seeking international protection but whose claim for refugee status has not yet been determined. [1]

Are asylum seekers 'illegals'?

According to Article 31 of the Refugee Convention [2] which Australia has signed, those who have come to Australia without a valid visa have illegally entered the country. That is the case even though these people have not committed a crime, nor broken any Australian or international law. [3]

Unfortunately, since the term 'illegal' implies wrong-doing, criminality or punishable offence, its use is misleading to the public when used without qualification. The Australian Press Council has recommended that the media not use this description for refugees.

Are boat arrivals ‘genuine refugees’?

Under the Pacific Solution (Sep 2001 to Feb 2008), approximately 70% have been recognized as refugees. Around 40% of air arrivals have been recognized as refugees. Since 2009, about half of onshore asylum seekers have arrived by boat. In 2012-2013, 20,019 visas were granted under the Humanitarian Programme, of which 63% were granted under the offshore component and 37% visas were granted under the onshore component. [4]

Since 2010, which corresponds with the period of increased boat arrivals, over 90% of boat arrivals have been recognized as refugees. [7]

Other facts: [5][6]
  • In 2012, Australia received 1.47% of the global total of 2,011,334 new asylum claims (20th overall, 29th per capita and 52nd relative to GDP).
  • Australia gave refugee recognition to 0.61% of the 1,361,816 asylum seekers recognized as refugees (28th overall, 32nd per capita and 44th relative to GDP).
  • Australia resettled 6.70% of the 88,578 refugees resettled (3rd overall, 2nd per capita and 2nd relative to GDP). Note: Resettlement is a scheme whereby a third country takes refugees who cannot be safely settled in the country they originally sought asylum. Globally, 0.7% of refugees were re-settled.
  • More than half of refugees to Australia come from Afghanistan, Iran, Sri Lanka and Iraq.
  • In 2010-2011, 2,696 Protection Visas were granted to refugees who arrived by boat (1.3% of the 213,409 people who migrated to Australia during the year).
  • Australia is one of few nations in the world which imposes mandatory detention on asylum seekers who arrive without visas.
  • 27,000 asylum seekers living in the community on bridging visas are not allowed to work.
References:
  1. http://www.aph.gov.au/About_Parliament/Parliamentary_Departments/Parliamentary_Library/pubs/BN/2012-2013/AsylumFacts
  2. http://www.unhcr.org/3b66c2aa10.html
  3. http://www.abc.net.au/news/2013-09-06/morrison-correct-illegal-entry-people/4935372
  4. https://www.immi.gov.au/media/fact-sheets/60refugee.htm
  5. https://www.refugeecouncil.org.au
  6. http://unhcr.org/globaltrendsjune2013/UNHCR%20GLOBAL%20TRENDS%202012_V05.pdf
  7. Table 21 of http://www.immi.gov.au/media/publications/statistics/asylum/_files/asylum-stats-march-quarter-2013.pdf
Update March 19, 2014: Added refugee status figures for boat arrivals since 2010.

Monday 27 January 2014

Playing mind games

 
Over the school holidays, my 5-year-old son and I have been playing board games such as Draughts and Chess. Since our abilities are so different at the moment, it's easy for him to become discouraged by losing and to not want to play any more. One approach is to just play easy by letting him win half the time, letting him redo moves when he makes a mistake, and so on. The problem with this is that the gameplay feels artificial, he's not incentivized to play better, and it doesn't end up being particularly challenging or fun for either of us.

So I introduced a handicap system to our games. With Draughts, if I win the game, then I start the next game with one less playing piece. Conversely, if he wins, I add a piece next time. In this way we find an equilibrium where we are roughly equal. I have to play as well as I can to win. He has an incentive to not make simple mistakes. He also gets practice in interesting game positions (such as the end game) and in trying to prevent me getting Kings. He also gets a legitimate sense of achievement when he wins since I'm not just letting him win.

In Chess, our handicap system is similar except he gets to choose the pieces to remove. One interesting aspect for a while is that he was choosing to remove my pawns because he didn't want me promoting them to Queens. I think the system is helping him understand the value of different pieces.

I haven't come up with a similar system for Scrabble yet - we've only played it twice. But interestingly it tests three aspects of learning. First, and obviously, it helps with learning words. It also helps with numbers, since you need to assess word values and add scores. Third, it helps with dexterity, since you need to place your tiles without disrupting the other tiles.

I'm trying to come up with some similar systems for the sports we play, like cricket and soccer. But acquiring a certain minimum level of skill first seems necessary there.