跳到正文
Skillpedia
调研14k · #11169

academic-plotting

它能做什么

这项技能为机器学习研究论文制作图表,包括架构图和数据图表。适合为会议投稿准备图表的研究人员。

适用场景

  • ✓当你需要为论文绘制架构图或流程图的时候。
  • ✓当你有实验结果,需要整洁的柱状图、折线图或热力图的时候。
  • ✓当你希望图表风格符合会议论文要求的时候。

技能链接

https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/20-ml-paper-writing/academic-plotting/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/20-ml-paper-writing/academic-plotting/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这些消融实验结果做成整洁的分组柱状图,适合我的会议论文?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会选择合适的方法:示意图根据系统描述,使用 AI 图像工具生成;数据图表则用绘图库根据你的数字绘制,因此与结果完全一致。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Academic Plotting for ML Papers

Generate publication-quality figures for ML/AI conference papers. Two distinct workflows:

  1. Diagram figures (architecture, system design, workflows, pipelines) — AI image generation via Gemini
  2. Data figures (line charts, bar charts, scatter plots, heatmaps, ablations) — matplotlib/seaborn

When to Use Which Workflow

Figure Type Tool Why
Architecture / system diagram Gemini (Workflow 1) Complex spatial layouts with boxes, arrows, labels
Workflow / pipeline / lifecycle Gemini (Workflow 1) Multi-step processes with connections
Bar chart, line plot, scatter matplotlib (Workflow 2) Precise numerical data, reproducible
Heatmap, confusion matrix matplotlib/seaborn (Workflow 2) Structured grid data
Ablation table as chart matplotlib (Workflow 2) Grouped bars or line comparisons
Pie / donut chart matplotlib (Workflow 2) Proportional data (use sparingly in ML papers)
Training curves matplotlib (Workflow 2) Loss/accuracy over steps/epochs

Rule of thumb: If the figure has numerical axes, use matplotlib. If the figure has boxes and arrows, use Gemini.


Step 0: Context Analysis & Extraction

The user will typically provide one of these inputs — not a ready-made specification:

Input Type Example What to Extract
Full paper / section draft "Here's our method section..." System components, their relationships, data flow
Description paragraph "Our system has three layers that..." Key entities, hierarchy, connections
Raw results / data table "MMLU: 85.2, HumanEval: 72.1..." Metrics, methods, comparison structure
CSV / JSON data Experiment log files Variables, trends, grouping dimensions
Vague request "Make a figure for the overview" Read surrounding paper context to infer content

Extraction Workflow

For diagrams (research context → architecture figure):

  1. Read the provided context — paper section, abstract, or description paragraph
  2. Identify visual entities — What are the main components/modules/stages?
    • Look for: nouns that represent system parts, named modules, layers, stages
    • Count them: if >8 top-level entities, consider grouping into sections
  3. Identify relationships — How do components connect?
    • Look for: verbs describing data flow ("sends to", "queries", "feeds into")
    • Classify: data flow (solid arrow), control flow (gray), error path (dashed red)
  4. Determine layout pattern:
    • Sequential pipeline → left-to-right flow
    • Layered architecture → horizontal bands stacked vertically
    • Hub-and-spoke → central node with radiating connections
    • Hierarchical → top-down tree
  5. Assign colors — One accent color per logical group/layer
  6. Write every label exactly — Extract exact terminology from the paper text

For data charts (results → figure):

  1. Read the provided data — table, paragraph with numbers, CSV, or JSON
  2. Identify dimensions:
    • What is being compared? (methods, models, configurations) → categorical axis
    • What is the metric? (accuracy, loss, latency, F1) → value axis
    • Is there a time/step dimension? → line plot
    • Are there multiple metrics? → multi-panel or grouped bars
  3. Choose chart type automatically using this priority:
    • Has a step/time axis → line plot
    • Comparing N methods on M benchmarks → grouped bar chart
    • Single ranking → horizontal bar (leaderboard)
    • Correlation between two continuous variables → scatter plot
    • Square matrix of values → heatmap
    • Proportional breakdown → stacked bar (avoid pie charts)
  4. Determine figure sizing — Single column vs full width based on data density
  5. Highlight "our method" — Identify which entry is the paper's contribution and give it a distinct color

Auto-Detection Examples

Context → Diagram: "Our system has a Planner, Executor, and Verifier. Planner sends plans to Executor, Executor returns results to Verifier, Verifier feeds back to Planner on failure." → 3 entities, cycle layout, dashed feedback arrow → Workflow 1 (Gemini)

Data → Chart: "GPT-4: MMLU 86.4, HumanEval 67.0. Ours: 88.1, 71.2. Llama-3: 79.3, 62.1." → 3 methods × 2 benchmarks → Workflow 2 (grouped bar), highlight "Ours" in coral


Workflow 1: Architecture & System Diagrams (AI Image Generation)

Us

常见问题

哪些图使用示意图,哪些使用图表?

框图和箭头类图使用 AI 图像生成,数值图表则使用 matplotlib 或 seaborn。

它能根据我的论文文本工作吗?

能。给出论文章节或描述后,它会提取组件和关系,用于绘制示意图。

支持哪些图表类型?

柱状图、折线图、散点图、热力图、混淆矩阵、消融实验图和训练曲线图等。

详情

作者的原始描述

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn. Use when creating any figure for a conference paper.

repo: Orchestra-Research/AI-Research-SKILLs

热度

GitHub 星标
14k
排名
#11169
许可证
MIT
更新时间
2026/10/10

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能