03 · What You Need to Know
Understanding Prompting as a Component of Research Methodology
What is prompting in generative AI research?
Prompting refers to supplying instructions, questions, examples, contextual information, or other inputs intended to guide an AI system's response.
In research, prompts may specify the task, define analytical categories, establish output requirements, or provide evidence that the model should examine.
For example, a researcher may ask a language model to extract sample sizes from published studies, classify qualitative interview excerpts, or evaluate the completeness of research summaries.
The prompt establishes part of the operational procedure through which the AI system performs these activities.
However, the visible user prompt may not represent the complete input context. System instructions, developer instructions, retrieved documents, examples, and conversation history may also influence the output.
When does prompting become part of the research method?
Prompting becomes methodologically significant when the resulting AI behavior contributes to the evidence or analytical process of the study.
For example, prompts used to classify research abstracts can affect the categories assigned to each article.
Prompts used to generate simulated survey responses can affect the resulting synthetic dataset.
Prompts used to evaluate another AI model can influence the judgments recorded as performance outcomes.
In these cases, prompt design functions as part of the research procedure and should be documented accordingly.
The key consideration is whether prompt variation could materially influence the results being reported.
Is every use of AI prompting a research method?
No. The role of the prompt matters.
A researcher may use AI to improve the wording of an administrative email or brainstorm possible article titles. These activities do not necessarily form part of the scientific method used to generate research findings.
However, AI assistance may still be subject to institutional or publisher disclosure requirements.
When AI contributes to coding research data, selecting analytical procedures, generating research stimuli, or evaluating study outcomes, the methodological implications become more substantial.
| AI activity |
Role of prompting |
Methodological implication |
| Editing administrative correspondence |
Ancillary writing assistance |
Usually not part of the empirical research procedure |
| Classifying research abstracts |
Determines classification instructions |
Part of the analytical procedure |
| Coding interview transcripts |
Defines coding task and categories |
Part of qualitative data processing |
| Generating experimental stimuli |
Shapes materials presented to participants |
Part of stimulus development |
| Simulating participant responses |
Shapes synthetic observations |
Part of the simulation procedure |
| Evaluating AI-generated answers |
Defines evaluator instructions and criteria |
Part of outcome measurement |
These distinctions should be interpreted according to the specific study rather than treated as rigid categories applicable to every research design.
How is a research prompt different from an ordinary prompt?
An ordinary prompt may be written primarily to obtain a useful response.
A research prompt is designed or selected within a defined scientific procedure and contributes to an outcome that researchers intend to analyze, report, or reproduce.
Ordinary prompt
An instruction intended to obtain assistance or generate an output without necessarily forming part of a formal research protocol.
Research prompt
An instruction or input configuration used within a defined research procedure to produce, transform, classify, or evaluate information relevant to the study.
The distinction concerns methodological function rather than grammatical form.
The same sentence could be an informal request in one context and a formal experimental instruction in another.
Why can prompt wording influence research results?
Generative AI systems may respond differently to changes in wording, structure, examples, or contextual framing.
For example, asking a model to "identify the research methodology" may produce different classifications from asking it to "classify the study according to the predefined operational definitions provided below."
The second prompt supplies additional guidance that may change how the model interprets ambiguous cases.
Research on prompt sensitivity has shown that seemingly minor changes in prompt presentation can affect model performance.
Consequently, prompt wording should not automatically be treated as an inconsequential interface detail.
Researchers should consider whether their findings depend on the particular formulation used.
Can a prompt function as an experimental condition?
Yes. When researchers systematically manipulate prompt characteristics, the prompt can function as an experimental treatment or condition.
For example, a study might compare zero-shot prompting with few-shot prompting to determine whether examples improve research classification accuracy.
Another study might examine whether changing the order of instructions affects response stability.
Researchers should define the manipulated prompt features and control other relevant conditions where possible.
The resulting differences can then be analyzed as experimental outcomes.
However, causal interpretation depends on the design. If multiple prompt features change simultaneously, their individual contributions may be difficult to isolate.
Can prompting function as a measurement instrument?
In some research designs, prompting has a role analogous to a measurement instrument or administration protocol.
For example, when an AI model evaluates the quality of research summaries, the evaluator prompt specifies the dimensions and criteria used to generate ratings.
Changing those instructions may alter the scores.
However, the prompt alone is not the entire measurement instrument. The model, scoring rubric, reference information, generation settings, and output interpretation procedures may also contribute.
Researchers should therefore evaluate the validity of the complete measurement process rather than assuming that a carefully worded prompt guarantees valid judgments.
What is prompt sensitivity?
Prompt sensitivity concerns the extent to which AI outputs or performance change when prompt formulation varies.
A model may produce stable classifications across several equivalent prompts or show substantial differences when instructions are rephrased.
Researchers can evaluate prompt sensitivity by constructing justified variants and measuring variation in the resulting outcomes.
However, not all prompt variants are semantically equivalent.
Adding methodological definitions or worked examples changes the information supplied to the model and may therefore alter the task condition rather than merely its wording.
Researchers should distinguish superficial wording changes from substantive instructional differences.
The principles of measuring prompt sensitivity are relevant when interpreting these effects.
Should research prompts be prespecified?
Prespecification can strengthen confirmatory studies by reducing opportunities to select prompts based on favorable results.
Researchers may develop and pilot prompts before formal evaluation, then freeze the selected prompt for the final test dataset.
However, exploratory research may legitimately investigate multiple prompt formulations.
The important distinction is whether prompt development is exploratory or part of a prespecified confirmatory procedure.
Researchers should disclose when and how prompts were selected.
Further methodological considerations concerning prespecified AI prompts can help establish transparent evaluation protocols.
Is prompt engineering scientifically legitimate?
Yes. Developing prompts to improve task performance can be a legitimate component of AI system development.
For example, researchers may refine a classification prompt to clarify ambiguous categories or improve output formatting.
However, the development procedure should be separated from final evaluation when the study makes generalizable performance claims.
Repeatedly modifying prompts after inspecting final test results may create overfitting.
Researchers should document optimization criteria, development data, and the final selection procedure.
Prompt engineering is not inherently problematic. Undisclosed or poorly controlled optimization is the methodological concern.
What is prompt overfitting?
Prompt overfitting occurs when a prompt is optimized to perform well on a particular evaluation dataset without necessarily generalizing to new tasks or examples.
For example, a researcher may repeatedly modify a classification prompt until it produces the desired labels for a known set of abstracts.
The final prompt may appear highly accurate on those abstracts while performing less reliably on independent material.
Researchers should distinguish development performance from held-out evaluation performance.
Independent test data can help assess whether the selected prompt generalizes beyond the cases used during optimization.
Should researchers report unsuccessful prompts?
When unsuccessful prompts materially inform the development or interpretation of a study, documenting them can improve transparency.
For example, a study comparing prompting strategies should report the relevant prompt variants and their outcomes rather than presenting only the most successful formulation.
However, the level of reporting should correspond to the research objective.
A study does not necessarily need to reproduce every informal exploratory interaction in its main article.
Researchers can preserve development records and provide supplementary materials where appropriate.
The distinction between exploratory prompt development and final evaluation should remain clear.
What prompt information should be documented?
The required information depends on the system and research design.
| Documentation element |
Why it matters |
| Exact prompt text |
Preserves the instructions supplied during evaluation |
| Prompt role or location |
Distinguishes system, developer, user, or other available instruction layers |
| Examples and contextual material |
Documents information that may influence outputs |
| Model identifier and version |
Identifies the evaluated system configuration |
| Generation parameters |
Records settings that may influence response behavior |
| Conversation history |
Preserves preceding context when relevant |
| External tools and retrieval |
Documents additional sources of information or computation |
| Testing date and time |
Supports interpretation of changing model deployments |
| Prompt development procedure |
Explains how the final prompt was selected |
| Output processing and scoring |
Documents how generated responses became research results |
Some commercial systems do not expose every instruction layer or configuration detail.
Researchers should document what is available and acknowledge material limitations rather than inventing inaccessible information.
Is recording the exact prompt sufficient for reproducibility?
No. The same visible prompt may produce different outputs because of model changes, stochastic generation, hidden instructions, tool behavior, or conversation context.
Researchers should document the broader execution environment where relevant.
For example, a classification study may need to preserve the prompt, model identifier, testing period, input dataset, output records, and scoring procedure.
Repeated generations may also be necessary when response variability matters.
The relationship between response stability and reproducibility should be considered when designing the protocol.
Exact output replication may not always be possible, particularly when commercial models change without notice.
Should prompts be included in the research paper?
Researchers should provide enough information for readers to understand and critically evaluate the AI-assisted procedure.
For short prompts, the full text may fit within the methods section.
For complex workflows involving multiple prompts, examples, or long contextual materials, supplementary files or repositories may be more practical.
The manuscript should identify where the relevant prompt materials can be accessed.
However, confidentiality, privacy, intellectual-property restrictions, and licensing obligations may limit what can be publicly shared.
Researchers should explain material restrictions and provide an appropriate description of the procedure.
How should prompts be documented when they contain research data?
Prompts may contain participant information, unpublished research materials, confidential documents, or sensitive data.
Researchers should not automatically publish complete prompts when doing so would disclose protected information.
Instead, they may preserve restricted-access records, provide redacted examples, or describe the prompt structure without revealing confidential content.
However, redaction should not conceal methodological features necessary to interpret the findings.
Researchers should document what information was withheld and why.
Data-protection and research-ethics requirements should guide both prompt submission and subsequent archival practices.
Can prompt wording introduce research bias?
Yes. Prompts may contain assumptions that influence the model's interpretation.
For example, asking AI to "identify why this intervention failed" presupposes that the intervention failed.
A more neutral prompt might ask the model to assess whether the available evidence supports a conclusion about intervention effectiveness.
Leading instructions can influence generated interpretations and classifications.
Researchers should therefore examine whether prompts introduce assumptions not justified by the evidence.
Where possible, prompts should align with the research question and predefined analytical criteria.
Can prompts influence qualitative coding?
Yes. In AI-assisted qualitative analysis, prompts may specify coding categories, definitions, contextual information, and interpretive instructions.
Different prompts can produce different codes or interpretations.
For example, asking AI to identify evidence of student disengagement may emphasize negative experiences, while asking it to identify experiences of engagement and disengagement may produce a broader classification.
Researchers should consider whether the prompt reflects the theoretical framework and analytical approach.
AI-generated codes should not automatically be treated as validated interpretations.
Human review, coding consistency, and methodological transparency remain important.
Can prompts influence quantitative research results?
Yes, particularly when AI contributes to data extraction, classification, statistical coding, or analytical decisions.
For example, a prompt used to extract numerical findings from published articles may determine which values are recorded in a dataset.
Errors in extraction can subsequently influence descriptive statistics or meta-analytic estimates.
Similarly, prompts used to generate statistical code may influence model specification and analytical choices.
Researchers should verify AI outputs and preserve the relevant analytical records.
The use of AI does not remove responsibility for the validity of the resulting data or analysis.
Should prompting be treated as an independent variable?
It can be, but not in every study.
When researchers deliberately manipulate prompt characteristics to examine their effects, prompting may function as an independent variable.
When one fixed prompt is used to perform a classification task, the prompt is more appropriately understood as part of the measurement or processing procedure.
In other designs, prompts may form part of an intervention delivered to participants.
The methodological role should be defined according to the research question.
Researchers should avoid labeling every prompt an independent variable merely because it influences AI behavior.
How can researchers evaluate whether prompt results generalize?
Researchers can test selected prompts on independent datasets, different task categories, or additional model configurations.
They may also examine performance across justified prompt variants.
However, generalization claims should remain bounded by the tested conditions.
A prompt that performs well on English-language educational research abstracts may not perform equally well on multilingual or interdisciplinary documents.
Researchers should consider subgroup performance and relevant task variation when interpreting results.
How should prompting be described in the methodology section?
The methods section should explain what AI was asked to do, how the prompt was developed, which model and settings were used, and how outputs were processed or evaluated.
For example, researchers might report:
Illustrative Methods Description
"A predefined prompt instructed the language model to classify each research abstract as qualitative, quantitative, or mixed methods using the operational definitions established in the study protocol. The prompt was piloted on a separate development dataset and finalized before evaluation. Each abstract was submitted under a standardized conversation context. Model responses were preserved and compared against independently adjudicated reference labels. The complete prompt and relevant configuration details are provided in the supplementary materials."
This description establishes the methodological role of prompting without implying that the prompt alone guarantees valid results.
Researchers should adapt the level of detail to the complexity of the AI-assisted procedure.