NoPPA: Non-Parametric Pairwise Attention Random Walk Model for Sentence Representation

Xuansheng Wu, Zhiyi Zhao, Ninghao Liu
2/24/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

We propose a novel non-parametric/un-trainable language model, named Non-Parametric Pairwise Attention Random Walk Model (NoPPA), to generate sentence embedding only with pre-trained word embedding and pre-counted word frequency. To the best we know, this study is the first successful attempt to break the constraint on bag-of-words assumption with a non-parametric attention mechanism. We evaluate our method on eight different downstream classification tasks. The experiment results show that NoPPA outperforms all kinds of bag-of-words-based methods in each dataset and provides a comparable or better performance than the state-of-the-art non-parametric methods on average. Furthermore, visualization supports that NoPPA can understand contextual topics, common phrases, and word causalities. Our model is available at https://github.com/JacksonWuxs/NoPPA.

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. Any repos shown below are weak matches — 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{wu2023noppa,
  title  = {NoPPA: Non-Parametric Pairwise Attention Random Walk Model for Sentence Representation},
  author = {Xuansheng Wu and Zhiyi Zhao and Ninghao Liu},
  year   = {2023},
  eprint = {2302.12903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.12903v1}
}

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/2302.12903.svg)](https://codeofpaper.com/paper/2302.12903)

Discussion