Image analysis method improved according to available time, by an auto-encoding neural network, associated device and vehicle

The autoencoder neural network with error correction through backpropagation enhances image analysis efficiency, addressing the challenge of limited calculation times in driving assistance devices, leading to improved driving aid quality.

FR3133693B1Inactive Publication Date: 2024-10-25STELLANTIS AUTO SAS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022002251
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing electronic driving assistance devices face challenges in ensuring high-quality image analysis within limited calculation times, which affects the responsiveness and effectiveness of driving aids.

Method used

A method utilizing a first autoencoder neural network with unsupervised and supervised training steps, combined with error correction through backpropagation, to enhance image analysis efficiency and improve driving aid quality.

Benefits of technology

The method improves the quality of driving aids by enhancing the neural network's analysis capabilities within the available time, thereby improving the responsiveness and accuracy of driving assistance systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000014_0000
    Figure 00000014_0000
  • Figure 00000014_0001
    Figure 00000014_0001
  • Figure 00000014_0002
    Figure 00000014_0002
Patent Text Reader

Abstract

A method for analyzing a first image using a first autoencoding neural network (111) comprises the following steps: Determining an available analysis time, Determining a comparison value for a comparison layer (10), Propagating the comparison value from the comparison layer (10) to a prediction layer (20) taking a prediction value, Repeating the following steps until the end of the available analysis time: Determining a backpropagation value equal to the value of the comparison layer (10) if the prediction value had been backpropagated to the comparison layer (10), Calculating an error from the backpropagation value and the comparison value, Modifying the prediction value to reduce the error, Propagating the prediction value through the first neural network (111) to the output layer (50). Figure for the abstract: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Improved image analysis method based on available time, using an autoencoder neural network, associated device and vehicle

[0001] The invention relates to assistance in driving a motor vehicle.

[0002] Today, there are a number of electronic driving assistance devices (or driving automations) allowing automatic (or semi-automatic) adaptation of the trajectory of a vehicle according to the vehicle's environment.

[0003] These driving aids require complex image analyses using neural networks. Image analysis thus determines the trajectory (i.e. the direction and speed of the vehicle) given (in other words: commanded) to the vehicle by the driving assistance device, or signals delivered in the passenger compartment (warning signals).

[0004] To ensure the necessary responsiveness to all situations, the computing time allocated to these analyses is limited, which reduces the quality of the driving aids.

[0005] To overcome this drawback, the invention relates to a method for analyzing a first image by a first electronic auto-encoder neural network, the first neural network comprising:

[0006] - An input layer (of neurons), - An output layer (of neurons), - A first encoder consisting of (or comprising) the input layer, at least one encoding layer (of neurons) and one latent layer (of neurons), (and connections between each successive pair of neuron layers of the encoder) and configured to compress a first value in the input layer into a second value in the latent layer, - A first decoder consisting of (or comprising) the output layer, at least one decoding layer (of neurons), and a latent layer (of neurons) (and connections between each pair of successive neuron layers of the decoder), and configured to decompress a first value in the latent layer into a second value in the output layer, - The first neural network being trained by the implementation of the following (two) steps (and these (two) steps can be included in the analysis process and possibly be carried out (prior to the step of determining a comparison value) outside the ego vehicle):

[0007] - First unsupervised tight weight training or "tied weights") of a second electronic auto-encoder neural network comprising the first encoder and a second decoder to learn the identity function, then - Second supervised training of the first neural network by fixing the first decoder (in particular, its weights are not modified by the second training. Thus, the weights of the first decoder remain identical to the weights determined following or by the first training),

[0008] The method being characterized in that it comprises the following steps, implemented in a motor vehicle:

[0009] - Determination of an analysis duration available for an additional analysis of the first image, - Determination of a comparison value of a comparison layer (of neurons) of the first encoder, - First (forward) propagation of the comparison value (i.e.: activation) in the encoder from the comparison layer to a prediction layer of the encoder taking (as a result) a prediction value, - Repeat the following (three) steps until the available analysis time has expired: - Determination of a backpropagation value equal to the value of (in other words: what would have been taken by) the comparison layer if the prediction value had been backpropagated (in other words: propagated or back-propagated) in the encoder from the prediction layer to the comparison layer, using as (representation of) the weights of the connections between (each of the) two layers of the encoder (during the backpropagation), a transposed matrix of the matrix representing the weights of (or of all the) connections between these two layers (used or implemented) during the first propagation, - Calculating an error from the backpropagation value and the comparison value (e.g., the error is the difference between the backpropagation value and the comparison value), - Changing the prediction value to reduce the error (during the next repetition),

[0010] Second (forward) propagation of the prediction value in the first neural network from the prediction layer to the output layer.

[0011] Thus, according to the invention, the analysis of the image can be improved by a correction of the error generated by the neural network, when the time available for carrying out this analysis allows this, which makes it possible to improve the quality of driving aids.

[0012] The first neural network and / or the second neural network is an artificial neural network, preferably electronic, that is to say implemented by an electronic circuit, for example a microcircuit, comprising for example a processor with a memory or a dedicated electronic circuit.

[0013] According to one embodiment, the method according to the invention comprises a step of controlling a trajectory of the ego vehicle or of controlling the emission of a signal inside the passenger compartment of the ego vehicle from (the value of) the output layer.

[0014] The method may comprise a step of receiving the first image as input to the first neural network. Alternatively, the first image is already in memory in the input layer.

[0015] The first image may be obtained by a first camera or a first radar of the ego vehicle.

[0016] Alternatively, the first image is received for example by a radar or a camera from other vehicles located in the environment of the other vehicle (not shown).

[0017] According to one embodiment:

[0018] - The comparison layer is the input layer, and( / or) (in this case, the step of determining a comparison value comprises receiving the input data, namely the first image), - The encoder comprises, among said at least one encoding layer (20), a layer (of neurons) directly connected to the input layer (by connections), and the prediction layer is this layer directly connected to the input layer.

[0019] Alternatively, the comparison layer or the prediction layer may be another layer of the encoder.

[0020] For example, the comparison layer and the prediction layer are directly connected (by connections) and the following formula is applied (i.e.: implemented) during the step of modifying the prediction value:

[0021] - yt+1 = yt - a M (M' yt - xt) where - yt+i is the modified prediction value, xt is the comparison value (in other words: activation of the comparison layer) - yt is the prediction value, M' yt is the backpropagation value, (M' yt - xt ) is the error, - M is a matrix that represents the weights of the connections between the prediction layer and the comparison layer in the first neural network (during the first propagation. Thus yt= M xt). M'is the transpose of M.

[0022] We thus calculate a gradient, which is the vector of partial derivatives (therefore "first") of the error with respect to each component of the error. But we could also calculate the Hessian, the matrix of second derivatives of the error, which gives more information, and use it to do a better optimization on the error. Other methods are of course possible to modify the modification layer.

[0023] a is for example less than 1, preferably equal to 0.001.

[0024] According to one embodiment, the first neural network is configured to, from the first image (of an environment of the ego vehicle) in the input layer, produce, in the output layer, this image and boxes encompassing different objects of this image and the class of objects to which these objects belong.

[0025] For example, during the second training, the first neural network is trained to produce such an output layer from an image as the input layer.

[0026] For example, object classes include at least one of the following classes: plane surfaces, humans, vehicles, buildings, objects, nature, sky, and / or miscellaneous.

[0027] The images (preferably several million) for training the first neural network are preferably acquired during dedicated rolling campaigns, with manual or semi-automatic labeling.

[0028] According to one embodiment, the ego vehicle being located in an environment comprising an element, the method according to the invention comprises the following steps:

[0029] - Reception of environmental information, - Determination of a pre-collision time until an anticipated collision between the vehicle ego and the element, from environmental information, - Determination of the analysis time available for the analysis of the first image from the time before collision.

[0030] Alternatively, the available analysis time can be estimated from the geographical position of the ego (if we are in an urban environment, we have less time for analysis than if we are on the motorway) and possibly from the speed (we have more time if we are driving slowly).

[0031] According to one embodiment, the environmental information is received from a second camera. The information comprises, for example, video images, in this case. The environmental information may be received from a second radar of the vehicle. The information comprises, for example, radar images, in this case.

[0032] Alternatively, the environmental information is received, for example, by a radar or a camera from other vehicles located in the environment of the vehicle.

[0033] According to one embodiment, the analysis method comprises:

[0034] - A step of determining a distance between the vehicle ego and the element to from environmental information, - A step of determining a relative speed between the vehicle ego and the element from the environmental information.

[0035] The time before collision is determined from the distance and the speed. For example, it is the distance divided by the speed.

[0036] Alternatively, the time before collision can be obtained by a third neural network, from the environmental information.

[0037] The time before collision can also take into account the acceleration of the vehicle or element.

[0038] According to one embodiment, the method comprises a step of receiving a second image of the environment (obtained for example from a third camera (of the vehicle) and the element is a surface represented by a pixel of the second image.

[0039] Alternatively, the element is a vehicle, a pedestrian, or a fixed object represented by a set of pixels (and the method may comprise a step of recognizing the element).

[0040] When the environment comprises a plurality of elements, the element is preferably the one for which the time before collision is minimum among the plurality of elements.

[0041] Alternatively, a risk incurred, for example in the event of a collision between the vehicle and the element, may be taken into account to determine the element.

[0042] According to one embodiment, the plurality of elements can be represented by all the pixels of the second image, and the element can be represented by one of these pixels.

[0043] The time before collision is for example obtained from the relative speed between the vehicle and the element divided by the distance.

[0044] According to one embodiment, the analysis duration is equal to the duration before collision minus a safety time.

[0045] The safety time is, for example, the time required to implement an emergency measure based on a result of the analysis process, to which can be added the estimated time to carry out the second propagation. It is, for example, 2s.

[0046] The invention also relates to a computer program comprising instructions, executable by a microprocessor or a microcontroller, for implementing the method according to the invention.

[0047] The method according to the invention is for example implemented by an electronic driving assistance device. The invention therefore also relates to an electronic device configured to implement the steps of the method according to the invention, and a motor vehicle comprising the electronic device. The electronic device may comprise the first and / or the second neural network.

[0048] The characteristics and advantages of the electronic device, the motor vehicle and the computer program are identical to those of the method, which is why they are not repeated here.

[0049] It is understood that an element such as the electronic device, or another element is "configured to" carry out a step or an operation, by the fact that the element comprises means for (in other words "is shaped to" or "is adapted to") carrying out the step or the operation. These are preferably electronic means, for example a computer program, data in memory and / or specialized electronic circuits.

[0050] When a step or operation is performed by such an element, this generally implies that the element comprises means for (in other words "is shaped for" or "is adapted for" or "is configured for") performing the step or operation. This also includes, for example, electronic means, for example, a computer program, data in memory and / or specialized electronic circuits.

[0051] Other characteristics and advantages of the present invention will appear more clearly on reading the detailed description which follows, comprising embodiments of the invention given as non-limiting examples and illustrated by the appended drawings, in which.

[0052] [Fig-1] represents an electronic device of a motor vehicle and a vehicle according to one embodiment of the invention.

[0053] [Fig.2], [Fig.3] represent images processed according to an embodiment of the invention.

[0054] [Fig.4] represents a first neural network used according to an embodiment of the invention.

[0055] [Fig.5] represents the method of the invention, according to an exemplary embodiment, implemented in particular by the electronic device and the vehicle of [Fig.l].

[0056] With reference to [Fig.l], an ego vehicle 100 travels on a road 300 along a trajectory (in other words: direction and sense) TL. The ego vehicle 100 comprises a camera 120 and a radar 130 and an electronic driving assistance device 110 comprising a first neural network 111.

[0057] The road 300 has a central separation 310 (median or other), two safety barriers 330 and 320. On the road 300, the vehicles 220 and 210 also travel along a trajectory (in other words: direction and sense) T2 and T3 respectively. A tree 400 is also present on the side of the road 300.

[0058] [Fig.4] represents the first neural network 111 comprising:

[0059] - A layer of input neurons 10, - A layer of 50 output neurons, - A first encoder 1100 consisting of the input layer 10, at least one encoding (neuron) layer 20, a latent (neuron) layer 30, and connections between each pair of successive neuron layers of the encoder 1100. The first encoder 1100 is configured to compress a first value in the input layer 10 into a second value in the latent layer 30, - A first decoder 1200 consisting of the output layer 50, at least one decoding layer (of neurons) 40, the latent layer (of neurons) 30, and connections between each pair of successive neuron layers of the decoder 1200. The first decoder is configured to decompress a first value in the latent layer 30 into a second value in the output layer 50, - The connections are represented by matrices Ml, M2, M3 and M4,

[0060] For the sake of simplification, we represent a neural network 111 with 5 layers, but in practice, the number of layers will often be higher.

[0061] The first neural network is an artificial neural network, for example electronic.

[0062] With reference to [Fig.5], in step S10, the first neural network 111 is trained by implementing the following two steps:

[0063] - First unsupervised training with linked weights of a second electronic auto-encoder neural network comprising the first encoder 1100 and a second decoder to learn the identity function (for this, an image is presented at the input 10 of the network and the same image at the output of the neural network), then - Second supervised training of the first neural network 111 by fixing the first decoder 1100 (In other words: the weights of the first decoder are not modified by the second training. In particular, the weights of the first decoder 1100 remain identical to the weights determined following the first training),

[0064] In step S20, the driving assistance device 110 receives the image 4000, [Fig.2], of the environment of the vehicle 100, obtained for example by the camera 120.

[0065] In step S30, the device 110 receives (successive) radar images from the radar 130.

[0066] In step S40, the device 110 determines, from the radar images, for each pixel of the image 4000, a duration before a collision with the ego vehicle. The pixel PX representing the surface PP (located at a distance DI from the ego vehicle 100) of the vehicle 220 is the one for which the duration before collision is minimum among all the pixels of the image 4000.

[0067] The time before collision is for example obtained from the relative speed between the vehicle ego and the element of the environment represented by the pixel divided by the distance between the element of the environment represented by the pixel and the vehicle ego. The relative speed and the distance are for example obtained from the radar images.

[0068] In step S50, an analysis duration equal to the time before collision minus a safety time, for example equal to 2 seconds, is determined. For example, the analysis duration is 0.2 seconds, and the time before collision is 2.2 seconds.

[0069] In step S60, the first neural network 111 receives as input the image 4000, in the neural layer 10.

[0070] In step S70, the image 4000 in the neuron layer 10 is propagated into the neuron layer 20. The weight of the connections between the layer 10 and the layer 20 is represented by the matrix ML

[0071] In step S80, the device 110 calculates the vector yt+i from the following formula:

[0072] - yt+1 = yt-a Ml (M1'yt - xt) where - yt is a vector representing the value in memory of layer 20, - xt is a vector representing the value in memory of layer 10, - MF is the transposed matrix of ML - M' yt is equal to the value of layer 10, which is here called the back-propagation value (or retro-propagation), if the value of yt in layer 20 had been back-propagated (in other words: propagated) in layer 10 using the weights represented by the matrix M1' (which is the transpose of Ml). (M' yt - xt) is the error between the back-propagation value and the value in memory of layer 10, that is to say image 4000. - a is a parameter for example less than 1, preferably equal to 0.001.

[0073] In step S90, the vector yt is replaced by yt+i in the memory of layer 20.

[0074] Steps S80 and S90 are repeated until the analysis time of 0.2 seconds has expired.

[0075] In step S100, the value of yt in layer 20 is propagated to the output layer 50 (through layers 30 and 40) which then constitutes the result of the analysis step.

[0076] The electronic device 110 then controls a trajectory of the ego vehicle 100 from the value of the layer 20.

[0077] Image 5000, [Fig. 3], is (or represents) an example of the value of layer 20 following step S100. Image 5000 comprises image 4000 and boxes 320', 210', 310', 220', 330', 400' respectively encompassing objects 320, 210, 310, 220, 330, 400 of this image 4000 and the class of objects to which these objects 320, 210, 310, 220, 330, 400 belong.

[0078] In image 5000, the following are classified:

[0079] - As vehicles, vehicles 210 and 220, - As lane demarcation, the central separation 310, and the barriers 320 and 330, - As elements external to the road: tree 400.

[0080] Thus, in step S10, in this embodiment, the first neural network is trained to produce such an image 5000.

Claims

1. Claims Method for analyzing a first image (4000) by a first electronic auto-encoder neural network (111), the first neural network (111) comprising: - An input layer (of neurons) (10), - An output layer (of neurons) (50), - A first encoder (1100) consisting of the input layer (10), at least one encoding layer (20) and a latent layer (30), - A first decoder (1200) consisting of the output layer (50), at least one decoding layer (40), and a latent layer (30), - The first neural network (111) being trained by the implementation (S 10) of the following steps: - First unsupervised training with linked weights of a second electronic auto-encoder neural network comprising the first encoder (1100) and a second decoder to learn an identity function, then - Second supervised training of the first neural network by fixing the weights of the first decoder, the weights of the first decoder remaining identical to the weights determined by the first training, The method being characterized in that it comprises the following steps, implemented in a motor vehicle (100): - Determination of an analysis duration (S50) available for an additional analysis of the first image (4000), - Determination of a comparison value (S60) of a comparison layer (10) of the first encoder (1100), - First propagation (S70) of the comparison value in the encoder (1100) from the comparison layer (10) to a prediction layer (20) of the encoder (1100) taking a prediction value, - Repeat the following steps until the available analysis time has expired: Determining a backpropagation value (S80) equal to the value of the comparison layer (10) if the prediction value had been propagated in the encoder (1100) from the prediction layer (20) to the comparison layer (10), using as weights of the connections between two layers of the encoder, a transpose (M1') of the matrix (Ml) representing weights of the connections between these two layers during the first propagation, Calculating an error from the backpropagation value and the comparison value, Modifying (S90) the prediction value so as to reduce the error, Second propagation (S 100) of the prediction value in the first neural network (111) from the prediction layer (20) to the output layer (50).

2.

3. Method for analyzing the first image (4000) according to the preceding claim in which: The comparison layer (10) is the input layer, and the encoder (1100) comprises, among said at least one encoding layer (20), a layer directly connected to the input layer, and the prediction layer is this layer directly connected to the input layer. Method of analyzing the first image according to any one of the re preceding claims wherein the comparison layer (10) and the prediction layer (20) are directly connected and wherein the following formula is applied during the step (S90) of modifying the prediction value: yt+i = yt - a M (M' yt - xt) where yt+i is the modified prediction value, xt is the comparison value yt is the prediction value, M' yt is the backpropagation value, (M' yt - xt) is the error, M is a matrix that represents the weights of the connections between the prediction layer and the comparison layer, M' is the transpose of M.

4. A method for analyzing the first image according to any one of the preceding claims, wherein the first neural network is configured to, from the first image (4000) in the input layer (10), produce, in the output layer (50), the first image (4000) and boxes (320', 210', 310', 220', 330', 400') encompassing different objects (320, 210, 310, 220, 330, 400) of the first image (4000) and a class of objects to which these objects (320, 210, 310, 220, 330, 400) belong, the first neural network being trained during the second training to produce such an output layer (50) from an image in the input layer (10).

5. Analysis method according to any one of the preceding claims, the ego vehicle (100) being located in an environment comprising an element (PP), the method being characterized in that it comprises the following steps: - Reception (S30) of environmental information, - Determination (S40) of a duration before collision until an anticipated collision between the ego vehicle and the element (PP), from the environmental information, - Determination (S50) of the analysis duration available for the analysis of the first image (4000) from the duration before collision.

6. Analysis method according to the preceding claim comprising: - A step of determining a distance (Dl) between the ego vehicle (100) and the element (PP) from the environmental information - A step of determining a relative speed between the ego vehicle (100) and the element (PP) from the environmental information. The time before collision being determined from the distance and the speed.

7. An analysis method according to any one of the preceding claims. preceding in which the method comprises a step of receiving (S20) a second image (4000) of the environment and the element is a surface (PP) represented by a pixel (PX) of the second image (4000).

8. Computer program comprising instructions, executable by a microprocessor or a microcontroller, for implementing the method according to any one of claims 1 to 7.

9. Electronic device (110) configured to implement the steps of the method according to any one of claims 1 to 7.

10. Motor vehicle (100) comprising the electronic device (110) according to the preceding claim.