Skip to main content Link Search Menu Expand Document (external link)

Lesson 3 – Scientific Writing

All lectures will be delivered as readings that you complete on your own time. Post questions with the lesson here.

There is no Methodology Assignment associated with this lesson. However, there are a few “Action Items” and “Exercises” that you should complete while reading through the lesson, as they’ll help you prepare for your Quarter 1 Project.

Specifically, the Quarter 1 Project Checkpoint is due at the end of Week 5, on Sunday, October 30th. The report part of your checkpoint submission will consist of the title, abstract, and introduction of your Quarter 1 Project.

Reminder: Take a look at the new Resources tab of the course website.

Also, refer to the recording of this live session as a supplement to this lesson.


Table of contents

  1. Overview
  2. Goals of Scientific Writing
  3. Guidelines
  4. Anatomy of a Scientific Paper
    1. Title and Abstract
    2. Introduction
    3. Methods
    4. Results
    5. Discussion
  5. Exercises

Overview

The standards for effective written communication vary by domain. Your domain should have an example of a paper that models best practices.

  • If your Quarter 1 Project involves replicating a paper, that paper is your example.
  • If, instead, your Quarter 1 Project consists of completing tasks from several papers, choose one of the papers that you’ve read in your domain.

If it’s not clear which paper you’re meant to use as an example, you can ask your mentor:

When writing the reports for our Quarter 1 Project and Quarter 2 Project, we are supposed to follow the style of a paper in our area. What paper should we use?

As you read through this lecture, you should try and map the principles discussed to the example paper in your domain. Not all of the nitty-gritty details discussed here will apply to every domain, but the high-level ideas will.

Note: The principles discussed here will be used to evaluate your project reports throughout the rest of the capstone!


Goals of Scientific Writing

Scientific papers (henceforth, just “papers”) are structured differently than, say, books, blog posts, and lectures. Papers are structured in a way that makes it easy for readers with different backgrounds to easily:

  • Determine if the paper will be of interest to them.
  • Read about just the parts of the project described in the paper that are relevant to them.

While the names and details of sections in a paper will vary depending on the publishing venue and domain, all papers consist of the same three key components (borrowed from this meta-paper that you should also read):

  1. Context: At the start of the paper, there is a brief description of what problem is addressed in the paper, why that problem is interesting, and why the authors’ approach is different. The goal of this section is to help potential readers determine if this paper is worth reading for them (and convince them to read it).
  2. Content: What the authors did to solve the problem at hand.
  3. Conclusion: The key takeaways and impacts of the results. Here, authors convince the reader why their work is meaningful.

When you’re looking for relevant background reading for a project – both now and in the future – what you’ll typically do is skim through the abstracts of several papers. If the abstract of a paper seems relevant, you may read the conclusion section. If the takeaways in the conclusion seem relevant to your project, you may then choose to read the bulk of the paper to see how the authors executed their project to see if there’s anything you can adapt and extend. By writing about their work in this rigid structure, authors help others understand what exactly was accomplished by their project.


Guidelines

When writing a paper, follow these guidelines.

  1. A paper is a narrative essay that describes a problem, methods to solve the problem, and the results of the approach.
    • In this lecture, the project descriptions, and potentially in your weekly participation questions, you are given questions that your paper should answer. However, your paper should not read as if it’s a bunch of answers to pre-canned questions back-to-back – it really should feel like a story.
    • The narrative that your paper follows should be about the methods and results, not an autobiography of your project and how you worked on it. Every project produces work that is irrelevant to the results; do not discuss irrelevant work in your paper.
  2. Figures (tables and graphs) should be self-contained and complete. In fact, you should strive to create figures such that readers can understand the high-level takeaways of your paper just by looking at the figures.
    • To ensure that you’re working towards this goal, make sure to give each figure an appropriate title, axis labels, and captions.
    • Keep in mind that you will know your work much better than almost anyone else who will ever read it; make sure to be careful to include all necessary details and not make assumptions about what the reader knows about your project.
  3. Cite others’ work frequently. Learning from and using others’ research is something to be proud of! However, don’t throw in a bunch of citations just to have them – only discuss and cite work that’s relevant.
  4. Only include statements that are verifiably correct. If a statement is a hypothesis or opinion, make that clear.
  5. As far as language goes:
    • Use the active voice with first person plural (“we”) to refer to both the author(s) and the reader.
    • Use the simplest language needed to convey your message; don’t use fancy jargon unnecessarily. Make sure to always define acronyms the first time you use them, as well as any project and domain-specific terms that may not be common knowledge.
    • Try to quantify as much as possible, rather than using flowery adjectives and adverbs like “very” and “large.” Stating that your new method led to a “very large” improvement in accuracy over a previous method doesn’t mean anything to someone who is unfamiliar with your work – instead, state what the actual improvement is. It’s important to be specific, as vague statements contribute nothing.

Anatomy of a Scientific Paper

As mentioned earlier, the titles of sections in a paper may vary between publication venues and disciplines. However, most papers will contain the following sections in some form:

SectionPurpose
AbstractWhat did we do?
IntroductionWhat is the problem?
MethodsHow did we approach it?
ResultsWhat did we find?
DiscussionWhat did it mean?
ReferencesWho did we cite?
AppendixDetails (particularly those that disrupt the narrative flow of the paper)

The following chart decomposes the above structure into more detail. While its structure is slightly different than the structure above – for instance, it treats the methods section as a part of the results section, rather than as a standalone section – it’s still useful, as it provides the narrative questions you need to address in each section of your paper.


(source)

The “gap” that the above chart mentions is the gap between prior approaches to a problem and your approach – that is, it’s the part that’s novel about your approach.

Let’s look at the sections of a paper in more detail.

Title and Abstract

Both the title and abstract of a paper should describe the contents of the paper:

  • The title should do so in one phrase.
  • The abstract should do so in one paragraph.

Both the title and abstract must be immediately understandable to readers who are unfamiliar with your work, and should be written in plain language. Remember, people browse abstracts to determine whether a paper is worth reading further; they won’t know the technical details of your work before they read it. You’ll be held to this standard in March, when you present your Quarter 2 Project at the capstone showcase – the audience will be a mix of faculty, industry partners, and fellow students.

You likely will only finalize the results and conclusions of your project towards the end of your project’s lifecycle. As such, you should only finalize your title and abstract at the end of your project. With that said, it’s a good idea to maintain a working title and abstract that you update regularly, just so that it’s clear to you what the focus of your project is.

In your abstract, spend roughly one sentence on each of the following four components:

  1. Contextualizing the problem. What is the world in which the problem lies? Why is this problem relevant?
  2. Reviewing gaps in prior approaches. What did prior approaches not solve?
  3. Clearly stating your project’s contribution to the problem. What was the “gap” that you closed, and how did you close it?
  4. Specifying relevant details to your methods.

Action Item Read the following abstract, taken from Robust Learning from Discriminative Feature Feedback (Dasgupta & Sabato, 2020). Identify the sentences corresponding to each of the four components above.

Recent work introduced the model of learning from discriminative feature feedback, in which a human annotator not only provides labels of instances, but also identifies discriminative features that highlight important differences between pairs of instances. It was shown that such feedback can be conducive to learning, and makes it possible to efficiently learn some concept classes that would otherwise be intractable. However, these results all relied upon perfect annotator feedback. In this paper, we introduce a more realistic, robust version of the framework, in which the annotator is allowed to make mistakes. We show how such errors can be handled algorithmically, in both an adversarial and a stochastic setting. In particular, we derive regret bounds in both settings that, as in the case of a perfect annotator, are independent of the number of features. We show that this result cannot be obtained by a naive reduction from the robust setting to the non-robust setting

Introduction

The introduction sets the context for the rest of the paper. After the abstract, it is the first part of your paper that readers will read, and often the only thing they will read. Your introduction will start broad and become narrower and narrower as you add more detail.


(source)

There are three pieces to an introduction section:

  1. An introductory paragraph. The first paragraph in your introduction will start by introducing the context in which your project is relevant. It will then state the problem that you’re trying to solve, and summarize some of your key results and their implications.

  2. A literature review and discussion of prior work. Here, you’ll provide context on what has been attempted in the past in the realm of your problem. This will both set up the context in which your problem exists and shed light on why your approach is different.

  3. A data description (this is a data science capstone, after all).

    • If you’re in a data-focused domain, you should describe why the data you’re using will help address the problem at hand.
    • If you’re in a methods-focused domain (that is, a domain in which you’re developing new methods), you should describe the kinds of data that your methods are applicable to. For instance, if you’re developing methods for using convolutional neural networks with graphs, you should describe why graph-based data is useful in the real-world.

Action Item Your Quarter 1 Project Checkpoint submission will consist of both a report submission and code submission. Your report submission for the checkpoint should contain a working title, abstract, and introduction section.

Methods

This section often goes by different names, e.g. experimental design, and sometimes appears at the start of the “Results” section of a paper rather than as its own section (as we saw in the chart above). Regardless of its title, the purpose of this section is to describe the steps that you took to produce the results you’ll discuss in the following section. It should contain enough details for a reader to be able to understand what you did, without containing so much detail that it distracts from the storyline – leave ultra-fine details for the appendix.

If your project involves developing multiple models that are very different, you may want to dedicate a separate section to each one. This may apply, for instance, if you used two different approaches to solve your overarching problem, or if you used different models to label data and to train a classifier.

Results

In your results section, you should present data clearly without any interpretation. That is, readers of this section should be able to understand what you discovered, without having to read any conclusions that you made from those results.

As mentioned in the Guidelines section, you should strive to create figures that are self-contained. This means using informative titles, labels, and captions – don’t make readers guess anything. The contents of each figure should also be explained in writing. Make it clear in your text when the values and trends in a figure are particularly relevant to the exploration. Make sure to include hyperlinks in your text relevant figures (e.g. “see Figure 2”).

Discussion

In the discussion section, you’ll provide your interpretation of the results from the previous section. Here, you should describe how your results compare to prior work on the same problem. Are your results similar to what has been seen before? Are they significantly different? Why?

Be honest in describing the impact and applicability of your results, along with the limitations of your approach. There’s nothing wrong with your results having limitations; just be clear on what they are. Lastly, make sure to describe the possibilities for future work. How can someone else take your project and extend it even further?

Exercises

While there is no required “Methodology Assignment”, you will have to write the title, abstract, and introduction for your Quarter 1 Project and submit that as your checkpoint by the end of Week 5. As such, we’ve provided a few exercises below that will help you understand the role of the introduction section in a paper. You do not need to submit your answers anywhere, but you should still do them.


In an introduction, you need to give context as to why a problem is interesting. You must also clearly state the problem and scope in this context.

In one of the papers in your domain,

  1. Specify the problem in concrete, testable terms and hypotheses. (To describe something in concrete, testable terms is to describe something in a way that is verifiable with math or code.)

  2. Discuss the broader applicability of the results in the paper – what is the significance of the authors’ findings, both in the specified domain and outside of it?

  3. Identify the most important figure/result in the results section of the paper, given the context provided in the introduction.

    • Why is this result the most important – i.e., why is it the best summary of the approach the authors used to solve the problem?
    • Is this most important result mentioned in the introduction? (Hopefully, it is!)