Multimodal Prediction#

For problems on multimodal data tables that contain image, text, and tabular data, AutoGluon provides MultiModalPredictor (abbreviated as AutoMM) that automatically selects, fuses, and tunes foundation models from popular packages like timm, huggingface/transformers, CLIP, MMDetection etc.

You can not only use AutoMM to solve standard NLP/Vision tasks such as sentiment classification, intent detection, paraphrase detection, image classification, but also use it for multimodal problems that involve image, text, tabular features, object bounding boxes, named entities, etc. Moreover, AutoMM can be used as a basic model in the multi-layer stack-ensemble of AutoGluon Tabular, and is powering up the FT-Transformer in TabularPredictor.

Here are some example use-cases of AutoMM:

  • Multilingual text classification: Tutorial

  • Predicting pets’ popularity based on their description, photo, and other metadata: Tutorial, Example

  • Predicting the price of book: Tutorial

  • Scoring student’s essays: Example

  • Image classification: Tutorial

  • Object detection: Tutorial, Example

  • Extracting named entities: Tutorial

  • Search for relevant text / image via text queries: Tutorial

  • Document Classification (Experimental): Tutorial

In the following, we decomposed the functionalities of AutoMM and prepared step-by-step guide for each functionality.

Text Data#

AutoMM for Text Prediction - Quick Start

How to train high-quality text prediction models with MultiModalPredictor.

AutoMM for Text Prediction - Multilingual Problems

How to use MultiModalPredictor to build models on datasets with languages other than English.

Named Entity Recognition with AutoMM - Quick Start

How to use MultiModalPredictor for entity extraction.

Image Data – Classification / Regression#

AutoMM for Image Classification - Quick Start

How to train image classification models with MultiModalPredictor.

Zero-Shot Image Classification with CLIP

How to enable zero-shot image classification in AutoMM via pretrained CLIP model.

Image Data – Object Detection#

Quick Start on a Tiny COCO Format Dataset

How to train high quality object detection model with MultiModalPredictor in under 5 minutes on COCO format dataset.

Prepare COCO2017 Dataset

How to prepare COCO2017 dataset for object detection.

Prepare Pascal VOC Dataset

How to prepare Pascal VOC dataset for object detection.

Prepare Watercolor Dataset

How to prepare Watercolor dataset for object detection.

Convert VOC Format Dataset to COCO Format

How to convert a dataset from VOC format to COCO format for object detection.

Object Detection with DataFrame

How to use pd.DataFrame format for object detection

Fast Finetune on COCO Format Dataset

How to fast finetune a pretrained model on a dataset in COCO format.

High Performance Finetune on COCO Format Dataset

How to finetune a pretrained model on a dataset in COCO format with high performance.

Evaluate Pretrained YOLOv3 on COCO Format Dataset

How to evaluate the very fast pretrained YOLOv3 model on dataset in COCO format.

Evaluate Pretrained Faster R-CNN on COCO Format Dataset

How to evaluate the pretrained Faster R-CNN model with high performance on dataset in COCO format.

Evaluate Pretrained Deformable DETR on COCO Format Dataset

How to evaluate the pretrained Deformable DETR model with higher performance on dataset in COCO format

Evaluate Pretrained Faster R-CNN on VOC Format Dataset

How to evaluate the pretrained Faster R-CNN model on dataset in VOC format

Document Data#

AutoMM for Scanned Document Classification

How to use MultiModalPredictor to build a scanned document classifier.

Matching#

Text-to-text Matching with AutoMM - Quick Start

How to use AutoMM for text to text matching.

Image-to-Image Matching with AutoMM - Quick Start

How to use AutoMM for image to image matching.

Image-to-Text Matching with AutoMM - Quick Start

How to use AutoMM for image to text matching.

Zero Shot Image-to-Text Matching with AutoMM

How to use AutoMM for zero shot image to text matching.

Semantic Textual Search with AutoGluon Multimodal Matching

How to use semantic embeddings to improve search ranking performance.

Multimodal Data#

AutoMM for Text + Tabular - Quick Start

How MultiModalPredictor can be applied to multimodal data tables with a mix of text, numerical, and categorical columns. Here, we train a model to predict the price of books.

AutoMM for Image + Text + Tabular - Quick Start

How to use MultiModalPredictor to train a model that predicts the adoption speed of pets.

AutoMM for Entity Extraction with Text and Image - Quick Start

How to use MultiModalPredictor to train a model for multimodal named entity recognition.

Advanced Topics#

Single GPU Billion-scale Model Training via Parameter-Efficient Finetuning

How to take advantage of larger foundation models with the help of parameter-efficient finetuning. In the tutorial, we will use combine IA^3, BitFit, and gradient checkpointing to finetune FLAN-T5-XL.

HPO in AutoMM

How to do hyperparameter optimization in AutoMM.

Knowledge Distillation in AutoMM

How to do knowledge distillation in AutoMM.

Customize AutoMM

How to customize AutoMM configurations.

AutoMM Presets

How to use AutoMM presets.

Few Shot Learning with FusionSVM

How to use SVM combined with feature extraction for few shot learning.

Focal Loss

How to use focal loss in AutoMM.