Automatic driving simulation scene editing method and device, electronic equipment and storage medium

Through the intelligent agent collaboration framework based on the large language model, natural language description is used to generate automatic driving simulation scenes, which solves the problems of complexity and diversified requirements of automatic driving simulation scene editing in the existing technology, and realizes efficient and convenient simulation scene editing. and modifications to improve the realism and consistency of the scene.

CN118568919APending Publication Date: 2024-08-30INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410500521.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing autonomous driving simulation scene editing technology is complex and difficult to quickly create diverse simulation environments. User operations are cumbersome, resulting in low work efficiency.

Method used

Using an agent collaboration framework based on a large language model, automatic driving simulation scenes are generated through natural language description processing, including management agents and scene editing agents, using pre-trained local filtered self-attention models and multi-camera neural radiation fields The model performs scene rendering and lighting estimation, enabling rapid editing and modification of autonomous driving simulation scenes.

Benefits of technology

It improves the efficiency and convenience of user interaction, can quickly create diversified autonomous driving simulation scenes that meet the needs of complex scenarios, reduces the difficulty of user operations, and enhances the realism and consistency of the scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568919A
    Figure CN118568919A
Patent Text Reader

Abstract

The invention provides an automatic driving simulation scene editing method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a natural language description corresponding to a representation scene demand; processing the natural language description by adopting an agent collaboration framework based on a large language model to obtain an edited automatic driving simulation scene; and the agent cooperation framework determines a scene editing task according to the natural language description so as to edit a to-be-edited simulation scene according to the scene editing task and generate an automatic driving simulation scene. Compared with a scheme in which a simulation scene can be created or edited by tedious manual setting, the method has the advantages that the natural language description is processed by utilizing the agent collaboration framework based on the large language model, and the automatic driving simulation scene can be defined or edited and modified only through a natural language command; the efficiency and convenience of user interaction are improved, and more diversified automatic driving simulation scenes meeting complex scene requirements of users can be quickly edited and created.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an automatic driving simulation scene editing method, device, electronic device and storage medium. Background Art

[0002] The development of autonomous driving technology is in a period of rapid evolution, constantly driving changes in transportation methods. In the development of autonomous driving systems, it is crucial to accurately and efficiently simulate various driving scenarios. These simulation scenarios can not only be used to verify and test the performance of autonomous driving algorithms, but also to evaluate the robustness and safety of the system under different traffic, weather and lighting conditions. However, the technical challenges behind creating a simulation environment that is both realistic and diverse are enormous.

[0003] Traditional autonomous driving scene simulation mainly relies on three types of technologies: graphics engine, image generation and scene rendering. The graphics engine simulates a wide range of driving scenarios by building a virtual world, but there are often significant differences between the virtual world and the real world, which will affect the performance of the algorithm in the real environment. The image generation method generates realistic scene images through control signals (such as high-definition maps, sketch layouts, etc.), but there are challenges in maintaining scene consistency. Scene rendering technology provides a new way to model cars and static street backgrounds in outdoor environments, but it often requires extensive user participation in the editing process and is difficult to support external digital assets for data expansion.

[0004] Therefore, how to quickly edit and create diverse autonomous driving simulation scenarios is a problem that needs to be solved urgently. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides a method for editing an autonomous driving simulation scene, the method comprising:

[0006] Obtain a natural language description corresponding to the requirements of the characterization scenario;

[0007] The natural language description is processed using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scenario;

[0008] Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

[0009] According to a method for editing an autonomous driving simulation scene provided by the present invention, the agent collaboration framework includes a management agent and at least one scene editing agent, each of the scene editing agents is respectively configured with a large language model, and the large language model is a pre-trained local filtering self-attention model; the agent collaboration framework based on the large language model is used to process the natural language description to obtain an edited autonomous driving simulation scene, including:

[0010] Decoupling the natural language description using a management agent to obtain at least one scene editing task expressed in natural language, and assigning the at least one scene editing task to corresponding scene editing agents respectively;

[0011] The scene editing agent is used to execute the scene editing task assigned by the management agent to obtain an edited autonomous driving simulation scene; wherein the local filtering self-attention model configured in the scene editing agent is used to understand the scene editing task.

[0012] According to an automatic driving simulation scene editing method provided by the present invention, the scene editing agent is used to execute the scene editing task assigned by the management agent to obtain the edited automatic driving simulation scene, including:

[0013] Using at least one scene editing agent to perform the assigned scene editing task;

[0014] The task execution results of each scene editing agent on the edited autonomous driving simulation scene are synthesized to obtain the edited autonomous driving simulation scene;

[0015] The scene editing agent includes at least one of a perspective adjustment agent, a background rendering agent, a foreground rendering agent, and a vehicle movement agent.

[0016] According to an autonomous driving simulation scene editing method provided by the present invention, the scene editing agent includes a background rendering agent, the background rendering agent is also configured with a pre-trained multi-camera neural radiation field model, and the background rendering task assigned by the management agent is executed in the following manner:

[0017] Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited;

[0018] Inputting the multi-camera perspective image into a pre-trained multi-camera neural radiation field model configured by a background rendering agent to obtain an image in full perspective;

[0019] Based on the image in the full viewing angle, background rendering is performed on the autonomous driving simulation scene to be edited.

[0020] According to an autonomous driving simulation scene editing method provided by the present invention, the scene editing agent includes a foreground rendering agent, the foreground rendering agent is also configured with a pre-trained multi-camera lighting estimation model, and the foreground rendering task assigned by the management agent is executed in the following manner:

[0021] Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited;

[0022] Inputting the multi-camera view images into a pre-trained multi-camera illumination estimation model to obtain scene illumination information;

[0023] The foreground of the autonomous driving simulation scene to be edited is rendered according to the scene lighting information.

[0024] According to the method for editing an autonomous driving simulation scene provided by the present invention, after acquiring the multi-camera perspective images of the autonomous driving simulation scene to be edited, the method further includes:

[0025] The multi-camera perspective images are calibrated using a unified spatial coordinate system to obtain images in calibrated camera postures.

[0026] According to the method for editing an autonomous driving simulation scene provided by the present invention, after obtaining the edited autonomous driving simulation scene, the method further comprises:

[0027] Obtaining a scenario modification description inputted for the edited autonomous driving simulation scenario;

[0028] The intelligent agent collaboration framework is adopted to determine the scene modification task according to the scene modification description, so as to perform multiple rounds of editing iterations on the edited autonomous driving simulation scene according to the scene modification task to obtain the final autonomous driving simulation scene.

[0029] The present invention also provides an automatic driving simulation scene editing device, the device comprising:

[0030] A natural language description acquisition module is used to acquire a natural language description corresponding to the requirements of the representation scene;

[0031] A scene editing module, used to process the natural language description using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scene;

[0032] Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

[0033] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the autonomous driving simulation scene editing method as described in any one of the above items are implemented.

[0034] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the autonomous driving simulation scene editing method as described in any one of the above items are implemented.

[0035] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for editing autonomous driving simulation scenes.

[0036] The autonomous driving simulation scene editing method, device, electronic device and storage medium provided by the present invention obtain natural language descriptions corresponding to the characterization scene requirements, adopt an intelligent agent collaboration framework based on a large language model, determine the scene editing task according to the natural language description, and edit the autonomous driving simulation scene to be edited according to the scene editing task to generate an autonomous driving simulation scene. Compared with traditional simulation scene editing solutions that require complex programming or cumbersome manual settings to create or edit and modify simulation scenes, resulting in reduced work efficiency and increased user operation difficulty, the present invention utilizes an intelligent agent collaboration framework based on a large language model to process natural language descriptions, and autonomous driving simulation scenes can be defined or edited and modified only through natural language commands, thereby improving the efficiency and convenience of user interaction, and can quickly edit and create more diverse autonomous driving simulation scenes that meet users' complex scene requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 is a flowchart of an automatic driving simulation scene editing method provided by an embodiment of the present invention;

[0039] Figure 2 is a schematic diagram of the structure of an automatic driving simulation scene editing device provided by an embodiment of the present invention;

[0040] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] Figure 1 1 is a flow chart of an automatic driving simulation scene editing method provided by an embodiment of the present invention. Figure 1 The embodiment of the present invention provides a method for editing an autonomous driving simulation scene, which may specifically include the following steps:

[0043] Step 101: Obtain a natural language description corresponding to the characterization scenario requirement.

[0044] It should be noted that the execution subject of the automatic driving simulation scene editing method provided in the embodiment of the present invention can be an electronic device, a component in an electronic device, an integrated circuit or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present invention does not specifically limit this.

[0045] The following embodiment of the present invention is described with the server as the execution subject. In the embodiment of the present invention, the server can obtain the natural language description corresponding to the scene requirement input by the user to edit the autonomous driving simulation scene.

[0046] The scenario requirements may include scenario generation requirements and scenario editing requirements. The server may receive a natural language description input by a user corresponding to the scenario generation requirements, thereby creating an autonomous driving simulation scenario. After creating the autonomous driving simulation scenario, the server may receive a natural language description input by a user corresponding to the scenario editing requirements, and continuously edit and modify the created autonomous driving simulation scenario, thereby obtaining a variety of autonomous driving simulation scenarios through user natural language commands.

[0047] The natural language description may be a natural language text directly input by a user, or may be a text description obtained by converting a voice description directly input by a user, and the present invention does not make any limitation thereto.

[0048] Step 102: Use an intelligent agent collaboration framework based on a large language model to process the natural language description to obtain an edited autonomous driving simulation scene; wherein the intelligent agent collaboration framework determines a scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate an autonomous driving simulation scene.

[0049] Specifically, the natural language description input by the user can be input into the intelligent agent collaboration framework based on the large language model, and natural language processing can be performed through the intelligent agent collaboration framework based on the large language model to determine the scene editing task. The scene editing task can be executed by multi-agent collaboration, and the autonomous driving simulation scene to be edited can be edited according to the scene editing task, so as to obtain the autonomous driving simulation scene that has been edited and modified according to the user's scenario requirements.

[0050] The embodiment of the present invention obtains a natural language description corresponding to the characterization scene requirements, adopts an intelligent agent collaboration framework based on a large language model, determines the scene editing task according to the natural language description, and edits the autonomous driving simulation scene to be edited according to the scene editing task to generate an autonomous driving simulation scene. Compared with the traditional simulation scene editing scheme that requires complex programming or cumbersome manual settings to create or edit and modify the simulation scene, resulting in reduced work efficiency and increased user operation difficulty, the present invention utilizes an intelligent agent collaboration framework based on a large language model to process the natural language description, and the autonomous driving simulation scene can be defined or edited and modified only through natural language commands, thereby improving the efficiency and convenience of user interaction, and can quickly edit and create more diverse autonomous driving simulation scenes that meet the complex scene requirements of users.

[0051] In an optional embodiment, the agent collaboration framework includes a management agent and at least one scene editing agent, each of the scene editing agents is configured with a large language model, and the large language model is a pre-trained local filtering self-attention model; the agent collaboration framework based on the large language model is used to process the natural language description to obtain an edited autonomous driving simulation scene, including: using the management agent to decouple the natural language description to obtain at least one scene editing task expressed in natural language, and assigning the at least one scene editing task to the corresponding scene editing agent; using the scene editing agent to execute the scene editing task assigned by the management agent to obtain the edited autonomous driving simulation scene; wherein the local filtering self-attention model configured in the scene editing agent is used to understand the scene editing task.

[0052] The agent collaboration framework based on the large language model may also include a management agent. In the embodiment of the present invention, the management agent may be used to decouple the natural language description corresponding to the scene requirements input by the user, and at least one scene editing task expressed in natural language obtained by decoupling may be assigned to the corresponding agent for execution. The perspective adjustment task may be assigned to the perspective adjustment agent for processing, the background rendering task may be assigned to the background rendering agent for processing, and the foreground rendering task may be assigned to the foreground rendering agent for processing, etc.

[0053] For example, the natural language description may be "On a sunny afternoon, add a red car to the city streets and move the view forward 3 meters." The natural language description may be decoupled into scene editing tasks such as "move the view forward 3 meters," "select a car model and set the car color to red," and "set the car model on the city streets." These scene editing tasks may be assigned to corresponding agents for execution.

[0054] An intelligent agent may refer to an entity or system with perception, decision-making and action capabilities, and may be a physical robot, a software program, a virtual agent or any system that can perceive the environment and respond, etc., and the present invention is not limited here. The local filtering self-attention model can be a neural network model for processing natural language processing tasks, which combines the self-attention mechanism and the local filtering mechanism to improve the modeling capability and efficiency of the input sequence.

[0055] The large model-based agent collaboration framework can be composed of multiple agents, each of which can be configured with its own corresponding large language model, which can be a pre-trained local filtering self-attention model. In the embodiment of the present invention, after receiving a scene editing task expressed in natural language, each scene editing agent can use the configured pre-trained local filtering self-attention model to understand the scene editing task, and perform the task according to the Chinese understanding result, thereby performing an editing operation on the autonomous driving simulation scene to be edited, and obtaining the edited autonomous driving simulation scene.

[0056] The local filtering self-attention model may include a local filter layer and a self-attention layer. Specifically, the local filter layer can be used to slide the input scene editing task expressed in natural language to extract local features from different positions; the self-attention layer can be used to calculate the global importance of each local feature, and the local features can be weighted and combined according to the importance of each local feature to pay attention to and integrate different local features globally, so that local and global information can be taken into account at the same time, and the scene editing task expressed in natural language can be understood more comprehensively, and richer and more accurate Chinese understanding results can be obtained for task execution. Among them, the local features can be specific patterns, structures or important local contexts of the scene editing task.

[0057] The embodiments of the present invention can achieve highly flexible editing capabilities by utilizing a multi-agent collaborative framework based on a local filtering self-attention model. This framework can allow users to specify complex or abstract scene requirements, such as specific traffic situations or weather conditions, through natural language commands, and understand and execute the commands through multiple built-in agents configured with a local filtering self-attention model, thereby generating corresponding scenes.

[0058] The embodiments of the present invention utilize the local filtering self-attention model configured in each intelligent agent to process scene editing tasks expressed in natural language, which can better understand Chinese descriptions, reduce the consumption of computing resources, improve the processing efficiency of scene editing tasks, and facilitate accurate editing and creation of autonomous driving simulation scenes that meet user scenario requirements.

[0059] In an optional embodiment, the scene editing agent is used to execute the scene editing task assigned by the management agent to obtain the edited autonomous driving simulation scene, including: using at least one scene editing agent to execute the assigned scene editing task; synthesizing the task execution results of each scene editing agent on the autonomous driving simulation scene to be edited to obtain the edited autonomous driving simulation scene; wherein the scene editing agent includes at least one of a perspective adjustment agent, a background rendering agent, a foreground rendering agent, and a vehicle motion agent.

[0060] The pre-trained local filtering self-attention model configured in the scene editing agent can be used to understand the received scene editing task, and perform the task through the Chinese understanding result, so as to edit the autonomous driving simulation scene to be edited. The scene editing agent can include at least one of a perspective adjustment agent, a background rendering agent, a foreground rendering agent, and a vehicle motion agent. Among them, the perspective adjustment agent can be used to render a new view according to given external parameters, the background rendering agent can be used to render a background image, the foreground rendering agent can be used to render a vehicle model according to a given vehicle posture, and the vehicle motion agent can be used to control the direction of movement of the vehicle.

[0061] The task execution results of each scene editing agent on the edited autonomous driving simulation scene can be synthesized to obtain the edited autonomous driving simulation scene, that is, the 3D autonomous driving simulation scene video, so as to meet the user's customization needs and provide the customized autonomous driving simulation scene to the autonomous driving system for testing.

[0062] In an embodiment of the present invention, each agent is responsible for performing different tasks, which can achieve accurate natural language understanding and execution, improve the efficiency of user interaction and the flexibility of scene generation; by synthesizing the editing operation results of the autonomous driving simulation scene to be edited by each scene editing agent, the edited autonomous driving simulation scene is obtained, and multiple agents based on the local filtering self-attention model can collaborate to process complex tasks, thereby meeting the user's complex scene requirements through collaborative work, which is conducive to quickly editing and creating autonomous driving simulation scenes that meet the user's complex scene requirements.

[0063] In an optional embodiment, the scene editing agent includes a background rendering agent, and the background rendering agent is also configured with a pre-trained multi-camera neural radiation field model. The background rendering task assigned by the management agent is executed in the following manner: obtaining a multi-camera perspective image of the autonomous driving simulation scene to be edited; inputting the multi-camera perspective image into the pre-trained multi-camera neural radiation field model configured by the background rendering agent to obtain an image in full perspective; and performing background rendering on the autonomous driving simulation scene to be edited based on the image in full perspective.

[0064] In an embodiment of the present invention, the background rendering agent may also be configured with a pre-trained multi-camera neural radiation field model. When the background rendering task assigned by the background rendering agent is interpreted and executed using the local filtering self-attention model built into the background rendering agent, multiple cameras set in the autonomous driving simulation scene to be edited may be used to collect images of the autonomous driving simulation scene to be edited from multiple camera perspectives, and the images from multiple camera perspectives may be input into the pre-trained multi-camera neural radiation field model, so that images of the autonomous driving simulation scene from all perspectives may be obtained, and the background rendering of the autonomous driving simulation scene to be edited may be performed based on the images from all perspectives, thereby realizing the editing operation of the autonomous driving simulation scene.

[0065] Among them, the multi-camera neural radiance field model can be used to process multi-view image inputs from different cameras, optimize camera alignment and brightness consistency issues, and improve the realism of scene rendering; by considering the exposure time differences of multiple cameras, high-quality background rendering can be achieved to ensure the visual consistency of the autonomous driving scene.

[0066] The embodiments of the present invention can generate photo-realistic scenes by utilizing a multi-camera neural radiation field model to perform background rendering for an autonomous driving simulation scene, taking into account the viewing angles and exposure differences of multiple cameras, thereby facilitating improving the consistency and realism of scene rendering of the autonomous driving simulation scene.

[0067] In an optional embodiment, the scene editing agent includes a foreground rendering agent, which is also configured with a pre-trained multi-camera lighting estimation model. The foreground rendering task assigned by the management agent is executed in the following manner: obtaining a multi-camera perspective image of the autonomous driving simulation scene to be edited; inputting the multi-camera perspective image into the pre-trained multi-camera lighting estimation model to obtain scene lighting information; and performing foreground rendering on the autonomous driving simulation scene to be edited according to the scene lighting information.

[0068] In an embodiment of the present invention, the foreground rendering agent may also be configured with a pre-trained multi-camera neural radiation field model. When the foreground rendering task assigned by the foreground rendering agent is interpreted and executed using the local filtering self-attention model built into the foreground rendering agent, images of the autonomous driving simulation scene to be edited under multiple camera perspectives may be collected, and the images under multiple camera perspectives may be input into the pre-trained multi-camera lighting estimation model, so that the lighting information of the scene may be obtained, and the foreground rendering of the autonomous driving simulation scene to be edited may be performed according to the scene lighting information, thereby realizing the editing operation of the autonomous driving simulation scene.

[0069] Among them, the multi-camera lighting estimation model can be used to estimate the lighting information of the sky dome and capture the lighting effects of the surrounding environment, so as to accurately reflect the actual lighting conditions, so that digital assets can be seamlessly edited and integrated into the autonomous driving simulation scene while maintaining a high degree of realism.

[0070] The embodiments of the present invention utilize a multi-camera lighting estimation model to analyze image information from different cameras, accurately restore the lighting effect of the sky dome and the ambient lighting in the scene, thereby accurately estimating the lighting conditions of the autonomous driving simulation scene, and providing location-specific lighting effects for digital assets in the scene, thereby achieving accurate rendering of real external digital assets, and enabling digital assets introduced from the outside to be integrated into the autonomous driving simulation scene with extremely high realism, thereby enhancing the realism of the rendered objects and the overall lighting consistency of the scene, thereby further enhancing the richness and realism of the autonomous driving simulation scene.

[0071] In an optional embodiment, after obtaining the multi-camera perspective images of the autonomous driving simulation scene to be edited, it also includes: using a unified spatial coordinate system to calibrate the multi-camera perspective images to obtain images under calibrated camera postures.

[0072] Specifically, a unified spatial coordinate system can be used to calibrate and align images of the autonomous driving simulation scene to be edited captured by multiple cameras at different timestamps to obtain images under calibrated camera poses. After obtaining the images under the calibrated camera poses, the images under the calibrated camera poses can be input into a pre-trained multi-camera neural radiation field model and a pre-trained multi-camera lighting estimation model for high-quality scene rendering, making the simulation environment more realistic and credible.

[0073] The embodiment of the present invention uses a unified spatial coordinate system to calibrate images from multiple camera perspectives, which can significantly reduce posture noise and achieve multi-camera alignment, thereby realizing high-fidelity rendering of the scene.

[0074] In a specific implementation, the effect of the edited autonomous driving simulation scene can be evaluated, and the edited autonomous driving simulation scene can be compared with the existing autonomous driving data set to evaluate the authenticity of the edited autonomous driving simulation scene. Specifically, standardized evaluation indicators, such as image quality evaluation index and three-dimensional reconstruction accuracy, can be used to quantify the realism of the simulation scene. Among them, the image quality evaluation index can include at least one of structural similarity (SSIM) and peak signal to noise ratio (PSNR).

[0075] In an optional embodiment, after obtaining the edited autonomous driving simulation scene, it may also include: obtaining a scene modification description input for the edited autonomous driving simulation scene; using the intelligent agent collaboration framework to determine a scene modification task according to the scene modification description, so as to perform multiple rounds of editing iterations on the edited autonomous driving simulation scene according to the scene modification task to obtain a final autonomous driving simulation scene.

[0076] Specifically, users can propose modification suggestions based on the previously edited 3D autonomous driving simulation scene video. The server can receive the scene modification description input by the user for the previously edited autonomous driving simulation scene, and re-use the intelligent agent collaboration framework based on the large language model to process the scene modification description. The intelligent agent collaboration framework is used to determine the scene modification task according to the scene description, and the edited autonomous driving simulation scene is edited and iterated for multiple rounds according to the scene modification task to generate the final autonomous driving simulation scene video.

[0077] In an embodiment of the present invention, by integrating the scenario modification description of user feedback, the parsing and execution capabilities of the intelligent agent can be further refined; by performing multiple rounds of editing and iteration on the previously edited and generated autonomous driving simulation scenario, the autonomous driving simulation scenario can be gradually optimized to meet the user's complex scenario requirements.

[0078] The embodiments of the present invention combine the local filtering self-attention model with rendering technologies such as the multi-camera neural radiation field model and the multi-camera illumination estimation model to generate photo-realistic 3D autonomous driving simulation scenes and achieve high-quality scene rendering, thereby providing a flexible, efficient and realistic diversified autonomous driving simulation environment.

[0079] The embodiments of the present invention can implement editing and modification of 3D autonomous driving simulation scenes through natural language commands, so that users can customize and modify autonomous driving simulation scenes without having professional programming or modeling skills, thereby allowing more people to participate in the scene editing process and promoting technology sharing in the field of autonomous driving.

[0080] The embodiments of the present invention are based on an efficient autonomous driving simulation environment, and researchers can test and verify various algorithms and functions of the autonomous driving system more quickly, which is not only conducive to accelerating the iteration and optimization process of autonomous driving technology, but also conducive to reducing the cost and risk of actual road testing. In addition, by editing the autonomous driving simulation scenes in various ways, generating diversified autonomous driving simulation scenes, and testing the autonomous driving system in various autonomous driving simulation scenes, it is helpful to help researchers evaluate the performance of the autonomous driving system under different road conditions, weather and traffic conditions, thereby discovering and solving potential safety hazards and improving the robustness and safety of the system.

[0081] The autonomous driving simulation scene editing device provided by the present invention is described below. The autonomous driving simulation scene editing device described below and the autonomous driving simulation scene editing method described above can be referenced to each other.

[0082] Figure 2 Schematic diagram of the structure of the automatic driving simulation scene editing device provided by the embodiment of the present invention. Figure 2 The embodiment of the present invention provides an automatic driving simulation scene editing device, which may specifically include the following modules:

[0083] An acquisition module 201 is used to acquire a natural language description corresponding to the requirement of representing the scene;

[0084] The editing module 202 is used to process the natural language description using an intelligent agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scene; wherein the intelligent agent collaboration framework determines a scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate an autonomous driving simulation scene.

[0085] In an optional embodiment, the agent collaboration framework includes a management agent and at least one scene editing agent, each of the scene editing agents is configured with a large language model, and the large language model is a pre-trained local filtering self-attention model; the editing module is specifically used to:

[0086] Decoupling the natural language description using a management agent to obtain at least one scene editing task expressed in natural language, and assigning the at least one scene editing task to corresponding scene editing agents respectively;

[0087] The scene editing agent is used to execute the scene editing task assigned by the management agent to obtain an edited autonomous driving simulation scene; wherein the local filtering self-attention model configured in the scene editing agent is used to understand the scene editing task.

[0088] In an optional embodiment, the editing module is specifically used to:

[0089] Using at least one scene editing agent to perform the assigned scene editing task;

[0090] The task execution results of each scene editing agent on the edited autonomous driving simulation scene are synthesized to obtain the edited autonomous driving simulation scene;

[0091] The scene editing agent includes at least one of a perspective adjustment agent, a background rendering agent, a foreground rendering agent, and a vehicle movement agent.

[0092] In an optional embodiment, the scene editing agent includes a background rendering agent, and the editing module is specifically used to:

[0093] Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited;

[0094] Inputting the multi-camera perspective image into a pre-trained multi-camera neural radiation field model configured by a background rendering agent to obtain an image in full perspective;

[0095] Based on the image in the full viewing angle, background rendering is performed on the autonomous driving simulation scene to be edited.

[0096] In an optional embodiment, the scene editing agent includes a foreground rendering agent, and the editing module is specifically used to:

[0097] Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited;

[0098] Inputting the multi-camera view images into a pre-trained multi-camera illumination estimation model to obtain scene illumination information;

[0099] The foreground of the autonomous driving simulation scene to be edited is rendered according to the scene lighting information.

[0100] In an optional embodiment, the editing module is further configured to:

[0101] The multi-camera perspective images are calibrated using a unified spatial coordinate system to obtain images in calibrated camera postures.

[0102] In an optional embodiment, after obtaining the edited autonomous driving simulation scene, the method further includes:

[0103] A scenario modification description acquisition module, used to acquire a scenario modification description input for an edited autonomous driving simulation scenario;

[0104] An editing iteration module is used to adopt the intelligent agent collaboration framework to determine the scene modification task according to the scene modification description, so as to perform multiple rounds of editing iterations on the edited autonomous driving simulation scene according to the scene modification task to obtain the final autonomous driving simulation scene.

[0105] The embodiment of the present invention obtains a natural language description corresponding to the characterization scene requirements, adopts an intelligent agent collaboration framework based on a large language model, determines the scene editing task according to the natural language description, and edits the autonomous driving simulation scene to be edited according to the scene editing task to generate an autonomous driving simulation scene. Compared with the traditional simulation scene editing scheme that requires complex programming or cumbersome manual settings to create or edit and modify the simulation scene, resulting in reduced work efficiency and increased user operation difficulty, the present invention utilizes an intelligent agent collaboration framework based on a large language model to process the natural language description, and the autonomous driving simulation scene can be defined or edited and modified only through natural language commands, thereby improving the efficiency and convenience of user interaction, and can quickly edit and create more diverse autonomous driving simulation scenes that meet the complex scene requirements of users.

[0106] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the automatic driving simulation scene editing method, and the method includes:

[0107] Obtain a natural language description corresponding to the requirements of the characterization scenario;

[0108] The natural language description is processed using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scenario;

[0109] Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

[0110] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0111] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the autonomous driving simulation scene editing method provided by the above methods, the method comprising:

[0112] Obtain a natural language description corresponding to the requirements of the characterization scenario;

[0113] The natural language description is processed using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scenario;

[0114] Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

[0115] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the automatic driving simulation scene editing method provided by the above methods, the method comprising:

[0116] Obtain a natural language description corresponding to the requirements of the characterization scenario;

[0117] The natural language description is processed using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scenario;

[0118] Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

[0119] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for editing an autonomous driving simulation scene, characterized in that: The method comprises: Obtain a natural language description corresponding to the requirements of the characterization scenario; The natural language description is processed using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scenario; Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

2. The method for editing an autonomous driving simulation scene according to claim 1, characterized in that: The agent collaboration framework includes a management agent and at least one scene editing agent, each of the scene editing agents is configured with a large language model, and the large language model is a pre-trained local filtering self-attention model; the agent collaboration framework based on the large language model is used to process the natural language description to obtain an edited autonomous driving simulation scene, including: Decoupling the natural language description using a management agent to obtain at least one scene editing task expressed in natural language, and assigning the at least one scene editing task to corresponding scene editing agents respectively; The scene editing agent is used to execute the scene editing task assigned by the management agent to obtain an edited autonomous driving simulation scene; wherein the local filtering self-attention model configured in the scene editing agent is used to understand the scene editing task.

3. The method for editing an autonomous driving simulation scene according to claim 2, characterized in that: The step of using the scene editing agent to execute the scene editing task assigned by the management agent to obtain an edited autonomous driving simulation scene includes: Using at least one scene editing agent to perform the assigned scene editing task; The task execution results of each scene editing agent on the edited autonomous driving simulation scene are synthesized to obtain the edited autonomous driving simulation scene; The scene editing agent includes at least one of a perspective adjustment agent, a background rendering agent, a foreground rendering agent, and a vehicle movement agent.

4. The method for editing an autonomous driving simulation scene according to claim 2, characterized in that: The scene editing agent includes a background rendering agent, which is also configured with a pre-trained multi-camera neural radiation field model. The background rendering task assigned by the management agent is performed in the following manner: Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited; Inputting the multi-camera perspective image into a pre-trained multi-camera neural radiation field model configured by a background rendering agent to obtain an image in full perspective; Based on the image in the full viewing angle, background rendering is performed on the autonomous driving simulation scene to be edited.

5. The method for editing an autonomous driving simulation scene according to claim 2, characterized in that: The scene editing agent includes a foreground rendering agent, which is also configured with a pre-trained multi-camera lighting estimation model. The foreground rendering task assigned by the management agent is executed in the following manner: Acquire multi-camera perspective images of the autonomous driving simulation scene to be edited; Inputting the multi-camera view images into a pre-trained multi-camera illumination estimation model to obtain scene illumination information; The foreground of the autonomous driving simulation scene to be edited is rendered according to the scene lighting information.

6. The method for editing an autonomous driving simulation scene according to claim 4 or 5, characterized in that: After acquiring the multi-camera perspective images of the autonomous driving simulation scene to be edited, the method further includes: The multi-camera perspective images are calibrated using a unified spatial coordinate system to obtain images in calibrated camera postures.

7. The method for editing an autonomous driving simulation scene according to claim 1, characterized in that: After the edited autonomous driving simulation scene, the following is also included: Obtaining a scenario modification description inputted for the edited autonomous driving simulation scenario; The intelligent agent collaboration framework is adopted to determine the scene modification task according to the scene modification description, so as to perform multiple rounds of editing iterations on the edited autonomous driving simulation scene according to the scene modification task to obtain the final autonomous driving simulation scene.

8. An automatic driving simulation scene editing device, characterized in that: The device comprises: A natural language description acquisition module, used to acquire a natural language description corresponding to the requirements of the representation scene; A scene editing module, used to process the natural language description using an agent collaboration framework based on a large language model to obtain an edited autonomous driving simulation scene; Among them, the intelligent agent collaboration framework determines the scene editing task according to the natural language description, so as to edit the autonomous driving simulation scene to be edited according to the scene editing task to generate the autonomous driving simulation scene.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the autonomous driving simulation scene editing method as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for editing an autonomous driving simulation scene as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Three-dimensional scene editing method and device, equipment and storage medium

    CN119206153A

  • Three-dimensional scene editing method, device, equipment and storage medium

    CN119206153B