VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Vocabulary Coding and Engineering | The Semantic Attribution Trace: Where Exactly Did an AI Lose the Meaning?

Two university researchers connect source data and plotting steps to a matching validated chart and caption checklist.

When an AI gives the wrong answer, the mistake may have started long before it generated its final sentence. It may have retrieved the wrong source, missed a table heading, transformed a condition incorrectly, applied an incompatible definition or overstated a conclusion during summarisation. Vocabulary Coding and Engineering proposes a Semantic Attribution Trace: preserve the relevant inputs and outputs at each observable stage, locate the earliest established discrepancy, and test alternative explanations before assigning responsibility for the failure. The aim is to repair the part of the system that actually needs repair, rather than treating every wrong answer as the same kind of intelligence failure.

The RAGChecker research (Ru and colleagues, NeurIPS 2024) provides a technical precedent for distinguishing retrieval and generation performance in retrieval-augmented systems. The NIST AI RMF 1.0 Measure playbook likewise describes instrumentation for investigating possible sources of error; NIST notes that the framework is being updated. The Meaning Lab v1.3 report documents 128 authored software tests, not independent evidence of general language understanding. The proposed attribution trace is a new research design, not a claim that such diagnostics have already been implemented or validated in the lab.

  • Locate observed discrepancies at the boundaries between source, retrieval, extraction, mapping, inference and presentation.
  • Distinguish the earliest observed divergence from a demonstrated root cause.
  • Compare each stage with a reviewed source and declared meaning invariants.
  • Use controlled replacements to investigate which stage contributes to the observed failure.
  • Retain multiple possible causes, interactions and unknown internal behavior.
  • Protect private sources and avoid unsupported claims about model reasoning.
  • Report diagnostic results separately from end-to-end accuracy and actual harm.

Chapter index

1. The answer is the last stage, not necessarily the first mistake

A fictional library notice says that books may be returned on Monday except during a stated closure. An assistant tells a visitor that the library will be open on Monday. We know the conclusion is unsupported or wrong under the relevant notice, depending on its exact wording. We do not yet know where the discrepancy arose. The assistant might have seen only an older schedule, retrieved the right document but omitted the exception, or preserved the source correctly and then misinterpreted it. These possibilities require different repairs. A useful failure investigation starts by asking which inputs and intermediate outputs can actually be inspected.

2. The pipeline is a model of observable boundaries

A simple research pipeline could contain source selection, retrieval, extraction, definition mapping, inference, output formatting and downstream action. Real systems may combine or repeat stages, and some internal processes may not be accessible to inspection. The proposed trace therefore follows observable boundaries rather than claiming to reveal every internal thought. Each boundary has an input, an output and a documented contract about what must be preserved. If an output violates that contract, the discrepancy can be recorded. If no evidence exposes the internal operation, the trace should say so. This is more useful than an invented explanation of how a model must have thought.

3. What diagnostic research contributes

RAGChecker evaluates retrieval and generation using separate diagnostic measures, recognising that performance of a modular system cannot be adequately described by one end-to-end number. The vocabulary-engineering extension asks a related question about decision-relevant meanings: at which observable boundary was an actor, condition, date, quantity or authority distinction lost? NIST’s Measure guidance supports collecting suitable information to investigate potential sources of failure. These references motivate a diagnostic approach; neither constitutes a universal algorithm for causal attribution. The proposed trace must be evaluated on its own tasks and limitations.

4. Freeze the original question and meaning invariants

Before diagnosing a wrong answer, establish which question was actually asked. For a delivery notice, the user might ask when a parcel was dispatched, when it is expected to arrive or whether arrival is guaranteed. These are different questions. Record the original request, source version, target proposition and material conditions. Identify any ambiguity rather than silently select the desired interpretation. The Semantic Evidence Set supplies the reviewed facts needed for the conclusion. An attribution trace can then compare each available stage against those facts and conditions, without changing the original task simply to make a diagnostic result easier to obtain.

5. A fictional trace with six checkpoints

Suppose source S states a parcel was dispatched on Friday, is expected on Monday, and may be delayed. Retrieval R includes all three facts. Extraction E preserves Friday and Monday but drops the delay condition. Mapping M treats expected arrival as a forecast. Inference I incorrectly concludes that Monday is certain, and presentation P says the parcel will definitely arrive then. We can establish that E already omitted relevant information, and that I adds an unsupported certainty. The trace identifies two observed discrepancies. It does not yet prove that correcting only E would make the final output accurate. That is a different experimental question.

6. Earliest observed divergence is not root cause

The first visible discrepancy may have been caused by an earlier unobserved problem. A document parser might omit an exception because the retrieved file was malformed, or because its own extraction logic failed. A model might receive an accurate structured record and still produce an unsupported answer. The trace should distinguish observed divergence, plausible contributing factor and demonstrated causal contribution under a controlled intervention. Do not label the first failed checkpoint the sole root cause merely because it appears first. Several stages may independently contribute, and one stage may compensate for another in some cases.

7. The proposed attribution record

For each stage, store its identifier, version, input reference, output reference, declared responsibility, material invariants, observation status and any detected discrepancy. Include the source version and relevant assumptions. A separate diagnosis record can describe hypotheses, controlled replacement experiments, their actual results and remaining uncertainties. The evidence may be a permitted output, a reviewed intermediate record or a controlled test result. Avoid recording unnecessary private content or sensitive internal logs. A useful trace is sufficient for the defined diagnostic task, not an unrestricted archive of every system operation.

8. Source failure and retrieval failure

If the authoritative source is incorrect, a system may reproduce the source faithfully and still give a false answer about reality. If a correct source exists but retrieval selects an outdated document, the problem is different. The Semantic Freshness Contract and Coverage Manifest help distinguish source revision, actual retrieved evidence and incomplete search. A reviewer should establish what sources were legitimately available and what the retrieval process returned. Do not assume that the model knew a source it never received. Conversely, a correct retrieval result does not establish that later stages interpreted it correctly.

9. Extraction failure and mapping failure

A table may contain values and units in separate columns. An extractor might preserve the value while losing the unit, or attach an exception to the wrong row. A mapping stage might then translate the correct unit into an incompatible concept. These failures are different even if both lead to the same incorrect number. A proposed fixture should include the original table, the extracted fields and the mapped representation. Check row, heading, scope and units against a reviewed source. A structurally valid record may still contain the wrong meaning. The validation profile must name the actual checks performed.

10. Inference failure and communication failure

A reasoning stage might preserve every material fact but draw an unsupported conclusion. Alternatively, it may reach a suitably qualified conclusion that a later summary presents without the qualification. The same final wording could result from either path. Where observable, compare the output before and after summarisation. Do not infer that a plausible explanation accurately reflects the internal computation responsible for the answer. The Response Process Record and earlier explanation work provide a useful distinction: an explanation is evidence to inspect, not direct access to a model’s complete causal reasoning.

11. A controlled replacement experiment

In the fictional delivery trace, supply a reviewed extracted record that restores the missing delay condition, while keeping the downstream evaluation conditions as comparable as possible. Observe whether the final conclusion changes. If it becomes appropriately qualified, the replacement provides evidence that the extraction defect contributed under those tested conditions. If it remains overconfident, another failure may exist. A replacement may change more than one property, so document exactly what was replaced. This experiment does not automatically establish the unique cause of an original result, especially in systems with stochastic or interacting components.

12. Four possible outcomes of a replacement

A corrected intermediate record may repair the final answer, leave it unchanged, introduce a new discrepancy or produce variable results across repeated runs. All four outcomes are informative. A successful replacement may show that the downstream pipeline can use a better input, not necessarily that the original stage was the only defect. An unsuccessful replacement may indicate another failure or a mismatch introduced by the experimental intervention. Preserve the actual conditions and outputs. The Semantic Reproducibility Capsule can help another researcher repeat the test without relying solely on the developer’s description of what happened.

13. Zoom 0: diagnosing a learner’s mistake

A learner answers a mathematics problem incorrectly. The error might begin with reading the question, choosing the wrong unit, applying an inappropriate formula or copying the answer incorrectly. A teacher can inspect the learner’s work and use a new example to examine the relevant distinction. The purpose is to identify what support is useful, not to infer a general lack of ability from one mistake. Similarly, vocabulary learning benefits from distinguishing an unfamiliar word from a known word applied to the wrong context. The trace is a practical diagnostic habit long before it becomes a software feature.

14. Zoom 1: household coordination

A family receives an incorrect reminder about a shared appointment. The calendar entry may have been wrong, the assistant may have confused time zones, or the message may have described a tentative event as confirmed. Identify the source entry and the actual reminder before changing anything. A correction to the calendar may not repair an assistant that consistently misinterprets the state of an event. A clear account of the observed error helps the household choose the appropriate correction. Keep the investigation within authorised information and avoid assuming that another person’s private message explains the failure.

15. Zoom 2: organisational repair

A business discovers that an automated report describes every received invoice as approved. The source system may have distinct status values; an export may collapse them; or the reporting layer may map both to the same label. Test a small synthetic record through each observable boundary. Preserve the organisation’s actual workflow definitions. Changing the final sentence may conceal an upstream data problem, while replacing the extractor may be unnecessary if the source is already correct. A diagnostic trace can reduce wasteful rework and support accountable review, but actual payment approvals and permissions must remain enforced separately.

16. Zoom 3: public institutions

A public-facing assistant may report that an application was denied when the source only records that a document is missing. Investigate the source and mapping rules before assigning blame or making a substantive decision about the applicant. Real administrative rules vary by jurisdiction and service. The proposed trace can help identify a communication failure and a legitimate correction path, but it does not determine eligibility or legal rights. Preserve relevant audit records under appropriate safeguards. A useful institutional diagnosis improves the system and informs a fair correction process rather than converting a technical error into a judgement about a person.

17. Zoom 4: specialist agents in the intelligence pool

The Second Intelligence Pool may contain retrieval specialists, domain interpreters, calculators and communication agents. Each can provide useful capability while introducing a distinct failure mode. An end-to-end evaluation can identify a wrong result, while a trace helps investigate the relevant handover. A receiving agent should preserve the input contract and evidence rather than merely trust a high capability score. Where an upstream component is changed, test the actual downstream effect. The proposed architecture supports cooperation among independently developed services without assuming that all agents expose their internal state or use identical reasoning mechanisms.

18. Zoom 5: repairing inherited knowledge

Future generations may inherit a historical summary whose original source, translation and later commentary became intertwined. A discrepancy may have entered during copying, interpretation or subsequent publication. Preserve available versions and provenance so future researchers can investigate the chain. Missing records may prevent a definitive attribution. A portable civilisation should be able to acknowledge that limitation while retaining the evidence needed for further inquiry. Its strength is not perfect knowledge of every historical error but an ability to reconstruct, challenge and correct what can be established. A source correction should not erase the history of earlier interpretations.

19. A small diagnostic matrix

Use synthetic cases in which a reviewed input is correct or deliberately altered at one known boundary. For example, an outdated retrieval, a missing exception, a changed unit, a wrong concept mapping, an unsupported inference and a lost qualification in the output. Compare the observed trace with the known fixture. Record whether the discrepancy is detected and correctly localised within the declared observable stages. These are proposed tests, not actual evaluation results. Add cases with more than one injected defect and an unobserved boundary. A useful evaluator should retain uncertainty instead of guessing the missing stage.

20. Interactions and compensating errors

Two wrong transformations can occasionally produce a correct final output by coincidence. A unit conversion error may be cancelled by another inappropriate conversion. A system can also handle a defect in one stage because another stage has access to a reliable independent source. An end-to-end pass therefore does not prove that every component preserved meaning. Inspect important intermediate contracts and test the combination under new cases. At the same time, do not insist that every intermediate representation look identical if an alternative representation preserves the required information. Define the relevant invariants and evaluate the actual task.

21. Distinguish repeatability from causal confidence

A stochastic system may produce different answers under the same nominal input. Record relevant settings, model and tool versions, and the number and conditions of repeated trials. A single changed result after a replacement is not necessarily sufficient to establish a reliable causal contribution. Appropriate controlled comparisons and analysis depend on the design. If reproducibility is limited, describe the limitation. The goal is not to make a certainty claim from every diagnostic experiment, but to narrow possible explanations with evidence. A proposed hypothesis should remain distinct from an observed discrepancy and a tested contribution.

22. Evaluation of the reviewer is also necessary

A diagnostic reviewer may incorrectly identify an extraction error when the original source was ambiguous. The Meaning Lab v1.3 source-fact review offers a useful precedent: preserve the cited facts, rationale and unresolved interpretations rather than automatically approve the developer’s view. A diagnostic rubric should similarly allow alternative explanations and unresolved cases. Review the expected output independently before judging a system’s trace. The Semantic Evidence Set can identify which facts jointly establish a discrepancy. Do not force every uncertain failure into a predefined category simply to improve a dashboard’s completeness.

23. Security and limits of trace collection

Trace only authorised material and collect no more than is necessary for the diagnostic task. Source records, tool responses and audit logs may contain confidential information. A public research report can use synthetic examples or appropriately minimised records rather than expose raw private content. Internal system states may be unavailable or unsuitable for disclosure; label such boundaries as unobserved. Do not ask a model to invent its hidden thought process to fill gaps. Use observable outputs, approved instrumentation and controlled tests. The attribution trace is an evidence record, not a licence to bypass privacy or access controls.

24. Four-week proposed development plan

Week 1: specify a harmless fictional pipeline and its boundary invariants. Week 2: construct reviewed fixtures with single and multiple injected discrepancies. Week 3: if a diagnostic implementation is available, run controlled replacements and record actual results and unresolved explanations. Week 4: obtain independent review of the rubric, report discrepancies and update the proposed record. These are planned activities, not completed experiments. The initial target is diagnostic reliability on defined synthetic cases, not universal explanation of all model failures or proof of safe deployment.

25. Questions every AI user can ask

Did the assistant retrieve the relevant source? Did it receive the whole necessary passage? Were the units, conditions and authority preserved? Did the conclusion follow from the extracted information? Did a later summary change the conclusion? Which of these stages are observable? Has a proposed cause been tested or merely suggested? These questions help distinguish a source problem from a reasoning or communication problem. They are useful whenever a correction matters, and they protect against wasting effort repairing a component that was not responsible for the observed discrepancy.

26. The next engineering step

Connect the proposed Semantic Attribution Trace to the Evidence Set, Coverage Manifest, Precondition Witness, Correction Receipt and Reproducibility Capsule. The next meaningful experiment is a bounded fictional pipeline whose material information losses can be deliberately introduced and independently reviewed. Preserve the distinction between observed failures and tested causal contributions. The v1.3 lab’s existing authored checks and review mechanisms provide a documented starting point, not evidence that the new trace is implemented. A future intelligence pool should be able to investigate and correct its failures without overstating what it knows about their origins.

Technical references

Research status: diagnostic evaluation of retrieval-augmented generation and AI risk measurement are established research and guidance topics. The Semantic Attribution Trace is a proposed vocabulary-engineering extension. All examples and new fixtures are fictional or proposed. No independent reviewer evidence, participant outcomes, new implementation or universal causal explanation is claimed.

Continue the current series: Semantic Mechanism Trial · Semantic Decision Utility Frontier · Semantic Claim Release Ledger