Open-Set Source Tracing as Compositional Factors via Structured Prototypes

Santiago Rubio, Antonio Almudévar, Antonio Miguel, Eduardo Lleida, Alfonso OrtegaarXiv 2026

TL;DR

Instead of treating audio deepfake generators as monolithic identities, this paper proposes breaking them down into their core compositional factors: generative architecture ("nature") and training data ("nurture"). By partitioning the embedding space into dedicated factor subspaces and using fixed orthonormal prototypes, the framework achieves remarkable few-shot generalization to entirely new combinations of architectures and datasets.

What Problem Does This Paper Address?

Traditional audio forensics focuses on binary anti-spoofing—simply determining whether a voice clip is real or fake. However, as generative models proliferate, forensic investigators increasingly need Source Tracing: identifying the specific AI model or architecture that generated a spoofed sample.

Current source tracing methods treat each generative model as a single, monolithic entity or focus exclusively on the model's architecture. This creates a major bottleneck for open-set attribution. If a known architecture (e.g., FastSpeech2) is trained on a completely new dataset, standard deep metric learning models struggle to identify it because architectural features and data-driven traits are deeply entangled.

The authors argue that a generative model is a product of both its "Nature" (its architectural inductive biases, $\mathcal{A}$) and its "Nurture" (the empirical distribution of its training data, $\mathcal{D}$), alongside a training residual ($\mathcal{H}$, such as hyperparameters and optimization seeds). To successfully trace fakes in the wild, forensic models must be able to generalize compositionally to novel pairings of these factors.

Fig. 1. Variability in synthetic speech attribution. A source S = (A, D, H) is read as a composition of an architecture factor (A, upper-right triangle), a training-data factor (D, lower-left triangle) and a residual (H, the grey band blurring their boundary); sources sharing a factor share the corresponding color, and the A/D boundary shifts from tile to tile as one factor dominates. Inter-source variability (across columns) is the attribution target, whereas inter-utterance variability (across rows: reference speaker or prompt, shown as a distinct per-row texture) and intra-utterance variability (within a row: phonetic content) constitute the intra-source nuisance to be compensated for attribution.

Methods

To disentangle these factors, the authors move away from standard learnable angular-margin losses (like ArcFace) and introduce a prototype-based framework with geometric constraints:

  1. Structured Orthonormal Prototypes (Strategy 1): Instead of letting cluster centers emerge spontaneously during training, the authors replace learnable weights with a fixed, frozen matrix of orthonormal prototypes. This enforces maximal geometric distance and separability between classes in the angular space.
  2. Subspace Partitioning (Strategy 2.A): The embedding space $\mathbb{R}^M$ is split into two independent, orthogonal subspaces: one for the architecture ($\mathcal{z}_A$) and one for the training data ($\mathcal{z}_D$). Composite prototypes are formed by concatenating these vectors ($\mathcal{p}_s = \mathcal{u}_a \oplus \mathcal{v}_d$). This allows the model to learn the marginal structure of architectures and datasets independently.
  3. Residual Modeling (Strategy 2.B): Real-world audio generation includes unlabeled variations, such as optimization stochasticity or inference-time variables (e.g., the reference speaker or prompt). The authors introduce a prototype-free residual subspace ($\mathcal{z}_R$) governed by an energy constraint. This subspace acts as a "catch-all" manifold, absorbing non-linear interactions and noise without disrupting the structured factor subspaces.
Overview of the proposed framework comparing Strategy 1 (Orthonormal Prototypes) and Strategy 2 (Subspace Partitioning with Residual Modeling).

Datasets

The framework was evaluated using two primary datasets:

  • MLAAD (Multi-language Audio Anti-spoofing Dataset): Used as the source for synthetic (spoof) speech. The authors utilized the original metadata to extract architecture and training data labels without re-annotation.
  • M-AILABS: Used as the bonafide (real) speech dataset. Because M-AILABS was originally used to train a significant portion of MLAAD's models, using it minimizes acoustic mismatch, forcing the network to focus on generative artifacts rather than recording environments.

To rigorously test out-of-distribution (OOD) generalization, the evaluation split included 43 completely unseen sources, spanning 24 unseen architectures and 10 unseen datasets.

Key Insights and Ideas

  • Monolithic Embeddings Limit Generalization: Standard metric learning collapses all source traits into a single vector. When faced with an "Unseen Combination" (a known architecture paired with a known dataset, but never seen together in training), monolithic models fail because they cannot treat the factors independently.
  • Asymmetric Generalization: The authors observed that architectural fingerprints act as significantly more robust anchors in the latent space than data-driven artifacts. Models generalized better to unseen datasets than to unseen architectures.
  • The Necessity of the Residual Subspace: Simply partitioning space into architecture and data isn't enough. Without the residual subspace ($\mathcal{z}_R$), utterance-level nuisances (like phonetic content or speaker identity) bleed into the factor subspaces, degrading performance.

Key Results

The models were evaluated on Few-Shot Open-Set Identification using the F1-Macro metric:

  • Baseline Comparison: The standard ArcFace baseline achieved a strong closed-set accuracy (95.11%) but suffered from a massive 13.70 percentage point (pp) generalization gap when moving to open-set scenarios.
  • Subspace Partitioning Performance: Strategy 2.B (Residual Modeling with $\lambda = 0.05$) delivered the best overall results. It significantly outperformed the baseline in open-set scenarios, reducing the generalization gap down to 9.19 pp and achieving the highest F1-Macro score across all few-shot support sizes ($K=1, 3, 5$).
  • Scenario Breakdown: As shown in the per-category breakdown, Strategy 2.B showed the most pronounced improvements in the toughest out-of-distribution settings, particularly when handling unseen architectures or entirely novel factor combinations.
F1-macro scores for few-shot source attribution with K=5 support examples across five generalization settings.

Limitations and Future Work

A primary limitation acknowledged by the authors is the handling of inference-time variables, such as the reference speaker or prompt text. Currently, these variables are treated as nuisances and are passively absorbed by the residual subspace $\mathcal{z}_R$.

In future work, the authors intend to explicitly model and compensate for these inference-time variables rather than just letting the residual manifold absorb them. Additionally, exploring how similarity comparisons within the isolated $\mathcal{z}_A$ and $\mathcal{z}_D$ subspaces can provide human-interpretable forensic explanations remains an open avenue for quantitative study.

Summary updated

BibTeX
@misc{rubio2026open,
  author = {Santiago Rubio and Antonio Almudévar and Antonio Miguel and Eduardo Lleida and Alfonso Ortega},
  title = {{Open-Set Source Tracing as Compositional Factors via Structured Prototypes}},
  year = {2026},
  eprint = {2607.03134},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.03134},
}
Figure