Figures for PapersI am Chen Liu, a Computer Science PhD Candidate at Yale University.
This is a centralized repository of my own Python scripts for high-quality figures.
These figures appear in top venues including Nature Machine Intelligence, ICML, NeurIPS, ECCV, etc. 🎉
Please feel free to cite any of these papers if you find them relevant or helpful. 🎓
在符合学术规范的前提下,欢迎大家狠狠引用。 🎓








These figures were made partially in Python. I included them to acknowledge the time and efforts I spent on them.










I want to show appreciation to my friend Shan Chen who suggested doing this.
The scientific figure making skill lives in scientific-figure-making/. Demo figures live in assets/. Project-specific scripts and outputs live in figure_*/.
scientific-figure-making/
├── SKILL.md # Quick reference: metadata, when to use, patterns, links
└── references/
├── api.md # API/conventions to implement (palette, helpers, export)
├── common-patterns.md # Reusable figure patterns
├── demos.md # Real-world figure_* projects (with URLs)
├── design-theory.md # Style rationale and design principles
└── tutorials.md # Step-by-step guides
No installation (path-based)
You can use this skill without installing anything: open this repo in your AI coding agent (e.g. Cursor, Claude Code, etc.) and reference the skill by path in your prompts. The agent reads scientific-figure-making/SKILL.md and the references/ files from the repo—no symlinks or plugins required.
Simple AI workflow
figure_PROJECT_NAME/).scientific-figure-making/SKILL.md and scientific-figure-making/references/design-theory.md.Prompt template (copy/paste)
Create a publication-quality figure script at <target_path>.
Use the Scientific Figure Making skill conventions from:
- scientific-figure-making/SKILL.md
- scientific-figure-making/references/design-theory.md
- scientific-figure-making/references/api.md (palette, helpers, export)
Implement or adapt the patterns (apply_publication_style, make_* helpers, finalize_figure). See figure_* folders for reference scripts.
Input data: <describe your data or paste arrays>.
Output files: <name>.png and <name>.pdf.
Keep the style consistent with this repository.
Install as a skill (symlink)
From the repository root, run:
| Agent | Commands |
|---|---|
| Cursor | mkdir -p ~/.cursor/skills then ln -s "$(pwd)/scientific-figure-making" ~/.cursor/skills/scientific-figure-making |
| Claude Code | mkdir -p ~/.claude/skills then ln -s "$(pwd)/scientific-figure-making" ~/.claude/skills/scientific-figure-making |
| Codex | mkdir -p ~/.codex/skills then ln -s "$(pwd)/scientific-figure-making" ~/.codex/skills/scientific-figure-making |
Restart the agent (or refresh its skill list) after linking. You can then invoke or cite the skill by name in addition to using path-based references when the repo is open.
ImmunoStruct (Nature Machine Intelligence)
@article{givechian2026immunostruct,
title={ImmunoStruct enables multimodal deep learning for immunogenicity prediction},
author={Givechian, Kevin Bijan and Rocha, Jo{\~a}o Felipe and Liu, Chen and Yang, Edward and Tyagi, Sidharth and Greene, Kerrie and Ying, Rex and Caron, Etienne and Iwasaki, Akiko and Krishnaswamy, Smita},
journal={Nature Machine Intelligence},
volume={8},
pages={70--83},
year={2026},
publisher={Nature Publishing Group UK London}
}
LM-Dispersion (ICML)
@inproceedings{liu2026dispersion,
title={Dispersion loss counteracts embedding condensation and improves generalization in small language models},
author={Liu, Chen and Sun, Xingzhi and Xiao, Xi and Van Tassel, Alexandre and Xu, Ke and Reimann, Kristof and Liao, Danqi and Gerstein, Mark and Wang, Tianyang and Wang, Xiao and Krishnaswamy, Smita},
booktitle={International Conference on Machine Learning},
year={2026},
organization={PMLR}
}
VIGIL (ECCV)
@inproceedings{xiao2026vigil,
title={Staying VIGILant: Mitigating Visual Laziness via Counterfactual Visual Alignment in MLLMs},
author={Xiao, Xi and Liu, Chen and Liao, Chih-Ting and Zhang, Yunbei and Lan, Qizhen and Wei, Yuxiang and Zhao, Lin and Wang, Janet and Gu, Jianyang and Ye, Muchao and Wang, Tianyang and Xu, Hao},
booktitle={European Conference on Computer Vision},
year={2026},
organization={Springer}
}
RNAGenScape
@article{liao2025rnagenscape,
title={RNAGenScape: Property-Guided, Optimized Generation of mRNA Sequences with Manifold Langevin Dynamics},
author={Liao, Danqi and Liu, Chen and Sun, Xingzhi and Tang, Di{\'e} and Wang, Haochen and Youlten, Scott and Gopinath, Srikar Krishna and Lee, Haejeong and Strayer, Ethan C and Giraldez, Antonio J and Krishnaswamy, Smita},
journal={arXiv preprint arXiv:2510.24736},
year={2025}
}
Brainteaser (NeurIPS)
@article{han2026creativity,
title={Creativity or brute force? using brainteasers as a window into the problem-solving abilities of large language models},
author={Han, Sophia and Dai, Howard and Xia, Stephen and Zhang, Grant and Liu, Chen and Chen, Lichang and Nguyen, Hoang H and Mei, Hongyuan and Mao, Jiayuan and McCoy, R Thomas},
journal={Advances in Neural Information Processing Systems},
volume={38},
pages={146950--147004},
year={2026}
}
$ claude mcp add figures4papers \
-- python -m otcore.mcp_server <graph>