← Latest papers
💬 NLP

FAID: Fine-Grained AI-Generated Text Detection Using Multi-Task Auxiliary and Multi-Level Contrastive Learning

The paper introduces FAID, a fine-grained detection framework and a new multilingual dataset designed to distinguish between human-written, AI-generated, and human-AI collaborative texts while identifying the specific LLM family used, utilizing multi-task auxiliary and multi-level contrastive learning to improve generalization across unseen domains and models.

Original authors: Minh Ngoc Ta, Dong Cao Van, Duc-Anh Hoang, Minh Le-Anh, Truong Nguyen, My Anh Tran Nguyen, Yuxia Wang, Preslav Nakov, Sang Dinh

Published 2026-02-10
📖 4 min read☕ Coffee break read

Original authors: Minh Ngoc Ta, Dong Cao Van, Duc-Anh Hoang, Minh Le-Anh, Truong Nguyen, My Anh Tran Nguyen, Yuxia Wang, Preslav Nakov, Sang Dinh

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 you are a teacher grading essays. In the old days, you only had to worry about two things: did the student write this themselves, or did they copy it from a book? But today, things are much messier. A student might write a draft, ask an AI to "polish" the grammar, or have the AI write the first half and then finish the rest themselves.

It’s becoming harder to tell where the human ends and the robot begins. This paper, called FAID, is like building a high-tech "digital forensic lab" to solve this mystery.

Here is how they do it, explained through a few simple analogies:

1. The "Family Handwriting" Concept (Multi-Level Contrastive Learning)

Imagine you are looking at a pile of letters. You notice that some letters are written in very neat, robotic print, while others are messy human cursive. But then you notice something even more subtle: there are several different types of "robotic" print. One looks like it was made by a Xerox machine, another by a laser printer, and another by a digital pen. Even though they are all "machines," they each have a tiny, unique "fingerprint" in how they shape the letters.

The researchers realized that different AI models (like GPT, Gemini, or Llama) have their own "digital handwriting." Even when they are trying to sound human, they leave behind tiny stylistic clues. FAID doesn't just ask, "Is this a robot?" It asks, "Does this look like the specific 'handwriting' of a Gemini robot or a GPT robot?" By learning these specific family traits, the system becomes much better at spotting even the most clever fakes.

2. The "Art Critic" Training (Multi-Task Learning)

Think of training this AI like training an art critic. If you only teach the critic to say "Real" or "Fake," they might get lazy and only look at the obvious stuff (like if the paint is too shiny).

Instead, the researchers give the critic two jobs at once:

  • Job A: Is this a human or a machine?
  • Job B: If it is a machine, which "brand" of machine made it?

By forcing the AI to do both jobs at the same time, it can't take shortcuts. It has to actually study the "brushstrokes" (the subtle patterns in the text) to succeed at both. This makes the AI much smarter and harder to fool.

3. The "Library of Styles" (Vector Database & Fuzzy kNN)

Usually, when an AI learns something, it’s like a student memorizing a textbook. If the exam asks a question that wasn't in the book, the student fails. This is a huge problem in AI detection because new AI models are released every single week!

To fix this, the researchers gave their system a "Living Library." Instead of just relying on its memory, the system takes a new piece of text and quickly runs to the library to see: "Does this look similar to anything I've seen before?"

They use a method called "Fuzzy k-Nearest Neighbors." Think of this like a librarian who doesn't just say, "This is exactly like Book A," but instead says, "This feels 70% like a student essay and 30% like a polished AI report." This "fuzzy" way of thinking allows the system to handle new, unseen types of writing without needing to go back to school (retraining) every time a new AI comes out.

The Bottom Line

In short, FAID is moving away from simple "Yes/No" questions. It is building a sophisticated system that understands the nuance of collaboration. It recognizes that the future of writing isn't just "Human" or "AI," but a complex dance between the two—and it’s learning how to spot the dancers.

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 →