The rapid development of autonomous driving technology has increased the demand for the authentic and diverse simulation test scenarios. However, traditional methods for constructing autonomous driving simulation scenarios heavily rely on manual editing, which is not only costly but also limited by the combination and complexity of scene elements, making it difficult to meet the comprehensive testing and validation needs of autonomous driving systems. To address this issue, this paper proposes a method for generating autonomous driving simulation test scenarios based on Large Language Models (LLMs). This approach utilizes a pre-trained LLM, enhanced through LoRA fine-tuning, and integrates a scenario language parser to produce a structured interpretive language, which is used to generate scenario files. The generated text is processed by a parser to convert it into usable scenario files, effectively addressing the issues of overly long texts and model hallucinations, while also achieving the specialization of a general model's capabilities.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |