Reason for plausibility in Forward-Forward: what does goodness measure?

Find out how goodness in Forward-Forward is a sufficient statistic in likelihood ratio test. Implications for normalization and collapse.

15 jul 2026 • 4 min read • Q2BSTUDIO Team

Normalization between layers and depth collapse in FF

In the world of machine learning, most training algorithms rely on error backpropagation, a well-established method that has limitations in terms of parallelization and power consumption. A few years ago, Geoffrey Hinton proposed the Forward-Forward (FF) algorithm as an alternative that trains each layer locally, using a concept called 'goodness' – the sum of activations squared – to distinguish between real and contrastive data. Initially, this metric was considered a heuristic resource; However, a statistical analysis reveals that this is not the case: the quadratic goodness is, in fact, the sufficient statistic of a likelihood ratio test between two populations with zero mean that differ in scale. This finding transforms our understanding of FF and opens the door to generalizations that impact the development of modern artificial intelligence.

From a formal perspective, goodness measured as the sum of squares is equivalent to the statistic of a hypothesis test that decides whether a sample comes from a reference population or one with greater variance. In the context of FF, activations in a layer are normalized between layers, and the goodness threshold defines the decision boundary. But the interesting thing is that this interpretation goes beyond the isotropic case. If populations exhibit anisotropy, goodness is transformed into a distance from Mahalanobis; If the distributions are heavy-tailed, the statistic saturates and its slope becomes a subsequent precision, implying divisive normalization. This means that goodness not only measures magnitude, but encodes information about the structure of covariance and uncertainty in the data. For a company developing AI for enterprises, understanding these fundamentals allows for more robust and efficient models to be designed, avoiding shortcuts such as scale inflation that FF itself suffers when whitewashed goodness is not applied.

Normalization between layers also takes on a new meaning. The requirement to remove the length of the trigger vectors while preserving the coordinate energy avoids a depth collapse that is observed when using unit standard normalization. This adjustment is crucial to maintain the propagation of information in deep networks and to prevent the subsequent layers from ignoring the signals of the previous layers. From a practical standpoint, any bespoke software project that integrates deep learning can benefit from these optimizations, as they reduce the need for manual adjustments and improve training stability.

Now, how does this knowledge transcend to the business environment? Organizations looking to implement high-performance artificial intelligence need algorithms that are computationally efficient and offer interpretability. The FF approach, with its local learning and its link to statistical decision theory, makes it possible to build AI agents that learn with less data and lower energy consumption. For example, in cybersecurity applications, where anomalous signals need to be detected quickly, a goodness based on likelihood ratio can better discriminate between normal and malicious traffic. Q2BSTUDIO, as a software development company, integrates these techniques into its cybersecurity solutions and AWS and Azure cloud service platforms, offering its customers AI models that are not only accurate, but also explainable.

Another relevant aspect is scalability. On-premises training methods such as FF are perfectly suited to distributed cloud architectures, allowing each layer to be trained independently. This reduces latency in the learning phase and makes it easier to deploy business intelligence service systems that require frequent updates with new data. For example, a power bi dashboard that consumes predictions from a model in real time benefits from faster training and less reliance on synthetic contrastive data. Applications as you develop Q2BSTUDIO incorporate these benefits, ensuring that the software aligns with the specific needs of each industry, from finance to logistics.

In terms of process automation, the FF's ability to learn without the need for full backpropagation simplifies the integration of models into existing workflows. An AI agent that processes documents or performs classifications can be trained locally on each module, making it easy to maintain and update separately. Companies that adopt AI for enterprises with an on-premise learning approach gain a competitive advantage by reducing computational costs and accelerating deployment. Q2BSTUDIO offers consulting and development in this area, combining theoretical knowledge with the practical implementation of cloud-based solutions and data analysis.

Finally, it is important to note that research into algorithms such as FF not only improves technical performance, but also democratizes access to artificial intelligence. By requiring fewer resources, small and medium-sized businesses can adopt advanced models without investing in massive infrastructure. Q2BSTUDIO supports this transition by providing optimized AWS and Azure cloud services, as well as business intelligence tools that leverage these innovations. The future of machine learning lies in algorithms that understand the statistics underlying their metrics, and being at the forefront of that knowledge is key for any organization that wishes to lead in the digital age.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.