Paper Reading AI Learner

W-PCA Based Gradient-Free Proxy for Efficient Search of Lightweight Language Models

2025-04-22 15:33:01
Shang Wang

Abstract

The demand for efficient natural language processing (NLP) systems has led to the development of lightweight language models. Previous work in this area has primarily focused on manual design or training-based neural architecture search (NAS) methods. Recently, zero-shot NAS methods have been proposed for evaluating language models without the need for training. However, prevailing approaches to zero-shot NAS often face challenges such as biased evaluation metrics and computational inefficiencies. In this paper, we introduce weight-weighted PCA (W-PCA), a novel zero-shot NAS method specifically tailored for lightweight language models. Our approach utilizes two evaluation proxies: the parameter count and the number of principal components with cumulative contribution exceeding $\eta$ in the feed-forward neural (FFN) layer. Additionally, by eliminating the need for gradient computations, we optimize the evaluation time, thus enhancing the efficiency of designing and evaluating lightweight language models. We conduct a comparative analysis on the GLUE and SQuAD datasets to evaluate our approach. The results demonstrate that our method significantly reduces training time compared to one-shot NAS methods and achieves higher scores in the testing phase compared to previous state-of-the-art training-based methods. Furthermore, we perform ranking evaluations on a dataset sampled from the FlexiBERT search space. Our approach exhibits superior ranking correlation and further reduces solving time compared to other zero-shot NAS methods that require gradient computation.

Abstract (translated)

对于高效的自然语言处理(NLP)系统的市场需求,已经开发出了一系列轻量级的语言模型。在此领域的先前研究主要集中在手动设计或基于训练的神经架构搜索(NAS)方法上。最近,提出了一些零样本NAS方法用于在无需进行培训的情况下评估语言模型。然而,流行的零样本NAS方法往往面临着如评估标准偏见和计算效率低下的挑战。在这篇论文中,我们介绍了一种新颖的零样本NAS方法——权重量化PCA(W-PCA),该方法特别适用于轻量级的语言模型。我们的方法采用了两个评估代理:参数计数以及在前馈神经网络层中累计贡献超过$\eta$的主要成分数量。此外,通过消除对梯度计算的需求,我们优化了评估时间,从而提高了设计和评估轻量级语言模型的效率。 我们在GLUE和SQuAD数据集上进行了对比分析以评估我们的方法。结果显示,与一次样本NAS方法相比,我们的方法显著减少了训练时间;而在测试阶段,与先前基于训练的最佳方法相比,我们取得了更高的分数。此外,我们在从FlexiBERT搜索空间中抽取的数据库上执行了排名评估。我们的方法在排名相关性方面表现出色,并进一步降低了求解时间,优于其他需要梯度计算的零样本NAS方法。

URL

https://arxiv.org/abs/2504.15983

PDF

https://arxiv.org/pdf/2504.15983.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot