Character Information in Language Models: A Prompt-Independent Word Store and a Late, Question-Driven Signal That Grows With Scale
Organizations: SecurityPal AI · Southern Illinois University Edwardsville · University of Maryland · Saint Louis University
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 first\_letter, last\_letter and 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 , 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 (last\_letter: ). 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.
Figures & tables
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| task | read | qfirst wfirst | positive | sign | wfirst neutral | vs scale ( ) |
|---|---|---|---|---|---|---|
| last_letter | last token | +0.021 | 11/16 | 0.210 | +0.041 | 0.12 (0.652) |
| last_letter | span mean | +0.039 | 15/16 | 0.0005 | +0.051 | +0.07 (0.805) |
| most_frequent_letter | last token | +0.019 | 15/16 | 0.0005 | +0.020 | +0.20 (0.458) |
| most_frequent_letter | span mean | +0.013 | 11/16 | 0.118 | +0.015 | +0.07 (0.793) |
| first_letter | last token | +0.007 | 11/16 | 0.057 | 0.014 | +0.32 (0.239) |
| first_letter | span mean | +0.002 | 10/16 | 0.302 | +0.004 | +0.13 (0.620) |
| family | sizes | notes |
|---|---|---|
| Qwen3 | 0.6B, 1.7B, 4B, 8B | post-trained releases |
| Llama-3.x | 3.2-1B, 3.2-3B, 3.1-8B | base |
| Gemma-2 | 2B, 9B | base; right padding enforced (Appendix C ) |
| OLMo-2 | 1B, 7B, 13B | base |
| Phi-4 | 3.8B-mini-instruct, 14B | post-trained |
| OLMo-Hybrid | 7B | DeltaNet/attention hybrid |
| task | shots | floor | word, last token | word, span mean | answer, no question | answer, question |
|---|---|---|---|---|---|---|
| first_letter | 0 | 0.457 | +0.434 (16) | +0.508 (16) | +0.436 (16) | +0.537 (16) |
| first_letter | 3 | 0.475 | +0.415 (16) | +0.492 (16) | +0.396 (16) | +0.522 (16) |
| last_letter | 0 | 0.547 | +0.314 (16) | +0.177 (16) | +0.115 (16) | +0.356 (16) |
| last_letter | 3 | 0.552 | +0.296 (16) | +0.157 (16) | 0.004 (6) | +0.393 (16) |
| most_frequent_letter | 0 | 0.442 | +0.135 (16) | +0.165 (16) | +0.084 (14) | +0.283 (16) |
| most_frequent_letter | 3 | 0.400 | +0.134 (16) | +0.162 (16) | +0.018 (10) | +0.357 (16) |
| all layers, held-out-selected | late ( 0.5) | early ( 0.25) | |||||||
|---|---|---|---|---|---|---|---|---|---|
| task | shots | slope | (Holm) | within-fam. | family CI | slope | slope | ||
| last_letter | 0 | +0.126 | 0.0003 (0.0009) | +0.125 | [+0.053, +0.159] | +0.162 | 0.0003 | 0.014 | 0.690 |
| most_frequent_letter | 0 | +0.192 | 0.0004 (0.0009) | +0.173 | [+0.084, +0.241] | +0.202 | 0.0003 | 0.003 | 0.900 |
| extraction | 0 | +0.140 | 0.0001 ( 0.0001) | +0.160 | [+0.089, +0.183] | +0.138 | 0.0001 | 0.011 | 0.426 |
| letter_before | 0 | +0.094 | 0.017 (0.017) | +0.104 | [+0.021, +0.170] | +0.091 | 0.016 | +0.004 | 0.714 |
| last_letter | 3 | +0.132 | 0.0005 (0.002) | +0.129 | [+0.056, +0.186] | +0.151 | 0.004 | 0.005 | 0.921 |
| shots | shots | |||||
|---|---|---|---|---|---|---|
| task | majority | neutral | continuation | majority | neutral | continuation |
| extraction | 0.228 | 0.036 | 0.240 | 0.151 | 0.000 | 0.017 |
| last_letter | 0.671 | 0.324 | 0.473 | 0.503 | 0.009 | 0.034 |
| most_frequent_letter | 0.542 | 0.295 | 0.467 | 0.324 | 0.051 | 0.104 |
| letter_before | 0.485 | – | – | 0.283 | – | – |
| word_length | 0.546 | 0.149 | 0.439 | 0.416 | 0.162 | 0.175 |
| probed label | total | generic frame | wrong-property | specific | cells | models |
|---|---|---|---|---|---|---|
| last_letter | 0.241 | 22% | 8% | 70% | 32 | 16 |
| most_frequent_letter | 0.228 | 22% | 38% | 40% | 28 | 14 |
| word_length | 0.296 | 28% | 25% | 47% | 30 | 10 |
| first_letter | 0.137 | 47% | 32% | 21% | 20 | 10 |
| extraction | 0.221 | 34% | 5% | 71% | 32 | 16 |
| letter_before | 0.142 | 29% | 9% | 62% | 28 | 14 |
| task | majority | floor | floor predictor | models above floor | best above floor |
|---|---|---|---|---|---|
| first_letter | 0.123 | 0.475 | length + letter set | 16/16 | +0.525 |
| last_letter | 0.145 | 0.552 | length + letter set | 16/16 | +0.447 |
| extraction | 0.122 | 0.171 | length + letter set | 16/16 | +0.503 |
| most_frequent_letter | 0.256 | 0.400 | length + letter set | 16/16 | +0.483 |
| contains_letter | 0.476 | 0.678 | length + letter set | 16/16 | +0.272 |
| word_length | 0.185 | 0.351 | letter set | 16/16 | +0.635 |
| task | gap, 3 smallest | gap, 3 largest | (raw) | (logit) | (base only, raw) |
|---|---|---|---|---|---|
| last_letter | +0.424 | +0.013 | 0.81 (0.0003) | 0.31 (0.242) | 0.92 (0.0003) |
| most_frequent_letter | +0.135 | +0.076 | 0.41 (0.118) | 0.31 (0.249) | 0.07 (0.854) |
| word_length | +0.237 | +0.039 | 0.63 (0.007) | 0.65 (0.005) | 0.47 (0.165) |
| extraction | +0.029 | 0.004 | 0.29 (0.277) | 0.30 (0.252) | 0.51 (0.142) |
| letter_before | +0.078 | +0.140 | +0.62 (0.010) | +0.58 (0.019) | +0.80 (0.006) |
| counting_lm | +0.105 | +0.101 | +0.06 (0.811) | +0.04 (0.869) | +0.20 (0.556) |
Language Model Probing
Language model probing measures what information and capabilities models encode and how those signals relate to their behavior.
See all 306 papers