Quantifying the dissimilarity of two texts is an important aspect of a number of natural language processing tasks, including semantic information retrieval, topic classification, and document clustering. In this paper, we compared the properties and performance of different dissimilarity measures $D$ using three different representations of texts -- vocabularies, word frequency distributions, and vector embeddings -- and three simple tasks -- clustering texts by author, subject, and time period. Using the Project Gutenberg database, we found that the generalised Jensen--Shannon divergence applied to word frequencies performed strongly across all tasks, that $D$'s based on vector embedding representations led to stronger performance for smaller texts, and that the optimal choice of approach was ultimately task-dependent. We also investigated, both analytically and numerically, the behaviour of the different $D$'s when the two texts varied in length by a factor $h$. We demonstrated that the (natural) estimator of the Jaccard distance between vocabularies was inconsistent and computed explicitly the $h$-dependency of the bias of the estimator of the generalised Jensen--Shannon divergence applied to word frequencies. We also found numerically that the Jensen--Shannon divergence and embedding-based approaches were robust to changes in $h$, while the Jaccard distance was not.
Quantifying patterns of punctuation in modern Chinese prose
Faculty of Computer Science and Telecommunications, Cracow University of Technology(克拉科夫理工大学计算机科学与电信学院);Institute of Nuclear Physics, Polish Academy of Sciences(波兰科学院核物理研究所);School of Modern Languages, Georgia Institute of Technology(佐治亚理工学院现代语言学院)
Cognitive Linguistic Identity Fusion Score (CLIFS): A Scalable Cognition-Informed Approach to Quantifying Identity Fusion from Text
Center for Complex Networks and Systems Research, Luddy School of Informatics, Computing, and Engineering, Indiana University Bloomington(复杂网络与系统研究中心,信息学、计算与工程学院,印第安纳大学布卢明顿分校);Cognitive Science Program, Indiana University Bloomington(认知科学项目,印第安纳大学布卢明顿分校);School of Data Science, University of Virginia(数据科学学院,弗吉尼亚大学);CulturePulse, Inc.(CulturePulse公司)
Modeling the Attack: Detecting AI-Generated Text by Quantifying Adversarial Perturbations
Computer Science \& Engineering National Institute of Technology Silchar, India lekkalad\ ug\;Computer Science \& Engineering National Institute of Technology Silchar, India annepaka22\;Computer Science \& Engineering National Institute of Technology Silchar, India sangams\ ug\;Computer Science \& Engineering BML Munjal University Haryana, India;Computer Science \& Engineering National Institute of Technology Silchar, India
Large Language Model Hacking: Quantifying the Hidden Risks of Using LLMs for Text Annotation
Bocconi University(博科尼大学);University of Zurich(苏黎世大学);University of Gothenburg(哥德堡大学);LIACS, Leiden University(莱顿大学高级计算机科学研究院);GESIS, Leibniz Institute for the Social Sciences(莱布尼茨社会科学研究所)