Source-linked AI summary

Merlin:Empowering Multimodal LLMs with Foresight Minds

En Yu, Liang Zhao, Yana Wei, Jinrong Yang, Dongming Wu, Lingyu Kong, Haoran Wei, Tiancai Wang, Zheng Ge, Xiangyu Zhang, Wenbing Tao

arXiv:2312.00589v2cs.CV

TL;DR

Existing MLLMs struggle to infer future events from image observations, particularly the spatiotemporal dynamics underlying object behavior. Merlin uses trajectory-centered Foresight Pre-Training and Foresight Instruction-Tuning to connect observations with future reasoning, and reports strong future reasoning and visual-understanding performance. The paper also identifies limitations in long sequential videos and more comprehensive future reasoning.

  • Problem

    Existing MLLMs struggle to predict future object movements and interactions from current or multiple-frame image observations.

    Source: §1 · p. 2
  • Method

    Merlin combines trajectory-based Foresight Pre-Training with Foresight Instruction-Tuning, first learning trajectories from initial observations and then reasoning about future events from them.

    Source: §1 · p. 3, §3.2 · p. 6
  • Results

    Merlin demonstrates strong future reasoning and general visual understanding, including performance across VQA, comprehensive understanding, and hallucination scenarios.

    Source: §1 · p. 4, §4.4 · p. 12
  • Takeaways & Limitations

    Trajectory-centered future modeling supports a unified MLLM that handles single-image or multi-frame spatial outputs and future-event reasoning.

    Source: §1 · p. 3, §5 · p. 15

    Merlin remains limited in processing long sequential videos and more comprehensive future reasoning.

    Source: §5 · pp. 14–15

Abstract

from arXiv · show

Humans possess the remarkable ability to foresee the future to a certain extent based on present observations, a skill we term as foresight minds. However, this capability remains largely under explored within existing Multimodal Large Language Models (MLLMs), hindering their capacity to learn the fundamental principles of how things operate and the intentions behind the observed subjects. To address this issue, we introduce the integration of future modeling into the existing learning frameworks of MLLMs. By utilizing the subject trajectory, a highly structured representation of a consecutive frame sequence, as a learning objective, we aim to bridge the gap between the past and the future. We propose two innovative methods to empower MLLMs with foresight minds, Foresight Pre-Training (FPT) and Foresight Instruction-Tuning (FIT), which are inspired by the modern learning paradigm of LLMs. Specifically, FPT jointly training various tasks centered on trajectories, enabling MLLMs to learn how to attend and predict entire trajectories from a given initial observation. Then, FIT requires MLLMs to first predict trajectories of related objects and then reason about potential future events based on them. Aided by FPT and FIT, we build a novel and unified MLLM named Merlin that supports multi-images input and analysis about potential actions of multiple objects for the future reasoning. Experimental results show Merlin powerful foresight minds with impressive performance on both future reasoning and visual comprehension tasks.

1 Introduction

Existing MLLMs struggle to infer future object behavior from image observations, especially the spatiotemporal dynamics needed before reasoning about likely events. Merlin addresses this gap by learning trajectories through FPT and FIT, supporting multi-image interaction and future reasoning.

  • MLLMs struggle to predict object movements and interactions from current or multiple-frame observations, unlike human foresight reasoning.Source: §1 · p. 2
  • Trajectory is proposed as a structured learning objective that links temporal contexts between past observations and future behavior.Source: §1 · p. 3
  • FPT causally models subject trajectories from initial observations using coordinated multitask pre-training, while FIT uses trajectories to support future-event reasoning.Source: §1 · p. 3
  • Merlin supports spatial coordinates or tracklets from single images or multiple frames and reasons inductively about potential future events.Source: §1 · p. 3
  • The paper constructs a future-reasoning benchmark to evaluate Merlin’s logical reasoning and future prediction abilities.Source: §1 · p. 3
  • Merlin shows strong future reasoning and broader visual understanding across VQA, comprehensive understanding, and hallucination scenarios.Source: §1 · p. 4

2 Related Work

The related work situates Merlin within the evolution from large language models to multimodal systems that unify visual and linguistic information. The supplied passages provide background on these model families and an overview of Merlin’s pipeline.

  • Large language models progressed from early systems such as BERT, GPT-2, and T5 to GPT-3’s 175-billion-parameter model and strong zero-shot performance.Source: §2.1 · p. 4
  • MLLMs extend language-model capabilities through cross-modal transfer, mapping multiple modalities into a shared language-semantic space for autoregressive decoding.Source: §2.2 · p. 4
  • Merlin’s pipeline combines an image encoder, a large language model, and a modality-align projector for multi-image inputs and trajectory-plus-future-reasoning outputs.Source: Figure 3 · p. 5

3 Metholodgy

Merlin uses a unified visual-language architecture and a two-stage foresight-learning pipeline. FPT predicts subject trajectories from initial observations, while FIT conditions future-event reasoning on those trajectories.

3.1 Architecture

  • Merlin integrates visual tokens from images and videos into a language sequence using an image encoder, decoder-only LLM, and modality-alignment block.Source: §3.1 · p. 5

3.2 Foresight Pre-Training

  • Foresight Pre-Training predicts a concerned subject’s full trajectory across video frames from its first-frame observation.Source: §3.2 · p. 6
  • The FPT condition contains consecutive frames, the first-frame subject observation, and the subject trajectory, with Xi denoting frames, Ofirst the initial observation, and Y the trajectory.Source: §3.2 · p. 6
  • FPT data represent location, appearance, and action observations as conversational queries whose answers describe subject movement trajectories.Source: §3.2 · pp. 6–7

3.3 Foresight Instruction Tuning

  • Foresight Instruction-Tuning adds future observation Z after the trajectory, using frames, the initial observation, and trajectory as conditions for causal future prediction.Source: §3.3 · p. 8
  • FIT can infer a likely interaction by presenting trajectories of related players before predicting a resulting event, such as a tackle causing both players to fall.Source: §3.3 · p. 9

4 Experiment

Merlin is evaluated for future reasoning, identity association, general visual understanding, hallucination, and the effects of its foresight-learning and model-configuration choices. Across these evaluations, it shows strong reasoning and visual capabilities, while ablations and attention visualizations support the roles of FPT, FIT, image-text pre-training, and trajectory representations.

Properties Evaluation of Foresight Minds

  • Merlin is the first evaluated MLLM reported to perform tracking, achieving performance comparable to expert models and surpassing them on some metrics.This evaluation uses LaSOT and GOT10K, with only a small amount of tracking data used for training.Source: §4.2 · p. 11, Table 2 · p. 11

General Comprehension

  • Merlin significantly outperforms comparative methods on MM-Vet and MMBench while preserving or improving general visual perception despite fewer resources than some methods.The comparison includes MMBench development and test sets, and some competing methods use more parameters or inaccessible in-house data.Source: Table 3 · p. 11, §4.3 · p. 12

Object Hallucination

  • Merlin achieves the best hallucination-evaluation performance across Random, Popular, and Adversarial scenarios, improving by up to 5 points over Shikra.The evaluation uses zero-shot object hallucination on the COCO validation set; “Yes” denotes the proportion of positive answers.Source: §4.4 · p. 12, Table 4 · p. 12

Ablative Analysis of FPT & FIT

  • Both FPT and FIT improve the reported future-reasoning and GOT10K metrics, while combining them produces Merlin’s best performance.Removing image-text pair data during pre-training considerably harms general ability, supporting its role in maintaining modality alignment and combined capabilities.Source: §4.5 · p. 13, Table 5 · p. 13

Ablative Analysis of Model Configuration

  • High-resolution inputs and an unfrozen visual encoder benefit visual perception and fine-grained spatial information, while Conv2d compresses tokens for high-resolution multi-image training.More visual tokens do not improve future-reasoning performance, and the authors speculate that they may make supervision sparser.Source: Table 6 · p. 13, §4.6 · p. 14

Visualization Analysis

  • Attention visualizations show trajectory-coordinate embeddings attending to corresponding objects across frames, supporting trajectories as an interface between language and dynamic visual contexts.The analysis is used to explain Merlin’s visual capability and lower hallucination relative to previous baselines.Source: §4.7 · p. 14

5 Limitation and Conclusion

The study identifies MLLMs’ limited foresight and introduces Merlin, which combines trajectory-based training methods to support future reasoning and visual comprehension. It also acknowledges limitations in long sequential videos and comprehensive future-reasoning evaluation.

5 Limitation and Conclusion

  • Merlin combines Foresight Pre-Training and Foresight Instruction-Tuning to improve MLLMs’ future reasoning from image observations.The approach uses trajectories as structured learning objectives for dynamic information.Source: §5 · p. 15
  • Merlin supports spatial-coordinate or tracklet outputs from single images or multiple frames while retaining performance across traditional vision-language tasks.Source: §5 · p. 15
  • The paper reports that Merlin demonstrates powerful future-reasoning capacities alongside visual-comprehension performance.Source: §5 · p. 15
  • The authors identify long sequential videos and more comprehensive future-reasoning evaluation as remaining limitations.Source: §5 · p. 15

A Appendix

The appendix supplements the main paper with detailed dataset, data-format, training, and method information omitted because of page limits.

A Appendix

  • The supplementary material provides additional information about Merlin because of the paper’s page limit.Source: A Appendix · p. 15
  • Section B explains the constructed dataset, including its data sources and creation process.Source: A Appendix · p. 15
  • Sections C and D detail the FPT and FIT data formats and the training approach, while Section E expands the method discussion.Source: A Appendix · p. 15

B Dataset Details

The dataset combines large-scale image-text, detection, tracking, visual reasoning, referring, and trajectory-based conversation data for FPT and FIT. These sources are processed into structured spatial and temporal formats for training.

B Dataset Details

  • The authors randomly sample 10M image-text pairs from LAION-400M for Foresight Pre-Training.LAION-400M is described as a CLIP-filtered dataset containing 400 million image-text pairs.Source: B Dataset Details · p. 15
  • The training collection includes image-text pairs, detection, tracking, visual reasoning, referring, and dialogue data across FPT and FIT.Table 7 summarizes the training-data categories, including captioning, referring, detection, tracking, reasoning, and dialogue.Source: B Dataset Details · pp. 15, 18, Table 7 · p. 16
  • Detection data are built from public datasets by extracting object categories and boxes, filtering tiny objects, and limiting categories per image.The stated category limit is n = 15 when an image contains more categories than the set threshold.Source: B Dataset Details · p. 16
  • Tracking data use open-source SOT and MOT datasets and are organized into short clips for causal trajectory modeling in FPT.The listed sources include GOT10K, LaSOT, MOT17, Sompt, DanceTrack, SportsMOT, BDD100K, and MeViS.Source: B Dataset Details · pp. 16–17
  • The tracking format represents a query object with its bounding box across successive frames, using structured trajectory outputs.The format is expressed as frame-indexed boxes associated with object categories or identifiers.Source: B Dataset Details · pp. 17–18
  • GPT-4 generates 30K trajectory-and-action question-answer pairs for T-CoT conversation data.The dialogues use trajectories and associated descriptions or actions to formulate questions and answers containing trajectory coordinates.Source: B Dataset Details · p. 18

C Data Format Details

The data-format appendix visualizes the structured examples used across pretraining and instruction tuning, including positive and negative question-answer samples.

C Data Format Details

  • Figure 6 presents an exhaustive visualization of data formats used in both pretraining and instruction tuning.Source: C Data Format Details · p. 18
  • Negative samples are included in question-answer pairs to train the model to produce negative answers when appropriate.Source: C Data Format Details · p. 18

D Training Details

This section provides Merlin’s training hyperparameter settings and compares variants with and without precise task descriptions.

  • The section directs readers to Table 8 for detailed training settings.Source: D Training Details · p. 18
  • Table 8 reports Merlin’s training hyperparameters, including settings shared across both training stages.Source: Table 8 · p. 19
  • Table 9 compares Merlin with and without precise task descriptions using GOT10K AO and average Future Reasoning scores.Source: Table 9 · p. 19

E More Discussions

The discussion identifies limitations in long-range video support and in the current evaluation of future reasoning.

  • Merlin cannot support video sequences exceeding 8 frames, limiting its ability to model extended motion information.The constraint is attributed to using an image encoder rather than a video encoder, which produces too many vision tokens for the LLM.Source: E More Discussions · p. 19
  • A more efficient tokenizer for long-range videos is identified as an important direction for future research.Source: E More Discussions · p. 20
  • The paper’s future-reasoning benchmark is not yet comprehensive or fully accurate, motivating development of a more robust evaluation benchmark.Source: E More Discussions · p. 20

F More Experiments

Additional experiments analyze precise task descriptions and trajectory CoT through ablations and qualitative studies.

Effect of Precise Task Description

  • Without precise task descriptions, tracking performance drops from 51.4% to 28.4%.The comparison supports precise task descriptions as important for multi-task learning in MLLMs.Source: F More Experiments · p. 20

The effectiveness of trajectory CoT (T-CoT)

  • Trajectory CoT substantially improves prediction reasoning beyond FPT alone.The passage states that FPT provides future-reasoning capability, while prediction-reasoning performance remains limited without trajectory CoT.Source: F More Experiments · p. 20
  • The supplementary experiments include ablations in Tables 9 and 10 and qualitative analyses in Figures 7, 8, and 9.Source: F More Experiments · p. 20
Loading 2312.00589v2…