Friday, November 06, 2009

Complexity and chance

In one of the Miles Vorkosigan books, the main character has a device installed in his brain and a remote that can trigger a seizure - he needs that because otherwise he would get uncontrolled seizures, usually at moments of high stress (when that's the last thing he needs). One of his problems is having that remote triggered accidentally, so the doctors assure him they coded the connection - no random signal can trigger the seizure, only the remote.

What are the possible dangers here?

1) Accidental signals that would match the frequency of the brain device, thus generating a false positive.

How does one defend against this possibility? A small code of some sort is usually required for triggering the functionality - like the 4-digit code I have to enter when my Nokia cellphone locks the keys (to prevent me from accidentally dialing out when I keep the phone in my pocket).

2) Intentional signals from would-be hackers who want to trigger the device.

In this case, one would need a much more complicated mechanism - possibly a challenge-response sequence where the remote must confirm that it knows a secret. (The book does not explicitly say this but, with Miles formerly in ImpSec and currently one of the several Imperial Auditors, we can assume something like this was actually employed.)

Note the difference? Against randomness, a very simple (= of low complexity) code is sufficient. It is unlikely to the extreme that I would accidentally press my Nokia cellphone's 4-digit code while carrying it in my pocket. It is practically impossible that I would manage that with an 8-digit code. If that code is entered, the phone software can safely assume I *meant* for it to happen - chance simply cannot account for that complexity. (Again, that's a 4-digit code, which is around 14 bits of information - 2^13 = 8,192 < 10,000 < 2^14 = 16,384.)

However, intelligence CAN overcome quite a hefty complexity barrier. Millions of man-years have been spent on creating ciphers that are supposed to last against other millions of man-years working to defeat them. This is VERY STRONG evidence that, given a complex system, we can safely eliminate chance as the cause. While chance can overcome complexity barriers of a few bits - even of dozens of bits, given enough time and the right circumstances - once we get in the realm of hundreds of bits (the CSI barrier) it is absolutely ridiculous to insist on claiming it is a reasonable possibility.

So - what created life, again? :D

2 comments:

Anonymous said...

Salut!!!!!!!!!!!

Complexitatea poate fi controlata numai prin Perfectiune! Natura a creat complexitatea extrema si a creat aparenta de simplitate deoarece a lucrat perfect.

Matei (FinalSoft!)
(Era sa fie Picosoft dar nu a fost deoarece - la acea vreme - probabil nu putea fi ceva perfect)

Marcel said...

Hehe... v-ati facut firma? Mult succes daca da. Daca aveti drum prin oras, dati-mi un mail la mdpopescu@gmail.com :)