{"notes":[{"id":"face-antispoofing/m2a2e","category":"face-antispoofing","legacyPath":"face-antispoofing/2302-m2a2e","legacySlug":"2302-m2a2e","legacyPaths":[],"title":"M²A²E","subtitle":"Drawing Parallels","author":"Z. Yuan","paperDate":"2023-02-11","publishedOn":"2025-04-21","paperTitle":"Rethinking Vision Transformer and Masked Autoencoder in Multimodal Face Anti-Spoofing","paperUrl":"https://arxiv.org/abs/2302.05744","bibliography":{"title":"Rethinking Vision Transformer and Masked Autoencoder in Multimodal Face Anti-Spoofing","authors":["Zitong Yu","Rizhao Cai","Yawen Cui","Xin Liu","Yongjian Hu","Alex Kot"],"url":"https://arxiv.org/abs/2302.05744","pdfUrl":"https://arxiv.org/pdf/2302.05744","codeUrl":null,"preprint":{"id":"2302.05744","submittedOn":"2023-02-11","url":"https://arxiv.org/abs/2302.05744"},"publication":{"venue":"International Journal of Computer Vision","shortVenue":"IJCV","year":2024,"kind":"journal","url":"https://doi.org/10.1007/s11263-024-02055-1"},"citation":"@misc{faceantispoofingm2a2e2023,\n  title = {{Rethinking Vision Transformer and Masked Autoencoder in Multimodal Face Anti-Spoofing}},\n  author = {Zitong Yu and Rizhao Cai and Yawen Cui and Xin Liu and Yongjian Hu and Alex Kot},\n  year = {2023},\n  eprint = {2302.05744},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2302.05744}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/m2a2e.115f4e5c32cb.bib"},"thumbnail":{"src":"/content/papers/assets/9619d6d3a5bb29167c9c71454936585be4ea12d8a015d05bb251f8c48bbb1c80.jpg","width":1356,"height":618},"locale":"en","path":"/content/papers/en/face-antispoofing/m2a2e.0eab8e67fd69.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"input-data","text":"Input Data","depth":3},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"pretraining-method","text":"Pretraining Method","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"experimental-results","text":"Experimental Results","depth":3},{"id":"are-local-descriptors-useful","text":"Are Local Descriptors Useful?","depth":3},{"id":"is-ama-just-about-more-parameters","text":"Is AMA Just About More Parameters?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/wmca","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/cefa","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/ma-vit","relation":"comparison","topic":"Combining modalities for face anti-spoofing"}]},{"id":"face-antispoofing/wmca","category":"face-antispoofing","legacyPath":"face-antispoofing/1909-wmca","legacySlug":"1909-wmca","legacyPaths":[],"title":"WMCA","subtitle":"The Invisible Face","author":"Z. Yuan","paperDate":"2019-09-19","publishedOn":"2025-04-06","paperTitle":"Biometric Face Presentation Attack Detection with Multi-Channel Convolutional Neural Network","paperUrl":"https://arxiv.org/abs/1909.08848","bibliography":{"title":"Biometric Face Presentation Attack Detection with Multi-Channel Convolutional Neural Network","authors":["Anjith George","Zohreh Mostaani","David Geissenbuhler","Olegs Nikisins","Andre Anjos","Sebastien Marcel"],"url":"https://arxiv.org/abs/1909.08848","pdfUrl":"https://arxiv.org/pdf/1909.08848","codeUrl":null,"preprint":{"id":"1909.08848","submittedOn":"2019-09-19","url":"https://arxiv.org/abs/1909.08848"},"publication":{"venue":"IEEE Transactions on Information Forensics and Security","shortVenue":"IEEE TIFS","year":2020,"kind":"journal","url":"https://doi.org/10.1109/tifs.2019.2916652"},"citation":"@misc{faceantispoofingwmca2019,\n  title = {{Biometric Face Presentation Attack Detection with Multi-Channel Convolutional Neural Network}},\n  author = {Anjith George and Zohreh Mostaani and David Geissenbuhler and Olegs Nikisins and Andre Anjos and Sebastien Marcel},\n  year = {2019},\n  eprint = {1909.08848},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1909.08848}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/wmca.2be5e48c6045.bib"},"thumbnail":{"src":"/content/papers/assets/6a22d2732a0bf90de9c8e061ea41bd85cca8ae536dc0d4469ffc4195721595ac.jpg","width":1546,"height":520},"locale":"en","path":"/content/papers/en/face-antispoofing/wmca.3e270b1fe3ab.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"wmca-dataset","text":"WMCA Dataset","depth":3},{"id":"seven-types-of-attacks","text":"Seven Types of Attacks","depth":3},{"id":"evaluation-protocol-and-experimental-setup","text":"Evaluation Protocol and Experimental Setup","depth":3},{"id":"evaluation-metrics","text":"Evaluation Metrics","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"baseline-system-performance-in-grandtest","text":"Baseline System Performance in Grandtest","depth":3},{"id":"mc-cnn-vs-best-baseline-grandtest","text":"MC-CNN vs Best Baseline (Grandtest)","depth":3},{"id":"recognition-performance-in-unseen-attack-scenarios","text":"Recognition Performance in Unseen Attack Scenarios","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/cefa","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/m2a2e","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/ma-vit","relation":"comparison","topic":"Combining modalities for face anti-spoofing"}]},{"id":"face-antispoofing/cefa","category":"face-antispoofing","legacyPath":"face-antispoofing/2003-cefa","legacySlug":"2003-cefa","legacyPaths":[],"title":"CeFA","subtitle":"Discrimination in Models","author":"Z. Yuan","paperDate":"2020-03-11","publishedOn":"2025-04-10","paperTitle":"CASIA-SURF CeFA: A Benchmark for Multi-modal Cross-ethnicity Face Anti-spoofing","paperUrl":"https://arxiv.org/abs/2003.05136","bibliography":{"title":"CASIA-SURF CeFA: A Benchmark for Multi-modal Cross-ethnicity Face Anti-spoofing","authors":["Ajian Li","Zichang Tan","Xuan Li","Jun Wan","Sergio Escalera","Guodong Guo","Stan Z. Li"],"url":"https://arxiv.org/abs/2003.05136","pdfUrl":"https://arxiv.org/pdf/2003.05136","codeUrl":null,"preprint":{"id":"2003.05136","submittedOn":"2020-03-11","url":"https://arxiv.org/abs/2003.05136"},"publication":{"venue":"WACV","year":2021,"kind":"conference","url":"https://doi.org/10.1109/wacv48630.2021.00122"},"citation":"@misc{faceantispoofingcefa2020,\n  title = {{CASIA-SURF CeFA: A Benchmark for Multi-modal Cross-ethnicity Face Anti-spoofing}},\n  author = {Ajian Li and Zichang Tan and Xuan Li and Jun Wan and Sergio Escalera and Guodong Guo and Stan Z. Li},\n  year = {2020},\n  eprint = {2003.05136},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2003.05136}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/cefa.c9752b9da1c4.bib"},"thumbnail":{"src":"/content/papers/assets/eca0e1257dd94e04e17927066ccfe614257c81c922291a1caf4b16af71b00674.jpg","width":1610,"height":518},"locale":"en","path":"/content/papers/en/face-antispoofing/cefa.39662b97f674.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"cefa-dataset","text":"CeFA Dataset","depth":3},{"id":"evaluation-protocols","text":"Evaluation Protocols","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":2},{"id":"sd-net","text":"SD-Net","depth":3},{"id":"psmm-net","text":"PSMM-Net","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"model-bias-analysis-under-ethnic-diversity","text":"Model Bias Analysis Under Ethnic Diversity","depth":3},{"id":"baseline-model-evaluation-results","text":"Baseline Model Evaluation Results","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/wmca","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/m2a2e","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/ma-vit","relation":"comparison","topic":"Combining modalities for face anti-spoofing"}]},{"id":"face-antispoofing/ma-vit","category":"face-antispoofing","legacyPath":"face-antispoofing/2304-ma-vit","legacySlug":"2304-ma-vit","legacyPaths":[],"title":"MA-ViT","subtitle":"All appearances Are Illusions","author":"Z. Yuan","paperDate":"2023-04-15","publishedOn":"2025-04-22","paperTitle":"MA-ViT: Modality-Agnostic Vision Transformers for Face Anti-Spoofing","paperUrl":"https://arxiv.org/abs/2304.07549","bibliography":{"title":"MA-ViT: Modality-Agnostic Vision Transformers for Face Anti-Spoofing","authors":["Ajian Liu","Yanyan Liang"],"url":"https://arxiv.org/abs/2304.07549","pdfUrl":"https://arxiv.org/pdf/2304.07549","codeUrl":null,"preprint":{"id":"2304.07549","submittedOn":"2023-04-15","url":"https://arxiv.org/abs/2304.07549"},"publication":{"venue":"IJCAI","year":2022,"kind":"conference","url":"https://doi.org/10.24963/ijcai.2022/165"},"citation":"@misc{faceantispoofingmavit2023,\n  title = {{MA-ViT: Modality-Agnostic Vision Transformers for Face Anti-Spoofing}},\n  author = {Ajian Liu and Yanyan Liang},\n  year = {2023},\n  eprint = {2304.07549},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2304.07549}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/ma-vit.711c8467c8cf.bib"},"thumbnail":{"src":"/content/papers/assets/fa2c4fe1cdf1e8f7327fee30b6b425b11a82d76e65a57747acd14f16a9d3bead.jpg","width":1758,"height":460},"locale":"en","path":"/content/papers/en/face-antispoofing/ma-vit.f015ab2c6ad7.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"loss-design","text":"Loss Design","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"fixed-modality-scenario","text":"Fixed Modality Scenario","depth":3},{"id":"cross-dataset-generalization-ability","text":"Cross-Dataset Generalization Ability","depth":3},{"id":"flexible-modality-scenario","text":"Flexible Modality Scenario","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/wmca","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/cefa","relation":"comparison","topic":"Combining modalities for face anti-spoofing"},{"id":"face-antispoofing/m2a2e","relation":"comparison","topic":"Combining modalities for face anti-spoofing"}]}],"text":"As we’ve reviewed various papers, we know that face recognition is a system that’s often compromised.\n\nFace recognition can be accurate and convenient, yet the camera still leaves us with an old question: **is the face on screen a person, or a photograph?**\n\n## Defining the Problem\n\nOver the past decade, from LBP to CNN, from single-modality RGB to multimodal fusion (such as RGB, IR, Depth), we have built a comprehensive system to detect spoofed faces. However, whether using handcrafted features or deep learning models, they still fail when faced with “new types of attacks” or “unseen scenarios,” mainly due to issues with generalization.\n\nTo address this problem, multimodal approaches have emerged as one solution.\n\nAfter all, in high-risk scenarios (such as facial payments or vault access control), relying solely on an RGB image is too limited. IR, depth information, and even thermal imaging can provide additional live detection cues from different dimensions.\n\nBut then the problem arises.\n\nWith the advent of Vision Transformer (ViT), everyone wants to apply it to Face Anti-Spoofing (FAS). The reason is simple:\n\n- **ViT’s long-range modeling capability and cross-modality scalability seem to complement the blind spots of CNN.**\n\nAs a result, some people directly fine-tune it, while others add modules to enhance its cross-modality capabilities, and the results seem promising.\n\nBut, do we really understand its essence?\n\n- **Is ViT really suited for such multimodal tasks?**\n- **Why does the pretraining, which performed remarkably on ImageNet, seem to struggle here?**\n- **If we did not use ImageNet and trained our own ViT, how could we keep it from overfitting?**\n- **Does ViT capture the subtle differences between modalities?**\n\nThe authors’ question is not just about optimizing a model training strategy, but they went back to the fundamentals and asked a more basic question:\n\n> **Do we truly know how to use ViT to solve FAS?**\n\n## Solving the Problem\n\nAfter understanding the essence of the issue, the authors proposed solutions for three key aspects of ViT in multimodal FAS: **input data format, fine-tuning strategy, and pretraining method**.\n\nLet’s look at each one.\n\n### Input Data\n\nViT is good at modeling global relationships, but its local inductive bias is weaker than a CNN's. The subtle local details may need a little help.\n\nIn FAS tasks, the key factors that distinguish real from fake faces often lie in subtle edge textures or high-frequency details. This is where CNN’s ability to capture “small details” becomes especially important.\n\nTherefore, the authors revisited three classic local feature descriptors to fill ViT’s blind spots:\n\n- **LBP (Local Binary Pattern)**\n\n  Neighbor-to-center intensity comparisons form binary codes. Under ideal conditions, monotonic grayscale transforms preserving pixel ordering leave the code unchanged, but arbitrary shadows, exposure changes, and noise need not.\n\n  The formula is as follows:\n\n  $$\n  \\text{LBP} = \\sum_{i=1}^{p} F(I_i - I_c) \\cdot 2^{i-1}, \\quad F(I) = \\begin{cases}\n  1 & I \\ge 0 \\\\\n  0 & \\text{otherwise}\n  \\end{cases}\n  $$\n\n- **HOG (Histogram of Oriented Gradients)**\n\n  This method captures the edge direction distribution and expresses image structure through gradient histograms, offering tolerance to geometric and lighting variations.\n\n- **PLGF (Pattern of Local Gravitational Force)**\n\n  This lesser-known method is inspired by the law of universal gravitation. It strengthens edge and contour information by using local gravitational force distribution, making it especially effective against noise and lighting variations. The formula is as follows:\n\n  $$\n  \\text{PLGF} = \\arctan\\left( \\sqrt{ \\left(\\frac{I * M_x}{I} \\right)^2 + \\left(\\frac{I * M_y}{I} \\right)^2 } \\right)\n  $$\n\n  $M_x,M_y$ are directional filter masks, and $*$ denotes convolution. Division and squaring are elementwise: the numerator is not ordinary multiplication, so $I$ cannot simply be canceled. Implementations also need to handle zero-intensity pixels.\n\nThe specific pattern is shown below:\n\n\n\n![input](/content/papers/assets/24a0b61f93cdf5d27b154883ca674331ad9b77ea34789bdfe490d6fc50bed5b8.jpg)\n\n\n\nWe can see the visual effects of these three features: from the dot matrix texture of LBP, the direction distribution of HOG, to the contour reconstruction of PLGF, each providing a different perspective to reinforce the original modality data.\n\nThe authors also tried to combine these features (e.g., GRAY + HOG + PLGF) and use them as three-channel inputs for ViT. Feeding handcrafted cues into a learned ViT representation proved particularly useful for IR in these tests.\n\n### Model Architecture\n\n\n\n![model_architecture](/content/papers/assets/9619d6d3a5bb29167c9c71454936585be4ea12d8a015d05bb251f8c48bbb1c80.jpg)\n\n\n\nLet’s take a closer look at the core model architecture of this paper.\n\nThe backbone is a **pretrained ViT**, and the overall structure is intentionally designed to be **highly frozen and lightly fine-tuned**:\n\n- Only the final classification head $E_{\\text{head}}$ and the additional module **AMA (Adaptive Multimodal Adapter)** are involved in training, while the rest of the ViT structure is preserved in its original form.\n\nThe role of AMA is to act as an adapter, allowing the ViT, which traditionally processes a single modality, to understand multimodal inputs (such as RGB, IR, and Depth).\n\n\n> [!TIP]\n> \n> If you are unfamiliar with the concept of an adapter, you can refer to our other paper notes:\n> \n> - [**[19.02] Adapter: Saving 96% of Parameters**](/blog/papers/model-tuning/adapter)\n> \n\n\nThe structural design can be divided into four stages, as shown in the internal diagram of the AMA module above:\n\n1. **Channel Compression $\\Theta↓$**\n\n   Each modality’s input token undergoes a 1×1 convolution, reducing the original channel dimension $D$ to a hidden dimension $D_0$. This step aims to condense the information and prepare a unified format for subsequent modality fusion.\n\n2. **Local Modality Fusion $\\Theta_{2D}$**\n\n   Restore aligned patch tokens to 2D feature maps and concatenate channels into a four-dimensional tensor $(B,KD_0,H,W)$. A 3×3 convolution maps $KD_0$ channels to shared $D_0$ channels, combining local spatial and cross-modal information.\n\n3. **Dynamic Modality Weights $\\Theta_{\\text{Ada}} + \\sigma$**\n\n   GAP and a 1×1 convolution applied to the concatenated features before fusion produce $K$ Sigmoid weights. Each weight scales the same fused $D_0$-channel map to form the modality branches. These are not softmax probabilities and need not sum to one.\n\n4. **Channel Recovery $\\Theta↑$**\n\n   Flatten the modality maps back to tokens, restore dimension $D$ with a 1×1 projection and GELU, and concatenate with class tokens passed through a channel bottleneck. AMA is inserted into the Transformer blocks’ attention/FFN paths; further backbone computation follows, rather than sending all adapter tokens directly to the classifier.\n\nThis design has several advantages:\n\n- **High Parameter Efficiency**: Only a few parameters are fine-tuned, reducing the risk of overfitting.\n- **Refined Modality Fusion**: Unlike traditional direct concatenation, it introduces dynamic weighting and convolutional fusion.\n- **Configurable modality combinations**: With one modality, AMA reduces to ConvAdapter. The study fine-tunes for different downstream input combinations.\n\nIn other words, AMA is a **low-intrusive, high-scalability** modality fusion module, specifically tailored for the structural features of ViT. It allows a frozen ViT to process high-dimensional, multimodal spoof cues without retraining the lower layers.\n\n### Pretraining Method\n\n\n\n![pretrain](/content/papers/assets/5a98f8493c90b7050e4fec81f85e4c1f7aab81fe2f0c51f8611075c69ec82063.jpg)\n\n\n\nFinally, the authors propose a new ViT pretraining framework: **Modality-Asymmetric Masked AutoEncoder (M²A²E)**, the name in this paper's title. It uses aligned RGB/IR/Depth images from CeFA without live/spoof labels. Its encoder **still starts from ImageNet weights** before this self-supervised stage; it is not trained from scratch.\n\nIn ordinary MAE, we mask some patches and ask the model to reconstruct them. A multimodal version that provides visible patches from every modality can also let the model depend heavily on one source instead of learning cross-modal relationships. Reconstructing pixels alone does not necessarily teach the live/spoof cues we need. That is why the authors change the masking and reconstruction task.\n\n- The patches of all modalities are masked, which causes the model to rely too heavily on one modality.\n- The model's goal is simply to restore the image, which doesn't necessarily help with tasks like live detection that require \"cross-modality semantics.\"\n\nSo, M²A²E changes the logic of masking and reconstruction:\n\n- At each step, only one modality is randomly selected as the input.\n- Mask 40% of that modality’s patches. Only visible tokens enter the encoder; separate, unshared modality decoders receive visible features and mask tokens and reconstruct with MSE.\n- The model is then required to reconstruct:\n  - The masked patches of the selected modality (this part is traditional MAE).\n  - The complete image of the other modalities (this is the key innovation).\n\nThis design asks the model to \"use one modality to predict the appearance of the other modalities,\" which is called **cross-modality reconstruction**. The authors aim for two benefits:\n\n- Stronger ability to model semantic relationships between modalities.\n- The ability to capture spoof cues such as \"color distortion\" and \"depth missing.\"\n\n## Discussion\n\n### Experimental Results\n\n\n\n![result](/content/papers/assets/3c7dac00af1cdda900383343d0cedd7abd691d142456437c76443afeabb68743.jpg)\n\n\n\nIn the WMCA experiments, the authors designed two scenarios:\n\n- One where the model has already seen the attack types (**seen protocol**)\n- Another where it has never encountered new attack types (**unseen protocol**).\n\nThe table above shows the **benefits brought by AMA and M²A²E** under these two scenarios, which can be interpreted in three ways:\n\n1. **AMA as an \"Enhancer\"**\n\n   Against direct ViT fine-tuning, AMA lowers ACER in most modality and protocol settings. Single-modality cases use ConvAdapter; Depth's unseen mean worsens slightly from 10.42% to 10.49%.\n\n2. **M²A²E as a \"Generalizer\"**\n\n   Additional M²A²E pretraining improves mean unseen ACER for IR, Depth, RGB+IR, IR+Depth, and all three modalities. RGB (9.42% to 11.50%) and RGB+Depth (5.78% to 5.82%) do not improve. Seen ACER also worsens in every multimodal combination, so the gain depends on the modality and protocol.\n\n3. **RGB+IR+Depth as the Strongest Combination**\n\n   Three-modal AMA+M²A²E obtains 3.86% mean unseen ACER versus four-modal MC-CNN's 6.55%. In the seen protocol, however, MC-CNN has 1.04% versus 1.39% for AMA+M²A²E. Glasses attacks still have 17.99% ACER in the three-modal unseen protocol. These are results under the table's specific settings.\n\n\n> [!TIP]\n> \n> For more experimental results, readers are encouraged to refer to the original paper.\n\n\n### Are Local Descriptors Useful?\n\n![local_descriptors](/content/papers/assets/0445773006030f946fb109851f312e4e8f66f0f1c7288bd59518054cbae92f1a.jpg)\n\nThe authors test descriptor inputs for IR, with RGB and Depth also shown in Figure 4 under both direct fine-tuning and ConvAdapter:\n\n- Single descriptors: **LBP**, **HOG**, **PLGF**\n- Combined inputs: **HOG+PLGF**, **LBP+HOG+PLGF**, **GRAY+HOG+PLGF**\n\nKey takeaways include:\n\n- **LBP is weak for RGB and IR**: its ACER exceeds the raw input with both fine-tuning approaches. HOG is worst for Depth, so LBP is not the weakest in every modality.\n- **PLGF helps IR with direct fine-tuning**: its ACER is below the raw input's there, but not with ConvAdapter.\n- **GRAY+HOG+PLGF performs best for IR** with both direct fine-tuning and ConvAdapter. The final method uses this composition for IR and keeps raw RGB and Depth.\n\nThe results support local descriptors for this IR dataset and training setup. They do not independently isolate every sensor, lighting, and noise factor or prove that illumination sensitivity is the sole cause of IR performance differences.\n\n### Is AMA Just About More Parameters?\n\n\n\n![ama_vs_conv](/content/papers/assets/20983d8fe2cfd759d637679e393bd682d3d8f7d7058841c1e05dbf1a4a93de71.jpg)\n\n\n\nThe authors tested five different adapter structures to find the most suitable design for ViT-FAS:\n\n1. **Vanilla adapter**: Primarily fully connected layers (FC)\n2. **ConvAdapter (single-modality)**: Replacing FC with 2D convolution\n3. **Multimodal ConvAdapter (compressed version)**: Fusion of features from different modalities followed by 2D convolution\n4. **Multimodal ConvAdapter (full-dimension)**: Output dimensions retain the product of all modalities (D₀ × K)\n5. **Adaptive Multimodal Adapter (AMA)**\n\nKey observations include:\n\n- **Replacing FC with Conv lowers ACER in all four groups shown**, supporting local features in these ViT settings.\n- **Simplified Multimodal ConvAdapter outperforms the single-modality version** in the table, showing that modality fusion within ViT is feasible.\n- **The full-dimensional version does not deliver a corresponding gain**. Overfitting is the authors’ explanation.\n- **AMA is the most balanced among these methods**, retaining modality differences while effectively weighting different feature sources.\n\nWithin the compared designs and datasets, local convolution and adaptive weighting of shared low-dimensional features are useful choices. This supports AMA here, without establishing that all multimodal ViTs require convolution or that AMA is the universal best solution.\n\n## Conclusion\n\nWe often see Transformer models applied to new tasks, but what sets this paper apart is that it doesn’t rush to stack more layers; instead, it goes back to a more fundamental question:\n\n> **“If ViT is to be used for Multimodal FAS, what traits should it possess?”**\n\nThe authors broke down this question into three aspects: input detail design, pretraining logic, and fine-tuning method. This approach is particularly valuable for FAS tasks with limited data and rapidly evolving attack patterns.\n","imageSizes":{"/content/papers/assets/24a0b61f93cdf5d27b154883ca674331ad9b77ea34789bdfe490d6fc50bed5b8.jpg":{"width":1192,"height":716},"/content/papers/assets/9619d6d3a5bb29167c9c71454936585be4ea12d8a015d05bb251f8c48bbb1c80.jpg":{"width":1356,"height":618},"/content/papers/assets/5a98f8493c90b7050e4fec81f85e4c1f7aab81fe2f0c51f8611075c69ec82063.jpg":{"width":1224,"height":692},"/content/papers/assets/3c7dac00af1cdda900383343d0cedd7abd691d142456437c76443afeabb68743.jpg":{"width":1224,"height":1060},"/content/papers/assets/0445773006030f946fb109851f312e4e8f66f0f1c7288bd59518054cbae92f1a.jpg":{"width":1664,"height":332},"/content/papers/assets/20983d8fe2cfd759d637679e393bd682d3d8f7d7058841c1e05dbf1a4a93de71.jpg":{"width":936,"height":328}}}
