The interview problem
Explain when paired samples U and 1−U reduce simulation variance.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
For U uniform on (0,1), both transforms have the same marginal distribution. Average f(U) and f(1−U). Pair variance depends on their covariance; negative covariance helps relative to two independent draws.
2. Trace the design or derivation
Uniform draw → paired transform → two function values → pair mean
Treat pairs as the independent units when estimating the standard error; the two members are intentionally dependent. A method that works for one scalar integrand can lose its advantage after thresholds, branching or discontinuous downstream transformations.
3. Calculate the example
For f(u)=u, every paired average equals 0.5, so variance is zero. For f(u)=(u−0.5)², the two values are identical, so pairing gives no new information.
4. Failure cases and trade-offs
Antithetic sampling is not universally beneficial. Comparing a two-evaluation pair with one ordinary evaluation misstates the compute budget.
5. Validation, follow-ups and self-review
Test monotone and symmetric functions. Follow-up: how would you estimate uncertainty from independent pairs? Self-review: explain marginals, covariance and equal-cost comparison.
Sources and related practice
Technical reference: artowen.su.domains — Antithetic pairing and covariance; original contrasting functions illustrate the limit.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Estimate expectations with Monte Carlo; Reduce Monte Carlo variance with a control variate.
Continue your preparation
Choose a connected learning path or browse more ML fundamentals questions. Read our editorial method and attribution policy.