mlsanityData to 14 Oct 2026

Gram2Vec: An Interpretable Document Vectorizer

arXiv 2406.12131 ↗First posted 17 Jun 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

We present Gram2Vec, a grammatical style embedding system that embeds documents into a higher dimensional space by extracting the normalized relative frequencies of grammatical features present in the text. Compared to neural approaches, Gram2Vec offers inherent interpretability based on how the feature vectors are generated. In this paper, we use authorship verification and AI detection as two applications to show how Gram2Vec can be used. For authorship verification, we use the features from Gram2Vec to explain why a pair of documents is by the same or by different authors. We also demonstrate how Gram2Vec features can be used to train a classifier for AI detection, outperforming machine learning models trained on a comparable set of Biber features.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 2 of its 30 references that are in the map. First posted on arXiv 17 Jun 2024.

Builds on

2 of 30 references.

References · 2

  1. 2024Technical Report on the Pangram AI-Generated Text Classifiercited by 34
  2. 2023StyloMetrix: An Open-Source Multilingual Tool for Representing Stylometric Vectorscited by 14

Built on by

Not cited yet.