Meridian Capital's conference room had a whiteboard the size of a garage door, and nobody had ever written on it.
I could tell by the surface. It still had the factory gloss. Teodor Marsh stood beside it in a gray sweater, holding a fresh pack of markers like a man handed a live animal, and Tomi, who had invited himself and was not sorry about it, sat in a leather chair spinning slowly and eating the free almonds.
"Explain overfitting," Teodor said, "as if I were smart and had never done it."
"You're smart and have never done it."
"Yes. That's the audience."
I uncapped a marker. "Then let's start with ten dots."
I drew a horizontal axis, a vertical axis, and ten points.
They were not neat. They climbed from left to right in a loose, sloppy way, like a staircase drawn by a man in a moving car.
"Imagine these are measurements," I said. "Hours someone studied on the bottom. Her exam score on the side. Real data is noisy, because people have good days and bad days, so the points don't fall on a perfect line. But there's a trend: more hours, better score. Your job is to learn the trend, so you can predict the score for an hour-count you haven't seen."
"A line," Teodor said.
I drew one through the middle of the dots. It missed every point a little and hit none exactly.
"That's a simple model. It has two knobs, slope and intercept. On these ten points its average squared error is about 0.42. That's the training error: how badly it does on the data it learned from."
"It's wrong everywhere."
"A little. Which is honest, because the data are noisy. A line can't be right about noise." I drew a second curve in red, a wiggly one that passed through the dots in a series of loops. "Now I give you a more flexible model. Ten knobs. A polynomial of degree nine, which is the maximum you can use on ten points. Watch what it does."
The red curve swooped through the first dot, ducked below the second, soared past the third, and touched every single one, as if threaded on a string.
"Training error," I said. "Zero. Exactly zero. A perfect score on the data it learned from."
Teodor leaned back. "Then it's better."
"Is it?"
"It fits perfectly."
"Now," I said, "I give both models ten *new* points, drawn from the same process, in between the old ones. Points neither model has seen."
I did not draw these. I opened my laptop on the table, because I had run the experiment the night before and I didn't want to fake it with marker. I turned the screen toward him.
``` degree 1 (the line): train error 0.42 test error 0.89 degree 9 (all knobs): train error 0.00 test error 1.56 ```
"You see what happened," I said.
Teodor stared at the numbers. "The perfect one got worse."
"On new data it is nearly twice as bad. The line wasn't perfect, but it carried over. The wiggly curve learned the noise: the particular good and bad days of those exact ten people. It memorized them. When fresh people arrived, with fresh luck, it lurched."
"So training error tells you nothing."
"It tells you something. It tells you how well the model memorized. It doesn't tell you whether it *learned*." I drew a new picture, two curves on one chart. "Here is what you see when you train a real model. As training continues, error on the training data keeps falling. Of course it does. The model is getting better at the thing it practices."
I drew the first curve, a steady downward slide.
"But the error on *held-out* data, the validation set, falls for a while, flattens, and then begins to rise. The model has stopped learning the pattern and started learning the quirks."
I drew the second curve, shaped like a shallow bowl.
"The gap between those curves is what overfitting *is*. Not the size of the model. Not the cleverness. The gap. When training error is superb and held-out error is mediocre, the model is flattering itself."
Tomi stopped spinning. "That's the whole thing?"
"That's the whole thing," I said. "Everything else is arguments about how to close the gap."
Teodor asked a question I did not expect, and I respect it more now than I did then.
"Aster-3 has hundreds of billions of parameters. By your picture, it should be the most overfit thing ever built."
"That's the right objection."
"Is it wrong?"
"It's half right. Big models can overfit, and a model that large can memorize an enormous amount of text if you let it. We call that memorization. But size alone isn't the disease. The modern surprise is that very large models, trained on enormous amounts of varied data with the right care, often generalize *better* than smaller ones, even when they could in principle memorize everything. What matters is the gap, and how you keep it small."
"So size isn't the problem."
"Size plus a data set the model has seen, plus a test that checks the memory instead of the skill, is a problem." I tapped the second curve. "If Aster-3's training error is near zero and its error on fresh data is something like forty points worse, the gap is the story. The slide shows you a number from the wrong side of that chart."
Teodor was silent for a while. He capped and uncapped a marker three times.
"My daughter is fifteen," he said finally. "Last semester she got ninety-eight on a chemistry test and sixty-one on the next. I thought she'd gotten lazy. Then I found out the first test was identical to last year's, which a friend had given her. She'd memorized the answers. She hadn't learned any chemistry."
"And the second test?"
"New questions. She panicked. I'd been proud of her for six weeks." He looked at the whiteboard, at the red curve that touched every dot. "I thought I understood what was wrong with my daughter. I didn't have words for it."
"You do now."
"Yes." He put the marker down. "I've been in this industry twelve years. Everyone I've met has told me what the model can do. You're the first who has told me what the number is *made of.*"
I should have felt triumph. What I felt was closer to relief and something older, a grief with no name that I'd been carrying around since I took the internship, like a stone in a coat pocket. I looked away from him, at the glass wall, at the thin gray bay beyond it.
"There's something I should tell you," Teodor said, after Tomi had politely gone to look for coffee.
"I called Dane yesterday. After your conversation."
"I assumed you would."
"He picked up on the first ring. He doesn't do that." Teodor tapped the table once. "He said you were a disgruntled former employee with no research credentials. He said you'd abandoned a doctorate. Is that true?"
"Yes."
"Why?"
"A lot of reasons. Mostly a person died." I kept my voice level. "I don't make a credential of it. I just don't hide it."
He nodded as though a number had come out where he expected. "Dane also said you'd come in with a whiteboard. That you'd make everything sound simple. He said that's exactly how a con man talks."
"He's right."
Teodor looked up sharply.
"It *is* how con men talk," I said. "Simple, clean, confident. That's why you shouldn't trust me because I sound simple. You should trust the number. Did you run it?"
For the first time since I'd met him, something in his face turned warm.
"I ran your coin-flipper last night, on my own laptop," he said. "With my own random seed. Best of six hundred and twelve. Fifty-three point two."
"Close to my fifty-three point three."
"Within a tenth." He allowed himself a small, dry smile. "I'm not a programmer. I wrote it on a plane once. But I can tell when a result doesn't care who is presenting it."
"That's the only kind I like."
"Then here is what I've done, and what I haven't." He ticked off on his fingers. "Meridian will not wire a dollar of the Series C before the Kestrel review is finished. Dane asked me to waive it. I declined. He suggested a 'friendly technical briefing' from his team instead. I declined that, too."
"That's a strong—"
"I haven't finished. I can't unwind the term sheet. We signed it. I can't stand up and say the number is fake, because I'm not certain it is, and because my own partners will ask what I knew and when. What I can do is hold the money until someone with no stake in the answer tells me the answer."
It was a smaller victory than I'd wanted. It was also the only kind that works: a man with a checkbook refusing to be hurried.
"Thank you," I said.
"Don't thank me." He stood. "I'm not doing it for you. I'm doing it for a fifteen-year-old with a chemistry grade."
My phone lit up on the table. A message from Gwen, no greeting.
**Dane has called an emergency board session for Friday. Kestrel's data room access has been restricted to "aggregate summary statistics." Not the manifests. Do you understand what that means?**
I read it aloud, and Teodor's face changed.
"Summary statistics," he said. "He's letting them look at the score and not at what the score is made of."
"A thermometer reading," I said, "with the patient taken out of the room."
Tomi came back with a tray of paper cups just in time to see us both go still. He set it down carefully.
"I'm guessing," he said, "somebody just built a wall."
"Not a wall," I said, and picked up the red marker. I drew a little door in the corner of the whiteboard, with a keyhole in it, and thought about the email I could not answer. *Ask for the shard manifest, not the dataset.* "A locked door. We're going to need the right key."