Manuscript Offprint
arXiv:2608.25118Toward Machine Learning with the Unit as a Primitive: Learning from Unit-Linked Events
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Machine learning is usually formalized through samples, while the persistent individual to which multiple observed or possible events refer often remains implicit. We propose the unit as an explicit primitive at the level of task semantics. A learning task first declares a population of persistent referents and a sameness criterion; the realized value u denotes the selected referent. Supervised learning is the main formal specialization. Its semantic object is a family of unit-conditioned response laws. Homogeneity is the special case in which those laws coincide; a sample-only conditional is silent as to whether the world is homogeneous or the observed law is only the marginal of a heterogeneous family. What is learned from data is a pair : a tokenizer that produces a contextual unit token and one shared response-law form that reads it. The structured class takes that form to be a simple relation in the token; a linear predictor is the running instance. The token is the learner-side representation through which the task-side unit affects prediction, while a learner specification that omits unit information is unit-insensitive; homogeneity remains a property of the world-side response family. When identity is unresolved, the world-side law mixes unit-conditioned targets, while the learner composes its shared form with a token. A trusted resolver may fix the unit and supply a lookup token; otherwise unit abduction forms a token of the same type from factual evidence. Unlinked single-row observations can fail to distinguish a heterogeneous unit world from a homogeneous pooled world; trusted same-unit pairs separate a restricted witness. The formal results concern this supervised specialization.
1 Introduction
The standard supervised-learning formulation starts from records and a map [4, 17, 38]. The index identifies a record, not the individual to which that record refers. If two records concern the same patient, user, device, organism, or other persistent individual, ordinary notation represents this relation only through additional metadata or an implicit modeling convention. This omission is harmless for some row-level questions, but consequential when events share an individual, queries change while that individual is held fixed, or event-to-individual attribution is uncertain. It also leaves a more basic question unstated: whether different individuals share one response law or whether the observed row-level law pools distinct unit-conditioned relationships.
Persistent individuals are not new to statistics or machine learning. Repeated-measures and random-effects models link observations through a supplied subject or group and model subject-specific variation [13, 25]. Potential-outcome frameworks compare alternative treatment responses for the same experimental unit [35]. Recommender systems use supplied user IDs to address user-specific representations learned across interactions [24, 28], while record linkage and entity resolution model uncertainty about whether records concern the same underlying entity [41]. Each tradition develops a rich local theory with its own assumptions and targets.
Together, these traditions suggest a common machine-learning formulation with a semantic order that is usually left implicit. A task first declares a population of persistent referents and a sameness criterion. It then declares the learning object attached to those referents and the across-unit structure that supports joint learning. Only after these choices does learner access become relevant: attribution may be supplied directly or inferred from evidence. We call the persistent referent a unit and elevate it to a primitive of the learning problem. Let
represent population-to-individual selection and its realization.
Unit declaration. A learning task declares a population of possible units, a criterion under which observed or possible events concern the same persistent referent, and the span over which that relation is retained. The realization denotes that referent. The law describes population selection; the data-collection protocol separately determines the joint law of dataset attributions. The unit declaration precedes the task-specific choice of learning object and does not by itself impose a response law, loss, model class, or causal semantics.
The organizing claim of the paper is that machine learning learns shared structure across task-declared units from noisy, selectively observed, unit-linked events. The primitive states what persists and which events belong together. Supervised learning is the main formal specialization: a fixed unit selects an entire unit-conditioned response law,
(2)
Changing x queries another location on the same response surface; changing u selects another member of the family. A family of unrelated maps is too flexible to learn from finite data, including for a previously unseen unit. Joint learning therefore requires a shared restriction across units, developed in Section 3.2: a tokenizer produces a contextual unit token, and one shared response-law form reads it.
The paper makes three contributions.
-
It formalizes the unit as a task-declared population primitive: a sample records an event, and the task first declares the persistent referent to which events belong.
-
It states a shared-form interface (assumption 1) whose structured class is a simple relation in the token, with a linear predictor as the running instance (Definition 2); the learned object is the pair .
-
It separates oracle predictive value, evidence access, learner approximation, and a single-row impossibility boundary, with evaluation corollaries for row versus unit weighting and for record-wise versus unit-disjoint splits.
2.1 Samples, Events, and Task-Declared Units
For the supervised specialization developed below, a conceptual complete-data representation with ground-truth attribution is
Task declaration: what counts as one unit
(a) Events share persistent unit identity
Population statement:

(b) The same unit selects a response law

selects the law, not the event
Figure 1: From the unit declaration to linked events and response laws. The task specifies the unit boundary and sameness criterion; is the population statement and its realized unit. Several event records may be attributed to the same u, and that same referent indexes a world-side response law. Holding u fixed preserves the referent while allowing context and event variation.
The input–response pair is the event content used in this specialization. The semicolon marks the more general role distinction between that event content and , which identifies the individual to which the event is attributed. The sample index remains only bookkeeping. In particular,
whenever the protocol supplies reliable attribution. Equality records the same persistent referent. Predictive equivalence is weaker: two distinct units may induce the same response law.
The space U is task-declared and need not be numerical. Direct access exposes three objects:
The map resolves the referent, and lookup supplies the token through which reads it in context c. In an ID-indexed model
an embedding, preference factor, random effect, or other parameter block, with any remaining answer-time variation absorbed into c. Its coordinates are model-internal and need not be unique; the semantic and inferential distinctions are summarized in Section B [3].
What is carried consistently from attribution into task-specific learning is the resolved referent. All records attributed to read or update the token associated with that same key. Accordingly, semantically denotes a learned response law indexed by a fixed unit; computationally it is the shared form evaluated at that unit's token . In an ID-indexed model it may be computed from . A dynamic history-dependent response state, when used, belongs to the tokenizer's context argument or to the response model, and may change while the referent stays fixed.
When neither unit attribution nor a trusted referential resolver is learner-visible, the observed data may contain only
The complete-data representation in Eq. (3) is therefore distinct from observations with learner-visible attribution,
(8) in which persistent-unit labels, or a trusted resolver that determines them, are available to the learner. This attribution guarantee reveals which referent and parameter address an event concerns; it does not make learned embeddings, random effects, or response states observed data.
2.2 Fixing the unit does not fix the event
In supervised learning, the fixed-unit response law from Eq. (2) may remain stochastic. Holding fixed conditions on the same individual while allowing repeated measurements, choices, or outcomes to differ. Event noise, time-varying state, and other exogenous variation can remain after unit selection. The unit primitive therefore separates “which individual?” from “what happens for that individual here?” as shown in Fig. 1. Independence, causal semantics, and deterministic responses are separate modeling commitments. The concrete three-event inset has three samples but only two units: events 1 and 3 share while their inputs and realized responses remain event-specific.
The unit declaration precedes the choice between observational and causal semantics. Causal estimands require additional commitments; one such specialization is recorded in Section D. Direct unit access and unit abduction provide two learner-side modes for obtaining the same task-declared unit (Section 4).
3 Learning a Family of Unit-Conditioned Response Laws
This paper develops supervised learning as the main formal specialization of the unit primitive because the ordinary object makes the consequences of a persistent unit especially transparent. Attribution is treated separately in Section 4. Once the unit is declared, the semantic object is the family in Eq. (2). The next subsection states the learner-side factorization: every path from the unit to prediction passes through a contextual token, all units use one response-law form , and every unit-specific difference represented by the learner must pass through the token. The supervised question is therefore not how a particular architecture encodes , but whether a tokenizer can organize unit-specific regularities so that one shared becomes simple enough to generalize. Conceptually, a fixed selects an entire response surface over the complete task-declared response input . Changing moves to another location on that same surface while remains fixed. Across units, the dependence may enter through a baseline shift , a changed input effect , a response function , an outcome-noise law, or the support, threshold, ranking preference, or query sensitivity of the response. Under assumption 1, all of these differences are carried by the token. Concatenation, attention, and modulation may implement the tokenizer or a richer readout; the structured class below takes the readout to be a simple relation in the token, with a linear predictor as the running instance.
Three layers must be distinguished. If units are declared and is the same for almost every , the world is a homogeneous unit extension of ordinary supervised learning. Separately, a heterogeneous family can be marginalized over to produce the same row-level conditional law . At the computational layer, a unit-omitting learner specification is unit-insensitive; a constant token or a response form that ignores its token is a canonical realization. This learner-side restriction and the world-side homogeneity layer are distinct, so row-level notation and fit alone do not choose between them. Proposition 4 makes the ambiguity formal and gives one observation protocol that can separate a restricted pair of worlds; the boundary cases are collected in Section B.
3.1 Response Heterogeneity Across Units
The first distinction is whether changing the unit changes that conditional relation at all.
Definition 1 (Unit-response homogeneity and heterogeneity). Fix the complete response inputs declared by a supervised-learning task. The declared family of unit-conditioned response laws is unit-response homogeneous if there exist a -null set and a common conditional response kernel such that, for every and every declared input ,
Here the right-hand side denotes the common response kernel shared across units; it is not defined by marginalizing over . For compatible conditional versions, however, homogeneity makes this kernel equal to the unit-marginal response law for -almost every . Thus the two uses of agree under the homogeneous restriction. The family is unit-response heterogeneous otherwise.
This definition concerns variation in the response law and is independent of a particular parameterization, architecture, or clustering device. Identity and predictive behavior remain distinct: two individuals may induce the same response law while remaining different units. The appendix gives the jointly measurable-kernel formulation, its deployment-visible qualification, and the usual almost-everywhere and off-support boundaries in Definition 3.
The homogeneity distinction is defined only after the task has specified what counts as a unit, and it is a world-side property independent of a particular learner. The computational counterparts—a unit-insensitive learner, a structured pair , and a saturated private-law class—are developed in Section 3.2.
3.2 Shared response-law form and contextual unit tokens
Heterogeneity characterizes world-side variation among response laws. Joint learning requires a separate computational restriction: we do not fit an unrelated mechanism for each unit. That class is too flexible.
When the response specification distinguishes a focal query x from an answer-time context c, write for the complete conditional; c may otherwise be absorbed into a larger x. Given factual evidence attached to a unit and the current context, a tokenizer produces a contextual unit token
Assumption 1 (Shared form, contextual tokens). For the learner in a given context, every path by which the selected unit can affect prediction is mediated by a contextual unit token, and all units use one shared response-law form. Any unit-specific difference represented by the learner must be expressed by the token.
The unit is the task-side referent and is a learner-side representation. Assumption 1 is an interface. The structured class of this paper requires a simple shared relation in the token: unit-specific differences enter only through a declared low-complexity map of , while the query maps may remain nonlinear. A finite-dimensional linear predictor (Definition 2) is the running instance; other declared simple maps of the token are the same restriction, not a second theory. Its boundary cases are collected in Section B. The object need not be a deterministic vector. A deterministic tokenizer may return a vector, a distribution, or another typed computational object; a fixed embedding is the simplest lookup special case. Alternatively, the tokenizer itself may be stochastic, in which case it returns a law over token values. These are different typed constructions. A distribution-valued token, say , is passed as one typed object to ; it is not the sampling randomness marginalized in Eq. (14). In every case the token is learner-side information about the unit under the present evidence and context, not a second copy of the unit. It may be read loosely as a belief about the unit, but it is not required to be a posterior over identity, and it is not required to recover a unique complete latent unit.
The unit-token relation is a representation map, not a bijection. The same unit may receive different tokens in different contexts,
Distinct units may receive the same token, or the same token law, in a given context,
Token coincidence is computational indistinguishability under the current query scope. It does not identify the units: referential identity remains .
For a deterministic token, the learner uses one shared response mechanism
If the tokenizer is a stochastic kernel over token values, the learner instead uses the integral
The essential point is that is the same learned map for every unit; neither display defines the world target .
Definition 2 (Linear shared form). Fix a finite dimension and let tokens take values in . A shared form is linear in the token when there exist maps and such that
and depends on z only through this linear predictor, via a declared exponential-family, GLM, or scoring link. The maps and may be nonlinear in . Finite-type models arise when tokens are further restricted to a finite set or simplex in ; a low-rank model is the same class at small .
Assumption 1 remains the interface. The structured class is a restriction on how reads the token, not a private mechanism per unit: depends on z only through a declared simple relation, while may remain complex. Definition 2 is the running instance. A finite-type token or another declared low-complexity map of z instantiates the same class; they are not developed here. Misspecification is residual unit-specific variation that the declared simple relation cannot absorb. Without a bound on d, or with an unrestricted nonlinear readout of z, the factorization is again a reparameterization. Random-intercept and random-slope models, matrix factorization, and a linear last-layer over a query encoder instantiate the linear running instance; they differ in how and are parameterized, not in the role of the unit. A distribution-valued token lies outside the running instance unless it is reduced to a vector in , for example a mean or a finite coefficient summary.
When identity is unresolved, under response sufficiency and the external-query condition , the world-side target and the learner-side token composition are
The first line is the exact world mixture under these conditions; it contains no learned parameter. The second line is a learner defined on token space. They coincide only if the tokenizer realizes an appropriate token law for the relevant world-side unit mixture and the shared response form correctly realizes the corresponding unit-conditioned targets. A point token is a further learner-side collapse. If a trusted key fixes , the world identity conditional is the Dirac law , while the learner separately reads the lookup token . The theorems below use an identity-mixture learner because it is information-theoretically convenient; deployed learners may instead use the token composition. These are alternative learner coordinates, not identities that place learned parameters inside world truth.
What is learned is the pair , not a collection of unrelated unit-specific mechanisms. Heterogeneity is thereby organized in a common token space:
The tokenizer is responsible for discovering structure that units can share; the response mechanism specifies how any token, faced with a query and context, produces a response. A good tokenizer converts complex unit-specific regularities into a simple, stable, shared law on token space.
The shared-form class also contains a degeneration in which the response never receives the unit. In the linear running instance this is , or any token that does not enter . That unit-omitting specification is the computational restriction
which has two canonical sufficient realizations under assumption 1:
or
These equations define the unit-insensitive learner specification. The same specification can be used with a homogeneous world or with the marginal of a heterogeneous family; world homogeneity is a property of , not of token equality.
The tokenizer and the response learner are trained jointly: each shapes whether the other remains simple enough to generalize.
When a trusted identity is available, a token may be obtained by direct lookup at the resolved address. When no resolver supplies the realized unit, a token of the same type is formed from factual evidence by unit abduction (Section 4). Both access modes still train the same pair .
The token space also determines how observations from other units may constrain the response law for a target unit. Referential identity answers which individual is present; sharing observations across units requires an explicit similarity or borrowing rule, such as a metric, kernel, graph, or hierarchy.
A learnable specification names what is shared, what varies with the unit, what remains invariant, and how evaluation distinguishes a unit-dependent relationship from identifier memorization (Section G). Assumption 1 answers the first three by requiring a shared and a contextual token; the structured class further requires that depend on the token only through a declared simple relation, with Definition 2 as the running instance.
Structure as the condition of learnability. The pair is the computational expression of a dual restriction. The response map needs structure even for a fixed unit, and the unit axis needs a second restriction so that observations can be shared and an unseen unit can be served. Homogeneity is one such structure. A simple shared relation in the token supplies another: units may differ, but only through a low-complexity map of . The linear running instance uses the inner product in Eq. (15); other declared simple maps of the same token remain open. Which other units' observations may constrain the token is a separate borrowing question. The roles of a which-unit belief and a trusted lookup are clarified in Section B.
(a) Unit-insensitive learner
(b) Shared form
(c) Saturated

Figure 2: The computational assumption for the supervised specialization. (a) A unit-insensitive learner: every unit receives a common token , or the shared form ignores the token. (b) Structured heterogeneity: a tokenizer forms contextual unit tokens, and all units share one response-law form , a simple relation in the token (linear running instance). (c) A saturated class assigns an unrelated law to each unit.
4 Learner Access to the Unit
With the unit boundary, response family, and shared form fixed (Section 3.2), world-side attribution determines which realized unit the event concerns. Learner access determines how that unit enters downstream learning as a contextual token. It does not replace the structure that made the family learnable. We distinguish direct unit access from unit abduction; both cases retain the same persistent referent and return tokens of the same type. They separate two questions: which unit does the current evidence concern, and, given a token for that unit, how does the shared form respond to the supplied query? Direct access resolves the first question without eliminating the second.
The first question is referential. A further structural-localization question asks where the resolved or inferred referent lies in the token space used for sharing information. A stable ID may answer the referential question without supplying that position, just as a learned token geometry need not uniquely identify the individual.
Direct unit access. A trusted resolver uses a key k to determine which persistent unit the event concerns and which stable address should be read. A separate lookup at that address supplies the token . With an ID-indexed model this is the learned row —an embedding, preference factor, or random effect—updated from the records associated with that key. Personalized recommendation with a trusted user key is a common example. Direct access therefore removes which-unit uncertainty while leaving token-and-form approximation error. A history-dependent response state may also be updated for the known unit, but such state belongs to the tokenizer's context or to rather than to unit attribution. A Dirac measure can record the resolved identity in common measure-valued notation without changing the token's origin or turning lookup into abduction; details are recorded in the appendix.
Unit abduction. Unit abduction applies when no resolver identifies the realized persistent unit. Let denote the factual evidence available before the current answer. The access step forms a contextual unit token
of the same type as a lookup token. Alternative queries then use that token through . This yields the learner's token-space composition in Eq. (16).
The theoretically exact predictive law remains the mixture over units. Under the data-generating distribution, is the world-side identity posterior: conditioning changes uncertainty about which unit was realized, while the referent itself remains fixed. The theorems below use an identity-mixture specialization and write the learner's approximation as
When the learning protocol explicitly targets the identity posterior, may be interpreted and evaluated as an approximate posterior; otherwise its calibration and recovery properties require separate targets and diagnostics. A tokenizer may emit a token, or a law over tokens, without first forming an identity posterior; Eq. (24) gives the corresponding prediction.
Unit information rather than a mandated belief. The formed token is not the unit and is not required to be a probability over U. Direct access and abduction differ by how the token is obtained, not by whether that information is a belief. Conditioning on an unobserved quantity and averaging predictions over its uncertainty are standard probabilistic-learning operations [4, 29]. The contribution claimed here is the persistent-referent formulation and the separation of learner-access modes, not those operations themselves. Established causal and logical uses of abduction are compared in Section 7.
The unit boundary is declared before learning and evaluation. Within a declared same-unit query family, the same realized value u is retained across response queries. A new factual observation may update the formed token; alternative queries in the same family reuse the current token.
In the supervised specialization, an identity-mixture learner mirrors the world-side unit mixture in Eq. (16) by reusing one learned identity mixing measure through an identity-indexed response model:
This identity-mixture form is used in the theorems below. A different learner realization is the token-space form
The two integrals coincide with each other and with the exact world mixture only under the conditions of Eq. (16). The semicolon distinguishes the supplied response query from abductive evidence. The displayed learner prediction is always well-defined when its components are. To
(a) Direct unit access — lookup token

(b) Unit abduction — formed token
shared form
direct:
abduction: formed token
Figure 3: Direct unit access and unit abduction return tokens of the same type. A trusted resolver uses a key to fix the persistent referent and its stable address; lookup then supplies , typically the learned row , without forming a which-unit belief. When no resolver identifies the unit, a tokenizer forms a contextual token from factual evidence. A which-unit belief may approximate the world-side identity conditional (Section B). Both access modes use the same learned response model, with the token mode using the shared form .
identify the corresponding exact fixed-belief mixture with , we use two separate conditions: response sufficiency, , and the external-query condition, (or the same statement for the complete input when context is exposed). The latter holds for a fixed query and, more generally, when a query policy uses the declared factual evidence but has no hidden access to . If a recorded variable is informative about the unit, the protocol places that factual information in before forming the token; an alternative response query does not silently become a new abduction call. When answer-time conditions must be distinguished from the focal query, we write the complete response input as and call response context. It may otherwise be absorbed into a larger . Attribution evidence remains in , which excludes the current prediction target.
The uninformative limit. If , then almost surely. Evidence-based individualization is then unavailable: a learner calibrated to this target remains at population-level uncertainty, or an operational system may abstain and seek new evidence. This limitation concerns attribution information and is compatible with either homogeneous or heterogeneous responses across units.
Evidence informativeness and response heterogeneity. Evidence informativeness asks whether the available evidence changes what can be known about U. Response heterogeneity asks whether changing U changes the current response law. They define separate axes of the problem. Recommendation with a trusted resolver occupies the resolved-identity, heterogeneous cell; the lookup token may nevertheless remain learned. The lower-right cell separates the predictive value of unit information from the accessibility of attribution evidence; the upper-left cell separates attribution from relevance to the response target. The regular-conditional and support qualifications are recorded in Section E.4.
Table 1: For a unit boundary fixed by the task, learner access to the unit and unit-response dependence are independent axes. “Current evidence” means the evidence declared by the protocol.
| Access to | unit-homogeneous response | unit-heterogeneous response |
|---|---|---|
| resolved or informative | The referent may be resolved directly, or the formed token may be informative; this response target is invariant across units. | Personalization is substantive; a resolved identity or an informative token changes the prediction. |
| unresolved; uninformative | Unit uncertainty remains at the population level; the response is unit-invariant. | Oracle predictive value of knowing may exist, but the current evidence cannot access it; mix, abstain, or collect new evidence. |
5 Unit Information: Predictive Value, Access, and Deployment
In this section, “unit information” refers to the predictive value of knowing the realized unit, decomposed into oracle value, accessibility, learned realization, and component identifiability. The proofs use the identity-mixture learner of Eq. (23).
The central theoretical question is not merely whether a unit-conditioned model can be written. Under assumption 1 the learned object is the pair . The question is which part of the oracle predictive value of unit information is available through declared evidence, how much of that available value the pair attains, and what the resulting marginal prediction can certify about its internal token-and-form decomposition. The corresponding layers are distinct:
oracle value predictive accessibility learned-pair realization component identifiability.
(25)
Here learnability is reserved for whether some learning rule drives the approximation penalty to zero as training information grows. The identities below are classical specializations of conditional entropy, mutual information, the relative-entropy chain rule, and data processing [7, 14]. They organize the four layers; learnability and component identification require the additional conditions listed in the appendix.
5.1 Oracle Predictive Value, Accessibility, and Residual Information
Question. If oracle unit information is useful, how much of that value is available from the factual evidence that the protocol actually exposes? Write for the complete declared response input, with in the base response specification and when optional response context is exposed. The letter is not a unit token . Consider a declared deployment law for and assume response sufficiency,
When the relevant conditional densities exist with respect to a common outcome reference measure and the log-loss risks are finite, write
Proposition 1 (Value-access decomposition under log loss). Under Eq. (26),
(28) and the oracle value decomposes exactly as
Moreover,
Intuition. Perfect knowledge of U defines an oracle ceiling, but evidence can expose only the response-relevant part of that information. The remainder is still predictively valuable in principle and inaccessible under the declared evidence cutoff.
The three gaps vanish exactly under , , and . The last says that the evidence retains all response-relevant unit information, not that it recovers the realized unit. A trusted key that uniquely resolves zeros the residual term; estimating and remains the approximation problem below. The proper-score comparison is Proposition 7; proofs are in Section E.1.
Binary example. Let be fixed, , , and with independent and . In nats, the oracle value is , the accessible value is , and the residual value is , where . The unit matters for every , but the declared evidence ranges from perfectly informative to useless.
5.2 Realization by the Learned Pair and End-to-End Error
Question. How do unit-belief and fixed-unit response errors limit the value realized by the deployed mixture? For the fixed-belief formulation, additionally assume the external-query condition
This holds for a fixed query and for a query policy that uses without hidden access to U. At admissible , write
Under Eqs. (26) and (32), on the chosen versions.
Proposition 2 (End-to-end predictive excess and component-error bound). Let be the expected log loss of . Whenever the displayed quantities are finite,
If, for almost every under the deployment law of , and for -almost every , then
(38)
The bound remains valid in the extended sense when its right-hand side is infinite.
The exact identities say that the learned pair realizes accessible response value minus its predictive excess. The upper bound follows by applying the relative-entropy chain rule to the true and learned latent-joint laws and then projecting away U; the proof is in Section E.2.
For a complementary query-local statement, let and let be a common full-mass region under and .
Lemma 3 (Query-local unit-mixture error propagation). For measurable response kernels for which the displayed quantities are well-defined,
(39)
Intuition. The KL result tracks the log-loss penalty of the deployed prediction; the total-variation result shows when unit-belief error can matter at a particular query. If all true fixed-unit response laws agree there, the heterogeneity diameter is zero and belief error cannot change the response mixture.
The KL bound splits deployed excess into unit-belief error and true-posterior-averaged response-law error (Eq. (38)); the total-variation lemma makes belief sensitivity heterogeneity-dependent (Section E.5). Under trusted direct access, with no module, so remaining error is mismatch between and —token and form, not attribution. Both bounds are one-sided: a perfect marginal identifies neither component, support mismatch can make the KL bound infinite, and total variation does not control unbounded log loss.
Binary example and TV sensitivity. In the binary example above, the exact evidence-conditional predictor has and realizes all accessible value. A learner that ignores and always reports the pooled Bernoulli(1/2) law has and realizes none of it. Separately, if at a query, even a belief that swaps all mass between the two units leaves the response prediction unchanged; when the laws separate, the heterogeneity multiplier in Eq. (39) records the possible sensitivity.
5.3 Single-Row Impossibility and Repeated-Linkage Separation
Question. Can perfect marginal prediction validate the internal unit structure? The law of total probability gives
The next result upgrades this identity to an observational-equivalence and testing statement, then exhibits a protocol that separates the same worlds.
Proposition 4 (Single-row indistinguishability and linked-pair separation). (a) The identity in (40) holds for compatible conditional versions. Moreover, in an unrestricted response-kernel class, every sample-only law has, under every learner belief, the unit-constant representation
so marginal fit does not identify the two mixture components.
(b) For a statistical witness, fix one response input. In world H, let and
In world P, let for both units. If each observation comes from a fresh independently drawn unit and neither its identity nor linkage is observed, then for every n,
Consequently every possibly randomized test has and
(c) If instead two responses per unit are observed with trusted same-unit linkage and are conditionally independent given U, then
or equivalently their agreement probabilities are 5/8 and 1/2. If M linked pairs are sampled independently from independently drawn units, their empirical agreement rate therefore gives a consistent test as .
(d) More generally, under the declared linked-pair model , the observable pair law identifies
but does not by itself identify the full mixing law or realized unit.
Intuition. One response from each fresh, unlinked unit reveals only the pooled Bernoulli mean. Trusted repeated linkage exposes a joint observation, whose within-unit dependence carries a heterogeneity signal.
Unrestricted single-row observations cannot distinguish a homogeneous world from every heterogeneous alternative. Trusted same-unit pairs under a fixed-u product law separate the displayed worlds and identify . Repeated records without trusted linkage do not suffice; recommendation logs with user IDs are outside the fresh-unlinked regime because the IDs already supply linkage and update addresses. Restricted mixture identifiability can require further structure [43]. Proof and the explicit test are in Section E.3.
Binary example. The two fixed-unit success probabilities are , so their population variance is , exactly the linked-pair covariance. Both probabilities remain strictly between zero and one: the witness retains event variation after U is fixed rather than replacing it by a deterministic label.
(a) Heterogeneous fixed-unit laws

Observable marginal
(b) unit-independent law
one law for every u,
mix over U

same marginal law
Figure 4: Single-row marginals do not certify unit structure. Distinct fixed-unit Bernoulli laws and a unit-independent Bernoulli law can both yield after marginalizing U. In the restricted witness of Proposition 4, one response from each fresh unit remains indistinguishable for every sample size, whereas a conditionally independent pair with trusted same-unit linkage reveals within-unit covariance.
5.4 Practical Corollaries for Repeated-Unit Evaluation
When attribution is observed, retaining units also changes elementary bookkeeping in ways that alter the estimand and evaluation protocol [19, 34, 36]. For observed units, let be the number of records from and let be its mean loss.
Corollary 5 (Row and unit weighting). The empirical risks
agree for every possible collection of unit mean losses if and only if all observed units have equal record multiplicity.
Corollary 6 (Known units survive a record-wise split). If each record independently enters training with probability , a unit with records appears in both train and test with probability
This probability is positive exactly when .
Neither weighting is universally correct; the deployment estimand determines the target. Likewise, a record-wise split generally mixes new-event prediction for known units with prediction for unseen units, so an unseen-unit claim requires an explicitly unit-disjoint protocol. Proofs are in Section E.7. Prediction-level marginalization is distinct from deleting attribution metadata: removing unit labels from a table is a data map, not the same operation as mixing a unit-conditioned family.
An empirical study that uses the identity-mixture specialization should keep separate unit-belief quality, fixed-unit response quality, deployed marginalized prediction, and a matched unit-omitting baseline under the same information and target. A compact checklist is in Section G.
6 Recommendation as a Worked Setting
Recommendation provides a worked instance of the unit primitive: many interaction records can share one user while candidate items change. Direct unit access uses a trusted key to resolve which
(a) Repeated units change the estimand
Row average
weight

1/N
2/N
Per-unit average
weight 1/M



(b) Repeated units change the split question Record-wise split

known unit, new event
Whole-unit split

new unit
Figure 5: Repeated units change both the estimand and the split question. Row averaging and unit averaging assign different weights when units contribute unequal numbers of records. A record-wise split can measure a new event for a known unit, whereas a whole-unit split targets generalization to a new unit. The declared deployment question determines the appropriate choice.
persistent user is active and which stable address to read; lookup supplies . Unit abduction forms a token of the same type from factual evidence (Section 4). The two access modes differ in how the token is obtained, not in whether the user is the unit. The mapping is summarized in Table 2. Factorization and neural collaborative-filtering models are established instances of the ID-indexed formulation [18, 24, 28]. In the linear running instance they instantiate Eq. (15) by a user token and an item map ; a deeper query encoder may be nonlinear, but the readout in the user token remains an inner product.
7 Relations to Established Learning Traditions
Classical statistical learning studies how a predictor class and learning rule generalize from finite samples [17, 38]. The unit formulation does not replace that theory. Under assumption 1 it adds an explicit question when persistent units matter: how a tokenizer organizes units so that one shared response-law form generalizes across them.
The components of the pair have long appeared across statistics and machine learning under different objects and assumptions. Longitudinal random-effects models provide a particularly close comparison because they combine supplied same-subject linkage, a shared response form, and a subject-specific token (the random effect). Other traditions infer attribution, organize prediction around episodes or environments rather than individuals, or begin from a supplied group boundary. Table 3 compares six traditions by their persistent referent, attribution assumptions, identity uncertainty, and how they instantiate a tokenizer and a shared form. The table records a recurring structural role rather than mathematical equivalence: each tradition retains its own estimands, identification conditions, and learnability assumptions.
The history also separates persistent-unit variation from environment variation. Random effects and personalization primarily ask how responses vary across persistent individuals. Covariate shift, domain adaptation, and invariant prediction primarily organize variation across environments or selection regimes [2, 33, 40]. These axes can be crossed: a response may vary across units while remaining invariant across environments, vary across environments while remaining homogeneous across units, or vary along both. Collapsing these axes would conflate distinct sources of variation.
Table 2: For this worked task, users instantiate the declared unit boundary.
| Object in the unit formulation | Recommendation interpretation |
|---|---|
| Population | |
| population unit | possible user individuals |
| Individual referent | |
| realized unit | one persistent user; not a uniquely identified embedding coordinate |
| Direct-access model | |
| trusted key | stable referential address that associates interaction records and parameter updates with the same user slot |
| lookup token | learner-side object obtained by indexing, typically represented by a learned row (embedding, factor, random effect); not the user |
| Learner under unit abduction | |
| factual evidence | admissible observed history or side information used to form a user token |
| tokenizer | maps evidence and context to a user token ; when explicitly targeted, approximates the world-side identity conditional for the identity-mixture learner |
| Query-response specification | |
| query | candidate item or slate supplied to the response model |
| response context | explicit answer-time context or history-dependent response state, when used; it may change the token while user identity stays fixed |
| shared form | feedback law instantiated by the user token through a simple relation in ; the linear running instance is ; a direct-ID model computes it at |
The term abduction likewise has established neighboring meanings. In structural-causal counterfactual reasoning it infers exogenous noise before intervention and prediction, while Abductive Learning couples logical abduction to machine learning [8, 31, 32]. Unit abduction instead names the construction of a contextual unit token from factual evidence (Eq. (21)). A which-unit belief may approximate the world-side identity conditional and feed the identity-mixture learner; the access step remains the formed token (Section B). These learner formulations may coexist in a larger model while remaining distinct inference operations.
8 Discussion and Limitations
The unit primitive is useful when a learning question depends on persistence, attribution, or unit-level evaluation. For row-level deployments with no same-unit question, the ordinary sample formulation is the appropriate special case. That sufficiency does not make the rows homogeneous units: without a declared unit axis the row-level law is silent about unit-response homogeneity.
Two readings of the preceding sections are methodological rather than theorems. For many applied tasks, a natural starting class admits structured response heterogeneity and lets data decide whether the unit-omitting restriction Eqs. (19) and (20) is adequate; this does not claim that every task is empirically heterogeneous. Separately, the comparisons in Section 7 can be read as an organizing program in which different fields recover partial aspects of a unit-conditioned family. That reading is not a reduction.
Assumption 1 is a computational interface, not a learnability theorem. The structured class makes it a restriction: must read the token through a declared simple relation. The running
Table 3: Relations to six established model families.
| Family | Established object or assumption | Relation to the unit formulation |
|---|---|---|
| random effects | A supplied subject or group index and a population model for subject-specific parameters [13, 25]. | Direct lookup of a subject token with a shared ; the random effect is a distributional token, not a private response mechanism. |
| latent-variable models and mixtures of experts | Incomplete-data estimation, input-dependent gating over experts, and amortized inference over latent codes [9, 20, 23]. | The encoder or gating map is a tokenizer; the decoder or expert family is a shared form, provided the task assigns the latent the role of a persistent unit. |
| multitask, grouped-latent, Neural-Process, and meta-learning methods | Shared parameters or representations across related tasks, and dataset-, group-, or task-level latents or deterministic context representations derived from an already associated context set [1, 5, 6, 10–12, 16]. | An episode or context encoder is a tokenizer and the decoder is a shared form, provided the outer task declares a persistent unit. In the cited methods the context-to-group association is supplied before prediction, which differs from forming a token from otherwise unattributed evidence. |
| record linkage, entity resolution, and probabilistic identity representations recommenders and personalization | Posterior linkage structures, learned entity matching, and distribution-valued instance representations [22, 26, 30, 39, 41, 42]. Known user indices, latent user factors, history encoders, and user-conditioned response scores [18, 21, 24, 27, 28, 37]. | These methods infer which records share a task-side unit. The present formulation additionally asks for a learner-side token that instantiates one shared . A known user index provides a lookup token while the scoring model is a shared . Unresolved user attribution forms a token of the same type rather than looking it up. |
| potential outcomes, structural causal models, and Abductive Learning | units under treatment comparisons, counterfactual abduction-intervention-prediction, and logical abduction coupled to learning [8, 31, 32, 35]. | Here remains a task-side referent across treatments or worlds. Their abduction objects (noise, logical facts, identity posteriors) are not the unit token of assumption 1, and each tradition keeps its own estimands and identification conditions. |
instance Definition 2 is a finite-dimensional linear predictor; other declared simple maps of instantiate the same class. Without a bound on , or with an unrestricted nonlinear readout of , the factorization is again a reparameterization. The class is misspecified when residual unit-specific variation cannot be absorbed into the declared simple relation. The paper does not prove that some learning rule drives the approximation penalty to zero as training information grows, and joint training of does not by itself identify either module. The theorems in Section 5 analyze an identity-mixture learner; a deployed system may instead use the token composition. These are alternative coordinates, not a proof that a tokenizer recovers the identity posterior.
The unit boundary is task-relative. Within a fixed declaration, a trusted key resolves the referent but does not identify the token: may be reparameterized with , and learning it does not recover the individual. Referential identity also supplies no intrinsic similarity; borrowing requires a metric, kernel, graph, hierarchy, or other coupling. In the linear running instance the inner product in Eq. (15) is the default readout; other simple relations remain open. When identity is unresolved, identifying and the fixed-unit kernels still needs shared-unit observations or other restrictions. Response-informative observations belong in ; a merely proposed query does not trigger a second abduction step.
The formal results already indicate what would test a unit-centered claim. Unlinked single-row observations cannot separate a restricted heterogeneous witness from a pooled homogeneous world; trusted same-unit pairs can (Proposition 4). A record-wise split mixes known-unit new-event prediction with unseen-unit generalization (Proposition 6), and row weighting disagrees with unit weighting whenever multiplicities differ (Proposition 5). An empirical study should therefore keep a matched unit-omitting baseline, report unit-belief quality separately from fixed-unit response quality when the identity-mixture specialization is used, and declare whether the split is unit-disjoint (Section G). No such study is reported here.
Causal estimands require an additional layer. The primitive preserves the referent across a query family; intervention, counterfactual coupling, and identification assumptions are specified separately (Section D). Token reparameterization, the identity-belief specialization, and the fixed evidence cutoff are collected in Sections B and F.
9 Conclusion
The paper’s organizing claim is that machine learning learns shared structure across task-declared units from noisy, selectively observed, unit-linked events. A sample records an event; the task first declares the persistent referent, and only then chooses an ID, embedding, or other representation. Supervised learning takes a family of unit-conditioned response laws as its semantic object. Assumption 1 states a computational factorization for learning that family: every learner-side path from the unit to prediction passes through a contextual unit token, all units use one form , and represented unit-specific differences must pass through the token. The learned object is the pair ; the structured class is a simple relation in the token, with a linear predictor as the running instance (Definition 2). A unit-omitting learner specification is unit-insensitive, while a constant or ignored token is a canonical realization of that specification. The conceptual boundaries are collected in Section B.
Oracle predictive value of unit information is then separated from evidence accessibility; the learned pair incurs an additional approximation penalty; and marginal prediction alone does not reveal the internal token-and-form decomposition. Trusted same-unit linkage provides a restricted positive boundary. When preserving the unit changes none of a declared target, estimand, admissible answer, or evaluation protocol, the unit-marginal formulation is sufficient.
References
[1] Jonathan Baxter. A model of inductive bias learning. Journal of Artificial Intelligence Research, 12:149–198, 2000. doi: 10.1613/jair.731.
[2] Shai Ben-David, John Blitzer, Koby Crammer, Alex Kulesza, Fernando Pereira, and Jennifer Wortman Vaughan. A theory of learning from different domains. Machine Learning, 79:151–175, 2010. doi: 10.1007/s10994-009-5152-4.
[3] Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(8):1798–1828, 2013. doi: 10.1109/TPAMI.2013.50.
[4] Christopher M. Bishop. Pattern Recognition and Machine Learning. Information Science and Statistics. Springer, New York, NY, 2006. ISBN 978-0-387-31073-2. URL https://link.springer.com/book/9780387310732.
[5] Diane Bouchacourt, Ryota Tomioka, and Sebastian Nowozin. Multi-Level Variational Autoencoder: Learning disentangled representations from grouped observations. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pages 2095–2102. AAAI Press, 2018. doi: 10.1609/aaai.v32i1.11867.
[6] Rich Caruana. Multitask learning. Machine Learning, 28:41–75, 1997. doi: 10.1023/A:1007379606734.
[7] Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. Wiley, 2 edition, April 2005. ISBN 9780471748823. doi: 10.1002/047174882X. URL https://doi.org/10.1002/047174882X.
[8] Wang-Zhou Dai, Qiu-Ling Xu, Yang Yu, and Zhi-Hua Zhou. Bridging machine learning and logical reasoning by abductive learning. In Advances in Neural Information Processing Systems 32, pages 2811–2822, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/9c19a2aa1d84e04b0bd4bc888792bd1e-Abstract.html.
[9] Arthur P. Dempster, Nan M. Laird, and Donald B. Rubin. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society. Series B (Methodological), 39(1):1–22, 1977. doi:10.1111/j.2517-6161.1977.tb01600.x.
[10] Harrison Edwards and Amos Storkey. Towards a neural statistician. In International Conference on Learning Representations, 2017. URL https://arxiv.org/abs/1606.02185.
[11] Marta Garnelo, Dan Rosenbaum, Chris J. Maddison, Tiago Ramalho, David Saxton, Murray Shanahan, Yee Whye Teh, Danilo J. Rezende, and S. M. Ali Eslami. Conditional neural processes. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1704–1713. PMLR, 2018. URL https://proceedings.mlr.press/v80/garnelo18a.html.
[12] Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural processes. arXiv preprint arXiv:1807.01622, 2018. URL https://arxiv.org/abs/1807.01622.
[13] Andrew Gelman and Jennifer Hill. Data Analysis Using Regression and Multilevel/Hierarchical Models. Cambridge University Press, 2006. doi: 10.1017/CBO9780511790942.
[14] Tilmann Gneiting and Adrian E. Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378, 2007. doi: 10.1198/016214506000001437.
[15] Heyang Gong, Chaochao Lu, and Yu Zhang. Distribution-consistency structural causal models. arXiv preprint arXiv:2401.15911, 2024. URL https://arxiv.org/abs/2401.15911.
[16] Jonathan Gordon, John Bronskill, Matthias Bauer, Sebastian Nowozin, and Richard E. Turner. Meta-learning probabilistic inference for prediction. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1805.09921.
[17] Trevor Hastie, Robert Tibshirani, and Jerome Friedman. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer Series in Statistics. Springer, New York, NY, 2 edition, 2009. ISBN 978-0-387-84857-0. doi: 10.1007/978-0-387-84858-7.
[18] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. Neural collaborative filtering. In Proceedings of the 26th International Conference on World Wide Web, pages 173–182. International World Wide Web Conferences Steering Committee, 2017. doi: 10.1145/3038912.3052569.
[19] Stuart H. Hurlbert. Pseudoreplication and the design of ecological field experiments. Ecological Monographs, 54(2):187–211, 1984. doi: 10.2307/1942661.
[20] Robert A. Jacobs, Michael I. Jordan, Steven J. Nowlan, and Geoffrey E. Hinton. Adaptive mixtures of local experts. Neural Computation, 3(1):79–87, 1991. doi: 10.1162/neco.1991.3.1.79. URL https://www.cs.toronto.edu/~hinton/absps/jjnh91.pdf.
[21] Wang-Cheng Kang and Julian McAuley. Self-attentive sequential recommendation. In 2018 IEEE International Conference on Data Mining, pages 197–206. IEEE, 2018. doi: 10.1109/ICDM.2018.00035.
[22] Andee Kaplan, Brenda Betancourt, and Rebecca C. Steorts. A practical approach to proper inference with linked data. The American Statistician, 76(4):384–393, 2022. doi: 10.1080/00031305.2022.2041482.
[23] Diederik P. Kingma and Max Welling. Auto-encoding variational Bayes. In International Conference on Learning Representations, 2014. URL https://arxiv.org/abs/1312.6114.
[24] Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8):30–37, 2009. doi: 10.1109/MC.2009.263.
[25] Nan M. Laird and James H. Ware. Random-effects models for longitudinal data. Biometrics, 38(4):963–974, 1982. doi: 10.2307/2529876.
[26] Yuliang Li, Jinfeng Li, Yoshihiko Suhara, AnHai Doan, and Wang-Chiew Tan. Ditto: Deep entity matching with pre-trained language models. Proceedings of the VLDB Endowment, 14(1):50–60, 2020. doi: 10.14778/3421424.3421431.
[27] Dawen Liang, Rahul G. Krishnan, Matthew D. Hoffman, and Tony Jebara. Variational autoencoders for collaborative filtering. In Proceedings of the 2018 World Wide Web Conference, pages 689–698. ACM, 2018. doi:10.1145/3178876.3186150.
[28] Andriy Mnih and Ruslan R. Salakhutdinov. Probabilistic matrix factorization. In Advances in Neural Information Processing Systems 20, pages 1257–1264, 2007. URL https://proceedings.neurips.cc/paper/2007/hash/d7322ed717dedf1eb4e6e52a37ea7bcd-Abstract.html.
[29] Kevin P. Murphy. Machine Learning: A Probabilistic Perspective. Adaptive Computation and Machine Learning. MIT Press, Cambridge, MA, 2012. ISBN 978-0-262-01802-9. URL https://www.cs.ubc.ca/~murphyk/MLbook/.
[30] Seong Joon Oh, Kevin P. Murphy, Jiyan Pan, Joseph Roth, Florian Schroff, and Andrew C. Gallagher. Modeling uncertainty with hedged instance embeddings. In 7th International Conference on Learning Representations. OpenReview.net, 2019. URL https://openreview.net/forum?id=r1xQQhAqKX.
[31] Nick Pawlowski, Daniel Coelho de Castro, and Ben Glocker. Deep Structural Causal Models for tractable counterfactual inference. In Advances in Neural Information Processing Systems 33, pages 857–869, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/0987b8b338d6c90bbedd8631bc499221-Abstract.html.
[32] Judea Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, 2 edition, 2009. doi:10.1017/CBO9780511803161.
[33] Jonas Peters, Peter Bühlmann, and Nicolai Meinshausen. Causal inference using invariant prediction: Identification and confidence intervals. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 78(5): 947–1012, 2016. doi: 10.1111/rssb.12167.
[34] David R. Roberts, Volker Bahn, Simone Ciuti, Mark S. Boyce, Jane Elith, Gurutzeta Guillera-Arroita, Severin Hauenstein, José J. Lahoz-Monfort, Boris Schröder, Wilfried Thuiller, David I. Warton, Brendan A. Wintle, Florian Hartig, and Carsten F. Dormann. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8):913–929, 2017. doi: 10.1111/ecog.02881.
[35] Donald B. Rubin. Estimating causal effects of treatments in randomized and nonrandomized studies. Journal of Educational Psychology, 66(5):688–701, 1974. doi: 10.1037/h0037350.
[36] Sohrab Saeb, Luca Lonini, Arun Jayaraman, David C. Mohr, and Konrad P. Kording. The need to approximate the use-case in clinical machine learning. GigaScience, 6(5):1–9, 2017. doi: 10.1093/gigascience/gix019.
[37] Ruslan Salakhutdinov and Andriy Mnih. Bayesian probabilistic matrix factorization using Markov Chain Monte Carlo. In Proceedings of the 25th International Conference on Machine Learning, pages 880–887. ACM, 2008. doi: 10.1145/1390156.1390267.
[38] Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, Cambridge, 2014. ISBN 978-1-107-05713-5. doi: 10.1017/CBO9781107298019.
[39] Yichun Shi and Anil K. Jain. Probabilistic face embeddings. In 2019 IEEE/CVF International Conference on Computer Vision, pages 6901–6910. IEEE, 2019. doi: 10.1109/ICCV.2019.00700.
[40] Hidetoshi Shimodaira. Improving predictive inference under covariate shift by weighting the log-likelihood function. Journal of Statistical Planning and Inference, 90(2):227–244, 2000. doi: 10.1016/S0378-3758(00)00115-4.
[41] Rebecca C. Steorts, Rob Hall, and Stephen E. Fienberg. A Bayesian approach to graphical record linkage and de-duplication. Journal of the American Statistical Association, 111(516):1660–1672, 2016. doi: 10.1080/01621459.2015.1105807.
[42] Rebecca C. Steorts, Andrea Tancredi, and Brunero Liseo. Generalized Bayesian record linkage and regression with exact error propagation. In Josep Domingo-Ferrer and Francisco Montes, editors, Privacy in Statistical Databases, Lecture Notes in Computer Science, pages 297–313. Springer International Publishing, 2018. doi:10.1007/978-3-319-99771-1_20.
[43] Henry Teicher. Identifiability of finite mixtures. The Annals of Mathematical Statistics, 34(4):1265–1269, 1963. doi: 10.1214/aoms/1177703862.
A Notation and Semantic Roles
The main text separates three layers that this appendix must not collapse. The semantic layer is the task-declared unit and its response law . The exact mixture layer is the first line of Eq. (16): unresolved identity mixes the world targets over units, without introducing learned parameters. The computational layer contains learner compositions under assumption 1: the default token-space composition uses and , while the theorem specialization uses and an identity-indexed response model. A learner composition coincides with the exact world mixture only under the stated access, response-realization, response-sufficiency, and external-query conditions. World-side identity posteriors remain well-defined probability objects whether or not the learner represents them. The theorems below use the identity-mixture learner specialization; they are not a definition of unit abduction and do not require the computational token to be an identity posterior. In Section 5 the complete response input is written ; the same object is the lowercase index of the kernel in Section C.
As summarized in Table 4, the domain U belongs to the declared population learning problem. Dataset indices label records rather than creating new unit domains. A value instead specifies the event ; a pair may specify . If a study makes attribution learner-visible, lowercase may annotate its records, and then records a supplied same-individual relation. This metadata provides direct unit access; it does not make a model-side representation observed. Unit abduction applies when no resolver identifies the unit. Under direct access, lowercase are event-level realized values associated with the fixed-unit event law . The notation keeps a record value distinct from the fixed-unit stochastic object, so we avoid writing or . Repeated observations require a separately specified joint law; the population unit variable remains U rather than a foundational family .
Let denote the population law of U, and let be the fixed-individual observation kernel. Then
The first variation comes from drawing U; the second remains inside after an individual is fixed. A realized record contributes an event from the selected unit rather than a new unit variable . Repeated-record sampling and uncertain linkage require an explicitly declared joint observation model.
Evidence is event-level information. Uppercase symbols denote random variables; lowercase symbols denote realized values. A positive-probability event permits ordinary conditioning . When the protocol records evidence at a realized value , denotes evaluation of a regular conditional distribution. We use as protocol-level shorthand for either form of pre-answer information. Thus is shorthand for observed evidence values, whereas is their realized-value encoding. Any admitted here is a historical or other already observed response, not the current target response. A designed candidate supplied to is a response query. It contributes evidence about only when it was factually observed before the answer and the protocol incorporates it into .
When no resolver identifies the realized unit, unit abduction forms a contextual unit token as in Eq. (21); the default prediction is the token composition Eq. (24). The identity-mixture specialization used by the theorems is Eq. (23). These displays are not repeated here. Direct lookup and abduction differ by provenance, not by the type of the object they return.
In the basic supervised protocol, determines the world-side conditional . The target scores the learner mixture but is excluded from . A history encoder, probabilistic identity rule, or other map may implement ; the primitive is architecture-independent.
The response-sufficiency condition is
with omitted when suffices. This assumption applies when information in the factual record that directly changes the response beyond its role in forming unit information is represented explicitly by , rather than by an undeclared dependence of the response kernel on the full evidence bundle. The same raw observation may support both roles when the protocol declares them separately. On the learner side, the role of in the response is mediated by the formed token after that context has been represented. To identify the exact response conditional with a mixture using the fixed identity law , the protocol additionally satisfies the external-query condition in Eq. (32). Otherwise the exact mixing law is generally . This is not permission to update formed unit information from a merely proposed query: any unit-informative observed variable must be declared as factual evidence before the token, or, in the identity specialization, the belief, is formed.
Observed identifiers and direct unit access. If an ID event uniquely determines which persistent unit is present, a trusted resolver implements and fixes a stable address. A separate lookup at that address supplies the token, typically the learned row . The resolver fixes the referent; the lookup selects the token slot to read or update. Neither operation makes into the unit. Learning is fitting the token, not a which-unit inference. The corresponding which-unit conditional is a point mass (a Dirac measure). The identity-mixture specialization then uses ; no learned module need be run, and the Dirac mass is not an executed abduction. Crucially, the Dirac mass is on the stable referential unit , not on the trainable and potentially reparameterized token . A history-dependent state for the resolved unit belongs to the tokenizer's context, or to the response layer, and may change without changing this identity law.
B Conceptual Clarifications and Inferential Distinctions
This section is the boundary register for the main text. Four layers should be kept separate: the task-side referent u, the learner-side token , the world-side response family , and the deployed prediction produced by a particular learner formulation. A trusted key resolves a referent and a lookup selects a token; unit abduction forms a token from factual evidence. Neither access procedure fixes the token parameterization or supplies a similarity rule between units. Likewise, a unit-omitting learner can fit a row-level marginal in either a homogeneous or heterogeneous world, while the identity-mixture specialization is a theorem-specific formulation rather than the definition of the tokenizer. The subsections below collect the associated semantic, evidence, and identification qualifications so that the main text can state the positive model without repeating every boundary case.
B.1 Persistent units and model representations
The declared unit domain U carries the task's persistent-referent semantics. A learned embedding, preference factor, or random effect may parameterize its lookup token, but is not thereby the realized value of . In a trusted-ID model, is the resolved unit and is the token . The token may be transformed jointly with the downstream model without changing predictions, so its coordinates need not be unique or scientifically identifiable [3]. A posterior over such response-side coordinates is likewise not automatically the which-unit belief , and neither object is a sample-inclusion probability or an importance weight.
B.2 Tokens, which-unit beliefs, and point summaries
The default learner-side object is the contextual unit token . In the identity-belief specialization, instead targets the world conditional when the protocol declares that objective; calibration and recovery require additional conditions. Means and selected modes, when defined, are deterministic functionals of this belief, whereas a computational draw satisfies . The response-level prediction propagates the full belief through Eq. (23); a downstream decision may then extract a point prediction, interval, action, or abstention.
B.3 Record, evidence, and query roles
The notation table separates record values, factual evidence, response queries, and current targets. In particular, i indexes an event rather than defining a world variable , and a supplied candidate is evaluated at the token formed from the fixed evidence cutoff. A newly observed factual event may update that token, and may update in the identity-belief specialization; the current target remains excluded from pre-answer evidence.
If a response-relevant context is neither fixed by the protocol nor absorbed into x, omitting it from the response specification generally yields, for compatible regular-conditional versions and -almost every ,
Consequently, unit-dependent context distributions can create heterogeneity at the marginal response level even when the context-conditional response surface is common across units. Conversely, context-specific differences between units can cancel after integration and disappear from the marginal response specification. Declaring is therefore optional at the level of mathematical typing but substantive whenever the task must distinguish which individual differs from which condition that individual occupies.
An evidence bundle may contain several observed values without asserting that they concern the same individual. Repeated-individual attribution and entity linkage require an additional joint observation model.
B.4 Marginalization, erasure, and component identification
Three operations associated with unit erasure have different targets. At the prediction level, marginalizing the exact world law over the conditional unit distribution yields the row-wise law in Proposition 4. At the response-structure level, for every relevant is a sufficient invariance condition for a sample-only rule ; it does not define as an average of . At the data level, deleting attribution columns from a table is a deterministic map, not a mixture. The first is probabilistic marginalization, the second is a response restriction, and the third is a data edit.
For the identity-belief specialization of the composition, the exact world mixture equals by Proposition 4. When a density or probability mass exists and , the learner score in that specialization is
The default token-space prediction instead scores . Here the observed serves both as pre-target evidence and as the response covariate, while an alternative reuses the same formed token. The log of the mixture is generally different from the mixture of conditional log scores; for continuous , the likelihood is a density rather than a point probability. Matching the marginal law alone does not identify or , recover a persistent unit, or establish response dependence on .
C Unit-Conditioned Response Heterogeneity
Throughout this section, denotes a declared complete response input—not a unit token . This is the same object written W in Section 5. The unit primitive makes it possible to define response heterogeneity without committing to a particular random-effect parameter, neural architecture, or clustering device. This section isolates that definition, separates it from the structural assumptions needed for learning, and then locates several established literatures in the resulting coordinates. Its scope is the precise object of heterogeneity, the restrictions that make it learnable, and its relation to neighboring forms of variation. Assumption 1 is one such restriction: differences among must be expressed by contextual unit tokens under a shared form .
C.1 The response-law profile
Let denote a declared response query, with omitted when it is empty, and let be a common admissible query family for the task. The task-level response object is a declared jointly measurable Markov kernel on . Write
For fixed u, the family gives the response law over the declared query family. Equality of two such families means equality of the declared kernels on . If the kernel is learned or interpreted only through a regular conditional law under a design , its off-support values are modeling choices rather than identified features. The -relative notion below states the corresponding observable condition.
Definition 3 (Kernel formulation of unit-response homogeneity). For , a declared query family , and the chosen jointly measurable kernel in Eq. (53), the task is unit-response homogeneous when there are a single -null set and a common response kernel such that for every and every . It is unit-response heterogeneous otherwise.
Equivalently, define query-relative response equivalence by
Homogeneity says that is concentrated on one such response-equivalence class; heterogeneity says that it is not. This quotient is predictive, not referential. Distinct individuals may satisfy while remaining distinct units. Conversely, changing or the frequency with which a unit is sampled does not by itself establish heterogeneity in .
For a declared design on , call the family -visible homogeneous when there is a kernel such that for -almost every , and -visible heterogeneous otherwise. Structural homogeneity in Definition 3 implies visible homogeneity for every compatible design, where compatibility means that the unit marginal is absolutely continuous with respect to . The converse can fail when a design omits queries or units on which response laws differ. This qualification also makes the notion invariant to changes of a regular conditional law on a -null set.
The definition is query-relative for a substantive reason. Two units may be equivalent on the queries in one study and distinguishable on a larger query family. A treatment, time point, item, or context can be part of w without becoming a new unit. The response kernels in Eq. (53) are observational unless a separate causal assignment and identification assumptions license an interventional reading.
C.2 Response-law model classes
The family supports several qualitatively different model classes. The restrictions in Table 5 distinguish their response objects and transfer assumptions.
Table 4: Notation by semantic layer. Learner quantities are listed with the computational pair first; belongs to the identity-mixture learner specialization.
| Symbol | Intended type | Boundary |
|---|---|---|
| World and population | ||
| population unit selection variable | which individual in | |
| population unit law | which-individual randomness under | |
| Fixed individual and event | ||
| realized persistent unit | fixed value of ; indexes a unit-conditioned law but is not synonymous with a learned numerical representation | |
| fixed-individual law | retains exogenous/event variation after | |
| population variables | observed values may supply pre-answer evidence; an observed evidence response is not the current target | |
| fixed-individual variables | conditional laws under | |
| potential response | conventional causal notation for individual under treatment | |
| Observed record and attribution | ||
| sample index | counts observations, not units | |
| realized record | supplies values that specify population events | |
| conceptual complete-data table | includes the definite whether or not attribution is observed | |
| learner-visible-attribution table | special regime in which persistent-unit labels, or a trusted resolver that determines them, are learner-visible | |
| trusted key and resolved unit | stable referential and update address; determines which persistent unit a record concerns | |
| Learner quantities | ||
| tokenizer | forms a contextual unit token from unit-attached factual evidence and context; may be deterministic or a kernel on token space; jointly learned with | |
| contextual unit token | learner-side representation supplied to in context ; not the unit | |
| shared response-law form | the same learned map for every unit; learner-side unit differences enter only through the token | |
| which-unit belief | a law on that may approximate and feeds the identity-mixture learner; not the unit, not the token, and not the definition of unit abduction | |
| ID-indexed lookup token | learned table row implementing under direct access (embedding, factor, random effect, ...); not the unit | |
| unit-conditioned predictor | fixed conditions a member of the predictor family | |
| ordinary row-level predictor | collapse notation, not an average over units | |
| identity-indexed response model | aimed at and used by the theorem's identity-mixture learner; under direct access this is | |
| Evidence, query, and target | ||
| factual evidence | observed-event information available before the answer and declared usable for unit inference | |
| evidence-conditioned unit posterior | conditional law of the already-realized unit under the data-generating distribution | |
| response query | supplied response argument; not new abductive evidence merely by being queried | |
| explicit response context | answer-time information declared to change directly beyond ; omitted when empty | |
| complete response input in Section 5 | ; not the unit token | |
| unit-conditioned response kernel at query | is the realized complete response input; not a token | |
| current response target | is excluded from the pre-answer evidence | |
| population response conditional | shorthand for under response sufficiency | |
Table 5: Response-law cases and model classes inside a unit-explicit task. Standard sample-only learning is listed separately because its basic object does not require a declared unit population.
| Case or class | Restriction | Meaning |
|---|---|---|
| sample-only | no persistent unit is declared | Learns a row-level law such as ; it makes no direct statement about persistent individuals. |
| homogeneous unit extension | for -almost every | After persistent units are declared, unit identity adds no response information at the queries in . |
| pure-unit, input-invariant | while varies with | Outcomes vary across units while remaining invariant to the supplied query. |
| structured unit-responsive class | ; simple relation in a token, linear running instance (Definition 2) | Both query and unit may matter. The running instance is a linear predictor in the unit token ; other declared simple maps of instantiate the same class. may be nonlinear in the query . |
| saturated unit-responsive class | is otherwise unrestricted across units | The class permits one arbitrary response family per unit, including homogeneous families; unseen-unit learning requires additional structure or information. |
The final two rows describe model classes that permit heterogeneity, not a claim that every member is heterogeneous. Whether the realized response family is homogeneous or heterogeneous is still decided by Definition 3, or by its -visible counterpart for a deployment-limited claim.
Standard supervised learning does not, by its basic sample-indexed notation [4, 17, 38], specify a population of persistent units over which homogeneity could be assessed. A homogeneous specialization results after those units are declared and the second row of Table 5 is imposed. The exact marginal collapse in Proposition 4 is a different statement: heterogeneous fixed-unit laws may integrate to the same row-level predictive law.
C.3 Shared Structure and Learnability
Definition 3 determines whether the response family varies with but does not specify how the families across units are related. Statistical learnability therefore depends on a declared structural restriction of the form
which may encode shared parameters, a hierarchy, low-rank or smooth variation, a shared representation with unit-specific heads, a finite set of response types, or another coupling across units. These are alternative structural assumptions rather than additions to the definition of heterogeneity.
A saturated class of measurable unit-to-law maps permits heterogeneity but does not by itself support transfer from observed units to an unseen unit. A learnability analysis specifies which response structure is shared, which part varies, what evidence constrains the varying part, and the deployment population and query family under which that structure is testable. Under assumption 1 the shared restriction is the pair , with a simple relation in the token as the structured class and Definition 2 as the running instance: depends on only through a declared low-complexity map, linearly in finite dimension or through another declared simple map of . Random effects and multitask representations provide two established forms of such structure [1, 6, 13]; a full learnability analysis must additionally specify the loss, sampling regime, model complexity, and learning rule [38].
C.4 Oracle Value Under Proper Scoring Rules
The definition also has a decision-theoretic reading. Let be a declared deployment design over units and queries, let , and suppose a regular conditional has been fixed. Define the pooled Bayes law
Let the admissible reports range over a class of probability laws that contains for -almost every and is closed under the displayed mixtures, so that . Let be a strictly proper predictive loss on , with smaller values better, and let be its associated nonnegative regret divergence [14].
Proposition 7 (Oracle heterogeneity gap under a proper score). Assume the displayed expectations are finite. The Bayes-risk difference between the best predictor that observes and the best predictor that observes only W is
Under strict propriety, equality holds if and only if for -almost every . For logarithmic loss, the gap is whenever the conditional mutual information is well defined.
Proof. Condition on . By the definition of the scoring-rule regret, the conditional expected excess loss from reporting instead of the true is . Integrating with respect to proves the identity and nonnegativity. Strict propriety makes the regret zero exactly when the two conditional laws agree almost surely. Under logarithmic loss the regret is the Kullback–Leibler divergence, whose conditional expectation is .
This proposition applies the classical proper-scoring-rule identity to give an exact, query- and deployment-relative magnitude to -visible response heterogeneity. It is an oracle comparison and does not establish that U is observed, identifiable, causally useful, or learnable from finite selectively observed events.
D DiscoSCM as a Causal Specialization of the Unit Primitive
DiscoSCM, introduced by Gong et al. [15], provides a substantive causal specialization of the unit primitive. This relation is stronger than a shared use of the letter U: DiscoSCM separates the selected individual from event-level exogenous variation, conditions structural causal mechanisms on the selected unit, and derives intervention and counterfactual quantities within that unit-conditioned model. At the same time, the causal and cross-world assumptions of DiscoSCM are additional structure; they do not follow from the unit primitive alone.
D.1 From a Response-Law Family to Unit-Conditioned Structural Mechanisms
The generic supervised specialization in this paper begins with a population law and a unit-conditioned response family . DiscoSCM refines the response family into a structural causal model
(59) where selects the individual, contains exogenous variables, contains endogenous variables, and is a family of unit-conditioned structural assignments. The DiscoSCM formulation assumes in its basic construction. This assumption is specific to that construction; the general unit primitive does not require independence between unit selection and every source of event variation.
For a treatment or supplied cause and outcome , suppressing other parents for clarity, the structural assignment induces the fixed-unit response kernel
Thus is a structurally induced unit-conditioned response family, while the mechanisms provide its richer causal representation. It is not identified with the observational conditional without additional conditions linking observational and interventional laws. A unit can alter the baseline response, the effect of treatment, the outcome noise law, or a larger causal mechanism. The shared causal graph and the form of then provide one possible answer to the shared-structure question posed in Section 3.2.
The separation between and is the central correspondence. A realized event is generated by both an individual value and an exogenous realization . Holding fixed preserves the referential individual; it does not freeze the event realization. In the notation of this paper, DiscoSCM therefore instantiates the distinction between which-individual variation and the stochastic variation retained by a fixed-unit kernel.
Table 6: Object-level correspondence between the unit formalism and DiscoSCM. The final column records structure contributed by the causal specialization.
| Unit formalism | DiscoSCM object | Additional causal content |
|---|---|---|
| population law | unit selection variable with law | Population over individuals participating in a structural causal system. |
| realized unit | individual retained across factual and counterfactual worlds | The same referent appears in every structural assignment . |
| fixed-unit event variation | exogenous variables | A realized event depends on both ; fixing need not make the outcome deterministic. |
| response law | law induced by | The response is generated by a directed mechanism rather than specified only as a conditional kernel. |
| response query | intervention value in | Reading a query as an intervention requires the causal graph, structural assignments, and an intervention semantics. |
| factual evidence | an observed factual trace | Evidence updates unit information about the already-realized unit; DiscoSCM represents that update as an identity posterior, which is one specialization of a formed token. The trace may also contain variables with separately declared direct response roles. |
| conditional unit law | DiscoSCM unit posterior | DiscoSCM's population-level Layer-3 reduction mixes against the exact identity posterior. That is DiscoSCM's abduction object, not the definition of unit abduction in this paper. A learned approximates that identity law when the protocol uses the identity-belief specialization. |
D.2 The additional causal and cross-world structure
The unit primitive preserves the referent across a query family but is observational by default. DiscoSCM adds an intervention operation and a family of counterfactual exogenous variables . For an outcome mechanism, the resulting fixed-unit counterfactual outcome has the form
The superscript distinguishes this distribution-consistent counterfactual from a traditional same-noise SCM counterfactual. The defining marginal restriction is
which yields, under the model's structural conditions, the fixed-unit distribution-consistency relation
This equality in distribution replaces the pointwise equality imposed by the usual consistency relation.
Equation (62) fixes the marginal law in each world but does not by itself determine the coupling among , , and . That coupling is a Layer-3 modeling choice because it determines joint cross-world quantities. Traditional SCM semantics occupy the same-noise endpoint almost surely. The population-valuation result of Gong et al. [15] instead uses the additional assumption for the factual and queried worlds. Other couplings can share the same Layer-1 and Layer-2 marginals while inducing different Layer-3 joint distributions. The unit primitive identifies the referent that is held fixed across these worlds; DiscoSCM specifies how the remaining cross-world randomness is related.
D.3 Unit Abduction, causal valuation, and reduction
Let denote an observed factual trace. The law of total probability gives the exact decomposition
Under the DiscoSCM condition that the queried counterfactual noise is independent of the factual trace after fixing the unit, the first integrand no longer depends on . Writing its fixed-unit counterfactual kernel as , the decomposition becomes
This is the causal specialization of the identity-belief composition in Eq. (23). DiscoSCM abducts a posterior over identity: factual evidence updates ; the causal model evaluates the counterfactual response law for each fixed u; and integration reduces the unit-specific valuations to a population-level answer. Gong et al. [15] call these stages abduction, valuation, and reduction. That identity posterior is one admissible token; it is not the definition of unit abduction in this paper. The default computational prediction remains Eq. (24).
There are also two important differences from the generic learner formulation. First, Eq. (65) uses the exact world identity conditional , whereas this paper's default abduction object is a formed token , and is reserved for a learner identity belief that need not be calibrated. Second, the kernel in DiscoSCM is interventional or counterfactual because the structural model supplies that semantics; the kernel in the general supervised formulation is observational unless additional causal assumptions are stated.
The stability result in Proposition 3 applies to this causal specialization after replacing by , provided the conditional independence used in Eq. (65) is stated directly and the learned counterfactual kernel is measurable. It then separates counterfactual-kernel approximation error from unit-belief error, with the latter scaled by the diameter of the true fixed-unit counterfactual laws. This is a stability statement for a specified causal target; it neither supplies the cross-world coupling nor identifies the counterfactual kernel from observational data.
D.4 Scope and Provenance of the Causal Specialization
DiscoSCM is a causal theoretical specialization of the unit primitive. It declares the persistent unit, replaces a merely predictive response family with unit-conditioned structural causal mechanisms, and states how factual evidence and interventional or counterfactual queries interact with that object. The hierarchy is
The first arrow specializes the learned object; the second adds distribution-consistency and a cross-world noise law; the third derives DiscoSCM-specific causal consequences. This ordering also fixes the attribution of results: the unit primitive supplies the persistent referent and the population-to-individual decomposition, whereas DiscoSCM supplies the causal mechanisms, intervention semantics, cross-world coupling assumptions, and the theorems that depend on them.
Finally, unit abduction should not be conflated with the classical SCM abduction of a full exogenous-noise realization. In this paper, unit abduction forms a contextual unit token from factual evidence. That token may be an identity posterior, but it need not be. DiscoSCM's abduction–valuation– reduction step uses the identity posterior as its mixing measure, and deliberately keeps that question separate from the coupling or resampling of event-level noise across worlds. The two “abduction” operations are therefore distinct even when DiscoSCM is read as a causal specialization of the unit primitive.
E Additional Formal Results
The following results give technical statements and proofs supporting the claims in the main text. They are consequences of retaining unit identity rather than additional primitives. Unless a display is written in token variables, the proofs use the identity-belief specialization of Eq. (23); that is the formulation in which value-access, mixture stability, and single-row collapse are stated. It is not a claim that every tokenizer emits a law on .
E.1 Proof of the Value–Access Decomposition
Proof of Proposition 1. The conditional log-score identity gives
The chain rule expands the same conditional mutual information in two ways:
Response sufficiency makes , which proves Eq. (30). Nonnegativity of conditional mutual information gives the risk ladder. Response sufficiency also makes a conditional Markov chain given . Conditional data processing gives , while Eq. (30) gives the other upper bound in Eq. (31).
The mutual-information decomposition itself requires response sufficiency but not the external-query condition. The latter is needed when the exact response conditional is represented using the fixed belief rather than .
E.2 Proof of the End-to-End Approximation Result
Assume the unit, evidence, query, and outcome spaces are standard Borel and use compatible regular-conditional versions. The finite-risk statement below uses conditional densities with respect to a common sigma-finite reference measure; the component bound may instead be read in the extended relative-entropy sense.
Proof of Proposition 2. Conditioning on , the difference between the learner's expected log loss and the Bayes log loss is
which is under Eqs. (26) and (32). Averaging proves Eq. (35). Adding and subtracting and applying Proposition 1 proves Eqs. (36) and (37).
For the component bound, at fixed define latent-joint laws
The relative-entropy chain rule gives
The measurable projection sends to and to . Data processing therefore gives
Averaging Eqs. (73) and (74) over the deployment law proves Eq. (38).
This upper bound is a marginal contraction of a latent-joint discrepancy. It need not be tight: distinct latent decompositions can have identical response marginals, as the next subsection makes explicit.
E.3 Single-Row Marginal Collapse and Linked-Pair Separation
For compatible versions of the regular conditional kernels, the law of total probability after conditioning on proves Eq. (40), with its -almost-everywhere qualification. For any sample-only conditional law , choosing for every in an unrestricted response-kernel class returns after integration against every learner belief. Thus marginal response fit alone does not select a formed token, a which-unit belief, or a fixed-unit response decomposition.
Proof of Proposition 4. In world H,
which is also the response probability in world P. Independence of the fresh unit draws and their event realizations gives Eq. (43) for every .
Let a possibly randomized test declare with probability and define
Equality of the observable laws implies , so and . Equality is attained by randomizing equally between the two worlds.
For a linked pair, conditional independence gives
This variance is 1/16 in world H and zero in world P. More explicitly, their pair probabilities are
| 00 | 01 | 10 | 11 | |
|---|---|---|---|---|
| H | 5/16 | 3/16 | 3/16 | 5/16 |
| P | 1/4 | 1/4 | 1/4 | 1/4. |
(78)
If linked pairs are sampled independently from independently drawn units, define
The test that declares H when is consistent; Hoeffding's inequality bounds each error by . Finally, and , proving Eq. (46).
The full mixing law is not identified by these two moments without further restrictions. For example,
are distinct laws for with the same first moment and second moment .
Trusted same-unit linkage and the conditional product law are essential to this positive statement. Arbitrary within-unit dependence, linkage error, response-relevant temporal state, or informative observation can invalidate the displayed separation. The result identifies neither the full mixing law nor membership of a realized unit in either response class. It therefore does not contradict the need for structured mixture assumptions in classical positive identifiability results [43].
E.4 Attribution information and response dependence are independent
For chosen regular-conditional versions, evidence is uninformative about the unit exactly when
This statement concerns the conditional law under the data-generating distribution. It constrains a formed token only insofar as that token is required to carry identity information, and it constrains a learner belief only when that belief is calibrated to the declared identity target.
Independently, suppose the response family is unit-homogeneous at a declared query for -almost every . Then every learner belief with satisfies
Neither condition implies the other. Informative attribution can coexist with a unit-homogeneous response, and unit-heterogeneous responses can coexist with uninformative evidence. Moreover, cancellation in one particular mixture does not by itself establish response homogeneity. These are two collapse conditions for two different learner formulations, distinct again from the single-row marginal collapse in Proposition 4.
E.5 Proof and qualifications for mixture stability
Fix , , and as in Proposition 3, and suppress by writing and . Assume the unit and outcome spaces are standard Borel, and are measurable Markov kernels on the chosen versions, and the displayed total-variation integrand is measurable. These conditions ensure that all mixtures and integrals below are well-defined. The common full-mass restriction ensures that replacing by in the diameter does not discard mixture mass.
Proof of Proposition 3. The triangle inequality gives
where, for example, . For the first term, the definition of total variation and the triangle inequality for integrals yield
For the second term, let and . If there is nothing to prove. Otherwise the Jordan decomposition of the zero-mass signed measure can be written as for probability measures and supported on . For any measurable outcome event ,
Taking the supremum over A and multiplying by t gives
Combining Eqs. (83), (84) and (87) proves Eq. (39).
The diameter term is response-input-specific. It is zero exactly when the selected versions of the true response law agree across the units included in the supremum. If assigns mass outside the region on which the true kernel is scientifically specified, that is a support failure rather than a small attribution error; the proposition does not repair it. For unbounded losses, including unrestricted log loss, total-variation stability alone does not provide a finite excess-risk bound without additional boundedness or density conditions.
E.6 Oracle, deployed, row-weighted, and unit-weighted risks
If the true u is supplied to the response predictor, the population-first oracle risk separates which-individual and fixed-individual variation:
The outer integral varies U; the inner integral retains exogenous/event variation at fixed u. This is a diagnostic for the response layer, not the deployed risk of a learner that knows only a formed token, or only in the identity-belief specialization.
Let a declared deployment experiment generate factual evidence , a response query , any explicit response context , and the target response . Under log loss, the default deployed risk of the pair is
when a density of exists. In the identity-belief specialization used by the theorems, the same experiment scores
Other proper scores or decision losses may replace log loss. The deployment experiment and evidence cutoff are part of the risk definition. Subpopulation-law quality, oracle fixed-u response quality, and deployed marginalized quality are different quantities; the last alone need not identify the first two. A random-row design may also induce a size-biased unit law, so its empirical risk need not estimate either declared population target.
E.7 Repeated-unit weighting and splitting
In an observed-attribution dataset, let . For each observed unit define
For sample losses define the mean loss of unit by . The row-average and unit-average risks are
Proof of Proposition 5. The two expressions are linear in , so they agree for every such vector exactly when their coefficients agree for every , that is, when .
Neither objective is universally correct; the deployment estimand determines which weighting is appropriate.
Proof of Proposition 6. The two excluded events are that all records enter training and that all enter test; they are disjoint and have probabilities and .
A record-wise split can therefore mix new observations of known units with any new-unit cases. An unseen-unit generalization estimand uses a test construction that is explicitly unit-disjoint from training, whether by a whole-unit split, an external new-unit cohort, or another declared protocol.
F Observability Conditions
Component targets and training regimes. The world target and the learner pair remain distinct. Separate token supervision, oracle-attribution response training, and marginalized end-to-end training are different identification regimes. A which-unit belief has its own target only when the protocol asks it to approximate . Under trusted direct access there is no identity model to estimate: learning the lookup row fits a token inside , not . Any history-derived state used at answer time must appear in the tokenizer context, in , or inside the shared form; otherwise response sufficiency is not justified. In Section 5 the complete response input is written , not , so that it is not confused with the unit token .
Support and observational equivalence. The population law may support an individual value even when no training record is attributed to it. Support alone does not concentrate at ; the available event information may instead imply a diffuse token, a population fallback, or abstention. Likewise, two distinct individual values may induce the same response law for every query and context admitted by a study. They are observationally indistinguishable under that study while remaining distinct units.
Fixed evidence and shared-unit bundles. The task declaration specifies the unit boundary, the events linked to one fixed individual, the answer-time evidence cutoff, and the query family. Within a declared same-unit query family , the same and the same factual evidence are retained while varies. A new factual event may update the formed token, whereas comparing alternative response queries uses the token formed at the fixed evidence cutoff. Shared attribution of several rows to one unit does not by itself imply that those rows are conditionally independent given .
The fixed-individual kernel retains exogenous variation. The kernel may remain stochastic after is fixed. Residual within-unit variation is not which-unit variation.
G Evaluation Checklist
A reproducible evaluation should pre-specify:
-
the unit population and the span over which unit identity persists;
-
the factual-evidence cutoff, response query and context, and current target;
-
the access regime—direct access or unit abduction—and what attribution truth is available for evaluation;
-
the evaluated target: fixed-unit response, deployed marginalized prediction, or a unit-level estimand;
-
whether the split targets known-unit/new-event or new-unit generalization;
-
a matched unit-omitting baseline and any negative control required by the claim.
A learnable unit-conditioned specification additionally names:
-
what is shared across units, here the form , a simple relation in the token, with a linear predictor as the running instance (Definition 2);
-
which properties of the query-response relation vary with the unit, and are therefore expressed by ;
-
which properties remain invariant across units;
-
how finitely many same-unit observations constrain that unit's token and hence its response law;
-
how the shared form and token space support prediction for a unit not previously observed; and
-
how evaluation distinguishes a learned unit-dependent relationship from memorization of an identifier.
A product likelihood adds a conditional-factorization assumption. The response law is observational by default; an interventional reading requires assignment and identification assumptions. Pre-answer evidence excludes current targets and unavailable post-query measurements.