Talk:The Bayesian: Difference between revisions

From The Jolly Contrarian
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit Advanced mobile edit
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 66: Line 66:
A Bayesian inference is not, of course, guaranteed to be true: prior probabilities can still turn out to be misleading. Correct application of Bayes’ principles might have told Lynch as they dropped anchor at Porticello that his yacht was most unlikely to sink in the night.
A Bayesian inference is not, of course, guaranteed to be true: prior probabilities can still turn out to be misleading. Correct application of Bayes’ principles might have told Lynch as they dropped anchor at Porticello that his yacht was most unlikely to sink in the night.


====Goats and Ferraris====
====Daytime drama====
{{Quote|
{{Quote|
{{Monty Holdem poker}}}}
{{Monty Holdem poker}}}}

Revision as of 20:17, 4 November 2024

Cambridge brainboxes and their supercomputers

Mike Lynch and Richard Gaunt,[1] a pair of Cambridge neural networks postdocs, founded Autonomy in 1996.

Hot in the City

Autonomy’s flagship product was IDOL: an “intelligent data operating layer” platform using, for the time, advanced pattern recognition and algorithmic inferential reasoning techniques to extract data from the morass of unstructured information with which modern corporations are inundated: documents, correspondence, contracts, instant messages, email and phone data.

Autonomy promised a revolution: pure crystal business intelligence from an unnavigable swamp.

Now, socially awkward brainboxes hawking monstrous machines powered by mystical tools to convert oceans of muck into nuggets of brass had quite the cachet in 2005. It has quite the cachet now, come to think of it.

Autonomy targeted legal departments. One obvious application was in document management — a subject dear to the heart of any budding legal operationalist — so, unusually, we legal eagles were a prime target for the marketing blitz.

In a nutshell: awesome client entertainment; cool pitch; premium pricing; disappointing demo. Didn’t buy.

Got tickets to White Hart Lane, though and, a bit later, a catbird seat as a hurricane-force shitstorm blew up out of nowhere.

White Wedding

In 2011, American technology megasaur Hewlett Packard pounced. Swooned by honeyed projections of hoverboards, time-travelling deLoreans and machines of loving grace watching over us and effortlessly converting the dreary white noise of our internal monologue into monetisable intelligence, HP bid US$11 billion for outright ownership. As this was 70% over its market valuation, Autonomy’s board wasted no time in recommending the offer to shareholders.

HP snapped Autonomy up, swallowed it and promptly, deeply regretted it. The acquisition was a disaster: within the year HP ejected Lynch and wrote down its investment by, well, about 70%. Five years after that, it had flogged the whole thing off for glue.

(Forgot) to be a lover

Cue all manner of litigation. HP shareholders sued the HP board for its conduct of the acquisition — HP’s M&A strategy was notoriously bad. The SFO, SEC and FBI launched criminal investigations into potential fraudulent misrepresentation on Autonomy’s part. HP sued Lynch and his management team, accusing them of tricking HP into overpaying for the company. Lynch countered that HP had misunderstood the product, integrated it poorly into the HP business and then mismanaged it after acquisition. He might have also said “that, my dudes, is what the due diligence process is for”.

Mony, Mony

The various actions rumbled on for years. In 2022, having spent a further USD100m prosecuting it HP won a pyrrhic billion dollars of the five it sought from Lynch. Lynch appealed.

Meanwhile FBI brought wire fraud and conspiracy charges against Lynch and former Vice President of Finance, Stephen Chamberlain. The criminal standard of proof being much higher than the civil one, things went better for the Autonomy executives this time. In June 2024, Lynch and Chamberlain were acquitted on all counts.

One night, one chance

Chamberlain returned home to Cambridgeshire. Lynch and his daughter hosted some close friends on his superyacht, The Bayesian in the Mediterranean.

On 17 August 2024, while jogging in near his home, Stephen Chamberlain was hit by a car. He died two days later.

Early on the morning of the 19th of August — the same dayThe Bayesian was hit by a freak storm while at anchor off the north coast of Sicily. Within 16 minutes, she capsized and sank, killing Lynch, his daughter and five others.

You could not, many were inclined to believe, make it up.

Conspiracy theory

The improbable circumstances of these accidents, within two days of each other and just weeks after their acquittals, seemed an extraordinary coincidence, although the mainstream media quickly rationalised that an actual conspiracy here was implausible. There were no obvious conspirators, for one thing — HP had little to gain — and orchestrating any weather at all, let alone a freak storm powerful enough to sink a 550-ton yacht was surely beyond an organisation which can’t manage basic due diligence.

Plus, if you did want to “off” a business executive, there are far easier ways of doing it than summoning up a biblical storm.

Yet, still, the unfiltered maw of uninformed public speculation — from which I write, dear correspondent — found this all very, well, fishy.

That must have been some kind of storm.

What sort of storm sinks a $40m state-of-the-art superyacht, in sixteen minutes, while at anchor?

Has this sort of thing ever happened before? What, in other words, were the odds?

And so we find ourselves looping reflexively into one of an improbably large number of ironies — oop: there’s another one — with which this this story is shot through:

What the odds were is a question of Bayesian inference.

Beyond belief

We hear more and more about “Bayesian reasoning”. This method of statistical reasoning, derived from the work of Thomas Bayes, an (at the time) obscure 18th-century Presbyterian minister from Tunbridge Wells, dominates modern information technology. It was important enough to Mike Lynch for him to name his superyacht after it.

Bayesian reasoning
/beɪːzˈiːən ˈriːzᵊnɪŋ/ (n.)

A method of statistical inference that updates an event’s probability as more information becomes available thereby:

  1. improving risk assessment and forecasting.
  2. allowing machine learning algorithms to learn and adapt from their data more effectively.
  3. helping evaluate evidence and enabling more informed judgments, ensuring that decisions are based on a comprehensive analysis of all available information

Automony’s IDOL platform used Bayesian techniques to manage and analyze unstructured data, enabling it to make probabilistic predictions and improve information retrieval.

A Bayesian inference is not, of course, guaranteed to be true: prior probabilities can still turn out to be misleading. Correct application of Bayes’ principles might have told Lynch as they dropped anchor at Porticello that his yacht was most unlikely to sink in the night.

Daytime drama

Here is a card game. The deck has just three cards: two clubs and a heart. The object of the game is to end up with the heart.

The dealer shuffles and deals the three cards face down on the table, in the “river”. The player chooses one card from the river, but it stays face down. The dealer turns one of the remaining cards in the river, to reveal a club.

The player now has the choice to stay with her original card, or switch it for the remaining face-down card in the river.

What should the player do? Stick, or twist?

There is no better example of Bayesian inference at work than the Monty Hall problem. What follows will seem either trite, or completely Earth-shattering, depending on whether you have come across it before or not. It indicates, too, how tremendously bad our instinctive grasp of probabilities is:

You are a game-show contestant. The host shows you three doors and tells you: “Behind one of those doors is a Ferrari. Behind the other two are goats.[2] You may choose one door.

Knowing you have a ⅓ chance, you choose a door at random.

Now the host theatrically opens one of the doors you didn’t choose, revealing a goat.

Two closed doors remain. She offers you the chance to reconsider your choice.

Do you stick with your original choice, switch, or does it not make a difference?

Intuition suggests it makes no difference. At the beginning, each door carries an equal probability: ⅓, After the reveal, the remaining doors still do: ½.

So, while your odds have improved, the odds remain equal for each unopened door. So, it still doesn’t matter which you choose: Right?

Wrong. The best odds are if you switch: there remains a ⅓ chance the car is behind the first door you picked; there is now a ⅔ chance the Ferrari is behind the other door. Staying put is to commit to a choice you made then the odds were worse.

We know this thanks to Bayesian inference. There are two categories of door; ones you chose, and ones you didn’t. There’s only one door in the “chosen” category and two doors in the “unchosen” category. At the start you knew each was equally likely to hold the car. This was the “prior probability”. There was a ⅓ chance per door or, if we categorise the doors, a ⅓ chance it was behind a chosen door and a ⅔ chance it was behind an unchosen door.

Then you got some updated information, but only about the “unchosen door” category: One of those doors definitely doesn’t hold the car. You have no new information about the “chosen door” category, however.

You can update your prior probability estimates about the unchosen doors. One now has a zero chance of holding the car. Therefore, it follows the other door has a ⅔ chance. All the odds of the unchosen category now sit behind its single unopened door.

Therefore you have a better chance of winning the car (though not a certainty — one time in three you’ll lose) if you switch.

Bayesian inference invites us to update our assessment of probabilities based on what we have since learned. We do this quite naturally in certain environments — when playing cards, for example: once the Ace, King and Queen have been played, you know your Jack is high, and no-one can beat it — but not as a general rule.

Blame and exculpation

The blame and recrimination process started quickly after the accident. Italian police launched an investigation and raised the possibility of manslaughter or “culpable shipwreck” charges against the Bayesian’s skipper, chief engineer and the sailor on watch duty at the time of the incident. All were professional sailors.[3]

In the meantime, the yacht’s builder, The Italian Sea Group,[4] made a series of unusually strident public statements blaming the crew for mishandling the boat and thereby injuring the boat builders reputation. In September 2024 TISG launched, then quickly disowned, civil suit against the Bayesian’s crew and owner — a company controlled by Mike Lynch’s widow Angela Bacares — seeking compensation for reputational damage and loss of earnings, alleging among other things that the crew was inappropriately selected, did not make necessary preparations for the storm despite advanced weather warnings, and their actions during the storm contributed to the sinking.[5]

TISG itself is under police investigation in connection with the tragedy: this may explain its precipitate behaviour in launching formal legal proceedings: one way of getting ahead of suspicion as a wrongdoer is to cast yourself as the victim.

Linear and systems: two competing theories

A conspiracy theorist is someone who’s never tried to organise a surprise party.

— John F. Kennedy

Hold this as a provisional hypothesis: We can divide explanations of the world into linear theories and systems theories.

“Linear theories” view the world as a complicated, but essentially logical system. One that, therefore can, and would benefit from, strategic, top-down design. This is a utopian, grandiose, cybernetic perspective. Failures of the world to produce good outcomes are always attributable: the universe is essentially stable, and there are linear causes and effects which might not be expected, but are calculable. Especially in hindsight. The past is a different country.

Complicated systems” are bounded rule-based processes: they involve interaction between autonomous agents but within fixed boundaries and according to preconfigured static rules of engagement. All relevant information is available to, even if not necessarily known by, all participants in the system.

Complicated systems may be forward~ or backward-engineered. They may require great skill to navigate — in order to beat Pelé at football you will need to be very good — but they are nevertheless, in theory, predictable, in the sense that all events in them are caused, have effects and operate according to a single, consistent set of rules.

One can regard the system’s overall behaviour as entirely explicable in terms of causes and effects. The “root causes” for what happens will dominate the incidental circumstances in which they occur. The inspirational CEO, Pelé, the bad apples who ruined it for everyone, the human operator whose error caused the air crash: these are linear explanations of aberrations in linear systems.

Now the nature of complicated systems is that, while they may be integral, whole and consistent, we cannot always see them in their entirety. Sometimes our root cause analysis reaches a dead, unsatisfactory end, simply due to a lack of information.

The fact is, there are very few political, social, and especially personal problems that arise because of insufficient information. Nonetheless, as incomprehensible problems mount, as the concept of progress fades, as meaning itself becomes suspect, the Technopolist stands firm in believing that what the world needs is yet more information.[6]

The natural response, in a linear system is simply to seek more information. The system has a complete state — there is a “bottom”:[7] we just need to find it. Where that information is available, we should get it.

Where it is not — where an event happens for which there is no apparent cause, inference is required. We must hypothesise, backwards from what we know about the system to infer what happened.

Much of the time, this is easy to do. We are natural inference engines. All of science proceed

Conspiracy theories are typically linear explanations in that they put ultimate blame (or credit) for a given state of affairs things down to the intentional actions, be they malign or well-meant, of a limited number of disproportionately influential people.

“Systems theories” view the world as a non-linear complex system.[8] attribute outcomes to the behaviour of a wider interlocking system of relationships where individuals’ acumen or motivations contribute to, but rarely determine the outcomes the system produces. They are usually non-linear: in a complex system unexpectable things can and do happen. This is generally not a single person’s fault, but an unexpected consequence of the design of the system. As systems experience unexpected consequences they tend to learn and adjust to them.

Old systems, having been around for longer and having been exposed to more variations in condition, are better stress-tested and therefore throw up fewer unexpected consequences than new systems.[9]


I will grant you at once that this is a wide conception indeed of “conspiracy theory”: it includes not just gunpowder plots and Russian bots in Western elections but the general idea that great art is the product of singular genius, commercial success is the outcome of exceptional leadership, and jazz is not just a succession of happy accidents.

By contrast, systems theory says in a nutshell, into a bit more complicated than that. In the case of great artists and great visionary business people, their input into the artistic process is not discounted altogether but instead aggregated with a great deal of other system information to generate an outcome. Shakespeare was indeed a genius but would yet have died in anonymity were it not for his sponsors, publishers, patrons, theatres, actors, critics and audience: the magnificent cultural establishment that we now know as the Shakespeare canon contains a lot of stuff that was nothing to do with William Shakespeare.

Systems and paradigms

I rabbit on a lot on this site about power structures and paradigms. These are systems of political, scientific and cultural control.

Systemantics

The best place to start systems theory is John Gall’s short, acerbic, funny and devastatingly incisive book Systemantics: The Systems Bible. System theories have an acronym: “POSIWID”: the “purpose of a system is what it does”. This, Gall gently points out, Is by inevitable outcome not what those who designed the system had in mind. The System tends to oppose its own intended function so therefore to blame conspirators Who occupy positions of ostensible influence and power within the system is rather to miss the point. They are as much victims of systemantics as anyone else.

Operator error

We should not be surprised to hear operator error advanced as a cause. It is a clear, linear root cause — suitable for a linear theory of complicated system where a trained expert fell short of a required standard — and it has the additional advantage of not challenging the overall integrity of the system. It was not management’s fault, nor failure to supervise, nor the ship’s design, but component failure. Where the component that fails is an autonomous agent there is only so much a system administrator can do. The strategic end-point is to design out the need for autonomous components in the system at all — until very recently this has been an impossible Idealistic end point but with natural language models equipped with, powers of, well, Bayesian reasoning (I told you there would be some irony in this post), perhaps that point is not so far away.

But as long as fallible human autonomous agents are still needed for edge case tasks — for all the mindboggling technology aboard a state of the art super yacht, it still needs a skipper an engineer and a watch detail — the scope for human error is unavoidable.

Defamation

The claim was brought at Italian law, and withdrawn before anyone got much of a look at it, but it is fun to imagine it was essentially one of defamation:

Defamation
ˌdɛfəˈmeɪʃᵊn (n.)

A false statement about a person, communicated to others, that harms the person’s reputation.

The statement must be untrue, specific enough to identify the person and published or shared with third parties such that it damages the person’s reputation or standing.

Can your careless conduct — not “representational” gestures; actually non-communicative acts, like steering (or not steering) a boat — be a statement?

The defamatory “statement”, we presume, would be that the boat was designed so badly that, even at anchor, a crew of competent professionals sailors could not stop it scuttling in a severe storm.

That allegation would certainly be defamatory to a shipbuilder. If it were untrue.

But the problem the shipbuilder has is that the ship did sink at anchor in a storm. This does normally happen to well designed ships. Presuming it was well designed, then either (i) the storm’s ferocity or (ii) the sailors’ negligence, was truly unprecedented.

And here, again Bayesian reasoning can help us. We have 3500 years of Mediterranean seafaring experience. This plays out across two dimensions firstly the experience of the kind of weather conditions that can occur in the Mediterranean. Our “Lindy database” of freak events — which include eruptions on Etna and the Aeolian islands, is massive. Each one of those experiences in is buried deep in the pace layers of Mediterranean seafaring knowledge. We know the conditions ship builders must design for. The other dimension is the parameters of ship design. Ships falling comfortably within the tested limits of ship design are unlikely to be unsuitable for the conditions in the Mediterranean. The bayesian was not unusually long, nor unusually heavy, nor was its retractable keel and unusual design. While it is a relatively new innovation, it's a specific advantage in the comparatively shallow and tranquil waters of the Mediterranean. So the Bayesian was in most respects not an unusual boat. But it was in one colon at the time of its construction in 2008, the bayesians mast was the tallest single yacht mast in history. The next tallest, one of the five masts on the royal clipper, constructed in 2000, with just 60 meters, some 12 meters shorter than the bayesian’s 73 m mast. And the royal clipper is a 179 metre long, permanently keeled square rigged ship. The Bayesian’s mast, relative to its Hull length and given its retractable keel, was extraordinarily disproportionate.

A third angle of prior probability is the acumen of the crew. We should review The historical information for situations in which crew failure was the sole attributed cause of the sinking of a ship at anchor.

This is really another way of asking this question: is it possible to design out of a ship the risk that it would be capsized and sunk purely by inclement weather? Can you solve for human failure, or is the nature of seafaring so dependent on human decision that it is impossible for a ship to design a way the risk of human error?

  1. Interesting: while the Internet is, and always has been, awash with information about Lynch, it contains almost nothing about Gaunt. No Wikipedia page, and no references at all, since he last showed up in the Sunday Times rich list in 2009. Perhaps this in itself is a testament to Mr. Gaunt’s ability to protect unstructured data.
  2. Why goats? — Ed
  3. https://apnews.com/article/italy-sicily-superyacht-sinking-investigation-7b26e40e9efd69c4d08e189093f67ad9
  4. Strictly speaking, the successor to the boat’s builder: Perini Navi, which constructed the Bayesian in 2008, had been acquired by TISG in 2021.
  5. here’s a great case for strategic litigation: if you are a luxury yacht builder with a turnover of, say 200m, then publicly slandering a professional sailor and immediately reaching confidential settlement of the defamation for £15m, conditional on the sailor not publicly challenging the allegation (“if I am going to slander you, I want value for my money”) would be good business. For both parties this is far more than professional saber could expect to earn over a career and far less than the financial loss to the ship builder from the potential reputational damage of it being known that the builder was negligent. It would make a good play.
  6. Neil Postman, Technopoly: The Surrender of Culture to Technology, 1992.
  7. In information theory, the “entropy” in a system is a function of the information capacity of the system. A given string of symbols has a maximum information capacity.
  8. Complex systems are “unbounded, interactive process. Involves interaction with autonomous agents without boundaries, without pre-agreed rules, and where information is limited and asymmetric. Rules, boundaries and each participant’s objectives are dynamic and change interactively. Impossible to predict.”
  9. This is sometimes called the “Lindy effect”, but is also explained in terms of pace layering: old systems occupy deeper layers.