back to projects
2026 Multi-Agent

Foretell Vista — Multi-Stakeholder Demand Forecasting

Industry project for Yantrikisoft. PyTorch STGNN with FedAvg across retail silos, causal attribution via SHAP + DoWhy, and adaptive replenishment via Ray RLlib — 4,200 SKUs, 14.2% → 11.1% MAPE.

Foretell Vista — Multi-Stakeholder Demand Forecasting cover image

// outcome

MAPE
14.2 → 11.1%
SKUs
4,200
vs LightGBM
-2.1 pts
silos
federated

// problem

Demand forecasting in retail has to balance product-level signal, cross-product elasticity, and the privacy constraints of each stakeholder's silo — while explaining which campaign is actually driving the lift.

// approach

PyTorch STGNN for cross-product spatio-temporal elasticity, FedAvg for federated learning across silos (zero raw-data transfer), SHAP + DoWhy for causal attribution that fixes promotion misattribution, and Ray RLlib RL agents for adaptive multi-dimensional reorder policies.

// results

  • 7-day MAPE improved 14.2% → 11.1% across 4,200 SKUs
  • Outperformed LightGBM by 2.1 MAPE points and ARIMA by 3.1 on held-out Q4 data
  • Cut cross-silo data transfer to zero via FedAvg federated learning
  • Causal attribution directly informing enterprise campaign-budget allocation

// screens

Foretell Vista — Multi-Stakeholder Demand Forecasting — screen 1
Foretell Vista — Multi-Stakeholder Demand Forecasting — screen 2
Foretell Vista — Multi-Stakeholder Demand Forecasting — screen 3

// in depth

Causal, not correlative

Most forecasters answer “what will demand be.” Foretell Vista answers “why will demand move, and what is the cheapest lever to pull.” SHAP gives feature attribution, DoWhy validates the causal graph — pinning promotion moves to revenue lift instead of co-incident trends — and the RL policy then maps the levers to inventory actions across 4,200 SKUs without any raw-data sharing between silos.

// stack

PyTorch (STGNN)XGBoostRay RLlibSHAPDoWhyFedAvgCVXPYViteReactshadcn/uiFastAPI