527 points · by brahmwg · 8y ago · 218 comments
I wouldn’t be surprised if a significant portion of published computational research has bugs that totally invalidate the conclusions. I think we need to push hard to require all taxpayer-funded research to make any code that results in a journal article publicly available.
> We also noticed significant improvements in performance of RND every time we discovered and fixed a bug [...]. Getting such details right was a significant part of achieving high performance even with algorithms conceptually similar to prior work.
They call bugs 'details' which, I find, is a frightening state of mind for someone publishing an algorithm.
It really depends on the algorithm. For example, a bug in the random number generator of a stochastic search algorithm that affects, say, the variance of a distribution won't have a relevant impact on the outcome.
I also had a few do-overs at the end of my thesis, but fortunately had a cluster standing by...
Well, there's also this notion of testing and regression. As I said in another comment a few days ago:
>A few weeks ago I had a conversation with a friend of mine who is wrapping up his PhD. He pointed out that not one of his colleagues is concerned whether anyone can reproduce their work. They use a home grown simulation suite which only they have access to, and is constantly being updated with the worst software practices you can think of. No one in their team believes that the tool will give the same results they did 4 years ago. The troubling part is, no one sees that as being a problem. They got their papers published, and so the SW did its job.
Ideally the code would be part of the peer review process, but code review is really expensive, so who knows how that would play out.
Yes, but closed source helps ensure that low quality code is hidden from sight. It also means that people who distrust or doubt the conclusions have no chance to identify any bug(s) and disprove the results or conclusions.
We stop publishing in papers, and instead adopt smaller chunks of our work as the core publishing units.
Each figure should be an individually published entity which contains the entire computational pipeline.
Figures are our observations on which we apply logic/philosophy/whatyouwannacallit. Publishing them alongside their relevant code makes the process transparent, reproducible and individually reviewable, as it should be.
We can then "publish" comments, observations, conclusions etc on those Figures as a separate thing. Now the logic of the conclusions can be reviewed separately from the statistics and code of the figure.
Science should prove things...
There's also the fact that we have had a pretty solid grasp about the chemical reactions of greenhouse gases since long before computers, both theoretically and empirically, and we know roughly how much is put out in the atmosphere.
Where the models diverge is on far finer points than what is needed to make the basic policy changes that seems to be where we are stuck right now.
"Already 18824 SIGNATURES – sign the open letter now!" https://publiccode.eu
I don't see how a research scientist could say this; something seems culturally wrong there. Nature is a pretty serious publication. You spent months on it, maybe someone else will. How can it not be worth your time to 'try to correct the issue or write to the journal'?
-I don't think you realize the step it takes to actually write to Nature and say: "Excuse me, that paper you published is wrong and you should retract it." You're liable to alienate all of the authors as well as piss off the editorial board for pointing out that they let a mistake slip through. You should be prepared to face vigorous backlash, and be completely confident in your own results if you don't want the repercussions to overwhelm you. Many communities related to specific fields are small and niche, so making enemies with one team often means that you've actually cut yourself off a good part of that community. You should be prepared for awkward moments in conferences when you meet each other, incendiary questions when giving talks and scathing "anonymous" peer-reviews for your future submitted work. It's far easier to assume good faith, give the authors the benefit of the doubt ("yeah the implementation is buggy but what software isn't? The main idea is probably sound") and move on.
-I don't know about other fields, but in mine, there's an unofficial accepted consensus on a set of very high-profile papers that happen to be either complete bunk or utterly useless. Again, we're talking about Science, Nature, etc. These papers made a lot of noise when they came out years ago, and now no one in their right mind would base their work on them. Again, you can't just knock on Science's editorial board and go "Excuse me, that hyped paper from a very big shot is useless and you shouldn't have published it", so it's just something people in the community know and whisper among themselves. I guess it may seem strange to outsiders though.
I can tell you haven't spent time as a grad student in a top university in the US. There is almost no incentive for a research scientist to pursue this. They're very busy and stressed out, and this will not help them in any way. Your argument that one person wasted a lot of time, and so others will be spared that pointless effort is a sound one, but you have to realize that in some (sub)disciplines, scientists view a good bulk of the research as problematic and a waste of time. Why go through the trouble for this particular case?
Also, I doubt a simple email to Nature will change much. There would likely be a somewhat lengthy process, which will suck more of your time. And to be brutally honest, the chances are higher that the code did produce those results, but the grad students/post docs have been modifying the code for their next batch of research. Even something as basic as version control is unheard of in much of scientific research.
Definitely a cultural problem, as you describe it.
I'm sorry, what? It almost sounds like everyone in your lab is scum. Hopefully YOU at least spent the 60 seconds to write an email?
Even if you do manage to get a tenure track job, you pretty much have to keep your head down for 7 years in order to secure your position.
And once you have tenure, you still get attacked vociferously. Look at what happened when Andrew Gelman rightly pointed out that Susan Fiske (and other social psychologists) have been abusing statistics for years. Rather than a hearty "congratulations", he was called a "methodological terrorist" and a great humdrum came about [1].
When framed against these circumstances, it should be evident that there is literally nothing to gain and everything to lose from sending out a short e-mail pointing out that someone's model doesn't work.
[0] https://www.reddit.com/r/todayilearned/comments/15m8om/til_c...
[1] https://www.businessinsider.com/susan-fiske-methodological-t...
Candidly, I probably would have told you to present it as is, and add a caveat to the last slide that this was work in progress (most internal presentations are assumed to be so) and you're still chasing down some problems in your code. The reason for this is two-fold:
1) It's the night before. Many students I have known and mentored aren't at the point in their career that they can "wing" a major presentation. It would be setting them up to fail in a way I couldn't shield them from (I can deal with changing results, but a bad presentation is largely on the student).
2) The quality of your checking is likely to be poor the night before. There's a number of times I've found an error as something was being prepped for presentation/poster printing/etc. and been convinced it changed everything, only to discover after 48 hours of thought and more checking that the difference in results was pretty negligible - especially in the sense of the qualitative take aways from a presentation.
This, of course, may not have been your exchange with your PI. But I thought it was worthwhile that there are reasons not to have you change everything the night before that aren't the result of villainous fraud.
I was told to reverse my conclusions - refused - and, hey, I no longer work in bioinformatics.
Or am I mistaken in reading "present" as "stand up in front of a crowd of people"?
I'm not saying it should have been preventable. It just looks like there may be opportunity to improve practices.
Admittedly I'm completely naive to the domain. Are there no forms of validation checkpoints you can reach where your foundations are rock solid and well backed with tests and such?
I had a Prof in grad school who lost years of cryospheric research data because an external hard drive was stolen. This was in 2010. It was a head scratcher, especially being faculty-adjacent to some of the best CS and engineering faculties in Canada.
That stuff just isn't thought at universities and it's assumed, like oh so many things, that you take it up along the way.
If you have been working 18 months on a topic you will have substantial knowledge you can communicate to your peers and often some work inspires other work even if they are not using your findings.
https://www.linkedin.com/in/jake-boggan-6528944a/ -> http://www.biomath.gatech.edu/people/ -> Jake Boggan (Advisor: Bunimovich)
Jake ask the mods if you can remove your post.
In the bigger picture, it drives me crazy that these results aren't welcomed. We learn from failures too. Funding sources should recognize this.
First of all, a lot of people writing it are inexperienced in SW best practices. Then, turning formulas into code is hard, not to mention some article "handwavings" like showing pseudocode that's almost ok except for "do hard thing in this line" and that line expands into a lot of code.
I've also had some weird bugs in code like that (but nothing that would invalidate 18mo of results - btw did you know RAND_MAX is as low as 64k in different compilers, like some older versions of VS?)
(And computation times, though the cloud helps a lot with this)
People, including professors, understandably react poorly to other people trying to end their careers. It's important to recognize that something like that is coming out swinging.
Also, in my experience, there's a tendency with many graduate students to conflate "unethical" with "I don't like this". Not saying that's true in this case, but an "incentive to root out professors" is likely going to result in some pretty strong undesirable outcomes as well.
Ironic given that this is the primary power of being a thesis advisor.
There is little incentive to root out professors for any reason. The process of becoming a professor (grad school -> postdoc (N times) -> tenure track faculty -> tenured professor) is generally believed (by tenured professors, of course) to root out anyone unworthy of the position. You can believe what you want about the efficiency of such a process.
Public shame requires public understanding of scientific (mal)practice, so, good luck communicating that. Most of the time, the bad actors in question have already gotten papers past referees; what makes you think the public is capable of more thorough review?
Fraud is considered a serious allegation and as a result accusing someone of it requires going through a thorough process involving a host of university administrators, whose incentives are aligned with the profit motives of the university system.
Transferring graduate schools is essentially impossible, and even in the exceptionally rare circumstances that it happens, it always involves burnt bridges and often has to do with bigger fish (i.e. your advisor being offered a position elsewhere, and you're lucky enough they take you with them.) Without external funding to support you, you are usually replaceable. All graduate departments receive applications far in excess of the number of students they can support. They certainly will not consider taking on another from a school at which you've proven to be a problem. Academia has already established a quite successful leaky pipeline; the beginning (graduate school) is no different.
In academia, hierarchy is the rule, flat organizations the exception. You must purchase your influence, usually at significant cost (and luck is a significant component). As an undergraduate, the system is designed to cater to your interests; as a graduate student, you cater to the university's interests. Scientific integrity is a noble notion, and in some corners of academia, it survives, but it does so in spite of bad actors who thrive in a system designed to produce ten times the number of qualified applicants for each job, all of whom are judged according to easily gamed metrics. It would be nice if things weren't this way.
But the problem is, typically... if you decide to get a PhD in science, it is possible that you're already too obsessed with the subject to ever, truly, give it up, especially if it's "just" over working conditions. I can't speak for everyone, but most people leave because they were forced to.
Like Gresham's law bad science drives out good, because it is much faster to do bad science than good. Those that try to maintain quality can't pump out as many papers as the bad and so lose on the grant treadmill.
Any solution that does not address the incentives is doomed to fail. Not fixing this problem will kill science.
About the only point you can actually slow down enough to care about quality is at the emeritus stage, but even then if you don't produce your lab will be moved into a broom cupboard.
If you cheat, you get "high ceilings" and a "marble fireplace" on the "upper east side":
https://www.nytimes.com/2018/10/29/health/dr-piero-anversa-h...
The destruction of the reputation of science is probably the most dangerous thing going on in our society right now. If we lose science we have nothing.
We surely don't know the answer yet, but pre-registration of experiments/methods to get a guaranteed publication is one quite interesting.
But there are others, and I applaud any initiative in these areas, because it's at it core about the hardest problem of all:
How do we overcome bias in a large system under a lot of financial pressure?
It's such a worthwhile issue to pursue, but also usually quite thankless, so anyone fighting for it is doing something great even if it's in seemingly small ways!
What kind of failures should we celebrate? There are two kinds that I can see: a failure to produce a result because of a lack of skill or knowledge and a failure to produce a result because of a demonstrable or provable reason. The last one is actually a success because that kind of failure produces new knowledge. But we have a culture in far too many fields where this is seen as not publishable.
He eventually succeeded.
I almost think we should have a magic card you get to play once in your career that resets your track record. This way you could take risk without totally destroying your career.
Just like school teachers in America, PhD students are taken advantage of for the exact same reasons
People want the jobs, and America doesn't believe in regulating supply and demand
Several times when I've worked on a project at work that involves data analysis, I get really impatient responses when I don't come to a firm conclusion. We're not even talking about highly charged subjects. I'm not aware if my stakeholders are biased toward one conclusion or another -- I think they're just very upset that my analysis contains uncertainty. They expect me to be able to massage any kind of data to derive clear and obvious facts.
Thankfully, I can refuse this without much consequence, but it's really opened my eyes to the potential pressures to corrupt the integrity of fact-finding in even mundane circumstances.
Not to be rude, but if that's in your job description, then I can understand where they are coming from. As someone in IT, it's always my fault that the computer is not working even if the ten year old device simply broke. That doesn't mean they are trying to get me to do an imprudent analysis.
Sure, there is a difference between operations and trying to find correct answers to questions (i.e. science), but they do have money to make, and if they're not (even slightly) asking you to bias your work, I can understand if they put a bit of pressure on getting the results clear.
Edit: As u/jeremyjh points out, I completely misread this post. If it's about uncertainty due to not enough data, then please completely disregard what I said. (I can't delete the post anymore because there exists a reply to it.)
There's a lot of people who would think the whole point of data scientists is to look at the numbers and say, with certainty, what they see. But sometimes the numbers don't say anything, and that's what OP was talking about I think - sometimes a clear correlation just doesn't exist, at which point the person who has hired you probably thinks you're not looking hard enough, and might encourage you to 'clean the data' until you get a result with high confidence.
https://en.m.wikipedia.org/wiki/Policy-based_evidence_making
I often get that with business partners. "The data says <likely X, but with caveats/nuance/uncertainty/under certain assumptions we can't justify>" to which they respond "Can we just say X?" Or "can we get numbers on Y to support a presentation on Z?" when Y seems to support Z, but actually you can't draw that connection, so it's misleading.
Stuff like this happens because people treat extra rigor as pedantry and are comfortable making supporting assumptions that aren't supported by data. The people making fraudulent requests aren't aware that they're fraudulent (usually). In my experience, they just think they're being practical.
"Picking battles" is one way to describe my counterpoint: caveat exactly as much as needed so that a proper decision can be made with the risks involved.
If you want to query your whole team for a joint lunch location but coworker X is out, it is still appropriate to say (assuming more than you and X on team) that you asked the team and you decided on lunch place Y. It's not rigorous (X is left out) but it's still accurate.
This is very different from, say, regulatory or securities reporting where ambiguity is not appropriate.
My friend was half way over her 5 years vesting with a startup as when the CFO asked her to help then improve their numbers due a foreseen investment round. The idea was basically bump revenue basing it solely on the GMV masking returns and not calculating discounts and shipping. They also wanted to hide running costs by forcing vendors to agree on a 90+ days billing cycle, they also pushed the CTO on turning off parts of the system during weekends and holidays and forbid PTO until the deal was closed.
She refused doing the number masking and was asked to leave.
And, of course, if the consultant didn't play ball, the insurance company could always consult with a different actuarial firm.
Humanity has built up an enormous amount of legitimate scientific knowledge and understanding. There has been much difficulty, confusion, and dead-ends along the way -- and it seems this continues to be the case. But it really is an incredible thing, how much we know at this point. It took me a long time and a lot of self-learning to develop a rich appreciation for this.
Of course, there is still much for us to figure out. And we should keep doing so, difficulties be damned (and hopefully mitigated over time).
1) Did the statisticians refuse or comply with the request?
2) When they refused, how did the requester react? Were the requesters actually malicious, or just bad at statistics? If everything was fine once the statisticians explained that removing "just an outlier" wasn't a valid option, then this report isn't quite as concerning, and is maybe just an indication that more researchers need to hire statisticians to help them out.
One of many times, stats made someone look bad, and they made me change them.
Most the time, support metrics are altered to make it look like support contracts are hitting everything contractual.
This is daily business everywhere in tech. Mostly fudging to downright lying, just depends on the importance of the data if some mone is tied to it.
I don't approve of this shit, but lucky, I never been asked to commit fraud, like reporting sales that don't exist...
Luckily our board was pretty understanding the reduction in infrastructure strain took a nice percentage out of operating costs.
Sigh.
I got out of academia and stopped trusting most university research because I observed too much of this culture of fraud.
1 in 4 Statisticians weren't asked to commit scientific fraud. Within the article:
"Researchers often make "inappropriate requests" to statisticians. And by "inappropriate," the authors aren't referring to accidental requests for incorrect statistical analyses; instead, they're referring to requests for unscrupulous data manipulation or even fraud."
This isn't even remotely close to what the title of the article claims.
I kind of have a mental box where I squirrel away little tidbits that meet two criteria: 1. They seem to come from rigorous studies and 2. They also fit with my general understanding of how life works.
Over time, I mentally group things -- a la A and B seem related -- without assuming that I know how they relate. I seem to have an inordinately high tolerance for ambiguity.
Most people seem to need An Answer even if it's wrong. They have two categories -- black and white -- and when presented with purple or pink or blue, they force fit it to one of their existing categories and don't confuse them with the facts.
I wasn't trying to prove anything to anyone. I was just trying to deal with my life. But having gotten substantially healthier, I now wonder how to talk about such. It seems a wasted opportunity for the world for me to not share, but the world has treated me pretty horribly and done all in its power to tell me to STFU, I'm just crazy and spouting nonsense.
So I sometimes think I should write what I understand to be true and then carefully back it up with citations to try to support it. Then I read articles like this, throw my hands in the air and go "Why bother?"
The way I have been treated seems particularly unfair when you learn how much "real scientists" cook the books. Like why? It feels like pure prejudice when I read things like this.
In fact there is a 25% chance that the person involved in working that out has been asked to commit fraud at some point.
But there's only a 10% chance of that.
The bottom line is that there's not much incentive for doing the boring statistical validations (I can tell you that no one likes doing statistics apart from statisticians, and not even all of them) and verifying that everything is reproductible, and a huge incentive for, let's say, 'arrange' a thing or two so that the paper looks better. So many people just kinda do it, and it slips through the cracks because:
-In many fields, the reviewers are not statisticians themselves
-No one really bothers to download the data, setup the environment and libraries, and reproduce the exact steps taken to obtain the very same figures in a paper. Which is understandable given how doing all of that can be such a chore. Anyway, most of the time the exact steps aren't even described. No, jupyter notebooks aren't a solution either (it would take too long to explain why and the post is already long).
-In many cases, the results turn out to be true anyway so people don't notice they were initially put forward with fraudulent validations
-When they turn out to be false, people just shrug and move on with what's actually true. Bogus results often fail to stand the test of time and get forgotten quickly despite initial hype. No one bothers to say: "Hey, that paper from 8 years ago is bullshit and their authors are hacks!" because nobody cares.
-There's a huge psychological barrier to actually call out one of your peers and affirm that they're an impostor and their work is bogus. Especially when said impostor happens to be a big name in the field, that part of you still doesn't believe they would commit fraud, not to mention the social repercussions and backlash of doing such an accusation. We scientists aren't a very confrontational bunch.
So most of the time it kinda works and we're all bumbling along hoping to find some modicum of truth at the end of the road with minimal harm done. But of course sometimes you get these guys who kick off their entire career on a high profile, much hyped fabricated result (Woo-Suk) or even a series of bogus papers (Sato), and that may lead to long-term harm. The good news is that hyped papers or very prominent figures quickly attract scrutiny from their peers, and sooner or later reality catches up with them as labs around the world fail to replicate their 'breakthroughs'.
All in all, I'd say we're doing fine. We're just not the ethereal source of truth that some people hold us to be, the very same people who, after claming that 'God is dead', are very quick to replace Him with His sillicon-based equivalent around which we would act like priests, except with lab coats in lieu of clerical garments.
On top of that, many steps necessary to reproduce a pipeline typically need to load enormous datasets. Terabytes of simulated protein structures, hundreds of gigabytes of sequencing reads, phylogenetic trees, alignment files, what have you. Once you somehow acquire that dataset, you need the appropriate tools, many of which need to be specifically compiled for your platform, then run them onto a powerful machine if you don't want the pipeline to take months to complete, etc. (And that's if you didn't use any proprietary software or any GUI based application with no command line interface.) You can't exactly load all of that into Github+Mybinder and call it a day. You can't ask a community of people that doesn't like coding to learn about Docker containers either.
Nevertheless, we (at our lab) do use notebooks when we can because we know they're fashionable. We can only present parts of our results, though, due to the aforementioned constraints, but it's still pretty looking and people like them, so we write short demos using them.
This is a pervasive problem. I was asked to comment on a review paper on multiple testing corrections for a biology journal. The paper was so bad, so completely misunderstood the technical underpinnings of multiple testing corrections, that I sent the recommendation that it be rejected and that they not even try to do revisions. The authors were not competent to write such a paper. At the same time, they were probably considered the experts in their corner of the scientific world.
> -There's a huge psychological barrier to actually call out one of your peers and affirm that they're an impostor and their work is bogus.
I think it's less a psychological barrier than fear of retribution and there being no effect when someone does call them out.
I always knew I could walk out the door of my university and get a software job making twice as much as my advisor, which rather messed up the power imbalance, and I pissed off a lot of people by speaking up. It had no effect. Lazlo Barabasi is still publishing his nonsense of about scale free networks. Kim Lewis is still churning out papers on toxin-antitoxin complexes in antibiotic persistence, when they are irrelevant to any case of persistence in nature. There are many more names to name, but I've largely forgotten them at this point. The only reason to remember them is to have good counterexamples of how to do science, and most of them are repetitive.
This sounds depressing. I assume your recommendation was promptly ignored and the paper was published anyway?
It would be hilarious if this report were debunked on the grounds that they inflated the number of statisticians surveyed
/haha, only serious.