Data screening method and apparatus based on information entropy, and computer readable medium
Through information entropy calculation and adjustment, a reasonable distribution of autonomous driving data sets is achieved, which solves the problem of data concentration in certain scenarios, improves data diversity and model generalization capabilities, and reduces labeling costs.
Patent Information
- Application Number
- PCT/CN2024/071020
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-19
AI Technical Summary
Existing technology is difficult to achieve a reasonable distribution of data sets in autonomous driving, resulting in training data being concentrated in certain scenarios and failing to ensure the diversity and robustness of training data, thereby affecting the generalization ability of the perception algorithm.
A data screening method based on information entropy is used to calculate the information entropy of the data set and adjust the data set according to the probability distribution of each classification to increase the information entropy and ensure that the multiple classifications and status distribution of the data set are more even.
By adjusting the data set, the labeling cost is reduced, the applicability of the data and the accuracy of the model are improved, the training data is prevented from entering local minima, and the generalization ability of the autonomous driving algorithm is enhanced.
Smart Images

Figure CN2024071020_19092024_PF_FP_ABST
Abstract
Description
Data screening method, device and computer-readable medium based on information entropy Technical Field
[0001] The present invention mainly relates to the field of data processing, and in particular to a data screening method, device and computer-readable medium based on information entropy. Background Art
[0002] With the development of intelligent vehicles, autonomous driving technology has become a hot topic in current research. Autonomous driving places high demands on the generalization and robustness of perception. Improving generalization requires data covering as many different scenarios as possible and being reasonably distributed across them to prevent training from entering local minima. In perception algorithms, when collected data is concentrated in a few scenarios, labeling all of this data wastes significant annotation costs. Using data concentrated in a few scenarios for training cannot guarantee a reasonable distribution of training data. Currently, training data is manually controlled to optimize its distribution. However, with massive amounts of data and a variety of complex scenarios, manual control is limited and cannot achieve optimal results.
[0003] Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a data screening method, device and computer-readable medium for obtaining a reasonably distributed data set.
[0005] The technical solution adopted by the present invention to solve the above-mentioned technical problems is a data screening method based on information entropy, which is characterized by including: obtaining a data set, wherein the data set includes multiple data; classifying the multiple data according to the collection characteristics of the multiple data; statistically analyzing the probability distribution of each classification, and calculating the information entropy of the data set according to the probability distribution of each classification; and when the information entropy of the data set is less than a first threshold, adjusting the multiple data in the data set to increase the information entropy of the data set.
[0006] In one embodiment of the present application, the following steps are used to adjust multiple data in the data set:
[0007] Step S141: Calculate the information entropy of each category, where each category has multiple states;
[0008] Step S142: Sort the information entropy of all categories to obtain N1 first categories with the smallest information entropy and N2 second categories with the largest information entropy, and evenly delete a portion of data from the N2 second categories so that the probability distribution of the combined state of the N1 first categories is maximized, where N1 and N2 are both positive integers greater than or equal to 1.
[0009] In one embodiment of the present application, the collection features of the data include the scene in which the vehicle is located, each scene has multiple states, and each of the categories corresponds to one of the scenes.
[0010] In one embodiment of the present application, the scenario includes at least one of weather, temperature, lighting, vehicle speed, vehicle position, lane type, obstacle information, and traffic sign information.
[0011] In one embodiment of the present application, the plurality of data include one or any combination of image data, position data, radar data, and chassis data collected by the vehicle.
[0012] In one embodiment of the present application, the radar data is obtained by measuring one or any one of a laser radar, a millimeter wave radar, and an ultrasonic radar.
[0013] In one embodiment of the present application, the information entropy of the data set is calculated using the following formula:
[0014] in, Is a high-dimensional vector used to represent the data set, where x0, x1, x2...x N Represents the 0th to Nth classification, L k (k=0.......N) represents the label corresponding to the kth category, represents the probability of the kth label, and H(L) represents the information entropy of the data set.
[0015] In one embodiment of the present application, the information entropy of each category is calculated using the following formula:
[0016] Among them, x i (i=0...N) represents the data belonging to the i-th category, sx ij (j=0...M i ) is used to represent the data of the jth state in the i-th category, The 0th to Mth columns are used to represent the data of the i-th category. i states, The probability of data in the jth state in the i-th category, H(x i ) represents the information entropy of the i-th category.
[0017] In one embodiment of the present application, step S142 is repeatedly performed until the increase in the comprehensive information entropy of the data set after deletion is less than a second threshold, and the data set after deletion is used as training data for the autonomous driving algorithm model, wherein the comprehensive information entropy is calculated using the following formula:
[0018] Where pij represents the probability of the data of the jth state of the i-th category, i = (0, ..., N), j = (0, M i ), N represents the total number of categories, M i Indicates the number of states that the i-th category has.
[0019] In one embodiment of the present application, the step of adjusting the plurality of data in the data set is repeatedly performed until the information entropy of the data set is greater than or equal to the first threshold.
[0020] To solve the above technical problems, the present application also proposes a data screening device based on information entropy, comprising:
[0021] a memory for storing instructions executable by the processor;
[0022] A processor is configured to execute the instructions to implement the method described above.
[0023] In order to solve the above technical problems, the present application further proposes a computer-readable medium storing computer program codes, which implement the above method when executed by a processor.
[0024] The data screening method, device, and computer-readable medium of the present application have the following beneficial effects:
[0025] (1) By statistically analyzing the probability distribution of each category, the information entropy of each category is obtained, and the data set with unreasonable distribution is screened and the data in the data set is adjusted. While maintaining the information entropy of the category with large information entropy, the information entropy of the category with small information entropy is increased, so that the distribution of multiple states of multiple categories in the entire data set tends to be average.
[0026] (2) The calculation results of the information entropy of the classification can clearly indicate which categories and states have insufficient data and need to increase the collection. Sending the results to the data collector can guide the data collector to design a more reasonable collection strategy and make the collected data more suitable for the data user.
[0027] (3) The deleted data are all duplicate data, which reduces the amount of data to be labeled and greatly reduces the labeling cost.
[0028] Summary of the Figures
[0029] The features and properties of the present invention are further described by the following examples and accompanying drawings.
[0030] FIG1 is an exemplary flow chart of a data screening method based on information entropy according to an embodiment of the present application;
[0031] FIG2 is an exemplary flow chart of adjusting a data set in a data screening method according to an embodiment of the present application;
[0032] FIG3 is a system block diagram of a data screening device based on information entropy according to an embodiment of the present invention.
[0033] Preferred embodiments of the present invention
[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0035] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0036] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.
[0037] The data screening method based on information entropy of the present application can be applied to any type of data, and is particularly suitable for data screening involved in model training, algorithm verification, etc. in autonomous driving technology.
[0038] FIG1 is an exemplary flow chart of a data screening method based on information entropy according to an embodiment of the present application. Referring to FIG1 , the data screening method of this embodiment includes the following steps:
[0039] Step S11: obtaining a data set, the data set including a plurality of data;
[0040] Step S12: classifying the multiple data according to the collection characteristics of the multiple data;
[0041] Step S13: Counting the probability distribution of each category, and calculating the information entropy of the data set based on the probability distribution of each category; and
[0042] Step S14: When the information entropy of the data set is less than the first threshold, multiple data in the data set are adjusted to increase the information entropy of the data set.
[0043] The above steps are explained in detail below.
[0044] In step S11, the data set is an original, unfiltered data set, which includes a plurality of data. In practical applications, the data set includes a large amount of data, so as to be applied to the algorithm model for training and / or verification.
[0045] This application does not restrict how the dataset is obtained. Specifically, in the field of autonomous driving, the dataset is data obtained by various sensors on the vehicle, which is used to train and / or validate autonomous driving algorithm models. This application does not restrict the format of the data; the data can be one-dimensional, two-dimensional, three-dimensional, or even multi-dimensional.
[0046] In some embodiments, the plurality of data includes one or any combination of image data, position data, radar data, and chassis data collected by the vehicle. The image data may be one or more images captured by an onboard camera, including images of various spatial locations inside and outside the vehicle. The position data may be vehicle location information obtained by a vehicle positioning system. The chassis data includes power data, vehicle speed, and the like.
[0047] In some embodiments, radar data is obtained by one or any combination of laser radar, millimeter wave radar, and ultrasonic radar. Radar data can be used to detect obstacles, predict collisions, and perform adaptive cruise control.
[0048] In step S12, it is understood that in application areas other than autonomous driving, the data collection features can be set based on the actual data characteristics. For example, in the field of image classification, scenarios can be designed based on specific classification requirements. For example, for facial images, images can be classified based on facial features; for natural images, images can be classified based on scenic features, seasonal characteristics, etc.; for sound data, they can be classified based on timbre, voiceprint, etc.; and so on. This specification uses the field of autonomous driving as an example, focusing on vehicle data, and is not intended to limit the application areas of this data screening method.
[0049] Specifically in the field of autonomous driving, in step S12, the collected features of the multiple data include the scene in which the vehicle is located, that is, in step S12, the data is classified according to the scene, and each classification corresponds to a scene.
[0050] In some embodiments, the scene includes at least one of weather, temperature, lighting, vehicle speed, vehicle location, lane type, obstacle information, and traffic sign information. Weather data can be obtained from the cloud by the vehicle's communication module, temperature can be obtained from the vehicle's temperature sensor, and so on. Vehicle location can be represented by latitude and longitude. Lane types include straight lanes, curves, one-way streets, tidal lanes, and any other printed signs on the lane. Traffic signs can include all traffic signs, including sharp turns and speed limit signs.
[0051] This application does not limit the classification method. The data collected by the vehicle can determine the scene in which the vehicle is currently located. Usually, after obtaining the collected data, each data can be classified manually, by algorithm, or by a combination of the two, and a corresponding label can be given to achieve a description of each data. For image data, the unit of data is frame, that is, each frame of data is described. For multidimensional data obtained by a vehicle at the same time, the multidimensional data can be combined to describe the complex scene at that moment.
[0052] In order to describe complex scenes, this application uses high-dimensional vectors Represents the label corresponding to each data, where x0, x1, x2...x N Represent the 0th to Nth categories respectively. For example, x0 represents weather, x1 represents temperature, and so on. Each category has multiple states. For example, the states of x0 include sunny, rainy, snowy, foggy, etc., and the states of x1 include multiple different temperatures or temperature ranges. Some categories can use 0 or 1 to represent the state. For example, in the category of "obstacle information", it can be specifically "whether there is an obstacle", and the state of 1 means yes, and the state of 0 means no. Similarly, the category of "traffic sign information" can include multiple sub-categories such as "whether there is a U-turn sign" and "whether there is a lane line", and 1 and 0 are used to represent yes and no respectively.
[0053] It can be understood that the number of states of different categories may be different.
[0054] In step S13, the purpose of calculating the information entropy of the dataset is to evaluate whether the overall distribution of the dataset is reasonable. If the information entropy of the dataset is low, it means that the overall distribution of the dataset is not reasonable, that is, the collected data is too concentrated in certain categories. Therefore, the data needs to be adjusted, and further, the data collection strategy needs to be adjusted.
[0055] In some embodiments, step S13 uses the following formula (1) to calculate the information entropy of the data set:
[0056] in, Is a high-dimensional vector used to represent the data set, where x0, x1, x2...x N Represents the 0th to Nth classification, L k (k=0.......N) represents the label corresponding to the kth category, represents the probability of the kth label, and H(L) represents the information entropy of the data set. Furthermore, each dimension x in the high-dimensional vector i(i=0, ..., N) represents a classification. In the specific calculation process, the combination of different states of all dimensions forms the different labels L of the data set. k (k=0.......N).
[0057] In step S14, a first threshold is pre-set. When H(L) is less than the first threshold, it indicates that the distribution of the dataset is unreasonable and needs to be adjusted. If H(L) is greater than or equal to the first threshold, it indicates that the distribution of the dataset is reasonable and no adjustment is required. The dataset can be directly used as training data for the autonomous driving algorithm model.
[0058] This application does not limit how to adjust the data set. In the following embodiments, this application uses the method of deleting data to adjust the data set to increase its information entropy. In other embodiments, the data set can also be adjusted by adding specific data to increase its information entropy.
[0059] FIG2 is an exemplary flow chart of adjusting a data set in a data screening method according to an embodiment of the present application. Referring to FIG2 , in step S14, the following method is used to adjust multiple data in the data set:
[0060] Step S141: Calculate the information entropy of each category, where each category has multiple states;
[0061] Step S142: Sort the information entropy of all categories to obtain N1 first categories with the smallest information entropy and N2 second categories with the largest information entropy, and evenly delete a portion of data from the N2 second categories so that the probability distribution of the combined state of the N1 first categories is maximized, where N1 and N2 are both positive integers greater than or equal to 1.
[0062] In step S141 , the information entropy of each category is calculated.
[0063] In some embodiments, the information entropy of each category is calculated using the following formula (2):
[0064] Among them, x i (i=0...N) represents the data belonging to the i-th category, sx ij (j=0...M i ) is used to represent the data of the jth state in the i-th category, The 0th to Mth columns are used to represent the data of the i-th category. i states, The probability of data in the jth state in the i-th category, H(x i ) represents the information entropy of the i-th category.
[0065] Furthermore, M i Represents the total number of states of the i-th category. For different categories, M i Can be different.
[0066] According to formula (2), it can be understood that the information entropy of each classification is related to the distribution of all states in it. i ) is larger, indicating that for classification x i For example, the data is evenly distributed in In each state of H(x i ) is smaller, indicating that for classification x i For example, the data is not evenly distributed in each state. Using such data for model training is prone to enter the local minimum, making the model output inaccurate.
[0067] In step S141 , the information entropy of each category is obtained. It can be understood that the information entropies are not completely equal, and some are large and some are small.
[0068] In step S142, all classified information is sorted to obtain N1 first categories with the smallest information entropy and N2 second categories with the largest information entropy, where N1 and N2 are both positive integers greater than or equal to 1. This application does not limit the specific values of N1 and N2. N1 can be equal to N2 or different.
[0069] Specifically, in some embodiments, let N1 first categories be {x t , x t+1 ,...x t+N1}, calculate the probability distribution of the combination state of the N1 dimensions; let N2 second categories be {x u , x u+1 ,...x u+N2}, calculate the probability distribution of the combination state of the N2 dimensions; then delete a portion of the data from the combination state of the N2 second classification on average, assuming that the label corresponding to the deleted data is Then label The corresponding {x t , x t+1 ,...x t+N1}N1 dimension, in {x t , x t+1 ,...x t+N1} is a combination state, the probability distribution needs to be maximized. The purpose of this calculation is to maximize the number of N1 dimensions {x t , x t+1 ,...x t+N1}, without reducing the N2 dimensions {x u, x u+1 ,...x u+N2} information entropy.
[0070] It should be noted that the information entropy of the second category is the largest, indicating that the data related to the category belonging to the second category is distributed relatively evenly in its various states. The information entropy of the first category is the smallest, indicating that the data related to the category belonging to the first category is distributed unevenly in its various states. Therefore, evenly deleting the data in the second category will not affect the size of the information entropy of the second category. However, if the probability distribution of the combination state of the first category is not considered at the same time, when deleting the data in the second category, it may cause the data of the combination state with a smaller amount of data in the first category to be deleted, resulting in a further decrease in its information entropy, which is not conducive to the reasonable distribution of data. Therefore, in step S142, the present application, while evenly deleting a portion of the data from the second category, also ensures that the probability distribution of each combination state of the first category is maximized, so that the distribution of the remaining data is the most reasonable.
[0071] For example, suppose we obtain a first category with the lowest information entropy: longitude and latitude, and a second category with the highest information entropy: weather. Assume there are 1 million weather data points, which are roughly evenly distributed across all weather conditions. There are 1 million longitude and latitude data points, but the distribution is highly uneven, with approximately 800,000 data points distributed at 30 degrees north latitude and the remaining 200,000 data points distributed at other latitudes. Therefore, in step S142, 100,000 data points are evenly deleted, ensuring that the information entropy of the weather data remains unchanged, while also ensuring that the information entropy of the longitude and latitude data remains unchanged. Thus, the 100,000 deleted data points are all duplicates, and their deletion will not significantly affect the distribution of the categories and states with higher information entropy. However, it will make the distribution of states in the categories with lower information entropy more even, increasing the information entropy of the categories with lower information entropy, thereby increasing the information entropy of the entire dataset.
[0072] In some embodiments, step S142 further includes: recalculating the information entropy H(x i )(i=0...n). It can be understood that the recalculated information entropy should be greater than the information entropy before deletion.
[0073] This application does not limit the amount of data deleted each time.
[0074] The data screening method of the present application has the following beneficial effects:
[0075] (1) Through the above steps S11 to S14, the data set with unreasonable distribution is screened and the data with more duplicates is deleted. While maintaining the information entropy of the classification with large information entropy, the information entropy of the classification with small information entropy is increased, so that the distribution of multiple states of multiple classifications in the entire data set tends to be average.
[0076] (2) Based on the results obtained in step S141, it can be clearly indicated which categories and states have insufficient data and need to increase collection. The results are sent to the data collector, which can guide the data collector to design a collection strategy more reasonably and make the collected data more suitable for the data user.
[0077] (3) The deleted data are all duplicate data, which reduces the amount of data to be labeled and greatly reduces the labeling cost.
[0078] In some embodiments, the data screening method of the present application further includes: repeatedly executing step S142 until the increase in the comprehensive information entropy of the data set after deletion is less than a second threshold, and using the data set after deletion as training data for the autonomous driving algorithm model, wherein the comprehensive information entropy is calculated using the following formula:
[0079] Among them, p ij The probability of the data of the jth state of the i-th category, i = (0, ..., N), j = (0, M i ), N represents the total number of categories, M i Indicates the number of states that the i-th category has.
[0080] According to these embodiments, the comprehensive information entropy of the data set is calculated each time after a deletion operation is performed. It can be understood that the data set is the data set after deletion. When the data distribution is unreasonable, after the deletion operation, the comprehensive information entropy of the deleted data set should be greater than the comprehensive information entropy before deletion, that is, the comprehensive information entropy has increased. The present application does not limit the specific calculation method of the increase. The increase can be the comprehensive information entropy of the data set after deletion minus the comprehensive information entropy of the data set before deletion, or the ratio of the two. If the increase is less than a second threshold, it means that the deletion method of step S142 cannot bring about a significant increase in the information entropy of the entire data set, indicating that the current data set has reached the optimal level, then the deletion operation is stopped, and the current data set is used as the training data for the autonomous driving algorithm model.
[0081] In some embodiments, the data screening method of the present application further includes: repeatedly executing step S14 until the information entropy of the data set is greater than or equal to a first threshold. In these embodiments, after step S142, after each deletion operation, the information entropy of the deleted data set is recalculated using formula (1). If the information entropy is greater than or equal to the first threshold, step S14 is stopped, and the data set at this time is considered to have reached the optimal state and can be used as training data for the autonomous driving algorithm model.
[0082] The vehicle-related datasets obtained using the data screening method of this application are most evenly distributed across categories and states. Inputting this data as training data into autonomous driving algorithm models can improve model accuracy and reduce the likelihood of entering local minima. Using these trained autonomous driving algorithm models can make vehicles smarter, enabling more accurate recognition of various scenarios and more intelligent control of the vehicle to operate in the most appropriate driving mode in various scenarios.
[0083] The present application also includes a data screening device based on information entropy, comprising a memory and a processor, wherein the memory is used to store instructions executable by the processor; the processor is used to execute the instructions to implement the data screening method based on information entropy described above.
[0084] FIG3 is a system block diagram of a data screening device based on information entropy according to an embodiment of the present invention. Referring to FIG3 , the data screening device 300 may include an internal communication bus 301, a processor 302, a read-only memory (ROM) 303, a random access memory (RAM) 304, and a communication port 305. When used on a personal computer, the data screening device 300 may also include a hard disk 306. The internal communication bus 301 may enable data communication between the components of the data screening device 300. The processor 303 may perform judgments and issue prompts. In some embodiments, the processor 302 may be composed of one or more processors. The communication port 305 may enable data communication between the data screening device 300 and the outside world. In some embodiments, the data screening device 300 may send and receive information and data from a network via the communication port 305. The data screening device 300 may also include various forms of program storage units and data storage units, such as a hard disk 306, a read-only memory (ROM) 303, and a random access memory (RAM) 304, capable of storing various data files used for computer processing and / or communication, as well as possible program instructions executed by the processor 302. The processor executes these instructions to implement the main part of the method. The results of the processor processing are transmitted to the user device via a communication port and displayed on the user interface.
[0085] The above-mentioned data screening method can be implemented as a computer program, stored in the hard disk 306, and loaded into the processor 302 for execution to implement the data screening method of the present application.
[0086] The present invention also includes a computer-readable medium storing computer program code, which, when executed by a processor, implements the above-mentioned data screening method based on information entropy.
[0087] When the data screening method based on information entropy is implemented as a computer program, it can also be stored in a computer-readable storage medium as a product. For example, a computer-readable storage medium may include, but is not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs)), smart cards, and flash memory devices (e.g., electrically erasable programmable read-only memories (EPROMs), cards, sticks, key drives). In addition, the various storage media described herein can represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media (and / or storage media) that can store, contain, and / or carry code and / or instructions and / or data.
[0088] It should be understood that the embodiments described above are merely illustrative. The embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For hardware implementation, the processor may be implemented within one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, and / or other electronic units designed to perform the functions described herein, or a combination thereof.
[0089] Some aspects of the present application can be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software can be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". The processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors or combinations thereof. In addition, various aspects of the present application may be expressed as computer products located in one or more computer-readable media, which include computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes...), optical disks (e.g., compact disks CDs, digital versatile disks DVDs...), smart cards, and flash memory devices (e.g., cards, sticks, key drives...).
[0090] A computer-readable medium may include a propagated data signal embodying computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination thereof. A computer-readable medium may be any computer-readable medium other than a computer-readable storage medium that can be connected to an instruction execution system, apparatus, or device to communicate, propagate, or transmit the program for use. The program code on the computer-readable medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, radio frequency signal, or similar medium, or any combination of the above.
[0091] The basic concepts have been described above. It will be apparent to those skilled in the art that the above disclosures are merely illustrative and do not constitute limitations on this application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and amendments to this application. Such modifications, improvements, and amendments are suggested in this application and remain within the spirit and scope of the exemplary embodiments of this application.
[0092] At the same time, this application uses specific terms to describe the embodiments of this application. For example, "one embodiment," "an embodiment," and / or "some embodiments" refer to a certain feature, structure, or characteristic related to at least one embodiment of this application. Therefore, it should be emphasized and noted that "one embodiment," "an embodiment," or "an alternative embodiment" mentioned twice or multiple times in different locations in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of this application may be appropriately combined.
[0093] In some embodiments, numbers are used to describe the quantity of components and attributes. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise stated, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the description and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the settings of such numerical values are as accurate as possible within the feasible range.
Claims
1. A data screening method based on information entropy, characterized in that: include: Acquire a data set, wherein the data set includes a plurality of data; Classifying the multiple data according to the collection characteristics of the multiple data; Counting the probability distribution of each classification, and calculating the information entropy of the data set according to the probability distribution of each classification; as well as When the information entropy of the data set is less than a first threshold, multiple data in the data set are adjusted to increase the information entropy of the data set.
2. The data screening method according to claim 1, characterized in that: The following steps are used to adjust the multiple data in the data set: Step S141: Calculate the information entropy of each category, where each category has multiple states; Step S142: Sort the information entropy of all categories to obtain N1 first categories with the smallest information entropy and N2 second categories with the largest information entropy, and evenly delete a portion of data from the N2 second categories to maximize the probability distribution of the combination state of the N1 first categories, where N1 and N2 are both positive integers greater than or equal to 1.
3. The data screening method according to claim 1, characterized in that: The data collection features include the scene in which the vehicle is located, each scene has multiple states, and each of the categories corresponds to one of the scenes.
4. The data screening method according to claim 3, characterized in that: The scenario includes: at least one of weather, temperature, lighting, vehicle speed, vehicle position, lane type, obstacle information, and traffic sign information.
5. The data screening method according to claim 1, characterized in that: The multiple data include one or any combination of image data, position data, radar data, and chassis data collected by the vehicle.
6. The data screening method according to claim 5, characterized in that: The radar data is obtained by measuring one or any one of a laser radar, a millimeter wave radar, and an ultrasonic radar.
7. The data screening method according to claim 1, characterized in that: The information entropy of the data set is calculated using the following formula: in, is a high-dimensional vector used to represent a data set, where x0, x1, x2...x N Represent the 0th to Nth categories respectively, L k (k=0.......N) indicates the number corresponding to the kth The labels of the categories, represents the probability of the kth label, and H(L) represents the information entropy of the data set.
8. The data screening method according to claim 2, characterized in that: The information entropy of each category is calculated using the following formula: Among them, x i (i=0...N) represents the data belonging to the i-th category, sx ij (j=0...Mi) is used to represent the data of the jth state in the i-th category, It is used to represent the 0th to Mith states of the data of the i-th classification. The probability of representing the data of the jth state in the i-th category, H(x i ) represents the information entropy of the ith category.
9. The data screening method according to claim 2, characterized in that: Repeat step S142 until the increase in the comprehensive information entropy of the data set after deletion is less than a second threshold, and use the data set after deletion as training data for the autonomous driving algorithm model, wherein the comprehensive information entropy is calculated using the following formula: Where pij represents the probability of the data of the jth state of the i-th category, i = (0, ..., N), j = (0, M i ), N represents the total number of categories, M i Represents the number of states that the i-th category has.
10. The data screening method according to claim 1, characterized in that: The step of adjusting the plurality of data in the data set is repeatedly performed until the information entropy of the data set is greater than or equal to the first threshold.
11. A data screening device based on information entropy, comprising: a memory for storing instructions executable by a processor; A processor is used to execute the instructions to implement the method as described in any one of 1-10.
12. A computer-readable medium storing a computer program code, wherein the computer program code implements the method according to any one of 1 to 10 when executed by a processor.
Citation Information
Patent Citations
Data screening method and device, server and storage medium
CN109598307A
Data dimension reduction method and device based on multi-source information entropy difference
CN112241748A
Data screening method and device based on information entropy and computer readable medium
CN116168363A
Information extraction method and apparatus
US20190005026A1
Vehicle Drivable Area Detection Method, System, and Autonomous Vehicle Using the System
US20230072637A1
Cited By
Data screening method and device based on information entropy and computer readable medium
CN116168363A
Data screening method and device, equipment and storage medium
CN120371894A
