ML model — optical-fiber signal processing

Gen AIspec-driven
  • With an agent5–6 h
  • In the field~10 MD
  • Backgroundnone
  • Outcomearmy contract

Not my field. I said yes anyway.A cousin, a few days before his state exams, and a model for an optical-fiber signal. Classification worked — and the project got him a contract with the army.

My cousin calls: "Man, please, will you help me? I've got a few days until my state exams, I have to finish a project, and I'm completely screwed." I say, "What's the problem?" … "I have to build a model for processing data from optical fiber and I can't get it to move."

My first reaction was: "Look, that's not my domain, I barely know anything about ML and neural nets." True — I was a bit overworked and tired, and I didn't feel like dealing with anything just then. Then we met at a birthday party and went through it again. This time I told him to come over on the weekend and we'd try to figure something out.

Inside, for me, it was a challenge again. Challenge accepted. I had room and tokens to spend on it, and I wanted to help my cousin. I also wanted to find out what today's AI agents can actually do.

I took my usual stance — data first, then we find the way forward from there. I had some awareness of ML, mostly theoretical. I knew the basic principles: data quality, sorting, test and validation samples, and so on. I knew that if the input data is good, it has to be doable.

He sent me about 20 GB of raw data from different conditions. I don't know much about it. Physics isn't my domain. But I have an AI agent, and a proven base I use for every technical problem.

Alright, what can you do, agent? We met on the weekend as agreed — me, my cousin, and the agent. I had the brief and the data. Enough context. This has to be possible, right? And yes, it was.

The goal was a model that can process the signal from the raw data and tell whether it's a change in temperature, strain, or pressure. That was the base. Then regression, to predict the values (what's the temperature, the pressure, and so on).

Normally, for someone who knows the field, that would take at least 10 MD. I did it with the agent in about 5–6 hours of work, spec-driven development. No background in the subject, just the basic principles of solving problems.

The result was that classification worked flawlessly. My cousin finished his bachelor's thesis, and this project got him a contract with the army, where they use it.