Is Tesla going to go to war with Huawei? – Fast Technology – Technology changes the future

For a long time, the situation of intelligent driving functions being “unseen” is about to change.

Earlier this month, a Tesla employee accidentally leaked during a live broadcast that the internal beta version V12 of FSD (Full-Self Driving) was suspected to be being tested in China. Apparently, after resolving the information security compliance issue, FSD, which has been very successful in the United States, is finally expected to come to China to compete with Huawei's urban NCA.

However, there has been a lot of debate about which of the two companies' high-end intelligent driving products will perform better in China. Some people believe that there are significant differences in the road environment, traffic rules and user habits between China and the United States, so FSD is bound to fail in China and lose to Huawei.

However, almost every technical person I communicated with told me that Tesla's leading edge in end-to-end architecture should not be underestimated.Because in the United States, the FSD BETA V12, which has been mass-produced, has given a big shock to global car manufacturers and technology companies.

So the question is, what is the end-to-end architecture that was first mass-produced by Tesla and frequently mentioned by Huawei, Wei, Xiaoli and Li Auto in China? What is the internal principle of this “only” advantage that Tesla has now? To this end, the Huxiu Automotive Dark Signal team has conducted interviews and research with many parties to present to you the technical principles and engineering difficulties behind this cutting-edge and complex concept.

End to end: pigs go in here, sausages come out there

As long as you search for “Tesla FSD V12” on Bilibili or various social networking sites with video content, you can see a large number of FSD experience videos posted by American car owners. In these videos, Tesla cars that have been upgraded to the latest system have a “human-like” intelligent driving performance on busy American streets.

Is Tesla going to war with Huawei?

As can be seen from the picture above, the Model Y driven by the owner almost “didn’t stutter” when it encountered branches sawed off by gardeners on the road, and the vehicle was directly maneuvered to bypass the obstacle without taking over.

In more videos, Tesla cars have accomplished many things that other brands of cars currently do not have: facing a road under construction, the car drives into the opposite lane under the guidance of the pile bucket and returns to the forward lane after the construction section ends; at an intersection without a traffic light, the car stops exactly according to the “STOP” sign and waits for the vehicle on the left to pass first; after reaching the destination, the car does not exit immediately and will automatically pull over to the side of the road without further instructions from the human driver. If the car cannot pull over at that location, it will automatically drive forward to find a parking space…

The basis for all this is the end-to-end architecture of intelligent driving.In my opinion, this is the first invention close to ChatGPT for cars, which will greatly improve the smart driving experience.

The so-called end-to-end architecture corresponds to the modular architecture adopted by most car companies today. In the past, engineers divided a car's intelligent/autonomous driving into three modules: perception, decision-making and control.

Among them, the perception module accesses the information of the vehicle body sensors to realize the recognition of vehicles, pedestrians and various obstacles on the road, and completes the precise positioning of the vehicle itself. The decision and control module (Planning and Control) is responsible for predicting the trajectory and speed of the moving obstacles in front, and planning the route of the vehicle to ensure the safe driving of the vehicle. Finally, the system sends the calculated operation instructions to the throttle, brake and steering systems to operate the vehicle.

We can actually think of this architecture as a “rule executor.” Whether it is sensing obstacle features and classifying them based on a database, or performing corresponding operations based on changes in the surrounding environment in a specific scenario, the system executes according to the rules written by engineers. In the industry, modular intelligent/autonomous driving architecture is also called “rule-based.”

Is Tesla going to war with Huawei?

But under the end-to-end architecture, the system packages the perception and PNC modules directly into a large model.The sensor data is directly input into the model, and the result is directly output after calculation and sent to the actuator. The large model is trained based on a large number of test vehicles and real data of users' actual driving, and can actively learn human driving habits.

As you can see from the figure above, the sensor is directly connected to the actuator through the large model, which is the so-called “end-to-end”. To use an inappropriate example, this is equivalent to a whole packaged food production line: pigs run in on one side, and sausages, stewed meat, and pork skin jelly come out on the other side.

Is Tesla going to war with Huawei?

Compared with modularization, the advantages of end-to-end architecture are obvious. First, the system is no longer based on rules written by engineers for decision-making and control, but is data-driven, which enables the system to generalize problems.

In the past, when faced with scenarios that did not exist in the rules, smart cars with modular architectures would often exit the system and prompt the driver to take over, or take wrong actions that caused accidents. However, the end-to-end architecture can drive in extreme scenarios (corner cases) like humans based on “intuition” to take detours, avoid risks, or even “drive hard”, thereby greatly improving safety and user experience.

Secondly, compared with the old system composed of rules and modules, the end-to-end architecture can greatly reduce the amount of code while improving decision-making efficiency. For example, Tesla claims that the FSD Beta V12 system has reduced 300,000 lines of code compared to the past. This will not only reduce the storage pressure on the vehicle side, but also greatly improve the simplicity of the system, thereby improving operating efficiency.

Finally, and most importantly, the end-to-end architecture is a real “big model” that already has some of the characteristics of human drivers. In the future, as the amount of model training data continues to increase and iterate, we are expected to successfully build automotive artificial intelligence under the end-to-end architecture, and eventually replace human drivers to achieve true L4 autonomous driving.

More importantly, although the modular architecture can run smoothly in daily road environments after accumulating enough strategies, it will still exit or make wrong decisions when faced with “unplanned” scenarios (that is, corner cases). This not only affects the user experience, but can also be dangerous.

However, the end-to-end architecture that truly forms the capabilities of AI large models is no longer based on established rules for planning and control, but can drive like a human, relying on “experience” and even “intuition”. Therefore, it no longer emphasizes the learning of corner cases, and can provide users with a driving experience closer to that of humans.

However, even though the industry has understood the benefits of end-to-end architecture, Tesla is the only car brand that has adopted this technology in mass-produced cars. From the perspective of the implementation of the technology itself, it is the most difficult task in autonomous driving technology to enable vehicles to predict the behavior of other traffic participants on the road like humans and develop safe and efficient driving strategies.

How to make machines drive like humans?

It should be noted that some domestic companies have already been promoting themselves as having achieved “large models on board”.However, they have only realized the perception part “end to end”. In fact, the so-called data-driven at the perception level is still just to let the system autonomously identify the target type, road environment characteristics and realize vehicle positioning through high-precision maps, and the subsequent PNC still needs to be executed according to the strategy written by engineers. This is already a common solution in the industry.

However, a large model with only half of it is obviously not truly “end-to-end”.As mentioned earlier, the key lies in whether the vehicle can, like humans, autonomously choose the optimal path to move forward after “seeing” and recognizing the road environment ahead.

To understand this problem, we must first analyze what problems need to be solved in the process of implementing end-to-end PNC. At the NIO IN 2023 NIO Innovation Technology Day in September last year, Ren Shaoqing, the company's vice president of intelligent driving research and development, shared the company's end-to-end PNC technology architecture, which is a rare case in the industry that can publicly explain the technical ideas in detail.Through his interpretation and analysis of the data, we can have a general framework for the issues that need to be addressed in the PNC process.

It should be noted that Weilai's solution is not unique in the industry, and everyone's technical routes are actually similar. The reason for choosing this company as a case is that it is the most clear and comprehensive one that the author can find in public information.

Is Tesla going to war with Huawei?

First, let’s look at NIO’s entire PNC planning. As shown in the figure, in a typical scenario at an intersection, after receiving the signal from the sensor, the system will classify the dynamic and static objects in the environment, and screen out targets that may affect the vehicle’s driving path.

As time changes, the next action of traffic participants will also change. If you want to predict the target behavior as far in advance as possible, the difficulty will increase exponentially. For example, if the system wants to predict the possible behavior of 10 target objects at the moment, its complexity is 2^10=1024. If it predicts 5 seconds in advance, the complexity rises to 1024^5, or 10^15.

In it, the system will use dynamic scene coding, dynamic element coding, dynamic element interaction coding and dynamic and static interaction coding to predict the behavior of each target object, that is, the traffic participants, and finally derive possible interaction results.

In the interactive scenario expression on the far right of the above figure, we can see that if there are 10 traffic participants at the intersection, 10 to 100 predicted interaction modes can be formed based on the permutations and combinations.

Is Tesla going to war with Huawei?

After obtaining the scene expression results of environmental interaction, the system needs to further plan the vehicle's driving path based on the behavior of other traffic participants.NIO’s goal is to predict traffic conditions seven seconds into the future within 30 milliseconds, which is shorter than a frame in a standard movie.

During this process, the vehicle may make multiple decisions for different traffic participants. For example, for the first vehicle, the system may make decisions such as yield, detour, or speed up to pass. For the second pedestrian, the system may make decisions such as yield, detour to the left, detour to the right, etc. After making different decisions for the first participant, the latter goal will inevitably have a chain reaction. Therefore, the decision tree structure in the center of the figure is generated.What the system needs is to adopt the optimal solution and pass the intersection efficiently and safely.

Note that here comes the most critical part: engineers need to set scenario value rankings for the system during this process to guide the system to select the best path.For example, the first priority may be to ensure passenger comfort, the second is traffic efficiency, the third is safety, and the fourth is compliance with traffic regulations… Of course, these are just examples given by the author, and different companies may have different opinions. But the core purpose of all this is to make the value orientation of vehicles closer to that of humans during the PNC process, so as to provide the most comfortable decision-making solution.

In the process of model iteration, this is called RLHF (Reinforcement Learning with Human Feedback), which is the part where engineers need a large model to impose learning. To this end, the development team will feed the system a large amount of users' actual driving behavior data, as well as data from other traffic participants on vehicle behavior feedback.

As an aside, the reason why most smart car brands including Tesla, NIO, and Xpeng score users' driving behaviors and prioritize pushing smart driving functions to users with high scores is that the driving behaviors of these high-scoring users are excellent learning data for the system.On the one hand, this approach by car companies provides users with incentives and guidance for safe driving, and on the other hand, it also guides more users to improve the standardization of their driving, thereby providing more high-quality data for the system.

Is Tesla going to war with Huawei?

Finally, after selecting the best path in the decision tree, the system will obtain the “feasible convex space corridor” shown on the left side of the picture. In this passable area, the big model will combine the fully interactive topological coding and once again superimpose human value preference data to finally generate the optimal driving trajectory shown in the right picture.

The above paragraph may be a bit confusing, but this is the PNC path that I have explained to you in the simplest and most plain language, combined with NIO's technical solutions. At this point, some users may ask the next question: Since the method and path have been solved, why is the end-to-end architecture still not mass-produced in vehicles?

This brings us to the next issue: the unexplainability of large models and the inconsistency and conflict between them and the development procedures of car companies.

Can the standard “old shoes” of car companies not take the new end-to-end path?

Many people may have heard about the unexplainability of large models. In short, since large models are trained with a large amount of data, the process of how they get specific results is not transparent and cannot be explained in detail like traditional rule-based algorithms. For example, whether it is ChatGPT or Wenxin Yiyan, they cannot avoid “making up stories” on some professional issues.

Is Tesla going to war with Huawei?

“So, is 27 a prime number?”

For a chatbot, this obviously won’t cause a big accident, but in the automotive industry, which is based on safety, this is an unacceptable behavior. Especially for many traditional car companies that rely on suppliers to provide intelligent driving solutions, how to accept the end-to-end intelligent driving system has always been a difficult problem.

Bu Hai (pseudonym), who works for a well-known smart driving company in China, told the author that he once worked for a well-known German luxury brand. Like many auto companies, the company has a set of development standards for smart driving functions that are detailed down to the code level, including more than 100 safety goals, of which 7 involve AEB (automatic emergency braking system). For each of these items, the automaker will give a score and review the code.

For example, one of the security goals reads:

“Requirement description: Braking interventions where no stabilization-related system is available or required should be prevented. Safe state: AEB does not perform longitudinal control interventions.”

“Acceptance criterion: Maximum post-fault injection yaw rate change depends on vehicle speed. Target values ​​within 10 seconds after fault injection are as follows: 4°/s at 80 km/h, 3°/s at 130 km/h”

Pretty obscure, right? Actually, I chose the shortest one.It is not harmful to reveal that these safety goals provide guidance for the acceptance of automakers on the one hand, and also provide direction for the development of suppliers on the other hand. This process originally ran smoothly under the modular architecture, but it is not adaptable to end-to-end intelligent driving.

“Traditional car companies' relevant indicators for functional safety and expected functional safety are based on FSC (functional safety concept), PSC (product safety case) and SSR (system safety requirements). Due to the differences in SSRs of various car companies, suppliers will write their own codes to develop products.” Buhai said.

Is Tesla going to war with Huawei?

Traditional automotive testing can only verify “functions” but cannot assess “capabilities”

Obviously, for intelligent driving with modular architecture, car companies have a complete set of development guidelines and acceptance standards, which can ensure functional safety from the code level. However, for end-to-end architecture with complex parameters and in a black box state, car companies cannot guarantee that there will be no accidents during daily driving.

In other words, passing the driving school's test only means that a person has basic driving knowledge and is qualified to drive on the road. But the driving school cannot guarantee whether the person is a good driver or whether the person will drive into the river due to a brain short circuit.

“Only auto companies like Tesla can bypass the traditional development standards of the automotive industry to a certain extent and implement end-to-end architecture on their cars.” Buhai joked, “If this happened in a traditional auto company, the software and testing departments would definitely not pass it.”

In fact, even Tesla's FSD V12 is not a complete end-to-end intelligent driving system. It also has a 3,000-line code strategy “safety shell” to ensure safety. “For example, when the large model operates the vehicle to change lanes to the left, if the vehicle behind the left is coming at high speed, the strategy rules in the safety shell will stop the lane change and avoid the risk.” Buhai introduced.

However, this containment shell is, after all, a patched product.How many scenarios should be covered is still a question that engineers need to think about and make choices. Moreover, if the containment is too large, it is equivalent to returning to the modular architecture, which is like adding unnecessary details.

Of course, the challenges and difficulties that end-to-end architecture needs to face in order to achieve mass production on vehicles are far more than those mentioned in this article. The author has only selected a few of the more representative issues for introduction. However, despite this, the advantages of end-to-end architecture compared to today's modular architecture are still at the generational level. I believe that with the efforts of many domestic automobile brands, especially new forces, smart cars equipped with end-to-end architecture will soon be available to us.

In conclusion:

As mentioned above, compared with traditional car companies, new car manufacturers like Tesla are likely to have greater advantages in the mass production rhythm of end-to-end architecture. In fact, starting from the second half of this year, more and more car brands will open up mass production and delivery of new technologies in my country.

At a press conference before the Beijing Auto Show in April this year, Huawei revealed that ADS 3.0, which adopts an end-to-end architecture, is expected to be first installed on the Enjoy S9; Xiaopeng announced at last month's AI Day that it will launch an end-to-end large model and achieve “every road in the country can be driven” in August this year; NIO launched end-to-end active safety functions in the first half of this year, and mass-produced end-to-end urban intelligent driving in the second half of the year; Ideal's communication in this regard is relatively “humble”, and it only said that it will push “No Map NOA (City Pilot Assist)” in the third quarter of this year, and launch an end-to-end large model-driven L3 autonomous driving system at the end of this year or early next year.

Obviously, if Tesla can really push the V12 version of FSD in China in the third quarter of this year, it will most likely face a “three heroes fighting Lu Bu” battle among domestic auto brands.Who will be the winner in the end is obviously a good show worth looking forward to.

Is Tesla going to war with Huawei?