Inside TikTok's killer algorithm
TikTok Wednesday revealed some of the elusive workings of the prized algorithm that keeps hundreds of millions of users worldwide hooked on the viral video app.
Why it matters: The code TikTok uses to pick your next video is a large part of what has led the two-year-old company to achieve broad popularity along with a remarkable $20-$30 billion valuation. The key asset is in play as TikTok's Chinese parent prepares to sell its U.S. operation amid fears about its relationship with China's government.
Driving the news: On a call with reporters Wednesday, TikTok executives said they were revealing details of their algorithm and data practices to dispel myths and rumors about the company.
- "We're a 2-year-old company operating with the expectations of a 10-year-old company," said Michael Beckerman, TikTok's vice president in charge of U.S. public policy. "We didn't have the opportunity to grow up in the golden years of the internet, when tech companies could do no wrong. We grew up in the techlash age ,where there's a lot of skepticism of platforms, how they moderate content and how their algorithms work."
- TikTok executives gave reporters a virtual tour its new "transparency center" in Los Angeles. The center will have areas for people to demo computer modules that showcase how TikTok's algorithms and data practices work.
That's assuming TikTok survives in its current form.
- President Trump has set Sept. 15 as a deadline for the company's Chinese owner, ByteDance, to find an American purchaser, or it will face a ban in the U.S.
- China recently instituted new export restrictions on software that could prevent TikTok's algorithm from being included in any sale.
How it works: TikTok's algorithm uses machine learning to determine what content a user is most likely to engage with and serve them more of it, by finding videos that are similar or that are liked by people with similar user preferences.
- When users open TikTok for the first time, they are shown 8 popular videos featuring different trends, music, and topics. After that, the algorithm will continue to serve the user new iterations of 8 videos based on which videos the user engages with and what the user does.
- The algorithm identifies similar videos to those that have engaged a user based on video information, which could include details like captions, hashtags or sounds. Recommendations also take into account user device and account settings, which include data like language preference, country setting, and device type.
- Once TikTok collects enough data about the user, the app is able to map a user's preferences in relation to similar users and group them into "clusters." Simultaneously, it also groups videos into "clusters" based on similar themes, like "basketball" or "bunnies."
- Using machine learning, the algorithm serves videos to users based on their proximity to other clusters of users and content that they like.
- TikTok's logic aims to avoid redundancies that could bore the user, like seeing multiple videos with the same music or from the same creator.
Yes, but: TikTok concedes that its ability to nail users' preferences so effectively means that its algorithm can produce "filter bubbles," reinforcing users' existing preferences rather than showing them more varied content, widening their horizons, or offering them opposing viewpoints.
- The company says that it's studying filter bubbles, including how long they last and how a user encounters them, to get better at breaking them when necessary.
- Since filter bubbles can reinforce conspiracy theories, hoaxes and other misinformation, TikTok's product and policy teams study which accounts and video information — themes, hashtags, captions, and so on — might be linked to misinformation.
- Videos or creators linked to misinformation are sent to the company's global content reviewers so they can be managed before they are distributed to users on the main feed, which is called the "For You" page.
The briefing also featured updates about TikTok's data, privacy and security practices.
- The company says it tries to triage and prevent incidents on its platform before they happen by working to detect patterns of problems before they spread.
- TikTok's chief security officer, Roland Cloutier, said it plans to hire more than 100 data, security and privacy experts by year's end in the U.S.
- He also said that the company will be building a monitoring, response and investigative response center in Washington D.C. to actively detect and respond to critical incidents in real time.
The big picture: Beckerman says that TikTok's transparency efforts are meant to position the company as a leader in Silicon Valley.
- "We want to take a leadership position and show more about how the app works," he said. "For us, we're new, and we want to do this because we don't have anything to hide. The more we're talking to and meeting with lawmakers, the more comfortable they are with the product. That's the way it should be."