Home › Glossary › Fundamentals › Reinforced Prompting

Intermediate · Fundamentals

Reinforced Prompting

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. An iterative prompting technique where an LLM's response is used as feedback to refine subsequent prompts, guiding it towards better outcomes.

Technical Definition

An iterative prompting technique where an LLM's response is used as feedback to refine subsequent prompts, guiding it towards better outcomes.

How it works

Reinforced prompting is a form of self-correction where the LLM's own outputs inform the next prompt. If an initial response is unsatisfactory, the user or another AI component can analyze it and generate a refined prompt to steer the model towards a more desired output. This process mirrors aspects of reinforcement learning in the prompt layer, enhancing iterative problem-solving and quality control.

Related Concepts

  • Prompt Engineering — The art of crafting effective input instructions to guide LLM behavior without changing model weights.
  • Feedback loop — A feedback loop occurs when a model's output influences its future input or training data, potentially leading to system drift or reinforcement of biases.
  • Agentic AI — AI systems designed to independently plan, execute, and adapt actions to achieve a given goal, often involving multiple steps and external tools.