Gram2Vec: An Interpretable Document Vectorizer
Peter ZengHannah StortzEric SclafaniAlina ShabaevaMaria Elizabeth GarzaDaniel Greeson
Owen Rambow Peter Zeng
Hannah Stortz
Eric Sclafani
Alina Shabaeva
Maria Elizabeth Garza
Daniel Greeson

Owen Rambow
+7
Gram2Vec embeds documents by extracting normalized relative frequencies of grammatical features, producing interpretable vectors without neural black boxes. The system is applied to two tasks: authorship verification, where the features explain same-or-different author judgments, and AI detection, where a classifier trained on Gram2Vec features outperforms models using comparable Biber features.

arXiv ·
· June 17, 2024