paper-with-me

홈 › Papers

$PD^3F$: A Pluggable and Dynamic DoS-Defense Framework Against Resource Consumption Attacks Targeting Large Language Models

2025-05-24 · Yuanhe Zhang, Xinyue Wang, Haoran Gao, Zhenhong Zhou, Fanyu Meng, Yuyao Zhang, Sen Su

Large Language Models (LLMs), due to substantial computational requirements, are vulnerable to resource consumption attacks, which can severely degrade server performance or even cause crashes, as demonstrated by denial-of-service (DoS) attacks designed for LLMs. However, existing works lack mitigation strategies against such threats, resulting in unresolved security risks for real-world LLM deployments. To this end, we propose the Pluggable and Dynamic DoS-Defense Framework ($PD^3F$), which employs a two-stage approach to defend against resource consumption attacks from both the input and output sides. On the input side, we propose the Resource Index to guide Dynamic Request Polling Scheduling, thereby reducing resource usage induced by malicious attacks under high-concurrency scenarios. On the output side, we introduce the Adaptive End-Based Suppression mechanism, which terminates excessive malicious generation early. Experiments across six models demonstrate that $PD^3F$ significantly mitigates resource consumption attacks, improving users' access capacity by up to 500% during adversarial load. $PD^3F$ represents a step toward the resilient and resource-aware deployment of LLMs against resource consumption attacks.

📄 PDF Abstract BibTeX arXiv:2505.18680

Code (0)

등록된 구현이 없습니다.

Tasks

Scheduling

Similar Papers 제목 키워드 기반

PlugAT: A Plug and Play Module to Defend against Textual Adversarial Attack

2022-10-01 · COLING 2022 10 · Rui Zheng, Rong Bao, Qin Liu, Tao Gui 외

Adversarial training, which minimizes the loss of adversarially perturbed examples, has received considerable attention. However, these methods require modifying all model parameters and optimizing the model from scratch…

Adversarial AttackDomain Adaptationtext-classificationText Classification

EI-MTD:Moving Target Defense for Edge Intelligence against Adversarial Attacks

2020-09-19 · Ya-guan Qian, Qiqi Shao, Jia-min Wang, Xiang Lin 외

With the boom of edge intelligence, its vulnerability to adversarial attacks becomes an urgent problem. The so-called adversarial example can fool a deep learning model on the edge node to misclassify. Due to the propert…

Knowledge DistillationScheduling

Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks

2023-09-21 · NeurIPS 2023 11

Pre-trained language models (PLMs) have demonstrated remarkable performance as few-shot learners. However, their security risks under such settings are largely unexplored. In this work, we conduct a pilot study showing t…

Continual Adversarial Defense

2023-12-15 · Qian Wang, Hefei Ling, Yingwei Li, Qihao Liu 외

In response to the rapidly evolving nature of adversarial attacks against visual classifiers on a monthly basis, numerous defenses have been proposed to generalize against as many known attacks as possible. However, desi…

Adversarial DefenseContinual LearningEnsemble LearningFew-Shot Learning

When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agent

2026-01-12 · Xinyi Wu, Geng Hong, Yueyue Chen, MingXuan Liu 외 arxiv

Web agents, powered by large language models (LLMs), are increasingly deployed to automate complex web interactions. The rise of open-source frameworks (e.g., Browser Use, Skyvern-AI) has accelerated adoption, but also b…