Natural language processing

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

3,474 stories · RSS feed

Hugging Face Trending Papers
Aug 19

Assessing Quality of Experience in Natural Language Generation of German Text

The paper introduces TextQ‑German, a dataset suite for evaluating German natural language generation (NLG) from a Quality of Experience (QoE) perspective, covering tasks such as summarization and machine translation. Human ratings collected via crowdsourcing identify perceptual quality dimensions, and the authors develop automatic QoE prediction models—including transformer‑based, linguistic feature‑based, and hybrid approaches—showing that hybrid models outperform pure transformers and that linguistic features alone can rival fine‑tuned language models. The dataset is further enriched with large language model (LLM) outputs annotated with overall QoE scores, and validation on held‑out data demonstrates generalization to unseen data. "whyItMatters":"The resource provides a publicly accessible benchmark and baseline models for human‑centered NLG evaluation, enabling the development of systems that better align with human quality perception."

Hugging Face Trending Papers
Aug 19

SIDScope: A Diagnostic Resource for Semantic-ID Interfaces in Generative Recommendation

SIDScope is a diagnostic tool that evaluates Semantic-ID mappings used between item tokenizers and generative recommenders. It normalizes artifacts, verifies provenance, profiles mapping structure, compares revisions, and tracks path-to-item outcomes in generated traces. Using data from Amazon and Yelp, SIDScope shows that interface health depends on multiple signals, revealing gaps in prefix alignment, trace accounting, and refresh handling that affect model reuse.

Hugging Face Trending Papers
Aug 19

TranslatePsy-AfriSLM: High-Quality Data Scaling For Low-Resource Machine Translation

TranslatePsy-AfriSLM is an open‑source machine‑translation resource set for 19 Sub‑Saharan African languages, comprising curated parallel data, African‑specialized synthetic data, and a suite of fine‑tuned small language models (SLMs). The authors demonstrate that a unified quality‑estimation filtering can discard up to 96% of training tokens while preserving quality, and that filtered synthetic data dominates the quality‑efficiency Pareto frontier. Models trained on this curated mixture outperform larger systems such as TranslateGemma‑27B and Qwen3.5‑122B‑A10B, achieving superior performance with as few as 0.8 B parameters.

arXiv AI
Aug 19

PXDepth: Pixel-Space Modeling for Structure Preserving Monocular Depth Estimation

PXDepth is a monocular depth estimation model that separates global context modeling from pixel-level depth prediction. It uses a large-patch Vision Transformer to capture scene context and a pixel-space predictor with Context‑Modulated Pixel Transformer blocks to preserve high‑resolution spatial details. The approach maintains fine structures and sharp boundaries while achieving competitive global depth accuracy in zero‑shot benchmarks.

By Zhiyuan Yuan, Guanying Chen, Lingteng Qiu, Ruimao Zhang, Shuguang Cui, Xiaochun Cao
arXiv AI
Aug 19

WIP: LLM Odyssey: A Game-Based Platform for Teaching LLM Engineering Concepts

WIP: LLM Odyssey is an open‑source, browser‑based serious gaming platform that offers 13 interactive games to teach Large Language Model engineering concepts such as tokenization, transformer architecture, prompt engineering, RAG, and production deployment. The platform is organized into three learning tiers—Cognitive Core, Systems Forge, and Foundry Arena—aligned with Bloom’s revised taxonomy, and each game employs five pedagogical strategies including immediate feedback, scaffolded hints, progressive difficulty, worked examples, and authentic production scenarios. An initial deployment at a Canadian college in Winter 2026 confirmed functional requirements, highlighted the need for adaptive difficulty, and led to the design of a formal mixed‑methods evaluation protocol for future studies.

By Priyamvada Tripathi
arXiv Machine Learning
Aug 19

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 pretraining language models with varied tokenizers and measuring downstream performance on bits‑per‑byte and benchmarks covering linguistic understanding, mathematical reasoning, and code generation. Their 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.

By Clara Meister
arXiv Machine Learning
Aug 19

MITRE-SAGE: A Multi-Agent Cybersecurity Question-Answering model

MITRE‑SAGE is a multi‑agent retrieval‑augmented generation framework that combines semantic and structural cybersecurity knowledge to enhance large language model question‑answering. It decomposes tasks into query interpretation, evidence retrieval, and answer synthesis, supporting vulnerability assessment, threat profiling, and relationship extraction. Experiments show that MITRE‑SAGE outperforms standalone LLMs and conventional RAG methods, with a lightweight Qwen2.5‑based configuration excelling on most benchmark tasks.

By Ali Habibzadeh, Farid Feyzi, Reza Ebrahimi Atani
arXiv AI
Aug 19

MoRA: Mobility as the Backbone for Geospatial Representation Learning at Scale

MoRA is a human‑centric geospatial representation learning framework that uses a large mobility graph as its backbone to fuse spatial tokenization, graph neural networks, and asymmetric contrastive learning. It aligns over 100 million points of interest, massive remote sensing imagery, and structured demographic data with a billion‑edge mobility graph, producing compact 128‑dimensional embeddings that capture socio‑economic context and functional roles of locations. On a benchmark of nine downstream social and economic prediction tasks, MoRA outperforms state‑of‑the‑art models by an average of 12.9% and demonstrates scaling behavior analogous to large language models.

By Ya Wen, Jixuan Cai, Qiyao Ma, Linyan Li, Xinhua Chen, Chris Webster, Yulun Zhou
arXiv AI
Aug 19

Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Task

The paper explores energy-aware knowledge distillation for large language models (LLMs) used in software engineering tasks such as clone detection, vulnerability prediction, and code summarization. It shows that the commonly used FLOPs metric does not reliably reflect actual energy consumption, and that using energy-surrogate models during distillation can reduce inference energy by up to 90% and memory usage by 86% with only modest accuracy loss. The study demonstrates that guiding distillation with direct energy estimates improves the sustainability and deployability of LLMs on consumer hardware.

By Enrique Barba Roque, Lu\'is Cruz, Annibale Panichella
arXiv AI
Aug 19

Gradient Heterogeneity Complements Hessian Heterogeneity in Transformer Optimization

The paper investigates why adaptive optimizers like Adam outperform SGD when fine‑tuning Transformers. It introduces gradient heterogeneity—the variation in gradient norms across parameter blocks—and shows, both theoretically and experimentally, that this heterogeneity, together with Hessian heterogeneity, hampers SGD convergence while sign‑based methods such as SignSGD are less affected. The study links the source of gradient heterogeneity to layer‑normalization placement, finding that Post‑LN architectures exhibit the strongest effect, and uses SignSGD as a tractable proxy to analyze Adam‑like behavior and learning‑rate scaling.

By Akiyoshi Tomihari, Issei Sato
arXiv AI
Aug 19

Why GPT-Style Models Do Not Directly Transfer to Symbolic Music: Compression in the Wrong Coordinate System

The paper explains why GPT‑style language models fail to transfer directly to symbolic music. It argues that success in language comes from tokenization that compresses data by creating a coordinate system where recurring patterns become predictable. For music, the authors propose that tokenization must build a predictively effective, relationally lossless coordinate system—defining Fact–Token and Token–State boundaries—to enable compression without sacrificing contextual freedom. Controlled experiments confirm that proper coordinate construction improves predictive compressibility, whereas mere sequence compaction does not.

By Yi Wang
arXiv AI
Aug 19

Cross-Model Memory Transfer via Target-Side Reader Adaptation

The paper investigates how Engram-style hashed memory can be transferred between different language model backbones. By freezing a memory table trained on a source model and attaching it to a target model with only a lightweight reader, the authors find that both the memory content and correct addressing are important, but the reader must be aligned to the target to make the memory useful. In question‑answering experiments, a dual‑layer, four‑branch reader nearly matches same‑model performance, and when the reader interface is directly compatible, the frozen memory alone provides substantial benefit, with optional reader adaptation offering further gains.

By Mingyuan Li, Guangsheng Yu, Xu Wang, Shaoxiong Ji
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

Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoning

The paper introduces the Structure-Internalized Rule Language Model (SIRLM) to improve Knowledge Graph Reasoning (KGR) by addressing the mismatch between KG structural context and Large Language Model (LLM) parametric knowledge. SIRLM centers on a Structure-Internalized Rule Generator (SIRG) that uses in-context learning, a structural relation memory, a KG tokenizer, and a neuro-symbolic reasoner to generate structural rules and provide faithful rule-execution feedback. Experiments on 36 datasets against 17 state‑of‑the‑art KGR methods show that SIRLM achieves significant performance gains.

By Xingrui Zhuo, Jiapu Wang, Manzong Huang, Gongqing Wu, Xindong Wu
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