Evolutionary Retrofitting
Mathurin Videau, Mariia Zameshina, Alessandro Leite, Laurent Najman, Marc Schoenauer, Olivier Teytaud
TL;DR
AfterLearnER introduces a gradient-free retrofitting framework that post-hoc tunes a small set of model parameters, the $\aleph$-parameters, using non-differentiable feedback from a validation subset. It operates in offline and online modes and leverages black-box optimizers (e.g., Nevergrad's NGOpt) to minimize arbitrary $\aleph$-losses with only dozens to hundreds of scalar signals, avoiding gradient backpropagation. Theoretical analysis shows bounded overfitting risk with multiple independent runs and parallelism, while empirical results across depth sensing, speech synthesis, Doom RL, code translation, 3D GANs, and LDMs demonstrate robust, low-budget improvements over strong baselines. The approach positions itself between HPO, test-time adaptation, and RLHF, offering a versatile, training-agnostic method to align outputs with non-differentiable or human-centric objectives in a practical, anytime fashion.
Abstract
AfterLearnER (After Learning Evolutionary Retrofitting) consists in applying evolutionary optimization to refine fully trained machine learning models by optimizing a set of carefully chosen parameters or hyperparameters of the model, with respect to some actual, exact, and hence possibly non-differentiable error signal, performed on a subset of the standard validation set. The efficiency of AfterLearnER is demonstrated by tackling non-differentiable signals such as threshold-based criteria in depth sensing, the word error rate in speech re-synthesis, the number of kills per life at Doom, computational accuracy or BLEU in code translation, image quality in 3D generative adversarial networks (GANs), and user feedback in image generation via Latent Diffusion Models (LDM). This retrofitting can be done after training, or dynamically at inference time by taking into account the user feedback. The advantages of AfterLearnER are its versatility, the possibility to use non-differentiable feedback, including human evaluations (i.e., no gradient is needed), the limited overfitting supported by a theoretical study, and its anytime behavior. Last but not least, AfterLearnER requires only a small amount of feedback, i.e., a few dozen to a few hundred scalars, compared to the tens of thousands needed in most related published works.
