Hong Kong Metropolitan University(香港都会大学);Hong Kong Polytechnic University(香港理工大学);Shanghai 100me Internet Technology Co., Ltd.(上海一零零米互联网科技有限公司);Lingnan University(岭南大学)
The recent success of Large Language Models (LLMs) has gained significant attention in both academia and industry. Substantial efforts have been made to enhance the zero- and few-shot generalization capabilities of open-source LLMs through finetuning. Currently, the prevailing approach is instruction-tuning, which trains LLMs to complete real-world tasks by generating responses guided by natural language instructions. It is worth noticing that such an approach may underperform in sequence and token classification tasks. Unlike text generation tasks, classification tasks have a limited label space, where precise label prediction is more appreciated than generating diverse and human-like responses. Prior research has unveiled that instruction-tuned LLMs cannot outperform BERT, prompting us to explore the potential of leveraging latent representations from LLMs for supervised label prediction. In this paper, we introduce a label-supervised adaptation for LLMs, which aims to finetuning the model with discriminant labels. We evaluate this approach with Label Supervised LLaMA (LS-LLaMA), based on LLaMA-2-7B, a relatively small-scale LLM, and can be finetuned on a single GeForce RTX4090 GPU. We extract latent representations from the final LLaMA layer and project them into the label space to compute the cross-entropy loss. The model is finetuned by Low-Rank Adaptation (LoRA) to minimize this loss. Remarkably, without intricate prompt engineering or external knowledge, LS-LLaMA substantially outperforms LLMs ten times its size in scale and demonstrates consistent improvements compared to robust baselines like BERT-Large and RoBERTa-Large in text classification. Moreover, by removing the causal mask from decoders, LS-unLLaMA achieves the state-of-the-art performance in named entity recognition (NER). Our work will shed light on a novel approach to adapting LLMs for various downstream tasks.
An Experimental Design Framework for Label-Efficient Supervised Finetuning of Large Language Models
University of Washington(华盛顿大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Stanford University(斯坦福大学);Georgia Institute of Technology(佐治亚理工学院);University of California, Riverside(加州大学河滨分校);Microsoft Research NYC(微软研究院纽约分部)
InSaAF: Incorporating Safety through Accuracy and Fairness | Are LLMs ready for the Indian Legal Domain?
Centre for Responsible AI, Indian Institute of Technology Madras(印度马德拉斯理工学院负责任人工智能中心);International Institute of Information Technology, Hyderabad(海德拉巴国际信息技术学院);AmexAI Labs, American Express(美国运通AmexAI实验室);Wadhwani School of Data Science and AI, Indian Institute of Technology Madras(印度马德拉斯理工学院瓦德瓦尼数据科学与人工智能学院)
Investigating Structural Pruning and Recovery Techniques for Compressing Multimodal Large Language Models: An Empirical Study
Technical University of Munich, Germany(慕尼黑技术大学,德国);Helmholtz Munich, Munich Center for Machine Learning, Germany(海德堡慕尼黑,慕尼黑机器学习中心,德国);University of Tübingen, Tübingen AI Center, Germany(图宾根大学,图宾根人工智能中心,德国);University of Trento, Italy(特伦托大学,意大利);Beijing University of Posts and Telecommunications, China(北京邮电大学,中国)
Optimizing Case-Based Reasoning System for Functional Test Script Generation with Large Language Models
School of Artificial Intelligence, International Center of Future Science(人工智能学院,未来科学国际中心);Huawei Technologies Ltd.(华为技术有限公司);School of Artificial Intelligence(人工智能学院);AI Centre University College London(伦敦大学学院人工智能中心)