LEGO: Learning EGOcentric Action Frame Generation via Visual Instruction Tuning

Bolin Lai, Xiaoliang Dai, Lawrence Chen, Guan Pang, James M. Rehg, Miao Liu

Introduction

Providing intuitive guidance for physical tasks is a core goal of Augmented Reality (AR). While text-based instructions from Large Language Models (LLMs) are common, they often impose a high cognitive load on users who must translate abstract text into specific physical movements. The LEGO (Learning EGOcentric Action Frame Generation) framework addresses this by synthesizing realistic first-person "action frames" that visually demonstrate how to perform a task within the user's current environment.

The Challenge of Egocentric Generation

Generating high-fidelity egocentric images faces two primary obstacles: the domain gap and annotation scarcity. Most generative models are trained on third-person (exocentric) web data, failing to capture the unique perspective and hand-object interactions of first-person views. Furthermore, existing egocentric datasets often feature sparse labels that lack the descriptive detail required for diffusion models to generate accurate spatial layouts.

A word cloud of actions and a sample egocentric frame from existing datasets.

The LEGO Framework

LEGO bridges these gaps through a two-stage visual instruction tuning process.

1. Data Enrichment and Instruction Tuning

To overcome sparse labeling, the researchers utilized GPT-3.5 to generate "enriched action descriptions" based on existing action labels and object bounding boxes. These descriptions detail which hand is performing what action and how. A Vision-Language Model (VLLM), based on LLaVA, was then finetuned to produce these detailed descriptions directly from an input image and a user prompt.

2. Triple-Conditioned Diffusion

The core of LEGO is a Latent Diffusion Model (LDM) that utilizes a triple-conditioning strategy to ensure high-fidelity generation. The model is fed enriched text, VLLM image embeddings (semantic features), and VLLM text embeddings (internal hidden states). By projecting these VLLM features into the diffusion space, LEGO effectively "teaches" the model the nuances of the first-person perspective, allowing it to preserve the user's background context while accurately rendering new actions.

Experimental Results

The model was evaluated on the Ego4D and Epic-Kitchens-100 benchmarks. LEGO demonstrated significant improvements over state-of-the-art baselines like InstructPix2Pix (IP2P) and SDEdit. On the Ego4D dataset, LEGO improved the EgoVLP score by 3.46%. More importantly, in human preference studies, participants chose LEGO’s generated images as the best representation of the action 60-61% of the time, far outperforming the next best model (IP2P) at 17-22%.

A high-fidelity action frame generated by LEGO for the task 'wash trousers with brush'.

Conclusion and Future Work

LEGO demonstrates that internal VLLM embeddings are powerful bridges for domain-specific image generation. By enriching sparse annotations and leveraging joint image-text embeddings, LEGO provides a path toward more intuitive, visually-guided AR assistance. Future research will focus on moving from single-frame generation to fluid video sequences, providing even more comprehensive guidance for complex tasks.

Summary updated

BibTeX
@inproceedings{lai2024lego,
  author = {Bolin Lai and Xiaoliang Dai and Lawrence Chen and Guan Pang and James M. Rehg and Miao Liu},
  title = {{LEGO: Learning EGOcentric Action Frame Generation via Visual Instruction Tuning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72673-6\_8},
}
Figure