Stochastic Forward-Forward Learning through Representational Dimensionality Compression