Chapter 20: Getting the License

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

The first morning with no classes, Chen Yiran woke up at seven thirty.

His body clock had set itself. After nearly a month at the ELI, getting up at this exact time every day, his body had simply calibrated on its own.

He rolled over and lay there another twenty minutes, then realized he genuinely couldn't fall back asleep and resigned himself to getting up.

He complained to Molly, "Why don't you study more so I can sleep in? My road test isn't until ten. What am I getting up this early for?"

You didn't tell me that yesterday.

Really not that intelligent. Chen Yiran left it at that, brushed his teeth, washed his face, and got ready to eat before heading out for the road test.

He'd had his learner's permit for more than ten days now. Pass today and he'd walk out with the real thing.

After a solid meal, he pulled on a dark hoodie and jeans, stuffed his various documents into a bag, went downstairs, and drove to the DMV.

Monday morning, and it was busy. He waited in line for a good twenty-odd minutes.

His turn. The examiner was a Hispanic man in his fifties, beer belly, uniform buttoned all the way to the collar. He took the learner's permit, flipped through it, and asked, "Let's go. Where's your car?"

Chen Yiran led the examiner over to the Porsche.

The examiner walked a circle around it and said, with a trace of envy, "Porsches really are gorgeous."

"Mm. They really are."

"So who drove out here with you? You know you can't drive without someone over twenty-one with a license in the car, right?"

Chen Yiran looked at the examiner with an awkward face.

The examiner didn't press it. He shrugged, tucked his clipboard under his arm, and got into the passenger seat.

Chen Yiran got in too, buckled up, nodded to the examiner, and the instructions started coming, one segment at a time.

"Right turn onto Philadelphia Pike."

He knew this road; he'd passed it coming out for the written test. Two lanes, one each way, both sides lined with the kind of little shops that had been there thirty years. Shoe repair, lottery tickets, Dunkin' Donuts. Not much traffic on this road, but plenty of intersections, stop signs one after another.

Chen Yiran knew these were all traps. You had to come to a full stop at every stop sign or you'd fail for sure.

After that came lane changes, pulling over to the curb, and finally parallel parking.

Honestly, he was a little nervous. In his previous life, all the driver-assist systems had spoiled him rotten; parking had gotten easier and easier. Nothing like now, when even the backup sensors were vague and mushy.

Right turn signal. Reverse slowly. Half a turn on the wheel. The car angled in, but the angle was wrong—too close to the cone on the right.

He quickly corrected the wheel, straightened the car out, and eased to a stop.

Out of the corner of his eye he caught the examiner marking a check on the clipboard.

Fine. A pass is a pass.

Next came a stretch of side street, speed limit thirty miles per hour, a few right turns and one left, then a four-way stop.

He braked to a full stop, looked left and right with somewhat exaggerated deliberateness, and only then drove through.

"Last one. Back into the space."

Two cones marked the spot in the parking lot. Into reverse, watching the backup sensors—this one actually went well, in on the first try.

The examiner signed the sheet and handed the learner's permit back.

"Go inside for your photo. Pay the twenty-four-dollar fee at the counter first."

He hurried out of the car to get in line. The photo counter at the DMV was always the most absurd line, and this time was no exception—a full half hour before the picture was taken, then another ten minutes of waiting, and the freshly minted license was in his hand.

He glanced at his phone. Eleven forty. On the way home he swung into a Subway for a sandwich. Subway's food couldn't be called great, but the ingredients were fresh, so it never actually tasted bad.

Back home, Chen Yiran sprawled on the couch and started planning his studies.

Molly.
Here.

"My schedule is completely clear now. That study plan you mentioned before—give me the details."

Finish CS223A, three or four days. Then CS161, algorithms and data structures, and after that we could look at CS107, computer organization and systems. Also, CS229 has a loose end I never tied off. Andrew Ng mentioned convolutional neural networks[1] in the last few lectures, just the concept, no depth. I want to fill that in.

"Convolutional neural networks?"

You treat an image as a two-dimensional matrix and slide a set of learnable filters over it to extract features. Works far better than flattening the image into a vector and stuffing it into a fully connected network.

"Speak human. Say something I can actually understand."

It's the thing that can recognize images or faces. I want to try building a framework, and with this added, that gives us two projects.

"What framework?"

You define the network structure, and it computes gradients for you, trains for you, evaluates for you. A complete workflow end to end. Similar to Theano, but Theano's symbolic-computation interface is painful—you have to write model definitions in a whole different programming mindset, and the learning curve starts at several months. I want to make a simple one, where a few lines of code get it done.

"Sounds good."

But a framework has one problem—only programmers have any use for it. Worldwide, there might be a few thousand people working in ML right now. So I also want to try adding some elements inside this framework to make demo software.

"Demo software?"

Right. You upload an image, and the web page tells you what's in it. Upload a photo of a cat, it tells you it's a cat. That kind of thing.

"That—I saw news about that in my previous life. This needs training, right?"

The MNIST handwritten digit dataset can be the first test. MNIST is a fairly basic dataset; academia generally considers it easy, but that's exactly what makes it good for validating the framework's core functionality.
If the results are good, we test further with CIFAR-10. CIFAR-10 has ten categories, common animals and vehicles, and it's considerably harder to classify than MNIST.

Chen Yiran thought it over.

"Fine, you decide. I don't understand what you're talking about anyway."

I'll make you understand. I have one more idea after that.

"Out with it. Don't be cryptic."

Face recognition. You upload a photo and the system identifies the faces in it. For training data we use LFW, Labeled Faces in the Wild, a public dataset released in 2007—over thirteen thousand labeled face images, more than five thousand seven hundred individuals. Not a huge amount of data. The MacBook can handle it.

Chen Yiran sat up a little straighter.

"Face recognition? In 2010?"

Nobody has done it at the MacBook level so far. But my sense is that the technology is sufficient. We can try to build it.

Chen Yiran thought about it. That really was a good idea. If they could actually pull it off, it would definitely draw a lot of attention—it might even make the news, which would help him down the road. Getting famous early never hurt.

"Will there be trouble over this sort of thing?"

It will set off a privacy debate, that's inevitable. But you had similar discussions back when you were doing web scraping. As long as the code is open source and the functionality is transparent, the controversy itself brings attention. We're not profiting from it, and everything we use is open data. There's no problem.

"Can you do it right now? Or do you need to study more first?"

The framework itself, one week to ten days. Model training and tuning, a few more days. The web demo, one or two days. Three weeks total, if we push at full speed every day. The other courses get pushed back. CS223A can run in parallel—the vision portion overlaps with this project, so studying them together is fine.

"Sure. I'm free now anyway, so my time is yours. It's not like I'm going to go on a cross-country road trip with nothing to do."

They were chatting idly back and forth when his phone buzzed.

AVE's number.

Chen Yiran picked up and went straight to it: "The cars reached Los Angeles?"

"More than that. Customs clearance is already done. They load onto the ship this afternoon. If it goes fast, we'll send you the bill of lading tonight; if it's slow, tomorrow or the day after."

Enormous news. The condition on the letter of credit was exactly that—the shipping company's ocean bill of lading.

His first pot of gold was finally about to land in his hands.

[1] A neural network that slides small learnable filters across an image to pick up local features, instead of flattening the image into one long vector. Introduced with LeNet-5 in the late 1980s and 90s, it became the foundation of modern computer vision — though in 2010, when this chapter is set, the deep-learning boom it would set off was still two years away.

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