<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: guowu zong</title>
    <description>The latest articles on DEV Community by guowu zong (@guowu_zong_66a791642a83cc).</description>
    <link>https://dev.to/guowu_zong_66a791642a83cc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4025860%2Ff7bd0a22-3d5e-49db-938e-63a175b4af2e.png</url>
      <title>DEV Community: guowu zong</title>
      <link>https://dev.to/guowu_zong_66a791642a83cc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/guowu_zong_66a791642a83cc"/>
    <language>en</language>
    <item>
      <title>How to Turn a Research Paper Method Section Into a Diagram With AI</title>
      <dc:creator>guowu zong</dc:creator>
      <pubDate>Sun, 12 Jul 2026 08:46:16 +0000</pubDate>
      <link>https://dev.to/guowu_zong_66a791642a83cc/how-to-turn-a-research-paper-method-section-into-a-diagram-with-ai-47l6</link>
      <guid>https://dev.to/guowu_zong_66a791642a83cc/how-to-turn-a-research-paper-method-section-into-a-diagram-with-ai-47l6</guid>
      <description>&lt;p&gt;Creating a research figure often takes much longer than expected.&lt;/p&gt;

&lt;p&gt;The scientific idea may already be clear, the experiments may be complete, and the paper may be nearly finished. But then comes the frustrating part: moving boxes in PowerPoint, aligning arrows, rewriting labels, adjusting spacing, and redrawing the same methodology diagram after every revision.&lt;/p&gt;

&lt;p&gt;Generic AI image generators can create attractive images, but research figures are a different problem. A useful academic diagram must preserve the correct stages, relationships, labels, and data flow.&lt;/p&gt;

&lt;p&gt;That is the problem I wanted to explore with &lt;a href="https://paperbana.com/" rel="noopener noreferrer"&gt;PaperBanana&lt;/a&gt;, an AI-assisted workflow for creating methodology diagrams and research figures from paper text, notes, sketches, and reference images.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Research Figures Are Difficult to Generate
&lt;/h2&gt;

&lt;p&gt;A normal image-generation prompt might say:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Create a beautiful AI system architecture diagram.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That instruction is too vague for a scientific figure.&lt;/p&gt;

&lt;p&gt;The model does not know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which components must appear&lt;/li&gt;
&lt;li&gt;What order the stages follow&lt;/li&gt;
&lt;li&gt;Which arrows represent data flow&lt;/li&gt;
&lt;li&gt;Which labels must remain unchanged&lt;/li&gt;
&lt;li&gt;Whether the figure is for a paper, poster, or presentation&lt;/li&gt;
&lt;li&gt;Which visual details are scientifically important&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The output may look polished while still being structurally incorrect.&lt;/p&gt;

&lt;p&gt;For research figures, visual quality is only one part of the task. The figure must also remain faithful to the underlying method.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start With Source Context, Not Just a Prompt
&lt;/h2&gt;

&lt;p&gt;A better workflow is to provide the model with the actual source material.&lt;/p&gt;

&lt;p&gt;This can include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A methodology section from the paper&lt;/li&gt;
&lt;li&gt;A short system description&lt;/li&gt;
&lt;li&gt;Notes explaining the experimental pipeline&lt;/li&gt;
&lt;li&gt;A rough diagram drawn on a whiteboard&lt;/li&gt;
&lt;li&gt;An existing figure that needs to be cleaned up&lt;/li&gt;
&lt;li&gt;A caption describing the intended figure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, instead of writing:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Make a RAG diagram.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You could provide:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Our system contains four stages.

First, the user question is converted into an embedding. The embedding
is used to retrieve the top five relevant documents from a vector
database.

The retrieved documents are compressed by a context-selection module.
The compressed context and the original question are then passed to
the language model.

Finally, the model produces an answer with citations to the retrieved
sources.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then add a figure instruction:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Create a left-to-right methodology diagram showing the four stages:
query embedding, vector retrieval, context compression, and cited
answer generation.

Use clear academic labels, a white background, readable arrows, and a
layout suitable for a machine-learning paper.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives the generator both the scientific structure and the desired presentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Practical AI Figure Workflow
&lt;/h2&gt;

&lt;p&gt;Here is the workflow I recommend.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Extract the Essential Method
&lt;/h3&gt;

&lt;p&gt;Do not paste the entire paper unless every section is relevant.&lt;/p&gt;

&lt;p&gt;Start with the smallest amount of text that completely explains the figure. Include important component names, stage order, inputs, outputs, and relationships.&lt;/p&gt;

&lt;p&gt;The goal is not to make the input shorter at any cost. The goal is to remove information that does not belong in the figure.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Write the Figure Caption First
&lt;/h3&gt;

&lt;p&gt;A good caption acts as a specification.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Overview of the proposed multi-agent research assistant. A planner
decomposes the user request, a retriever collects external evidence,
an executor performs the task, and a critic evaluates the result
before the final response is returned.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Even when the final caption changes later, writing it first helps define what the diagram must communicate.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Choose the Correct Figure Type
&lt;/h3&gt;

&lt;p&gt;Different research content requires different visual structures.&lt;/p&gt;

&lt;p&gt;Common options include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Methodology diagrams&lt;/li&gt;
&lt;li&gt;Model architecture diagrams&lt;/li&gt;
&lt;li&gt;Data-processing pipelines&lt;/li&gt;
&lt;li&gt;Multi-agent workflows&lt;/li&gt;
&lt;li&gt;Benchmark comparison panels&lt;/li&gt;
&lt;li&gt;Ablation-study figures&lt;/li&gt;
&lt;li&gt;Graphical abstracts&lt;/li&gt;
&lt;li&gt;Biological or chemical mechanism diagrams&lt;/li&gt;
&lt;li&gt;Conference poster panels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Choosing the figure type early helps the model decide whether to use a pipeline, layered architecture, multi-panel composition, or another layout.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Generate a Draft Before Chasing Perfection
&lt;/h3&gt;

&lt;p&gt;The first output should be treated as a structured draft.&lt;/p&gt;

&lt;p&gt;Check the scientific logic before spending time on appearance:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are all required stages present?&lt;/li&gt;
&lt;li&gt;Are the arrows pointing in the correct direction?&lt;/li&gt;
&lt;li&gt;Are any components duplicated?&lt;/li&gt;
&lt;li&gt;Did the model change technical terminology?&lt;/li&gt;
&lt;li&gt;Is the most important contribution visually clear?&lt;/li&gt;
&lt;li&gt;Can the figure be understood without reading the full paper?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A beautiful but incorrect diagram is not useful.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Revise With Specific Instructions
&lt;/h3&gt;

&lt;p&gt;Avoid vague feedback such as:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Make it better.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Use targeted revision instructions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Keep the current four-stage structure.

Move the vector database below the retrieval module.
Add a feedback arrow from the critic to the planner.
Shorten the labels inside each block.
Increase spacing between the retrieval and generation stages.
Do not change any technical component names.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Specific instructions make iterative editing much more reliable.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Verify Everything Manually
&lt;/h3&gt;

&lt;p&gt;AI-generated academic figures must still be reviewed by a human.&lt;/p&gt;

&lt;p&gt;Always verify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Technical terminology&lt;/li&gt;
&lt;li&gt;Mathematical notation&lt;/li&gt;
&lt;li&gt;Dataset names&lt;/li&gt;
&lt;li&gt;Numerical values&lt;/li&gt;
&lt;li&gt;Chart axes&lt;/li&gt;
&lt;li&gt;Legends&lt;/li&gt;
&lt;li&gt;Arrow direction&lt;/li&gt;
&lt;li&gt;Component relationships&lt;/li&gt;
&lt;li&gt;Citations and attributions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The generator should reduce repetitive design work, not replace scientific review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Starting From a Sketch
&lt;/h2&gt;

&lt;p&gt;Sometimes text is not the best starting point.&lt;/p&gt;

&lt;p&gt;You may already have a rough diagram in PowerPoint, a whiteboard photo, or a tablet sketch. In that case, the sketch can define the approximate composition while written instructions explain what should be preserved or changed.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Preserve the five-block layout and the current left-to-right flow.

Replace the handwritten labels with clean academic typography.
Align all blocks to the same height.
Use consistent arrow thickness.
Keep the feedback loop shown at the bottom.
Remove the gray background.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This approach is useful when the structure is correct but the figure is not visually ready for a paper or presentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Added to PaperBanana
&lt;/h2&gt;

&lt;p&gt;I built &lt;a href="https://paperbana.com/" rel="noopener noreferrer"&gt;PaperBanana&lt;/a&gt; around several common research-figure workflows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generating methodology diagrams from source text&lt;/li&gt;
&lt;li&gt;Creating model architecture and pipeline figures&lt;/li&gt;
&lt;li&gt;Using sketches or reference images as structural guidance&lt;/li&gt;
&lt;li&gt;Editing existing figures with text instructions&lt;/li&gt;
&lt;li&gt;Improving the resolution of low-quality drafts&lt;/li&gt;
&lt;li&gt;Exploring reusable prompts for common research diagrams&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also a &lt;a href="https://paperbana.com/prompts" rel="noopener noreferrer"&gt;research figure prompt library&lt;/a&gt; with examples for RAG pipelines, transformers, diffusion models, multi-agent systems, benchmark charts, biological mechanisms, and other figure types.&lt;/p&gt;

&lt;p&gt;The intention is not to create generic AI artwork. It is to provide a more focused starting point for researchers who need structured technical visuals.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where This Workflow Is Most Useful
&lt;/h2&gt;

&lt;p&gt;AI-assisted figure generation is especially helpful during:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Early paper drafting&lt;/li&gt;
&lt;li&gt;Internal lab reviews&lt;/li&gt;
&lt;li&gt;Conference submission preparation&lt;/li&gt;
&lt;li&gt;Reviewer-response revisions&lt;/li&gt;
&lt;li&gt;Camera-ready updates&lt;/li&gt;
&lt;li&gt;Poster creation&lt;/li&gt;
&lt;li&gt;Technical presentations&lt;/li&gt;
&lt;li&gt;Documentation for research prototypes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is also useful for developers writing about complex systems. Architecture diagrams, agent workflows, retrieval pipelines, and infrastructure overviews often have the same structural requirements as academic methodology figures.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current Limitations
&lt;/h2&gt;

&lt;p&gt;There are still important limitations.&lt;/p&gt;

&lt;p&gt;Long labels may be rendered incorrectly. Complex equations may need to be added manually. Dense figures can become crowded. Statistical plots containing exact values should be generated from real data whenever possible rather than reconstructed from a text description.&lt;/p&gt;

&lt;p&gt;For final publication, vector editing tools may still be necessary.&lt;/p&gt;

&lt;p&gt;The most practical workflow is therefore:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Research context
      ↓
AI-generated structured draft
      ↓
Scientific verification
      ↓
Targeted AI revision
      ↓
Manual final cleanup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;AI is strongest at accelerating the first draft and repeated visual revisions. Human researchers remain responsible for correctness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It With One Section of Your Paper
&lt;/h2&gt;

&lt;p&gt;A simple experiment is to take one paragraph from your methodology section and turn it into a figure specification.&lt;/p&gt;

&lt;p&gt;Identify the stages, write a one-sentence caption, define the desired layout, and generate the first draft.&lt;/p&gt;

&lt;p&gt;You can try the workflow at &lt;a href="https://paperbana.com/" rel="noopener noreferrer"&gt;PaperBanana&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I would be interested to hear which research figures are still the hardest to create: model architectures, experimental pipelines, result panels, graphical abstracts, or something else?&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; PaperBanana.com is an independent third-party web service built to provide online access to workflows inspired by the open-source PaperBanana research direction. It is not affiliated with, authorized by, or officially connected to Google, Peking University, or the original project authors.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
