Natural language processing

Classical and neural NLP: translation, question answering, tokenization and the evaluation of language understanding.

2,641 stories · RSS feed

arXiv AI
Aug 19

Attention Flows: Tracing LLM Conceptual Engagement via Story Summaries

The paper investigates how large language models (LLMs) engage with long-form narratives by comparing their generated novel summaries to human-authored ones. Researchers align sentences from 150 human-written summaries to specific chapters, highlighting the challenge of this alignment task and the complexity of summarization. They find stylistic differences and that LLMs tend to focus more on the ends of texts, suggesting insights into why models may struggle with narrative comprehension.

By Rebecca M. M. Hicke, Sil Hamilton, David Mimno, Ross Deans Kristensen-McLachlan
arXiv AI
Aug 19

MCTS-KBQA: Monte Carlo Tree Search with Information Gain Rewards for Knowledge Base Question Answering

The paper introduces Fast MCTS, a Monte Carlo Tree Search approach for knowledge base question answering that replaces costly terminal rollouts with an information gain reward for intermediate states. This reward is computed using a question‑conditioned PPL‑ratio proxy over sanitized interaction histories, leveraging an open‑source instruction LLM without extra training. Experiments on four KBQA benchmarks demonstrate that Fast MCTS consistently outperforms linear baselines and improves the accuracy‑cost trade‑off compared to classic rollout‑based MCTS.

By Guanming Xiong, Haochen Li, Zonghong Dai, Liqiang Wen, Wen Zhao
arXiv AI
Aug 19

Potential of ChatGPT in predicting stock market trends based on Twitter Sentiment Analysis

The paper explores whether ChatGPT can predict stock market movements by analyzing Twitter sentiment. Using tweets about Microsoft and Google, the study finds a positive correlation between ChatGPT’s sentiment assessments and the subsequent stock performance of both companies. The results suggest that ChatGPT’s language understanding can translate social media sentiment into useful financial forecasts.

By Ummara Mumtaz, Summaya Mumtaz
arXiv Machine Learning
Aug 19

Large Language Models: A Mathematical Formulation

The article presents a mathematical framework for large language models (LLMs), detailing how text sequences are encoded into tokens, how next‑token prediction architectures are defined, and how these models are trained and deployed for tasks such as summarization, recommendation, software writing, and quantitative problem solving. It emphasizes that the framework relies on basic concepts from information theory, probability, and optimization, yet captures the complex algorithmic structure responsible for LLMs’ empirical successes. The authors argue that this formalism enables the study of accuracy, efficiency, and robustness, and points toward new methodological developments.

By Ricardo Baptista, Andrew Stuart, Son Tran
arXiv AI
Aug 19

Convergent Evolution: How Different Language Models Learn Similar Number Representations

The paper shows that language models trained on natural text develop number representations that exhibit periodic features with dominant periods at T = 2, 5, 10. It identifies a two‑tiered hierarchy: all models learn Fourier‑domain spikes at these periods, but only some acquire geometrically separable features that allow linear classification of numbers modulo T. The study demonstrates that data, architecture, optimizer, and tokenizer influence whether these separable features emerge, and that models can learn them either from co‑occurrence signals in language or from multi‑token addition tasks, illustrating convergent evolution across diverse models.

By Deqing Fu, Tianyi Zhou, Mikhail Belkin, Vatsal Sharan, Robin Jia
arXiv AI
Aug 19

Parametric Knowledge in RAG-SFT for Domain-Specific Document Generation

The paper investigates Retrieval-Augmented Generation fine‑tuning (RAG‑SFT) for generating requirements documents in electronics engineering, comparing two 7B models trained with different data strategies. It introduces a claim‑based evaluation pipeline, C‑FEX, and a new metric, Parametric Knowledge Precision (PKP), to assess factuality of model‑generated claims. Results show that fine‑tuned 7B models can match or surpass a 72B baseline, but standard metrics may mislead, and fine‑tuning reduces hallucination by encouraging more reliable use of parametric knowledge.

By Julian Oestreich, Maximilian Bley, Frank Binder, Lydia M\"uller, Andr\'e Alcalde, Maksym Sydorenkoq
arXiv Machine Learning
Aug 19

Temporal Leakage in Financial News NLP: A Multi-Architecture Audit with a Regime-Specific M&A Signal

The paper audits the impact of temporal leakage on financial-news direction prediction across 49,799 articles and 16 feature-model combinations, including TF‑IDF, MiniLM, FinBERT, and fine‑tuned RoBERTa‑large / DeBERTa‑v3‑large, as well as zero/few‑shot and LoRA probes of Llama‑3 and Qwen2.5. Random train‑test splits inflate MCC scores by 1.1× to 6.5×, with larger models and richer features showing greater gains, while end‑to‑end FinBERT fine‑tuning actually increases the gap. Only the mergers and acquisitions (M&A) category shows a positive locked‑test signal under near‑temporal chronological evaluation, with the signal localized to 2024‑2025 European‑tilted M&A semantics and not transferring to a 2009‑2020 U.S. corpus.

By Chenhao Xue, Raslen Guesmi, Siwei Feng, Yucheng Gong, Jacob Xavier Sundram, Jordan Pang, Lan Wang, Julian Kaljuvee
arXiv AI
Aug 19

Hidden Prompts in Manuscripts Exploit AI-Assisted Peer Review

The article reports that in July 2025, 18 arXiv manuscripts contained hidden instructions designed to manipulate AI‑assisted peer review, such as covert commands to give only positive reviews. These prompts were concealed using white text and microscopic fonts, and the authors’ reactions ranged from withdrawal to defending the practice as a test of reviewer misuse of large language models. The study identifies four types of hidden prompts, critiques the ineffectiveness of honeypot defenses, and highlights inconsistent publisher policies while calling for controlled AI integration and harmonized guidelines in academic evaluation.

By Zhicheng Lin
Hugging Face Trending Papers
Aug 18

TokEval: A Tokenizer Evaluation Suite

TokEval is a tokenizer evaluation suite that introduces metrics beyond traditional fertility and compression rate, capturing linguistically and structurally meaningful properties such as UTF-8 character boundary integrity and digit place-value alignment for mathematics. The authors validate these metrics by conducting controlled language model pretraining experiments that vary tokenizer training data, pretokenization strategy, and training algorithm, then evaluate the models on bits-per-byte and benchmarks covering linguistic understanding, mathematical reasoning, and code generation. Results show that information-theoretic metrics predict language modeling performance, while structure-sensitive metrics correlate with task accuracy, suggesting TokEval can guide tokenizer selection more principledly.

arXiv Machine Learning
Aug 18

SAGA: Structure-Attended Generative Action Embedding Model that encodes Multi-Surface User Action Sequences

arXiv:2608. 15429v1 Announce Type: new Abstract: Prior embedding models for sequential recommendation typically operate within a homogeneous action space, limiting their ability to capture cross-surface behavioral signals spanning distinct behavioral domains.

By Tsz Fung Pang, Po Jen Chen, Nimish Ronghe, Farhad Farahani, Bo Zhang
arXiv AI
Aug 18

AWED-PIPER: Agents, Web Applications & Expert Detectors for Personally Identifiable Information Protection & Fine-grained Named Entity Recognition across 36 languages for 6.6 Billion Speakers

arXiv:2601. 10161v3 Announce Type: replace-cross Abstract: Named Entity Recognition (NER) and Personally Identifiable Information (PII) anonymization are critical tasks in Natural Language Processing (NLP) for information extraction and privacy preservation.

By Prachuryya Kaushik, Ashish Anand
arXiv AI
Aug 18

A Large-Scale Chinese Knowledge Graph-Text Alignment Dataset for Benchmarking Knowledge-Grounded LLMs

arXiv:2510. 06039v2 Announce Type: replace-cross Abstract: Reliable evaluation of knowledge-grounded Large Language Models (LLMs) in Chinese requires resources that explicitly align Chinese-language text with verifiable Knowledge Graph (KG) facts.

By Chengwei Wu, Xingrui Zhuo, Mingyang Gao, Xinghe Cheng, Zhichao Yan, Jiapu Wang
arXiv Machine Learning
Aug 18

QSMP: finding representative time series subsequences through Quick Shift+Matrix Profile

arXiv:2608. 15492v1 Announce Type: new Abstract: Finding representative waveforms in long time series has scientific and practical value in many domains, as it enables summarization and visualization of large time series datasets, and downstream tasks like classification and forecasting.

By Carlos H. Mendoza-Cardenas, Rogers F. Silva, Austin J. Brockmeier