Large language models (LLMs) continuously making progress in generating contextually and semantically meaningful texts, but they still suffer from the risks of generating incoherent, false, unreliable or even toxic texts. To address this issue, there is an increasing interests in teaching LLMs to be able to refine their generated outputs.
In a new paper Shepherd: A Critic for Language Model Generation, a Meta AI research team presents Shepherd, a language model that are explicitly tuned to critique model generated outputs as well as to generate feedbacks to suggest improvements on solving the factuality, logical errors, coherence, and alignment issues.

The team starts by gathering feedback from two communities: Stack Exchange and the Pushshift Reddit Dataset. They clean the dataset as a question-answer-critique triad, with a post’s title and the sub-title as a question, the corresponding top-level comments as answer, and the replies to these comments as critiques.
To curate valid critiques, the researchers employ several techniques: 1) keyword filtering to match answer to two cases: large accurate answer or answer contains inaccuracies; 2) user edit history to identify the case where the critique leads to a refinement of the original answer; 3) incorporate additional filters linked with community vote scores to further refine the data to improve critiques; 4) choose highest critique score to maintain diversity; 5) incorporate a profanity check and eliminate lower score comments to manage offensive language; 6) filter URLs, images, or videos to key it text-only; 7) identify and remove comments to preserve the integrity of the Q&A format.

To ensure high-quality data, the researchers further conduct several postprocessing: 1) remove examples with red flags; 2) remove feedback on error types of “Redundancy” and “Consistency with context”; 3) concatenate the feedback from different error types into a paragraph using natural words to better identify example with different error type. As a results, they obtain 1,317 high quality examples in total.
The team selected LLaMA-7B (Touvron et al., 2023) as the base model for Shepherd training. Given the questions and the corresponding answers generated by large language models, Shepherd is trained to critique the generated answer by detecting errors or providing insightful feedback.

In their empirical study, the team compared Shepherd with several state-of-the-art language models, such as Alpaca 7B (Taori et al., 2023), SelFee-7B (Ye et al., 2023) and ChatGPT (GPT-3.5 Turbo). Shepherd outperforms Alapca and SelFee by a large margin and matches the performance of ChatGPT. The team believes Shepherd will be helpful to improve generation quality and reduce hallucinations.
The paper Shepherd: A Critic for Language Model Generation on arXiv.
Author: Hecate He | Editor: Chain Zhang

We know you don’t want to miss any news or research breakthroughs. Subscribe to our popular newsletter Synced Global AI Weekly to get weekly AI updates.

Pingback: Meta AI’s Shepherd Criticize Language Model Outputs to Crash Hallucinations
Pingback: Meta AI’s Shepherd Criticize Language Model Outputs to Crash Hallucinations – Ai Headlines
Your post gave me a lot of useful information. This is a topic that interests me as well, so I hope you will read the article.
Oh this is exactly what I need and am looking for. Hope you will continue to update more articles.
I look forward to the results and great Palworld Breeding Calculator things that Shepherd brings. It will become AI with superior features and capabilities
great post!
google
nice google
We should be selective when using bob the robber
Meta AI has been actively addressing the Sprunked issue of hallucinations in large language models (LLMs) by developing mechanisms to critique and refine AI-generated outputs. Hallucinations, in the context of artificial intelligence, refer to instances where AI systems produce outputs that are factually incorrect or misleading.
Unlike models that just generate text, Shepherd acts like a built-in critic or editor: it evaluates a given answer, identifies dead plate errors or weaknesses, and provides constructive feedback on how to improve it.
Kontext Dev helps you create high-quality images with AI local editing. Enjoy your free trial and easily refine details without starting from scratch.
Unlock your creativity with Flux Krea — the innovative AI solution for generating lifelike images from text instantly.
HEIC to JPG – Fast & Easy HEIC Image Converter
Brat Generator lets you create brat-style images online with the iconic green background and brat font.
Interesting approach from Meta AI on using a trained critic model like Shepherd to reduce hallucinations in LLM outputs. The technique of gathering high-quality critique triads from community platforms is particularly clever for bootstrapping robust feedback. It reminds me that while language models focus on factual consistency, there are other domains where AI interprets human characteristics from visual inputs—such as using a photo for AI personality prediction from palm analysis, which offers a different angle on how machine learning can be applied to subjective human traits. Shepherd’s success in matching ChatGPT for critique generation shows the promise of specialized models in targeted evaluation tasks.
This is a fascinating approach to reducing hallucinations by training models to critique their own outputs. The use of community feedback from Stack Exchange and Reddit to build a critique dataset is particularly clever, as it grounds the model in real-world error patterns. For anyone working on language learning applications, this kind of self-critique loop could be invaluable—especially for tone languages like Mandarin where subtle pronunciation errors change meaning entirely. I’ve been exploring similar ideas in my own practice, and I’ve found that combining model-based feedback with hands-on repetition works best. If you’re learning Chinese tones, a great complementary resource is this interactive tone practice tool that uses game-like drills to build muscle memory. It’s not a critic model, but the immersion approach helps internalize the feedback from any tutor or app.
Thanks for this detailed breakdown of Shepherd’s training data curation. The multi-step filtering to ensure high-quality critiques is impressive, and it highlights how much effort goes into reliable feedback loops. This reminds me that the same principle applies to content curation in general—whether refining AI outputs or selecting entertainment. For instance, when I’m looking for a quick game to relax with, I appreciate directories that hand-pick titles and provide honest reviews, like free browser visual novels. It saves time and avoids the duds. Shepherd’s approach could even inspire better recommendation systems for such platforms.
The Shepherd paper’s approach to using critiques for reducing hallucinations is a solid step for LLM reliability, and the data curation from Stack Exchange and Reddit is particularly thorough. In creative fields, a similar iterative refinement process is often needed. For example, when preparing stencils for Cricut cutting or spray painting, the design must be precise and error-free. Tools like Cricut stencil maker can automate converting photos or text into clean, cut-ready stencils, but the principle of critical evaluation remains key to a polished result.
The Shepherd paper’s core insight, that a smaller tuned critic can catch factuality and logic errors while matching ChatGPT-level feedback, feels especially relevant now that critic-style loops show up in so many agent pipelines. The data curation details here are the part I find most underrated: filtering for critiques that actually led to an edit, plus the profanity and URL scrubbing, is what separates usable feedback from noise. In my own work on fan wikis, the same lesson applies: player-facing guides live or die on verifiable sourcing. That’s why I appreciate resources that date-stamp claims and cite where numbers come from, like this PokeBonk tier list and unlock guides which documents its Kit Score formula rather than asserting rankings. Curious whether Shepherd’s critique approach generalizes to structured data, not just prose.
Shepherd’s approach to self-critique is a smart step toward more reliable LLMs. Reducing hallucinations through explicit feedback loops could change how we trust AI-generated content. Worth watching. Visit Website
The detail about mining Stack Exchange and Pushshift for question-answer-critique triads is what makes Shepherd interesting to me, since the feedback signal is grounded in real community corrections rather than synthetic annotations. The caveat I keep coming back to is that 1,317 high-quality examples is a very small training set, so the strong comparison against Alpaca and SelFee may partly reflect how narrow the critique task is. In practice, pairing a critic model with a deterministic data layer tends to be more reliable than letting the critic judge everything end to end. I have seen the same pattern of trusting a clean export over a generative guess when auditing social accounts, for example with this Instagram unfollower checker that parses your own data download locally and produces an exact list of non-followers instead of estimating. Shepherd still looks like a solid step toward self-refining generation.
The data curation pipeline in Shepherd is the part I keep returning to: pulling critiques from Stack Exchange replies and Pushshift Reddit threads, then filtering with vote scores, edit history, and profanity checks down to roughly 1,300 high-quality triads feels like the real contribution here, more than the LLaMA-7B fine-tuning itself. A single-pass critic that matches ChatGPT on error detection is impressive, but I suspect the larger practical win comes from the iterate-critique-refine loop, where the same critic is reused across several generation attempts. That pattern generalizes well beyond text, too: any generative pipeline where the artifact is cheap to regenerate benefits from a cheap, fast evaluator in the loop. I have seen this with image and GIF generation, where you get a fast retry cycle and only need to keep the best output. A nice example of AI turning a description into a looping GIF is AI GIF generator, which illustrates how an iteration loop can improve output quality.
The interesting problem isn’t the critic itself but how you keep it from drifting toward the same biases as the model it grades – a critic tuned on preference data inherits that data’s blind spots. Curious whether they hit false negatives on outputs that were wrong but stylistically convincing. I have a few notes on an earlier critique-model paper where exactly that showed up.