Showing posts with label being a better researcher. Show all posts
Showing posts with label being a better researcher. Show all posts

Tuesday, 10 July 2012

Rapid Research Prototyping

Does research have to be this slow?

I find the pace of a lot of research projects frustrating.  Sure, some things just take time, but I have become increasingly suspicious that a lot of bottlenecks in research are problematic simply because we haven't taken the time to find a faster way of doing something.

This can be very challenging.  Experiments and data, for example, can be a lengthy and painstaking process.  Data analysis, simulations/modeling, discussions with collaborators and even writing the paper can all take many months to complete.  And of course we try to be efficient, but should we really care so much if things take a while to get done.


Yes.


And here's why.


Consider what science is.  Science is the generation of new and improved memes for describing the natural world, whose fitness is judged using empirical evidence.  It's a memetic process.  This means that we should be thinking in terms of evolution of ideas.  And one of the key ways in which we can accelerate any evolutionary process is the shorten the generation time.  Because the sooner you get new research into the public domain, the sooner other people can benefit from it and the sooner you can get feedback.


There is also a second key point here.  Scientific ideas gain most of their value from being tested by other people.  And this can't happen until it's been released into the public domain.  We should be thinking of our newly-minted science meme as no more a than prototype, that needs to be poked and prodded by as many other people as possible before it can even start to be thought of as being robust.
The idea of spending years or decades on a scientific magnum opus is the wrong plan; getting your work into the public domain is everything.


This absolutely does not mean lowering our standards with regards to quality; there is so much research being produced nowadays that we need to avoid drowning each other in mediocre research.  But a single researcher or group can only make a science meme so good.  Beyond a certain point, your idea needs to be tested by other people.  At that point, faster is better.  Much, much better.


What form, then, should science take in the 21st century.  It should be about rapid research prototyping -  the production and dissemination of new high-quality prototype science memes, as rapidly as possible.

Publish early, publish often.  And optimise your bottlenecks.





Wednesday, 9 May 2012

What's the point of a scientific paper?

Academics write research papers.  It's a major way we disseminate our ideas and, increasingly, our continued career progression and funding depends upon it.  We live in an era of metrics and impact factors.

Because of this, I've been thinking recently about what a scientific paper is, what is its purpose and how we might improve upon this.

I have also been thinking recently about science as a memetic process, that is to say in terms of evolving populations of ideas.  I think this is a useful train of thought, which can give us some interesting insights into how science works and how to make it work better.

Thinking about things in this way, I have come to the conclusion that a scientific paper should contain a small number of high-quality, useful, interesting ideas.  Plus whatever evidence is required to back those ideas up.  And that's it.  They should be as compact as possible and as simple as possible.   I'd even go so far as to say that  one should be able to communicate the point of a paper in the abstract.

Nowadays, the scientific literature is very large and keeping up with the new papers even in a small area is challenging.  I skim read at least a couple of hundred abstracts a day (RSS feeds are awesome for this), and it isn't going to get any better.  But if the paper contains a small number of well-supported ideas that are well-communicated in the abstract and title, I can grasp them more easily and pick out the papers I want to read in greater detail.

I think that the point of a scientific paper is to be a communication channel for well-supported, clearly-stated scientific ideas.  And the more succinct and high signal-to-noise the better.

Wednesday, 25 April 2012

Refine and Simplify

Science is a complicated business nowadays.  The data sets are large, the measurement technologies are complex, the statistical methods are specialisms in their own right, as also in many cases are the code bases.

It's pretty easy to feel overwhelmed by all this.  And I also find that a lot of effort has to be put into guarding against errors and misunderstandings in the work you're doing.  This vexes me at some level, so I spend time thinking about how to improve the situation.  This is tricky because at some level, the complexity is somewhat innate.  But I do think one can adopt a strategy that helps to some degree.

Refine and simplify everything.

What I mean by this is actively (even obsessively) try to refine and simplify every aspect of the work you do.  Make your next paper more succinct.  Try to come up with a small number of very clear, easy-to-express conclusions.  Make your code more compact and tidier.  Refine your statistical algorithms so they're not so arcane.  Make your data processing procedures as simple and clear as possible.

I think this could be hugely beneficial.  Papers would be easier to read and digest.  Conclusions would be easier to communicate and develop.  Code would be less buggy and easier to work with.  Statistical algorithms and data processing pipelines would be faster.

And I think clear, concise scientific ideas are vital.  Think about the great ideas in science.  There's a purity and beauty to them.  So perhaps we should be actively trying to refine and improve the clarity of the ideas we work on, just in case they turn out to be really important.


Friday, 18 November 2011

An algorithm for selecting research projects

I spend a lot of time thinking about my research projects.  I revise and tweak the ones I'm working on, but I especially spend time planning my possible future projects, working out which ones I should most prioritise.

This is important.  Choosing which projects to work on will fundamentally affect your research career, and given that a project might last months or years, spending hours or days making good choices seems pretty sensible.

I once read a suggested approach that I've come to realise has a lot of merit.  Annoyingly, I can't track down the original reference (I think it may have been by Daniel Lemire or Study Hacks; even if not, you should go and read those blogs as they're very good).  But the idea is this:

Identify your two best/most valuable pieces of research.
Your new project should better at least one of these.

That's it.

It's a really simple approach choosing new projects, and it's kind of obvious that this should lead to good projects (provided your assessment of value is reasonable).  But there's actually an interesting alternative way of describing it.

It's a hill-climbing algorithm for optimising the scientific value of your new projects over time.

Think about it.  We can imagine that there is some abstract quantity, "value", associated with each of the research projects that we work on.  Different people may disagree on the precise value of any given project (and even the definition), but overall we would like to be working on progressively more valuable projects.  By using the above algorithm as a criterion for deciding which projects to work on, we are aiming to always increase the value of our two best pieces of research (by progressively replacing each one with something better).

Why not the best one or three projects?  Well of course, it should still work if you change the number.  Two is probably a good number, as having a couple of headline grabbing projects is useful for writing grants, giving talks and the like.

It occurs to me that it would be very easy to always use the same scale for assessing how good/bad a potential project will be.  But by using the Top-Two algorithm, you're always pushing to do more and more valuable work.  And this seems like a thoroughly good idea to me.

Wednesday, 5 October 2011

Scaling your research productivity

Productivity is important in research.  Ultimately, you'll be judged on the importance, quality (and number) of papers that you publish.  This got me thinking about whether there was a simple way of encapsulating this and I came up with the following:

Aim to do more and more important research per unit-time.

It's sort of obvious, but the key quantity is the rate at which you produce important, high-quality research. If you hardly ever publish anything, that's a bad thing.  If you publish plenty, but all your papers are low-grade rubbish, that's a bad thing too.  And even if you produce large numbers of high (technical) quality papers, but they're all studying unimportant problems, that's not great.

Tuesday, 23 August 2011

a 'Pool-of-Memes' approach to research

I tend to spend a fair amount of time thinking about how best to go about research. My rationale is that simply working harder isn't scalable - you can't work more than 24 hours a day (and indeed only a lot less than that in a sustainable way). Therefore to be a better scientific researcher, I need to find ways to improve my approach to research.

Study Hack's excellent article on his research system got me thinking about how I'd describe my own system of research. I think the phrase "pool of memes" fits pretty well.

I try to fill my mind with as many interesting/relevant ideas and concepts as possible. This means both being well read in my own subjects, and also hunting out other subject areas that might add something. For example, for the last year or two I've been becoming increasingly interested in computer science. I've found my most productive phases correspond to learning a new set of relevant ideas.

To this pool, I also try to add clear ideas about what questions are important in various areas of research.

Then I just sort of let all these ideas mull. I might think about something in an idle moment at the gym, or I might head to a coffee shop with my log book and tinker with some thoughts.

What I get from this is a list of possible projects on which to work. This list tends to be pretty organic and it evolves over time. I rank the list in terms of how good/important I think they are. And then I try out the top ones.

What I've not had previously, but what I'm just starting to add, is a stage like Study Hack's "small bets". The idea here is to try out the possible good projects for a month or so, with the aim of producing some concrete evidence as to whether or not to take the any further. I'm not very comfortable on a personal level with the idea of discarding projects like this (I don't like the waste), but objectively it makes a great deal of sense, so I may just need to get over myself
:-)

As much as anything, this approach works well for me because I really enjoy learning new things, so giving myself the justification for doing that during work time is nice :-)

Monday, 11 January 2010

Deliberate Practice

There's an excellent post on Deliberate Practice/Serious Study, over at the Study Hacks blog. I've been interested for a while now in the idea that it takes humans about 10,000 hours to become an expert at something, but this post goes more into specific detail about the hows and whys.

The key idea is a thing called "Deliberate practice", which are activities specifically designed to improve your performance at something. I was aware of this idea in a sporting context, so it's cool to discover that it's a more general psychological principle. The idea is that to improve at something, you not only need to practice, that practice has to have certain characteristics. For example, it needs to push the boundaries of what you're capable of, and it needs to provide feedback so that you know whether or not you did well in a given instance. 10,000 hours of coasting in your comfort zone won't do much for you.

It seems to me a Very Good Thing to focus on improving how well you do your research, but I suspect that most scientific researchers don't really do this (not explicitly, anyway). Maybe they should...

The Study Hacks article looks well-researched and links to a range of other materials, so it's well worth a look!

Wednesday, 6 January 2010

E. W. Dijkstra's three golden rules for scientific research

Very interesting post up over at the Successful Researcher blog, based on some original text by the man himself which gives a bit more discussion about the reasoning behind them. In short:

  1. Raise your quality standards as high as you can and try to always work at the boundary of your abilities.
  2. Ideally, your work should be socially relevant and scientifically sound. If it can't be both, scientific soundness should prevail.
  3. Never tackle problems that are (or will soon be) addressed by people who are equal/better equipped than you to do so.
These all seem very good advice to me. The first one means that not only are you always producing work of the highest possible quality (that you're capable of), you're also pushing the boundaries of what you're capable of. In other words, the way to improve is to push yourself.

The second one is nicely explained in E. W. Dijkstra's original post. Scientific rigour is all-important, because if you don't have that then social relevance (or anything else) isn't going to be useful. Being scientifically sound is a foundation.

The third one is the consideration, "If I didn't work on this, would my efforts be missed". If the answer is no, then go and find something else to work on. Ideally, we should all be making contributions that we're uniquely well-suited to make.

Thursday, 17 December 2009

Scripting for science papers



[caption id="" align="alignleft" width="300" caption="image by marco annunziata"]image by marco annunziata[/caption]

Scientist-Programmers write a lot of scripts.  It's part-and-parcel of "trying stuff out", it's a quick way to get some number crunching done on those data, and it's very useful for generating the figures and tables that you need for that paper you're writing.  In this article, I give a quick once-over of some of the things I've learned over the years about using scripts as a scientific tool.

Friday, 27 November 2009

How to pick the projects you work on

(image by Jan Tik)
I recently read a very thought-provoking article about the process of picking research projects to work on. This is a topic that's very important, yet is easily overlooked. So I thought I would post my thoughts.

What should our aim be in picking research projects?

It's important (perhaps even vital) to pick projects that are interesting to you. Not only is this sensible on a personal level (why would you want to work on things you don't find interesting?), but it's also hugely important on an academic level; if you can't enthuse, immerse yourself, even obssess about a particular project, you'll struggle to gain the very deepest levels of insight and your results will be less good because of it.

Research that addresses important questions should be our second aim. Imagine that you have a miracle year of research where everything you work on turns to metaphorical gold. Wouldn't you rather this effort went into curing cancer, producing a working theory of quantum gravity or solving climate change, rather than some minutae of an obscure branch of your subject? I've put interesting and important in this order, but I think the key point here is that you want to work on projects that are both.

These two considerations ought to be enough. Sadly, there are also practical considerations because of the realities of building a research career. It's probably prudent to work on at least some projects that will help you secure future funding and/or jobs. This is a tricky topic, especially if you're on fixed term funding (such as a postdoc) and you have a very limited amount of time before you need to find more funding from somewhere (and you might be employed to work on a specific project). Of course, if you're working on important areas of research then it should be a lot easier to sell yourself. But you need to make sure that the projects you're working on will produce some publishable results and material on which you can talk at conferences. Even one great piece of interesting work can have a huge impact here.

At the risk of a sweeping generalisation, many researchers end up working on safe-but-slightly-uninspiring projects. These types of projects can produce a steady stream of publications and to be fair they do often have some incremental scientific value, but I think it's a huge mistake to only work in this way. Our profession is one of creativity and knowledge discovery, so we should spend a proportion of our time working on ideas that are speculative, exploring new intellectual territory. Of course, many of these won't come to anything, but the occasional one that does might have a huge impact. There are scientists who have built stellar careers and created whole new disciplines with one (really, really good) idea.

And what do I think? I think that a deep fascination with your research is vital. Within that, pick the projects that are likely to be important (in both your and other people's opinions) - you might as well work on things that might have some impact. And beyond that, try to build a good CV but if you're doing the first two things well, this shouldn't be a problem.

Monday, 2 November 2009

The pressure to publish...

The modern academic faces a lot of pressure to be productive, especially to publish papers.

There are pros and cons to this. In the "good old days" (I'm told), academics gained a faculty position and then were left to their own research devices for the next few decades. This is great for truly creative research (so-called "blue sky" thinking), because you can focus exclusively on the problem, letting it develop and exploring its various facets without spending time/effort producing incremental publications. Or course, it may also have allowed some academics to coast.

I'm a strong believer that there's a lot of benefit to academic creativity. What we do is intrinsically creative and creativity needs a bit of scope to explore new ideas, without having to worry if they'll turn into a paper or a grant proposal. But I think there's also a pretty good case for a balance. After all, if an academic spends their whole career deep in thought and never writes a word of it down, their research hasn't been useful to anyone. So, the question becomes this: what balance should we strike between productivity and creativity? Between writing papers and trying out new ideas.

To some degree, this is a trade-off between quality and quantity. The academic that publishes all the time runs the risk of writing papers that have very little important content. There are lots of academic papers that get churned out that have some limited merit, but that exist mainly because the authors felt the pressure to publish. On the other hand, the academic who hardly ever publishes should (hopefully) write papers with lots of great content. Just not very many of them.

There is also a subtlety to this trade-off. While publishing more frequently will tend to mean less research goes into each paper, it does mean that you'll get more rapid feedback on your work (from referees and readers). This is important because it crowd-sources your research, getting a whole range of suggestions and criticisms that will help improve and inform the next stage of your work. Research is actually very incremental (think about how your projects progress on a day-to-day basis), so this can be really beneficial.

And of course it can be argued that the funder (the UK tax payer, in my case) has the right to expect some kind of return for their investment. I think this is fair enough, but I think a lot of care has to be taken in how one defines this return. Number of papers is almost certainly a terrible measure (who cares if an academic writes 50 papers if none of them have any lasting impact). Maybe there has to be a degree of trust between funder and academic?

My gut feeling is that one awesome lead-author paper per year is what we should be aiming for. If you generate enough research for more, great. But one really great paper per year where you're the lead researcher seems to me to be a good level. This should give you enough time to try ideas out and develop new projects, while also building a good publication record over time. If you're like me, you'll also spend a fair amount of time contributing to projects where someone else will be lead author on the papers; this is valuable and you should end up being a co-author on papers as a result.

So the message of this post is to strike a balance. Whatever the rights and wrongs of productivity versus creativity, you need to publish papers to build an academic career. And I really do mean it about the 'awesome' bit. Would you rather be known as the researcher who's produced half a dozen fantastic lead-author papers, or the one who has written fifteen that are deeply uninteresting?

Thursday, 15 October 2009

Sleeping on the problem...

Some problems are difficult to solve. You can spend all day trying to find a solution and only end up with a list of approaches that don't work, plus a strong need for the alcoholic beverage of your choice. One possible way forward is strangely counter-intuitive: stop working on the problem.

Not for ever (obviously). But long enough to take a break and give your brain a rest. If you've been beating your head against a metaphorical brick wall all day (or week. or month...) and still haven't solved your problem, it's unlikely that a bit of a break will slow you down much. And it might just help. It can be as short a break as stopping for a cup of tea/coffee. You could leave the task until tomorrow, so your brain gets the night off. Or you could even leave the project for weeks (or more), if you really want some separation.

This has a number of advantages. Firstly, it gives your poor overworked (and often frustrated) brain a rest. But there's also a more subtle effect. There are psychological studies (and apologies that I don't have the references to hand) that suggest that problems can become more easily solved if you take a break. The suggestion is that your brain continues to work on the problem subconsciously while you are doing something else, so that when you return to it you might have new insights that your (now-rested) brain can work with. Anecdotally, I can relate to this. I hate leaving a problem unsolved, but sometimes when I've forced myself to leave it until tomorrow, I find a fresh approach and a good night's sleep lead to me solving the problem very quickly the next day.

There are lots of examples where this can be useful. Trying to understand the meaning of your latest set of experimental results. Solving a particularly knotty piece of mathematics. Finding that invisible bug in your code. Or how best to write that troublesome paragraph in your latest paper.

Happily, this strategy is easy to try (provided you can exercise a little willpower to let go temporarily of the problem that's been bugging you). So the next time you're wrestling with a problem and find you're not winning, consider giving up for a while. Take a break. Eat lunch. Get a good night's sleep. Then come back and see if you can't solve the problem.

Monday, 15 June 2009

Why start a research blog?

As I've just started a research blog, I thought "Why do this?" was a sensible question to contemplate. (actually, I thought about it before I started, which seemed even more sensible...)

Sharing some thoughts...
Sometimes the best way to learn or come up with good new ideas is to talk to a fellow scientist. This is why chats over coffee and meeting up a conferences is so important (and why a few glasses of wine at a conference dinner can lead to valuable conversations). This works because of the ideas that are being shared.

There's no reason why talking should be the only medium through which to communicate in this way. And while a blog is less two-way (although please feel free to leave a comment!), it has the great advantage of being able to potentially reach a huge audience. It's difficult to have a conversation with more than a few people, and even a lecture/conference talk is unlikely to have an audience of more than a couple of hundred people (web-casts excepted). But there's nothing to stop thousands upon thousands of people reading a blog post!

Knowing your own mind
There's also a second benefit to writing one's ideas down in a blog post. It helps to clarify them. Writing something for an audience forces you to thing about what you're writing, to work it into a form that will be understandable by the reader, even to challenge your own assumptions. This can develop your own ideas and trains-of-thought in ways that simply thinking about them won't manage.

Returning the favour
Another very important reason is that I've found other people's research blogs very helpful in learning more about how to be a scientist (see myblogroll for some excellent examples). Not every blog will be useful for every reader, but it strikes me that if every researcher kept a blog where they posted their thoughts, observations and experiences, collectively that would form a great body of knowledge for other people to explore.

In conclusion...
There are several great reasons why a scientific researcher should consider keeping a research blog. And there may well be others that I've not thought of yet, but that will occur as I post on more topics. Which is itself an illustration of why research blogging is a good idea :-)

Tuesday, 3 March 2009

4 ways to become a better programmer


Leonhard Euler by Emanuel Handmann.
Image via Wikipedia


Becoming a better programmer is not only a laudable goal for improving the quality of the science you produce but programming is a great skill to have if you decide to leave the academic world. This post covers ways of becoming a better programmer.

Monday, 23 February 2009

The basics of...IDL

[caption id="" align="alignleft" width="300" caption="Photo by Omakakii"]Photo by Omakakii[/caption]

IDL is the Interactive Data Language (not to be confused with another computing IDL, Interface Description Language ), which as the name suggests is very useful for the analysis and processing of data.  It's very popular in particular areas of science, because it's quick to code in, has lots of support for data manipulation and has syntax that should be familiar to anyone brought up on FORTRAN (as many scientists have been).   It's pretty similar in a lot of ways to Matlab and, to a slightly lesser extent, R .  All three are optimised for getting code running quickly and all give a lot of built-in functionality.  While all three cover much the same ground (and do so effectively), IDL is perhaps a little more oriented towards data manipulation, whereas Matlab is more about matrix algebra and R focuses on statistical modelling.  But, having used all three, we can offer the considered opinion that they're all worth using.

Monday, 17 November 2008

The basics of...Matlab

[caption id="" align="alignleft" width="300" caption="Photo by kennymatic"]Photo by kennymatic[/caption]

It's important to know the basic features of any language you're programming in.  We don't just mean the syntax or whether the language is dynamically or statically typed (although these are very important); you also need to know what the language is good for, what it's not so good for (and why), and any particular quirks it has that might otherwise catch you out.  To this end, we present the "Basics of..." series of posts about different programming languages.  We'll assume that you know the basic syntax of the language in question (there are almost always lots of good ways to learn this) and try to present the things you'll need to know right after that.  We'll start with Matlab.