Natural language processing

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

3,474 stories · RSS feed

arXiv Machine Learning
Oct 9

BioBigBird: A Sparse Attention Model for Long-Range Dependency Processing in Biomedical Text

BioBigBird is a bidirectional language model tailored for biomedical text that uses sparse attention to process sequences up to 4096 tokens, addressing the limited context windows of existing domain-specific LLMs. It is pre‑trained on extensive biomedical literature and clinical data, with a multi‑stage training process to reduce noise and a multi‑task learning framework that jointly optimizes Named Entity Recognition and Relation Extraction. Evaluations on the BLURB benchmark show that the MTL‑enhanced BioBigBird achieves highly competitive results against state‑of‑the‑art models, and the models are publicly available on Hugging Face.

By Roshan Balaji, Pavan Kumar S, Vasudev Gupta, Sreejith N, Keerthana Sridhar, Nirav Bhatt
arXiv Computation and Language
Oct 9

Language-Specific Effects of Tokenizer Choice in Multilingual Language Models

The study investigates how the choice of tokenizer influences multilingual language models across 54 tokenizers and 123 models. It finds that tokenizer impact is greater for languages with less training data, and that excluding a language from tokenizer training consistently worsens its performance. While reallocating tokenizer training data to lower-resource languages can help, it does not guarantee improvement, and the best tokenizer properties vary by language, enabling predictive screening of tokenizer candidates.

By Clara Meister, G\"ul Sena Alt{\i}nta\c{s}, Antoine Bosselut
arXiv Computation and Language
Oct 9

Enabling Quantum Natural Language Processing for Hindi Language

The paper "Enabling Quantum Natural Language Processing for Hindi Language" discusses extending Quantum Natural Language Processing (QNLP) beyond English to Hindi, the third most spoken language in South Asia. It outlines a method for constructing parameterized quantum circuits using the pregroup representation of Hindi and the DisCoCat framework, translating sentence diagrams into Instantaneous Quantum Polynomial (IQP) style ansatz. These circuits enable training of grammar- and topic-aware sentence classifiers for Hindi.

By Naman Srivastava, Gaurang Belekar, Gautami Sanjay Naik, Sunil Saumya, Aswath Babu H
arXiv Computation and Language
Oct 9

Large Language Models for Machine Translation Quality Annotation: Humans and Models Are Both Challenged

Large Language Models (LLMs) are being tested as a cost‑effective alternative to human judgment for evaluating machine translation (MT). This study compares LLM agreement with human annotators on two MT quality schemes—Multidimensional Quality Metrics (MQM) and Error Span Annotation (ESA)—across 70 language pairs and public WMT23/25 data. Results show that while LLMs sometimes match or exceed human agreement, performance varies widely by scheme, language, and domain, and remains unreliable in many settings. The work also identifies specific challenges for both humans (e.g., fine‑grained MQM, low‑resource languages) and LLMs (e.g., minor errors, wrong language variants, span annotation).

By Hala Almaghout, Christian Federmann, Qin Gao
arXiv AI
Oct 9

ActionCodec: What Makes for Good Action Tokenizers

The paper "ActionCodec: What Makes for Good Action Tokenizers" addresses the lack of design guidance for action tokenization in Vision‑Language‑Action (VLA) models. By deriving information‑theoretic principles—maximizing temporal token overlap, reducing vocabulary redundancy, boosting multimodal mutual information, and ensuring token independence—the authors propose ActionCodec, a tokenizer that improves training efficiency and VLA performance. Experiments show that a SmolVLM2‑2.2B fine‑tuned with ActionCodec reaches a 95.5 % success rate on LIBERO, rising to 97.4 % with architectural tweaks, setting a new state‑of‑the‑art for VLA models without robotics pre‑training.

By Zibin Dong, Yicheng Liu, Shiduo Zhang, Baijun Ye, Yifu Yuan, Fei Ni, Jingjing Gong, Xipeng Qiu, Hang Zhao, Yinchuan Li, Jianye Hao
arXiv AI
Oct 9

More Than Meets the Eye? Uncovering the Reasoning-Planning Disconnect in Training Vision-Language Driving Models

The paper introduces DriveMind, a large-scale driving Visual Question Answering corpus that aligns chain-of-thought reasoning with trajectory planning. Experiments with Vision‑Language Model agents show a causal disconnect: removing navigation priors significantly harms planning, while removing the chain-of-thought has little effect. The authors propose the Reasoning‑Planning Decoupling Hypothesis and present a training‑free probe to assess an agent’s reliance on priors.

By Xurui Song, Shuo Huai, JingJing Jiang, Jiayi Kong, Jun Luo
arXiv AI
Oct 9

Instruction-Conditioned Electromagnetic Spectrum Understanding via Budget-Adaptive Signal Tokenization

The paper introduces BATok, a budget‑adaptive tokenizer that converts raw I/Q electromagnetic signals into compact tokens suitable for multimodal large language models. BATok adjusts token capacity based on input length and signal content, using multi‑resolution features and a local energy prior to resample representations. The authors also present EMSpec‑Instruct, a dataset linking raw signals, waterfall images, and language instructions for tasks such as modulation recognition, structured detection, and signal grounding, and demonstrate that BATok achieves competitive performance across these tasks.

By Lei Zhai, Zhihao Chang, Shuyuan Yang, Zhixi Feng
arXiv Computation and Language
Oct 9

Structured Sentiment Analysis Using Sequence Labeling as Dependency Graph Parsing

The paper presents a method for structured sentiment analysis that constructs a fine‑grained sentiment graph with nodes for sentiment holders, targets, and expressions, and arcs for their relationships. It reframes the task as dependency graph parsing and solves it via sequence labeling, using linearized graph encodings to assign a label to each word. Experiments on seven datasets across five languages demonstrate that this approach achieves performance competitive with more complex single‑model methods.

By Muhammad Imran, Ana Ezquerro, Carlos G\'omez-Rodr\'iguez, Anders S{\o}gaard, David Vilares
arXiv Computer Vision
Oct 9

Do Not Train Away Uncertainty: Early Uncertainty Anchored Calibration

The paper introduces EUA‑Cal, a calibration method that preserves the early‑training uncertainty of deep neural networks. By regularizing predictions and feature prototypes based on the early model, EUA‑Cal mitigates overconfidence while maintaining accuracy. Experiments on image classification and multiple‑choice question answering across eight models show EUA‑Cal outperforms existing calibration techniques.

By Yutong Xie, Jiawei Tang, Zhenglin Hua, Yuxiang Ma, Si Qin, Yaxin Hou, Hui Liu, Junhui Hou, Yuheng Jia
arXiv Machine Learning
Oct 9

Multimodal Graph Retrieval-Augmented Sequential Recommendation via Collaborative Filtering Paths

The paper introduces MGRASRec, a multimodal graph retrieval-augmented framework that enhances sequential recommendation by incorporating collaborative filtering signals directly into a multimodal large language model (MLLM) prompt. It retrieves structured paths from a user-item interaction graph, extending them with multimodal similarity to broaden coverage and surface the most relevant history items for each candidate item. This approach eliminates the need for recurrent summarization, requiring only a single forward pass per candidate and achieving superior performance across three datasets, especially in ranking quality.

By Jason Marcell Setiadi, Xin Cao, Lina Yao
arXiv Computation and Language
Oct 9

Fact over Fiction: Detection of Pathological Hallucinations in Sinhala-to-English Neural Machine Translation

The paper presents a reference‑free framework for detecting hallucinations in Sinhala‑to‑English neural machine translation. It introduces a 45,000‑sample synthetic dataset created via five linguistically motivated corruption strategies and a semantic rescue mechanism that uses character‑level similarity. Using a fine‑tuned mDeBERTa‑v3 model, the authors achieve a token‑level F1 of 0.841 and demonstrate that the detector relies on the Sinhala source, not on surface artefacts, with an AUROC of 0.970 on a source‑disjoint test set. The study also benchmarks eight NMT systems, showing that hallucination rates vary by an order of magnitude across architectures.

By Navam Obeysekara, Nevidu Jayatilleke
arXiv Machine Learning
Oct 9

Phonologically Informed Tokenization for German Speech Recognition: A Cross-Domain Study

The study evaluates phonologically informed tokenization for German speech recognition using a wav2vec 2.0 backbone fine‑tuned with CTC. Three tokenizer families—pretrained multilingual characters, data‑driven BPE, and phonologically informed units from syllabification and grapheme‑to‑phoneme conversion—are compared across 40 fine‑tunes on three German test sets (in‑domain read, dialectal spontaneous, and standard spontaneous speech). Results show that phonologically informed tokenizers match BPE and character baselines in‑domain, but under domain shift their performance depends on vocabulary size rather than linguistic variation, with syllable‑aware tokenization benefiting dialectal and spontaneous speech at small vocabularies; a phoneme‑level confusion analysis indicates that the acoustic encoder dominates error patterns.

By Christopher Witzl, Tobias Bocklet, Korbinian Riedhammer
arXiv AI
Oct 9

ReTeach: Building a Self-Teacher through Multi-Round Reflection and Retry

ReTeach is a reflective self‑distillation framework that builds a self‑teacher through multiple rounds of reflection and retry, relying only on self‑generated attempts and outcome‑level verification. Starting from an unsuccessful student rollout, the teacher alternates explicit reflection with new attempts until success or a retry limit is reached, without needing reference answers, external feedback, or cross‑example memory. The method uses outcome‑aware weighting to distinguish correct, reflection‑corrected, and unresolved examples, and on‑policy distillation aligns the student’s token‑level predictions with the teacher’s context‑conditioned distributions, achieving a 1.39‑point accuracy gain over GRPO across six reasoning benchmarks.

By Yafeng Tang, Hao Li, Hongsheng Yu, Qiang Fu
arXiv Machine Learning
Oct 9

Lapras: Latent Reasoning for Time Series Language Models

Lapras is a post‑training framework for Time Series Language Models that replaces explicit Chain‑of‑Thought reasoning with continuous latent thoughts in a joint time‑series‑language space. By self‑distilling from a teacher that generates textual rationales, the student model aligns its hidden states at the answer stage, transferring reasoning ability while producing only the final answer in text. Experiments on four TSLM backbones and five benchmarks show Lapras boosts average F1 by up to 10.79% over explicit CoT and reduces token generation by 23.9×, while still enabling readable reasoning traces through standard decoding.

By Yuliang Chen, Yu Yvonne Wu, Patrick Langer, Arvind Pillai, Sudarshan Regmi, Martin Maritsch, Juncheng Liu, Robert Jakob, Thomas Kaar, Tess Z. Griffin, Lisa Marsch, Michael V. Heinz, Nicholas C. Jacobson, Andrew Campbell
Simon Willison
Oct 9

ttok 1.0

Simon Willison announces the release of ttok 1.0 after discovering that the previous version defaulted to the GPT‑4 tokenizer instead of the expected GPT‑5/GPT‑6 tokenizer. He explains that switching the default was a suitable reason to ship the new version. The release notes reference an experiment by William Liu that confirms the tokenizers for GPT‑5 and GPT‑6 models are likely identical, as all seven models report the same token count across 31 test fixtures.

Simon Willison
Oct 8

ttok 0.4

ttok 0.4 is a command‑line tool for counting tokens using OpenAI’s tiktoken library. The release fixes a Click warning, updates continuous integration, and adds a new --list-models command to display available models. It can be used with uvx to count tokens from any input, such as piping a file into the tool.

arXiv Computer Vision
Oct 8

QuadTok: Quadtree Visual Tokenizer for Autoregressive Image Generation

QuadTok introduces a quadtree-based visual tokenizer that replaces traditional 2D grids or 1D token sequences with a hierarchical structure, allowing dynamic allocation of tokens to visually complex regions while using coarser resolution for homogeneous areas. The tokenizer, trained on ImageNet, reduces token usage by about 10% compared to a fixed 256-token grid and retains comparable reconstruction fidelity. Leveraging the tree’s natural causality, a 947 M GPT-style model conditioned on a quadtree topology achieves a 2.08 gFID on ImageNet 256×256 and supports zero‑shot spatially controlled image generation.

By Yucheng Mao, Zeyuan Chen, Xiaojun Shan, Xiang Zhang, Divyansh Srivastava, Bingnan Li, Zhuowen Tu
arXiv Computation and Language
Oct 8

Is Word Error Rate Enough? Rethinking Privacy Evaluation in Speech with Entity-Aware Metrics

The paper examines whether word error rate adequately measures privacy in speech by applying entity‑aware metrics from NLP to evaluate two obfuscation techniques. It focuses on protecting named entities and explores how fine‑tuning on entity‑rich data affects attack success across different entity categories. The authors also offer guidance on choosing metrics depending on whether the obfuscation preserves temporal alignment.

By Anjana Rajasekhar, Jule Pohlhausen, Nayana Jacob Alappattu, Anna Leschanowsky