Chapter 70: A Tooling Request from a Top-Tier Paper

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

Saturday afternoon. Chen Yiran grabbed a random pistol, tucked it into the holster at the small of his back, and drove to Stanford.

Coupa Cafe sat right on the east side of Stanford's computer science building — a small storefront packed with students hunched over MacBooks, its walls plastered with academic posters and lecture announcements.

The hiss of the espresso machine blended with the clatter of keyboards, which had a certain romantic quality to it.

Nobody used the phrase "influencer check-in spot" yet, but there was no question Coupa Cafe already had the potential.

Chen pushed the door open and scanned the room. He spotted Adam Coates first, looking exactly like his photos online: a head of dark brown curls, dressed so stereotypically that all he needed was a plaid shirt to complete the default Silicon Valley look.

What surprised him was the man sitting beside Coates — somewhere around forty, Chinese-American, wearing rimless glasses. It was the academic titan himself, Andrew Ng. Chen had assumed he'd only be meeting Coates this time, and that Ng would show up after a few rounds of correspondence.

After all, sending a junior PhD grunt to scout the ground first and gauge whether someone was easy to work with was standard academic practice.

As he walked over to say hello, he ribbed Molly inside his head: Molly, your teacher's here. Your founding teacher, you might even say.

Strictly speaking, I run on your brain as my model, and all my memories are stored in your brain. He isn't my teacher. He's yours.

Ng, for his part, was enthusiastic. Once he'd confirmed Chen's identity, he launched straight into an introduction of his own.

"Ngyah gerloo gerloo nyah-lee, goo-goo gah-gah, goo-gwah goo-gwah, gah-gah dah-dah, hee-hee hoo-hoo."

Chen felt his brain seize up. He could vaguely tell Ng was attempting Mandarin, but the bizarre tones, the sleazy-sounding drawl, the inexplicable pitch slides — it was a catastrophe.

He stood there frozen for a good ten seconds, genuinely unsure how to respond. Would it be rude to just accuse a professor of defaming Chinese culture?

Ng picked up on his helplessness and, a little reluctantly, switched back to English. "Sorry, sorry. I've been practicing my Chinese on my own now and then — I've been thinking there might be an opportunity to expand into China down the road. Doesn't seem to be going too well, huh? Any advice? What needs the most work?"

Chen was stumped. Where would you even start? The entire thing was garbled nonsense. But he couldn't very well embarrass a professor either, so he racked his brain and forced out a few compliments.

"No, no, it's not bad at all. At the very least I could tell it was Chinese, and your tones didn't crack anywhere. A little more practice and you'll definitely get there."

Off to the side, Coates looked pained. He very much wanted to pretend he didn't know his own advisor, but he was also afraid he'd never graduate, so he settled for desperately suppressing his laughter.

Ng steered the conversation to business. "Thanks for making the trip on a weekend. Coates showed me your DeepFlow. We ran three experiments with it, and every GPUmat bottleneck vanished. So I came along myself — there are a few things I wanted to discuss in person."

"It's an honor to be able to help. I've watched your lectures online before — strictly speaking, you're my teacher too."

Ng didn't waste words. He pulled a ThinkPad out of his bag, and on the screen was a code file open — more precisely, several thousand lines of MATLAB with the occasional CUDA kernel embedded in it. Chen glanced at it twice and basically understood nothing; it was wall-to-wall matrix operations with English comments.

"This is the unsupervised feature learning code we've written over the past two years. Quoc Le and Adam started building the framework back in 2008. In short: a multi-layer sparse autoencoder, local receptive fields, and one custom normalization layer. Running on GPUmat."

He switched to another image — a model architecture diagram. The input layer read image patches from STL-10, with four autoencoder layers stacked above it, each with its own sparsity constraint, and none of them fully connected.

"I want to port all of this onto the DeepFlow framework. GPUmat can't hold up anymore. We're trying to make the NeurIPS deadline, which is around the beginning of September. It's mid-July now — at GPUmat's speed, the paper isn't going to make it."

"So what do you need me to change?"

"It's not a matter of changing anything. There are three things your framework is missing. Without them, our model can't be ported over."

Ng took out a sheet of paper and listed the missing pieces one by one.

"First: a sparsity constraint operator. The middle layers of our autoencoders have sparse activation constraints, and the gradient computation in backpropagation isn't the same as an ordinary fully connected layer. Right now DeepFlow only has the three basic operators — dense, convolution, and pooling. It doesn't have this.

"Second: custom receptive fields. Our model doesn't use standard convolution. It's not a 3×3 kernel sliding across the image — each output neuron is fixed to a specific local region of the input layer, and the weights aren't shared.

"Third: whitening normalization. We apply zero-phase component analysis whitening to each layer's activations, and the gradient has to be backpropagated through a singular value decomposition. That's not like anything in any framework out there right now."

Ng closed the ThinkPad and looked at Chen expectantly.

"If you can add those three operators to DeepFlow, our whole group can switch the entire code stack over within two weeks. And if you can't, I won't hold it against you — it's an open source framework, you're under no obligation to build custom features for us.

"We'd just have to grit our teeth and push through September on GPUmat, that's all. Such a pity, all our hard work, and not a soul willing to lend a hand. Ah, people who won't help — so cold-hearted, really..."

…………

Chen was at a loss for words, but he asked internally anyway: Molly, can you handle these three?

Molly answered immediately: 【The backprop for the sparsity constraint is chain-rule differentiation through one custom gradient layer — a dozen or so lines of CUDA plus a few dozen lines of Python wrapper. The receptive field is a special matrix multiply, essentially a variant of blocked matrix multiplication. Whitening is a bit more involved; backpropagating gradients through an SVD requires numerical stability handling, but that's just another two hundred lines.】

Chen got it: Understood. What you mean is you can do all of them. That tone of yours is unbearably humblebraggy.

Not a humblebrag. It genuinely isn't hard. Half an hour. Testing, benchmarking, and tuning would take half a day, but just writing the operators — half an hour is plenty.

Ng and Coates, watching him fall silent for those few seconds, presumably assumed he was estimating the workload.

As an academic titan, Ng had a suitably thick skin, and he launched into a whole repertoire of flattery-as-pressure.

Chen quickly looked up. "I've thought it through roughly. Shouldn't be a problem. I can have it for you tonight."

"Tonight?"

"Yes. CUDA implementations of all three operators plus the Python interfaces. I'll email it to you tonight."

"Are you sure?"

Ng studied him for a moment, then asked, "I'm not doubting your ability. But we've evaluated it ourselves. For one person to write those three operators, from learning DeepFlow's extension API to finishing debugging, it's two weeks minimum. Factor in the numerical stability issues with the whitening, and conservatively you're looking at a month."

"Ha. Geniuses are always different from ordinary people."

The moment it left his mouth, even he thought it sounded arrogant. But no matter — he was going to shock the world plenty more times in the future, so the genius persona was inevitable anyway.

Ng shut the ThinkPad's lid, thought for a second, and made a promise.

"If you can get it done tonight, you'll do a demo at our group meeting next Wednesday. In the Gates Building — our lab has four Tesla C2050s. You bring the new version of DeepFlow, port our model live, and get your framework running. It'll be cited in the tools section of the NeurIPS paper."

"Sounds good. I'll get it done as fast as I can once I'm home."

Chen was in a great mood on the drive back. Andrew Ng was no ordinary academic — many of his courses had effectively become the foundational curriculum of the field.

For DeepFlow to be cited in a paper of his meant that essentially every company in the industry would immediately take notice, and plenty of them would put people on trying it out.

On top of that, this counted as Ng owing him a small favor. If nothing else, hiring would get a lot easier down the road. Which Stanford student in a related major hadn't taken his course? For that matter, which student anywhere hadn't taken his course?

For a moment there Chen had even considered getting more deeply involved in the experiments to earn himself a byline. But by academic convention, tools and foundational infrastructure only get their own acknowledgment and citation. Build the tool and you can say you paved the road — you can't claim a share of the race results.

In the end, though, Chen got lazy about it. He'd already achieved financial freedom; where was the motivation to grind supposed to come from? The fact that he was still bothering to run a startup at all was a testament to top-tier willpower. Another transmigrator in his shoes would probably have laid flat and started enjoying life already.

Back home, it was the usual routine: iced Coke and ice cream at the ready, and Molly at full throttle.

Operator one, sparsity constraint. CUDA implementation of the chain-rule gradient. Let's begin.

Seventy or eighty lines of CUDA later, Molly had him switch to a Python file and write a wrapper layer. Then came the second operator, the matrix multiply for local receptive fields. Molly said it was fundamentally a blocked matrix multiplication, but it had to bypass the kernel-sliding mechanism of standard convolution.

The last one was the most time-consuming: backpropagating gradients through the SVD for whitening normalization. Molly thought for a while and designed a small diagonal regularization term to prevent exploding gradients.

Molly hadn't been bragging — this genuinely wasn't hard for her. And Chen, after repeated rounds of practice, could now type at professional stenographer speed. In under half an hour, every requested change was finished, and he emailed it off to the address Ng had left him.

Chen had a feeling that in another week or two, his FlowEDA wouldn't be an unknown little company anymore.

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