GithubHelp home page GithubHelp logo

t2t_project's Introduction

Transformer DPP w/fairseq

Title: Diverse Multi-Head Attention with Determinantal Point Processes

Abstract: Transformer network, introduced by the paper: Attention is All You Need, improved the state-of-the-art performances of Natural Language Processing task like machine translation. Transformer Network uses self-attention mechanism for each layer of its encoders and decoders. When using self-attention mechanism, transformer network also utilizes new mechanism which is the “multi-headed” attention. This not only enhances the model’s ability to attend to different positions of the sentence, but also gives multiple representation subspaces for the attention layers. Here, diversity is an important aspect for multi-headed attention since each attention heads should focus on diverse positions of the sentence in order to fully capture the meaning of the sentence. Here, we will utilize Determinantal Point Processes (DPP), a probabilistic model defined on item sets that is used to select sets of items that are balanced in both quality and diversity. Using DPP, we will be able to enforce attention heads to be both diverse and qualitatively appropriate. We will test this DPP-based Transformer Network on translation tasks using conventional dataset, or possibly real-world datasets.

t2t_project's People

Contributors

yongjin-shin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.