Skip to content

Add Cross Attention Labels / Text #24

Closed

Description

@meilame-tayebjee

Implement cross attention between labels and text embedding.

Examples:
Here, they call it Label Attention (queries are labels and key/value are text embedding, the labels attend to tokens to get the label-attend text repr. )

Here, they compute also the text-attended label representations (query = text embedding, key/value = labels)...

This would enable another explainability pipeline, that would be independent from Captum, above all internal to the model structure itself.

Activity

  1. added
    enhancement
    explainability
    on Nov 24, 2025
  2. linked a pull request that will close this issue24 add cross attention labels text #60on Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementexplainability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions