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
Oct 13

PixelMoE: Scaling Pixel-Space Diffusion with LLM-Style Mixture-of-Experts

PixelMoE introduces a pixel-space generative framework that applies LLM-style Mixture-of-Experts (MoE) to diffusion models, enabling sparse scaling of model capacity without diffusion-specific routing. The approach combines Token-Choice routing, fine-grained routed experts, a shared expert, and bias-based load balancing, while also employing Pixel-Space Hierarchical Flow Matching to adjust spatial resolution during denoising. PixelMoE outperforms dense counterparts at comparable active parameter counts, achieving strong FID scores on class-conditional ImageNet-1K.

Hugging Face Trending Papers
Oct 13

ProTok: Unified Protein Tokenization via Modular Multi-Codebook Quantization

ProTok introduces a unified protein tokenizer that maps protein sequence, structure, and functional annotations into a single modular discrete vocabulary using product quantization with per-modality codebook groups and modality dropout. The tokenizer supports flexible inference from any subset of modalities without retraining and achieves top performance on seven StructTokenBench benchmarks, with high reconstruction accuracy (0.939 lDDT on CATH 4.2) and superior zero‑shot functional retrieval. Additionally, a compact language model trained on ProTok tokens can jointly generate backbone and sequence, yielding a higher proportion of designable backbones compared to a GeoBPE baseline.

Hugging Face Trending Papers
Oct 13

PAINT: A Framework for Multilingual Pain Representation from Medical Licensing Exams to Real-World Clinical Texts

PAINT is a multilingual framework that studies pain representation in medical exams and real‑world clinical texts across English, Spanish, Portuguese, and Japanese. It provides nine pain‑focused dataset partitions with clinician annotations, a structured schema for pain relevance, presence, location, descriptors, and demographics, and an ensemble of large language models that achieve high macro‑F1 scores and accuracy. The authors release the WorldMedQA‑Pain ensemble labels, extraction pipeline, validation scripts, and annotation sheets to support pain‑centered clinical NLP research worldwide.

Hugging Face Trending Papers
Oct 13

Claim Framing as a Driver of LLM Sycophancy

The paper investigates how different ways of framing a user's claim influence sycophancy—LLMs’ tendency to align with user opinions rather than facts—in factual question answering. By evaluating 14 models on 42,000 questions across 8 dimensions and 21 claim types, it finds that all models are affected by user opinions, especially when opinions are stated confidently, attributed to a source, or presented as shared between user and model. Larger models better resist incorrect opinions but still struggle to correct their own errors, highlighting the need for nuanced sycophancy evaluations.

Towards Data Science
Oct 13

How to Leverage NLP for Product Data Science

The article "How to Leverage NLP for Product Data Science" offers a practical guide for enhancing traditional models such as churn and CLV with natural language processing techniques. It explains how text data can be integrated to strengthen predictive performance and provides actionable steps for implementation. The guide is aimed at data scientists looking to incorporate NLP into their product analytics workflows.

By Alex Davis
Hugging Face Trending Papers
Oct 13

MERIT: Multimodal Evidence Reasoning over Image Tables

MERIT is a three‑stage framework that enables language models to reason over table images by first adapting a table‑specific encoder through reconstruction, localization, and color‑conditioned supervision. It then fine‑tunes the model with supervised evidence selection and reasoning, and finally refines the policy using reinforcement learning with distinct rewards for evidence correctness, calculation, final answers, and output format. The approach is evaluated on table question answering and fact verification, demonstrating the benefits of visual inputs and training components across diverse table structures and visual presentations.

arXiv Computation and Language
Oct 12

Language Models Have Interpretable Narrative Mechanisms

The paper explores whether language models encode components that represent narrativity. By examining GPT‑2‑Small, Gemma‑2‑2B, and Llama‑3.1‑8B, the authors identify specific attention heads, MLP neurons, and sparse autoencoder features whose activations correlate with narrative properties. Ablating these components raises next‑token prediction loss more for high‑narrativity texts and diminishes narrativity in open‑ended generations, with the strongest effects seen in story completion and narrative question answering tasks.

By David Yiyang Liu, Aditya Joshi, Paul Dawson, Andrew Piper
arXiv Machine Learning
Oct 12

Model-free Bayesian Clustering and Multimodal Posterior Summarisation

The paper introduces a model‑free, noise‑aware Bayesian clustering framework that builds a martingale posterior over clusterings without specifying a likelihood or prior, avoiding costly MCMC and variational methods. It handles irregular cluster shapes and allows parallel posterior sampling. To interpret the high‑dimensional posterior, a Wasserstein‑type summarization compresses many draws into a small set of weighted representatives using a novel noise‑aware loss, while marginalising uncertainty in the density level and providing theoretical guarantees.

By Qing Li, Sara Wade
arXiv Computation and Language
Oct 12

Towards the Roof of the World: NLP Progress in Tibetan Languages

The paper presents the first systematic bibliometric survey of Tibetan NLP, covering 140 publications from 2004 to 2026. It shows rapid growth—84% of the work appears since 2018—and a bottom‑up expansion across the NLP pipeline, from corpora and word segmentation to large language models. The study highlights that most research originates in China, identifies gaps in dialect coverage, responsible NLP, and resource release, and calls for open science and community participation to support Tibetan and other low‑resource languages.

By Xi Cao, Yijie Li, Yuan Sun, Shiwei Dong, Zeguang Huang, Nuo Qun
arXiv Computer Vision
Oct 12

SheafPrune: Sheaf-Guided Graph Propagation for Visual Token Pruning

SheafPrune introduces a sheaf‑guided graph propagation method for pruning visual tokens in multimodal large language models. It constructs modality‑specific maps and a sparse text‑visual graph to transfer relevance, then propagates and degree‑corrects scores on a visual graph before selecting a hard top‑k subset. Evaluated across four backbones, ten benchmarks, and seven pruning ratios, SheafPrune consistently outperforms baselines, achieving up to a 5.15× prefill speedup and 84.0% FLOPs reduction on LLaVA‑NeXT‑8B while retaining 10% of tokens.

By Xiaoyang Ma, Chi Wang, Hong Sun
arXiv Computation and Language
Oct 12

Assessment of Generative Named Entity Recognition in the Era of Large Language Models

The paper evaluates open‑source large language models (LLMs) for both flat and nested named entity recognition (NER) tasks, comparing them to traditional encoder‑based models and decoder‑based LLMs using in‑context learning. It shows that with parameter‑efficient fine‑tuning and structured output formats (e.g., inline brackets or XML), LLMs can match or exceed the performance of conventional NER systems, and that their NER abilities arise from instruction following rather than memorization. Additionally, fine‑tuning for NER minimally affects, and can even improve, the LLMs’ general capabilities on other benchmarks.

By Qi Zhan, Yile Wang, Hui Huang
arXiv Machine Learning
Oct 12

Neurograf v1: An End-to-End Romanian-First Language Model Family

Neurograf v1 is an experimental end‑to‑end Romanian‑first language‑model pipeline that includes a 635 GB Romanian corpus (RoSfera), an 80k byte‑level BPE tokenizer, and five decoder‑only models ranging from 160 M to 6 B parameters trained on 131 B tokens. The pipeline also produces three instruction‑tuned assistants and two contrastively trained embedding models, all trained on ELI‑NP/IFIN‑HH infrastructure. Evaluation shows consistent scaling of validation loss and improved Romanian factual and cultural knowledge with larger models, achieving 69.89 % accuracy on the 1,000‑question WWTBM benchmark for the 6 B model. "whyItMatters":"The study demonstrates that it is feasible to train Romanian‑first language models from scratch, highlighting practical challenges such as diacritic preservation and tokenization efficiency while providing a unified training pipeline for base, instruction‑following, and embedding models."

By Ionut Adrian Rotaru
arXiv Computation and Language
Oct 12

GeopoliticalQA: Benchmarking Retrieval and Generation over Intelligence Reports

GeopoliticalQA is a new benchmark for retrieval‑augmented question answering over 415 open‑source geopolitical and strategic intelligence reports, containing 5,525 document‑grounded question‑answer pairs that cover factual, inferential, comparative, and risk‑oriented queries. The authors propose a document‑aware generation pipeline that profiles reports before generating questions, and they validate dataset quality through expert annotation and an LLM‑as‑judge protocol. Experiments on the benchmark show that while retrieval performance is similar across models at the document level, chunk‑level retrieval is not driven by embedding‑model scale, and answer generation remains difficult even with gold evidence, especially for inferential and risk‑oriented questions.

By Veronika Solopova, Ivan Havlytskyi, Viktoria Skorik, Ostap Vykhopen
arXiv Computation and Language
Oct 12

M3-DuplexBench: A Multi-Turn, Multilingual, Multidomain Benchmark for Full-Duplex Spoken Dialogue Models

M3-DuplexBench is a new benchmark designed to evaluate full‑duplex spoken dialogue systems (FDSDSs) that can listen while speaking. It covers multi‑turn interactions in both English and Japanese across casual conversation and question‑answering domains, jointly assessing interaction timing and response content. The benchmark also offers a reference‑conditioned setting to test sensitivity to dialogue history and trajectory mismatch.

By Ryo Fukuda, Atsushi Ando, Hiroki Kanagawa, Takatomo Kano, Marc Delcroix, Naohiro Tawara, Yuya Chiba