Paper Writing for PhD Students, Part 6: Introduction to the Introduction

writing

Recap: we are now at a stage where you have developed a storyline for your journal article, and this storyline has been condensed into the abstract of the paper. You have some figures and perhaps some schematics, categorized according to their role in the story (see the previous post). You have written draft versions of figure captions. Now it is time to start outlining the different sections of your paper. First, we will talk about how to write the introduction of a scientific paper.

Every story has a beginning and an end, and the Introduction is the beginning of the story that you are about to tell.

A good, well-written Introduction does several things: it introduces the reader to your problem and motivates the problem by reviewing relevant research. It introduces schemas and concepts used in the paper. It points out gaps in the existing knowledge that need to be filled for solving the problem. It defines the exact research problem that the paper addresses, and tells how your research has solved the problem or part of it. It shows how solving it contributes to the big picture. It identifies your reader—who should read the paper?—and makes her so curious that she cannot stop reading. It makes her excited about your work. It makes her want to know more.

In terms of our already-much-abused film script analogy, the Introduction takes care of both Setup and much or all of the Confrontation. This section already provides a glimpse of the Resolution of the story too. It introduces the world and the key characters of the story: the problem area and its important concepts. Remember: the reader will only want to read on if she cares about your world and its inhabitants and the problem that they are facing.

To entice the reader, the Introduction should emphasize the question, not the answer. It should not focus on what you have done, but on why you have done it and what follows from it. There should be an engine for the story, an important question, a need to know. This is what drives the story and whets the appetite of your reader. Curiosity is a strong emotion: trigger it with your introduction, and you have a reader.

Sidetrack: <nerdspeak>The Star Wars prequels failed because there was no big question! Everyone knew that Anakin Skywalker would become Darth Vader; how that would happen was mildly interesting at best. Boring! But at the time of writing this, I do not know what will become of Kylo Ren. And I want to know. </nerdspeak>

How to ask a strong question in the introduction? How to frame the gap in knowledge that needs to be filled? Of course, in a perfect world, your research has had a strong, clear question from the very beginning, and the knowledge gap is obvious. Then, just describe it. Perhaps you have chosen a research problem that everyone knows is important, say, how to solve X. You might even be the first one to have solved X—but this rarely happens because obvious problems are to researchers what a bowl of milk is to an alley full of cats. In any case, if your problem is well-known, you can be brief; if there have been earlier, not-so-successful attempts, or if there have been ideas floating around on how to tackle the problem, you can talk about these in the Introduction.

But, almost always, things are not this straightforward, and you need to think a bit harder about how to frame your question. It might even be that you are not entirely sure of what the question is. Perhaps you have started somewhere, but then along the way, you have noticed that the question you were asking was not the right one or the most important one. Then your research led you elsewhere, and now you are trying to figure out where. Perhaps the importance of your question is not obvious at all, except to you: then you need to tell the rest of the world why the question matters. Perhaps the question that you ask is something that no-one else has ever thought of—perhaps it is your question. If so, then this is a good thing: in my view, science is driven by questions instead of answers, and good questions are rarer than good answers.

When your research aims at answering a nontrivial question that requires a bit more motivating, a good strategy is to start the Introduction with something broad and more familiar, and then gradually move on to your new uncharted territory. All questions are related to bigger questions; begin with a big question and use it to frame the problem that you are solving.

In the next posts, I’ll talk a bit about the structure of the introduction (I’ll provide a template) as well as the importance of the first paragraph and, in particular, the first sentence.

Next: how to write the introduction of a scientific paper – a four-paragraph template

Paper Writing for PhD Students, Part 5: Figures

Figures open in an editor

 

[This post continues the PhD student paper-writing series from here]

At this point, we have covered establishing the focus of your scientific paper: you should already have a clear vision of what your paper is about, and the essence of this vision should be encapsulated in its abstract. You should also have the necessary ingredients at hand: the results to be presented in your paper together with ideas for schematic diagrams, organised into film-script categories according to their function and role in the story (Setup, Confrontation, Resolution, Epilogue).

The next step is to expand the storyline laid out by the abstract and to outline the different sections of your paper. This begins with choosing what sections make up your paper. Depending on your target journal, you may need to follow strict guidelines—the commonly used Introduction–Methods–Results–Discussion structure for instance—or to come up with a structure of your own. Even for short letter-format papers that may or may not have subheadings, it pays off to have a clear idea of what goes where. Usually, this is not a difficult task: all scientific papers begin with an introduction and end with a discussion, even if these span just a few paragraphs, and the results are sandwiched in between. Methods may be explained before the results, or after the discussion as an appendix of sorts (like in Nature and other glossy magazines).

What is more involved is choosing the order of presentation within the section structure. Here, a solid, tried-and-tested approach is to begin with the figures and their order of appearance. If you have followed the approach of this blog, your figures already come with handy labels (Setup, Confrontation, Resolution, Epilogue) and therefore you already have a good overall idea of their order. If your paper has to follow the standard structure, schematic diagrams and result figures will generally be placed in the Results section, so that figures of the Setup category come first and those of the Epilogue come last; schematic diagrams of the Setup category are an exception as they may belong to Methods or even Introduction. In any case, you’ve already done much of the work before you have even begun outlining the main text: the categories of the figures mostly determine their order. What remains to be done is to choose the order within each section in which the results and schematic diagrams are shown: what figure leads to the next?

The order of figures should tell a clear story so that each builds on the previous ones. You can use a multi-panel figure to tell a self-contained part of the story, a miniature story arc. You can combine, for example, a schematic diagram that explains your experiment (Setup), some basic statistics of your data (Setup), and a result plot or two that contains an unexpected finding (Confrontation). This mini-story multi-panel figure is a technique that I often employ in letter-format papers where the story has to move fast and get to the point quickly; it already brings the story close to its Resolution and the key result.

When you have chosen the figures, write a draft version of the caption for each figure. You may need to revise the captions later; at this stage, you may still be unsure of issues like notation and nomenclature, so don’t pay too much attention to details yet. However, try to write the figure captions so that they are self-consistent enough for a hasty reader to understand most of your paper just by glancing through the figures. After all, this is exactly what a great many readers do; this is what the editor of your journal does too, before deciding whether your paper is worth a closer look or deserves to be rejected outright. How long and how self-consistent the captions should be depends, again, on your journal; in some of the letter-format top-tier journals, captions tend to be very long, while in the lesser journals where we mere mortals publish, figures are discussed at length in the main text and therefore the captions can be shorter. In any case, please make sure that your caption tells what the reader should learn from looking at the figure. A caption that only tells that here we see Y plotted as a function of X is not enough; it is redundant if you have remembered to label your axes in the figure already. Always tell the reader what the message of the figure is.

Because much of the story will be told by your figures, let us talk about figure quality for a while. Figures are tremendously important; those who only skim through the paper won’t see much else. Figures make the first impression and first impressions matter. Clear, high-quality figures with a professional look tell that a lot of effort has been put into the paper, and the reader is more likely to trust its contents. Amateurish-looking figures with a colour scheme that looks like PowerPoint in the 1990’s leave the reader wondering if the results are of the same dubious quality.

So do make sure that your figures look good. How to do this? First, learn the ropes of whatever program you use to generate your figures, whether it is a Python or R library, or a stand-alone piece of software (like Gnuplot that has been around since the dawn of man; it will probably outlast even cockroaches once mankind is no more). In particular, learn how to change fonts, how to increase or decrease font sizes, and how to use proper LaTeX-type fonts wherever appropriate. Learn how to choose and manipulate colours and colour schemes and symbols and shadings. Learn how to produce figures of chosen dimensions, so that you can later assemble them into multi-panel plots of your choice and combine them with schematic diagrams. Learn to match figure sizes to your target journal’s column width; not having to scale the figures takes some guesswork out of choosing font sizes (see below).

Second, do learn to use a vector graphics software to post-process your figures (and do learn the difference between bitmap images—they are made of pixels—and freely scalable vector images, made of lines and arcs and Bezier curves). At the time of writing, the industry standard (design industry, that is) would be Adobe Illustrator; there are many free alternatives such as Inkscape. With a vector graphics editor, it is easy to assemble multi-panel figures that contain schematic diagrams (drawn with the same editor) and result figures saved in vector formats (PDF, SVG). You can also add text, arrows, indicators, and so on, as well as retouch your result plots, changing line widths, colours of symbols, or their overall appearance. Often, this is much faster than trying to get everything right when producing the plots.

A few words on the layout: always align things—nothing spells “I am being careless” more clearly than subplots and schematics that are not neatly lined up (it takes just a few seconds to do this). Use white space properly: leave enough white space so that things can breathe, but don’t leave too much white space so that the figures don’t look barren.

Discussing data visualisation at length is beyond the scope of this blog post, but here are a few remarks. Pay attention to your colour schemes. For plot symbols, there are much nicer and much more informative schemes than the pure-RGB red, green, and blue symbols that some programs use as default; on top, your reader might be colour blind and have a hard time distinguishing between red and green. Always use different symbols AND colours for different curves for maximal clarity. If you want a personalised colour scheme, google for colour scheme generators (you have already learned how to set hexadecimal colour values in your program, right?). For heat maps and similar, pay attention to the neutrality of the colour map you use: make sure that it doesn’t artificially highlight some part of your range of values. In all cases, use colours consistently through your figures. If red and blue are categorical indicators of, say, two different data sets in a graph, do not use a heat map where red and blue indicate high and low values: reserve red and blue for the two data sets, and always use them this way. Likewise, if you use a colour map with a gradient from low to high values, reserve its colours for this purpose alone.

Then, labels and fonts. First, always label your axes. This is self-evident, but I still have to explicitly mention it; even though forgetting to label the axes of a plot should feel roughly like forgetting to get dressed when leaving for work in the morning, it still happens. So, I repeat: label your axes, period. At all stages of your work, even if the plot is just a draft for your eyes. And when labelling, please do make sure that the fonts you use are large enough when the figure is scaled to its intended size; if you have chosen the plot’s dimensions so that no scaling is required, use 10 or 12 pt. Not paying attention to font size is a very common beginner’s problem, and there are even many published paper where a magnifying glass is needed to understand what is going on in the figures. I suspect this has to do with the defaults of the commonly used software packages; default font sizes are almost always tiny. I’ve rarely (if ever) seen plots with annoyingly large fonts, so if in doubt, double your font size.

Common errors in results figures

Figure 1: Do avoid these common problems!

Finally, a few words about “having an eye for design”. While coming up with beautiful and impressive figures seems to come more easily for some, every student can learn to produce good-looking visuals. I’ve many times heard someone say “I cannot draw, and therefore my figures look ugly” but—as with any skill—it just takes time and patience; you do not need to go to art school to learn the essentials. Just like learning how to look at things is the key to learning to draw well, the key to producing great-looking figures is knowing how they should look like, instead of stumbling blindly. This is best learned by imitation. So, next time, take one of your plots that you are not entirely satisfied with, and look up a similar figure in some journal article that you like. Look at the two figures side by side, and try to spot the differences in composition, colours, fonts, line widths, and so on. Then modify your figure and keep on modifying it until you are satisfied with the outcome. Next time, you might not even need a reference figure.

PS This series of posts has been rewritten and edited and published as an ebook! Go get it from your favourite digital store!

Paper Writing for PhD Students, Part 4: Theatrical Cut, Or How To Konmari Your Paper

Laptop with a text editor open

This post continues the paper-writing self-help series for PhD students directly from where the previous post ended.

Once you have decided the key point of your paper and have settled on its main conclusion, the next step is to choose what results go in. This choice should be made with care: now that you have a point to make, plan your paper so that everything else supports this point. The rest should go! The best papers are often quite minimalistic: they drive their point home with essential ingredients only. Papers that contain tons of unrelated results are difficult to comprehend, because the reader is left wondering where to focus her attention. Clutter reduces clarity. Always konmari your paper! Keep what makes it happy and discard everything else.

Continuing with the film industry analogy, the process of going through your results and deciding what to keep resembles the process of editing of a Hollywood movie. After the movie has been shot, the director and the editor start working with an abundance of raw materials that are to be sculpted into the final product, the theatrical cut. The goal is to assemble the film from the shots and scenes that best support the storyline, cutting out footage that is not essential and that doesn’t have the emotional impact that the director desires.

Your paper is your theatrical cut. Use only the elements it needs, and leave out the rest.

Cutting out material and deciding not to use some of your results may feel difficult and painful – you spent a WEEK on that plot! But, believe me, it is for the best. If you want your work to have impact, it has to be read and understood, which is greatly hindered if there is too much unimportant or unrelated information to absorb. Clutter draws attention away from the point that you want to make, and leaves the reader exhausted.

Perhaps it is because of the pain caused by discarding perfectly-good-yet-unimportant results that most journals nowadays allow for an extended special five-hour-long director’s cut in the shape of a Supplementary Information document with an unrestricted page count. You can dump all those raw materials that didn’t make it to the theatrical release to the SI so that they can safely be forgotten and ignored by the rest of the world. But now your week spent making that plot means at least something.

But back to your cut – how to choose the results that are to be included and that support the key result?

Let us see how far we can push the film script analogy discussed earlier. A typical film script begins with the Setup phase where the characters and the setting are introduced, then moves on into the Confrontation phase where the characters are put in interesting trouble, and finally there is Resolution (epic fight in space followed by an exploding Death Star or similar). This may be followed by a brief Epilogue (with or without frolicking ewoks). If we divide our results into these four categories, Setup and Confrontation contain results that are needed for getting to the main result, for building up excitement and for leading the storyline to its climax. Resolution is the main conclusion that we discussed in the previous chapter. Epilogue shows what follows from the Resolution.

The Setup category contains plots and results that are required for the reader to make sense of the context, setting, your experiment, and/or your data (like, basic statistics, and so on). Schematic diagrams that visually explain the concepts that your paper works with also fall into this category; always include a schematic diagram or two!

The Confrontation phase brings the story closer to the final revelation that you aim to make; it highlights the open important question that you address. You can do this, for example, by showing empirical results that are surprising and cannot be explained by existing theories, and then providing an explanation as the Resolution of your storyline. You can also build up excitement by presenting a number of competing hypotheses or models, to be then shot down by your results (except for the one model that matches with your data and provides your Resolution). Or, you can begin by displaying some surprising system-level results or statistical observations and then home in on their detailed explanation in the Resolution phase.

The Resolution category should only contain your main result and key point; one to two figures.

The last category of results, the Epilogue, is more important than the last couple of minutes of a blockbuster film. These results are presented after the main result, and serve the purpose of highlighting its significance. One key technique is to think of some application or consequence of the main result and to illustrate this with, say, a figure that plays the role of an example rather than that of an important stand-alone result.

If you look at some research papers published in the glossy magazines (Nature, Science, and so forth), you’ll see that great many authors apply this technique: out of the four or so plots in those letter-format papers, the first is about Setup/Confrontation, the second is the key result (Resolution), and the rest are there for showing why the key result matters, or what it means (Epilogue). For the kinds of journals that us mere mortals publish in, these figure counts may be larger–the important thing is to decide on clear roles for your results and figures and use them accordingly when telling your story.

Next: how to use figures to tell your story.

Paper Writing for PhD Students, Part 3: The Importance of Focus

A keyboard

[This post continues my “self-help” series on how to write a scientific paper for PhD students; the previous episode can be found here. This series is an attempt to share some of the conceptual tools that I use with my students. Their point is to structure your thinking and focus your decision-making on a limited number of problems at a given time; having all options open at all times is an enemy of creativity.]

Scientific papers are stories, not just containers of information. The more focused and exciting the story, the more likely it is that it reaches someone. This is because that someone has to decide to invest their time in reading the paper, and as we all know, the world is full of papers, too many for any of us to read.

Thinking of papers as stories is something that doesn’t come naturally to most Ph.D. students or scientists. If we have been taught at all, we have been taught to write (boring) reports, certainly not to develop storylines, or to work with the kinds of higher-level conceptual elements that, say, journalists use.

Good writing starts with careful planning. I usually plan my storyline in three steps.

The first is defining the key point of the paper, the main conclusion that you want to tell the world. The second step is choosing the essential building blocks for the rest of the storyline, leaving out all results that are not necessary. The third step is taking these building blocks and arranging them into a condensed version of the storyline: the abstract of the paper. That’s right – I recommend writing the abstract before the rest of the paper. This is unconventional but it works.

Defining the focus of the paper – its key point and its main conclusion – is the most important step, as it lays the foundation for the rest.

In the best case, the key point is a single important result, but usually, things are slightly more complicated than that. In any case, you should be able to explain your point and main conclusion with one to three sentences. If you think that this is too little, consider these: the Earth rotates around the Sun, and not vice versa. Space-time is curved by mass. The salt of deoxyribose nucleic acid has a structure with two helical chains, suggesting a possible copying mechanism for genetic material. And so on. Clearly, a sharp focus doesn’t mean that the result is simplistic – to the contrary, there is usually a lot of depth behind results that can be described with a few words.

Choosing a key point that can be condensed into a few sentences doesn’t imply that your paper has to be narrow in scope. If your work is of an exploratory nature your key result might be that you have mapped out a problem area and your paper provides the map, or perhaps your main conclusion is a broad synthesis of several sub-results that make up the bulk of your paper. The most important thing is that you can make it clear to the reader what your paper is about.

If you can compress your message into a package that can be easily communicated, the higher the likelihood that it reaches its intended target, the reader. This is not limited to primary transmission – say, the reader encountering your abstract on the arXiv and deciding to read on – but secondary transmission is important too: getting the reader to share your paper with colleagues, online or face-to-face. Whatever the type of transmission, it works best if the thing being transmitted is compact and focused.

Communication is always difficult and all communication channels are noisy – a tight focus helps your message to make it through in one piece.

Next: Theatrical Cut, Or How To Konmari Your Paper

How to write a great abstract

[This post continues my “self-help” series on how to write a scientific paper for PhD students; the first post can be found here]

The first thing that you should do when starting a new research paper is to write the abstract. I also recommend spending a lot of time writing it. This will pay off later.

Writing the abstract first may seem unconventional, but it makes sense. This is because the abstract is the storyline of the paper in miniature form. It determines the rest. Once you have composed your abstract, you have decided on your story, and the rest of the paper is much easier to write.

So how do you write a good abstract? One common mistake is to view the abstract as an information container, whose only aim is to let the reader know what the author has done. An abstract written in this way reads like “we did X and the result was Y. Then we did Z and …” It becomes a boring list of results. Two important things are missing: context and excitement!

Think of a Hollywood movie. It begins with the setup phase, where the setting and the characters are introduced. You can only follow the story if you understand the setting and know the characters (context), and you will only care about the story if you care about the characters (excitement). The same applies to any research paper and its abstract: the reader must understand the context and care enough about the problem to read on and to find out how the problem was solved.

After the setup, a typical film script continues to the confrontation phase. There is trouble; there an issue that the characters have to solve. The resolution of the confrontation marks the high point of excitement in the story. After outworking the story, some brief epilogue may follow, providing closure.

Great papers and great abstracts follow a similar arc: from setup to confrontation and from resolution to closure. The storyline can be seen as hourglass-shaped: presenting the broad setting, introducing a more narrow problem and its solution, and returning to the broader picture again. It is not a coincidence that this is exactly how every Nature abstract reads.

How to write a great abstract: the hourglass shape

The script that every Nature abstract has to follow, sentence by sentence, begins with a few sentences on general context and the broader topic. Then, the abstract narrows down to more specific context (again a few sentences), before funnelling to its narrowest point: the exact research question addressed by the paper. This has to be followed by the solution of the problem: the key result. Then the abstract broadens again, first addressing the implications of the result to the paper’s field of science, and then discussing the impact beyond that particular field. Setup, confrontation, resolution, closure.

Even if you are not writing a Nature paper (and you probably aren’t), the above is still a great recipe for a successful abstract, and my suggestion is to always follow its spirit.

Of course, depending on your field and the chosen journal, the breadth of the top and the bottom of the hourglass may need to be adjusted. Instead of a context where your result contributes to solving mankind’s most pressing problems, your playing field may be just your particular field of science or its subfield. For a specialist journal, you don’t need to begin your abstract with a sentence on the importance of your field – the readers already know it. Nevertheless, it pays off to consider the broadest context you can honestly think of. Don’t exaggerate, but try to take a broader perspective. Why is your research question important –– why does it matter? The answer to this question is your context; it should directly translate to the first and last sentences of your abstract.

Next in the series: The Importance of Focus

Why can writing a paper be such a pain?

This is the first in a series of “self-help” posts for PhD students on how to write a scientific paper.

Writing a scientific paper

Show me a researcher who has never struggled with writing, and I’ll show you someone who hasn’t written anything, or who doesn’t care about the quality of the output. Science is hard, and so is writing. Together they are harder. Now add in lack of experience as a researcher and as a writer, together with the usual time pressure, and it’s no wonder that the blank document in front of you looks like the north face of Mount Everest. We’ve all been there, staring at that wall.

While no mountaineer would risk climbing Everest without a route plan, an inexperienced writer tends to neglect the importance of planning. Having no plan, she tries to do everything at once. She opens the blank document in her editor, stares at it, tries to decide what to make of her results, what the first sentence of the first paragraph should be, what the point of the first paragraph should be, and what the point of the whole paper should be.

It’s no wonder that this feels impossible. No-one can solve that many problems in parallel. Problems are best solved one at a time.

Writing becomes easier if one separates the process of thinking from the process of writing. To write clearly is to think clearly, and thinking precedes writing. Writing becomes a lot less of a struggle when you think through the right things in the right order, before putting down a single word.  A successful software project begins with the big picture: what functions and classes are needed, and for what purpose. It doesn’t begin with developing code for the internal bits of these functions and classes. A writing project should also begin with addressing the overall point and structure of the paper, before moving to details such as words or sentences.

Another way of looking at the problem is linearity versus modularity. The fear of the blank page arises out of linearity: the feeling that the only way to fill the page is to start with the first word and proceed towards the last, word by word. This is not so. Whereas reading is usually linear, writing doesn’t have to be. The process of writing should be modular – first, sculpt your raw materials into rough blocks that form your text, and then start working on the blocks, filling in more and more details, so that entire sentences only begin appearing towards the end of this process.

The approach I try to teach my students is splitting the writing process into a series of hierarchical tasks. This way, getting from a pile of results to a polished research paper is a bit less painful.

This approach begins by identifying the key point of the paper and then moving on to structuring the material that supports this point into a storyline. This storyline is then condensed into the abstract of the paper. My advice is to always write the abstract first, not last! This serves as an acid test: if you cannot do it, you haven’t developed your storyline enough.

After that, there are many steps to be taken before writing any more complete sentences: planning the order of presentation, including figures, and for each section of the paper, mapping the arc of the storyline into paragraphs so that the point addressed by each of the paragraphs is decided in advance. Then, the paragraph contents are expanded into rough sketches, and these sketches are finally transformed into whole sentences. At this point, there is no fear of the blank page, because there are no blank pages: for each section, for each paragraph, there is a map, a route plan, and the only decision that is needed is how to best transform that plan into series of words. Often, this feels almost effortless.

[Next in the series on how to write a scientific paper: how to write a great abstract]

There is now an ebook based on this series, available from a number of stores (Kindle Store, Apple Books, Kobo, Tolino, etc!)