1. Input-Based Techniques
Last updated
Input-Based Techniques focus on how we present the problem to the model.
Before a model reasons, retrieves knowledge, or generates output, it must first interpret the input correctly. If interpretation fails, everything that follows becomes unreliable.
Input-based techniques control:
Task clarity
Scope definition
Context boundaries
Instruction precision
Role alignment
In simple terms:
If reasoning is the brain, input design is the instruction manual.
Clarity > Length Specificity > Generality Structure > Free-form text
Good input does not mean longer input. It means clearer instruction.
Large Language Models do not truly “understand” meaning. They interpret patterns in text based on probabilities.
If the input is:
Ambiguous → output becomes inconsistent
Vague → model fills missing gaps
Overloaded → model loses focus
Underspecified → assumptions increase
Good input design reduces these risks.
Input-based techniques aim to:
Reduce ambiguity
Define clear task boundaries
Align the model to a specific role
Control scope before reasoning begins
Increase predictability
They operate at the very first stage of prompt processing.
If input design is weak, later techniques (reasoning, output control) cannot compensate effectively.
Under Input-Based Techniques, following are typically included. Each of these changes how the model interprets the task before generating output.
Zero-shot prompting
One-shot prompting
Few-shot prompting
Role-based prompting
Instruction-based prompting
Context injection
Structured input formatting
Before diving deeper, here are common issues:
Asking multi-layered questions in one sentence
Mixing instructions and examples without separation
Not defining output expectations
Providing insufficient context
Providing too much irrelevant context
Leaving role undefined
These lead to:
Hallucination
Irrelevant answers
Overly verbose responses
Incorrect assumptions
Last updated
Problem Definition
↓
Input Design ← (Input-Based Techniques live here)
↓
Reasoning
↓
Output Generation
↓
Validation