Projects / Inference by energy descent
Research

Inference as an optimisation problem: AI whose operations can be audited

We study energy-based models in which predicting means searching for the most compatible answer. Besides learning efficiently, such models expose internal signals that could help monitor what an AI system is doing.

The idea

An energy-based model assigns a score, called an energy, to how compatible an answer is with the input: the lower the energy, the better they fit together. Prediction then becomes a search for the most compatible answer and internal state, instead of a feedforward computation from input to output.

Our approach is closest to predictive coding, with significant differences in the architecture, the learning rule and the inference algorithm. It still belongs to the family of neural networks, and keeps the same interface with the world as today’s models.

Why it matters

Learning efficiency

Inverse models can represent the same task with more compact parameters, and our adaptive learning rule helps the model learn from limited data.

Robustness

Noise is part of the energy being minimised, so inference natively accounts for it, and adapts to unusual inputs where feedforward networks are brittle.

Flexible computation

Inference is iterative: the same learned model can spend more computation on harder cases.

Internal consistency signals

The energy breaks down into local terms that can be recorded during inference, and tested as signals of errors, ambiguity or hallucinations.

Where it stands

Parity with the state of the art on classification problems, but at a scale too small to draw conclusions. We are actively working to extend these results to algorithmic tasks (Sudoku, mazes, arithmetic) and to sequence modeling.

Our ambition

We want techniques built on this approach to make it into the LLM pipeline. Monitoring a model through its internal activations is a crucial part of AI safety, and an architecture whose inference natively exposes local signals could make those observations far more informative. We believe this is achievable while keeping most of the existing pipeline: tokenisation, infrastructure, the training process.

An open programme. NSOFT has years of internal research ready to publish. To release it properly, as open source with reproducible results, we need funding that buys the research time it takes. Our aim is an open, nonprofit programme, and we are seeking partners: funders, and researchers with expertise in the field to advise us. Technical details and a more detailed grant application are readily available on request. If this resonates, get in touch.

Funder, researcher, or simply curious? direction@nsoft.fr