Manuscript Offprint

arXiv:2608.25118

Toward Machine Learning with the Unit as a Primitive: Learning from Unit-Linked Events

Heyang Gong

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 (Tϕ,Rθ)(T_{\phi}, R_{\theta}): 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 D={(xi,yi)}i=1N\mathcal{D} = \{(x_i, y_i)\}_{i=1}^N and a map f:X→Yf: \mathcal{X} \to \mathcal{Y} [4, 17, 38]. The index ii 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

U:Ω⟶U,U∼Π,U=u,u∈U,(1)U:\Omega \longrightarrow \mathcal{U},\qquad U \sim \Pi,\qquad U = u,\quad u \in \mathcal{U}, \tag{1}

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 U=uU = u denotes that referent. The law Π\Pi 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,

u⟼[x↦Pu⋆(dy∣x)],Pu⋆(dy∣x):=P⋆(Y∈dy∣X=x,U=u).\begin{align*}u&\longmapsto\left[x\mapsto P_{u}^{\star}(dy\mid x)\right],\\P_{u}^{\star}(dy\mid x)&:=P^{\star}(Y\in dy\mid X=x,U=u).\end{align*}

(2)

Changing x queries another location on the same response surface; changing u selects another member of the family. A family of unrelated maps {Ru}\{R_u\} 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.

  1. 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.

  2. 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 (Tϕ,Rθ)(T_{\phi}, R_{\theta}).

  3. 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.

References (41)