Chapter 196: Google's Large-Model Framework

Reborn in 2010: The AI in My Brain Is Too Powerful! by yangxxxxxx

The Google Brain project group had always been Jeff Dean's brainchild.

He had proposed creating such a group back in 2008, and had specifically reached out to Andrew Ng to make it happen.

The two sides had worked through the preliminaries step by step, and Google had formally chartered the project inside Google X.

But in 2010, Chen Yiran burst onto the scene with DeepFlow, catching Google completely flat-footed, and the Google Brain project ultimately stalled out.

They were in fact the first company to truly recognize DeepFlow's potential. At the time, everyone else's attention had been pulled away by the astonishing technical firepower of Chen Yiran's EDA company; and while Google considered DeepFlow extremely powerful, even they failed to grasp just how extensible the framework really was.

After all, Chen Yiran had absolutely no spirit of sharing — he hadn't fully open-sourced the thing! And he hadn't published a paper either.

But Jeff Dean, as Google's technical backbone, had begun a full-scale assault on DeepFlow in October 2010.

The whole point was to route around Chen Yiran — to reach the same destination by a different road.

In fact, Jeff Dean had drawn inspiration from it and had already written an extremely high-quality paper. But the Transformer he came up with looked, in every respect, like a toddler version of DeepFlow.

Fortunately, Chen Yiran had not yet formally put forward his so-called artificial intelligence vision, so Google believed there was still time. Internally, they merely set their future course: strategically, everything would be AI-first.

What they hadn't expected was that Chen Yiran would suddenly hold a launch event — not only pulling out Doubao, a fully realized AI large model, but also going straight around them to get to Samsung.

That was completely unacceptable to Google, which was why they had squeezed Samsung, hoping to force Chen Yiran to the negotiating table.

The result was quite the surprise: Chen Yiran simply flipped the table and started an all-out war.

What really chilled Google was Chen Yiran's Asia trip.

Nobody was stupid. The private jet Chen Yiran flew hadn't even bothered to request an anonymous callsign. He'd gone to Korea in plain sight, and Google had people watching ADS-B broadcasts twenty-four hours a day; they'd spotted it immediately.

Not to mention that Samsung made no attempt whatsoever to be discreet. That gangster-style airport reception had been photographed and posted online by plenty of fan-site photographers who'd originally come to shoot celebrities.

After that, Google frantically began courting Samsung, and the situation reversed itself completely.

Google even offered to pay Samsung to preinstall the Google application suite.

After all, in the third quarter of 2011, global Android handset shipments were roughly sixty million units, and Samsung alone accounted for half of them. Whatever Samsung's reasons for dropping the Google application suite, it meant half the Android platform's traffic would vanish just like that.

Over the following days, the bad news kept piling up.

Google had all but closed a deal with LG, having essentially finalized a five-year contract for the Google application suite.

But now this company — which held ten percent of global Android — had also turned around and explicitly refused to sign.

Google did lock down HTC, Sony, and Motorola, but the three of them combined accounted for only fifteen percent of Android platform shipments.

Andy Rubin was already sliding into despair, and had even started proposing that Google needed to fight its way back into China — after all, China accounted for twenty percent of Android shipments.

But that was obviously impossible. Weighing everything, Google could only tell Jeff Dean to get Transformer out the door immediately, and to start striking on every front in an effort to erase DeepFlow's influence.

First came the Transformer paper, in which they targeted DeepFlow across the board, deliberately doing the opposite at every turn.

DeepFlow's foundation was dynamic sparse attention: it computed only strongly correlated word pairs and skipped the irrelevant computation. Transformer inverted that — every word computed its relevance against every other word in the entire sentence.

Google was trying to prove that sparsity wasn't necessary; that given enough compute, full self-attention would learn on its own which words to attend to and which to ignore. That meant Transformer had no need for DeepFlow's attention routing mechanism.

DeepFlow's positional encoding was learned, sharing weights with multimodal attention. Transformer simply hard-computed it with sine and cosine formulas, requiring no training at all.

Google wanted everyone to think that positional encoding was so simple that trigonometric functions sufficed — that you didn't need DeepFlow's complex design with its multimodal entanglement.

In DeepFlow, signals chose which computation modules to pass through based on the input content. In Transformer, after every layer everyone went through the same fully connected feedforward network, with no discrimination by signal type.

Google claimed that once you stacked enough layers, a fixed feedforward network naturally achieved the same mixing, with no architectural support required.

DeepFlow had shipped with a multimodal attention interface from day one; Transformer handled only text translation.

Google's plan was to first win on pure text — on the translation track DeepFlow cared least about — and only then announce plans to extend into vision and speech.

DeepFlow relied on architectural efficiency: small models achieving high accuracy. The Transformer paper made no attempt to hide its computational cost, even though its training cost was an order of magnitude higher than DeepFlow's.

But Google dodged that point in the paper, saying only that Transformer could be pushed to greater accuracy.

Beyond all the maneuvering in the paper itself, Google also activated a relationship network built up over many years. First came the attacks on the fact that commercializing DeepFlow required a license — that anything less than absolute open source was a failure of the sharing spirit.

Transformer, by contrast, had come out as a published paper. The day it was published was effectively the day they surrendered any offensive patent position, and Google simultaneously released the complete implementation code.

Then Google launched a translation API, so that small and mid-sized developers could use it directly without installing a framework.

Then Google sent out the eight people in the company with the greatest technical drawing power on an academic tour across the United States, handing out free compute credits everywhere they went, determined to make every relevant student default to their Transformer framework.

They also established a dedicated funding pool to bankroll any research group willing to swap DeepFlow out for Transformer.

It had to be said, Google was still formidable. If Chen Yiran did nothing at all and Google kept burning money like this, they really might bury DeepFlow alive.

But Chen Yiran wasn't especially worried, because in its effort to avoid DeepFlow's shadow, Transformer leaned far too hard on the brute-force aesthetics of raw compute.

And current hardware constrained them. Matching DeepFlow that way would be extraordinarily difficult.

Moreover, there was one core problem Google could never escape: at equal compute, DeepFlow would simply be stronger.

All of Google's maneuvering amounted, at best, to muscling into a seat.

Chen Yiran only needed to maintain his advantages — or, put another way, hit Google wherever he could.

Take right now, for instance: with Apple rolling out the Duck All-Access bundle, he intended to give it a good boost.

Molly and Chen Yiran, working through an ocean of papers, picked out several very interesting directions, and after a bit of verification decided to start a new project.

FlowEDA had accumulated enough by now. It was time to design its own first chip — he was going to design a tensor processor and sell it to Apple. It would slash their costs on search and video enormously.

This reader needs a modern browser to display fully. If you are using one, there may be network issues.