Bitune: Leveraging Bidirectional Attention to Improve Decoder-Only LLMs

Dawid J. Kopiczko, Tijmen Blankevoort, Yuki M. Asano
5/23/2024
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Decoder-only large language models typically rely solely on masked causal attention, which limits their expressiveness by restricting information flow to one direction. We propose Bitune, a method that enhances pretrained decoder-only LLMs by incorporating bidirectional attention into prompt processing. We evaluate Bitune in instruction-tuning and question-answering settings, showing significant improvements in performance on commonsense reasoning, arithmetic, and language understanding tasks. Furthermore, extensive ablation studies validate the role of each component of the method, and demonstrate that Bitune is compatible with various parameter-efficient finetuning techniques and full model finetuning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kopiczko2024bitune,
  title  = {Bitune: Leveraging Bidirectional Attention to Improve Decoder-Only LLMs},
  author = {Dawid J. Kopiczko and Tijmen Blankevoort and Yuki M. Asano},
  year   = {2024},
  eprint = {2405.14862},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14862v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14862.svg)](https://codeofpaper.com/paper/2405.14862)

Discussion