ArticleslgStudy

computer science

Federated Learning of Cohorts

Federated Learning of Cohorts is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Federated Learning of Cohorts rather than just read about it. In short: Federated Learning of Cohorts (FLoC) is a type of web tracking. It groups people into "cohorts" based on their browsing history for the purpose of interest-based advertising.

Federated Learning of Cohorts — main illustration
Federated Learning of Cohorts — illustration

Key takeaways

  • Federated Learning of Cohorts belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Federated Learning of Cohorts to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Federated Learning of Cohorts from memory before moving on to harder problems.

Reference excerpt

Federated Learning of Cohorts (FLoC) is a type of web tracking. It groups people into "cohorts" based on their browsing history for the purpose of interest-based advertising. FLoC was being developed as a part of Google's Privacy Sandbox initiative, which includes several other advertising-related technologies with bird-themed names. Despite "federated learning" in the name, FLoC does not utilize any federated learning. Google began testing the technology in Chrome 89 released in March 2021 as a replacement for third-party cookies. By April 2021, every major browser aside from Google Chrome that is based on Google's open-source Chromium platform had declined to implement FLoC. The technology was criticized on privacy grounds by groups including the Electronic Frontier Foundation and DuckDuckGo, and has been described as anti-competitive; it generated an antitrust response in multiple countries as well as questions about General Data Protection Regulation compliance. In July 2021, Google quietly suspended development of FLoC; Chrome 93, released on August 31, 2021, became the first version which disabled FLoC, but did not remove the internal programming. On January 25, 2022, Google officially announced it had ended development of FLoC technologies and proposed the new Topics API to replace it. Brave developers criticized Topics API as a rebranding of FLoC with only minor changes and without addressing their main concerns.

Function

The Federated Learning of Cohorts algorithm analyzes users' online activity within the browser, and generates a "cohort ID" using the SimHash algorithm to group a given user with other users who access similar content. Each cohort contains several thousand users in order to make identifying individual users more difficult, and cohorts are updated weekly. Websites are then able to access the cohort ID using an API and determine what advertisements to serve. Google does not label cohorts based on interest beyond grouping users and assigning an ID, so advertisers need to determine the user types of each cohort on their own.

Opting out of cohort calculation FLoC experiment was active only in Google Chrome browser and ran from Chrome 89 (inclusive) to Chrome 93 (not inclusive). Modern browsers do not support FLoC. While the experiment was active, users could opt out of FLoC experiment by disabling third-party cookies. Website administrators could opt out from cohort calculation via special HTTP headers. It can be accomplished with a new interest-cohort permissions policy or feature policy, the default behavior is to allow cohort calculation. To opt-out of all FLoC cohort calculations a website could send either of the following HTTP response headers:

Permissions-Policy: browsing-topics=()

or

Feature-Policy: browsing-topics 'none'

Google Chrome applies interest-cohort Feature Policy restrictions to Browsing Topics API as well.

Timeline

Initial prototype On August 22, 2019, Google Chrome developers coined the term FLoC and first started discussing the upcoming replacement for cookies. In July 2020, the United Kingdom's Competition and Markets Authority found the FLoC proposal to be anti-competitive, since it would "place the browser in a vital gatekeeper position for the adtech ecosystem." Instead, the authority recommended adoption of a competing proposal called SPARROW, which maintains the same privacy-enhancing objectives but creates a different completely independent "Gatekeeper" which does not have any other role in the adtech ecosystem and does not have access to user-level information.

Testing Google began testing FLoC in the Chrome 89 released in March 2021 as a replacement for third-party cookies, which Google plans to stop supporting in Chrome by mid-2023. (Initially Google announced plans to remove third-party cookies by late 2021, then postponed it to early 2022, and then to 2023 due to delay of FLoC technology.) The initial trial turned on FLoC for 0.5% of Chrome users across 10 countries: the United States, Australia, Brazil, Canada, India, Indonesia, Japan, Mexico, New Zealand and the Philippines. Users were automatically placed in the trial and were not notified, but could opt out by turning off third-party cookies. Furthermore, site administrators could disable FLoC and opt out from interest calculation via a Feature-Policy header. The initial trial did not include users in the United Kingdom or the European Economic Area due to concerns about legality under the area's privacy regulations.

FLoC shutdown In July 2021, Google suspended development of FLoC; Chrome 93, released on August 31, 2021, became the first version which rendered FLoC feature void, but did not remove the internal programming. Chrome 100, released on March 29, 2022, removed most of old FLoC code.

Topics API On January 25, 2022, Google officially announced it had ended development of FLoC APIs and proposed a new Topics API to replace it. This API would use three weeks of the browser's history to identify user interests based on defined topics (referred to as "IAB Content Taxonomy"). Participating websites could then call this API to get three topics (items from "IAB Content Taxonomy") which could be used to tailor advertising. Developers of the Brave web browser called Topics API a "rebranding [of] FLoC without addressing key privacy issues. On Oct 17, 2025, Google published a blog post deprecating most of Privacy Sandbox technologies, including Topics API. From February to April 2026, Google engineers were prototyping yet another API based on "IAB Content Taxonomy". Originally the functionality was referred to as "Taxonomy API" until being renamed to "Classifier API". Under the new scheme, Chrome would get a new API which would take some free-form text as input and output IAB Taxonomy labels and associated confidences for it. The On April 19 2026, Google engineer stated the API is "no longer pursued due to insufficient signals of interest". In June of 2026, Google Chrome 150 became the first Google Chrome version to disable Topics API and associated controls in settings for majority of users.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Federated Learning of Cohorts

Start with the simplest possible case. Write down what Federated Learning of Cohorts claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Federated Learning of Cohorts before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Federated Learning of Cohorts ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Federated Learning of Cohorts

In research
Federated Learning of Cohorts appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Federated Learning of Cohorts in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Federated Learning of Cohorts is common in secondary-school and first-year university syllabi. It links to neighbouring topics Advertising, Google Chrome, Machine learning algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Federated Learning of Cohorts outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Federated Learning of Cohorts” →

How to study Federated Learning of Cohorts in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Federated Learning of Cohorts means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Federated Learning of Cohorts out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Federated Learning of Cohorts in simple terms?

Federated Learning of Cohorts (FLoC) is a type of web tracking. It groups people into "cohorts" based on their browsing history for the purpose of interest-based advertising.

Why does Federated Learning of Cohorts matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Federated Learning of Cohorts?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Federated Learning of Cohorts.

Tags

  • Advertising
  • Google Chrome
  • Machine learning algorithms

Keep exploring