Search arXiv⌕ Search

arXiv subjects

Léo Gagnon

Publications and source records attributed to Léo Gagnon.

4 recordsLinked to original sources

Verifiable Tabular Foundation Models

With the increasing ubiquity of AI systems comes the need for more robust guarantees with respect to those deployed systems. Cryptographic primitives such as Verifiable Computation are appropriate tools for certifying critical properties about deployed services in general. In this work, we demonstrate for the first time that Tabular Foundation Models (TFMs) can be subjected to Verifiable Computation techniques while maintaining practical performance levels. More precisely, our prototype proves correct classification in the order of seconds. To achieve this, we build off of TabPFN v2, an open-weight TFM, and design an efficient SNARK system to prove its correct execution. Practical efficiency is attained by exploiting the structure of TabPFN v2 to separate our protocol in offline/online phases, where the offline phase proves in-context learning and may be executed once per training set while the online phase supplies proofs of correct inference. Interestingly and of independent interest, this separation yields a new notion of Proof of Learning for free. We provide a detailed discussion on this matter highlighting properties specific to this new notion, which we call Proof of In-Context Learning. We also make use of recent advances in context compression to make gains in online efficiency at a small cost in offline efficiency and accuracy. Our experiments demonstrate online proving times in less than $2$ seconds with proofs smaller than $2$MB verifiable in hundreds of milliseconds. We do not claim zero-knowledge for these proofs. Compared to prior art focused on proving LLM inference in zero-knowledge, this represents an improvement of up to $50\times$, $12\times$ and $100\times$ respectively.

cs.CR↗

Simplifying the Modeling of Arbitrary Conditionals in Natural Language

Causal Transformers model sequences through an autoregressive factorization of the joint distribution, which enables efficient left-to-right decoding and conditional likelihood computation. However, they cannot tractably sample from or evaluate arbitrary conditionals -- e.g., a block of text conditioned on past and future tokens. Recent work aims to solve this problem through novel architectures, but they often lead to sub-optimal modeling of such conditionals and degraded generations. We propose Arbitrary Conditionals GPT (AC-GPT) which introduces a simple modification to standard causal Transformers to enable evaluating and sampling from arbitrary conditionals -- including past, future, and mixed contexts -- within a single forward pass. Unlike prior approaches, our method preserves the standard left-to-right ordering and next-token prediction objective essential for both strong performance and efficient training on natural language. Crucially, this compatibility allows existing LLMs to be fine-tuned for arbitrary conditioning. Our empirical results indicate that our method outperforms baselines on modeling arbitrary conditionals, without degrading standard left-to-right performance.

cs.CL↗

Efficient and robust multi-task learning in the brain with modular latent primitives

Biological agents do not have infinite resources to learn new things. For this reason, a central aspect of human learning is the ability to recycle previously acquired knowledge in a way that allows for faster, less resource-intensive acquisition of new skills. In spite of that, how neural networks in the brain leverage existing knowledge to learn new computations is not well understood. In this work, we study this question in artificial recurrent neural networks (RNNs) trained on a corpus of commonly used neuroscience tasks. Combining brain-inspired inductive biases we call functional and structural, we propose a system that learns new tasks by building on top of pre-trained latent dynamics organised into separate recurrent modules. These modules, acting as prior knowledge acquired previously through evolution or development, are pre-trained on the statistics of the full corpus of tasks so as to be independent and maximally informative. The resulting model, we call a Modular Latent Primitives (MoLaP) network, allows for learning multiple tasks while keeping parameter counts, and updates, low. We also show that the skills acquired with our approach are more robust to a broad range of perturbations compared to those acquired with other multi-task learning strategies, and that generalisation to new tasks is facilitated. This work offers a new perspective on achieving efficient multi-task learning in the brain, illustrating the benefits of leveraging pre-trained latent dynamical primitives.

cs.AI↗

Clarifying MCMC-based training of modern EBMs : Contrastive Divergence versus Maximum Likelihood

The Energy-Based Model (EBM) framework is a very general approach to generative modeling that tries to learn and exploit probability distributions only defined though unnormalized scores. It has risen in popularity recently thanks to the impressive results obtained in image generation by parameterizing the distribution with Convolutional Neural Networks (CNN). However, the motivation and theoretical foundations behind modern EBMs are often absent from recent papers and this sometimes results in some confusion. In particular, the theoretical justifications behind the popular MCMC-based learning algorithm Contrastive Divergence (CD) are often glossed over and we find that this leads to theoretical errors in recent influential papers (Du & Mordatch, 2019; Du et al., 2020). After offering a first-principles introduction of MCMC-based training, we argue that the learning algorithm they use can in fact not be described as CD and reinterpret theirs methods in light of a new interpretation. Finally, we discuss the implications of our new interpretation and provide some illustrative experiments.

cs.LG↗