NAVIGATION

What is Rejection Sampling?

Definition

Rejection Sampling

Rejection Sampling (in LLMs) is a data curation technique where a generator model produces multiple candidate answers, and a separate evaluator model filters out low-quality outputs. The remaining high-quality responses are then used for supervised fine-tuning.

Why It Matters for AI Builders

Helps AI builders design and scale robust architectures; mastering the implementation of Rejection Sampling improves latency, accuracy, and operational efficiency for high-quality instruction dataset creation, code correctness filtering, and model bootstrapping.

Detailed Deep Dive

Rejection sampling is a dataset purification technique widely used in alignment training (SFT and RLHF). A source model generates multiple candidate completions for a set of instructions, and a separate evaluator (or reward model) filters out low-scoring or incorrect responses. The remaining top-quality examples are saved to form clean demonstration datasets, bootstrapping model capabilities without human labeling.

Advertisement

Frequently Asked Questions

Q:How does rejection sampling improve LLM training?

It filters out poor reasoning steps or incorrect outputs, ensuring the model only learns from high-quality, correct demonstrations.

Q:What is another name for this process?

It is often referred to as best-of-N sampling or self-training with selection.

Quick Facts

  • CategoryModel Training
  • Key ApplicationHigh-quality instruction dataset creation, code correctness filtering, and model bootstrapping

Coverage Trend12 Weeks

12w agoToday

Cite This Term

Reference this definition in your articles, research, or documentation to credit this source:

[Rejection Sampling | SPIDITS Glossary](https://spidits.com/ai-glossary/rejection-sampling)

Rejection Sampling Media Coverage & Intelligence

No Direct Rejection Sampling News Today

We currently have no direct coverage articles matching "Rejection Sampling". Explore trending global AI topics below instead.

Trending AI Stories

AWS ML BlogSep 30, 2026

Amazon Bedrock expands Claude model availability to in-country inferencing in India

Anthropic's Claude Opus 5, Claude Sonnet 5, and Claude Haiku 4.5 are now available in India through Amazon Bedrock geographic cross-Region inference. You can...

AWS ML BlogSep 30, 2026

Introducing Anthropic models on Amazon Bedrock for in-region inference in Seoul and Singapore

Amazon Bedrock now supports Anthropic's Claude Opus 5 and Claude Sonnet 5 with in-region inference in Seoul, and Claude Sonnet 5 in Singapore. If you have...

AWS ML BlogSep 29, 2026

Prompt engineering fundamentals for Amazon Quick

Prompt engineering in Amazon Quick shapes how accurately its AI-powered feature respond to your requests. Part 1 of a two-part series covers the...

AWS ML BlogSep 29, 2026

Prompt engineering by Quick component: Patterns and pitfalls

Part 2 of our Amazon Quick prompt engineering series goes component by component. Learn the prompt patterns that get the best results from Amazon Quick...