Depth-Wise Attention (DWAtt): A Layer Fusion Method for Data-Efficient Classification
Muhammad ElNokrashy, Badr AlKhamissi, Mona Diab

TL;DR
This paper introduces Depth-Wise Attention (DWAtt), a novel layer fusion method that enhances data efficiency in classification tasks by effectively utilizing intermediate layer features of pretrained language models.
Contribution
The paper proposes DWAtt, a new layer fusion technique that improves the use of intermediate features in deep models, outperforming simple concatenation and baseline models in few-shot learning scenarios.
Findings
DWAtt outperforms concatenation in data efficiency.
Layer fusion yields 3.68-9.73% F1 improvement on CoNLL-03 NER.
DWAtt is more effective with larger data sizes.
Abstract
Language Models pretrained on large textual data have been shown to encode different types of knowledge simultaneously. Traditionally, only the features from the last layer are used when adapting to new tasks or data. We put forward that, when using or finetuning deep pretrained models, intermediate layer features that may be relevant to the downstream task are buried too deep to be used efficiently in terms of needed samples or steps. To test this, we propose a new layer fusion method: Depth-Wise Attention (DWAtt), to help re-surface signals from non-final layers. We compare DWAtt to a basic concatenation-based layer fusion method (Concat), and compare both to a deeper model baseline -- all kept within a similar parameter budget. Our findings show that DWAtt and Concat are more step- and sample-efficient than the baseline, especially in the few-shot setting. DWAtt outperforms Concat on…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Multimodal Machine Learning Applications
MethodsTest
