Dynamic Experimentation Evaluation System Using SPRT

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional A/B testing methods are limited in real-time decision-making due to fixed-horizon configurations, which can conclude without sufficient samples, reducing the system's ability to respond dynamically to adverse situations and limiting its ability to provide reliable results for software testing.

Innovation Solution

The implementation of a dynamic experimentation evaluation system that employs a sequential probability ratio test (SPRT) to continuously assess differences in user behavior between two versions of a software product, allowing for real-time monitoring and alert generation, and adjusting user assignments to achieve statistical significance without a fixed sample size.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a fixed-horizon A/B test configuration is used, then the test can be completed with a predetermined sample size, but the test may conclude without sufficient samples reducing reliability of results

Engineering Contradiction:
Improvereliability of test resultsVSAvoidcomplexity of test configuration
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies dynamic sequential testing by replacing fixed-horizon sample size determination with continuous monitoring of test statistics. The system dynamically adjusts the testing horizon based on accumulating evidence, allowing early termination when statistical significance is achieved while ensuring minimum sample requirements are met. This transforms the static test configuration into an adaptive process that responds to actual data quality and effect size observations.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If a fixed sample size is predetermined, then the test structure is simple, but the system cannot respond dynamically to adverse situations

Engineering Contradiction:
Improveability to respond to adverse situationsVSAvoidtime to detect significant effects
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent implements continuous feedback mechanisms by monitoring test statistics and performance metrics in real-time throughout the experiment. The system uses sequential probability ratio tests and other statistical methods to continuously assess whether the null hypothesis should be rejected, enabling dynamic response to adverse situations such as treatment harm or futility. This feedback loop allows the system to adapt sample allocation and termination decisions based on accumulating evidence rather than relying on pre-fixed parameters.

Inventive Principle:
Principle #23Feedback

3Reliability

If continuous real-time evaluation is performed, then timely detection of significant differences is achieved, but computing resources are consumed

Engineering Contradiction:
Improvetimeliness of result detectionVSAvoidcomputing resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies partial action by implementing selective continuous monitoring rather than exhaustive real-time analysis of all possible metrics. The system focuses computational resources on evaluating specific pre-specified hypotheses and key performance indicators using efficient sequential testing methods. By concentrating analysis on the most critical comparisons and using early stopping rules, the system achieves timely detection of significant effects while avoiding the computational overhead of continuous full-scale analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentEP3740875B1Dynamic experimentation evaluation system
Publication Date: 2023.11.29 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP3740875B1 patent drawingFigure 1
  • EP3740875B1 patent drawingFigure 2
  • EP3740875B1 patent drawingFigure 3

AI summary

A dynamic experimentation evaluation system provides a framework in which a continuous stream of metric data is monitored to establish a causal relationship between changes in a software program and the effect of user-observable behavior. In one aspect, an A/B test is performed continuously on a stream of metric data representing the usage of a control version of software product and the usage of a treatment version of the software product. A sequential probability ratio test (SPRT) is used as the test statistic to determine when to terminate the test and produce results within a specific confidence interval and controlled error rate.