paper-with-me

홈 › Papers

CorDA: Context-Oriented Decomposition Adaptation of Large Language Models for Task-Aware Parameter-Efficient Fine-tuning

2024-06-07 · Yibo Yang, Xiaojie Li, Zhongzhu Zhou, Shuaiwen Leon Song, Jianlong Wu, Liqiang Nie, Bernard Ghanem

Current parameter-efficient fine-tuning (PEFT) methods build adapters widely agnostic of the context of downstream task to learn, or the context of important knowledge to maintain. As a result, there is often a performance gap compared to full-parameter fine-tuning, and meanwhile the fine-tuned model suffers from catastrophic forgetting of the pre-trained world knowledge. In this paper, we propose CorDA, a Context-oriented Decomposition Adaptation method that builds learnable task-aware adapters from weight decomposition oriented by the context of downstream task or the world knowledge to maintain. Concretely, we collect a few data samples, and perform singular value decomposition for each linear layer of a pre-trained LLM multiplied by the covariance matrix of the input activation using these samples. The inverse of the covariance matrix is multiplied with the decomposed components to reconstruct the original weights. By doing so, the context of the representative samples is captured through deciding the factorizing orientation. Our method enables two options, the knowledge-preserved adaptation and the instruction-previewed adaptation. For the former, we use question-answering samples to obtain the covariance matrices, and use the decomposed components with the smallest $r$ singular values to initialize a learnable adapter, with the others frozen such that the world knowledge is better preserved. For the latter, we use the instruction data from the fine-tuning task, such as math or coding, to orientate the decomposition and train the largest $r$ components that most correspond to the task to learn. We conduct extensive experiments on Math, Code, and Instruction Following tasks.

📄 PDF Abstract BibTeX arXiv:2406.05223

Code (1)

iboing/corda 공식 구현 pytorch

Tasks

Instruction FollowingMathparameter-efficient fine-tuningQuestion AnsweringWorld Knowledge

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Beyond Bounding-Box: Convex-Hull Feature Adaptation for Oriented and Densely Packed Object Detection

2021-06-19 · CVPR 2021 1 · Zonghao Guo, Chang Liu, Xiaosong Zhang, Jianbin Jiao 외

Detecting oriented and densely packed objects remains challenging for spatial feature aliasing caused by the intersection of reception fields between objects. In this paper, we propose a convex-hull feature adaptatio…

object-detectionObject DetectionObject Detection In Aerial Images

Reaction Network Analysis of Metabolic Insulin Signaling

2022-04-10 · Patrick Vincent N. Lubenia, Eduardo R. Mendoza, Angelyn R. Lao

Absolute concentration robustness (ACR) and concordance are novel concepts in the theory of robustness and stability within Chemical Reaction Network Theory. In this paper, we have extended Shinar and Feinberg's reaction…

Novel Concepts

User Satisfaction Modeling with Domain Adaptation in Task-oriented Dialogue Systems

2022-09-01 · SIGDIAL (ACL) 2022 9 · Yan Pan, Mingyang Ma, Bernhard Pflugfelder, Georg Groh

User Satisfaction Estimation (USE) is crucial in helping measure the quality of a task-oriented dialogue system. However, the complex nature of implicit responses poses challenges in detecting user satisfaction, and most…

Action RecognitionDomain AdaptationTask-Oriented Dialogue SystemsUnsupervised Domain Adaptation

Concordance probability in a big data setting: application in non-life insurance

2019-11-14 · Robin Van Oirbeek, Christopher Grumiau, Tim Verdonck

The concordance probability or C-index is a popular measure to capture the discriminatory ability of a regression model. In this article, the definition of this measure is adapted to the specific needs of the frequency a…

regression

Context Oriented Software Middleware

2019-01-13 · Basel Magableh

Our middleware approach, Context-Oriented Software Middleware (COSM), supports context-dependent software with self-adaptability and dependability in a mobile computing environment. The COSM-middleware is a generic and p…