← All questions
AgentsHard· Sampling· Reasoning· Self-Consistency

Self-consistency and self-reflection both sample the mo...

The difference lies in the conditioning. Self-consistency draws are exchangeable, which allows for error cancellation. Reflection draws are sequential; each draw is conditioned on the previous output, meaning the model is trapped in its own previous commitments. The observed gains in self-consistency are limited by the residual correlation between samples from the same model on the same prompt.

Code playground (Python)