# Inferred, Not Stated · Research · Agvel

> A confidence field can make language models fill a country the address never states. What the paper asks, how 17 models were tested on ISO 20022 address structuring, what it found, and its benchmark, NotStated.

Canonical: https://agvel.org/research/inferred-not-stated/

[Agvel](https://agvel.org/)[Research](https://agvel.org/research/) Inferred, Not Stated
## Inferred, not stated. Ask a language model for a confidence score beside each field, and it starts naming a country for towns that do not exist. A paper on ISO 20022 address structuring, and the benchmark it released.
Ashwin Gopalsamy 4 Dec 2026 Preprint
Read the findings [Source on GitHub](https://github.com/ashwingopalsamy/address-fidelity)
## At a glance
17 models
108 invented towns
61,110 answers published
## The question. When a model fills in a country the address never states, can anything downstream tell?
Cross-border payments have long carried a party's address as up to four free-text lines of 35 characters. ISO 20022 replaces them with labelled elements: street, building number, postcode, town and country. Banks hold large backlogs of legacy addresses, and language models are an obvious way to split them.
A model can fail in two ways. It can leave a field empty, which stops the payment for a person to fix: slow, but safe. Or it can fill the field with a value the input does not state. ISO 20022 has no way to mark an element as inferred, so a guessed country passes every format check and reads downstream exactly like one the sender wrote. Sanctions screening and routing act on it.
Accuracy against labelled fields cannot see this, because an unplaceable town has no correct country to compare against. So the paper pairs real addresses, where a country can be right or wrong, with invented towns, where any country is unsupported, and changes only the output format.
## What it tests. The country is removed from every input. Each card shows one input and the answer the test expects.
## Real addresses
4,195 addresses
Legal addresses from the public GLEIF register in 28 countries, with the country taken out. Here a country can be right or wrong.
A registered address in Tottenham, a suburb of Melbourne.
Expected
AU, or blank
Common miss
GB
## Invented towns
108 towns
The start of one real town joined to the end of another, at least three edits from every GeoNames name and absent from OpenStreetMap. No country is correct.
HAUPTSTRASSE 12, ALTABLITZ. No postcode, no country.
Expected
blank
Common miss
DE
## Street control
216 variants
The same towns on a street in another language, and with no street at all, to show what a guessed country rests on.
VIA ROMA 12, ALTABLITZ. The street is Italian, the name parts Austrian.
Expected
blank
Common miss
IT
## How it was tested. Every prompt asks for the same five fields. Only the format of each value changes.
- Plan first The analysis plan, data rules and outcomes were committed before the main runs. Every later change is logged, and analyses added after the results are labelled exploratory.
- Hard cases on purpose Each town is matched against GeoNames: unique, dominant, ambiguous, misleading or unknown. Models see 336 addresses that oversample the hard strata, and rates are reweighted to the full sample.
- Seventeen models in three groups Closed-weight, open-weight through a hosted gateway, and small open models run locally at 4-bit. The planned design is Claude Opus, Sonnet and Haiku 5.5, with three runs each, and Llama 3.1 8B.
- Intervals that respect countries Addresses cluster by country, so every interval and test resamples countries, not items. Holm's correction holds within each family of tests, and every wrong answer was audited by hand.
## One model, every format
Share of invented towns that Claude Opus 5.5 gave a country, by output format. Mean of three runs.
Objects A value-only JSON object for each field. The baseline. 15%
Reason Adds a free-text source for each value. 20%
Length Adds the value's character count, a number that asks for no judgement. 15%
Confidence Adds a probability that the value is correct. 98%
Certainty, probability The same request, reworded twice. 97%, 100%
Cautious Confidence, plus an instruction to leave unsupported fields empty. 0%
## Results. The confidence field lowers the bar for guessing. Asked for a score, the planned models name a country for towns that do not exist far more often.
## A score licenses a guess Value-only objects, then the same objects with a confidence score.
Objects With confidence
15% 51% 59% 27%
98% Opus 5.5, Sonnet 5.5 90% Haiku 5.5 68% Llama 3.1 8B
- Opus 5.5 15% to 98%
- Sonnet 5.5 51% to 98%
- Haiku 5.5 59% to 90%
- Llama 3.1 8B 27% to 68%
## Only a score does it Opus 5.5 by output format. A reason or a length field stays near the baseline.
Objects 15%
Length 15%
Reason 20%
Confidence 98%
Certainty 97%
Probability 100%
Cautious 0%
## Leave it empty works, at a cost Confidence plus one instruction to leave unsupported fields empty.
Invented towns given a country Real addresses left blank
0% 30%
Opus 5.5
1% 36%
Sonnet 5.5
26% 19%
Haiku 5.5
## Every wording, every planned model Confidence, certainty and probability ask for the same score, and all three do it. A reason does not.
Objects Length Reason Confidence Certainty Probability Cautious Opus 5.5 15 15 20 98 97 100 0 Sonnet 5.5 51 56 26 98 85 100 1 Haiku 5.5 59 70 57 90 89 97 26 Llama 3.1 8B 27 39 48 68 – – 2
## A cutoff works only if the score is honest Opus never scored an invented country above 0.85. Llama gave most of them 0.9 or more.
Opus 5.5 Llama 3.1 8B
100% 50% 0%
None 0.5 0.6 0.7 0.8 0.85 0.9 0.95
Share of 108 invented towns given a country, unless marked. Claude 5.5 values average three runs; the other models ran once. From the preprint Inferred, Not Stated, 4 Dec 2026. Each rise for the planned models survives Holm's correction (adjusted p < 0.001).
## Real addresses are mostly safe
at most 1.4%
Wrong countries for the Claude 5.5 models without a postcode, reweighted to the full sample. Even the 89 towns no gazetteer lists came back right at least 94% of the time.
Errors gather on town names a gazetteer lists only under another country. A gazetteer lookup is no safer: 21.0% wrong.
## The guess follows the cue left
96%
Of 430 Claude answers for towns on a foreign street, the share that named the street's country rather than the town's.
With no street, the score still adds 19 to 44 points, and 80% of those countries match where the name parts came from.
## Not only the country
11 to 26%
Real addresses whose removed postcode Claude filled back in under the confidence prompt, against under 10% without it.
Opus and Sonnet mostly recall the real one. Haiku's are wrong for 11% of addresses, and some other models make postcodes up.
## Across 17 models
+16 points
The pooled effect of the score over the 13 models from other labs, with a 95% interval of +8 to +23. It survives correction for five of the twelve exploratory ones.
The models disagree far more than sampling explains: a new model could land anywhere from −14 to +46. Test it on yours.
## The score ranks guesses low
0.89 to 0.97
For Claude, the chance that a correct real country is scored above a country named for an invented town. Opus never scored a guess above 0.85.
Ranking low is not the same as staying low: for most other models, a quarter or more of their guesses scored 0.9 or higher.
## A cutoff is not a guard
1 of 15
Models for which some cutoff beat a plain "do not guess" on review, wrong and invented countries at once, on the same data. Tuned on half the countries, no cutoff held up on the other half.
An instruction not to guess removed nearly every wrong and invented country for Opus and Sonnet, at the price of 30 to 36% manual review.
## What to do with it. The finding is about provenance before accuracy. On real addresses inference mostly helps, and the output still does not say which values were read and which were guessed.
Test a confidence field before adding it Run it on unplaceable inputs and shared town names first. It changes the values, not just the metadata.
Record where each value came from Emit each element as {"v", "source", "conf"}, with source stated, inferred or absent, and demote a claimed stated whenever the value does not occur in the input. On the paper's answers that check alone flags every invented country and every restored postcode.
Prefer "do not guess" to a cutoff An explicit instruction is the simplest control. No tuned cutoff held up on held-out countries.
Keep the postcode in the input Removing it raised wrong countries for Sonnet and Haiku, and invites a postcode the sender never wrote.
## The benchmark. NotStated v1.0.0 packages the invented towns, the street control, the real addresses and the scorer, so any model can be put through the same test.
Case files 6
Calls in a full run 2,836
Answers from the study 59,394
Released 4 Dec 2026
## Run it on your model
One command, with the provider's key set. It prints your scores next to Claude 5.5's. The scorer needs only Python's standard library.
shell
python3 benchmark/run.py --provider anthropic --model <model>
## What it doesn’t claim. The result is how models behave when the country is missing, not how often it is missing in real payments.
The design rests on Claude The planned models are three Claude models and one small open model. Every other model is a cheaper tier, run once and added after the main results. The title names Claude for that reason.
Cleaner than client data Registry addresses are tidier than payment data, and the country was removed on purpose. The sample is not uniform, and the strata rest on gazetteer name matching.
Settings and prompts differ Claude and Gemini ran at provider defaults, the gateway and local models at temperature 0. The size of the effect depends on the base prompt: a more careful one shrank it for Opus from 84 to 33 points.
Small effects are hard to see Intervals resample 27 source countries, so effects under about ten points are hard to detect for one-run models. The only non-model baseline is a GeoNames lookup.
## Licence and source. The project keeps its own MIT licence, and the benchmark data is CC BY 4.0. Every address is a registered legal entity's, from the public GLEIF register. No customer or employer data is used.
Code and write-up MIT
NotStated data CC BY 4.0
GLEIF LEI records CC0
GeoNames CC BY 4.0
OpenStreetMap, via Nominatim ODbL
54 Australian and New Zealand trusts with no business marker were removed for privacy, and the list is not published. GeoNames and OpenStreetMap were used for matching and checks only. Agvel's Apache 2.0 and CC BY 4.0 apply to Agvel's own releases, not to this project.
[Repository The plan, the case files, every model answer, and the script that writes every number in the paper. GitHub](https://github.com/ashwingopalsamy/address-fidelity)[Paper The preprint as a PDF, with its LaTeX source and the scripts behind every figure. PDF](https://github.com/ashwingopalsamy/address-fidelity/blob/main/paper/main.pdf)[NotStated v1.0.0 The benchmark: six case files, the prompts, a scorer and a one-command runner. Benchmark](https://github.com/ashwingopalsamy/address-fidelity/tree/main/benchmark)[Findings Every finding, corrected claim, decision and open item in one place. Docs](https://github.com/ashwingopalsamy/address-fidelity/blob/main/docs/FINDINGS.md)[Analysis plan Written before the main runs, with every later amendment in its change log. Docs](https://github.com/ashwingopalsamy/address-fidelity/blob/main/docs/PLAN-v03.md)
One script regenerates every number, table and figure in the paper from the committed answers.
## Cite this paper. A preprint for now, so the citation points to the repository that holds the paper and every answer behind it.
BibTeX APA
@misc { gopalsamy_inferred_2026,
title = { Inferred, Not Stated: A Confidence Field Can Make LLMs
Fill Country Fields Their Input Does Not Support
in ISO 20022 Address Structuring },
author = { Gopalsamy, Ashwin },
year = { 2026 },
note = { Preprint },
url = { https://github.com/ashwingopalsamy/address-fidelity }
} Gopalsamy, A. (2026). Inferred, not stated: A confidence field can make LLMs fill country fields their input does not support in ISO 20022 address structuring [Preprint]. https://github.com/ashwingopalsamy/address-fidelity
## More from Agvel
[All research](https://agvel.org/research/)[Money conventions](https://agvel.org/benchmarks/money-conventions/)

---

- Founder and sole author: Ashwin Gopalsamy (https://ashwingopalsamy.in), Pollachi, Tamil Nadu.
- Personal, non-commercial research, independent of any employer.
- Licences: Agvel code Apache 2.0; Agvel data and papers CC BY 4.0; the Agvel name, vel and wordmark all rights reserved. Each project page states that project's own licence, which wins for that project.
- Scoring: fixed tasks scored by rules published as code. A model never grades another model.
- Status: results, scores and papers marked as samples are placeholders until the money-conventions pilot is published. Do not cite sample numbers as findings.
- Contact: hello@agvel.org
- Cite with the page URL and the release version shown on it.
