The Data Science training in Cognitive Neuroscience research
While completing a graduate program opens the doors towards an academic career, many prefer to take their skills to the private sector, attracted by exciting new problems to tackle and sometimes also by better career prospects. Lately, one of the most sought after paths for such profiles is that of the Data Scientist. However, not all graduate programs offer the same training when it comes to data. Having noticed an abundance of data professionals coming from other academic disciplines, and a general idea that their study programs offer a better preparation for such role, I felt the need to publicise the currently underrepresented category of data professionals coming from Cognitive Neuroscience (CNS).
Indeed, the Cognitive Neuroscientists transitioning from Academia to Data Science can sometimes feel out of place. During job interviews, especially when hearing questions about what skills could they have developed for such role, after spending years working with pipettes and microscopes. Similar questions, although stemming from ignorance, can end up instilling self-doubt into my fellow CNS PhDs, especially those without a network to provide guidance, support and set an example. While this article’s main purpose it to encourage such unlucky fellows, I also hope to show recruiters and employers what opportunities they may be missing out on by overlooking these profiles - as the reason why there are not so many out there may be because there are fewer of them to begin with.
“Pipettes and microscopes”: what Cognitive Neuroscience is (not) about
For the non-CNS people reading this, allow me to clarify that Cognitive Neuroscientists study the brain mainly without touching it. Rather than the brain itself, they study cognitive processes by analyzing data coming from (99% of the times) non-invasive sensors. Concerning the lab setup, there are no pipettes and microscopes (those are Neurobiologists), but they definitely spend some time preparing voluntary participants for taking part to experiments. Unlike the stereotypical lab, in CNS, these usually consist of a room with a PC connected to an electroencephalography (EEG) system or to a super-expensive functional magnetic resonance imaging (fMRI) machine. The experiments consist of having people complete (oftentimes super-boring) computer tasks (e.g., classifying images, words, sounds) all while the byproducts of their brain activity are being recorded. Once the data collection is over (hopefully asap, especially if one finds it as ‘enjoyable’ as I did), the data-fun can begin. If something comes out from the analyses, you write it down and submit the manuscript to a journal and give nice presentations at conferences.
From this general research workflow, there are at least 4 skills that are constantly being trained and which can prepare the candidate for a career as a data professional.
Programming
Pretty safe to say that programming is one of the core skills a DS must have. When, in describing what a CNS researcher does, I mentioned the computer tasks, I was not referring to some standard readily available online game, I’m talking about custom programs written by the graduate him/herself. While there are some point-and-click solutions out there, many prefer to (learn to) code their own solutions, which allows to have more control over the experimental parameters. The resulting program is thus often composed of a simple GUI to guide the user, a connection to a DB or a filesystem from which to take the stimuli (images, texts…), the ability to log everything happening during a session (you want to have your participant’s responses recorded, no?), and store the data in a database or CSV file. I personally started my programming journey during the Master’s and fell immediately in love with it.
Extensive wrangling and cleansing all sorts of data
Dealing with data is what occupies most of the time during the PhD. And we’re not talking about a random dataset downloaded from a website, we’re talking about hard earned data, the data on which the PhD depends on. So you can be more than sure that a CNS researcher will learn to familiarise and get to know the data as deeply as possible, starting to train all the necessary skills to dive into them. Even this stage involves developing programming skills for data manipulation, either in R or in Python.
Depending on the topic of study, one may have to deal with multiple types of data, mostly (but not necessarily) within the structured domain. We may start with simple static tabular data (a questionnaire, average reaction times), to time-series/stock-market-like data (EEG), up to tridimensional images changing across time (fMRI). Needless to say, if programming is the instrument, data manipulation is what I think to be one of the uses of that instrument a valid DS must excel at, and if doing it for years on several projects is not enough, then I do not know what is.
Advanced knowledge of statistics
A deeper level of statistical knowledge and a rich toolbox is required to publish in a decent peer-reviewed journal (or just to obtain the PhD at a decent school). I heard several DS colleagues saying that you do not need to know stats to do Data Science (it is also true that most of these were not trained in stats). I agree that in most cases you do not need to know stats to be an OK DS, but I would not be comfortable having a blind spot there, and luckily I didn’t when I needed it (unless I am the only one who needed to apply inferential stats in a project). In any case, the stats toolbox I was referring to usually contains: all flavours of regression, t-test, PCA, F-test, Bayesian methods, nonparametric tests, etc. - all implemented in R or Python/Jupyter Notebooks.
Hands-on Machine Learning
Many CNS PhDs happen to already be using ML algos in their research, if not even Deep Learning. Actually, I see ML and DL slowly taking over the field. I also became a ‘victim’ of this trend, which got me to start training classifiers to decode brain activity, and that is when I understood I wanted more of it, but that’s another story. You may say I could have gotten directly to the ML part of the profile, but if you’re a serious DS you know that ML is just the tip of the iceberg, and you also need to practice many other data skills.
To sum things up, I would describe CNS as doing Data Science centered on modelling behavior and neural processes. However, not all PhD programmes are created equal, nor do all candidates have the interest in developing the abovementioned skills to their best. CNS or not, I believe that in the end is all about the drive and interest of the individual in following a certain path. In doing CNS research, and especially if one is curious about exploring diverse and novel exciting domains, it is not unlikely to discover that this path is that of the Data Scientist.