Chapter 60: Reinforcement Learning Training Begins

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

Over the next few days, Chen Yiran, unable to wait any longer, started harassing Ted at high intensity.

"How's the green card coming?"

"Come on, man, I'm a lawyer, not the President of the United States! The I-485 and the I-140 are both filed, the biometrics are done, USCIS hasn't asked for any supplemental documents, and there's no visa backlog to wait through. But that's just how efficient the U.S. government is — you can only wait. It's Wednesday, and you've called me every single day since Monday. It doesn't help."

"Rainy day, nothing better to do than make phone calls."

"My Chinese is very good! I know that saying! Sir, please, have mercy. If you want a gun that badly, just go to a range and scratch the itch. There's an indoor range in Sunnyvale run by a Chinese guy — I know the owner. He'll give you a discount. Could you please ease up on me a little?"

"Send me the address. I'll check it out when I have time."

That's what Chen said, but he still resolutely called Ted every single day, and then started needling him.

Things like: such a big law firm, and no special channels? In the movies, people just make a few calls, pull a few strings with important people, and it's done. Fenwick & West's capabilities and connections, apparently, are nothing special.

By Friday morning, Ted was thoroughly worn down. He swore up and down that it would definitely come through within two weeks and begged Chen to spare him next week.

Chen agreed verbally, but figured he'd see how he felt next week — if his mood was bad, he could always keep calling. That last case had paid the firm $300,000. To make the bill look better, Ted had even billed his car's maintenance time to Chen's account, justifying it on the grounds that all the frequent driving out to see Chen was what necessitated the service, so that time counted too.

But once he got to the office, Chen's mood improved considerably.

Because David Kao reported that the team had finished running both baselines, and handed him a sheet of paper.

It was a complete data table compiled by Lin Zhiwei.

adaptec1, two hundred thousand cells.

Random baseline: HPWL was 2.3× the officially published optimal solution from ISPD 2006.

Simulated annealing baseline: with parameters tuned by Amit, run overnight. HPWL converged in the end, successfully reaching 1.18× the official optimum.

You could say that the very first test had exceeded expectations.

Chen read through the data while having Molly fill in the gaps for him.

"Lin Zhiwei, back when you were at Synopsys, what was IC Compiler's first result on adaptec1 when you first started running it?"

"Between 1.15 and 1.2. You had to tune a lot more parameters to get close to 1.05."

"So the simulated annealing we tuned up in one week is already close to the novice settings of Synopsys's commercial tool?"

Lin Zhiwei leaned back in his chair, a little excited. "And this is only simulated annealing. Our real direction is reinforcement learning training. Boss, you're a genius."

David Kao turned toward Chen. "He's right. Simulated annealing is just the anchor point. When can we start reinforcement learning training? I'm getting impatient. I never expected DeepFlow's incremental computation to be this powerful!"

"Zhou Tianyou, how's the cluster looking on your end?"

"All three R710s have been running at full load for two days. Because we've got DeepFlow's incremental computation underneath, every cell move doesn't require recomputing the wirelength for the whole graph — traditional simulated annealing runs a few tens of thousands of perturbations over a night, and we ran close to two million. So one full SA convergence on adaptec1 only took six to eight hours.

And that's with DeepFlow used purely as an accelerator. Reinforcement learning training will be a different story. Per our plan, DeepFlow isn't just fast — it can explore different placement solutions across dozens of concurrent runs simultaneously, then aggregate the experience."

Chen nodded. "I get what you're all driving at. So GPUs are urgent now, right?"

David Kao nodded. "Plans can't keep up with reality. Boss, this DeepFlow of yours is written too well. I never expected results this good. My original plan was to validate that the baselines ran end to end before considering a GPU expansion. By my initial estimate, building the toolchain plus the baselines would take three or four weeks minimum, and if things went badly, maybe one or two months."

Zhou Tianyou chimed in from the side. "Reinforcement learning is a different animal from simulated annealing. SA is a traditional algorithm; CPUs are enough. But reinforcement learning means training a neural network, and on pure CPU a single iteration isn't an hours-scale thing — it's worse. I recommend we absolutely have to buy GPUs. Each R710 can take two cards."

Raj, feeling like he finally had a chance to be useful, quickly spoke up. "C2050s will do. What Nvidia uses internally for CUDA validation are Fermi-architecture test cards, same generation as the C2050. When I was on the verification team I ran plenty of compute-intensive workloads. The double-precision floating-point performance is plenty for a placement neural network."

"Fine. This isn't the kind of thing we can just walk into Best Buy and buy, is it?"

Chen pulled out his phone and called Linda.

"Linda, help me find a channel to order six Nvidia Tesla C2050s, plus the corresponding Dell PCIe expansion kits — the ones for the R710. Today if possible; Monday at the latest, they should be able to deliver, right?"

"Of course, Mr. Chen. I can get in touch for you. Dell and Nvidia ship very conveniently here in Silicon Valley — they should be able to get everything to you this afternoon."

When he hung up, everyone in the office was staring at Chen, dumbfounded.

It was David Kao who went straight into snark mode. "So this is what being rich is like? We could've just contacted Dell ourselves. You have to make other people do it for you."

"It's called being efficient. Saves time."

Chen looked over at Zhou Tianyou and asked, "Enterprise-grade GPUs aren't hard to install, are they? I've honestly never seen one. If they arrive this afternoon, can we have them installed right away?"

Zhou Tianyou nodded. "Dead easy. Just fiddle with it a bit and it's done. We should be able to run the first round this afternoon. Start with adaptec1, small scale, get the end-to-end reinforcement learning pipeline working. If it's just validating the pipeline, a day or two. But to see wirelength numbers clearly better than simulated annealing, probably another week — I need to carefully tune the neural network's hyperparameters."

"Great. See, because I got someone on it, the hardware arrives this afternoon and we can work. If we'd ordered it ourselves, we might not even have it by Monday. All right, meeting's over, everybody back to your desks and get to work."

Nobody left immediately, though. They started cross-checking information with each other, updating the to-do list on the whiteboard, and archiving the previous project milestones.

Chen thought the atmosphere at the company was pretty good. Maybe all startups were like this — the employees still had fire in them.

To boost morale, Chen decided on the spot to buy lunch for the office that day.

There wasn't much good delivery nearby, so in the end he just ordered Papa John's.

But a bunch of people waiting on hardware while talking about upcoming plans and technology and passing pizza around really did look a bit like a movie scene of a startup grinding it out.

Chase, for its part, generally didn't break its word. At one in the afternoon, a Dell logistics truck pulled up at the office door. They'd brought the Nvidia shipment along too — after all, it was all matched equipment.

Several boxes. Zhou Tianyou, with Sanjay and Liu Yi, unpacked and checked everything, confirmed nothing was missing, and hauled it inside to start the install.

Opening up an R710 to add cards means pulling the air shroud, but fortunately Raj was very practiced at it, and the other engineers weren't bad with their hands either. Twenty minutes of fussing around the rack and it was done.

By two in the afternoon, the first line of CUDA code was running. By three, the entire reinforcement learning training environment was configured.

This counted as a milestone event for the company.

Surrounded by everyone, Chen took a deep breath and typed the first training command at the terminal. The log on screen began scrolling. Matrix multiplications, gradient updates, the loss curve descending.

At first the loss came down very slowly, which was normal — a neural network knows nothing at the start. Basically, it's a pure idiot.

It would have to run at least two or three days before there was any real effect.

That evening Chen had been thinking about organizing another team outing, but Hannah called. Her aunt had been supposed to come visit their family, but the aunt had impulsively decided to go to a music festival instead and stood them up, which left the girl — who was very close to her aunt — thoroughly indignant.

Since the girl was coming to him to vent, Chen naturally had to go console her tender young heart.

And it suddenly occurred to Chen that he'd seen plenty of jokes in his previous life about bosses who inexplicably loved team outings — and always scheduled them after hours.

Terrifying. Chen broke into a cold sweat. Was this the curse of being a boss? The moment you become the boss, you start enjoying all kinds of group team-building activities.

He said his goodbyes and was the first one out the door, chatting with Molly as he drove.

"Molly, from now on, if I want to do a team outing, you have to remind me to check whether it's actually appropriate."

Understood, noted. Although honestly, I think an evening team outing to mark a major company milestone is entirely reasonable. ╮(╯▽╰)╭

"Fine. Just remember to remind me."

He drove all the way to Santa Clara University and picked up the fuming girl.

"The music festival isn't until the end of the month! I think my aunt just wants to hang out with her new boyfriend and doesn't want to come see me."

"Yeah, yeah, that's awful."

"No regard for family at all. She and this boyfriend definitely won't last."

"Right, right, they won't last."

"I'm so mad. Let's go to the music festival too."

"Yeah, let's— wait, no. What music festival?"

"The Montreal International Jazz Festival. Apparently it's the biggest jazz festival in the world."

Chen's brain kicked into gear, hunting for an excuse to decline, and very quickly found an extremely strong one.

"Ah, Montreal is in Canada, right? I'd love to go, but unfortunately I don't have a Canadian visa."

"Really? What a shame."

Just then the music playing in the car cut out — a call was coming in.

Ted's voice came through the car speakers. "Boss, good news! No need to wait until next week — your green card came through. You're a permanent resident now!"

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