Machine Learning Inference Performance

AIMark 3

AIMark makes use of various vendor SDKs to implement the benchmarks. This means that the end-results really aren’t a proper apples-to-apples comparison, however it represents an approach that actually will be used by some vendors in their in-house applications or even some rare third-party app.

鲁大师 / Master Lu - AIMark 3 - InceptionV3 鲁大师 / Master Lu - AIMark 3 - ResNet34 鲁大师 / Master Lu - AIMark 3 - MobileNet-SSD 鲁大师 / Master Lu - AIMark 3 - DeepLabV3

In AIMark, the Mi9 offers the needed library support from Qualcomm for the benchmark to work. In terms of performance, the device ranks high, although it’s just slightly edged out by the rest of the Snapdragon 855 devices.

AIBenchmark 3

AIBenchmark takes a different approach to benchmarking. Here the test uses the hardware agnostic NNAPI in order to accelerate inferencing, meaning it doesn’t use any proprietary aspects of a given hardware except for the drivers that actually enable the abstraction between software and hardware. This approach is more apples-to-apples, but also means that we can’t do cross-platform comparisons, like testing iPhones.

We’re publishing one-shot inference times. The difference here to sustained performance inference times is that these figures have more timing overhead on the part of the software stack from initialising the test to actually executing the computation.

AIBenchmark 3 - NNAPI CPU

We’re segregating the AIBenchmark scores by execution block, starting off with the regular CPU workloads that simply use TensorFlow libraries and do not attempt to run on specialized hardware blocks.

AIBenchmark 3 - 1 - The Life - CPU/FP AIBenchmark 3 - 2 - Zoo - CPU/FP AIBenchmark 3 - 3 - Pioneers - CPU/INT AIBenchmark 3 - 4 - Let's Play - CPU/FP AIBenchmark 3 - 7 - Ms. Universe - CPU/FP AIBenchmark 3 - 7 - Ms. Universe - CPU/INT AIBenchmark 3 - 8 - Blur iT! - CPU/FP

The CPU results in AI Benchmark are relatively mixed in terms of their positioning for the Mi9. In some of them, the Mi9 falls in amongst the last S855 devices, while in others, it more in the middle of the pack. Overall, this is just a matter of how the scheduler and DVFS is tuned on the Mi9. It’s to be noted that the differences between the devices here is very minor, with only a 10% difference between the best and worst Snapdragon 855 devices.

AIBenchmark 3 - NNAPI INT8

AIBenchmark 3 - 1 - The Life - INT8 AIBenchmark 3 - 2 - Zoo - Int8 AIBenchmark 3 - 3 - Pioneers - INT8 AIBenchmark 3 - 5 - Masterpiece - INT8 AIBenchmark 3 - 6 - Cartoons - INT8

In the INT8 tests which are accelerated on the SoC’s Hexagon DSP, we’re seeing the Mi9 lands in the middle of the pack again.

On the last “Cartoons” test running VGG-19, we’re seeing that the Mi9 is falling behind the rest of the pack alongside the LG G8. The reason for this is likely that the device is shipping with older NNAPI drivers than the rest of the Snapdragon 855 phones. The firmware we’ve tested this on was the latest at the time of testing in early September.

AIBenchmark 3 - NNAPI FP16

AIBenchmark 3 - 1 - The Life - FP16 AIBenchmark 3 - 2 - Zoo - FP16 AIBenchmark 3 - 3 - Pioneers - FP16 AIBenchmark 3 - 5 - Masterpiece - FP16 AIBenchmark 3 - 6 - Cartoons - FP16 AIBenchmark 3 - 9 - Berlin Driving - FP16 AIBenchmark 3 - 10 - WESPE-dn - FP16

In the FP16 tests the Mi9 again ends up middle of the pack.

AIBenchmark 3 - NNAPI FP32

AIBenchmark 3 - 10 - WESPE-dn - FP32

Finally, the FP32 test running on the GPU ends up as the last Snapdragon 855 device in the pack, although again the differences here between the devices are very small, and it’s still performing vastly better than any other non-Snapdragon device.

System Performance GPU Performance
Comments Locked

96 Comments

View All Comments

  • CityBlue - Sunday, September 15, 2019 - link

    "The contents of this article are entirely independent and solely reflect the editorial opinion of AnandTech."

    Could Anandtech include a similar disclaimer when posting any Intel-related content? Because based on articles over the last few months (or rather, articles that haven't appeared *cough* Zombieload and other security issues *cough*) it does appear that Intel has editorial control over Anandtech articles. And yes Dr Ian, security is bl**dy important to your readership!

    It shouldn't be a problem including such a disclaimer if Anandtech is 100% independent, because any such claim would be highly dubious at best.
  • hanselltc - Friday, September 13, 2019 - link

    I am pretty sure you labelled the P30 P30 images wrong Andrei.
  • Andrei Frumusanu - Friday, September 13, 2019 - link

    Thanks, I fixed the night shots.
  • Despoiler - Friday, September 13, 2019 - link

    I just bought one of these the other week. I was looking at a One Plus 7, but there are so many of the same phone platform made by different companies. I think Xiaomi has the best spec of all the different phones that look like they are build off the same reference design. It's also the cheapest of all of them.

    The Mi 9 is great given you do two things. 1) Install a different launcher. Apple like app icons across many screens is terrible. App drawer please. I'm using Evie, but really anything is better than stock. 2) Install a Google Camera port like Arnova8G2. The stock camera has a tendency to produce softer pictures than Google's camera. Also Google Night Sight is a better implementation.
  • s.yu - Saturday, September 14, 2019 - link

    All default cameras are worse than Gcam by most measures.
  • eastcoast_pete - Friday, September 13, 2019 - link

    Hi Andrei: did you have a chance to also evaluate the video capabilities of the Mi9? I appreciate the details on the still photography, but wonder how the strengths and weaknesses there impact video. If you have the data, would love to see them - Thanks!
  • Andrei Frumusanu - Friday, September 13, 2019 - link

    I didn't have time for it today, I'll update it in next few days. The lack of OIS isn't very good for video.
  • NXTwoThou - Friday, September 13, 2019 - link

    The EIS for the Mi9 is shockingly good. Unfortunately it only works at 30fps.
  • Redmyth79 - Saturday, September 14, 2019 - link

    True but for your info no current flagship has OIS or any stabilization at 4k@60fps. So it's not just the Mi 9
  • Redmyth79 - Friday, September 13, 2019 - link

    Read this info on the EIS, it's actually a advanced version of OIS
    https://www.gizchina.com/2019/02/17/mi-9-closed-lo...

Log in

Don't have an account? Sign up now