Multi-Arm Bandit Traffic Control for Software Experimentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for controlling traffic flow in software experimentation face complexity as the number of features increases, leading to inefficient testing and potential premature convergence, which can result in inadequate feedback for new features and incorrect selection of preferred features.

Innovation Solution

A method and system using a multi-arm bandit (MAB) solution, such as epsilon-greedy, to dynamically adjust the apportionment of users to receive existing or new features, with thresholds bounding the portions to ensure continued feedback collection and convergence towards an optimal apportionment, minimizing Bregman divergence and preventing premature termination.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual traffic control is used to ensure sufficient sample size, then feedback quality is improved, but system complexity increases exponentially with the number of features

Engineering Contradiction:
Improvefeedback qualityVSAvoidtraffic control complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements self-service through automated multi-arm bandit algorithms that dynamically allocate traffic to features based on real-time performance feedback. The algorithm automatically determines optimal traffic distribution without manual intervention, allowing the system to self-regulate and adapt as features are added or removed, thereby eliminating the exponential complexity growth that would otherwise require manual management.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically changes traffic allocation parameters based on observed feature performance. The multi-arm bandit algorithm continuously adjusts the proportion of traffic directed to each feature, modifying allocation parameters in real-time based on feedback data. This dynamic parameter adjustment replaces static manual configuration, enabling the system to handle any number of features without proportional increases in management complexity.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If traffic is concentrated on a single preferred feature, then testing efficiency is improved, but premature convergence occurs resulting in inadequate feedback for other features

Engineering Contradiction:
Improvetesting efficiencyVSAvoidfeedback adequacy
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The system implements continuous feedback loops where user interactions with features are monitored and fed back to the multi-arm bandit algorithm. This feedback mechanism prevents premature convergence by constantly updating the algorithm's understanding of feature performance, ensuring that even features receiving less traffic continue to provide valuable feedback. The feedback loop maintains exploration of multiple features while progressively exploiting the best-performing ones.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The traffic allocation system is dynamically adaptive rather than static. The multi-arm bandit algorithm continuously adjusts traffic distribution based on evolving performance data, allowing the system to transition from exploration (equal traffic distribution) to exploitation (concentrated traffic on best features) and back again if performance patterns change. This dynamic behavior prevents premature convergence while maintaining testing efficiency.

Inventive Principle:
Principle #15Dynamics

3Loss of information

If equal traffic distribution is maintained across all features, then feedback collection is improved, but convergence towards optimal feature selection is slowed

Engineering Contradiction:
Improvefeedback collectionVSAvoidconvergence time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The system implements periodic reevaluation of feature performance at scheduled intervals. Between these periodic checkpoints, the algorithm progressively shifts traffic toward identified preferred features. At each periodic interval, the system reassesses feature performance and adjusts allocation accordingly, maintaining a balance between continued feedback collection and convergence toward optimal selection. This periodic action prevents both premature convergence and excessive exploration time.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12113682B2Machine learning based traffic flow control for adaptive experimentations
Publication Date: 2024.10.08 INTUIT INC
  • US12113682B2 patent drawing
  • US12113682B2 patent drawing
  • US12113682B2 patent drawing

AI summary

Systems and methods for controlling traffic flow for software experimentation are disclosed. An example method includes receiving a first traffic from a first plurality of users to receive an existing feature or a new feature, determining, from the first traffic, a first portion of the first plurality of users to receive the existing feature (with the first portion bounded by a first lower threshold and/or a first upper threshold) and a second portion of the first plurality of users to receive a new feature (with the second portion bounded by a second lower threshold and/or a second upper threshold). The method also includes providing the existing feature to the first portion, providing the new feature to the second portion, receiving feedback from the first plurality of users, and adjusting the first portion and/or the second portion based on the feedback and based on the bounds.