Skip to main content
QUICK REVIEW

[Paper Review] Can you text what is happening? Integrating pre-trained language encoders into trajectory prediction models for autonomous driving

Ali Keysan, Andreas Look|arXiv (Cornell University)|Sep 11, 2023
Topic ModelingComputer Science12 citations
TL;DR

The paper pioneers using pre-trained language encoders to process text-based scene descriptions for autonomous driving trajectory prediction, and shows that text and image encoders provide complementary, beneficial representations, with a joint text+image encoder yielding the best performance on nuScenes.

ABSTRACT

In autonomous driving tasks, scene understanding is the first step towards predicting the future behavior of the surrounding traffic participants. Yet, how to represent a given scene and extract its features are still open research questions. In this study, we propose a novel text-based representation of traffic scenes and process it with a pre-trained language encoder. First, we show that text-based representations, combined with classical rasterized image representations, lead to descriptive scene embeddings. Second, we benchmark our predictions on the nuScenes dataset and show significant improvements compared to baselines. Third, we show in an ablation study that a joint encoder of text and rasterized images outperforms the individual encoders confirming that both representations have their complementary strengths.

Motivation & Objective

  • Motivate integrating text-based representations into autonomous driving trajectory prediction to enhance scene understanding.
  • Propose a text-based scene representation that captures target agent state, history, and lane information.
  • Compare text-based encoders to traditional image-based encoders for trajectory prediction.
  • Investigate whether a joint text+image encoding improves predictive accuracy over unimodal encoders.
  • Provide a proof-of-concept that language models can contribute meaningful scene representations in AD tasks.

Proposed method

  • Use an encoder-decoder architecture based on CoverNet as the backbone for trajectory prediction.
  • Implement three input modalities: image encoder (ResNet BEiT variants), text encoder (DistilBERT), and a joint encoder that concatenates text and image embeddings.
  • Represent scenes with rasterized images and with text prompts describing agent state, history, and lane geometry.
  • Encode lane information either as discretized polylines or as cubic Bézier curves to fit language model context lengths.
  • Fine-tune pre-trained encoders on the nuScenes training set, with frozen encoders in the joint model and a fixed decoder for trajectory classification.
  • Evaluate using standard nuScenes metrics: minADE_k, minFDE_k, and MissRate_k for k in {1,5,10}.

Experimental results

Research questions

  • RQ1Can text-based scene representations via pre-trained language encoders provide viable trajectory predictions in autonomous driving tasks?
  • RQ2Do text and image encoders offer complementary strengths that can be leveraged with a joint encoder?
  • RQ3How does Bézier-curve lane encoding compare to discretized lane representations in prompting language models?
  • RQ4What is the impact of freezing vs. fine-tuning encoders on unimodal and multimodal setups?
  • RQ5Can a joint text+image encoder outperform unimodal counterparts on nuScenes?

Key findings

  • Text encoders alone can provide competitive trajectory predictions compared to image encoders.
  • Bézier prompts outperform discretized prompts due to context-length constraints, avoiding truncation.
  • A joint image+text encoder yields the best performance, outperforming both unimodal baselines and baselines from CoverNet summaries.
  • BEiT-B as image backbone generally improves over ResNet backbones in this task.
  • DistilBERT-based text encoders achieve strong miss-rate performance, while BEiT-based image encoders excel on average and final displacement metrics.
  • Joint models that fuse modalities harness complementary strengths of text and image representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.