Data compression system and data compression method

The data compression system addresses the issue of uniform compression by learning models specific to analysis methods, ensuring accurate data retention and enhancing analysis precision in applications like vehicle collision detection.

JP7572170B2Active Publication Date: 2024-10-23ASTEMO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020106033
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-06-19
Publication Date
2024-10-23
Estimated Expiration
2040-06-19

AI Technical Summary

Technical Problem

Existing data compression methods fail to consider the importance of different features in data for various analysis methods, leading to a decrease in analysis accuracy due to uniform compression, especially for high-precision images and point cloud data.

Method used

A data compression system that learns conversion, compression, and restoration models tailored to specific situation analysis methods, using a computer system with a data compression evaluation system that includes a conversion/compression/restoration model generation unit, data conversion, compression, and restoration units to maintain valid data and improve analysis accuracy.

Benefits of technology

The system enhances analysis accuracy by dynamically adapting models to the specific analysis method, ensuring that important data is retained during compression and decompression, thereby improving the precision of applications like vehicle collision detection and other situation analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007572170000003
    Figure 0007572170000003
  • Figure 0007572170000004
    Figure 0007572170000004
  • Figure 0007572170000005
    Figure 0007572170000005
Patent Text Reader

Abstract

To evaluate a data compression method suitable for a situation analysis method.SOLUTION: A data compression evaluation system includes a training / test data input unit, a conversion / compression / restoration model generation unit that generates a conversion model, a compression model, and a restoration model, calculates a situation analysis value by converting, compressing, and restoring data input to the training / test data input unit according to a situation analysis method by using the conversion model, the compression model, and the restoration model, a situation analysis value evaluation unit that compares the situation analysis value calculated by the conversion / compression / restoration model generation unit with training data and test data input to the learning / test data input unit, and selects and modifies the conversion model, the compression model, and the restoration model most suitable for the situation analysis method, a data restoration unit that restores compressed data using the restoration model selected or modified by the situation analysis value evaluation unit, and a situation analysis unit that analyzes the situation using the data output from the data restoration unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data compression evaluation system that evaluates a data compression method suitable for a situation analysis method. [Background technology]

[0002] High-precision cameras, LiDAR, and other sensors have become available at low cost, making it possible to obtain high-quality data in a variety of situations. Meanwhile, in terms of analysis technology, the improvement in the numerical calculation capabilities of GPUs has made it possible to perform a large number of matrix operations. These advances in data acquisition and analysis technology have significantly improved analysis accuracy. However, due to capacity limitations of recording devices and communication terminals, data obtained from sensor recording terminals is compressed before being recorded and transmitted, which can lead to a decrease in the accuracy of subsequent analysis. One of the causes of the decrease in analysis accuracy is that data is compressed uniformly without considering the importance of the important features in the data, which differ depending on the analysis method. Therefore, it is necessary to compress data in a way that leaves as much data as possible that can suppress the decrease in analysis estimation accuracy.

[0003] Patent document 1 (JP 2017-91234 A) describes a vehicle control device that is mounted on a vehicle and controls the vehicle, comprising a diagnosis unit that diagnoses the processing results of a program provided in the vehicle control device, an information extraction unit that extracts information from the diagnosis results by the diagnosis unit so as to reduce data volume, and a transmission unit that transmits the information extracted by the information extraction unit to a center provided outside the vehicle (see claim 1).

[0004] In addition, Patent Document 2 (JP 2018-186391 A) describes a transfer device having a receiving unit that receives data from a sensor device, a selection unit that selects a conversion method to be applied to the received data from among a plurality of conversion methods for reducing the amount of data transferred to a server device, a conversion unit that applies the conversion method selected by the selection unit to the received data, a transmission unit that transmits the converted data to the server device, and a first estimation unit that estimates a relationship between the conversion method and the load condition or the analysis accuracy based on the load condition of the network used to transfer the data when the previously selected conversion method was applied, or the history of the analysis accuracy of the data by the server device when the conversion method was applied, and the selection unit selects the conversion method to be applied to the received data based on the relationship (see claim 1). [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2017-91234 A [Patent Document 2] JP 2018-186391 A [Non-patent literature]

[0006] [Non-Patent Document 1] Dijk, Tom van, and Guido CHE de Croon. 2019. "How Do Neural Networks See Depth in Single Images?" arXiv. http: / / arxiv.org / abs / 1905.07005. Summary of the Invention [Problem to be solved by the invention]

[0007] The vehicle control device described in Patent Document 1 has a diagnosis unit that diagnoses the processing results of a program installed in the vehicle control device, and an information extraction unit that extracts information from the diagnosis results by the diagnosis unit so as to reduce the data volume, but is limited to diagnosing the processing results of the program installed in the vehicle control device and extracting data only when there is an abnormality, and does not consider how to deal with sensor data such as images that cannot be determined as normal or abnormal to be extracted. Furthermore, high-precision images and point cloud data required to improve analysis accuracy tend to be large in size, and compression is essential to store data for a certain period of time, but such compression is not assumed.

[0008] In the transfer device described in Patent Document 2, a model estimation unit estimates a model of the relationship between the data conversion policy and the load situation, and the relationship between the data conversion policy and the analysis accuracy, using a combination of past load situations, analysis accuracy, and data conversion policy stored in an information storage unit, and a data conversion unit executes a conversion process to reduce the amount of sensor data. Although the data effective for improving accuracy differs for each situation analysis method, data is compressed without taking this into consideration, resulting in a uniform loss of information and a decrease in analysis accuracy.

[0009] For example, Non-Patent Document 1 describes that different data are effective for improving estimation accuracy for each situation analysis method. Non-Patent Document 1 shows that in a situation analysis method using deep learning to estimate distance using a monocular image as input, the vertical movement of the target object has the greatest effect on the estimation accuracy. In other words, when estimating distance using deep learning, creating a vertically long image that retains as much vertical information as possible and compressing it enables more accurate estimation in the restored image.

[0010] Therefore, an object of the present invention is to provide a data compression system that learns a data conversion model suitable for a situation analysis technique and a compression model and restoration model suitable for that conversion model, thereby enabling improved analysis accuracy compared to when data is compressed and restored without conversion, and to provide a data compression evaluation system that evaluates data compression methods suitable for situation analysis techniques. [Means for solving the problem]

[0011] A representative example of the invention disclosed in this application is as follows. That is, a computer having a calculation device that executes calculation processing and a storage device that can be accessed by the calculation device. a data compression evaluation system, comprising: an analysis data input unit to which data to be analyzed is input; a data conversion unit that converts the data input to the analysis data input unit; a data compression unit that compresses the data converted by the data conversion unit; and a data restoration unit that restores the data compressed by the data compression unit; The above Data compression evaluation system teeth, Used to train transformation, compression, and restoration models Training Data an analysis method for analyzing a distance to an object indicated by the learning data, and a data input unit for inputting a true value corresponding to the learning data and, The learning data a conversion model for converting the data, a compression model for compressing the data converted by the conversion model, and a restoration model for restoring the data compressed by the compression model, Data Entry Section The data entered into a model generation unit that converts the data so as to leave valid data so as not to reduce analysis accuracy, compresses the converted data using the compression model, restores the compressed data using the restoration model, and estimates a distance to an object using the restored data to calculate a first analysis value; and, A first analytical value indicating the distance to the object analyzed by the model generation unit is compared with the input true value, and a difference between the first analytical value and the true value is minimized. Transformation, compression and restoration models An evaluation section that selects each of the and the data recovery unit. Restore with Using the data ,Estimate the distance to the object A situation analysis section that performs the data conversion unit converts data input to the analysis data input unit using a conversion model selected by the evaluation unit, the data compression unit compresses the data converted by the data conversion unit using a compression model selected by the evaluation unit, and the data restoration unit restores the data compressed by the data compression unit using a restoration model selected by the evaluation unit. . Effect of the Invention

[0012] According to one aspect of the present invention, it is possible to improve the analysis accuracy. Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]

[0013] [Figure 1] 1 is a block diagram showing an example of a data compression system for a vehicle recorder to which the present invention is applied; [Diagram 2] FIG. 2 is a block diagram showing a detailed configuration of a transformation / compression / restoration model generation unit. [Diagram 3]13 is a flowchart of a process executed by a transformation / compression / restoration model generation unit. [Figure 4] FIG. 13 is a diagram showing an example of a restoration evaluation table (expressed on an interval scale or the like). [Diagram 5] FIG. 13 is a diagram showing an example of a restoration evaluation table (expressed on a nominal scale or the like). [Figure 6] FIG. 13 is a diagram showing an example of a restoration evaluation table (when expressed on an interval scale, a nominal scale, or the like). [Figure 7] FIG. 13 is a diagram showing an example of a restoration evaluation table (when expressed on an interval scale, a nominal scale, or the like). [Figure 8] 13 is a flowchart showing details of step 120. [Figure 9] FIG. 13 is a diagram showing an example of a data conversion evaluation table (when expressed on an interval scale or the like). [Figure 10] FIG. 13 is a diagram showing an example of a data conversion evaluation table (when expressed on an interval scale, a nominal scale, etc.). [Figure 11] 13 is a flowchart showing details of step 150. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, the embodiments will be described with reference to the drawings.

[0015] <Example 1> In this embodiment, a situation analysis method is given, and a data compression system that is suitable for application to vehicles is described, which performs data conversion, compression, and restoration model learning that are effective for improving the accuracy of the analysis, and performs a situation analysis method using the learned model.

[0016] FIG. 1 is a block diagram showing an example of a data compression system for a vehicle recorder to which the present invention is applied.

[0017] The data compression system shown in Fig. 1 includes a learning / test data input unit 10 to which learning data and test data are input, a conversion / compression / restoration model generation unit 20 to learn a conversion, compression, and restoration model suited to a situation analysis method, a situation analysis value evaluation unit 30 to evaluate the model, an analysis data input unit 40 to which data to be analyzed is input, a data conversion unit 50 to convert the analysis data by the conversion model most evaluated by the situation analysis value evaluation unit 30, a data compression unit 60 to compress the output of the data conversion unit with the compression model generated by the conversion / compression / restoration model generation unit 20, a memory 70 to store the output of the compressed data, a data restoration unit 80 to restore the output of the memory with the restoration model generated by the conversion / compression / restoration model generation unit 20, and a situation analysis unit 90 to perform situation analysis from the output of the data restoration unit 80. The conversion / compression / restoration model generation unit 20 and the situation analysis value evaluation unit 30 constitute a learning part. The learning part, the learning / test data input unit 10, and the situation analysis unit 90 constitute a data compression evaluation system. The recording terminal device is made up of the data conversion unit 50, the data compression unit 60, and the memory 70. The recording terminal device is configured as described above for analyzing data offline after the fact, but when analyzing data online in real time, the recording terminal device is made up of the data conversion unit 50, the data compression unit 60, the memory 70, the data restoration unit 80, and the situation analysis unit 90.

[0018] The learning and test data input unit 10 receives input of data to be used in the learning portion. To is the data used for learning, the test data for evaluating the learned model, the situation analysis method, and the true value corresponding to the value used in the situation analysis method. is enteredThe training data and test data are images taken by monocular cameras or stereo cameras, point cloud data acquired by LiDAR, control data, inertial data, etc. The situation analysis method is distance estimation to calculate the distance to an object, and grasping surrounding objects in adverse environments such as at night. For example, if you want to know the distance between the object and your vehicle to investigate a collision accident, the situation analysis method is distance estimation. In the case of distance estimation, the true value is the distance from your vehicle to the object.

[0019] The conversion / compression / restoration model generation unit 20 learns a conversion model that leaves valid data so as not to reduce analysis accuracy in accordance with the situation analysis method input to the learning / test data input unit 10, and a compression model and restoration model corresponding to the conversion. A detailed configuration of the conversion / compression / restoration model generation unit 20 will be described with reference to FIG.

[0020] The situation analysis value evaluation unit 30 compares the output from the conversion / compression / restoration model generation unit 20 with the true value data input to the learning / test data input unit 10 to determine the optimal conversion model, compression model, and restoration model.

[0021] The analysis data input unit 40 receives inputs of sensor data (analysis data) such as images collected by the vehicle and a situation analysis method, similar to the learning / test data input unit 10. Models used in the data conversion unit 50, data compression unit 60, and data restoration unit 80 are selected so as to be suitable for the input situation analysis method.

[0022] The data conversion unit 50 converts the analysis data input to the analysis data input unit 40 using the conversion model generated by the conversion / compression / restoration model generation unit 20 and highly evaluated by the situation analysis value evaluation unit 30. The method of selecting a conversion model will be described later in detail with reference to FIG. 8. The conversion model used by the data conversion unit 50 can be dynamically changed depending on the situation analysis method. For example, when more accurate analysis becomes possible due to technological advances, a conversion model suitable for the situation analysis method can be learned by the conversion / compression / restoration model generation unit 20 and the situation analysis value evaluation unit 30, and the data conversion unit 50 can replace the conventional model with the model newly generated by learning.

[0023] The data compression unit 60 converts the output of the data conversion unit 12 with a compression model learned by the conversion / compression / restoration model generation unit 20 and selected by the situation analysis value evaluation unit 30. However, a compression model selected so that the size of the data output from the data compression unit 60 is smaller than the recording capacity of the memory 70 is used. Also, the compression model used in the data compression unit 60 can be dynamically changed depending on the situation analysis method. For example, when more accurate analysis becomes possible due to technological advances, a compression model suitable for the situation analysis method can be learned by the conversion / compression / restoration model generation unit 20 and the situation analysis value evaluation unit 30, and the data compression unit 60 can replace the conventional model with a model newly generated by learning.

[0024] The memory 70 is a storage area for saving the data output from the data compression unit 60 .

[0025] The data restoration unit 80 restores the pre-compression image from the compressed data stored in the memory 70 using the restoration model generated by the conversion / compression / restoration model generation unit 20 and highly evaluated by the situation analysis value evaluation unit 30. In addition, the restoration model used by the data restoration unit 80 can be dynamically changed depending on the situation analysis method. For example, when more accurate analysis becomes possible due to technological advances, a restoration model suitable for the situation analysis method can be learned by the conversion / compression / restoration model generation unit 20 and the situation analysis value evaluation unit 30, and the data restoration unit 80 can replace the conventional model with the model newly generated by learning.

[0026] The situation analysis unit 90 executes the situation analysis method input to the learning / test data input unit 10. For example, in the case of distance estimation, the distance to the object is calculated. In addition, among the situation analysis values ​​calculated by the situation analysis unit 90, those with a large difference from the true value are added to the learning data, and the conversion / compression / restoration model generation unit 20 and the situation analysis value evaluation unit 30 perform re-learning using new learning data, and the newly generated model is used in the data conversion unit 50, the data compression unit 60, and the data restoration unit 80, thereby reinforcing the model and improving the analysis accuracy.

[0027] The data compression system is configured by a computer having a processor (CPU), memory, auxiliary storage device, and a communication interface (not shown). The data compression system may also have an input / output interface for inputting and outputting data by an operator's operation.

[0028] The processor is a calculation device that executes a program stored in a memory. The processor executes various programs to realize the functions of each unit of the data compression system (e.g., the learning / test data input unit 10, the conversion / compression / restoration model generation unit 20, the situation analysis value evaluation unit 30, the analysis data input unit 40, the data conversion unit 50, the data compression unit 60, the data restoration unit 80, the situation analysis unit 90, etc.). Note that some of the processes performed by the processor by executing the programs may be executed by other calculation devices (e.g., hardware such as ASIC and FPGA).

[0029] Memory includes ROM, which is a non-volatile storage element, and RAM, which is a volatile storage element. ROM stores unchanging programs (e.g., BIOS), etc. RAM is a high-speed, volatile storage element such as DRAM (Dynamic Random Access Memory), and temporarily stores programs executed by a processor and data used when executing the programs.

[0030] The auxiliary storage device is, for example, a large-capacity, non-volatile storage device such as a magnetic storage device (HDD) or a flash memory (SSD). The auxiliary storage device also stores data used by the processor when it executes a program, and the program executed by the processor. In other words, the program is read from the auxiliary storage device, loaded into the memory, and executed by the processor to realize each function of the data compression system.

[0031] The communication interface is a network interface device that controls communications with other devices according to a predetermined protocol.

[0032] The input / output interface is an interface to which input devices such as a keyboard and a mouse are connected and which receives input from an operator, but may also be an interface that supports voice input, etc. The output interface is an interface to which output devices such as a display device and a printer are connected and which outputs the results of program execution in a format that can be viewed by the operator. Note that a terminal connected to the data compression system via a network may provide the input device and output device.

[0033] The program executed by the processor of the data compression system is provided to the data compression system via a removable medium (CD-ROM, flash memory, etc.) or a network, and is stored in a non-volatile auxiliary storage device, which is a non-transitory storage medium. For this reason, the data compression system may have an interface for reading data from the removable medium.

[0034] The data compression system is a computer system configured on a single physical computer, or on multiple logically or physically configured computers, and may operate on a virtual computer constructed on multiple physical computer resources.

[0035] FIG. 2 is a block diagram showing a detailed configuration of the transformation / compression / restoration model generation unit 20. As shown in FIG.

[0036] The conversion / compression / restoration model generation unit 20 includes a learning / test data conversion unit 21 that extracts data that contributes to improving the accuracy of the situation analysis method from the collected learning data and test data, a converted data situation analysis unit 22 that calculates a situation analysis value from the data output from the learning / test data conversion unit 21 using the situation analysis method, a compression model generation unit 23 that generates a compression model for compressing the data output from the learning / test data conversion unit 21, a restoration model generation unit 24 that generates a restoration model for restoring the data output from the compression model generation unit 23, and a restored data situation analysis unit 25 that calculates a situation analysis value from the restored data output from the restoration model generation unit 24 using the situation analysis method.

[0037] The learning / test data conversion unit 21 converts the learning data and test data input to the learning / test data input unit 10 so that the parts that contribute to improving the accuracy of the situation analysis method remain as much as possible.

[0038] The converted data status analysis unit 22 calculates a status analysis value by using a status analysis method from the learning data converted by the learning / test data conversion unit 21. The calculated status analysis value is compared with a true value by a status analysis value evaluation unit 30, and a conversion model capable of calculating a value closest to the true value is selected as the data conversion model.

[0039] The compression model generation unit 23 generates a compression model for compressing the data converted by the generation / learning / test data conversion unit 21 so that the data is smaller than the recording capacity of the memory 70 .

[0040] The restoration model generating unit 24 generates a restoration model for restoring the data compressed by the compression model generating unit 23 so as to approximate the data output from the training / test data converting unit 21 .

[0041] The restored data status analysis unit 25 compresses and restores the learning data converted by the learning / test data conversion unit 21 using the compressed model generated by the compression model generation unit 23 and the restored model generated by the restored model generation unit 24, and then calculates an analytic value by a status analysis method. The compressed and restored learning data is used to calculate a status analysis value from the restored data using the same status analysis method as in the converted data status analysis unit 22. The calculated status analysis value is compared with a true value in the status analysis value evaluation unit 30, and the converted model, compressed model, and restored model for which a value closest to the true value is calculated are provided to the data conversion unit 50, data compression unit 60, and data restoration unit 80, respectively.

[0042] FIG. 3 is a flowchart of the process executed by the transformation / compression / restoration model generation unit 20.

[0043] First, in step 100, the conversion / compression / restoration model generation unit 20 sets initial values, for example, S=50, N=1, and T=0, and proceeds to step 110. S is the number of trials to search for a data conversion model in step 120, N is the evaluation order for determining the data conversion model to be fixed in step 120, and T is the allowable time for inputting test data in step 190, calculating the situation analysis value after conversion, compression, and restoration, and determining whether to re-learn. Note that the values ​​of S and N are natural numbers, and T is a positive value.

[0044] In step 110, learning data, a situation analysis method, true values, and a situation analysis method for learning the conversion model, the compression model, and the restoration model are input, and the process proceeds to step 120. When multiple situation analysis methods are input, they are prioritized. For example, if, of the two situation analysis methods, the calculation accuracy of situation analysis method 1 is given priority over the calculation accuracy of situation analysis method 2, the priority of situation analysis method 1 is 1 and the priority of situation analysis method 2 is 2. Also, if the priority is not taken into consideration, both situation analysis method 1 and situation analysis method 2 are given priority 1.

[0045] In step 120, S conversion models are executed, a situation analysis value is calculated for each conversion model, and compared with the true value, and the model with the Nth highest evaluation rank is fixed, and the process proceeds to step 130. Details of the process in step 120 will be described with reference to FIG.

[0046] In step 130, the same learning data as in step 110 is input again, and the process proceeds to step 140.

[0047] In step 140 , the training data input in step 130 is converted using the data conversion model fixed in step 120 , and the process proceeds to step 150 .

[0048] In step 150, the data converted in step 140 is compressed and restored, and a compression model and a restoration model are learned so that the restored result is close to the data converted in step 140 (i.e., the data before compression). Details of the process in step 140 will be described with reference to FIG.

[0049] In step 160, test data, a situation analysis method, and a true value for evaluating the learned conversion model, compression model, and restoration model are input, and the process proceeds to step 170.

[0050] In step 170, the test data is converted, compressed and restored using the conversion model fixed in step 120 and the compression model and restoration model learned in step 150 to calculate a situation analysis value, the calculated situation analysis value is compared with the true value, the comparison result is stored in a restoration evaluation table, and the process proceeds to step 180.

[0051] In step 180, the comparison results stored in the restoration evaluation table are referenced, and the conversion model, compression model, and restoration model that minimize the difference between the situation analysis value and the true value are selected, and the process proceeds to step 190.

[0052] In step 190, if the execution time of the processes of steps 120 to 180 is shorter than the allowable time T, the process proceeds to step 200 for re-learning the compressed model and the restored model. On the other hand, if the execution time of the processes of steps 120 to 180 is longer than the allowable time T, the learning of the compressed model and the restored model is terminated, and the converted model, compressed model, and restored model selected in step 180 are provided to the data conversion unit 50, the data compression unit 60, and the data restoration unit 80 for use in each model.

[0053] In step 200, the evaluation rank N of the conversion model is incremented by 1 to update the value of N, and the process proceeds to step 120. For example, if N=1 in step 190, N=2 in step 200, and in steps 120 to 180, the compression model and the restoration model are trained using the training data converted by the conversion model with the second smallest difference from the true value.

[0054] Figures 4, 5, 6, and 7 are diagrams showing examples of the restored evaluation table that stores the results of learning. Figure 4 shows a case where the value calculated by the situation analysis method is an interval scale (e.g., distance estimation), Figure 5 shows a case where the value calculated by the situation analysis method is a nominal scale (e.g., estimating whether the object for which the emergency brake has been applied is a vehicle, a person, or a motorcycle, and setting 0 if incorrect and 1 if correct), Figure 6 shows a case where there are multiple situation analysis methods, the situation analysis values ​​are both interval scale and nominal scale, and there are no values ​​with the same value in the overall evaluation that takes both into consideration, and Figure 7 shows a case where the situation analysis method etc. are the same as in Figure 6, but the values ​​are the same in the overall evaluation.

[0055] Fig. 4 is a diagram showing a restoration evaluation table showing the difference 210 from the true value using a situation analysis method (interval scale, etc.). The restoration evaluation table shown in Fig. 4 shows the difference (220-240) between the true value and the situation analysis value obtained by compressing and restoring data obtained by converting test data using each of three types of conversion models 1-3. In the case shown in Fig. 4, conversion model 1 (220) with the smallest difference between the situation analysis value and the true value is selected in step 180.

[0056] Fig. 5 is a diagram showing a restoration evaluation table showing the number of correct answers 250 compared with the true value using a situation analysis method (nominal scale, etc.). The restoration evaluation table shown in Fig. 5 shows the number of correct answers (260, 270) compared with the true value and the situation analysis value obtained by compressing and restoring data obtained by converting test data using each of two types of conversion models 1 and 2. In the case shown in Fig. 5, the antipathetic 2 (270), which has the highest number of correct answers, is selected in step 180.

[0057] Fig. 6 is a diagram showing a restored evaluation table showing an overall evaluation considering both of a plurality of situation analysis methods (interval scale, nominal scale). The restored evaluation table shown in Fig. 6 includes a difference 280 between the situation analysis value and the true value in the situation analysis method 1 (interval scale, etc.), a number of correct answers 290 of the situation analysis value compared to the true value in the situation analysis method 2 (nominal scale, etc.), an evaluation ranking 300 in the situation analysis method 1 (interval scale, etc.) in which the difference 280 between the situation analysis value and the true value in the situation analysis method 1 (interval scale, etc.) is ranked from 1 in descending order of the smallest, an evaluation ranking 310 in the situation analysis method 2 (nominal scale, etc.) in which the number of correct answers 290 of the situation analysis value compared to the true value in the situation analysis method 2 (nominal scale, etc.) is ranked from 1 in ascending order, and an overall evaluation 320 calculated from the two evaluation rankings 300, 310.

[0058] FIG. 6 shows evaluations of situation analysis values ​​obtained by compressing and restoring data obtained by converting test data using three types of conversion models 1 to 3 (330 to 350). The overall evaluation 320 is calculated using equation (1) based on the priority order of the situation analysis methods in step 110 of FIG. 3. The αk in equation (1) is set so that the sum of all the values ​​is 1, as in equation (2). For example, if there are two situation analysis methods, and the priority order of situation analysis method 1 is 1 and the priority order of situation analysis method 2 is 2, then k=2 in equation (1), and α1=0.7 and α2=0.3 are set so that a model with high analysis accuracy of situation analysis method 1 is selected, and the overall evaluation 320 is calculated using equation (1). In this case, the conversion model 1 (330) with the smallest overall evaluation 320 is selected in step 180.

[0059]

number

number

[0060] FIG. 7 is a diagram showing a restored evaluation table in which the same situation analysis method and evaluation result values ​​as those in FIG. 6 are recorded. This shows an example of a restored evaluation table in which both situation analysis method 1 and situation analysis method 2 have a priority of 1, that is, α1=0.5 and α2=0.5. Using equation 1, an overall evaluation 400 is calculated from the evaluation rank 380 in situation analysis method 1 (interval scale, etc.) and the evaluation rank 390 in situation analysis method (nominal scale, etc.). As a result, the converted model 1 (410) and the converted model 2 (420) have the same value of 1.5. In this case, the converted model, the compressed model, and the restored model whose situation analysis value and true value are closest in the input order of the situation analysis method are selected. For example, in the case shown in FIG. 7, when the error 360 from the true value in situation analysis method 1 (interval scale, etc.) is compared between the converted model 1 (410) and the converted model 2 (420), the converted model 1 (410) is closer to the true value, so the converted model 1 (410) is selected in step 180 of FIG. 3.

[0061] FIG. 8 is a flow chart showing the details of step 120 in FIG.

[0062] First, the conversion / compression / restoration model generating unit 20 converts the learning data input in step 110 in step 121, and proceeds to step 122. For example, when image data is input, the size, color information, etc. are the objects of data conversion. Conversion models that convert image size include reduction while maintaining the aspect ratio, and creating a vertically long image by changing the aspect ratio. Conversion models that convert color information include conversion to a black and white image, and conversion to a two-color image of red and blue from which only green information is deleted. For example, when it is desired to grasp an object that has undergone emergency braking at night, the entire image is dark and information such as the car's lights is important, so it is advisable to select an image conversion model that retains color information even when the image size is reduced, rather than a black and white image. The reason for performing such data conversion is that the data required for the situation analysis method is only a part of the whole, and much data useful for situation analysis is left, and the information is not lost due to compression. For example, Non-Patent Document 1 shows that in Deep Learning, which estimates distance using a monocular image as input, the vertical movement of the object has the greatest effect on the estimation accuracy. In other words, when estimating distance using deep learning, if the image is compressed into a vertically long image that retains as much vertical information as possible, the distance can be estimated with high accuracy using the restored image.

[0063] In step 122, a situation analysis value is calculated from the data converted in step 121, and the process proceeds to step 123. Methods for calculating the situation analysis value include, for example, a model that uses deep learning to directly estimate distance from an image, and a model that uses camera parameters to estimate distance from the geometric relationship between an image and space.

[0064] In step 123, the situation analysis value calculated in step 122 is compared with the true value, and the comparison result is recorded in a data conversion evaluation table, and the process proceeds to step 124. The data conversion evaluation table will be described with reference to FIGS.

[0065] In step 124, if the number of trials S is other than 0, the process proceeds to 125, and if the number of trials S is 0, the process proceeds to 126.

[0066] In step 125, the number of trials S is updated by decrementing it by 1, and steps 121 to 123 are repeated until the number of trials S reaches 0. In other words, data conversion is performed S times, and the number of rows in the data conversion evaluation table becomes S.

[0067] In step 126, the model ranked Nth in the overall evaluation of the data conversion evaluation table is fixed as the data conversion model. In other words, when N is the initial value 1, the conversion model that enables calculation of the situation analysis value closest to the true value is fixed, and the process proceeds to step 130.

[0068] Figures 9 and 10 are diagrams showing examples of the data conversion evaluation table created or updated in step 123 in Figure 8. Figure 9 shows the case where the values ​​calculated in accordance with one situation analysis method are interval scales, and Figure 10 shows the case where the values ​​calculated in accordance with two situation analysis methods are interval scales and nominal scales, respectively. The configuration of the situation analysis methods is the same as that of the restoration evaluation tables in Figures 4 to 8.

[0069] Fig. 9 is a diagram showing an example of a data conversion evaluation table in which an error 430 from a true value in a situation analysis method (interval scale, etc.) is recorded. The data conversion evaluation table shown in Fig. 9 records the difference between a situation analysis value and a true value when each of conversion model 1 (440), ..., conversion model 49 (450), and conversion model 50 (460) is used. In the case shown in Fig. 9, conversion model 50 (460) with the smallest difference between the situation analysis value and the true value is the conversion model fixed in step 126 in Fig. 8.

[0070] Fig. 10 is a diagram showing a data conversion evaluation table showing an overall evaluation considering both of a plurality of situation analysis methods (interval scale, nominal scale). The data conversion evaluation table shown in Fig. 10 includes a difference 500 between the situation analysis value and the true value in the situation analysis method 1 (interval scale, etc.), a number of correct answers 510 of the situation analysis value compared with the true value in the situation analysis method 2 (nominal scale, etc.), an evaluation rank 520 in the situation analysis method 1 (interval scale, etc.) in which the difference 500 between the situation analysis value and the true value in the situation analysis method 1 (interval scale, etc.) is ranked from 1 in descending order of the smallest, an evaluation rank 530 in the situation analysis method 2 (nominal scale, etc.) in which the number of correct answers 510 of the situation analysis value compared with the true value in the situation analysis method (nominal scale, etc.) is ranked from 1 in ascending order, and an overall evaluation 540 calculated from the two evaluation ranks 520 and 530. When the priority of situation analysis method 1 is 1 and the priority of situation analysis method 2 is 2, k=2 in equation (1), and α1=0.7 and α2=0.3 are set so that a model with high analytical accuracy of situation analysis method 1 is selected, and the result of calculation by equation (1) is recorded in overall evaluation 540. Among the converted models (470), ..., converted model 49 (480), and converted model 50 (490), the converted model 49 (480) with the smallest overall evaluation 540 becomes the converted model fixed in step 126.

[0071] FIG. 11 is a flow chart showing the details of step 150 in FIG.

[0072] First, in step 151, the transformation / compression / restoration model generation unit 20 compresses the data transformed in step 140, and proceeds to step 152. For example, some compression models use a series of convolutional layers or the like to reduce the image size.

[0073] In step 152, it is determined whether the data compressed in step 151 satisfies the memory capacity or communication capacity limitations. If the capacity limitations are satisfied, the process proceeds to step 153, and if the capacity limitations are not satisfied, the process returns to step 151 and compresses the data converted using a different compression method so as to satisfy the capacity limitations.

[0074] In step 153, the data compressed in step 151 is restored, and the process proceeds to step 154. For example, in the case where the image size is reduced using a convolutional layer in step 151, the restoration uses a restoration model that uses deconvolution to increase the image size.

[0075] In step 154, learning is performed so that the data restored in step 153 can reproduce the data before compression in step 151. If the data is image data, the learning model may be a model that compares the values ​​of each pixel between the restored image and the image before compression, and adjusts the parameters of the compression model and restoration model so that the difference becomes small.

[0076] As described above, the data compression evaluation system of this embodiment comprises a training / test data input unit 10 to which training data and test data are input, a conversion / compression / restoration model generation unit 20 that generates a conversion model for converting data including the training data and the test data, a compression model for compressing data converted by the conversion model, and a restoration model for restoring data compressed by the compression model, and calculates a situation analysis value by converting, compressing, and restoring the data input to the training / test data input unit 10 in accordance with a situation analysis method using the conversion model, compression model, and restoration model, and The apparatus includes a situation analysis value evaluation unit 30 that compares the situation analysis value calculated by the above with the learning data and test data input to the learning / test data input unit 10, and selects or modifies a conversion model, compression model, and restoration model that are optimal for the situation analysis method, a data restoration unit 80 that restores the compressed data using the restoration model selected or modified by the situation analysis value evaluation unit 30, and a situation analysis unit 90 that analyzes the situation using the data output from the data restoration unit 80. Therefore, the apparatus can learn in advance the conversion, compression, and restoration of data that can improve the accuracy of the situation analysis, and can store data useful for the analysis in a memory with a limited capacity, and can transmit data even if there is a restriction on the communication capacity. Therefore, the analysis accuracy can be improved. For example, the apparatus is suitable for application to vehicle accident verification, determining the timing of maintenance and improving the efficiency of inspections of aging buildings, advance warning of dangerous behavior of infants and elderly people, confirmation of the operation of manufacturing robots in factories, and understanding the growth status of plants and farmed fish in primary industries.

[0077] In addition, the situation analysis value evaluation unit 30 evaluates the conversion model generated by the learning / test data conversion unit 21 for each situation analysis method, and when learning the compression model and the restoration model, uses the conversion model in descending order of evaluation by the learning / test data conversion unit 21. Therefore, the most suitable conversion model can be used first for learning the compression model and the restoration model, and an appropriate model can be selected quickly and reliably.

[0078] In addition, the learning / test data conversion unit 21 learns from the data input to the learning / test data input unit 10 in a manner that retains as much data as possible that contributes to improving the accuracy of the situation analysis method, and generates a conversion model, so that a conversion model that includes a lot of different important data can be selected for each situation analysis method.

[0079] Furthermore, data acquired from a moving object such as a vehicle is input to the learning / test data input unit 10, so that accidents can be verified by analyzing sensor data acquired by the vehicle.

[0080] In addition, the situation analysis unit 90 inputs data calculated by the situation analysis method that has a large difference from the true value to the training / test data input unit 10, so that the model can be reinforced by re-training using the training data that has a large difference from the true value, thereby improving the analysis accuracy.

[0081] The data compression system of this embodiment includes any one of the data compression evaluation systems described above, an analysis data input unit 40 to which data to be analyzed is input, a data conversion unit 50 that converts the data input to the analysis data input unit 40 using a conversion model selected or modified by the situation analysis value evaluation unit 30, a data compression unit 60 that compresses the data converted by the data conversion unit 50 using a compression model selected or modified by the situation analysis value evaluation unit 30, and a memory 70 that stores the compressed data, and the models used by the data conversion unit 50, the data compression unit 60, and the data restoration unit 80 can be dynamically changed, so that the model can be improved or the analysis method can be changed by replacing the model. For example, when a more accurate analysis method is proposed, the models can be updated in line with technological advances by re-learning the conversion model, compression model, and restoration model suitable for the analysis method.

[0082] The present invention is not limited to the above-described embodiments, and includes various modified examples and equivalent configurations within the spirit of the appended claims. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the configurations described. Furthermore, a part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Furthermore, the configuration of another embodiment may be added to the configuration of one embodiment. Furthermore, a part of the configuration of each embodiment may be added, deleted, or replaced with another configuration.

[0083] In addition, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in hardware, for example by designing some or all of them as an integrated circuit, or may be realized in software by a processor interpreting and executing a program that realizes each function.

[0084] Information such as programs, tables, and files that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or in a recording medium such as an IC card, an SD card, or a DVD.

[0085] In addition, the control lines and information lines shown are those considered necessary for the explanation, and do not necessarily show all the control lines and information lines necessary for implementation. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]

[0086] 10...Learning and test data input unit, 20...Conversion, compression and restoration model generation unit, 30...Situation analysis value evaluation unit, 40...Analysis data input unit, 50...Data conversion unit, 60...Data compression unit, 70...Memory, 80...Data restoration unit, 90...Situation analysis unit

Claims

1. A data compression system including a computer having an arithmetic unit that executes arithmetic processing and a storage device that is accessible by the arithmetic unit, A data compression evaluation system; an analysis data input section to which data to be analyzed is input; a data conversion unit that converts data input to the analysis data input unit; a data compression unit that compresses the data converted by the data conversion unit; a data recovery unit that recovers the data compressed by the data compression unit, The data compression evaluation system includes: a data input unit for inputting learning data used for learning a transformation model, a compression model, and a restoration model, an analysis method for analyzing a distance to an object indicated by the learning data, and a true value corresponding to the learning data; a model generation unit that generates a conversion model for converting the learning data, a compression model for compressing data converted by the conversion model, and a restoration model for restoring data compressed by the compression model, converts data input to the data input unit using the conversion model so as to leave valid data so as not to reduce analysis accuracy, compresses the converted data using the compression model, restores the compressed data using the restoration model, and estimates a distance to an object using the restored data to calculate a first analytical value; an evaluation unit that compares a first analytical value indicating a distance to an object analyzed by the model generation unit with the input true value, and selects each of a conversion model, a compression model, and a restoration model that minimizes a difference between the first analytical value and the true value; a situation analysis unit that estimates a distance to an object by using the data restored by the data restoration unit, the data conversion unit converts the data input to the analysis data input unit using the conversion model selected by the evaluation unit; the data compression unit compresses the data converted by the data conversion unit using the compression model selected by the evaluation unit; A data compression system, wherein the data restoration unit restores the data compressed by the data compression unit using a restoration model selected by the evaluation unit.

2. 2. The data compression system of claim 1, The model generation unit a training data conversion unit that generates the conversion model and converts data using the generated conversion model; a compression model generation unit that generates a compression model for compressing the data converted by the learning data conversion unit, and compresses the converted data using the generated compression model; a restoration model generation unit that generates a restoration model for restoring data compressed by the compression model generation unit and restores the compressed data using the generated restoration model; a restored data analysis unit that estimates a distance to an object using the data restored by the restored model generation unit to calculate a first situation analysis value; a converted data analysis unit that uses the data converted by the data conversion unit to estimate a distance to an object and calculates a second analytical value.

3. The data compression system of claim 2, A data compression system characterized in that the data conversion unit generates the conversion model by learning from the data input to the data input unit in a manner that retains as much data as possible that contributes to improving accuracy in the analysis method.

4. The data compression system of claim 1, A data compression system, wherein data acquired from a vehicle is input to the data input unit.

5. The data compression system of claim 1, A data compression system, wherein the situation analysis unit inputs learning data having a large difference between the first analytical value and the true value to the data input unit.

6. A data compression method executed by a data compression evaluation system configured by a computer having an arithmetic unit that executes arithmetic processing and a storage device accessible by the arithmetic unit, comprising: a data compression evaluation procedure; an analysis data input step in which data to be analyzed is input; a data conversion step in which the arithmetic device converts the data input in the analysis data input step; a data compression step in which the arithmetic device compresses the data converted in the data conversion step; a data restoration step for restoring data compressed by the data compression step, In the data compression evaluation step, learning data used for learning a transformation model, a compression model, and a restoration model, an analysis method for analyzing a distance to an object indicated by the learning data, and a data input procedure for inputting a true value corresponding to the learning data; a model generation step in which the arithmetic device generates a conversion model for converting the learning data, a compression model for compressing data converted by the conversion model, and a restoration model for restoring data compressed by the compression model, converts data input in the data input step using the conversion model so as to leave valid data so as not to reduce analysis accuracy, compresses the converted data using the compression model, restores the compressed data using the restoration model, and estimates a distance to an object using the restored data to calculate a first analytical value; an evaluation step in which the arithmetic device compares a first analytical value indicating a distance to an object analyzed in the model generation step with the input true value, and selects each of a conversion model, a compression model, and a restoration model that minimizes a difference between the first analytical value and the true value; a situation analysis step in which the arithmetic device estimates a distance to an object by using the data restored in the data restoration step; In the data conversion step, the arithmetic device converts the data input in the analysis data input step using the conversion model selected in the evaluation step; In the data compression step, the arithmetic device compresses the data converted in the data conversion step using the compression model selected in the evaluation step; A data compression method, characterized in that in the data restoration step, the arithmetic device restores the data compressed in the data compression step using the restoration model selected in the evaluation step.

Citation Information

Patent Citations

  • Vehicle control device

    JP2017091234A

  • Server device, distinction program and distinction system

    JP2018128265A

  • Transfer apparatus, transfer method, and program

    JP2018186391A

  • Image processing device, learning device, image processing method, learning method, and program

    JP2020092329A