Robust and Computationally-Efficient Anomaly Detection using Powers-of-Two Networks