Multi-armed bandit UCB1 algorithm for pivot