Character Information in Language Models: A Prompt-Independent Word Store and a Late, Question-Driven Signal That Grows With Scale

Pratyush Acharya, Nuraj Rimal, Apar Baral, Habish Dhakal, Piyush Mohan BhattaraiarXiv 2026

It’s late, you’ve probably spent the day debugging or reading through endless documentation, and the last thing you want is a dense academic slog. But have you ever wondered why an LLM can tell you the last letter of "cat" is "t," yet it famously struggles to count the 'r's in "strawberry"?

This paper dives into the "mind" of the language model to figure out where character-level information lives and how it changes as models get bigger.

TL;DR

Language models have two ways of "knowing" how a word is spelled: a static, prompt-independent "store" hidden in the word's embedding, and a dynamic, question-driven signal that appears only when you ask for it. While the static store stays roughly the same regardless of model size, the dynamic signal—the model "thinking" about the answer—gets significantly stronger as models scale up, specifically in the final layers of the network.

What Problem Does This Paper Address?

We know that LLMs process tokens, not individual characters. This is why they often fail at tasks like counting letters (the "Strawberry Problem"). However, researchers have found that if you "probe" a model's hidden states with a simple linear classifier, you can often find character information even when the model's output is wrong.

The big question is: Is that information just a passive byproduct of the word being present, or is the model actively "assembling" the answer because we asked?

Previous research couldn't distinguish between the two. This paper introduces a "word-position baseline" to separate the information the model naturally keeps about a word from the information it generates in response to a specific prompt.

Methods

The authors used linear probes—simple models trained to predict a property (like the last letter) from the hidden activations of a much larger model.

To isolate the "active" signal, they compared three scenarios:

  1. The Neutral Sentence: "The word 'cat' appears in this sentence." (Probing the word "cat").
  2. The Question: "The last letter of the word 'cat' is..." (Probing the answer position).
  3. The Nuisance Floor: A baseline to make sure the probe isn't just "cheating" by guessing based on word length or common letter patterns.

By comparing these, they could see what information was already there (the "store") versus what was added by the question (the "signal").

Datasets

The researchers tested 16 open-weight models across seven families (including Qwen3, Llama-3, Gemma-2, and Phi-4), ranging from 0.6B to 14B parameters.

They evaluated these models on 11 character tasks, such as:

  • first_letter / last_letter
  • most_frequent_letter
  • word_length
  • counting_lm (a "cleaned" version of the counting task that removes shortcuts)

The stimuli consisted of 800 examples per task sampled from a 6,000-word English vocabulary.

Key Insights and Ideas

  • Spelling is mostly lexical: About 70% of the character information is already present at Layer 0 (the token embedding). The model "knows" how a word is spelled simply because that information is baked into the vector representing the word.
  • The "Store" doesn't scale: Surprisingly, the quality of this internal word-level store doesn't really improve as models get bigger. A 0.6B model and a 14B model have roughly the same "static" knowledge of a word's characters.
  • The "Signal" scales aggressively: When you ask a question, a second signal appears at the answer position. This is what grows with model scale. Larger models are much better at extracting and "reformatting" that static knowledge into a decodable answer.
  • The Late Rise: This scale-dependent growth is strictly a "late-game" phenomenon. In the first quarter of the network, the signal is the same across all model sizes. The "intelligence" of scale only kicks in during the final layers.
Figure 1: Overview. (a) One held-out-word linear probe (here last_letter) is read at the query word’s own tokens in a sentence that asks nothing (green: the word-level store), at that sentence’s final token (red), and at the answer position of the question prompt (blue). (b) Each mountain is one model (16, smallest in front); its crest is probe accuracy above the word-only floor at the answer position under the question, across relative depth (zero shots). Asking adds an early bump near 10% depth that is similar at every size and a late signal past half depth that grows with size. Navy marks where a mountain rises above its own store (green rim and tick), that is, where the answer position is more linearly decodable than the word’s tokens; five models never do. The store does not grow reliably with size (§4, §5). Construction details are in Appendix A.7.

Key Results

  • Linear Decodability: For tasks like last_letter, the signal at the answer position grows by +0.091 per decade of parameters.
  • Small vs. Large: In small models, the answer position actually holds less information than the word's own tokens. In large models, the answer position holds more.
  • Embedding Dominance: Figure 2 shows that for tasks like most_frequent_letter, over 80% of the decodable signal is already there in the very first layer.
Figure 2: The word-level store. (a) Accuracy above the word-only floor (held-out layer selection), mean over the 16 models: the query word’s tokens in the neutral sentence (last token, or mean over the word’s tokens) and the final prompt token without and with the question, at zero shots (hollow) and three shots (filled). For count_distinct_lm the floor equals the majority baseline. (b) Part of the word-level store (better read per task) already present at layer 0, the token embedding, at zero and three shots; the percentage is that part’s share of the store.
  • The Question Effect: Asking the question adds a late-layer signal that is statistically significant across all prompt-sensitive tasks ($p \leq 0.018$).
Figure 3 shows that while the "store" (triangles) stays flat as models grow, the "question" signal (blue circles) climbs steadily with parameter count.

Limitations and Future Work

  • Correlational Probes: The authors are careful to note that just because a probe can find information doesn't mean the model is actually using it to generate text.
  • Mechanism Unknown: While they've identified where and when this signal appears, they don't yet know how the model produces it. Is it integrating information across multiple tokens, or just reformatting what's already in the embedding?
  • Linearity: The study focuses on linear decodability. It's possible that smaller models have this information in a non-linear format that a simple probe can't see.

In short: your LLM has a built-in dictionary of spellings that doesn't change much with size, but the "processor" it uses to look up those spellings gets a massive upgrade every time you add a few billion parameters.

Summary updated

Abstract

Linear probes recover character properties of a word from a language model's hidden states, but a probe at the answer position cannot say whether the property was stored with the word or produced because the prompt asked for it. We separate the two with a word-position baseline: the same held-out-word probe applied to the query word's own tokens in a sentence that asks nothing. Across 16 open-weight models from seven families (0.6B--14B) and eleven character tasks, the word tokens encode \texttt{first\_letter}, \texttt{last\_letter} and \texttt{most\_frequent\_letter} above a word-only nuisance floor in all 16 models, and about 70\% of that signal is already present in the token embedding. Asking the question adds a second signal at the answer position. Its size grows with model scale for all four prompt-sensitive tasks (Holm-corrected permutation $p \leq 0.018$, also within model families), and the growth is confined to the late layers: restricted to the first quarter of the network, the slope is indistinguishable from zero. Small models' answer positions hold less linearly decodable signal than their word-level store; large models' hold more. Four controls bound these claims. Measured against the nuisance floor, the question-free signal that a majority-baseline analysis counts as retained largely disappears (\texttt{last\_letter}: $-0.01$). Count tasks become measurable only after length, repetition and query-letter shortcuts are removed by design. A pre-registered test finds that a question placed before the word does not change the word's own encoding beyond what an arbitrary prefix change does. Representation--readout gaps show no robust scaling once probe saturation is accounted for. Pre-registered criteria, a fixed estimator (held-out layer selection, cold-start folds) and all analysis code accompany the paper.
BibTeX
@misc{acharya2026character,
  author = {Pratyush Acharya and Nuraj Rimal and Apar Baral and Habish Dhakal and Piyush Mohan Bhattarai},
  title = {{Character Information in Language Models: A Prompt-Independent Word Store and a Late, Question-Driven Signal That Grows With Scale}},
  year = {2026},
  eprint = {2611.30094},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30094},
}
Figure