{"notes":[{"id":"face-antispoofing/ssan","category":"face-antispoofing","legacyPath":"face-antispoofing/2203-ssan","legacySlug":"2203-ssan","legacyPaths":[],"title":"SSAN","subtitle":"The Shadow of Style","author":"Z. Yuan","paperDate":"2022-03-10","publishedOn":"2025-04-30","paperTitle":"Domain Generalization via Shuffled Style Assembly for Face Anti-Spoofing","paperUrl":"https://arxiv.org/abs/2203.05340","bibliography":{"title":"Domain Generalization via Shuffled Style Assembly for Face Anti-Spoofing","authors":["Zhuo Wang","Zezheng Wang","Zitong Yu","Weihong Deng","Jiahong Li","Tingting Gao","Zhongyuan Wang"],"url":"https://arxiv.org/abs/2203.05340","pdfUrl":"https://arxiv.org/pdf/2203.05340","codeUrl":null,"preprint":{"id":"2203.05340","submittedOn":"2022-03-10","url":"https://arxiv.org/abs/2203.05340"},"publication":{"venue":"CVPR","year":2022,"kind":"conference","url":"https://arxiv.org/abs/2203.05340"},"citation":"@misc{faceantispoofingssan2022,\n  title = {{Domain Generalization via Shuffled Style Assembly for Face Anti-Spoofing}},\n  author = {Zhuo Wang and Zezheng Wang and Zitong Yu and Weihong Deng and Jiahong Li and Tingting Gao and Zhongyuan Wang},\n  year = {2022},\n  eprint = {2203.05340},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2203.05340}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/ssan.65b52ab509cf.bib"},"thumbnail":{"src":"/content/papers/assets/31e7f21274d546d558932f8110ce87e7599aa0e046f3fecdea4927eab53dc1cb.jpg","width":1372,"height":786},"locale":"en","path":"/content/papers/en/face-antispoofing/ssan.2e557af140cf.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"dual-stream-disentangling-of-content-and-style","text":"Dual-Stream Disentangling of Content and Style","depth":3},{"id":"style-reassembly-and-shuffling","text":"Style Reassembly and Shuffling","depth":3},{"id":"contrastive-learning-in-style","text":"Contrastive Learning in Style","depth":3},{"id":"overall-loss","text":"Overall Loss","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"comparison-with-other-methods","text":"Comparison with Other Methods","depth":3},{"id":"large-scale-testing","text":"Large-Scale Testing","depth":3},{"id":"feature-visualization","text":"Feature Visualization","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/ssdg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/sa-fas","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/iadg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"}]},{"id":"face-antispoofing/ssdg","category":"face-antispoofing","legacyPath":"face-antispoofing/2004-ssdg","legacySlug":"2004-ssdg","legacyPaths":[],"title":"SSDG","subtitle":"Stable Realness","author":"Z. Yuan","paperDate":"2020-04-29","publishedOn":"2025-04-18","paperTitle":"Single-Side Domain Generalization for Face Anti-Spoofing","paperUrl":"https://arxiv.org/abs/2004.14043","bibliography":{"title":"Single-Side Domain Generalization for Face Anti-Spoofing","authors":["Yunpei Jia","Jie Zhang","Shiguang Shan","Xilin Chen"],"url":"https://arxiv.org/abs/2004.14043","pdfUrl":"https://arxiv.org/pdf/2004.14043","codeUrl":null,"preprint":{"id":"2004.14043","submittedOn":"2020-04-29","url":"https://arxiv.org/abs/2004.14043"},"publication":{"venue":"CVPR","year":2020,"kind":"conference","url":"https://doi.org/10.1109/cvpr42600.2020.00851"},"citation":"@misc{faceantispoofingssdg2020,\n  title = {{Single-Side Domain Generalization for Face Anti-Spoofing}},\n  author = {Yunpei Jia and Jie Zhang and Shiguang Shan and Xilin Chen},\n  year = {2020},\n  eprint = {2004.14043},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2004.14043}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/ssdg.18ad604217a9.bib"},"thumbnail":{"src":"/content/papers/assets/3ec4bd961265b910a76f4573bbeb850168d7c706501e6f4a51e8c02a71c72b26.jpg","width":1490,"height":756},"locale":"en","path":"/content/papers/en/face-antispoofing/ssdg.03326184e995.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"single-side-adversarial-learning","text":"Single-Side Adversarial Learning","depth":3},{"id":"asymmetric-triplet-loss","text":"Asymmetric Triplet Loss","depth":3},{"id":"feature-and-weight-normalization","text":"Feature and Weight Normalization","depth":3},{"id":"additional-supplement","text":"Additional Supplement","depth":2},{"id":"discussion","text":"Discussion","depth":2},{"id":"dataset-testing-setup","text":"Dataset Testing Setup","depth":3},{"id":"comparison-with-other-methods","text":"Comparison with Other Methods","depth":3},{"id":"ablation-experiment","text":"Ablation Experiment","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/ssan","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/sa-fas","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/iadg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"}]},{"id":"face-antispoofing/sa-fas","category":"face-antispoofing","legacyPath":"face-antispoofing/2303-sa-fas","legacySlug":"2303-sa-fas","legacyPaths":[],"title":"SA-FAS","subtitle":"The Law of the Hyperplane","author":"Z. Yuan","paperDate":"2023-03-23","publishedOn":"2025-04-18","paperTitle":"Rethinking Domain Generalization for Face Anti-spoofing: Separability and Alignment","paperUrl":"https://arxiv.org/abs/2303.13662","bibliography":{"title":"Rethinking Domain Generalization for Face Anti-spoofing: Separability and Alignment","authors":["Yiyou Sun","Yaojie Liu","Xiaoming Liu","Yixuan Li","Wen-Sheng Chu"],"url":"https://arxiv.org/abs/2303.13662","pdfUrl":"https://arxiv.org/pdf/2303.13662","codeUrl":null,"preprint":{"id":"2303.13662","submittedOn":"2023-03-23","url":"https://arxiv.org/abs/2303.13662"},"publication":{"venue":"CVPR","year":2023,"kind":"conference","url":"https://arxiv.org/abs/2303.13662"},"citation":"@misc{faceantispoofingsafas2023,\n  title = {{Rethinking Domain Generalization for Face Anti-spoofing: Separability and Alignment}},\n  author = {Yiyou Sun and Yaojie Liu and Xiaoming Liu and Yixuan Li and Wen-Sheng Chu},\n  year = {2023},\n  eprint = {2303.13662},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2303.13662}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/sa-fas.a0e5f70569ad.bib"},"thumbnail":{"src":"/content/papers/assets/c5d5b32f66a70c73d21f58ebcfc0fdc186c0dac32b554fd61aa098f945fa6536.jpg","width":1518,"height":394},"locale":"en","path":"/content/papers/en/face-antispoofing/sa-fas.77a3a739b355.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"separability","text":"Separability","depth":3},{"id":"alignment","text":"Alignment","depth":3},{"id":"projected-gradient-irm-pg-irm","text":"Projected Gradient IRM (PG-IRM)","depth":3},{"id":"α-adjacency-is-the-key","text":"α-adjacency is the Key","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"comparison-with-other-methods","text":"Comparison with Other Methods","depth":3},{"id":"evaluation-metric-analysis","text":"Evaluation Metric Analysis","depth":3},{"id":"feature-distribution","text":"Feature Distribution","depth":3},{"id":"comparison-with-dann-and-ssdg","text":"Comparison with DANN and SSDG","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/ssdg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/ssan","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/iadg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"}]},{"id":"face-antispoofing/iadg","category":"face-antispoofing","legacyPath":"face-antispoofing/2304-iadg","legacySlug":"2304-iadg","legacyPaths":[],"title":"IADG","subtitle":"A Monologue of Styles","author":"Z. Yuan","paperDate":"2023-04-12","publishedOn":"2025-05-06","paperTitle":"Instance-Aware Domain Generalization for Face Anti-Spoofing","paperUrl":"https://arxiv.org/abs/2304.05640","bibliography":{"title":"Instance-Aware Domain Generalization for Face Anti-Spoofing","authors":["Qianyu Zhou","Ke-Yue Zhang","Taiping Yao","Xuequan Lu","Ran Yi","Shouhong Ding","Lizhuang Ma"],"url":"https://arxiv.org/abs/2304.05640","pdfUrl":"https://arxiv.org/pdf/2304.05640","codeUrl":null,"preprint":{"id":"2304.05640","submittedOn":"2023-04-12","url":"https://arxiv.org/abs/2304.05640"},"publication":{"venue":"CVPR","year":2023,"kind":"conference","url":"https://arxiv.org/abs/2304.05640"},"citation":"@misc{faceantispoofingiadg2023,\n  title = {{Instance-Aware Domain Generalization for Face Anti-Spoofing}},\n  author = {Qianyu Zhou and Ke-Yue Zhang and Taiping Yao and Xuequan Lu and Ran Yi and Shouhong Ding and Lizhuang Ma},\n  year = {2023},\n  eprint = {2304.05640},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2304.05640}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/iadg.b4743b4893ce.bib"},"thumbnail":{"src":"/content/papers/assets/502e6feaa5147fdd4a87418e8d09a327b4d060b7d3e2881dba2bca5e518d4857.jpg","width":1778,"height":580},"locale":"en","path":"/content/papers/en/face-antispoofing/iadg.64fb7646eb41.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"dynamic-kernel-generator","text":"Dynamic Kernel Generator","depth":3},{"id":"categorical-style-assembly","text":"Categorical Style Assembly","depth":3},{"id":"asymmetric-instance-adaptive-whitening","text":"Asymmetric Instance Adaptive Whitening","depth":3},{"id":"overall-training-and-optimization","text":"Overall Training and Optimization","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"comparison-with-existing-methods","text":"Comparison with Existing Methods","depth":3},{"id":"ablation-experiments","text":"Ablation Experiments","depth":3},{"id":"visualization-analysis","text":"Visualization Analysis","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/ssdg","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/ssan","relation":"comparison","topic":"Domain generalization for face anti-spoofing"},{"id":"face-antispoofing/sa-fas","relation":"comparison","topic":"Domain generalization for face anti-spoofing"}]}],"text":"Let’s take a look at a famous paper.\n\nThis paper introduces the concept of \"style,\" combining it with contrastive learning to emphasize live-related cues. This marks an important breakthrough in style-aware Domain Generalization (DG) design.\n\n## Defining the Problem\n\nFace Anti-Spoofing (FAS) has always been in an invisible battle.\n\nTraditional FAS methods rely on handcrafted features, such as LBP and SIFT, to extract texture details from images. In the deep learning era, CNN-based methods have been used to train binary classifiers for distinguishing between live and spoofed faces, incorporating various auxiliary information such as depth maps, reflection maps, and rPPG signals to enrich the recognition cues.\n\nHowever, even though these methods are stable, they often only perform well under \"laboratory conditions.\"\n\nOnce we step out of the boundaries of the original training data, performance drops significantly, especially when faced with different devices, lighting conditions, or spoofing techniques. The model's predictions start to fluctuate and may even result in severe misclassifications.\n\nThis phenomenon is known as the **Cross-Domain Generalization** dilemma, which stems primarily from the following three points:\n\n- **Data Bias**: Training data has a narrow coverage, unable to encompass all potential variations;\n- **Feature Overfitting**: The model learns surface patterns from a particular domain rather than the essence of liveness;\n- **Insufficient Model Generalization Design**: Most models still follow traditional CNN processes, neglecting subtle differences between samples.\n\nTo improve generalization capability, researchers have invested considerable effort into **Domain Adaptation (DA)** and **Domain Generalization (DG)**:\n\n- DA normally uses target-domain data during training or adaptation. MMD and adversarial alignment are possible tools, but also appear in DG; access to target data is the key distinction.\n- DG aims to learn generalizable representations without involving target data, using strategies like feature disentangling and meta-learning.\n\nWhile these methods have indeed improved model stability under certain settings, they also reveal a deeper issue:\n\n> **Our understanding of \"what constitutes a key feature\" is still incomplete.**\n\nFAS can be formulated as image classification, but useful signals often reside in texture and reflection details. Video can also carry pulse information; this single-image RGB method does not directly estimate rPPG.\n\nHere, **Normalization Layers** become a key observation:\n\n- **Batch Normalization (BN)** focuses on global statistics across samples, reinforcing semantic consistency;\n- **Instance Normalization (IN)**, on the other hand, focuses on individual samples, capturing unique patterns and style representations.\n\nBN computes channel statistics over mini-batch and spatial dimensions; IN normalizes spatially within each image and channel. Content and style are architectural roles here, not guarantees that BN intrinsically isolates semantics or IN directly outputs style.\n\nThe authors move a prior generate-then-train style-transfer pipeline into feature space, enabling end-to-end learning without separately producing augmented images.\n\nIn other words, in the absence of a unified perspective, multi-domain validation, and semantic distinction, we are still in the exploratory phase of \"how to make the model learn to ignore unimportant style features and focus on the essence of liveness.\"\n\nThe authors of this paper try to address this core gap:\n\n> **We already know that style can mislead the model, so is it possible to reverse the approach and make style the key to uncovering spoofing?**\n\nThe problem of cross-domain generalization is not over, but the issue of style analysis has already quickly emerged.\n\nAs one wave settles, another rises.\n\n## Solving the Problem\n\n\n\n![model_arch](/content/papers/assets/31e7f21274d546d558932f8110ce87e7599aa0e046f3fecdea4927eab53dc1cb.jpg)\n\n\n\nThe authors train on several labeled source domains, aiming to recognize live faces in a domain excluded from training while recombining styles in feature space.\n\nThe proposed Shuffled Style Assembly Network (SSAN) combines content-domain adversarial learning, style assembly, and contrastive learning in a cross-domain FAS framework.\n\nThe core architecture is shown in the figure above, and we can break the entire process down into three stages:\n\n1. **Feature Disentangling**: Decompose the image into content and style\n2. **Style Reassembly**: Use AdaIN to self-organize and shuffle combinations\n3. **Contrastive Learning**: Compare style semantics with liveness labels to adjust the spatial structure\n\n### Dual-Stream Disentangling of Content and Style\n\nThe input image first enters the Feature Generator, which extracts low-level semantic and texture information, then feeds it into two branches for further processing:\n\n- The **Content Stream** uses Batch Normalization (BN) to extract global semantics and applies a Gradient Reversal Layer (GRL) for adversarial learning, forcing the model to learn domain-invariant representations.\n\n  The objective function for adversarial learning is:\n\n  $$\n  \\min_D \\max_G \\mathcal{L}_{adv}(G, D) = -\\mathbb{E}_{(x, y) \\sim (X, Y_D)} \\sum_{i=1}^{M} \\mathbf{1}_{[i = y]} \\log D(G(x))\n  $$\n\n  - $G$: Content feature generator\n  - $D$: Domain discriminator\n  - $Y_D$: Set of domain labels for the data\n  - GRL reverses gradients, making $G$ learn domain-invariant semantic representations.\n\n- The **Style Stream**, based on Instance Normalization (IN), extracts style statistics from multi-level feature maps, including brightness, texture, and other style factors. These will play a crucial role in the subsequent reassembly phase.\n\n### Style Reassembly and Shuffling\n\nOnce the content feature $f_c$ and style feature $f_s$ are obtained, the model performs style reassembly through the **Style Assembly Layer (SAL)**.\n\nThe core of SAL comes from Adaptive Instance Normalization (AdaIN):\n\n$$\n\\text{AdaIN}(x, \\gamma, \\beta) = \\gamma \\cdot \\frac{x - \\mu(x)}{\\sigma(x)} + \\beta\n$$\n\nHere, $\\mu(x)$ and $\\sigma(x)$ are the channel statistics, and $\\gamma, \\beta$ are parameters generated from the style input $f_s$ through an MLP.\n\nThe overall SAL operation is as follows:\n\n$$\n\\begin{align*}\n\\gamma, \\beta &= \\text{MLP}[\\text{GAP}(f_s)] \\\\\nz &= \\text{ReLU}[\\text{AdaIN}(K_1 \\otimes f_c, \\gamma, \\beta)] \\\\\n\\text{SAL}(f_c, f_s) &= \\text{AdaIN}(K_2 \\otimes z, \\gamma, \\beta) + f_c\n\\end{align*}\n$$\n\nHere, $K_1, K_2$ are 3×3 convolution kernels, and the final output is added to the original content residual, preserving the semantic backbone while introducing the style tonalities.\n\nTo introduce variability, SSAN designs two combination strategies:\n\n- **Self-Assembly**:\n\n  $$\n  S(x_i, x_i) = \\text{SAL}(f_c(x_i), f_s(x_i))\n  $$\n\n  Combine the content and style from the same sample to create anchor features.\n\n- **Shuffle-Assembly**:\n\n  $$\n  S(x_i, x_{i^*}) = \\text{SAL}(f_c(x_i), f_s(x_{i^*})), \\quad i^* \\in \\text{random}\\{1,\\dots,N\\}\n  $$\n\n  The style comes from another randomly shuffled sample while the content remains from $x_i$, adding variation from the mixed source domains. The paper describes the random operation as a uniformly chosen permutation; a particular pairing is not guaranteed to cross domains.\n\n### Contrastive Learning in Style\n\n\n\n![contrastive_learning](/content/papers/assets/21778594ff8420cbecd69cbc4d38fe81efba777614b9949ddf81b1db2b5138ac.jpg)\n\n\n\nAs shown in the figure above, SSAN incorporates a contrastive learning mechanism, allowing the model to learn to distinguish in the style space:\n\n- Which style variations are irrelevant to liveness (should be ignored)\n- Which style differences contain attack features (should be reinforced)\n\nSpecifically:\n\n- The **self-assembled feature** $a = S(x_i, x_i)$ is the anchor. Stop-gradient fixes its position for this contrastive-loss calculation; classification loss and later parameter updates can still change the feature.\n- The **shuffled features** $b = S(x_i, x_i^*)$ are used as contrastive samples. Based on whether their labels match, the cosine similarity loss is calculated:\n\n$$\n\\text{Sim}(a, b) = -\\frac{a}{\\|a\\|_2} \\cdot \\frac{b}{\\|b\\|_2}\n$$\n\nThe contrastive loss is then further defined as:\n\n$$\n\\mathcal{L}_{contra} = \\sum_{i=1}^N \\text{Eq}(x_i, x_i^*) \\cdot \\text{Sim}(\\text{stopgrad}(a), b)\n$$\n\nWhere:\n\n$$\n\\text{Eq}(x_i, x_i^*) =\n\\begin{cases}\n+1, & \\text{label}(x_i) == \\text{label}(x_i^*) \\\\\n-1, & \\text{otherwise}\n\\end{cases}\n$$\n\nThis loss draws shuffled assemblies with the same live/spoof label toward the self-assembled anchor and pushes those with different labels away. It uses labels from the source domains.\n\n### Overall Loss\n\nThe final training loss for SSAN is integrated as follows:\n\n$$\n\\mathcal{L}_{overall} = \\mathcal{L}_{cls} + \\lambda_1 \\cdot \\mathcal{L}_{adv} + \\lambda_2 \\cdot \\mathcal{L}_{contra}\n$$\n\nThe three losses correspond to:\n\n- **Classification accuracy**\n- **Content semantic adversarial alignment**\n- **Style space semantic separation**\n\nClassification, domain adversarial, and contrastive losses constrain live/spoof prediction, content features, and the assembled features, respectively. Their effects still need to be checked through ablation.\n\nAt inference, classification uses the input image's self-assembled content and style features. SSAN-M scores by the mean predicted depth map; SSAN-R uses the sigmoid output for the live class.\n\n## Discussion\n\n### Comparison with Other Methods\n\n\n\n![ocim_test](/content/papers/assets/0a065257b7b42a81ee3a468ba5b059acb721c7e5d3727a33e0dfd3d1068e58b9.jpg)\n\n\n\nAs is customary, this paper also uses the OCIM test to validate the model’s cross-domain generalization ability.\n\nThe test uses four datasets: OULU-NPU (O), CASIA-MFSD (C), Replay-Attack (I), and MSU-MFSD (M) for Leave-One-Out cross-validation. The specific strategy is to select three datasets for training and leave one for testing, performing four rounds of testing.\n\nFrom the table, we can observe:\n\n- SSAN-M's HTER on the first three splits is 10.42%, 16.47%, and 14.00%; on I&C&M → O it is 19.51%, higher than NAS-FAS's 13.80%;\n- In some protocols it outperforms earlier methods such as SSDG and CDCN;\n- SSAN-M's rank varies across the four settings.\n\nThe authors also report that SSAN-R, with a ResNet-18 backbone, beats SSDG-R on HTER and AUC in all four splits. This is a comparison under similar backbones.\n\n### Large-Scale Testing\n\nThe authors combined **twelve public datasets** to construct training and testing data, creating a large-scale learning and inference scenario. The datasets used vary in format (images and videos) and cover various attack types. The detailed configurations are shown in the table below:\n\n\n\n![dataset](/content/papers/assets/2a2428bbea93360cadbd2ee7a70cb8f29966268ab7139bc336cefa72b421040e.jpg)\n\n\n\nThis benchmark defines two test scenarios:\n\n- **Protocol 1: Intra-Dataset Evaluation**\n\n  - All twelve datasets contribute training and test data, evaluated using their respective splits.\n  - Primarily used to simulate model learning ability when data volume is sufficient.\n\n- **Protocol 2: Cross-Dataset Evaluation**\n\n  - The datasets are split into two groups:\n    - P1: \\{D3, D4, D5, D10, D11, D12\\}\n    - P2: \\{D1, D2, D6, D7, D8, D9\\}\n  - Sub-protocols are as follows:\n    - Protocol 2-1: Train on P1, test on P2\n    - Protocol 2-2: Train on P2, test on P1\n\n  Compared to Protocol 1, this setting includes more unseen attacks and scenarios, making it more challenging and closer to real-world application risks.\n\n---\n\nBased on the above settings, the experimental results are as follows:\n\n\n\n![real_world_test](/content/papers/assets/c329107a2c803a65f74d301bd7d8c6d23ff82557bc53b2506dbba3a01e763d30.jpg)\n\n\n\nThe authors train the compared methods using their listed default settings. At evaluation, they pool all live test samples as negatives and use some attack samples from the current dataset as positives. They calculate true-positive rate (TPR) at specified false-positive rates (FPR); the table reports the mean and variation across datasets.\n\nFrom the results, we can observe that:\n\n- **SSAN-R has the highest mean TPR at all three FPR thresholds in each of the three protocols shown.** The table has no model-size or latency measurements;\n- Some methods that previously performed well in academic benchmarks showed significant degradation in the large-scale, multi-dataset tests;\n- Model rankings change with the protocol and dataset mix. This merged dataset is still an offline evaluation.\n\nThe authors stress the need to assess real-world reliability separately from academic performance.\n\nThese experiments support higher average TPR for SSAN-R in the tested large-scale protocols. The standard deviations in the table are still wide.\n\n### Feature Visualization\n\n![feature_visualization](/content/papers/assets/7ab32c6121244bf03ed9b0b0666849099485cbc9afd8155caefb8b499c400bc1.jpg)\n\nTo further observe the feature space structure learned by SSAN, the authors use t-SNE to visualize three types of features, corresponding to the three projection maps in the figure above:\n\n- **Content Features: Consistency of Cross-Domain Semantics**\n\n  Although they come from different datasets and include live and attack samples, the content features appear more compact and points from different sources mix in this t-SNE projection, consistent with the domain-adversarial design.\n\n\n\n---\n\n- **Style Features: Semantic Boundaries of Style Information**\n\n  The style features show a rough live/spoof boundary in the t-SNE plot. The style branch has no separate classification loss, but receives label-related supervision through the full network. This figure cannot identify whether material, lighting, or reflection produces the boundary.\n\n  The picture is consistent with the goal of using contrastive learning to emphasize live/spoof information, but a single projection cannot isolate the contrastive loss's contribution.\n\n---\n\n- **Stylized Features: The Classification Space of Semantics and Style**\n\n  Once content and style features are assembled, the stylized features show some live/spoof separation in the projection, along with remaining overlap. Target-domain samples are included, but the projection alone cannot quantify generalization.\n\n  Generalization needs to be judged with the preceding HTER, AUC, and TPR@FPR results; these points do not explain individual predictions.\n\n---\n\nTogether, these plots illustrate differences among content, style, and assembled features under one protocol. They help explain the design; complete disentanglement or stability across other domains needs further evidence.\n\n## Conclusion\n\nSSAN proposes more than an architecture name. It offers a clear design idea: treat \"style\" as information that can be manipulated, learned, and even transformed.\n\nThis was uncommon in FAS papers at the time. Many designs still focused on aligning domains and smoothing away variation, rather than drawing useful liveness signals out of style.\n\nSSAN turns that approach around:\n\n- It distinguishes content from style and supports that distinction with an architecture;\n- It uses Instance Normalization for style extraction alongside Batch Normalization for steadier content features;\n- It builds a training process around style assembly and contrastive learning, using style differences to adjust the learned representation;\n- It uses a stop-gradient anchor to control the contrastive gradient path. This does not permanently freeze the feature space.\n\nThe design may look like a stack of techniques, but it has a consistent logic: to selectively tame style rather than erase it.\n\nMore complex approaches to style control and distribution adaptation have since appeared. The design philosophy of this paper still deserves another reading.\n","imageSizes":{"/content/papers/assets/31e7f21274d546d558932f8110ce87e7599aa0e046f3fecdea4927eab53dc1cb.jpg":{"width":1372,"height":786},"/content/papers/assets/21778594ff8420cbecd69cbc4d38fe81efba777614b9949ddf81b1db2b5138ac.jpg":{"width":980,"height":388},"/content/papers/assets/0a065257b7b42a81ee3a468ba5b059acb721c7e5d3727a33e0dfd3d1068e58b9.jpg":{"width":1462,"height":530},"/content/papers/assets/2a2428bbea93360cadbd2ee7a70cb8f29966268ab7139bc336cefa72b421040e.jpg":{"width":1180,"height":364},"/content/papers/assets/c329107a2c803a65f74d301bd7d8c6d23ff82557bc53b2506dbba3a01e763d30.jpg":{"width":1152,"height":828},"/content/papers/assets/7ab32c6121244bf03ed9b0b0666849099485cbc9afd8155caefb8b499c400bc1.jpg":{"width":1890,"height":458}}}
