An AI system can explain a definition perfectly on examples it has seen and still fail when a new situation arrives. Suppose every example used to teach “approved” concerns a manager signing off a report. The AI may decide that any item marked approved is authorised for payment, publication or access. The familiar word is present, and the output sounds logical, but the rule has crossed into a different domain. Vocabulary Coding and Engineering calls this semantic overfitting: learning narrow patterns of how terms were used instead of the context, boundaries and evidence that make a concept usable in new circumstances.
In machine learning, overfitting has an established technical meaning: a model performs well on training examples but generalises poorly to unseen examples. Google’s Machine Learning Crash Course describes this distinction and the role of representative evaluation data. We borrow that technical insight for the vocabulary-engineering framework, without claiming that every language misunderstanding is formally a statistical overfitting problem. This guide shows how to test whether AI or human-defined rules genuinely transfer across new wording, cases, times and cultures—and when the responsible result is “outside this definition’s validated scope”.
- Word zoom: A familiar label can hide a new or incompatible sense.
- Example zoom: Memorising sample answers is not the same as learning the correct boundary.
- Rule zoom: A definition should specify inclusions, exclusions, context and authority.
- Model zoom: Training performance and unseen-case performance can differ.
- Institution zoom: Categories must be tested when their use or population changes.
- Human zoom: Wrong generalisation can affect access, safety, rights and reputation.
- World zoom: New technologies constantly create cases older vocabulary did not anticipate.
What does overfitting mean before we apply the analogy to language?
A predictive model may learn idiosyncrasies of its training dataset rather than a pattern that holds outside it. It may produce excellent results for familiar records but poor results on a separate, representative test set. This is overfitting in the technical machine-learning sense, and it is one reason model evaluation must use examples not used to fit or select the model.
A vocabulary system has a related but not identical challenge. A short glossary and five neat examples can give readers the impression that a concept is fully specified. When a sixth example falls near a boundary, the system might have no agreed answer. The problem may lie in an overfit learned classifier, an incomplete definition, or both. Separate those causes instead of treating the analogy as a diagnosis.
Zoom 1: an invented rule can fit the examples perfectly
Imagine a fictional training set where every person who logs in this month also completes a purchase. A system infers that “active customer” means anyone who logged in. But the actual business definition requires a completed transaction. The training examples do not distinguish the two definitions, so both appear correct until a user logs in without buying anything.
The new case is a counterexample. It exposes the difference between a coincidental pattern in the examples and the authorised rule. The repair is to consult the controlling definition, add boundary tests, and avoid silently redefining active customers according to a convenience feature.
Zoom 2: positive examples are not enough
A glossary might describe “secure account” with examples involving passwords, encrypted connections and confirmed emails. Those are relevant security controls, but none alone guarantees security. A system trained only on positive examples might incorrectly label an account safe whenever it sees a padlock icon.
Include explicit nonexamples and edge cases. A password-protected account may still be compromised. A formally verified email address is not necessarily verified personal identity. A clearly scoped definition specifies what evidence satisfies its category and what similar-looking evidence does not.
Zoom 3: the decision boundary is where meaning becomes testable
A rule may classify applicants aged 65 or above as within a defined group. It is easy to test someone aged 70 and someone aged 30. The critical case is a person exactly 65. A paraphrase that says “older than 65” can pass many ordinary examples while failing the actual threshold.
Boundary testing deliberately seeks situations where two possible interpretations give different outcomes. The technique is useful for definitions, policy documents and AI summaries because it turns an abstract argument about meaning into an explicit question about inclusion and exclusion.
Zoom 4: semantic underfitting is a different failure
A system can also be too simplistic to describe the task’s important distinctions. For example, every communication might be classified as “positive” or “negative”, leaving no room for neutral observations, sarcasm, mixed emotions or unresolved intent. Here the representation is not rich enough to fit even a useful range of the domain.
Calling this semantic underfitting is again an analogy with modelling. The remedy is not necessarily a much larger model: it may be a better taxonomy, more appropriate source data or a decision to preserve “uncertain” as a valid result. More labels can help only when their meanings are justified and testable.
Zoom 5: training, validation and test cases serve distinct purposes
Google’s course module on generalisation and overfitting explains why models need separate datasets for fitting, tuning and evaluation. If designers repeatedly tune a system on the same tests, the reported results can become misleading because the tests have effectively become part of development.
A semantic benchmark needs the same discipline: examples used to explain a definition, examples used to improve the validator, and held-out examples used to judge performance. An AI system that memorises a known collection of “must versus may” examples may still miss a new kind of obligation drift.
Zoom 6: why identical wording is a weak measure
A model may match the source text almost exactly and still miss a changed negation. Conversely, two very different sentences can preserve the same rule for the intended task. Word overlap, sentence length and polished grammar cannot stand in for functional equivalence.
Evaluation should inspect actors, modality, time, quantifiers, authority, source evidence and effects on test cases. A single changed word can be consequential; ten changed sentences can be benign if they faithfully communicate the authorised conditions.
Zoom 7: new language introduces distribution shift
A system might have been developed using one organisation’s internal English documents, then deployed to multilingual public enquiries. The target population uses different terms, indirect requests and local conventions. Even when the software itself is unchanged, its incoming examples no longer resemble the development setting.
This is a form of distribution shift at the application level. Google’s guidance notes that models generalise best when evaluation conditions represent deployment. For terminology work, monitor what changes: speakers, language, devices, social setting, governing rules and the nature of the task. Passing an English-only benchmark does not guarantee reliable interpretation in every community.
Zoom 8: what counts as an out-of-distribution question?
A vocabulary rule validated for customer-service refunds may be asked to interpret clinical screening, legal status or military conflict. The system can share words such as verified, eligible, dangerous or confirmed across these areas. Yet the governing definitions and evidence standards differ.
An honest interface should recognise when it is outside its tested domain. It may explain general terminology but should not transfer an internal commercial definition into another legal or professional context as though it were universally binding.
Zoom 9: the importance of negative transfer
More examples are not always beneficial if they come from an incompatible domain. A classifier trained to identify “approved documents” may learn to associate approval with authorisation generally. That shortcut can harm performance on “approved payment” or “approved publication” workflows. The same word becomes a misleading feature.
The repair may involve distinct status fields and source-specific rules rather than simply adding more generic approved examples. The core principle is to keep the authority and operational type attached to the label.
Zoom 10: an AI system can overfit the answer format
Suppose a benchmark asks an AI to reply only “same meaning” or “different meaning”. The model might learn that most pairs in the benchmark are different, improving its headline score by overusing that label. It could reject useful paraphrases or fail to express genuine uncertainty.
A good evaluation reports class balance, false positives, false negatives and uncertainty outcomes. It also tests behaviour on entirely new examples and asks whether the model can support its judgment with an approved counterexample rather than mere confidence.
Zoom 11: a test set can accidentally reward the wrong rule
Imagine reviewers label “within 30 days” and “within one month” as equivalent in every case. That could be wrong when the start date makes a calendar month differ from thirty days. If the benchmark’s labels are faulty, a model that learns the wrong equivalence may score well while giving incorrect real-world advice.
Test labels need review by people who understand the relevant source and time convention. Where the original is ambiguous, a valid label may be “requires clarification”. Evaluation quality depends on the reliability of the reference judgments, not just the model being assessed.
Zoom 12: benchmark contamination and memorised cases
If a system developer repeatedly publishes test questions and adjusts prompts until the model answers them correctly, the questions no longer provide fully independent evidence of generalisation. This is not necessarily dishonest; it is a normal risk of iterative development that needs proper test management.
Reserve fresh test material, document the development process and include cases drawn from relevant new contexts. A high score on a repeatedly seen list should be described as such, not as a guarantee of accurate performance on unseen language.
Zoom 13: what Goodhart’s law adds to the discussion
If a team treats a similarity score as the complete measure of semantic quality, it may optimise for matching wording rather than preserving meaning. A summary could become increasingly similar to its source while missing the one exception users need. Incentives can shift behaviour toward whatever is measured.
The broad Goodhart insight is about the danger of relying too heavily on a target measure. It is not a mathematical law proving that every metric will fail. Use multiple task-relevant measures and retain independent human review where outcomes matter. The metric is useful only when it reflects what people actually need.
Zoom 14: a generalisation audit needs categories of failure
- Memorised wording: The system responds correctly to phrases seen in development but misses paraphrases.
- Boundary failure: A threshold or exception is wrongly expanded or narrowed.
- Domain confusion: A familiar term is used under another authority or technical meaning.
- Temporal drift: An old definition is applied after its valid period.
- Cultural mismatch: A pragmatic cue or local term changes the interpretation.
- Misleading confidence: The system refuses to acknowledge an unseen or unresolved case.
- Harmless false alarm: A safe rewording is rejected without evidence of changed consequences.
These categories make defects diagnosable. A model that fails on deadline calculations needs different remediation from one that confuses scientific and legal authority. A blanket instruction to “be more precise” is rarely an adequate software fix.
Zoom 15: a practical holdout experiment
Take an authorised rule about a fictional application window. Create fifteen cases covering ordinary, excluded, exact-boundary and conditional examples. Use ten to design and improve the explanatory system. Keep five genuinely unseen for final evaluation. Ask whether the system applies the right version and preserves the allowed action.
Five holdout cases are far too few for a robust production claim, but they illustrate the principle. A real study should choose sample sizes and categories suitable for its risks, record the review method, and disclose uncertainty. The test design should never be tuned retrospectively just to achieve a preferred result.
Zoom 16: deploying to people changes the consequences
A classifier used to organise fictional documents may tolerate occasional uncertainty. The same classifier used to determine eligibility, payment or health communication needs stronger controls. Performance should be evaluated against the real population, and affected people need appropriate explanations and review routes.
A decision can be technically consistent and still be incorrect because the underlying rule was wrong or the source evidence inaccurate. Generalisation tests are one safeguard, not a replacement for policy legitimacy, data protection or institutional accountability.
Zoom 17: monitor after deployment rather than declaring victory
New slang, new technologies, amended laws and evolving social usage can shift what inputs mean. A model that worked in one season may become stale. Monitoring can compare representative new examples to known authoritative sources and flag rising rates of unresolved classifications or corrected decisions.
The NIST AI Risk Management Framework emphasises that risk management is ongoing. A terminology system should record which definition version its tests cover and retrigger evaluation when a source changes. The correct response may be an updated rule, additional data or a manual review path, not automatically a larger model.
Zoom 18: when the best system says it cannot generalise
An AI may receive an unfamiliar term from a specialised community or an application outside the definitions it has checked. Saying “I cannot determine which sense controls this decision from the information available” may be the most responsible answer. The system can identify what context or authority is missing instead of inventing a confident category.
This is not failure to communicate. It is the preservation of a boundary between supported knowledge and unsupported extrapolation. It allows people to obtain the right evidence before a guess becomes a rule.
A semantic generalisation test card
- Term: Exact label and scoped definition.
- Authority: Which source governs the intended decision.
- Examples: Training or documentation cases used to establish meaning.
- Counterexamples: Similar cases that the concept must exclude.
- Holdouts: Unseen examples and challenging domain shifts.
- Boundary cases: Thresholds, exceptions, negation and timing.
- Evaluation: Correct decisions, false matches, false alarms and uncertainty.
- Transfer scope: Populations, languages and environments for which evidence exists.
- Monitoring: Indicators that real use has moved beyond the original test.
- Correction: Who can repair the rule or a harmful classification.
A seven-question overfitting audit
- Are the examples genuinely representative of the intended domain and users?
- Can the same rule handle unseen paraphrases without memorising surface wording?
- Does it reject plausible-looking nonexamples and distinguish close concepts?
- What happens at thresholds and with exceptions?
- Was the final test set kept independent of development?
- Does the system recognise when a new language or domain exceeds validated scope?
- Can affected people obtain an explanation and correction of a wrong classification?
Frequently asked questions
Is semantic overfitting an established formal term?
Overfitting is a standard machine-learning concept. The phrase semantic overfitting is used here as an applied analogy for vocabulary and meaning-transfer systems; it is not a separate universally adopted technical diagnosis.
Would more examples always solve the problem?
No. Additional examples can help when they target missing boundaries and representative contexts. Repeating redundant or biased examples may reinforce the wrong shortcut.
Can a high AI benchmark score guarantee accurate understanding?
No. A score describes results on a particular test collection. Unseen distributions, outdated definitions, contested meanings and human consequences still need review.
What is the strongest practical test?
Provide a new scenario on which the shallow shortcut and authorised definition produce different outcomes. A justified counterexample reveals whether the system learned the intended boundary.
Conclusion: understanding is demonstrated on the next case, not the familiar one
At the word zoom, a label looks stable. At the example zoom, familiar cases can create false confidence. At the model zoom, unseen inputs reveal whether the learned pattern generalises. At the societal zoom, the cost of a wrong extension depends on who is affected and what decisions follow. Vocabulary Coding and Engineering should demand definitions with counterexamples, source authority, independent tests and legitimate uncertainty. The aim is not to memorise one dictionary forever; it is to know where a meaning works, where it does not and how to respond when the world brings a genuinely new case.
Sources and related reading
- Google Machine Learning Crash Course: Overfitting and generalisation
- Google: Datasets, validation and generalisation
- Google: Machine-learning glossary
- NIST: AI Risk Management Framework
- W3C SKOS: Exact, close and broader concept mappings
- Related: Red-team benchmark for semantic drift
- Related: Semantic type errors
- Related: A semantic immune system
Editorial note: The examples are fictional. This article distinguishes established machine-learning overfitting from the proposed application to definition and language-transfer engineering. It is not a claim of tested performance of any named model or a substitute for domain-specific evaluation.
