arXiv Science⌕ Search

arXiv subjects

Thomas Serval

Publications and source records attributed to Thomas Serval.

3 recordsLinked to original sources

When Do Composition Errors Change Decisions? Order Effects in Frozen Representations and World Models

Does an error in composing two learned actions change what an agent chooses? Planning with action-conditioned predictors in JEPA-style world models assumes that actions learned one at a time predict what happens when two of them are applied in either order. We measure how well this holds, and what it costs for decisions, in four frozen vision encoders (DINOv2, CLIP, SigLIP, MAE) and in two pretrained world models. On frozen encoders, composing affine maps fitted one action at a time on initial states predicts the order gap worse than a direct read-out of the initial representation in all 24 paired contrasts (fidelity margins 0.05 to 1.26). Training each map on initial and transformed states recovers much of this deficit and cuts the regret of a two-action choice by 0.40-0.57 for scale and translation; a shared non-linear operator adds fidelity, while the identity of the previous action adds almost nothing in the sequences studied. In Push-T, two pretrained world models from the JEPA-WMs release recover about half of the latent order gap. Their planners recognise which order produced a goal image even when the block ends in the same pose, yet, with goals and costs defined on the block pose alone, among the 221 of 300 fresh scenes meeting the pose-effect threshold, observing the true intermediate state reduced block-pose regret by about a quarter for both models (JEPA-WM 0.081 [0.042, 0.125], DINO-WM 0.065 [0.022, 0.114]). When the better order depends on an object's visible heading, choices track how linearly the heading can be read from each layer. Appendices report causal tests of weekday-shift operators in two language models and a test of operator transfer between encoders. Recognising a trajectory is not the same as predicting the consequence that matters for the goal.

cs.CV↗

The Invisible Language Tax: Token Premiums of French and Regional Languages in 2026 LLM Tokenizers, and a French-Optimized Prototype

LLM services are billed per token and context windows are measured in tokens, yet the number of tokens needed for the same content varies across languages. We measure this token premium on seven tokenizers of widely used 2026 models (OpenAI o200k, Llama 3, Qwen3, DeepSeek V3/V4, Gemma 3, Mistral Tekken, and the Claude generation-5 tokenizer via Anthropic's counting API) on NTREX-128 (124 non-English reference translations) and on the Universal Declaration of Human Rights for regional languages. French requires 31% to 58% more tokens than English, whereas Simplified Chinese ranges from 5% fewer to 40% more and is cheaper than French on six of the seven tokenizers. Regional and overseas languages of France pay roughly 1.6 to 3.3 times the English count. We discuss how history re-sending, tiered pricing and fixed context windows amplify the absolute gap in agentic use. In a controlled experiment (BPE, Europarl, 50k vocabulary), adding French to tokenizer training data quickly reduces the premium, with diminishing returns and a growing cost for English. Finally, we present Baracoda FR v1.2, a byte-level BPE prototype with Tekken's vocabulary size. On a final test of six corpora never consulted during design, with a protocol declared fixed beforehand, it uses 11.5% fewer tokens than Tekken on French and 3.7% fewer on English; results hold after removing test sentences overlapping the training data and with an equal ordinary-token budget. It is worse on other languages and, at comparable vocabulary size, does not outperform CroissantLLM. These are segmentation results only; effects on model quality and task cost remain to be shown.

cs.CL↗

Context Injection and Long-Horizon Reliability: Separating Duplicate Recognition, Local Processing, and Counter Tracking

Long-horizon failures of language models are usually measured as end-task success or as a horizon length. We instead score, step by step, three components of a 400-step ledger task in which every step is easy in isolation and the model's own answers are re-injected into its context: recognising a record already seen 5 to 300 steps earlier, processing the current record locally, and writing a counter incremented at every step. On Qwen3-8B (non-thinking, 20 seeds, replicated on a second machine and backend), with every step scored component by component, two results hold. First, duplicate-recognition errors rise late in the episode -- from 0.0019 to 0.011 per step at risk across step 200 -- while the counter makes no error in 8,000 steps and local processing is descriptively stable; the rise combines long-distance recall errors and rising false alarms. Second, a block of irrelevant content inserted before each step makes the counter fail in 20 of 20 seeds on each machine, against none without it, while its effect on local processing is much smaller and not distinguishable from none. Three pre-registered follow-ups probe the counter. Its value depends on the value present in the response history: a corrupted value persists without correction in every seed, and an exact external reminder, repeated before each message, re-aligns it within one to two steps. Under the irrelevant block, no counter error was observed when an exact compact reminder of the state, supplied externally by an oracle, preceded each message (0 of 20 seeds with an error, against 15 without it), and this reminder outperformed a length-matched neutral text; whether a single reminder suffices was not conclusive, and the absence of damage to the other components was not established. An aggregate or exclusive error classification can hide the difference we report.

cs.CL↗