r/deeplearning • • 19d ago

Am I actually learning deep learning, or just letting ChatGPT do the work?

This year I started focusing on developing my skills in deep learning. I've been taking online courses, studying the fundamentals, and working on small projects to put what I've learned into practice.

I'm also in my final year of Software Engineering, and I decided to challenge myself by choosing a graduation project that's heavily focused on deep learning.

The problem is that I don't really know anyone who specialises in this field. I even asked around among my classmates, but couldn't find anyone interested in working on a deep learning project. So I've ended up doing the whole project on my own. I don't really have a mentor either, since my supervisor's background is in computer science rather than AI.

Because of that, I've been relying quite a lot on ChatGPT to help me write code and figure out how to approach different parts of the project.

And this is where I'm struggling. Sometimes I reach a point where I genuinely don't know what to do next, and I feel like ChatGPT is doing most of the work instead of me. I try not to blindly copy the code. I constantly ask why it chose a particular approach, what each function does, and what concepts I should review before moving forward.

I've even started watching Stanford's deep learning lectures to strengthen my understanding, but a lot of the material is theoretical, and I still struggle to connect what I'm learning to actually building something.

Then I open LinkedIn and see people constantly saying that you need to learn how to code from scratch, that AI is making people dependent on tools, and that the developers who will survive in the future are the ones who truly understand how to write code themselves.

I genuinely enjoy deep learning and I want to understand what I'm building.

So, for those of you who work in deep learning or have been through something similar, how did you learn to build projects independently?

How do you balance using AI tools to help you learn without becoming too dependent on them? And how do you bridge the gap between understanding the theory and actually knowing what to implement next?

I'd really appreciate some advice, especially from people who had to learn without much guidance or mentorship.

27 Upvotes

28 comments sorted by

3

u/john_mach 17d ago

Ive oddly encountered a similar situation pre ai. I was helping with an experimental class that looked to bridge physics students with coding. Essentially, we were looking at providing a summer class for students to code up physics problems and connect more engineering-like scenarios.

In doing this, the TA provided a LOT of starter code but students really didn’t know what they were doing. They kinda knew the physics and the inputs and outputs of the functions but the middle was always lost. We came up with a collaborative lab session that I was helping with where students would own sections of code and had to teach their peers how to do specific things with the code. Kinda like a code review or design review session but more educational and chill. Essentially if you could teach someone how to do something, you knew the material well enough was our idea.

For your scenario, I would try to teach someone a concept in your code. Like walk through it line by line and explain your decisions. It doesn’t even have to be a real person. A student I knew taught their mechanics code to their cat and formulating the lesson plan was the real learning activity.

2

u/Dizzy_Battle_7060 17d ago

That's really interesting, i think this could actually work for me since i enjoy explaining things to others. I'll definitely give it a try. Thank you so much for sharing this approach : )

2

u/john_mach 17d ago

Some tips if you do decide to teach a friend. Make a lesson plan. Doesn’t have to be ultra high effort but structure it in a way thats small and easy to understand and take on concepts that build upon each other.

We always did something like:
- here’s what my code is about
- here’s why I am writing this code
- here’s what I want you to learn this lesson
- here’s perhaps some data we are working with
- this is the underlying math one part of it - honestly the easy part if you scope it right
- here is the code and how it connects to the math. This is the hard part because templated code or even numpy isn’t very intuitive to regular people. We actually did some excel sheets to show how arrays were structured and how the numbers transformed. I imagine back something like propagation would utilize this if you wanna walk through the transformations
- questions at the end

2

u/Fickle_Surprise8316 11d ago

to be honest the fact that you keep asking it why it picked that approach is kind of the whole test here, like that is learning even if it does not feel like it yet. the problem is not really ChatGPT doing the typing, it is when you stop asking why and just paste something in because it looks finished. if you can close the tab and explain the piece back in your own words, even badly, you probably actually get it, and if you cannot then that is the bit to go back over. the LinkedIn stuff about coding from scratch forever is a bit much too, nobody is out here hand writing everything from nothing anymore, the skill is knowing what the thing is doing well enough to notice when it is wrong

1

u/Dizzy_Battle_7060 11d ago

yeah, I always try to understand every step, and I always like review the code because I'm applying for several internships. but sometimes you know, when I've an idea for a project, and I start doing it, in the middle of the project, chatgpt start giving me more complex ideas, several step, and tell me I should that and so on, like you guiding me not I tell him what he should write :|, that's dissapointing, but people here gave useful advice. at the end of the end, I don't want to write every line in the code, but I want to understand what I'm doing that, and if I changed this step what will happen.

1

u/Interesting_Thing460 13d ago

Bro if you have taken CS 231n then complete the assignments.

1

u/Dizzy_Battle_7060 12d ago

yeah, I watched some lectures in this course, but I didn't know there are assignments, inside the lecture? or there're additional materials?

2

u/Interesting_Thing460 12d ago

1

u/Interesting_Thing460 12d ago

Check this out

1

u/Interesting_Thing460 12d ago

One tip: don’t use AI, if you don’t know something then see the maths behind it and write code accordingly

1

u/Dizzy_Battle_7060 12d ago

Thank you for sharing it with me, and definitel, I'll try my best to solve them without the use of AI

4

u/Sad-Size2723 19d ago

Easy answer. We had calculators, but little kids still needed to learn math. Nothing new with AI.

You should learn how things work, but you don’t necessarily need to actually do everything by hand.

1

u/NeverFlipped 18d ago

Try working on projects without using AI and only turn to AI when absolutely necessary. That way, you can put yourself to the test.

4

u/catsRfriends 19d ago

DM me, I'm an MLE in industry. A lot of the stuff you read online is wrong. For the purposes of finishing your project, you don't have the luxury of building an autograd engine or deriving backdrop from scratch at every step. You need to establish a working baseline, then iterate from there. There are helpful ways to understand things like backprop and then there are technically correct but neigh useless ways to understand them. I'm happy to give you an hour of my time to help.

1

u/tucosan 19d ago

Big props for offering this to OP!

0

u/WallyMetropolis 19d ago

If you aren't building something without using an agent for any of the coding, and aren't putting pen to paper to write down equations, and aren't doing textbook style problems then it's very unlikely you're learning much. Lectures on their own are just not a very effective learning tool. 

2

u/Dizzy_Battle_7060 19d ago

I'm taking notes, review them, and even bought "Deep learning for coders with fastai and pytorch" and finished few chapters, and I'm trying my best to understand concepts. but when it comes to code, I feel like I don't know where to begin or what should I do. what exactly do you mean by textbook style problems?

2

u/WallyMetropolis 19d ago

I mean that a textbook will have problem sets at the end of each chapter. 

1

u/Klhnikov 19d ago

I understand you learned the principles of ML but struggle to implement things on your own... Maybe you need stronger basic python programming skills to be more efficient in your code.

Good new, this is not the hardest part ! Bad new, you will need some... Practice.

1

u/Fragrant-Cheek-4273 18d ago

Treat the ai as your tutor, not as the person doing the project.

0

u/captorwootfondly 19d ago

For me the hard part was visualizing the math (jacobians especially) and relating it to code - building from scratch is what fixed it (started in C, then moved to Python when I wanted to find work).

So I'd say: pick one small thing, like a tiny autograd engine, and build it with no AI. Then explain backprop on paper like QuantitativeNonsense's comment asks. Wherever you get stuck is the next thing to study.

Shameless plug: I made a free Deep Learning path on my site (Get Good) that ends with building a tiny autograd engine, for anyone interested: https://get-good.app/learn/deep-learning?utm_source=reddit

0

u/[deleted] 19d ago

[deleted] — view deleted comment

5

u/AtariAtari 19d ago

Even better manually compute a backprop with pen and paper on a 2-layer network

1

u/Repulsive_Air3880 19d ago

It'll be interesting to read his/her reply

1

u/Stettler1228 18d ago

I mean i can do backpropagation even with pen and paper cause i learned that way but never heard of pseudo-derivation..whats this terminology, like getting Reality check randomly

0

u/jake_1001001 17d ago

Op is a stooge. Its more commonly referred as Straight-Through Estimator.

-3

u/Dizzy_Battle_7060 19d ago

propagation we've forward and back and we use them to make prediction and caluclate the loss and calculatioe the weight contributes to the loss. I studied this a couple of days ago. but for pseudo-derivation no : (

1

u/Klhnikov 19d ago

That's correct, and once we calculated the prediction error on a pair of input/truth, we want to backpropagate this error, but how do we know how to apply this error to our weights ? Is it more ? Is it less ? We know the derivate of a function give the direction it take a some point. So we can get the direction of the error from the derivate of the error function at the point we look at. Partial derivate give the proportion of all weights in this error. If the weight was heavy in the error, it will be heavily changed.