Text this: Noise-resilient designs and analysis for optical neural networks