An Adaptive Entropy Minimization in Distributed IoT Communication via Semi-Martingale Multiscale Optimization