Text this: Sparse connectivity enables efficient information processing in cortex-like artificial neural networks