Hello, everyone!
We continue our wonderful series of articles on prompting 🤖✨
Today, we will explore four effective feedback prompting techniques that will help you achieve even better results from AI! 🚀
🧠 What Are These Techniques and Where Did They Come From?
To work with AI as efficiently as possible, experts have developed a range of powerful techniques 🛠️. They were born at the intersection of science, engineering practice, and everyday user experience.
Main methods of feedback prompting:
- ✍️ Explicit Feedback Prompting — open expression of comments and suggestions.
- 🔄 Iterative Refinement — gradual refinement of responses through multiple iterations.
- 🧐 Critique and Revision Prompting — the model critiques and improves the results itself.
- 🧩 RLHF (Reinforcement Learning from Human Feedback) — choosing the best from several options. —
✍️ 1. Explicit Feedback Prompting
Let’s start with a simple yet very effective method!
What it is:
You provide the model with specific and polite feedback 📜: what needs to be changed and how to improve the response.
When useful:
When the first response seems superficial or incomplete 🔍
How it looks:
Prompt:
Write an article about interesting facts about Antarctica.
First response:
Antarctica is a cold continent. There is almost no vegetation or animals here.
Feedback:
The text seems too general.
Please add specific data about temperatures, research stations, and local fauna.
Revised Response:
Antarctica is the coldest continent, where the average winter temperature can reach -60°C.
There are approximately 70 research stations, and the known animals include emperor penguins and Weddell seals.
🔄 2. Iterative Refinement
Let’s continue! Let’s see how you can refine results step by step 🔧
What it is:
Gradual refinement and improvement of responses in multiple stages.
When it’s useful:
When you want to achieve maximum quality ✨
Prompt 1:
Write a summary of the book "1984" by George Orwell.
Response:
"1984" is a novel about a totalitarian state where the protagonist, Winston, tries to resist the system.
Feedback:
Add more emotional moments and emphasize Winston's fear of Big Brother
Revised Response:
"1984" tells the story of life under total surveillance, where Winston Smith lives in constant fear and tries to maintain his humanity.
And so on. In this way, we refine each iteration of the model’s work until we achieve the format we need.
🧐 3. Critique and Revision Prompting
Next level! Forcing AI to Criticize Itself 🕵️♂️
What it is:
The model evaluates the quality of its own response and suggests improvements.
When it’s useful:
When you want to awaken critical thinking in the model 🧠
Prompt:
Write an essay on the importance of environmental awareness. Then evaluate and improve your text.
First response:
Environmental awareness is crucial for preserving nature and sustaining life on the planet. It is important to sort waste and conserve resources.
Critique of the Model:
Analyze the text, identify stylistic and grammatical errors, and correct them.
Revised Response:
Every day, we choose the future: recycling plastic, conserving water, supporting local producers. Environmental awareness is our contribution to a healthy planet.
In this way, we instruct the model to analyze and apply the corrections to the text. Sometimes, this can be very useful. This technique is actively used in creating agents. We will explore this in more detail next time.
🧩 4. RLHF (Reinforcement Learning from Human Feedback)
And finally, a technique for those who want to choose the best 🔥
What it is:
Creating several options → choosing the best one → improving it.
When useful:
When you want a truly perfect result 🌟
Prompt:
Provide 3 answer options to the question: Why is it important to preserve biodiversity?
Options:
1. Supporting Ecological Balance
2. Providing Food and Medicine for Humanity
3. Impact on Climate Stability
Feedback:
The third option seems the best! Add specific facts.
Improvement:
Biodiversity plays a central role in climate stability: forests absorb CO2, and oceans regulate temperature. The loss of species leads to ecological disasters.
This technique works when you have conducted some analysis yourself and more or less know what you want to achieve. ### 🎯 Results
Now you know:
- How to give AI clear and precise feedback ✍️
- How to refine results over several iterations 🔄
- How to make the model self-evaluate its responses 🧐
- How to select and improve the best options 🧩
Attention! The best results are achieved by combining different approaches. However, it should be noted that since the context size in models is not unlimited, they may eventually lose the initial requirements or reduce their importance. Therefore, when giving feedback, it is advisable to periodically clarify previous requirements.
📣 Try it yourself!
Write a simple prompt and:
- Evaluate the result 🎯
- Provide feedback 🤓
- Ask the model to clarify or critique itself 🔍
- Create several versions and choose the best one 🌟
PS:
Thank you, friends, for staying with me! I hope, as always, my article will be useful to you. I would be very grateful for your likes, comments, and support of the project – bel-geek.com !