AutoFFS: Adversarial Deformations for Facial Feminization Surgery Planning

The paper introduces AutoFFS, a novel data-driven framework that utilizes adversarial free-form deformations to generate quantitative, counterfactual skull morphologies for objective and reproducible preoperative planning in Facial Feminization Surgery.

Paul Friedrich, Florentin Bieder, Florian M. Thieringer, Philippe C. Cattin

Published 2026-03-04
📖 5 min read🧠 Deep dive

The Big Picture: What is this paper about?

Imagine you are a sculptor trying to reshape a block of stone. In the real world, Facial Feminization Surgery (FFS) is exactly that: a surgeon reshapes the bones of a transgender woman's face to make them look more feminine.

Currently, surgeons have to guess how much to shave off the forehead, how to round the jaw, or how to change the nose. They rely on their experience and "eyeballing" it. It's like trying to paint a portrait without a reference photo.

AutoFFS is a new computer program that acts like a "What-If" simulator. It answers the question: "If this specific skull belonged to a woman, what would it look like?" It doesn't just guess; it mathematically calculates the exact bone changes needed to transform a "masculine" skull shape into a "feminine" one, giving surgeons a precise 3D blueprint before they ever pick up a scalpel.


How Does It Work? (The Magic Trick)

The researchers used a clever mix of AI and digital deformation. Here is the step-by-step process using a simple analogy:

1. The "Judges" (The Classifiers)

First, the team trained a panel of AI "judges" (neural networks) to look at skull scans and say, "That's a man" or "That's a woman."

  • The Analogy: Imagine you have a panel of 8 different art critics. They have all studied thousands of faces and are very good at spotting the subtle differences between male and female bone structures (like a heavy brow ridge or a square jaw).

2. The "Digital Clay" (Free-Form Deformation)

The computer takes a 3D scan of a patient's skull. Instead of cutting the bone digitally, it treats the skull like a soft, digital lump of clay.

  • The Analogy: Imagine the skull is wrapped in a invisible 3D grid of rubber bands. The computer can pull, push, and stretch these rubber bands to warp the shape of the skull without breaking it.

3. The "Adversarial Attack" (The Game of Cat and Mouse)

This is the core of the method. The computer wants to warp the skull until the "Judges" (the AI panel) are tricked into thinking it is a female skull.

  • The Analogy: Think of it like a game of whack-a-mole or a chameleon.
    • The computer nudges the digital clay (pulls the jaw back, rounds the forehead).
    • It asks the Judges: "Is this a woman yet?"
    • The Judges say: "No, still looks a bit like a man."
    • The computer nudges the clay again, but this time in a slightly different way.
    • It repeats this thousands of times, getting smarter with every try, until the Judges are 100% convinced, "Yes, this is definitely a woman!"

4. The "Smooth Operator" (Regularization)

If the computer just tried to trick the judges as fast as possible, it might warp the skull into a weird, alien shape (like melting the face like a Salvador Dalí painting).

  • The Analogy: To stop this, the researchers added "physics rules" (called regularization). It's like telling the digital clay: "You can stretch, but you must stay smooth. You can't turn the nose into a spiral." This ensures the changes look like natural human bone growth, not a glitchy video game error.

What Did They Find?

The team tested this on real medical scans (from patients with Multiple Sclerosis, where the skull shape is normal, but the brain has issues—so the skull data is safe to use).

  1. The AI was fooled: When they ran the "male" skulls through the system, the AI judges started seeing them as "female" with high confidence.
  2. Humans were fooled too: They showed the results to 11 human volunteers.
    • When shown real skulls, humans guessed the gender correctly about 81% of the time.
    • When shown the transformed skulls, humans guessed the new gender correctly about 63% of the time.
    • The Takeaway: The computer successfully changed the "vibe" of the face. Even though it only changed the front part of the face (forehead, chin, cheekbones), humans could clearly tell the difference.

Why Does This Matter?

  • For Surgeons: It moves surgery from "guessing" to "precision." Instead of saying, "I think I should shave 3mm off the forehead," the computer says, "Here is the exact 3D map of how the bone needs to move to achieve the desired look."
  • For Patients: It offers a clearer path to gender affirmation. It helps visualize the outcome before the surgery happens, reducing anxiety and improving results.
  • For Science: It proves that we can use "adversarial attacks" (usually used to trick AI) for something good: helping people feel more comfortable in their own bodies.

In a Nutshell

AutoFFS is a digital time machine for your face. It takes a skull, asks a team of AI experts what a female version of that skull would look like, and then gently reshapes the digital bone until it matches that vision. It turns a complex, subjective surgical planning process into a data-driven, objective science.