Giter VIP home page Giter VIP logo

attention-lstms-in-multimodal-models's Introduction

Attention LSTMs in Multimodal Models

Data Visualization Link

Draft Paper Link

Overview

This repository contains all models, experiments, and results from the paper Attention LSTMs in Multimodal Models. All models and experiments are implemented and executed with TensorFlow and Keras. Below is the organization structure:

  • AttentionBottleneckLSTM/ contains the overall utility file att_bott_utils.py, which has many helper functions as well as the model creation function for the Attention Bottleneck Mid Fusion Model.
    • create_att_bottleneck_model() creates the attention bottleneck mid fusion model
    • load_sequential_data() loads and transforms data into processible form for the model
    • create_flow() creates generators for model training and testing.
  • Conv2DAttentionLSTM/ contains files and helper functions for the Image Attention LSTM model. In conv2d_mha_utils.py, below are the important functions.
    • create_conv_mha_lstm_model() creates an Image Attention LSTM model
    • load_sequential_data() loads and transforms data specific to the model
    • create_flow() creates generators for training and testing
  • GraphAttentionLSTM/ contains files and helper functions for the Graph Attention LSTM model. In mhga_utils.py, below are the important functions.
    • create_graph_attention_lstm_model() creates a Graph Attention LSTM model
    • load_sequential_data() loads and transforms data specific to the model
    • create_flow() creates generators for training and testing
  • experiments/ are the colab notebooks used for experiments
  • Results_metric.xlsx contains the organized results that are also shown in the paper
  • imports.py is a file that contains all library imports needed for models. Due to some modules being session-based (Ex: TensorFlow), taking all imports from a single source makes sure only one session is created.

Prediction results in 20 training epochs

Attention Bottleneck Mid Fusion Model

Alt Text

LSTM Late Fusion Model

Alt Text

attention-lstms-in-multimodal-models's People

Contributors

nuowenlei avatar

Watchers

 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.