r/MachineLearning • • Aug 30 '26

Research Claude Code for Research Papers [R]

Third-year PhD student, NLP / interpretability. I want a reality check from people doing similar work.

I started using Claude Code for the boring parts: argparse boilerplate, plotting, config wrangling. Over the last few months the scope has crept. It now writes most of my experiment scaffolding, refactors my dataloaders, does first-pass debugging on training runs, and drafts the analysis scripts. I mostly read diffs and say yes.

The output is fine. My throughput is up. The thing bothering me is that I no longer hold my own codebase in my head. When a result looks off, I used to have an instinct about which line was lying to me. Now I go hunting like it’s someone else’s repo. I catch bugs later than I used to, and I catch them by reasoning about the numbers rather than by knowing the code.

I don’t think the tool is the problem. I think I delegated a layer that was doing more for my understanding than I gave it credit for.

Questions for people further along or in the same spot:

  1. Roughly what fraction of your research code do you write yourself now?

  2. Is there anything you deliberately refuse to hand off? (For me I think the eval harness and anything defining a metric should stay mine, but I keep breaking my own rule.)

  3. Does anyone have a workflow that keeps the speedup without the detachment? Reading the diff line by line is not cutting it.

Not looking for a “tools are just tools” answer. I’m asking about the specific feeling of not owning your own experiments anymore.

285 Upvotes

65 comments sorted by

View all comments

Show parent comment

11

u/Specialist-Manager67 Aug 31 '26

The problem was that since I spent 2 months on it already, it was becoming a sunk cost kind of situation. And I really needed a fresh start in a way. I moved onto a new idea where I'm now manually implementing things, and only letting it run auto in very careful scope controlled tasks.

It haunts me that there is a chance that if I manually implement that idea it might succeed, but now I'm too scared to put more time into it if you feel me. Like I can't justify this to my supervisor anymore if I work on that idea again. And working on it would me feel like starting from scratch again like I did nothing for 2 months.

But in those 2 months I read various papers about the field I'm working in and gained some useful knowledge so it wasn't a total waste.