How to Write a Related Work Section (STEM): From Matrix to Paragraph Outline

A practical method for STEM graduate students · Your Paper Companion

Your experiments are done, your method section is drafted, and the Related Work section is still a heading with nothing under it. You have read dozens of papers, but when you start writing, it comes out as a list: "Smith et al. did X. Lee et al. did Y. Chen et al. did Z." It reads like an annotated bibliography, not an argument.

This guide explains how to write a related work section in a STEM paper or thesis by working from a structured table of your papers, a literature review matrix, to a paragraph-by-paragraph outline. It includes a related work section example built from four illustrative papers.

Why the Related Work section is hard

The difficulty isn't the writing itself. It's that a good Related Work section has to do three things at once:

With scattered notes, you do all three in your head while writing sentences, and drafts drift into paper-by-paper summaries. The structure has to exist before you write.

The matrix method in three steps

If you haven't built a matrix yet, start with our guide on how to organize papers for your literature review: one row per paper, a fixed set of fields. Once you have it, writing Related Work follows three steps.

1. Group papers by approach

Sort or filter the matrix by a categorical field such as Theme or Method Type. Each group becomes a candidate paragraph. Group by how people tackled the problem, not when they published.

2. Compare on shared criteria

Within and across groups, read the same columns side by side: Dataset, Key Result, Limitations. This is where you notice that two papers use different metrics, or that one result was obtained on much less data. These comparisons make Related Work analytical rather than descriptive.

3. State the gap

Look for what no row covers: a combination of method and evaluation nobody tested, or a limitation every group shares. The gap should point back to specific matrix cells and lead into your contribution.

A worked example: battery life prediction

Here are the four method papers from our battery life example set. (They are fictional illustrations, not real publications.)

#PaperApproachKey Result
1LSTM for predicting lithium-ion battery capacity fadeDeep learningRUL error 8.2% vs 15.6% baseline
2Electrochemical model + Gaussian process for battery health estimationHybrid (physics + ML)RMSE 1.9% with 20% training data
3Transfer learning for battery life prediction across chemistriesDeep learning (transfer)9.8% error with 10% target data vs 21.3% from scratch
4Early-cycle features for battery life classification: a counterexample analysisFeature-based classificationSame-batch accuracy 91%, cross-batch only 63%

Group. Paper 1 is the data-driven baseline story. Papers 2 and 3 both address limited data, by different routes: physics-informed modeling and transfer learning. Paper 4 is a counterexample about generalization.

Compare. The metrics differ: RUL error, RMSE for health estimation, and classification accuracy are not directly comparable, so your text should not rank these papers by their numbers. What you can compare is the setting: paper 1 improves on a baseline (8.2% vs 15.6%), paper 2 works with 20% training data, and paper 3 cuts error from 21.3% to 9.8% using only 10% target data.

Gap. Paper 4 shows a model can reach 91% accuracy within a batch and drop to 63% across batches. That raises a question for papers 1–3: were they evaluated across batches? If your matrix's Dataset and Limitations cells don't say so, that is your gap: limited-data methods have not been tested under cross-batch evaluation.

A related work outline, paragraph by paragraph

The grouping above translates directly into a related work outline. Each paragraph has a job:

  1. Context. One or two sentences framing the problem and the main families of approaches. A survey paper, if you have one, is cited here.
  2. Approach group A: data-driven prediction. What paper 1 did and its gain over the baseline (RUL error 8.2% vs 15.6%). End with its limitation: it needs substantial training data.
  3. Approach group B: learning from limited data. Papers 2 and 3 as two responses to that limitation: a hybrid electrochemical + Gaussian process model (RMSE 1.9% with 20% training data) and transfer learning (9.8% vs 21.3% with 10% target data).
  4. The generalization problem. Paper 4's same-batch vs cross-batch result (91% vs 63%), and what it implies for how the earlier results should be read.
  5. Gap and contribution. State what the groups above leave open and how your work addresses it.

Each paragraph opens with a topic sentence that names the approach, not the author. "Several studies address limited training data" leads the reader; "Lee et al. proposed…" doesn't.

How AI prompt templates help (with structure, not writing)

An AI assistant is useful at the outlining stage if you give it your matrix and constrain it to that data. Paste your rows or a CSV export and ask for structure. For example:

Below is my literature review matrix (one row per paper).
Propose a Related Work outline: one paragraph per approach
group, a topic sentence for each, and a final paragraph
stating the gap. Use only the papers and numbers in the
table. Cite by Citation Key. Flag any metrics that are not
directly comparable. Do not add papers or claims that are
not in the table. If something is missing, say so.

This kind of prompt is good at proposing groupings, spotting incomparable metrics, and suggesting topic sentences. It does not decide what the gap is, and it does not write for you.

Honest limits

Putting it together

Writing a Related Work section in STEM gets much easier once the thinking happens in a table instead of in your head. Group by approach, compare on shared criteria, state the gap, then write one paragraph per group. See the Your Paper Companion home page for more.