Deep Dives Level Up Newsletters Saved Articles Challenges

AI

ByteDance to allow other companies to use its powerful recommendation algorithm

By Alma Fabiani

Jun 16, 2021

COPY URL

On Thursday 10 June, TikTok owner ByteDance launched the Volcano Engine brand to offer its personalised recommendation algorithm to more corporate clients, as the Chinese company seeks to expand beyond its mainstay consumer apps.

ByteDance’s recommendation system is considered the ‘secret sauce’ in its success with apps including TikTok, TikTok’s Chinese version Douyin, and news aggregator Toutiao. Here’s why the recent move should be considered worrying instead of groundbreaking.

Remember when President Donald Trump went to war over TikTok’s presence in the US? How could you not, right? At the time, the app’s colossal community protested the move—how were we to survive another lockdown without endless scrolling on TikTok as our number one source of happiness?

Following Trump’s executive order, ByteDance was forced into talks to sell part of TikTok’s US operations. Why? Privacy concerns, obviously. But that’s not the only fear. ByteDance’s ‘secret sauce’ was also one of the many worries Trump had when it came to TikTok’s indisputable influence on his nation.

At the time, China revised its export restrictions so it would have a say over the potential transfer of TikTok’s recommendation algorithm to foreign buyers. In simpler terms, China planned on having a say in exactly which corporations could potentially get the full recipe to ByteDance’s success. Long story short, Trump didn’t win the next election—no matter what he thinks—and so President Joe Biden replaced him, bringing a new attitude towards TikTok along with him.

On Wednesday 9 June, Biden withdrew a series of Trump-era executive orders that sought to ban new downloads of WeChat and TikTok, and ordered a Commerce Department review of security concerns posed by those apps and others. Don’t get me wrong, the White House remains very concerned about the data risks of TikTok users, but you know what they say, business is business, and politics is a dirty game.

That’s where ByteDance’s Volcano Engine comes in. The Chinese multinational internet technology company said in a statement that Volcano Engine would offer enterprise clients technologies such as a recommendation algorithm, data analysis and artificial intelligence. It also added that the newly revealed company had in fact already been operating for a year before its official launch, and had corporate clients such as e-commerce giant JD.com, smartphone maker Vivo and automaker Geely.

Now that the news is out in the open, it also plans to add public cloud computing services—an already immensely competitive sector dominated by big tech companies in China such as Alibaba, Tencent and Huawei—a source close to the matter disclosed to Reuters. You guessed it, ByteDance is yet to comment on the cloud services plan.

Until now, the bulk of ByteDance’s revenue came from consumer-facing products such as Douyin and Toutiao. With growth prospects for these businesses likely to weaken as they mature, the company has been seeking to make more money in new areas such as enterprise services. Oh, and it also operates work-collaboration tool Lark and its Chinese version Feishu. Slowly gaining prominence in the remote working scene, it combines elements of Slack, Google Docs, Dropbox, and Skype.

Positioned as an umbrella “intelligent technology platform,” Volcano Engine provides a laundry list of enabling tools that companies can pick and choose from. At the moment, it seems to be staying out of more traditional ‘line of business’ applications and has moved towards advanced technologies and capabilities for more complex intelligence-driven challenges.

We know that ByteDance’s flagship products distinguish themselves from other social media products due to their powerful search and recommendation algorithms. Such tools, when customised for business applications, can be used for product discovery, internal company database optimisation, customer segmentation, and product testing, to name a few.

And that’s exactly what we should all be worried about—Volcano Engine’s high potential at enhancing competitiveness in a market that is already ruthless enough. Don’t even get me started on whether it will try its hand at cloud computing. Spoiler: in 2019, ByteDance submitted a trademark application for the name ‘Bytecloud’, allegedly submitted a review for the domain name ‘bytecloud.com’, and registered a WeChat account under the name ‘Bytecloud’. No stress though.

ByteDance to allow other companies to use its powerful recommendation algorithm


By Alma Fabiani

Jun 16, 2021

COPY URL


Everything you need to know about the TikTok algorithm

By Alma Fabiani

Sep 30, 2020

COPY URL

On his personal blog called Remains of the Day, former Amazon and Oculus product executive Eugene Wei wrote Seeing Like an Algorithm, an in-depth analysis of the TikTok algorithm explaining exactly what makes it so special (and performant). In order to help those of you who have been on a mission to try and understand TikTok’s recommendation engine, we rounded-up the key takeaways from Wei’s analysis. Here’s how the design of TikTok helps its algorithm work as well as it does.

Although many link TikTok’s impressive success to its For You page, which isn’t wrong in itself, the video-sharing app relies first and foremost on its algorithm. After all, without the perfect algorithm, even the For You page would collapse. “Understanding how the algorithm achieves its accuracy matters even if you’re not interested in TikTok or the short video space because more and more, companies in all industries will be running up against a competitor whose advantage centres around a machine learning algorithm,” explains Wei.

TikTok’s algorithm isn’t that special

There, we’ve said it: TikTok’s actual machine learning (ML) recommendation algorithm isn’t out of the ordinary. As Wei explains, “Most experts in the field doubt that TikTok has made some hitherto unknown advance in machine learning recommendations algorithms. In fact, most of them would say that TikTok is likely building off of the same standard approaches to the problem that others are.”

While this statement might throw you off a bit, keep in mind that the effectiveness of a ML algorithm isn’t a function of the algorithm alone but of the algorithm after it is trained on some dataset. Once trained on an enormous volume of data with a massive number of parameters, its output is often mind-blowing.

It’s all about TikTok’s data inputs

The TikTok For You page algorithm, trained on its dataset, is remarkably accurate and efficient at matching videos with those who will find them entertaining. It is also just as good at suppressing the distribution of videos to those who won’t find them entertaining.

TikTok needed an algorithm that would excel at recommending short videos to viewers, and when it first launched, “no such massive publicly available training dataset existed.” Even though you could find short videos of memes, kids lip-synching, dancing, cute pets—and on and on—you weren’t able to find comparable data on how the general population felt about such videos. “Outside of Musical.ly’s dataset, which consisted mostly of teen girls in the US lip-synching to each other, such data didn’t exist,” writes Wei.

TikTok’s chicken and egg problem

Knowing that the app faced the problem in which the very types of video its algorithm needed to train on weren’t easy to create without the app’s camera tools and filters, how did TikTok manage to get the most valuable inputs possible for its algorithm?

TikTok’s design offers only one video at a time with a number of indicators as to whether or not the user likes it (length of viewing, re-watches, likes, comments, song choice, video subject, shares). This closed-loop of feedback then inspires and enables the creation and viewing of videos on which its algorithm can be trained. It’s as simple as that: “for its algorithm to become as effective as it has, TikTok became its own source of training data,” clarifies Wei.

TikTok’s “algorithm-friendly” design

Typically, user experience (UX) design is meant to be user-friendly. However, to improve its algorithm, TikTok has made its product a tiny bit less user-friendly, as users having to scroll through multiple pieces of content on apps such as Twitter or Facebook is a more ‘frictionless’ experience than just a single video view like on TikTok. The dominant school of thought in tech has centred around removing friction for users in accomplishing whatever it is they’re trying to do.

When you open the TikTok app, it takes you straight to the For You page and goes right into a video, which fills your entire screen. This is not a scrolling feed. It’s paginated, effectively, explains Wei. The video autoplays almost immediately (and the next few videos are loaded in the background so that they, too, can play quickly when it’s their turn on stage).

This design introduces the user to an immediate question: how do you feel about this short video and only this short video? If you watch it more than once, then you liked something about it. If you shared it with someone, then you must have felt something special there too. If you tapped on the spinning track and watched more videos using that song, this is also an indicator that something in that specific video appealed to you. All the information listed above is what TikTok’s algorithm ‘feeds’ on.

With such clear signals—whether positive or negative—TikTok can quickly understand a user’s preference and serve up more similar content. This in turn creates a tight feedback loop and kicks off the flywheel that continually improves TikTok’s recommendations and data inputs.

But even before gaining all that information, the app’s algorithm looks at the video by itself and classifies it. It knows what the video is about, what filters and songs it uses, if there’s food in it or simply human faces, hands or gestures. The algorithm’s vision AI starts by classifying all this.

So, even before you’ve watched a specific video, TikTok’s algorithm already knows the types of videos you have previously enjoyed, the demographic or psychographic information that is known about you, where you’re watching the video, the type of device you have, and more. “Beyond that, it knows what other users are similar to you.”

After you’ve watched the specific video the algorithm has recommended on the For You page, it can now close all the feedback loops and take every one of your actions on the video and can guess how you, with all your tastes, feel about this video, with all its attributes.

Now, how is this so different from other social media platforms such as Facebook, Twitter and Instagram?

Default user interface (UI) for other social media

Now, if you compare TikTok’s UI with a traditional social feed that offers an endless scroll of content, you’ll notice that the user inputs are less clear. Instead of serving you one story at a time like TikTok, these apps display multiple items on screen at once. “As you scroll up and past many stories, the algorithm can’t ‘see’ which story your eyes rest on. Even if it could, if the user doesn’t press any of the feedback buttons like the Like button, is their sentiment towards that story positive or negative? The signal of user sentiment isn’t clean,” explains Wei.

In both cases, infinite scrolling feeds are ideal. However, TikTok took it one step further by allowing users to only watch one video at a time, gaining clearer data from this and then feeding it back to its algorithm, making it more competent than ever. “If you click into a text post by someone on Facebook but don’t comment or like the post, how can Facebook judge your sentiment toward that post?” asks Wei.

That’s also why some networks that are built around interest graphs like Reddit have incorporated down voting mechanisms in order to serve users the most interesting content. That means weeding out uninteresting content as much as it does surfacing appealing content. Although TikTok doesn’t have a downvote button, by showing you one video at a time, it can notice your lack of interest depending on how quickly you swipe to the next one or which positive actions you take or don’t take.

Wei states that “Triller may pay some influencers from TikTok to come over and make videos there, Reels might try to draft off of existing Instagram traffic, but what makes TikTok work is the entire positive feedback loop connecting creators, videos, and viewers via the For You page algorithm.” You heard the man, competition will struggle before it gains the same popularity TikTok has.

Everything you need to know about the TikTok algorithm


By Alma Fabiani

Sep 30, 2020

COPY URL


 

×

Emails suck! Ours don't

Sign up to our weekly newsletter

 

Don't show again