arXiv:2610.40934cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40934

A Theoretical Framework for Understanding and Building "Any-task inference" Capable Foundation Models

Matthew McDermott, Florent Pollet, Payal Chandak, Gregory Kondas, Liat Friedman Antwarg, Noa Dagan, Isaac Kohane

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Matthew McDermott

Columbia University Department of Biomedical Informatics

mm6677@cumc.columbia.edu

Florent Pollet

Columbia University Department of Biomedical Informatics

Payal Chandak

Harvard Medical School

Gregory Kondas

Columbia University Department of Biomedical Informatics

Liat Friedman Antwarg

Harvard Medical School

Noa Dagan

Clalit Health Services and Ben Gurion University

Isaac Kohane

Harvard Medical School

Abstract

In this work, we provide a formal framework and mathematical definition for the subset of foundation models focused on enabling the property of “any-task inference” (ATI) (similar to zero-shot inference), rather than those designed for pre-training fine-tuning. To achieve this mathematical definition, we formalize the notion of a “space of tasks of interest,” which we include in the problem domain, then provide an interface-based formal definition for ATI foundation models as those that map samples of data xx and tasks tt to predictions over the space of labels directly. While simple, this definition allows us to show that all ATI foundation models can be decomposed through a “universal task reduction” lens into encoder, model, and decoder aspects. We can leverage this decomposition to also decompose foundation model error into terms corresponding to different aspects of this reduction, stratified into a collection of “design terms,” which are theoretical properties that can inform one of whether a particular proposed ATI foundation model can achieve optimality or not due to the structure of the proposed task reduction, and “realized model excess” terms which capture interactions between learned and programmatic components of foundation model systems. Lastly, we can use this perspective to offer two “prototypical” recipes for realizing ATI foundation models in diverse domains, which we term generative and discriminative variants of ATI foundation models. This exercise is grounded throughout by 5 real-world examples of foundation models in different settings, varying greatly in how these capabilities are realized, showing the applicability of this definition to real-world settings.

1 Introduction

This work aims to provide a formal definition of the subset of “foundation models” that are designed to enable the practical property typically called “zero-shot inference,” which we recognize more directly as the ability to use the foundation model to perform inference for any arbitrary task in a given domain, on any input sample, with no additional training required. A formal definition for this class of foundation models will reduce ambiguity when this term is used in research, allow for more comprehensive theoretical understanding of these foundation models, and help us see how we can build them in diverse domains.