LIAM: Multimodal Transformer for Language Instructions, Images, Actions and Semantic Maps

Yihao Wang, Raphael Memmesheimer, Sven BehnkearXiv 2025 · DOI

Abstract

LIAM (Language, Images, Actions, and Maps) is a multimodal transformer architecture designed to enable domestic robots to perform complex tasks based on natural language instructions. By integrating four distinct modalities—language, egocentric RGB sequences, action history, and semantic maps—LIAM addresses the "modality gap" in existing vision-language-action (VLA) models. A key innovation is a triple contrastive pre-training stage that aligns vision, language, and action embeddings. Evaluation on the ALFRED benchmark demonstrates that LIAM significantly improves performance in unseen environments, highlighting the importance of spatial memory and cross-modal alignment for robotic navigation and interaction.

Introduction

Applying Large Language Models (LLMs) and Vision-Language Models (VLMs) like CLIP to robotics presents unique challenges. Unlike general-purpose AI, robots must translate abstract instructions into specific physical actions while maintaining a coherent spatial understanding of their environment. Existing VLA models often suffer from a domain gap between internet-scale training data and the specific action-consequence dynamics of robotics. Furthermore, relying solely on first-person (egocentric) visual input limits a robot's ability to track objects once they leave the field of view.

LIAM addresses these issues by introducing a multimodal transformer that explicitly incorporates action history and semantic maps. The model leverages a novel triple contrastive pre-training strategy to bridge the gap between perception and execution.

Methodology

The LIAM architecture processes four input streams: natural language instructions, sequences of egocentric RGB images, history of discrete actions, and 2D semantic maps.

The LIAM architecture integrates four modalities: Natural Language, Ego-centric RGB sequences, Action sequences, and Semantic Maps into a Multi-Modal Transformer Encoder.

Triple Contrastive Pre-training

To overcome the domain gap, the authors developed a pre-training task that aligns three distinct embedding spaces: visual representations of consecutive video frames, the discrete actions that connect them, and the corresponding natural language instructions. This alignment ensures the model understands the causal relationship between a command, an action, and the resulting visual state change.

Semantic Map Modality

LIAM incorporates a 2D semantic map, generated using a modular approach. This map tracks obstacles, explored areas, and object locations, serving as a persistent spatial memory. This allows the robot to "remember" the location of objects even after turning away, which is critical for multi-step domestic tasks.

Experimental Results

The model was evaluated on the ALFRED (Action Learning From Realistic Environments and Directives) benchmark, which requires agents to execute multi-step domestic tasks in simulated environments.

Triple contrastive alignment significantly improves the model's ability to match actions and language instructions to visual sequences compared to zero-shot CLIP.

Action and Language Alignment

Initial tests showed that zero-shot CLIP models perform poorly in matching robot actions to image sequences, with accuracies as low as 3-8%. However, after the proposed triple contrastive alignment, matching accuracy for the ViT-B-32 backbone increased to 88.22%. This highlights the necessity of domain-specific fine-tuning for robotic applications.

Performance in Unseen Environments

On the ALFRED "Valid Unseen" split, which tests generalization to novel rooms, the inclusion of the semantic map was pivotal. The F1 score improved from 64.57 to 67.02 when the map modality was added to the triple-aligned model. This result confirms that spatial memory is a significant bottleneck for end-to-end robotic transformers.

Discussion and Conclusion

LIAM demonstrates that aligning vision, language, and action through contrastive learning is essential for bridging the gap between foundation models and robotic control. The integration of semantic maps provides a necessary spatial context that improves generalization to new environments.

Despite these gains, limitations remain. The model occasionally suffers from data imbalance in the ALFRED set and can make errors in spatial reasoning, such as predicting incorrect object locations. Future work will focus on integrating semantic map generation directly into the end-to-end training pipeline to further enhance the coupling between perception and action.

Summary updated

Abstract

The availability of large language models and open-vocabulary object perception methods enables more flexibility for domestic service robots. The large variability of domestic tasks can be addressed without implementing each task individually by providing the robot with a task description along with appropriate environment information. In this work, we propose LIAM - an end-to-end model that predicts action transcripts based on language, image, action, and map inputs. Language and image inputs are encoded with a CLIP backbone, for which we designed two pre-training tasks to fine-tune its weights and pre-align the latent spaces. We evaluate our method on the ALFRED dataset, a simulator-generated benchmark for domestic tasks. Our results demonstrate the importance of pre-aligning embedding spaces from different modalities and the efficacy of incorporating semantic maps.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ALFRED · Valid UnseenTriple-contrastive-aligned CLIP + Semantic MapAccuracy75.79+70.12 vs baselinesplit: valid-unseen · backbone=CLIP
Source quote
L157: + Semantic Map │ 77.98 │ 72.63 │ 75.79 │ 67.02
ALFRED · Valid UnseenTriple-contrastive-aligned CLIP + Semantic MapF1 score67.02split: valid-unseen · backbone=CLIP
Source quote
L157: + Semantic Map │ 77.98 │ 72.63 │ 75.79 │ 67.02
ALFRED · pre-training matching task (TestOpenCLIP-ViT-B-32, triple contrastive alignmentACC (I2A)65.98+60.31 vs baselinesplit: test · backbone=ViT-B/32
Source quote
L134: OpenCLIP-ViT-B-32 │ 88.22 │ 75.43 │ 65.98 │ 40.69
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
ALFRED · pre-training matching task (TestOpenCLIP-ViT-B-32 (Zero-shot), triple-contrastive-alignment evaluation baselineACC (I2A)5.67split: test · 0-shot · backbone=ViT-B/32
Source quote
L133: OpenCLIP-ViT-B-32 (Zero-shot) │ 3.89 │ 45.62 │ 5.67 │ 37.65
BibTeX
@misc{wang2025liam,
  author = {Yihao Wang and Raphael Memmesheimer and Sven Behnke},
  title = {{LIAM: Multimodal Transformer for Language Instructions, Images, Actions and Semantic Maps}},
  year = {2025},
  eprint = {2503.12230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12230},
}
Figure