Research Skill Center All articles
Research Methodology

The Audit Trail Behind the Algorithm: Documenting Generative AI in Research Methods

Research Skill Center
The Audit Trail Behind the Algorithm: Documenting Generative AI in Research Methods

Photo: researcher documenting AI workflow on laptop in laboratory, via i.pinimg.com

Generative AI has moved from the periphery of research support to the center of everyday workflows in many US labs. It helps teams screen literature, draft code, transcribe interviews, summarize meeting notes, and produce first-pass text. Those uses can be legitimate and efficient. They also create a methodological record that is easy to leave incomplete. A prompt saved in a chat history is not a protocol, and a model name is not a version. When another researcher tries to replicate the work, the difference matters.

Why a Prompt Log Is Not a Methods Section

A prompt describes one instruction at one moment. A methods section has to describe a procedure that another qualified researcher could follow. For AI-assisted work, that means documenting the tool, the model version, the date of access, the task, the input data, the human review steps, and the conditions under which outputs were accepted or rejected. Without those elements, a replication attempt can only guess at what happened.

Model versions are especially important. Providers update, deprecate, and silently alter models. A workflow that worked in one interface may behave differently in another, and stochastic outputs can vary even with identical prompts. Researchers should record the model identifier exactly as displayed, the access route, and any settings that affect variability, such as temperature or seed controls where available. If the provider does not expose a stable version, that limitation belongs in the methods section.

A Minimum Disclosure Standard

US labs do not need a single government-mandated template, but they do need a consistent internal standard. A practical minimum includes:

This standard should be proportionate. A lab using AI to format references needs less detail than a lab using AI to code qualitative interviews. The point is to make the level of scrutiny visible, not to bury every project in paperwork.

Validate the Output, Not Just the Workflow

Documentation alone does not make an AI-assisted method rigorous. The output still needs independent verification. For literature triage, that means spot-checking included and excluded records against a manual search. For coding, it means comparing AI-assisted codes with human codes on a calibration sample and reporting disagreement. For transcription, it means checking a random sample against audio and documenting correction rules. For drafting, it means verifying every factual claim against a primary source.

Validation should be planned before the work begins. A lab can specify the sample size for spot checks, the acceptable error rate, and the escalation path when the error rate is exceeded. Those decisions belong in the protocol, not in a post hoc memo written after a reviewer asks a difficult question.

Where AI Changes the Reproducibility Equation

AI introduces several reproducibility problems that conventional methods sections do not address. Proprietary models may be withdrawn. Outputs may be nondeterministic. Training data may be contaminated or undisclosed. The same prompt may produce different results across accounts or regions. An archived output can preserve what was used, but it cannot always preserve the process that produced it.

Researchers should therefore archive the actual outputs that informed the analysis, not only the prompts. They should record any manual edits made to AI-generated text or code. They should note whether the model was used for discovery, confirmation, or both, because using the same tool to generate and verify a claim weakens the independence of the check. And they should state clearly which judgments remained human.

A One-Page AI Methods Appendix

A concise appendix can accompany the main methods section. It should include a short description of each AI-assisted task, the model and version, the date of access, the input and output retention location, the verification procedure, and the known limitations. A table with columns for task, tool, version, human review, and archive location is often enough. The appendix should be written for a reader who wants to reproduce the work, not for a reader who wants to admire the technology.

The Standard Is Scrutiny, Not Suspicion

Documenting AI use is not an accusation. It is an ordinary extension of the methodological record. The goal is not to treat generative AI as a scandal or a savior, but to make its role visible enough that another researcher can evaluate the work. A prompt is not a protocol. A protocol is the account of what was done, what was checked, and what remains uncertain. When AI enters the workflow, that account has to enter the methods section with it.

All Articles

Related Articles

Your Data Is a Time Capsule: Designing a File System Your Future Self Can Actually Open

Your Data Is a Time Capsule: Designing a File System Your Future Self Can Actually Open

What the Methods Manual Never Mentions: The Unwritten Practices That Define Rigorous Labs

What the Methods Manual Never Mentions: The Unwritten Practices That Define Rigorous Labs

Borrowed Time: How Small Methodological Compromises Accumulate Into Career-Defining Credibility Problems

Borrowed Time: How Small Methodological Compromises Accumulate Into Career-Defining Credibility Problems