{"notes":[{"id":"face-antispoofing/la-softmoe","category":"face-antispoofing","legacyPath":"face-antispoofing/2408-la-softmoe","legacySlug":"2408-la-softmoe","legacyPaths":[],"title":"La-SoftMoE","subtitle":"稀疏的裂缝","author":"Z. Yuan","paperDate":"2024-08-23","publishedOn":"2025-06-05","paperTitle":"La-SoftMoE CLIP for Unified Physical-Digital Face Attack Detection","paperUrl":"https://ieeexplore.ieee.org/document/10744523/","bibliography":{"title":"La-SoftMoE CLIP for Unified Physical-Digital Face Attack Detection","authors":["Hang Zou","Chenxi Du","Hui Zhang","Yuan Zhang","Ajian Liu","Jun Wan","Zhen Lei"],"url":"https://ieeexplore.ieee.org/document/10744523/","pdfUrl":"https://arxiv.org/pdf/2408.12793v1","codeUrl":null,"preprint":{"id":"2408.12793","submittedOn":"2024-08-23","url":"https://arxiv.org/abs/2408.12793"},"publication":{"venue":"IJCB","year":2024,"kind":"conference","url":"https://ieeexplore.ieee.org/document/10744523/"},"citation":"@misc{faceantispoofinglasoftmoe2024,\n  title = {{La-SoftMoE CLIP for Unified Physical-Digital Face Attack Detection}},\n  author = {Hang Zou and Chenxi Du and Hui Zhang and Yuan Zhang and Ajian Liu and Jun Wan and Zhen Lei},\n  year = {2024},\n  eprint = {2408.12793},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2408.12793}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/la-softmoe.b7bb83a867c2.bib"},"thumbnail":{"src":"/content/papers/assets/fa15672037bb88bafa6c667327861cab99ddb388d3446d1d992f653f052f3d3c.jpg","width":1224,"height":572},"locale":"zh-hans","path":"/content/papers/zh-hans/face-antispoofing/la-softmoe.08e6fe89ba6a.md","headings":[{"id":"定义问题","text":"定义问题","depth":2},{"id":"解决问题","text":"解决问题","depth":2},{"id":"softmoe-模块设计","text":"SoftMoE 模块设计","depth":3},{"id":"la-softmoe","text":"La-SoftMoE","depth":3},{"id":"实现细节","text":"实现细节","depth":3},{"id":"讨论","text":"讨论","depth":2},{"id":"实验结果分析uniattackdata","text":"实验结果分析（UniAttackData）","depth":3},{"id":"混合数据集测试jfsfdb","text":"混合数据集测试（JFSFDB）","depth":3},{"id":"prompt-robustness-测试","text":"Prompt Robustness 测试","depth":3},{"id":"消融实验","text":"消融实验","depth":3},{"id":"结论","text":"结论","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/fas-challenge","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/pd-fas","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/shield","relation":"comparison","topic":"同时识别物理与数字人脸攻击"}]},{"id":"face-antispoofing/fas-challenge","category":"face-antispoofing","legacyPath":"face-antispoofing/2404-fas-challenge","legacySlug":"2404-fas-challenge","legacyPaths":[],"title":"FAS-Challenge","subtitle":"兵器谱","author":"Z. Yuan","paperDate":"2024-04-09","publishedOn":"2025-06-02","paperTitle":"Unified Physical-Digital Attack Detection Challenge","paperUrl":"https://arxiv.org/abs/2404.06211","bibliography":{"title":"Unified Physical-Digital Attack Detection Challenge","authors":["Haocheng Yuan","Ajian Liu","Junze Zheng","Jun Wan","Jiankang Deng","Sergio Escalera","Hugo Jair Escalante","Isabelle Guyon","Zhen Lei"],"url":"https://arxiv.org/abs/2404.06211","pdfUrl":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/papers/Yuan_Unified_Physical-Digital_Attack_Detection_Challenge_CVPRW_2024_paper.pdf","codeUrl":null,"preprint":{"id":"2404.06211","submittedOn":"2024-04-09","url":"https://arxiv.org/abs/2404.06211"},"publication":{"venue":"CVPR Workshops","year":2024,"kind":"conference","url":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/html/Yuan_Unified_Physical-Digital_Attack_Detection_Challenge_CVPRW_2024_paper.html"},"citation":"@misc{faceantispoofingfaschallenge2024,\n  title = {{Unified Physical-Digital Attack Detection Challenge}},\n  author = {Haocheng Yuan and Ajian Liu and Junze Zheng and Jun Wan and Jiankang Deng and Sergio Escalera and Hugo Jair Escalante and Isabelle Guyon and Zhen Lei},\n  year = {2024},\n  eprint = {2404.06211},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2404.06211}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/fas-challenge.eddf4ef3db76.bib"},"thumbnail":{"src":"/content/papers/assets/464c459e92910d60b294a2bf19148fa790db0c5b203d5359f65ef70b8b183a47.jpg","width":1224,"height":664},"locale":"zh-hans","path":"/content/papers/zh-hans/face-antispoofing/fas-challenge.a030a5a2cae6.md","headings":[{"id":"定义问题","text":"定义问题","depth":2},{"id":"统一数据集uniattackdata","text":"统一数据集：UniAttackData","depth":2},{"id":"评估协议与泛化设计","text":"评估协议与泛化设计","depth":3},{"id":"赛程流程与规则设计","text":"赛程流程与规则设计","depth":3},{"id":"评估指标","text":"评估指标","depth":3},{"id":"兵器谱","text":"兵器谱","depth":2},{"id":"1-mtface","text":"1. MTFace","depth":3},{"id":"2-searecluse","text":"2. SeaRecluse","depth":3},{"id":"3-duileduile","text":"3. duileduile","depth":3},{"id":"4-bsp-idiap","text":"4. BSP-Idiap","depth":3},{"id":"5-vai-face","text":"5. VAI-Face","depth":3},{"id":"6-llw","text":"6. L&L&W","depth":3},{"id":"7-sarm","text":"7. SARM","depth":3},{"id":"8-m2-purdue","text":"8. M2-Purdue","depth":3},{"id":"9-cloud-recesses","text":"9. Cloud Recesses","depth":3},{"id":"10-image-lab","text":"10. Image Lab","depth":3},{"id":"11-bovifocr-ufpr","text":"11. BOVIFOCR-UFPR","depth":3},{"id":"12-inria-cenatav-tec","text":"12. Inria-CENATAV-Tec","depth":3},{"id":"13-vicognit","text":"13. Vicognit","depth":3},{"id":"讨论","text":"讨论","depth":2},{"id":"结论","text":"结论","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/pd-fas","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/la-softmoe","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/shield","relation":"comparison","topic":"同时识别物理与数字人脸攻击"}]},{"id":"face-antispoofing/pd-fas","category":"face-antispoofing","legacyPath":"face-antispoofing/2404-pd-fas","legacySlug":"2404-pd-fas","legacyPaths":[],"title":"PD-FAS","subtitle":"幻象的演武场","author":"Z. Yuan","paperDate":"2024-04-12","publishedOn":"2025-05-31","paperTitle":"Joint Physical-Digital Facial Attack Detection Via Simulating Spoofing Clues","paperUrl":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/html/He_Joint_Physical-Digital_Facial_Attack_Detection_Via_Simulating_Spoofing_Clues_CVPRW_2024_paper.html","bibliography":{"title":"Joint Physical-Digital Facial Attack Detection Via Simulating Spoofing Clues","authors":["Xianhua He","Dashuang Liang","Song Yang","Zhanlong Hao","Hui Ma","Binjie Mao","Xi Li","Yao Wang","Pengfei Yan","Ajian Liu"],"url":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/html/He_Joint_Physical-Digital_Facial_Attack_Detection_Via_Simulating_Spoofing_Clues_CVPRW_2024_paper.html","pdfUrl":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/papers/He_Joint_Physical-Digital_Facial_Attack_Detection_Via_Simulating_Spoofing_Clues_CVPRW_2024_paper.pdf","codeUrl":"https://github.com/Xianhua-He/cvpr2024-face-anti-spoofing-challenge","preprint":{"id":"2404.08450","submittedOn":"2024-04-12","url":"https://arxiv.org/abs/2404.08450"},"publication":{"venue":"CVPR Workshops","year":2024,"kind":"workshop","url":"https://openaccess.thecvf.com/content/CVPR2024W/FAS2024/html/He_Joint_Physical-Digital_Facial_Attack_Detection_Via_Simulating_Spoofing_Clues_CVPRW_2024_paper.html"},"citation":"@misc{faceantispoofingpdfas2024,\n  title = {{Joint Physical-Digital Facial Attack Detection Via Simulating Spoofing Clues}},\n  author = {Xianhua He and Dashuang Liang and Song Yang and Zhanlong Hao and Hui Ma and Binjie Mao and Xi Li and Yao Wang and Pengfei Yan and Ajian Liu},\n  year = {2024},\n  eprint = {2404.08450},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2404.08450}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/pd-fas.5e99845a7b35.bib"},"thumbnail":{"src":"/content/papers/assets/8dc381495a96275b801a46e04453cd17b3f9e57bd88fb93f6c757d74d930300f.jpg","width":1224,"height":516},"locale":"zh-hans","path":"/content/papers/zh-hans/face-antispoofing/pd-fas.76f4a83a5659.md","headings":[{"id":"定义问题","text":"定义问题","depth":2},{"id":"解决问题","text":"解决问题","depth":2},{"id":"simulated-physical-spoofing-clues","text":"Simulated Physical Spoofing Clues","depth":3},{"id":"simulated-digital-spoofing-clues","text":"Simulated Digital Spoofing Clues","depth":3},{"id":"数据集设置uniattackdata","text":"数据集设置：UniAttackData","depth":3},{"id":"评估指标apcer--bpcer--acer","text":"评估指标：APCER / BPCER / ACER","depth":3},{"id":"实验设置与训练细节","text":"实验设置与训练细节","depth":3},{"id":"讨论","text":"讨论","depth":2},{"id":"sota-方法比较","text":"SOTA 方法比较","depth":3},{"id":"三种协议场景","text":"三种协议场景","depth":3},{"id":"模块贡献拆解","text":"模块贡献拆解","depth":3},{"id":"主干网络测试","text":"主干网络测试","depth":3},{"id":"可视化分析","text":"可视化分析","depth":3},{"id":"结论","text":"结论","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/fas-challenge","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/la-softmoe","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/shield","relation":"comparison","topic":"同时识别物理与数字人脸攻击"}]},{"id":"face-antispoofing/shield","category":"face-antispoofing","legacyPath":"face-antispoofing/2402-shield","legacySlug":"2402-shield","legacyPaths":[],"title":"SHIELD","subtitle":"告诉我，为什么？","author":"Z. Yuan","paperDate":"2024-02-06","publishedOn":"2025-04-14","paperTitle":"SHIELD: An Evaluation Benchmark for Face Spoofing and Forgery Detection with Multimodal Large Language Models","paperUrl":"https://arxiv.org/abs/2402.04178","bibliography":{"title":"SHIELD: An Evaluation Benchmark for Face Spoofing and Forgery Detection with Multimodal Large Language Models","authors":["Yichen Shi","Yuhao Gao","Yingxin Lai","Hongyang Wang","Jun Feng","Lei He","Jun Wan","Changsheng Chen","Zitong Yu","Xiaochun Cao"],"url":"https://arxiv.org/abs/2402.04178","pdfUrl":"https://arxiv.org/pdf/2402.04178","codeUrl":"https://github.com/laiyingxin2/SHIELD","preprint":{"id":"2402.04178","submittedOn":"2024-02-06","url":"https://arxiv.org/abs/2402.04178"},"publication":{"venue":"Visual Intelligence","year":2025,"kind":"journal","url":"https://link.springer.com/article/10.1007/s44267-025-00079-w"},"citation":"@misc{faceantispoofingshield2024,\n  title = {{SHIELD: An Evaluation Benchmark for Face Spoofing and Forgery Detection with Multimodal Large Language Models}},\n  author = {Yichen Shi and Yuhao Gao and Yingxin Lai and Hongyang Wang and Jun Feng and Lei He and Jun Wan and Changsheng Chen and Zitong Yu and Xiaochun Cao},\n  year = {2024},\n  eprint = {2402.04178},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2402.04178}\n}\n","citationPath":"/content/papers/citations/face-antispoofing/shield.ebbdc10267ba.bib"},"thumbnail":{"src":"/content/papers/assets/5d3709702bad757e66d898b25d1a408af7c67dc9e6aa265f6bd2f7578cd62395.jpg","width":1224,"height":884},"locale":"zh-hans","path":"/content/papers/zh-hans/face-antispoofing/shield.07e2306b5aa1.md","headings":[{"id":"定义问题","text":"定义问题","depth":2},{"id":"解决问题","text":"解决问题","depth":2},{"id":"讨论","text":"讨论","depth":2},{"id":"fas-测试结果","text":"FAS 测试结果","depth":3},{"id":"ffd-测试结果","text":"FFD 测试结果","depth":3},{"id":"unified-task-测试结果","text":"Unified Task 测试结果","depth":2},{"id":"ma-cot-实验结果","text":"MA-COT 实验结果","depth":2},{"id":"结论","text":"结论","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"face-antispoofing/fas-challenge","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/pd-fas","relation":"comparison","topic":"同时识别物理与数字人脸攻击"},{"id":"face-antispoofing/la-softmoe","relation":"comparison","topic":"同时识别物理与数字人脸攻击"}]}],"text":"实体攻击从打印机吐出来的彩色照片，到拟真面具下的深邃眼窝。\n\n数字攻击从算法生成的幻影，到直接窜改图像本身的纪录。\n\n脸部识别系统的边界，从未如此模糊过。\n\n## 定义问题\n\n在过去的研究中，这两者被视为不同的任务处理：\n\n- **PAD（Physical Attack Detection）**：\n\n  侧重多模态感测与生理特征提取，强调实体世界的可测量性；\n\n- **DAD（Digital Attack Detection）**：\n\n  着重在特征层的细节解析、频域异常与视觉欺骗模式。\n\n尽管各自取得进展，却也导致模型部署的重复建置与难以跨任务迁移的困境。\n\n在实际场景中，没有系统能够选择只遭遇一种攻击类型，也因此，使得 **Unified Attack Detection (UAD)** 成为迫切而自然的研究方向。\n\n统一处理各领域后，还需要处理特征融合。\n\n从 UniAttackData 所展现的特征分布来看，两类攻击在嵌入空间中的分布极不相同，尤其在包含 ID consistency 的设置下，即便来自同一脸孔的攻击样本，亦展现出彼此孤立的聚类倾向。\n\n这种「**稀疏又分裂的特征空间**」，正是现有方法的盲区。\n\n虽然有学者试图通过多分支设计（如 CA-MoEiT）、多任务学习、或引入生理资讯来对应两种攻击型态，但这些方法往往引发新的困境：\n\n- 架构复杂度提高，导致运算资源消耗与部署延迟\n- 缺乏 ID-consistency 的数据集，使模型学会的是背景与非语义线索\n- 面对大规模通用模型（如 CLIP）时，特征维度间的稀疏性进一步削弱分类逻辑的稳定性\n\n在这样的情境下，即便是 CLIP 这类视觉语言模型，也难以于稀疏特征空间中辨认「假脸」的统一语法。\n\n人们开始意识到：**这可能不是单纯的数据不足，而是语义特征分布过于分裂**。真正的问题可能不在模型的容量，而在于它尚无明确的方法来运用自己的能力。\n\n也许，是时候让模型学会自我调度、自我协作。\n\n这正是 Mixture-of-Experts（MoE）设计逻辑诞生的地方。\n\n\n> [!TIP]\n> \n> 对 MoE 的概念不熟悉的读者，可以参考我们之前读过的另外一篇论文：\n> \n> - [**[21.01] Switch Transformer: 让专家说话**](/blog/papers/transformers/switch-transformer)\n\n\n## 解决问题\n\n针对上述问题，作者提出一套结合 Mixture-of-Experts（MoE）设计理念与线性注意力机制的架构，命名为 **La-SoftMoE CLIP**。\n\n该方法基于原始 CLIP 架构进行改造，并具体强化其在稀疏语义分布下的分类能力。\n\n### SoftMoE 模块设计\n\n\n\n![model_arch](/content/papers/assets/fa15672037bb88bafa6c667327861cab99ddb388d3446d1d992f653f052f3d3c.jpg)\n\n\n\n为强化 CLIP 在稀疏语义空间中的识别能力，作者导入 **Soft Mixture-of-Experts（SoftMoE）** 模块，并嵌入至每层 ViT 的残差区块中，如上图所示。\n\nSoftMoE 相较于传统 MoE 架构，具备以下几项优势：\n\n- **软分派（Soft Dispatch）**：使用 Softmax 权重将所有输入 tokens 映射至 slot，减轻 top-$k$ hard assignment 可能造成的 token-dropping；本文未单独测量专家负载均衡。\n- **可微分设计**：整体运作流程为完全可微，能稳定与主干网络联合训练。\n- **扩展潜力**：不需排序与选择 top-$k$ 专家；作者认为这让专家数量更容易扩展，但本文未测试上千个专家。\n\n具体计算流程如下：\n\n1. **Dispatch Weights**\n\n   在 Soft-MoE 中，传统的 top-$k$ 分派策略被弃用，而是改为：\n\n   - **软分派机制（soft dispatch）**\n\n   此机制的核心在于引入一组中介表示，称为 **slots**，用以承接输入 tokens 的语义加权平均。这里的每个 slot 并不对应单一 token，而是以「token 加权总和」的方式生成，因此 slot 可被视为一种 **语义子空间的聚合向量**。\n\n   每个 expert 将会处理数个 slot，使模型能根据数据特性做出差异化专家运算。\n\n   分派过程如下：令输入 token 矩阵为 $X$ ，我们使用一组可学参数 $\\Phi$ 将 $X$ 投影成派遣 logits，并对每个 slot（共 $m = e \\cdot s$ 个）执行 column-wise softmax：\n\n   $$\n   D_{ij}= \\frac{\\exp\\bigl[(X\\Phi)_{ij}\\bigr]}\n           {\\sum_{i'=1}^{n}\\exp\\bigl[(X\\Phi)_{i'j}\\bigr]}\n   ,\\qquad\n   \\tilde X = D^{\\!\\top}X\n   $$\n\n   - $D \\in \\mathbb{R}^{n \\times m}$ 为分派权重矩阵，表示第 $i$ 个 token 对第 $j$ 个 slot 的贡献程度。\n   - $\\tilde X$ 是所有 slot 的输入表征矩阵，其中第 $j$ 列表示第 $j$ 个 slot 所接收到的加权语义向量。\n\n   通过这样的设计，每个 slot 都整合来自所有 tokens 的资讯，但以不同的注意力强度加权。此外，模型得以从 token-level 的离散特征，转换为更高阶、可共享的 slot-level 表征。\n\n   这种软分派减轻了传统 MoE 的 token-dropping 风险，为后续 expert 处理与组合权重（combine weights）提供可微分的特征基底。\n\n---\n\n2. **Expert 处理与 Combine Weights**\n\n   将 $\\tilde X$ 按 slot 分组送入 $e$ 个 Experts（每个 expert 处理 $s$ 个 slots） 得 **slot 输出** $\\tilde Y$。\n\n   接着计算 **Combine Weights** $\\mathbf C$，这一次对 **每一个 token** 做 row-wise softmax，决定「如何从各 slot 回收资讯」：\n\n   $$\n   C_{ij}= \\frac{\\exp\\bigl[(X\\Phi)_{ij}\\bigr]}\n               {\\displaystyle \\sum_{j'=1}^{e\\cdot s}\\exp\\bigl[(X\\Phi)_{ij'}\\bigr]}\n   ,\\qquad\n   Y = C\\,\\tilde Y\\;\n   $$\n\n   - $Y$ 即 Soft-MoE 的输出 token 列表；本文将模块放在 ViT 的注意力之后，与 MLP 并联。\n\n### La-SoftMoE\n\n虽然 Soft-MoE 具备可微分的派遣与重组机制，但其组合阶段仍存在一项潜在限制：\n\n原始设计中，每个输出 token 对所有 slot 的权重，是由派遣时同一组 logits 经 row-wise softmax 算出；不同 slot 仍有不同权重。作者认为，这种固定的加权形式可能不足以处理不同专家输出的差异。\n\n为了解决这个问题，作者提出改良版本：**La-SoftMoE**，具体进行两项关键修正：\n\n\n\n![la-softmoe](/content/papers/assets/14fd848acfc73869bc529250ba07399ff710aa6d9898b88833903267bfef7e31.jpg)\n\n\n\n1. **将 row-wise softmax 替换为 Linear Attention 机制**\n\n   作者改用特征映射 $\\phi(\\cdot)$ 计算注意力，让组合权重能考虑 slot 表征；这类线性注意力旨在降低注意力运算随序列长度增长的成本。本文未提供不同序列长度下的部署测量。\n\n2. **在权重计算中加入 Instance Normalization**\n\n   La-SoftMoE 在 Linear Attention 输出后、组合权重使用前施加 Instance Normalization。论文没有单独移除这一步的消融，因此无法从实验分辨它对稳定性与泛化的贡献。\n\n### 实现细节\n\n- **嵌入位置**：La-SoftMoE 模块嵌入于 ViT 的 12 个 residual blocks 中，与原本的 Feed-Forward MLP 子模块采并联架构（parallel composition）。\n- **专家配置**：每层配置 $e = 4$ 个 experts，每个 expert 对应 $s = 49$ 个 slots，总共 $m = 196$ 个 slots；论文未测量扩大配置后的记忆体或延迟。\n- **开销评估**：论文比较了识别指标，没有报告相对原始 ViT 的推理延迟或 F1-score 增幅。\n- **实现要点**：虚拟码用 `einsum` 表示 token／slot 的矩阵运算，在 Linear Attention 后施加 Instance Normalization。\n\n---\n\n通过上述架构调整与模块整合，La-SoftMoE CLIP 让不同专家参与 PAs 与 DAs 的特征建模；本文没有量化新增参数与整体推理成本。\n\n该方法在两个受测基准改善了原始 CLIP 的 ACER；至于未见目标域的跨域泛化能力，仍需另设留出域协定验证。\n\n## 讨论\n\n实验主要基于 **UniAttackData**，该数据集为首个具有 ID consistency 的 Unified Attack Detection 基准，包含：\n\n- 1800 位受试者，涵盖 2 种实体攻击（PAs）与 12 种数字攻击（DAs）\n- 第一套评估协定使用完整 live/fake 对应样本进行训练与测试\n\n补充实验使用 **JFSFDB**，整合 9 个 FAS 数据子集，包含传统 PAD 与深伪 DAD 范例。\n\n主要使用 Joint Training 协定以检视跨数据泛化能力。\n\n模型 backbone 为 ViT-B/16，嵌入 La-SoftMoE（每层 4 个 expert，49 个 slots），训练以 Adam 优化器与 $10^{-6}$ 学习率在 A100 GPU 上进行。\n\n### 实验结果分析（UniAttackData）\n\n\n\n![UniAttackData](/content/papers/assets/cb1bdcbe4989961b9304e3630b0ad407ef7616dbae7ff5430844f004cf58860d.jpg)\n\n\n\n上表显示 La-SoftMoE CLIP 与现有方法的比较结果，模型于主评估指标中皆取得 SOTA 表现：\n\n- **ACER：0.32%**（前一最佳为 0.52%）\n- **ACC：99.54%**（前一最佳为 99.45%）\n- AUC 与 EER 略逊于最佳模型，但仍保持高水准（99.72% / 0.56%）\n\n这代表 La-SoftMoE 在此数据集的判错率较低；特征空间是否更紧凑，还需搭配后面的可视化判读。\n\n### 混合数据集测试（JFSFDB）\n\n\n\n![JFSFDB](/content/papers/assets/329093e7bf0cef3e2cf0cc31a689d1be47c122210d18b7fe60e38b5a625e9429.jpg)\n\n\n\n为验证模型在另一个物理与数字攻击混合基准上的表现，作者亦于 JFSFDB 的 joint training 协定进行测试。这不是留出数据集作为未见目标域的跨数据集实验。与 UniAttackData 的数值不能直接当成同条件比较；La-SoftMoE CLIP 在 JFSFDB 取得：\n\n- **ACER：4.21%**\n- **ACC：95.85%**\n- **AUC：99.11%**\n- **EER：4.19%**\n\n作者亦使用 t-SNE 对两数据集进行分布可视化如下图：\n\n\n\n![vis](/content/papers/assets/48d90b2f1f9186b1609da671ca06b21bc06fff1b82748c5b7a684348493931bb.jpg)\n\n\n\n图中 UniAttackData 的点较集中并沿着曲线连结，JFSFDB 则较分散。作者认为 ID consistency 可能是差异来源之一；这张 t-SNE 图本身无法确认效能差距的主因。\n\n### Prompt Robustness 测试\n\n由于 CLIP 类模型对语言提示具有敏感性，作者设计 8 组语义等价但结构不同的提示句（T-1 ~ T-8，见下表），评估 La-SoftMoE CLIP 的稳定性与语义适应能力。\n\n\n\n![prompt robustness](/content/papers/assets/bf435a74bd8e4f8f04d35f70514b8a018f0e3abedbbfe90418ca69c3fa2eb8fa.jpg)\n\n\n\n结果显示：\n\n- **T-8（This is an image of a \\<fake/live> face）** 的 ACER 最低，ACC 与 T-3 并列最高\n- **T-3（A photo of a \\<fake/live> face）** 的 AUC 最高、EER 最低\n\n下图作者比较了不同 prompt 的性能差异：\n\n\n\n![prompt compare](/content/papers/assets/c8df7a60a3388959079a509f0944280fe70fd02ca12cf5f9f793db6e81270360.jpg)\n\n\n\n八种提示的 ACER 从 0.32% 到 0.63%，有可见差异；这组测试显示模型能使用不同措辞。\n\n### 消融实验\n\n\n\n![ablation](/content/papers/assets/9e77c0286f3cb5bde200a599256343cd3a55041c847422a341905bb8200d7e25.jpg)\n\n\n\n在表六中，作者依序比较：\n\n- **Vanilla CLIP**\n- **CLIP + SoftMoE**\n- **CLIP + La-SoftMoE**\n\n结果可见 SoftMoE 与 La-SoftMoE 在这组测试中依序降低 ACER、EER 并提高 ACC；但两者的 AUC 仍低于 vanilla CLIP 的 99.76%。表格同时改动线性注意力与 Instance Normalization，不能只把提升归因于前者。\n\n最后，作者展示了四种模型的特征分布：\n\n\n\n![feature map](/content/papers/assets/71423a444966aa06c5edaf519fd962996d7678f6e6ef763a40a02f823c1efc89.jpg)\n\n\n\n- ResNet-50（左上）\n- CLIP（右上）\n- CLIP + SoftMoE（左下）\n- CLIP + La-SoftMoE（右下）\n\n从这张 t-SNE 图可以看出来，CLIP 的真伪点有些混合；加入 SoftMoE 后，选取样本的分布较分开；La-SoftMoE 图中两类点也大致分开。\n\n这些实验结果显示 La-SoftMoE 在两个混合攻击基准上有较好的表列识别指标；特征结构与计算成本仍需要更直接的测量。\n\n## 结论\n\n在这篇论文中，作者将 Soft Mixture-of-Experts（SoftMoE）引入 CLIP 的图像编码器中，并进一步改良其权重计算策略，通过线性注意力与归一化机制，灵活应对实体与数字攻击的异质特征；论文未提供整体推理成本对照。\n\n这项研究给我们的启发在于：**当语义分布本质上具有断裂性时，与其强行统一，不如让模型学会如何调配专家、共享责任，从结构层次上重新组织特征空间。**\n\n未来可进一步探索语义驱动的 routing 机制、prompt 条件生成、以及具跨模态泛化能力的 token-slot alignment 方法，持续拓展这类结构化设计于多模态识别任务中的应用潜力。\n","imageSizes":{"/content/papers/assets/fa15672037bb88bafa6c667327861cab99ddb388d3446d1d992f653f052f3d3c.jpg":{"width":1224,"height":572},"/content/papers/assets/14fd848acfc73869bc529250ba07399ff710aa6d9898b88833903267bfef7e31.jpg":{"width":1224,"height":492},"/content/papers/assets/cb1bdcbe4989961b9304e3630b0ad407ef7616dbae7ff5430844f004cf58860d.jpg":{"width":1224,"height":372},"/content/papers/assets/329093e7bf0cef3e2cf0cc31a689d1be47c122210d18b7fe60e38b5a625e9429.jpg":{"width":1224,"height":372},"/content/papers/assets/48d90b2f1f9186b1609da671ca06b21bc06fff1b82748c5b7a684348493931bb.jpg":{"width":1224,"height":404},"/content/papers/assets/bf435a74bd8e4f8f04d35f70514b8a018f0e3abedbbfe90418ca69c3fa2eb8fa.jpg":{"width":1224,"height":600},"/content/papers/assets/c8df7a60a3388959079a509f0944280fe70fd02ca12cf5f9f793db6e81270360.jpg":{"width":1224,"height":464},"/content/papers/assets/9e77c0286f3cb5bde200a599256343cd3a55041c847422a341905bb8200d7e25.jpg":{"width":1226,"height":208},"/content/papers/assets/71423a444966aa06c5edaf519fd962996d7678f6e6ef763a40a02f823c1efc89.jpg":{"width":1224,"height":808}}}
