We present a novel approach based on machine learning for designing photonic structures. In particular, we focus on strong light confinement that allows the design of an efficient free-space-to-waveguide coupler which is made of Sislab overlying on the top of silica substrate. The learning algorithm is implemented using bitwise square Sicells and the whole optimized device has a footprint of 2μ...