Skip to content

LSTM text classification with LRP #61

@doppler21

Description

@doppler21

I am trying to use DeepExplain to get attribution scores for my LSTM inputs directly using LRP.

I am feeding inputs that are feature vectors of dimension 500 to a BiLSTM (I am using max sequence length of 30) then using some dense layers and a Softmax activation at the end.

Suppose I want to explain an input with sequence length 25, each of these 25 are 500 dimension feature vector. The 25 sequence length will be padded to the max sequence length of 30. The issue is I do not have any embedding lookup in the model. I want to get the attribution scores for each feature vector (as there are no tokens/words as input in my model).

How do I do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions