paper-with-me

홈 › Papers

Towards Resilient and Efficient LLMs: A Comparative Study of Efficiency, Performance, and Adversarial Robustness

2024-08-08 · Xiaojing Fan, Chunliang Tao

With the increasing demand for practical applications of Large Language Models (LLMs), many attention-efficient models have been developed to balance performance and computational cost. However, the adversarial robustness of these models remains under-explored. In this work, we design a framework to investigate the trade-off between efficiency, performance, and adversarial robustness of LLMs and conduct extensive experiments on three prominent models with varying levels of complexity and efficiency -- Transformer++, Gated Linear Attention (GLA) Transformer, and MatMul-Free LM -- utilizing the GLUE and AdvGLUE datasets. The AdvGLUE dataset extends the GLUE dataset with adversarial samples designed to challenge model robustness. Our results show that while the GLA Transformer and MatMul-Free LM achieve slightly lower accuracy on GLUE tasks, they demonstrate higher efficiency and either superior or comparative robustness on AdvGLUE tasks compared to Transformer++ across different attack levels. These findings highlight the potential of simplified architectures to achieve a compelling balance between efficiency, performance, and adversarial robustness, offering valuable insights for applications where resource constraints and resilience to adversarial attacks are critical.

📄 PDF Abstract BibTeX arXiv:2408.04585

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial Robustness

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Towards Zero-Shot Differential Morphing Attack Detection with Multimodal Large Language Models

2025-05-21 · Ria Shekhawat, Hailin Li, Raghavendra Ramachandra, Sushma Venkatesh

Leveraging the power of multimodal large language models (LLMs) offers a promising approach to enhancing the accuracy and interpretability of morphing attack detection (MAD), especially in real-world biometric applicatio…

BenchmarkingPrompt Engineering

Medicine on the Edge: Comparative Performance Analysis of On-Device LLMs for Clinical Reasoning

2025-02-13 · Leon Nissen, Philipp Zagar, Vishnu Ravi, Aydin Zahedivash 외

The deployment of Large Language Models (LLM) on mobile devices offers significant potential for medical applications, enhancing privacy, security, and cost-efficiency by eliminating reliance on cloud-based services and …

Computational Efficiency

Evaluating the Efficacy of Open-Source LLMs in Enterprise-Specific RAG Systems: A Comparative Study of Performance and Scalability

2024-06-17 · Gautam B, Anupam Purwar

This paper presents an analysis of open-source large language models (LLMs) and their application in Retrieval-Augmented Generation (RAG) tasks, specific for enterprise-specific data sets scraped from their websites. Wit…

RAGRetrievalRetrieval-augmented Generation

Automating Customer Needs Analysis: A Comparative Study of Large Language Models in the Travel Industry

2024-04-27 · Simone Barandoni, Filippo Chiarello, Lorenzo Cascone, Emiliano Marrale 외

In the rapidly evolving landscape of Natural Language Processing (NLP), Large Language Models (LLMs) have emerged as powerful tools for many tasks, such as extracting valuable insights from vast amounts of textual data. …

Quantifying the Impact of Structured Output Format on Large Language Models through Causal Inference

2025-09-26 · Han Yuan, Yue Zhao, Li Zhang, Wuqiong Luo 외 arxiv

Structured output from large language models (LLMs) has enhanced efficiency in processing generated information and is increasingly adopted in industrial applications. Prior studies have investigated the impact of struct…

Causal Inference