Context‐Aware Prompt Engineering for Large Language Models in Autonomous Vehicles

ABSTRACT This paper presents a soft and novel context‐aware prompt engineering framework to enable adaptive and safe integration of large language models (LLMs) into autonomous vehicle (AV) systems. Unlike prior works, which employed static prompts or offline decision logic, our method dynamically creates prompts based on multimodal context, including speech commands, environmental cues (e.g., traffic, weather), and urgency levels. A hierarchical prioritization model is introduced to classify instructions according to safety sensitivity, enabling fine‐grained control and real‐time response in high‐risk AV scenarios. The system integrates speech‐to‐text (STT) transcription, text inputs, environmental context, and LLMs. Assessment of the Talk2Car dataset and a complementary noisy‐speech testbed indicated consistent improvements in accuracy, precision, recall, and F1 across four backbone LLMs (BERT, GPT‐2, SALMON, and SALMONN). These results demonstrate the effectiveness of prompt‐level adaptation in ensuring robustness and scalability in real‐world AV deployments.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2025-10-29
DOI
https://doi.org/10.1002/cpe.70392
Citations
1
Primary Topic
Autonomous Vehicle Technology and Safety
Type
article
Field-Weighted Citation Impact
0.68
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context‐Aware Prompt Engineering for Large Language Models in Autonomous Vehicles

Amir Masoud Rahmani, Shirin Abbasi
1 citations
Concurrency and Computation Practice and Experience
Autonomous Vehicle Technology and Safety
0.68
article

Context‐Aware Prompt Engineering for Large Language Models in Autonomous Vehicles

Amir Masoud Rahmani, Shirin Abbasi
article en
1 citations

Abstract

ABSTRACT This paper presents a soft and novel context‐aware prompt engineering framework to enable adaptive and safe integration of large language models (LLMs) into autonomous vehicle (AV) systems. Unlike prior works, which employed static prompts or offline decision logic, our method dynamically creates prompts based on multimodal context, including speech commands, environmental cues (e.g., traffic, weather), and urgency levels. A hierarchical prioritization model is introduced to classify instructions according to safety sensitivity, enabling fine‐grained control and real‐time response in high‐risk AV scenarios. The system integrates speech‐to‐text (STT) transcription, text inputs, environmental context, and LLMs. Assessment of the Talk2Car dataset and a complementary noisy‐speech testbed indicated consistent improvements in accuracy, precision, recall, and F1 across four backbone LLMs (BERT, GPT‐2, SALMON, and SALMONN). These results demonstrate the effectiveness of prompt‐level adaptation in ensuring robustness and scalability in real‐world AV deployments.

Concurrency and Computation Practice and ExperienceVol. 37(27-28)
University of Science and Culture (IR), National Yunlin University of Science and Technology (TW)
Openalex Percentile: Top 24%
Autonomous Vehicle Technology and Safety
0.68
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Context‐Aware Prompt Engineering for Large Language Models in Autonomous Vehicles — Amir Masoud Rahmani, Shirin Abbasi · Concurrency and Computation Practice and Experience (2025) | TGRS Research Map | TGRS