Weakly Supervised Attention-Based Recognition Under Spectral, Turbulence, And Resource Variations