Manuscript Offprint

arXiv:2610.23082

The Ethics of Prompt Engineering

Federico Germani, Giovanni Spitale

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Prompt engineering is commonly understood as a technical practice aimed at eliciting useful, accurate, and appropriately structured outputs from large language models (LLMs). Yet prompts do more than optimize model performance: they shape what information is elicited, which assumptions are introduced, and which perspectives are privileged. In this paper, we argue that prompting should therefore be understood as an epistemic and normative act. We distinguish between two conceptions of prompting: knowledge generation, in which the model is implicitly treated as an epistemic authority, and knowledge injection, in which users provide relevant knowledge, evidence, and context that the model can organize, articulate, and extend. We contend that the latter provides a more appropriate model for responsible LLM use, since prompting cannot substitute for subject-matter expertise or the critical evaluation of model outputs. At the same time, prompts inevitably inject values, intentions, and assumptions into the generation process. Building on these premises, we propose five principles for responsible prompting: epistemic humility, explicit engagement with uncertainty and epistemic underdetermination, source sensitivity, avoidance of deceptive framing, and recognition of model limitations and appropriate task allocation. We further argue that responsibility for AI-generated outputs is distributed across users, developers, institutions, and societies, and that some applications cannot be rendered ethical through better prompting alone.

An introduction to prompting

Large language models (LLMs) have introduced an unusual form of human–machine interaction, largely controlled through natural language. The quality of this interaction can profoundly shape the direction and quality of the resulting output. As a result, prompting has emerged as a skill that mediates the relationship between users and AI systems, influencing what information is produced, how it is presented, and how it is ultimately interpreted and acted upon. We could therefore say that, at its most basic, prompt engineering is the practice of deliberately structuring inputs to a LLM in order to elicit outputs that are useful, accurate, and appropriately scoped. While the technical dimensions of this practice have received growing attention, its ethical dimensions remain underexplored. Prompting is often discussed as a matter of efficiency: how to obtain more accurate answers, more relevant information, or outputs that better satisfy a user's goals. Yet the way a task is framed influences what information is elicited, what assumptions are introduced into the interaction, which perspectives are emphasized or neglected, and how uncertainty is represented. In this sense, prompting acts as a form of epistemic guidance, shaping not only the quality of an output but also the conditions under which knowledge is produced and interpreted.

Before addressing these ethical questions, however, it is worth clarifying what makes a prompt effective in the first place — since, as we shall argue, effectiveness and ethics are more tightly intertwined than they may initially appear. Effective prompting can be achieved with different techniques. (1) It begins with intent. The user must articulate what task the model is expected to perform and what would count as a satisfactory output. This requires the use of clear, action-oriented language: for example, verbs such as explain, summarize, compare, critique, and rewrite produce more reliable and focused results than open-ended invitations to explore. The prompt should also specify the intended audience — whether colleagues, students, reviewers, or a general public — since the level of technicality, the appropriate register, and the expected depth of the output all depend on who will ultimately read it. (2, 3) Contextual information should be added only when it genuinely changes the output. Padding prompts with lengthy background text that the model cannot meaningfully use introduces noise without improving results. Conversely, constraining the output — by defining structure (paragraphs, bullet points, tables), tone (neutral, cautious, analytical), and length — produces more reliable and actionable results. Equally important is specifying what the model should not do, and what uncertainties it should acknowledge. (2, 3)

Roles can be assigned to the model to shape its style and framing — for instance, "act as a science communicator" or "respond as a policy analyst." Persona prompts can also measurably affect task performance, including accuracy, although these effects vary across models, tasks, and personas and are not reliably beneficial. Crucially, however, assigning an expert role does not confer expertise that the model does not possess. Instructing a model to "act as a cardiologist" may change how it frames or even answers a medical question, but it does not guarantee greater medical accuracy or reliability. (4–7) Finally, the output of any prompt should be treated as a draft, not a final product. Iterative refinement, targeted feedback, and critical evaluation — asking whether the response matches the task, whether its claims are accurate, and whether its reasoning is epistemically sound — are not optional steps but constitutive features of responsible use. (8) But more to this, later.

References (27)