Learning to Summarize and Answer Questions about a Virtual Robot's Past Actions

Chad DeChant, Iretiayo Akinola, Daniel BauerarXiv 2023

TL;DR

This paper introduces a multimodal system that enables a virtual robot to both summarize its past actions and answer natural language questions about its egocentric video history. By jointly training on question-answering (QA) and summarization, the model achieves zero-shot transfer, allowing it to successfully summarize actions involving novel objects it only encountered during QA training.

What Problem Does This Paper Address?

As autonomous robots are entrusted with increasingly long and complex tasks—such as household chores or industrial monitoring—continuous human oversight becomes impractical. To maintain trust and interpretability, robots must be able to report back what they did.

While significant research focuses on instruction following (translating human language into robotic actions), very little addresses the flip side: action reporting (translating a robot's physical history into natural language). Summarizing long action sequences is challenging because it requires abstracting low-level movements into high-level narratives. Furthermore, because a summary cannot capture every detail, a robot must also be capable of answering specific follow-up questions about objects seen, actions taken, and the temporal order of events.

Methods

The authors propose a single multimodal neural network architecture that combines computer vision with a Large Language Model (LLM):

  • Visual Processing: Egocentric video frames from the robot's trajectory are passed through a frozen, pretrained CLIP ResNet-50 network. The features from the last convolutional layer are then processed by a 3-layer convolutional "bridge network" (trained from scratch) to downsize and format the visual data.
  • Language Processing & Generation: The formatted visual features are concatenated with text embeddings of the prompt or question. This combined multimodal input is fed into a pretrained T5-base transformer model, which is fine-tuned to generate the final natural language response.
  • Joint Training: The model is trained simultaneously to generate short summaries (one-sentence goals), long summaries (narratives of the action plan), and answer nine different types of questions.
Visual presentation of the model architecture and the two-step training/testing process.

Datasets

The approach repurposes and heavily augments the ALFRED dataset, which contains egocentric videos of a virtual robot performing household tasks in the AI2-THOR simulator.

Using the simulator's metadata, the authors developed an automated generation algorithm to produce a massive new dataset of 486,704 questions paired with robot episodes. The questions span three main categories:

  1. Object Questions: Verifying the presence of objects (e.g., "Was there a fork?").
  2. Action Questions: Verifying actions performed (e.g., "Did you slice the apple?").
  3. Temporal Questions: Probing the order of events (e.g., "What did you do just before you went to the garbage can?").
Examples of the automatically generated object, action, and temporal questions along with expected summaries.

Key Insights and Ideas

  • Zero-Shot Representation Transfer: The core finding is that training the model to answer questions about specific objects enables it to correctly include those objects in summaries, even if it has never seen a single summarization training example involving those objects. Representational knowledge transfers internally from the QA task to the summarization task.
  • The Unique Power of Temporal Questions: Interestingly, not all questions facilitate this zero-shot transfer. Simple yes/no or either/or questions about objects or actions did not grant zero-shot summarization capabilities. Only training on temporal questions (asking what happened "just before" or "just after" an action) unlocked the transfer. This suggests that temporal QA forces the model to align its object representations with the sequential narrative structure required for summarization.
  • Asymmetric Language Design: The system is designed to understand highly varied, human-generated questions (complex input) but respond using simple, standardized language (consistent output). This ensures the robot remains clear, predictable, and easy for humans to understand.

Key Results

The model demonstrated strong performance across both seen and unseen virtual environments:

  • Question Answering: Achieved 95.4% accuracy on object yes/no questions in seen environments and 90.7% in unseen environments. Temporal questions proved similarly robust, maintaining high accuracy despite the added complexity of tracking sequence order.
  • Summarization: For long summaries, the model achieved a remarkably high ROUGE score of 0.981 (seen) and 0.922 (unseen), indicating near-perfect alignment with ground-truth action narratives.
  • Zero-Shot Transfer: In experiments where specific objects were completely held out of the summarization training set, a baseline model without QA training scored 0.000 accuracy when those objects appeared. However, when auxiliary training on temporal questions was introduced, the zero-shot summarization accuracy jumped to 56.6% in seen environments and 29.9% in unseen environments.

Limitations and Future Work

  • Simulation Bottleneck: The entire study was conducted within the virtual AI2-THOR environment. Testing on physical robots with real-world, noisy video data remains a major open challenge.
  • Heuristic Frame Selection: The model relies on a pre-selected subset of video frames rather than processing raw, continuous video streams. Dynamic frame selection is left for future work.
  • Spatial and Scale Errors: The model occasionally misidentifies very small objects or substitutes generic location descriptions (e.g., saying "go to the counter" instead of "go to the apple" when the apple is on the counter).
  • Out-of-Distribution (OOD) Vulnerability: When asked questions about actions completely outside its domain (e.g., "did you fall in love?"), the model's performance drops compared to ordinary household OOD questions (e.g., "did you clean the attic?"), indicating a need for better uncertainty calibration.

Summary updated

BibTeX
@misc{dechant2023learning,
  author = {Chad DeChant and Iretiayo Akinola and Daniel Bauer},
  title = {{Learning to Summarize and Answer Questions about a Virtual Robot's Past Actions}},
  year = {2023},
  eprint = {2306.09922},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.09922},
}
Figure