Does pseduo-LIDAR help Tesla or its competitors more?

Elon Musk's view on LIDAR (The 3-D image technology) for self-driving is well known. He does not plan to use it at Tesla, and calls it a crutch. This is a controversial view, and only history will tell if they do well in that bet.
One approach Tesla has promoted is what is sometimes called pseudo or virtual LIDAR. This involves building tools to take camera images (either stereo or regular) and figure out how far away each pixel in the image is. A LIDAR figures out the distance to every pixel by actually timing how long the light pulse takes to hit it and come back at the speed of light. Human beings, on the other hand, estimate the distance by using our brains. We know how big things are and how they move and that gives us close to how far away they are. We also use a few other tricks, like the stereo vision that comes from having two eyes, but that only works out to a moderate distance. Another good trick is “motion parallax” where you track how things move against the background and other things, which gives you other clues.
That’s all great, and human brains are up to this task — in fact you can do it with one eye closed pretty well while driving. People are trying to build machine learning techniques using neural networks to also figure out distance from an image. This is a virtual LIDAR. One example research result is here.
Training your virtual LIDAR is much easier than training many neural networks. Normally training requires you have lots of training images where humans have painstakingly figured out the true distances. Since a test car can have an actual expensive LIDAR on it, you can drive around to get training data combined with the “ground truth” distance figures learned from the LIDAR. You show the neural network tons of images with the real distance as calculated by the LIDAR, and it becomes good at trying to figure out the distance on its own. This technique, a variant of “unsupervised learning” because you don’t need human taggers, is vastly cheaper than supervised learning, so if there is something neural networks can do well at, it should be this. You can also train on simulator data to improve your models.
Another useful training technique is just relying on the fact that real world objects change distance in predictable ways. When you see an object moving along a path allowed by physics, your estimates were very likely correct. If you see the object jump around in space in impossible ways, you know they were wrong.
They’re doing OK. One problem with neural nets is they tend to look at single frames, not a moving image the way humans do. Humans actually make a lot of mistakes on still images. In time, the machine learning techniques may get past this. The problem is we must get a “bet your life” reliability out of it. You also need to do it on things you have never seen before, something that can challenge neural networks. An example is something unusual stopped in your lane on the road ahead. You need to know how far away it is, and you need to find out super reliably and soon. If it’s a car, you know how big cars are, so you know how far away it is. Ditto a car spun sideways — for a human — but a training database may have never seen that. For a random object, you wonder, is that a big object far away, or small object close by? The only way to tell is by seeing its relationship with the geometry of the road. It’s more complex.
If somebody pulls this off, they will have a tool that can take camera images and produce the 3-D “point cloud” that a LIDAR produces, and, since cameras are cheaper, it will do it at much lower cost. They may also be able to do it at very long range. Many LIDARs only see out to about 120m. Fancy ones see 240m. Humans are known to understand what they see a mile down the road.
Here’s the irony. The developers that have committed to LIDAR have built their systems to depend on these point clouds, and have spent a lot of time refining that. If a pseud0-LIDAR system suddenly becomes available that produces quality point clouds, they can make use of it immediately. Those who have been hoping for the pseudo-LIDAR will not have the same experience in using data in that form. Instead, they will have plans to combine the other elements of their vision system (segmentation of the image into different objects, and classifying what they are) with distance estimation. They might be less equipped to use the breakthrough they have been hoping for.
The LIDAR using companies, on the other hand will just say “great, we can replace the expensive LIDAR with something cheaper.” If they are also LIDAR-making companies (like Ford, Cruise, Waymo and Aurora) they may feel they have wasted some money.
What is clear is that you need to learn the distance to everything on the road, and you have to figure it out correctly, and you have to do that fast. We’ve already seen Tesla autopilot crash several times into trucks, a crash barrier and stalled vehicles in the lane ahead that were hidden by a car that suddenly pulled out of the way. When an obstacle on the road is revealed to your sensors suddenly, by surprise, you need to know how far away it is with high reliability, so you can initiate emergency braking. LIDAR pretty much always does this, but computer vision does not. Pseudo-LIDAR is an effort to fix that problem — but for now most other companies plan to solve it with LIDAR, which they know works, and which they expect to see become cheap.
Of course, if Tesla is the one to solve this problem internally, it won’t share it with others (though the demonstration may trigger other companies to do the same thing.) A perception team may also try to develop a tool that just tries to match distance estimation with classification, rather than produce a LIDAR style point cloud. This would not be pseudo-LIDAR but would be equally useful if universally accurate.
Originally published at Forbes.com in If Tesla’s Dream Of Making Cameras Perform As Well As LIDAR Comes True, It May Help Tesla’s Competitors More. Copyright © 2020 by Brad Templeton.








Comments
Alnair
Tue, 2020-04-14 13:56
Permalink
Calculating distances with cameras
Provided one object apparent area changes by the square of the distance, it seems not too difficult to deduce that if some object in the road has increased his apparent area 4 times in 10 seconds, you will hit it 10 seconds in the future if you continue moving at the same speed. Seems Skydio already does it: https://www.youtube.com/watch?v=AOYxlj5iuvo
brad
Wed, 2020-04-15 00:01
Permalink
10 seconds?
You don't have 500 milliseconds to come to a quick decision about surprise obstacles, forget 20 seconds.
Ron
Wed, 2020-04-15 06:28
Permalink
Tesla and distance to object ahead
Tesla does not just depend on cameras
It also has a forward looking RADAR that gives precise, instant distance readings.
Tudor
Wed, 2020-04-15 10:53
Permalink
Misunderstood?
Are you sure Tesla's output will be a 3d pixel.cloud and not some impossible to understand AI thing? I don't see the need to go through the extra step. If so, it would actually leave the pack further behind.
brad
Wed, 2020-04-15 15:02
Permalink
Sure?
No, I'm not sure. The teams trying to do this outside Tesla are indeed trying to generate a point cloud from the images. Tesla or a team trying to build a whole perception systems might well not do that, and just try to build a classifier with an idea of distance. What Tesla makes it is unlikely to share, though once it is demonstrated how to do it, others will do it as well.
jxramos
Wed, 2020-04-15 14:30
Permalink
Heads up on spotting a typo...
"When an obstacle on the road is revealed to your sensors suddenly, by surprise, you need to know how far AWARE it is with high reliability"
should be (caps added for emphasis)
"When an obstacle on the road is revealed to your sensors suddenly, by surprise, you need to know how far AWAY it is with high reliability"
Jesse
Wed, 2020-04-15 15:52
Permalink
Fail safe
Yes it probably will be a point cloud output because it needs to compare the data with the radar data. If this becomes accurate then there is still the possibility of using Lidar as a further check and fail-safe sensor. Lifar has slightly different effects from direct sunlight. So better to have as a back up rather than a second camera..
If/when lidars cost less than US$100 I still see them being used.
brad
Wed, 2020-04-15 16:31
Permalink
Keeping the LIDAR
Well, if the LIDAR is cheap yes, you might use it at the same time as pseudo-lidar. In addition, lidar could make Pseudo-lidar more accurate and reliable, with lower resolution from the lidar but an always accurate base distance for each region. Right now lidar does have reliability issues which might make people prefer a really good pseudo-lidar, and there is the potential for more range (in the daytime.)
FKA
Wed, 2020-04-15 19:31
Permalink
Neither?
The ability to look at images and calculate the distance to everything in the scene isn't necessary. It also isn't possible. It's definitely not the way humans drive.
Do you have a link to your source that Tesla "has promoted" this approach? It doesn't sound at all like something that would be very useful for them, given the inherent limitations.
Which is easier, to train a neural network to look at images and calculate the distance to everything in the scene, or to train a neural network to look at images and determine whether or not to slow down? Surely it's the latter. (And in case you're going to say that it's the former because you can do it unsupervised, no, the latter can also be done unsupervised, as long as you have a system that can go from a point cloud to the decision whether or not to slow down. Drive around with lidar and cameras. Process the camera data through a system that goes from images to a determination of whether or not to slow down. Process the lidar data through a system that goes from LIDAR data to a determination of whether or not to slow down. Also have the car record whether or not the human driver decides to slow down. Use ocassional manual review of scenarios where the three answers differ to confirm that the system you think works very well does in fact work very well.) Of course, "do I slow down" is only one of the many questions that a car has to decide. But this "Software 2.0" approach is the direction that development needs to be going in if this problem is ever going to be solved. And we know that Tesla is answering some questions this way. We know they've built a neural network to go from images (plus, I assume, other information like radar data) to "am I about to be cut off?" They do this without generating a 3D point cloud, which makes sense because the middle step in going from images/radar to 3D point cloud to "am I about to be cut off" would only make the answer less accurate.
Or for another real world example, how about stop-sign detection? You don't predict the location of a stop sign before you can see it by generating a 3D point cloud. https://twitter.com/karpathy/status/1224408275627601920
SW
Fri, 2020-04-17 02:20
Permalink
We have two eyes for a reason.
I feel like you're missing the key reason why humans have TWO eyes instead of one. Depth perception.
The wider the 'eyes' (in this case cameras), the better the ability to calculate depth.
Also, please explain to me how LIDAR can see colour on signs, traffic lights, car brake/indicator lights and road markings....
SW
Fri, 2020-04-17 02:23
Permalink
Correction: by "the wider the
Correction: by "the wider the eyes", I meant the wider the distance between two eyes (or two cameras)
brad
Fri, 2020-04-17 10:45
Permalink
Hardly missing that
But I point out that humans can drive with just one eye. Stereo depth perception just doesn't work out to the distances necessary here, even if you put the cameras on opposite sides of the car to get a long baseline. It can be useful for close-in operations but the need for distant perception is so strong that most teams just don't bother to do stereo.
LIDAR does not see colour, why did you think it did? It is not used for that purpose, the cameras are. (Mostly for traffic lights and brake indicators, not everybody looks at the colours on signs and road markings, but when they look at those they use cameras in any event.)
Alex
Fri, 2020-04-17 09:44
Permalink
Not unsupervised
This is not unsupervised learning. There is still ground-truth. Unsupervised learning is inference without ground-truth.
brad
Fri, 2020-04-17 10:42
Permalink
Self-supervised
Yes, a better term for this which is sometimes used is self-supervised.
However, the technique where you rely on the fact that for distance estimates to be correct they must follow principles of physics, I would consider to be true unsupervised learning.
FKA
Tue, 2020-04-21 19:18
Permalink
Self-supervised
Among other things, this video shows how Tesla is able to use self-supervised learning to develop depth estimation without using lidar: https://youtu.be/hx7BXih7zx8
The work they are doing on their bird's eye view network was also fascinating. Lidar or no-lidar, one key to self-driving is the ability to predict the existence of things you can't directly perceive.
brad
Tue, 2020-04-21 19:29
Permalink
Terms
I don't know how well defined these terms are, but usually unsupervised learning, as a reader pointed out, doesn't get much ground truth data given to it. Perhaps a scoring function or a goal like not crashing. Supervised learning has humans actually labeling the thing they want the system to learn, such as "A car looks like the thing in this box." Self-supervised is a term I have seen used when a non-human information source is giving you information on what you are trying to learn. Ie. a lidar tells you "this thing is actually 30m away." Or even "there is something here." Comma trains in this way, with a lidar on their training car. And it's a good way to train a pseudo lidar.
The method I saw tesla use (I have not watched Andrew's video) was unsupervised. They would try to get a distance estimate for things every frame. If the distance estimates stayed consistent with physics -- ie. gradual and continuous changes in distance -- they were considered likely true. If they suddenly jumped -- ie. you got 30 frames of 10m away and one frame of 20m away, you could decide the 20m estimate was wrong.
FKA
Wed, 2020-04-22 04:16
Permalink
Video
I believe the method you describe is one of the ones that was described in the video. In addition to that, a comparison is made between the estimates from different cameras in places where they overlap.
The speaker in the video called it "self-supervised".
brad
Wed, 2020-04-22 14:41
Permalink
The name
Well, there is really continuum, from fully supervised where a human tells you "this is a cat" and fully unsupervised where the network discovers patterns in the data it did not know to look for and learns to generalize and identify them. The key factor, though, is the cost. Supervised is expensive. Anything that doesn't need a human is much cheaper and can be done at bigger scale. Using a LIDAR sort of needs a human because somebody has to drive around with a LIDAR, and somebody even has to drive around with a camera, but both are comparatively cheap.
FKA
Sat, 2020-04-25 10:46
Permalink
Cost
I'm not sure if it's cheap to get someone to drive around with a LIDAR.
I do know that Tesla has hundreds of thousands of people driving around with cameras for free. And they're encountering all kinds of situations that companies hiring people to drive around in their tiny geofenced zones aren't seeing at all.
Add new comment