paper-with-me

Papers

LayerIF: Estimating Layer Quality for Large Language Models using Influence Functions

2025-05-27 · Hadi Askari, Shivanshu Gupta, Fei Wang, Anshuman Chhabra, Muhao Chen

Pretrained Large Language Models (LLMs) achieve strong performance across a wide range of tasks, yet exhibit substantial variability in the various layers' training quality with respect to specific downstream applications, limiting their downstream performance. It is therefore critical to estimate layer-wise training quality in a manner that accounts for both model architecture and training data. However, existing approaches predominantly rely on model-centric heuristics (such as spectral statistics, outlier detection, or uniform allocation) while overlooking the influence of data. To address these limitations, we propose LayerIF, a data-driven framework that leverages Influence Functions to quantify the training quality of individual layers in a principled and task-sensitive manner. By isolating each layer's gradients and measuring the sensitivity of the validation loss to training examples by computing layer-wise influences, we derive data-driven estimates of layer importance. Notably, our method produces task-specific layer importance estimates for the same LLM, revealing how layers specialize for different test-time evaluation tasks. We demonstrate the utility of our scores by leveraging them for two downstream applications: (a) expert allocation in LoRA-MoE architectures and (b) layer-wise sparsity distribution for LLM pruning. Experiments across multiple LLM architectures demonstrate that our model-agnostic, influence-guided allocation leads to consistent gains in task performance.

📄 PDF Abstract BibTeX arXiv:2505.23811

Code (0)

등록된 구현이 없습니다.

Tasks

Outlier Detection

Similar Papers 제목 키워드 기반

Estimating Player Performance in Different Contexts Using Fine-tuned Large Events Models

2024-02-09 · Tiago Mendes-Neves, Luís Meireles, João Mendes-Moreira

This paper introduces an innovative application of Large Event Models (LEMs), akin to Large Language Models, to the domain of soccer analytics. By learning the language of soccer - predicting variables for subsequent eve…

Attention Consistency for LLMs Explanation

2025-09-21 · Tian Lan, Jinyuan Xu, Xue He, Jenq-Neng Hwang 외 arxiv

Understanding the decision-making processes of large language models (LLMs) is essential for their trustworthy development and deployment. However, current interpretability methods often face challenges such as low resol…

Computational Efficiency

Empirical Validation of the Independent Chip Model

2025-05-30 · Juho Kim

The independent chip model (ICM) forms a cornerstone of all modern poker tournament strategy. However, despite its prominence, the ICM's performance in the real world has not been sufficiently scrutinized, especially at …

model

RAG-Stack: Co-Optimizing RAG Quality and Performance From the Vector Database Perspective

2025-10-23 · Wenqi Jiang arxiv

Retrieval-augmented generation (RAG) has emerged as one of the most prominent applications of vector databases. By integrating documents retrieved from a database into the prompt of a large language model (LLM), RAG enab…

Accuracy is not the only Metric that matters: Estimating the Energy Consumption of Deep Learning Models

2023-04-03 · Johannes Getzner, Bertrand Charpentier, Stephan Günnemann

Modern machine learning models have started to consume incredible amounts of energy, thus incurring large carbon footprints (Strubell et al., 2019). To address this issue, we have created an energy estimation pipeline1, …