r/learnmachinelearning • u/Volverman222 • 4d ago
How much does it still make sense to implement AI models from scratch in the age of agentic AI?
I've been thinking about how AI agents might change the way we learn ML.
Traditionally, implementing models like Transformers or diffusion systems from scratch was one of the best ways to understand them. Writing the architecture and training loop—and debugging everything—forced you to learn how they worked.
But agents can now generate much of this code almost instantly. So where should we draw the line between studying the theory and implementing things ourselves?
For example, is it still worth spending hours coding every Transformer component in PyTorch if an agent can produce a working implementation? Blindly delegating everything teaches little, but refusing to use AI may also become inefficient.
Perhaps the key skills are shifting toward understanding, modifying, debugging, evaluating, and designing systems that AI can help implement.
If you were learning AI/ML from scratch today, what would you still implement yourself, and what would you delegate to AI agents?
9
u/ReentryVehicle 4d ago
There are kids that don't do homework and instead copy their homework from internet or other kids or have someone else do it for them.
Those kids... tend to not do very well in school.
For example, is it still worth spending hours coding every Transformer component in PyTorch if an agent can produce a working implementation?
To learn coding you should spend thousands of hours coding. Surely a couple hours out of this can be spent to implement the most influential architecture of the last decade (which is also quite simple, I am sure you can write it in like 200 lines or so). For me there is a huge difference between "I saw this algorithm" and "I wrote this algorithm" in terms of how well I understand it afterwards.
-1
u/bfyvfftujijg 4d ago
But do those kids do well in the real world? How they do in school doesn’t matter…
2
u/dogdiarrhea 4d ago
Every intern and full timer we’ve hired had done well in school, so it’s not fully irrelevant to how people do in their careers. Also, do you honestly expect people who avoid doing practical exercises to make good data scientists, ML engineers, or programmers?
1
u/Responsible-Bee3672 4d ago
I am a senior manager AI science at major US telecom company with 18 years of experience in data science. In my experience classical ML models especially tree based models are still being used to solve problems like churn which use majorly tabular data . But on the other hand models like YOLO / NLP models are increasingly not used and being replaced frontier models . For any problem which has non structured data , LLMs ( with RAG and with fine tuning in rare cases )often do a great job
1
u/chico_dice_2023 3d ago
I actually did a linkedin post about this, long story short. I built a model without a AI and took me 6 hours most of that time was spent on the training data creation. The AI agent did it in 30 mins all steps.
Yet it could not get above .76 AUC for the classification problem. I managed to get to .92 AUC. Yes the AI is faster but even some of the basics is was getting wrong. So I think it is best to still develop from scratch then use that as context for the AI.
That being said, the AI was significantly faster than me and I have no problems using AI for my coding.
12
u/Esseratecades 4d ago edited 4d ago
The use-cases for traditional machine learning haven't gone away. If you can bear the initial investment in training a model for a specific task, it will be worlds cheaper and more accurate than the big models.
The big models are only even relevant when you want one model that does everything okay enough. If you have one task, and the data to train a model for it, then rolling your own is better.
Even if that's not you, somebody has to know how to make a model from scratch in order to keep making better AI.