Towards Data Science By Nahid Ahmadvand

How Far Can Classical NLP Go? From Bag-of-Words to Stacking on Spooky Author Identification

Read the original on Towards Data Science →

An end-to-end classical NLP experiment on Kaggle’s Spooky Author Identification task: from Vowpal Wabbit and TF-IDF/NB-SVM baselines to a tuned stacked ensemble, with a compact representation survey of Bag-of-Words, BM25, Word2Vec, and FastText for context. The post How Far Can Classical NLP Go?

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

Towards Data Science
Oct 14

How Do Word Embeddings Capture Relationships Between Words?

The article explores how word embeddings encode relationships between words within a learned vector space. It explains the mechanisms by which words become related through their positions and distances in that space. The post provides insights into the underlying processes that allow embeddings to capture semantic connections.

By Nikhil Dasari
arXiv Computation and Language
Oct 5

Ontological Instability and Statistical Amplification: The Paradox of "Humanizing" LLM-Generated Text

The paper investigates why supervised AI‑text detectors, specifically a RoBERTa‑based model, can be fooled by subtle changes in language. By applying semantic, structural, and tokenizer‑level perturbations to a large dataset and controlled Mistral‑7B‑Instruct outputs, the authors show that increasing verb diversity makes machine text easier to detect and that detection scores correlate with statistical complexity, leading to a high false‑positive rate on formal human writing. They also evaluate an event‑based latent space detector, finding that paraphrasing and homoglyphs significantly alter extracted event sequences and verbs, yet the detector’s performance remains modest (AUC 0.577).

By Claudiu Creanga, Liviu Dinu
arXiv Computation and Language
Oct 5

Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metrics

The article introduces two new authorship attribution metrics, Rank‑Turbulence Delta and Jensen‑Shannon Delta, which extend Burrows’s classical Delta by using distance functions suited to probabilistic distributions. It explains the theoretical foundations, contrasts centred versus uncentred z‑scoring, and presents a token‑level decomposition that makes each Delta distance numerically interpretable. The methods are evaluated on four multilingual literary corpora, showing that Rank‑Turbulence Delta matches Cosine Delta in accuracy while Jensen‑Shannon Delta often outperforms the traditional Delta, and the study also reassesses existing attribution algorithms on a large Russian benchmark.

By Dmitry Pronin, Evgeny Kazartsev
Towards Data Science
Aug 29

RAG Is Not the Whole Toolkit: The NLP Techniques Real Problems Still Need

The article argues that Retrieval-Augmented Generation (RAG) is only one tool in NLP, and many real-world problems—such as request classification, free‑text matching, table reading, and OCR noise cleaning—are better served by simpler, cheaper techniques. It emphasizes the importance of selecting the appropriate method for each task and highlights the engineering challenge of knowing which technique to apply.

By Kezhan Shi