Optimising Non-Linear Treatment Effects in Pricing and Promotions

Ryan OSullivan24 May 2024

Problem

A retailer sets discount levels for its top products by expert judgement. The effect of a discount is non-linear: the first pounds of discount add many orders, later ones add few. When the promotional budget is cut, the team does not know which products can lose discount cheaply and which cannot. Binary-treatment estimators and linear double machine learning (DML) do not fit a continuous, saturating treatment.

Example from the article: a simulated retailer with 3 top products must cut its total promotional budget by 20% while losing as few orders as possible.

Solution in brief

Train one gradient boosting model per product with the discount as a feature (an S-learner). Take the effect of every discount level from the model and fit a Michaelis-Menten response curve to it. Feed the fitted curves into SLSQP, a non-linear programming solver, to allocate the budget.

Questions this case answers
  • How to allocate a fixed budget of a continuous intervention across units when each unit has a different saturating response and the response comes from a black-box model
  • How to estimate a non-linear dose-response curve for a continuous treatment from observed data when binary-treatment estimators and linear double machine learning do not apply
  • How to estimate the effect of a continuous treatment such as discount size when the response flattens at high levels?
  • How to turn a black-box gradient boosting model into a response curve that an optimiser can use?

Tools and methods

  • S-learner — a single model with the treatment as a feature; gives the effect for any discount level.
  • LightGBM — the gradient boosting model inside the S-learner.
  • Michaelis-Menten curve — saturating response curve with two parameters per product.
  • SciPy — curve_fit for the curves and minimize(method='SLSQP') for the allocation.
Continue reading — it's free

Google or a one-time email code. No password.