I've posted a huge amount of academic code (I've linked to a small number at the end). I think you should, but it won't help advance your career immediately. However, I still think it's better for science. What is useful is if you can produce code people can build on and do their own cool stuff with -- then they will cite you. However, getting something to a state where it is tested for all reasonable inputs, has som…
Ask HN: Should I publish my research code?
41–50 of 363 posts
Re: Ask HN: Should I publish my research code?
#42Is your goal to help advance the science and our general knowledge? Publish the code. You don’t even need to clean it up. Just publish. Don’t worry about coding style nitpicks. Having the code and data available actually protects you from claims of fabrication or unseen errors in hidden parts of your research. On the other hand, if your goal is only to advance your own career and you want to inhibit others from opera…
Not sure if posting the paper only is even the best move. I personally never work with papers with no code published. Just not worth the effort to reproduce them, when I can use the second SOTA for nearly no performance penalty and much less effort. All the groundbreaking papers in deep learning in the last decade had code published. So if you're aiming for thousands of citations, you need code.
I personally look at any paper without code with great suspicion. The reviewers certainly did not try to reproduce your results, and I have no guarantee that a paper without code has enough information for me to reproduce.
I always go for the papers with code provided.
Re: Ask HN: Should I publish my research code?
#43Depends on the climate of the field you're in, and where you're at in your career. There are fields where entire research groups routinely harvest preliminary ideas from graduate student publications, and then finish them and rush to publication before the student realizes what's happened. I'd say, grad student owes nobody anything until they finish, because they're bearing the greatest risk of losing priority, and t…
I can attest to this. I myself am victim of this. My undergraduate thesis was plagiarized by two other papers. Code was 80% the same, they just added some trivial things. No citing of my work at all. Look at my other comment for more explanation - if you are working under less known advisor, or at less known university, there is a high chance that this will happen if your work is good.
Re: Ask HN: Should I publish my research code?
#44Two times I have published my research code - both times I have found many other papers/projects plagiarized my work without giving me any credit. This happens way more than you would think, especially if you are working under less known advisor, and at less known university. As the other comment said, if you care about "advancing the science", and won't mind stuff like the above happening, then go for it. In my expe…
This has been very much my experience.
Re: Ask HN: Should I publish my research code?
#45One argument against publishing code is that maybe there's an error (or more) in your code, which validates your possibly mistaken theory, and forcing an independent reimplementation by others would uncover this problem.
The fact that there may be an error is an argument in favor of publishing the code.
Re: Ask HN: Should I publish my research code?
#46Re: Ask HN: Should I publish my research code?
#47Put a huge note in the readme that this is research code and only licensed for non commercial use.
Put a note on your personal homepage that you're available to hire as a research consultant for $1000 per day.
Companies who like your research will put 1+1 together. A friend of mine got hired straight out of university at a very competitive salary with this approach.
Re: Ask HN: Should I publish my research code?
#48Re: Ask HN: Should I publish my research code?
#49Earlier quoted context omitted.
Not sure if posting the paper only is even the best move. I personally never work with papers with no code published. Just not worth the effort to reproduce them, when I can use the second SOTA for nearly no performance penalty and much less effort. All the groundbreaking papers in deep learning in the last decade had code published. So if you're aiming for thousands of citations, you need code.
Can confirm. I personally look at any paper without code with great suspicion. The reviewers certainly did not try to reproduce your results, and I have no guarantee that a paper without code has enough information for me to reproduce. I always go for the papers with code provided.