Using AI in Research

This is my personal, evolving guide to using AI in research: practical workflows for literature review and agentic coding in computational epidemiology, with an accompanying example repository. It reflects how I actually work, not a definitive prescription. The tools are changing quickly, and so is this page.

A principle runs through everything below: AI can accelerate the work, but scientific judgment and validity remain the responsibility of the researcher. The goal is to use these tools deliberately, in ways that strengthen rather than shortcut the reasoning that makes research trustworthy.

← Back to Research Practice


Literature Review Workflows

AI tools are genuinely useful for navigating literature, especially when entering an unfamiliar field or scoping a new project. I treat them as a way to orient faster, not as a substitute for reading.

Identifying relevant papers and research directions. When starting in a new area, I ask AI to map the landscape: foundational papers, key authors, competing approaches, and open problems. This gives me a scaffold to read into. The references it produces must be verified, since models routinely invent plausible-looking citations.

Building search strategies. Translating a research question into a structured search is something AI does well. It can help draft Boolean queries, suggest synonyms and MeSH terms for PubMed, and surface terminology used across different subfields, which is helpful for systematic-review-style searches.

Summarizing papers efficiently. Feeding in a paper and asking for a structured summary (question, data, methods, key findings, stated limitations) is a fast way to triage what is worth a careful read. I use this for breadth, never as a replacement for reading the papers that matter.

Comparing methods across studies. In modeling, approaches to the same question can differ enormously. AI can help draft a comparison table across several studies, such as model structure, assumptions, data sources, and inference method, which I then correct and refine. It is a starting point for synthesis, not the synthesis itself.

Creating annotated bibliographies. Generating draft annotations to edit is faster than writing each from scratch. The judgment about what each paper contributes, and how it relates to my own work, stays with me.

Generating research questions. AI is a useful brainstorming partner for identifying gaps and framing questions. Deciding which questions are actually worth pursuing is where domain expertise is irreplaceable.

Tools I use

I group these by where they help most in the process.

For mapping a field and discovering papers:

For reading and summarizing individual papers:

A note on limitations

AI-generated summaries should always be checked against the original paper. Models can miss methodological nuances, misinterpret results, or hallucinate findings. The risk is highest exactly where it matters most: the assumptions, caveats, and subtle design choices that determine whether a study’s conclusions hold. In practice, always verify any extracted information against the source before citing it or using it in a model. Use AI to read faster, not to avoid reading.


Agentic Coding for Research Projects

For research code, I increasingly work with coding agents rather than writing everything by hand. What differentiates this from “just letting AI write code” is the structure around it: a clear specification, work delivered in reviewable phases, and validation built in from the start.

The high-level workflow I follow:

Research Question
       ↓
Project Specification
       ↓
Agent-Assisted Development
       ↓
Testing & Validation
       ↓
Human Review
       ↓
Research Output

Planning

Good agentic coding is mostly good planning. The time spent here pays off many times over.

Development

Reproducibility and Validation

For infectious disease modeling this section matters most, because it is what separates accelerated implementation from accelerated mistakes.

AI can accelerate implementation, but scientific validity remains the responsibility of the researcher.


Example Project

To make this concrete, I’m putting together a fully documented example that walks through the entire workflow:

GitHub Repository: tm-pham/tb-incidence-brazil-stan