Foundation Models (FM)

From PRIMO.ai
Jump to navigation Jump to search

YouTube ... Quora ...Google search ...Google News ...Bing News

The term Foundation Model (FM) was coined by Stanford researchers to introduce a new category of ML models. They defined FMs as models trained on broad data (generally using self-supervision at scale) that can be adapted to a wide range of downstream tasks. A foundation model is a large artificial intelligence model trained on a vast quantity of unlabeled data at scale (usually by self-supervised learning) resulting in a model that can be adapted to a wide range of downstream tasks. Foundation models have helped bring about a major transformation in how AI systems are built - Wikipedia



If a Large Language Model (LLM) is impactful and used with specific use cases it is referred to as a foundation model



Artificial intelligence (AI) has come a long way in recent years, with the development of increasingly sophisticated models that can perform a wide range of tasks. One of the most exciting developments in this field is the emergence of foundation models. A foundation model is a “paradigm for building AI systems” in which a model trained on a large amount of unlabeled data can be adapted to many applications. This means that instead of building a separate AI model for each specific task, a single foundation model can be used for multiple tasks with minimal fine-tuning. Parameters are a machine learning term for the variables present in the model on which it was trained that can be used to infer new content.


Why use Foundation Models?

One of the main advantages of using foundation models is their flexibility. Because they are designed to be adapted to various downstream cognitive tasks by pre-training on broad data at scale, they can be used for a wide range of applications. Another advantage of using foundation models is their reusability. Instead of having to build a new AI model from scratch for each new task, a single foundation model can be used for multiple tasks with minimal fine-tuning. This can save time and resources and make it easier to develop and deploy AI systems.

  • A foundation model is a type of deep learning algorithm that has been pre-trained with large data sets scraped from the public internet.
  • Foundation models are trained with a wide variety of data and can transfer knowledge from one task to another.
  • They can be fine-tuned to complete different types of tasks and are primarily used for natural language processing and generation.
  • Compared to standalone, task-oriented machine learning models, foundation models help create reliable AI solutions faster and cheaper, with less data involved and minimal fine-tuning.


How to use Foundation Models?

Foundation models are trained on enormous quantities of unlabeled data through self-supervised learning. This means that the model learns by predicting missing information in the data, without the need for explicit labels. Once the foundation model has been trained, it can be used for various tasks through transfer learning. This involves adapting the model to a new task by fine-tuning it on a smaller amount of labeled data specific to that task. Some examples of foundation models include Generative Pre-trained Transformer (GPT)-3, Bidirectional Encoder Representations from Transformers (BERT), and DALL-E 2. These models have shown impressive capabilities in natural language processing and generation, as well as image generation. The use of foundation models has the potential to revolutionize many industries and applications. For example, they could be used to develop more sophisticated digital assistants, improve medical diagnosis, or generate new works of art.

Large Language Models for Health 101
Stanford HAI's introduction to large language models for health.

How to Build Enterprise-Ready Foundation Models
IBM on building enterprise-ready foundation models.

ChatGPT Comes From a Foundation Model | Talking With Talia, Episode 2
TechTechPotato explains how ChatGPT comes from a foundation model.

Unlock The Power Of Foundation Models For Your Enterprise
Snorkel AI on unlocking foundation models for the enterprise.

On the Opportunities and Risks of Foundation Models (intro)
Samuel Albanie introduces the paper On the Opportunities and Risks of Foundation Models.

HAI Spring Conference 2022: Foundation Models
Stanford HAI 2022 spring conference on foundation models.

Visual Foundation Models (VFM)

Visual Foundation Models (VFMs) are a type of foundation model that focuses on the creation or analysis of images and videos. They take advantage of the capabilities of foundation models such as LLMs and apply them to visual data.

VFMs are trained on large datasets of images and videos, and they can be used for a variety of tasks, including:

  • Image classification: VFMs can be used to classify images into different categories, such as cats, dogs, cars, and people.
  • Object detection: VFMs can be used to detect objects in images, such as faces, cars, and text.
  • Image segmentation: VFMs can be used to segment images into different parts, such as the background, foreground objects, and text.
  • Image generation: VFMs can be used to generate new images, such as realistic images of people or objects that do not exist in the real world.
  • Video analysis: VFMs can be used to analyze videos, such as tracking objects in motion or identifying people in a crowd.

VFMs are still under development, but they have the potential to revolutionize the way we interact with images and videos. For example, VFMs could be used to create new forms of art, to improve the accuracy of medical diagnoses, or to make self-driving cars safer.

Here are some examples of VFMs:

  • DALL-E: DALL-E is a VFM that can be used to generate images from text descriptions.
  • Flamingo: Flamingo is a VFM that can be used to translate images into text descriptions.
  • Florence: Florence is a VFM that can be used to answer questions about images.
  • NOOR: NOOR is a VFM that can be used to detect objects in images.

VFMs are a promising new technology with the potential to revolutionize the way we interact with images and videos. As they continue to develop, we can expect to see even more amazing and innovative applications for VFMs in the future.


Foundation Model Families Beyond Language

The foundation-model paradigm extends beyond large language models. Models can be pretrained on images, audio, video, structured tables, temporal observations, and other kinds of information. Their common characteristic is the ability to reuse learned representations or predictive capabilities across multiple downstream tasks.

Model Family Primary Information Representative Examples Typical Applications
Language and reasoning models Text, code, and language-based problems OpenAI reasoning models, DeepSeek-R1, Claude and Gemini thinking models Explanation, coding, mathematics, reasoning, planning
Multimodal foundation models Combinations of text, images, audio, and video GPT-4o, Gemini, Qwen-VL Visual question answering, voice interaction, document interpretation
Tabular foundation models Structured numerical and categorical datasets TabPFN, TabICL Regression, classification, predictive analytics
Time-series foundation models Historical sequences and temporal observations Chronos, TimesFM, Moirai Demand forecasting, resource planning, financial and operational forecasting

Tabular Foundation Models

Tabular foundation models are pretrained machine-learning models designed to perform predictive tasks on structured data. Instead of requiring extensive training and hyperparameter optimization for every new dataset, they can transfer predictive strategies learned from many previous training tasks.

A prominent example is TabPFN (Tabular Prior-data Fitted Network), which uses transformer-based learning and pretraining across synthetic datasets. Its approach allows predictions on new tabular problems using labeled examples supplied at inference time.

These models are particularly promising for smaller datasets, where conventional deep learning may be less attractive and extensive model selection can be costly.

Their strengths vary by dataset. Tabular foundation models should be evaluated against established methods such as gradient-boosted trees, regression, and AutoML ensembles.

Learn more: Technical Architecture · Practical Model Selection · TabPFN Research | Nature.

Time-Series Foundation Models

Time-series foundation models are pretrained on collections of sequential observations. They learn recurring patterns that may generalize across domains, time scales, and previously unseen forecasting problems.

Chronos, developed by Amazon researchers, adapts language-model methods to numerical sequences through tokenization and transformer-based sequence modeling. TimesFM, developed by Google Research, uses a decoder-only forecasting architecture. Other model families, including Moirai, explore additional approaches to temporal pretraining and generalization.

An important capability is zero-shot forecasting, in which a pretrained model predicts a new sequence without requiring a separate model to be trained on that particular series.

However, foundation models do not automatically outperform traditional forecasting methods. Forecast accuracy depends on the dataset, forecast horizon, seasonality, availability of external variables, and changes in the underlying process.

Evaluation should include chronological backtesting and comparisons against seasonal-naive, statistical, and conventional machine-learning baselines.

Learn more: Technical Architecture · Forecasting Model Selection · Chronos | Amazon Science · TimesFM | Google Research.

Offerings

Amazon AWS

Amazon Bedrock provides multiple foundation models designed to allow companies to customize and create their own generative AI applications for targeted use cases and commercial use. With Bedrock’s serverless experience, you can get started quickly, privately customize FMs with your own data, and easily integrate and deploy them into your applications using the AWS tools and capabilities you are familiar with (including integrations with Amazon SageMaker ML features like Experiments to test different models and Pipelines to manage your FMs at scale) without having to manage any infrastructure

The initial set of foundation models supported by the service include ones from:

Hello World: Meet Generative AI | Amazon Web Services
AWS introduces generative AI.

AWS re:Invent 2022 - Train and host foundation models with PyTorch on AWS (AIM404)
AWS re:Invent 2022 session on training and hosting foundation models with PyTorch.

Microsoft

Microsoft Research has developed widely used visual architectures such as the Swin Transformer series and popular self-supervised learning methods such as PixPro and SimMIM. They also trained the world’s largest and best dense visual model (Swin V2-G with 3B parameters) as of November 2021.

Foundation models and the next era of AI
Microsoft Research on foundation models and the next era of AI.

IBM

IBM Research: Operationalizing Foundation Models | Enterprise AI | TransformX 2022
IBM Research on operationalizing foundation models in the enterprise.