48

I am doing a M.Sc. in artificial intelligence (AI), and I am collaborating with a computer vision company in a deep learning (DL) research project that will eventually become my master thesis.

Basically, my project is trying an approach that could, hopefully, achieve better results than the approach that is already in use in the company. (For those familiar with deep learning, I try to generate synthetic data for a task where data acquisition is expensive.)

However, after a lot of time and effort spent on this approach I see that the results are terrible. This new approach gives me worse rather than better results than the existing one, which means that at this moment all the effort has been a waste of time.

I feel stuck as I can't make any progress. Every single idea that I have that could potentially lead to improvements makes no difference. This is even worse than if I had worse results as in this case I could at least know what doesn't work. I feel that it is very hard to get any additional knowledge on this task as the experiments that I do don't validate any hypotheses. After months of working on this model, it still seems to me a complete black box.

As a result I end up working much more hours than agreed on in the contract, only to fail in generating any relevant new information or progress that I could report to my boss/advisor. I am spending a lot of time reviewing the code thinking that there must be something wrong.

Sometimes I wonder if my whole project is simply doomed to fail. Maybe this idea is simply not doable for the current task. And even though I feel that my advisor is aware of this danger, I can't help but feel that a failure of this project is a failure of me as a professional. After all, how can I be sure that I tried everything or that I correctly implemented those ideas?

Before this I was sure that being a AI researcher was the career that I wanted to follow. But now I feel that I can't cope with this level of anxiety and frustration. If it is like this for a M.Sc. project, I wonder how it would be for a Ph.D.

Did anyone have a similar experience in DL or even in another area? Can anyone with a Ph.D. share some thoughts whether things will continue to be like that?

Peter Mortensen
  • 836
  • 7
  • 7
Manveru
  • 569
  • 1
  • 4
  • 6
  • 37
    "All effort was a waste of time." Not true. You learnt something about your model/method, even if it was not what you wanted or expected to learn. It sounds like you are not getting much help from your advisor. How often do you meet them? What kind of feedback do they give you? – astronat supports the strike Sep 05 '21 at 15:37
  • 1
    This sort of thing is unfortunately common. Things should work, but don’t, and there could be so many reasons why: the algorithm, the implementation, the data, … Sometimes a second set of eyes is needed, nearly always a thorough code review is in order. Talk to an experienced colleague to see if any of your core assumptions are misplaced. Debugging gets quicker with experience. – A rural reader Sep 05 '21 at 15:43
  • 8
  • Deep learning needs real data and 2. Synthetic data generation is often in the realm of graphics or physical modeling, this problem is probably one outside of ML. I was on a similar project and opted to terminate.
  • – FourierFlux Sep 05 '21 at 16:28
  • 8
    In my experience most of research is about failure, it happens to all of us, all the time. Some failed efforts help you go in the right direction, and some are just dead ends that only get you frustrated. You might learn to tolerate failure and cope with it as you gain experience (also to identify dead ends quicker), but it will not go away. Talk to your supervisor to figure out whether this particular project is failing spectacularly and you can expect better times ahead. If not, then you need to assess if you're willing to put up with the frustration. – Miguel Sep 05 '21 at 16:54
  • 28
    Research projects fail all the time: that’s why it’s called research rather than homework. – ZeroTheHero Sep 05 '21 at 23:55
  • 1
    I think you are plunging right into the heart of the most hyped topic in the field. Get the AIMA book and read it cover to cover. There are so many topics and subtopics there. Make sure you understand the whole landscape before you choose what to pursue specifically. – rg_software Sep 06 '21 at 07:30
  • 10
    In a different domain, can you imagine the number of masters, PhDs, postdocs, etc that aim to cure cancer? How many of those do you think achieve that goal? Some parts of AI have become an experimental science, and should be judged by those standards. – Marc Glisse Sep 06 '21 at 08:28
  • 5
    My very limited experience with machine learning is that a lot of it does consist of trial and error and guesswork, and the ways to work out why something works or doesn't work are quite limited, and generally you have to just keep trying things until it does work. – user253751 Sep 06 '21 at 09:18
  • 1
    onda activate SimEx – Neinstein Sep 07 '21 at 12:42
  • 1
    @MarcGlisse Umm... not so much. If any of those aim to cure cancer they are immediately informed that it is not a realistic or feasible goal. I assume that the goal in the OP's project is somewhat more tractable than that. If you're coming from CS, the OP's project likely isn't prove P = NP or something quite so pie in the sky. I don't mean that it necessarily can be done, but it likely isn't something that is so obviously unlikely to be doable in a short project. – ttbek Sep 07 '21 at 12:54
  • 1
    How do other known approaches perform? There isn't only one other known approach, right? Their current approach is likely the best that a full-time paid professional could come up with, so I don't think you should be disappointed by failing to do better. It may not be an appropriate goal for a thesis to beat such an arbitrary benchmark. Maybe doing a survey of existing methods (other than the company's) first will 1) give some concrete data to use in the thesis and 2) inspire a better approach than the currently failing one. Start simple, how good is least squares on this problem? – ttbek Sep 07 '21 at 13:13
  • 2
    Negative results are still results and should be published. Some fields have dedicated conference tracks for those. – Simon Richter Sep 07 '21 at 14:24