← Latest papers
🤖 AI

ProToken: Token-Level Attribution for Federated Large Language Models

Original authors: Waris Gill, Ahmad Humayun, Ali Anwar, Muhammad Ali Gulzar

Published 2026-01-29
📖 4 min read☕ Coffee break read

Original authors: Waris Gill, Ahmad Humayun, Ali Anwar, Muhammad Ali Gulzar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a group of doctors from different hospitals trying to build a super-smart medical AI together. They want to train the AI on their patients' data to help diagnose diseases, but they can't share the actual patient records because of privacy laws. This is called Federated Learning. They send updates to a central "brain" (the global model) instead of the raw data.

Now, imagine this new AI starts giving a weird, wrong answer to a specific question. Maybe it suddenly refuses to help or gives dangerous advice. The doctors need to know: Which hospital's data caused this mistake? Was it the data from Hospital A, B, or C?

In the past, this was impossible to figure out because the AI was a "black box" made of many blended parts. This paper introduces a new tool called ProToken that solves this mystery.

Here is how ProToken works, using simple analogies:

1. The Problem: The Blended Soup

Think of the final AI model as a giant pot of soup made by mixing ingredients from 50 different chefs (clients). If the soup tastes bad, you can't easily tell which chef added the rotten vegetable because all the flavors are mixed together. In the world of AI, when the model generates a sentence word-by-word, it's hard to trace which "chef" contributed to which specific word.

2. The Solution: ProToken (The Flavor Detective)

ProToken is like a detective that can taste the soup and say, "This specific spoonful of salt came from Chef #3." It does this token-by-token (word-by-word) as the AI speaks.

It uses two main "superpowers" to do this without breaking privacy rules:

  • Power #1: The "Late-Stage" Insight (Strategic Layer Selection)
    Imagine a construction crew building a skyscraper. The early workers lay the foundation (grammar and basic words), but the workers on the top floors decide the final look and function of the building (the specific meaning and the actual answer).
    ProToken realizes that to find out who is responsible for the final answer, you don't need to check every single brick from the ground up. You only need to check the top few floors (the later layers of the AI). This saves a massive amount of time and computing power, making the process fast enough to be practical.

  • Power #2: The "Relevance Filter" (Gradient Weighting)
    Imagine a crowded room where everyone is shouting. If you try to listen to everyone equally, you hear noise. But if you only listen to the people who are actually shouting about the specific topic you care about, you hear the truth.
    ProToken uses a mathematical filter to ignore the "noise" (neurons that are active but not relevant to the current word) and focuses only on the "signal" (neurons that are actually deciding what word to say next). This ensures it doesn't blame a hospital just because they have a lot of medical data, but only if that data actually influenced the specific wrong answer.

3. How They Tested It (The "Magic Trick" Test)

To prove ProToken works, the researchers had to create a situation where they knew the answer beforehand. They played a bit of a trick:

  • They secretly taught two specific "bad" hospitals a secret code (a trigger phrase like "!!badmagic!!").
  • They told these hospitals: "If you see this code, say this specific refusal sentence."
  • When they asked the global AI the question with the code, it said the refusal.
  • The Test: They ran ProToken to see if it could correctly identify that the refusal came from those two specific "bad" hospitals.

4. The Results

The results were impressive:

  • Accuracy: ProToken correctly identified the responsible "chef" (client) 98.62% of the time across different types of AI models and topics (medical, math, coding, finance).
  • Scalability: Even when they increased the number of chefs from 6 to 55, ProToken still worked well, correctly identifying the culprits over 92% of the time.
  • Speed: By only checking the "top floors" of the AI, it didn't take forever to run.

Summary

ProToken is a new tool that lets organizations using collaborative AI know exactly who is responsible for what the AI says. It does this by looking at the most important parts of the AI's brain and filtering out the noise, all while keeping everyone's private data safe. This helps fix bugs, catch bad actors, and make sure everyone gets credit for their good work.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →