Manuscript Offprint
arXiv:2611.02461Training Autoregressive Language Models on Rounded, Bounded, and Censored Numerical Labels via Exact Likelihood
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Numerical labels often specify a set of possible values: a measurement is rounded, a laboratory test reports only a bound, or a program is stopped at a timeout. We introduce boundary marginalization, the first method that trains an autoregressive language model on the exact likelihood of such observations through its existing digit tokens. A fixed-width, order-preserving numeral representation groups consecutive grid values under shared digit prefixes. An interval is a union of such groups, so its exact probability and gradient follow from at most two boundary paths, the successive digit prefixes of its endpoints, each of length logarithmic in the number of grid values. The resulting objective unifies precise, rounded, bounded, and censored supervision and trains digit decisions at the resolution supplied by each observation. The same computation supports exact distributional queries and unbiased gradients for the continuous ranked probability score on exact labels. Experiments show recovery of a conditional distribution from rounded and censored reports alone, improved likelihood on naturally censored molecular measurements, and more accurate code latency distributions on two backbones. Exact interval updates remain tractable as the numerical support grows to one million values.
1 Introduction
Numerical observations often report a set of compatible values, which we call a numerical event. A measurement rounded to one decimal place and reported as 1.2 represents the interval [1.15, 1.25). A drug-safety test may report only that a compound's half-maximal inhibitory concentration (IC50), the concentration at which it inhibits its target by 50%, exceeds the highest concentration tested. A program unfinished at a timeout has a completion time greater than . A report that provides only a bound is a censored observation.
Such reports are common and informative. In the cardiac-safety measurements we study, about a third of the labels are bounds (Section 6), and Svensson et al. report that a third or more of the labels are censored in several drug-discovery datasets [20]. Cross-entropy training requires a target numeral, so standard practice either discards these reports or replaces each one with a representative numeral, which the model then learns to reproduce. Training on the total probability of the compatible values uses each report exactly as observed.
Autoregressive language models (LMs) already define probability distributions over numerical values through their digit tokens. LLMTime interprets digit sequences as a hierarchical numerical distribution, and decoding-based regression develops numerical decoder representations and likelihood training [9, 18]. The probability of an individual numeral is directly available, but a reported interval can contain thousands of numerals. How can an LM evaluate and differentiate their total probability without enumerating them?
Numerical order makes this possible. In a fixed-width numeral written with the most significant digit first, every value below a threshold has a unique first digit at which it becomes smaller. After that digit, all suffixes are allowed, and their conditional probabilities sum to one. Numerals sharing an initial digit sequence form a prefix subtree. Its total probability is just the probability of that prefix. To evaluate a threshold, we need only the next-digit distributions along its boundary path: the successive prefixes of the threshold numeral. Teacher forcing supplies these known prefixes as inputs and reads their next-digit probabilities in one forward pass. We call this computation boundary marginalization: evaluating and differentiating the exact probability of a numerical interval from at most two teacher-forced boundary paths (Figure 1). For grid values in base , the scalar arithmetic is , independent of the number of compatible values.
A single objective, the likelihood of the observed event, therefore handles precise labels, intervals, and bounds. A singleton (one grid value) recovers sequence cross-entropy (CE), the log score of the complete numeral under the same decoder. An interval supervises its total probability: only prefixes whose subtrees lie partly inside and partly outside the interval receive a direct gradient, while subtrees lying entirely inside it are summed out and need no target digit.
The same computation gives cumulative distribution function (CDF) values for continuous ranked probability score (CRPS) training and exact distributional queries. CRPS integrates the squared difference between the predicted CDF and the step function at the observed value, so it scores predictions by numerical distance: a prediction near the observed value incurs a small loss even when its digits differ. It is a strictly proper score: its expected loss is uniquely minimized by the true distribution. Its training gradient is unbiased when estimated from a few thresholds sampled independently of the model.
Contributions. We introduce boundary marginalization, the first method that trains a pretrained language model on the exact likelihood of rounded, bounded, and censored numerical observations through its existing digit tokens, with no auxiliary output head, imputed target, or sampled rollout.
(i) Boundary marginalization: a stable log-domain algorithm evaluates and differentiates interval likelihoods using at most two paths of length (Proposition 1).
(ii) Learning at the observed resolution: a single likelihood handles precise labels, intervals, and bounds, with a local gradient that characterizes the digit decisions supervised by each observation (Proposition 2).
(iii) Exact queries and proper scores: the same computation supports exact tail and quantile queries and unbiased threshold-sampled CRPS gradients (Section 5.4).
Experiments establish the value of incomplete evidence in controlled recovery, naturally censored molecular measurements, and code latency. They demonstrate learning without precise labels, reproduce the latency gains on a second backbone, and measure precision scalability.

Figure 1: Boundary marginalization for on the three-digit grid , where * denotes an arbitrary digit. Every numeral in the event either is a boundary numeral or first departs from a boundary path at one digit and then continues with an arbitrary suffix. Since the suffix probabilities of a subtree sum to one, the event probability is a sum of prefix masses times sibling digit probabilities, all evaluated at prefixes on the two boundary paths (colored). The model is never evaluated inside a shaded subtree, so the cost is independent of the 448 values in the event.
inference estimates Bayes-optimal point predictions from sampled answers [13], and regression-aware fine-tuning (RAFT) differentiates a squared loss through the expectation of the numeric token distribution over an enumerated grid of candidate values [12]. Reinforcement learning has been used to optimize sequence-level numeric rewards over sampled outputs [6] and CRPS-based distributional rewards over rollouts [14]. Piskorz et al. recover distributional summaries from hidden states with probes trained on sampled outputs [15]. Arithmetic Sampling uses autoregressive prefix masses for arithmetic-code decoding [22]. Our main contribution is exact likelihood learning from incomplete numerical observations through boundary marginalization. CRPS uses the same computation to differentiate queried CDFs directly, without generating model outputs.
Digit-level numerical losses. Number Token Loss adds a Wasserstein or squared-error term over the number-token distribution at each position [27]. Numerical Token Integrity Loss (NTIL) combines token-level distance with a differentiable numerical point construction [7]. Digit Entropy Loss (DEL) reformulates digit-level entropy optimization with binary cross-entropy on digit conditionals [28], and Smooth Maximum Mean Discrepancy (SMMD) matches predicted and target numeric-token distributions using kernels based on distances between numerical values [29]. Strictly proper non-logarithmic scoring rules have been applied to token conditionals [17], and Calibration Fine-Tuning derives prefix targets from a specified output distribution [2]. This literature improves numerical token supervision and point constructions. Our objective instead assigns probability to the complete observed numerical event, including intervals and bounds for which no exact target numeral is supplied.
Coarsened labels. Heitjan and Rubin formalize observed-data likelihoods for coarsened data and the ignorability conditions under which they are valid [10]. Candidate-set likelihoods of the same form appear in learning with multiple labels [11]. Earlier numerical language models integrate a separate continuous mixture density over a numeral's rounding interval [19]. Censored likelihood heads have been studied for uncertainty estimation in molecular property prediction [20]. Recent language-model approaches to censored survival outcomes learn relative survival orderings from comparisons between subjects [23, 24]. We train the model's numerical distribution directly on the censored likelihood through its existing digit tokens and compare against separate distributional output heads trained on the same likelihood (event-aware heads) as primary baselines.
Tree-structured numerical distributions. Hierarchical softmax variants over ordered bins compute leaf probabilities along a path and smooth neighboring leaves [21]. PATH, a concurrent tabular method, learns hierarchical output distributions for interval prediction by combining a base leaf distribution with autoregressive branch refinement [3]. We instead fine-tune a pretrained numeral decoder on observed intervals and bounds, computing their event likelihood by boundary marginalization without constructing the leaf distribution. NumericJev decodes numbers from a structured choice interface at inference time without training [26].
3 Learning from Numerical Observations
We represent each observation by the grid values compatible with it and train the LM to assign probability to that set. A fixed-width digit representation places these values in numerical order.
3.1 An ordered, fixed-width numerical distribution
We represent numerical outputs on an ordered grid and encode each grid index with a fixed number of digits, starting with the most significant digit. Comparing these strings from left to right preserves numerical order. Let the output support be
where is the number of allowed digits, is the fixed output length, and is the number of possible grid values. We write for the grid index and for its numerical value. The uniform grid with is the default. The same computation supports any strictly increasing grid, including a log-spaced grid for positive targets spanning several orders of magnitude. Let be the base- expansion of , padded with leading zeros, with the most significant digit.
We choose existing token identifiers (IDs) representing the digits. For input and digit prefix (the digits already supplied), let be the corresponding LM logit. The next-digit distribution is a softmax restricted to the digit tokens,
and the probability of a complete numeral is the product of its digit probabilities,
Normalization over the digit tokens and deterministic termination after digits ensure that (3) sums to one over the grid values. We call it the LM's constrained numeral distribution. The task prompt declares the mapping from grid indices to numerical values, the support, and the units. Numerals are built directly from token IDs, independently of whether the tokenizer would merge adjacent characters. The LM predicts the target numeral directly using its existing backbone and vocabulary.
3.2 Observations as compatible sets
A training observation is , where contains the grid indices compatible with what was observed. We call the observed event and focus on contiguous intervals . Table 1 defines the common cases on a uniform grid. An exact value is represented at the declared modeling resolution. When the reporting precision is coarser than that resolution, the observation is represented by its rounding interval.
| Observation | Numerical event | Compatible grid indices | |
|---|---|---|---|
| Exact grid label | |||
| Closed interval | |||
| Rounded to width | |||
| Strict lower bound | |||
| Strict upper bound | |||
Table 1: Event construction. Indices are intersected with the declared support. Rounding uses the half-open convention shown, and other tie rules are handled the same way. Endpoints are converted with decimal or rational arithmetic (Appendix C).
3.3 One likelihood for all observations
An event's probability is the sum of the probabilities of its compatible grid values. We call this sum the event likelihood and, for , write for its logarithm. We train by minimizing the negative log event likelihood:
A singleton reduces exactly to sequence negative log likelihood (NLL), rounded measurements supervise bins, and bounds supervise tails. All observation types can appear in the same minibatch with one loss. Section 4 computes this objective and its gradient without enumerating the compatible numerals.
The event likelihood and cross-entropy on an imputed numeral have different targets. Suppose a reporting rule maps an observation to a representative . Cross-entropy on learns the distribution of the representatives, whereas (4) learns the probabilities of the compatible events. For fixed rounding bins, both objectives can match the bin masses, but imputation additionally concentrates targets at the reported centers. Event likelihood imposes only the observed probability constraints. Mixed reporting resolutions and heterogeneous bounds make this distinction central to learning a numerical distribution.
Likelihood interpretation. Conditionally ignorable reporting means that, for fixed , all values compatible with a report have the same probability of producing it [10]. The probability of report given the underlying index then has the form
where is independent of . The probability of observing report is then , whose negative log likelihood equals (4) up to the constant . This includes deterministic rounding and conditionally independent censoring. Known reporting conditions can enter . Appendix B.3 characterizes the distributional information identified by these reports.
4 Exact Boundary Marginalization
We evaluate (4) by summing complete prefix subtrees, using only the event's boundary paths.
4.1 One path evaluates a tail probability
For a threshold index with digit string , define the prefix mass, the probability that a numeral begins with the first threshold digits,
where the input is omitted from symbols whose dependence on it is clear from context. The inclusive CDF is . Every numeral below the threshold matches up to some position , takes a smaller digit there, and then continues with an unrestricted suffix whose total probability is one. Grouping numerals by that position and adding the threshold numeral itself gives
and the same grouping with larger digits gives the strict survival probability, the probability of exceeding the threshold,
All conditional digit distributions in these expressions come from a single teacher-forced path, which a causal transformer evaluates in one forward pass. The threshold is given by the observation or query, so no model output is sampled.
4.2 Stable interval mass from two paths
Computing erases a small interval probability whenever both CDFs round to the same floating-point number. We therefore write the interval as a disjoint union of prefix subtrees and sum their masses in the log domain.
For , let and be the boundary digit strings, and let be their first differing position, indexed from 1. As illustrated in Figure 1, the event consists of four disjoint groups: (1) the two boundary numerals, (2) subtrees that share the boundary prefix before and choose a digit strictly between the two boundary digits at , (3) subtrees that first depart from the lower boundary by choosing a larger digit at a position after , and (4) subtrees that first depart from the upper boundary by choosing a smaller digit at a position after . Each included subtree admits every suffix, so its total probability is the probability of reaching its prefix. For a digit string , define its log prefix masses and the log probability of the complete string,
For sibling subtrees at a shared prefix, the total probability is the prefix mass times the sum of the included next-digit probabilities. Collecting the log masses of the boundary numerals and these disjoint subtree groups in the same order gives
(10)
where denotes tuple concatenation and empty digit ranges are omitted. With LSE denoting log-sum-exp, the interval log probability is
For , the log probability is . For the full support it is zero. One-sided intervals use or for , so one path suffices. An empty event is rejected. For in Figure 1, these four groups are , , , and . Every required next-digit distribution is evaluated at a prefix of 237 or 684.
Proposition 1 (Exactness and query complexity). For (3), equations (7)–(11) compute the exact event probabilities in real arithmetic. One tail uses at most d prefix conditionals and one interval at most 2d. Grouped interval evaluation uses at most log-mass terms and scalar arithmetic, with no enumeration of the support or interval interior. Automatic differentiation gives the exact gradients of the event probability and event log likelihood.
4.3 Which digits an interval supervises
On the three-digit grid , the event consists of every completion of 44. Its probability is simply the prefix probability: the loss supervises the first two digits but supplies no target for the third.
More generally, let be the model distribution restricted to compatible indices and renormalized to sum to one. The gradient of the event loss is the negative average gradient of the compatible numerals' log probabilities, weighted by their probabilities conditional on :
Boundary marginalization computes this average exactly along the boundary paths without enumerating or sampling compatible numerals.
For a prefix , let contain the indices whose numerals extend , and let denote that prefix followed by digit . Write for its next-digit logit. Conditioned on the event , let be the posterior probability of reaching prefix and the posterior probability that the next digit after is ,
(13) with the convention when . The derivative with respect to the next-digit logits at then has the usual softmax cross-entropy form, with as the target distribution and as its weight.
Proposition 2 (Gradient at the observed resolution). Holding the logits at other prefixes fixed, the derivative with respect to the next-digit logit is
If or , this derivative is zero. Consequently, an interval event directly supervises only prefix nodes whose subtrees straddle a boundary, and . The chain rule propagates these derivatives to the shared LM parameters .
The two boundary paths contain every prefix that can receive a nonzero local gradient. Boundary marginalization therefore preserves the exact gradient without visiting the interval interior.
What the labels identify. Event likelihood matches the distribution of the observed reports. Reports from fixed, disjoint rounding bins identify the total probability of each bin, and finer or overlapping reports can additionally distinguish probabilities within a bin. Appendix B.3 states this as an identity for the expected loss and gives the identifiability condition. This motivates our controlled experiment, which varies the precise-label probability down to zero while retaining rounding intervals and bounds or at thresholds sampled independently of .
5 Implementation, Inference, and CRPS Training
The same boundary computation supports event likelihoods, numerical queries, and CRPS training. We describe how teacher forcing supplies the required digit probabilities and how each task uses them.
5.1 Teacher-forced probability extraction
Given prompt tokens and threshold digits , feed the prompt followed by . Read causal next-token logits at zero-based positions , select the digit-token columns, and apply log-softmax in 32-bit floating-point (FP32) arithmetic. This provides all conditional distributions for one path. The selected paths are evaluated together in a single batched forward pass. Appendix D verifies this computation and its gradients against exhaustive enumeration.
Singleton and one-sided events require one path, interior intervals at most two, and full-support events contribute zero loss. Dropout is disabled so shared prefixes define one coherent distribution, while automatic differentiation remains enabled.
Cost. Boundary marginalization combines one or two paths of depth using scalar arithmetic. Our reference implementation repeats the prompt for each path and uses ordinary causal attention. A layout that shares the prompt and the common digit prefix between the two paths adds only input positions for the second boundary, where is the first differing digit. The method supports full fine-tuning and parameter-efficient updates such as low-rank adaptation (LoRA).
5.2 Algorithmic summary
Algorithm 1 summarizes one training update from observed events.
Algorithm 1 Event-supervised numerical update
- Convert each observation into a nonempty compatible interval on the declared grid.
- Return zero loss for the full support. Otherwise select the singleton path, the tail threshold, or the two interval boundaries.
- Teacher-force the selected paths with repeated prompts and extract locally normalized digit log probabilities.
- Use the appropriate log tail or sum the subtree masses in (10) with log-sum-exp.
- Average over examples and backpropagate through the selected paths.
Event-likelihood training by boundary marginalization. The CRPS update uses the same computation (Algorithm 2, Appendix C.2).
5.3 Exact numerical queries at inference
The trained model answers distributional queries without sampling. A tail probability , for example the probability that a program exceeds a latency budget, is one boundary path in one forward pass. An interval probability uses at most two paths. The -quantile is the smallest grid value with cumulative probability at least . We find it by choosing digits from most to least significant. Initialize for the desired level . At each prefix, choose the first digit whose cumulative child probability reaches . To express the target level within the chosen subtree, subtract the mass of preceding sibling subtrees and divide by the chosen digit's probability:
After sequential digit steps, this traversal returns the lower -quantile, with a fixed convention at probability boundaries. The same quantile can be obtained by deterministic CDF bisection with at most boundary queries, as used for the reported medians. An equal-tailed prediction interval uses two quantile searches.
5.4 Threshold-sampled CRPS training
Boundary marginalization also supports CRPS training on exact labels. CRPS integrates the squared difference between the predicted CDF and the step function that jumps from zero to one at the observed value. For an exact grid label , define and . The CRPS of the discrete output distribution is
We estimate this sum by sampling a few thresholds and weighting each term by the inverse of its sampling probability. Choose a sampling distribution over thresholds that is fixed with respect to . For independent thresholds , use
Each sampled threshold requires one teacher-forced boundary path. Both the loss estimator and its ordinary backpropagation gradient are unbiased for the full CRPS (Proposition 4). Appendix C.2 gives the numerical-distance interpretation, the sampling choices, stable residual evaluation, and Algorithm 2. Proposition 5 establishes the variance reduction relative to a matched estimator that samples model outputs.
6 Experiments
We test how event likelihood converts incomplete observations into distributional supervision. Three settings cover recovery of a known conditional distribution, naturally censored molecular reports, and code latency on the subset of Code-Regression labeled KBSS, which contains Triton kernels for GPUs [1]. The latency study uses constructed training timeouts and fully observed test outcomes. We then test a second backbone, compare proper scores on exact labels, and measure precision scalability.
The primary backbone is Qwen2.5-1.5B, and the cross-backbone study uses Qwen3-4B-Base. All learning comparisons use rank-16 LoRA, a learning rate of , and a four-digit numerical grid.
We compare five methods on incomplete labels (Table 6, Appendix E). Event likelihood is the proposed objective. Complete-case CE trains the same decoder with sequence CE on the precise labels only, and imputed-label CE trains it on one representative numeral per report. The two event-aware heads keep the same backbone and the same event likelihood but replace the digit decoder with a five-component Gaussian mixture or a 256-bin histogram output. The CE controls test the value of incomplete reports and their event representation, and the heads compare output parameterizations given the same reports.
Within each comparison, methods share backbone initialization, adapter placement, optimizer settings, update budget, and validation schedule. The head baselines add their declared output parameters, and complete-case CE repeats its precise subset to match the update budget. The incomplete-label studies select checkpoints by event NLL across all validation reports. The exact-label score comparison selects by validation CRPS. Appendix F provides supporting scores, individual runs, and integration checks.
6.1 Learning from incomplete numerical evidence
Controlled distribution recovery. We construct 8,000/1,000/2,000 training/validation/test examples with inputs drawn uniformly on and numerical outcomes drawn from an input-dependent two-component Gaussian mixture truncated to . The same latent draws are reported with nominal precise-label probabilities . The remaining observations provide rounding intervals or one-sided bounds at thresholds sampled independently of the outcome. Integrated squared CDF error (ISE) measures recovery by integrating the squared difference between the predicted and true conditional CDFs over the support.
Figure 2 compares recovery across precise-label probabilities, with ISE values reported below in units of . As precise labels become scarce, complete-case CE degrades while event likelihood remains within a factor of two of the full-label reference, 3.819 at . At , event likelihood achieves mean ISE 6.993, compared with 15.923 for complete-case CE and 29.156 for imputed-label CE, reducing error by 56.1% relative to complete-case CE. It improves on both CE controls in all three paired seeds. With no precise training labels ( ), rounding and threshold reports alone yield mean ISE 6.801, an 80.1% reduction from imputed-label CE (34.121). Complete-case CE is unavailable in this setting.
Event likelihood has lower mean ISE than both event-aware heads at every while using the model's existing digit tokens. At , its mean ISE is 4.936, compared with 6.037 for the mixture head and 5.312 for the histogram head. Imputation performs worse than discarding incomplete reports at , 0.2, and 0.5, consistent with Section 3: cross-entropy on imputed numerals learns the distribution of the representatives. The five-seed follow-up at gives mean ISE 4.818 for event likelihood and 7.906 for complete-case CE, a 39.1% reduction.
At the test input nearest , event likelihood captures both rises and the central plateau of the true conditional CDF in all three seeds (Figure 3). Complete-case CE produces central plateaus near 0.73, 0.28, and 0.29 for seeds 0, 1, and 2, compared with the true 0.50. Imputed-label CE shows large jumps near rounding bin centers and broader tails, consistent with its use of representative numerals as targets (Section 3).
Naturally censored molecular measurements. We retain 14,850 IC50 measurements of human ether-à-go-go-related gene (hERG) channel inhibition, a standard cardiac safety assay, from ChEMBL 37 [5]. We transform concentrations and bounds to pIC50, the negative base-10 logarithm of molar IC50. We split the reports into 11,880 training, 1,485 validation, and 1,485 test reports so that no parent molecule or scaffold (core molecular structure) is shared across splits. Bounds constitute 29.8% of training reports and 36.2% of test reports, and the remaining reports are equalities, which give an exact value.
Event likelihood incorporates 3,535 bounded training reports excluded by complete-case CE and achieves the lowest NLL over all test reports, 4.675, improving over complete-case CE by 0.408 nats per report and over both event-aware heads (Table 2). Its NLL on censored reports is 0.823 versus 2.076 for complete-case CE, a 60.3% reduction. On equality reports, its NLL is below imputed-label CE and both heads, and 0.071 nats higher than complete-case CE (6.857 versus 6.786), which trains only on equality reports. Table 10 (Appendix F) reports NLL by bound type, equality CRPS, and the mean absolute error (MAE) of predicted medians.
Code latency from timeout supervision. KBSS pairs each Triton GPU kernel with its measured latency. We split it by code template into 5,949 training, 744 validation, and 744 test examples. Independently assigned timeouts censor 45.2% of training outcomes. Every test latency is retained exactly.
Event likelihood obtains the lowest CRPS on both scales: ms and in . Physical and logarithmic CRPS decrease by 6.8% and 10.5% relative to complete-case CE, and by 8.1% and 1.9% relative to the event-aware histogram. Both CRPS scores improve against every control in each of the three paired seeds (Figure 6, Appendix F). For the event that a kernel exceeds a fixed latency budget, the Brier score measures the mean squared error between the predicted probability and the observed binary outcome. It is 0.1281 versus 0.1550 for complete-case CE, showing more accurate predictions for this tail event (Table 11).
6.2 Transfer to a newer, larger backbone
We repeat the event, complete-case CE, and histogram comparison on Qwen3-4B-Base [25], preserving the KBSS split, timeout assignments, prompts, numerical support, 558-update budget, and validation rule. Event likelihood again achieves the lowest CRPS on both scales (Table 3). Physical and logarithmic CRPS decrease by 5.3% and 11.5% relative to complete-case CE, and by 4.3% and 4.0% relative to the histogram head. Its budget Brier score is also lowest. These results reproduce the benefit of event supervision on a second pretrained backbone.

Figure 2: Distribution recovery across precise-label probabilities. Large markers show mean ISE and error bars show one sample standard deviation (SD) over seeds 0, 1, and 2. Faint markers show individual seeds, offset horizontally for readability. Lower is better. The horizontal axis is linear and the vertical axis logarithmic. Event-aware heads are evaluated at , while complete-case CE is unavailable at . At , the three decoder objectives share one full-label reference, whose mean is marked by the dashed line. ISE uses 64 shared stratified thresholds per test input (Appendix E). Results for individual seeds appear in Figure 5.
6.3 Exact-label score comparison
Boundary marginalization also makes CRPS trainable (Section 5.4), so we test whether CRPS should replace the likelihood as the training objective when every label is exact. With exact labels, event likelihood reduces to sequence CE, which supervises all digit conditionals of the observed numeral without sampling thresholds. On the fully precise controlled task, we compare sequence CE with threshold-sampled CRPS and binary cross-entropy on threshold events (CDF-BCE) through the same decoder at a common 2,250-update budget, with checkpoints selected by validation CRPS for every method.
Sequence CE attains the lowest mean test CRPS (0.2165), ISE, and point NLL (the NLL of the complete precise test numeral), supporting event likelihood as the primary training objective (Table 13, Appendix F). Querying only of the grid thresholds per observation, threshold CRPS achieves mean test CRPS 0.2197, about 1.5% above sequence CE. It has lower means than CDF-BCE (0.2219 test CRPS) on all three metrics. The same boundary computation thus supports direct CRPS training without generated rollouts.
6.4 Precision scalability
We hold physical support and interval observations fixed while increasing decimal depth from to 6, expanding the output support from to values. Event update time and peak memory

Figure 3: Conditional CDFs at for the test input nearest (), with one panel per training seed. Curves use checkpoints selected by validation event NLL and connect evaluations at 512 common grid thresholds. The dashed curve is the true grid CDF.
| Method | hERG: natural reports | KBSS: exact test outcomes | ||
|---|---|---|---|---|
| Full NLL | Equality NLL | CRPS ( ms) | CRPS ( ms) | |
| Event likelihood (ours) | 4.675±0.012 | 6.857±0.049 | 8.262±0.299 | 0.0878±0.0013 |
| Complete-case CE | 5.083±0.055 | 6.786±0.062 | 8.870±0.235 | 0.0980±0.0024 |
| Imputed-label CE | 4.958±0.032 | 6.998±0.086 | 10.229±0.135 | 0.1205±0.0026 |
| Event-aware mixture | 5.338±0.023 | 7.880±0.027 | 11.374±0.626 | 0.0973±0.0031 |
| Event-aware histogram | 5.413±0.087 | 7.934±0.053 | 8.990±0.780 | 0.0895±0.0022 |
Table 2: Incomplete-label learning on real inputs with Qwen2.5-1.5B. Entries are means ± sample standard deviation (SD) over seeds 0, 1, and 2. Lower is better, and bold marks the lowest mean. hERG full NLL covers all 1,485 test reports (948 equalities and 537 bounds), and equality NLL covers the equalities only. KBSS uses all 744 exact test latencies. Methods share prompts, grid, update budget, and checkpoint selection by validation event NLL within each task.
remain nearly constant across the tested depths. With 256 attended prompt tokens, updates take 0.872–0.888 seconds and use 11.224–11.343 GiB of peak allocated memory. With 1,024 tokens, they take 2.102–2.144 seconds and use 27.008–27.458 GiB. Exact interval training therefore remains tractable across this -fold increase in support size.
At , the dense per-value output, which predicts one probability per grid value, uses 35.849 and 47.513 GiB for the two prompt lengths. Event likelihood uses 68.4% and 43.2% less memory, respectively (Figure 4). Event likelihood updates take 1.07–1.10 times as long as imputed-label CE updates with 256 prompt tokens and 1.45–1.47 times as long with 1,024 tokens. Appendix F.5 reports the full grid, including fixed-size event-aware heads.
| Method | CRPS ( ms) | CRPS ( ms) | Budget Brier |
|---|---|---|---|
| Event likelihood (ours) | |||
| Complete-case CE | |||
| Event-aware histogram |
Table 3: KBSS transfer to Qwen3-4B-Base. Entries are means ± sample SD over seeds 0, 1, and 2 on all 744 exact test outcomes. Both CRPS scales and the evaluation budget fixed from the training data match the Qwen2.5 evaluation. Lower is better, and bold marks the lowest mean. Table 12 reports median MAE on both scales.


Figure 4: Precision scaling without dense output growth. Depths 2, 4, 6 represent , , values on the same support. Methods share inputs and optimizer settings. Event likelihood and the three heads use the same interval reports, and imputed-label CE trains with sequence CE on one representative numeral per report. Memory is maximum peak allocated memory across three benchmark replicates, including weights, gradients, and Adam state. The dense per-value output predicts one probability per grid value, and the histogram and mixture heads have fixed output dimensions.
7 Conclusion
Boundary marginalization makes numerical events directly trainable in an autoregressive numeral distribution. Precise labels, rounding intervals, and censored outcomes contribute their exact likelihood through at most two boundary paths. Controlled experiments show gains over complete-case training when precise labels are scarce and over imputation when only rounding and threshold reports are available. Naturally censored molecular measurements and code latency further demonstrate the value of event supervision, with the latency gains reproduced on a second backbone. The same computation provides exact distributional queries and direct CRPS training, and the precision benchmark establishes tractable interval updates across a million-value support. Numerical supervision can therefore preserve the information supplied by each observation throughout learning and prediction.
Appendix
A Limitations
Finite representation and shared parameters. The declared grid fixes the support and resolution of the predictive distribution. Proposition 2 characterizes derivatives with respect to individual prefix logits. Shared LM parameters can still couple predictions across prefix subtrees. Threshold-sampled scores retain sampling variance. The variance reduction in Proposition 5 compares with a matched estimator that samples model outputs.
Reporting and identifiability. The likelihood interpretation of (4) assumes conditionally ignorable reporting (5). Nonignorable reporting requires modeling the reporting mechanism. Observed reports identify the event probabilities characterized by Proposition 3. At , the controlled rounding and threshold design leaves some individual grid probabilities in the tails unidentified.
Empirical scope. Predictive rankings depend on the score: the mixture head has lower point NLL on the exact test values at (Table 8). Outcomes behind natural hERG bounds are unobserved, and the assay reporting process selects the hERG equality subset. KBSS uses constructed timeouts and code templates as proxies for related programs. The two Qwen backbones differ in both generation and size, and seed variation on fixed splits does not quantify uncertainty from sampling new data. Predictive accuracy across grid depths remains untested.
B Statistical Properties and Proofs
B.1 Proof of Proposition 1
For a threshold string , partition the complete strings smaller than by their first differing position . Such a string matches , takes a digit , and has an arbitrary suffix. Its partition mass is
The suffix sum is one by repeated normalization of (2). These partitions are disjoint and exhaustive. Adding the threshold leaf proves (7), and using proves (8).
For two different boundaries, all compatible strings share the boundary prefix at positions before . A digit strictly between and admits every suffix. A digit equal to must remain at least the lower suffix: it either equals the lower leaf or first becomes larger at a later position. The upper branch is symmetric. This is exactly (10), with no overlap. The largest collection has two leaves, one middle group, and at most later groups, hence at most terms.
Only conditional distributions on the two boundary strings occur, so there are at most queried prefix nodes. Each grouped sibling sum examines at most digits, which establishes arithmetic. The sums and products are finite differentiable expressions for the same function of , so differentiating the identity proves gradient equality. Log-sum-exp changes the numerical representation and leaves the mathematical function unchanged.
B.2 Proof of Proposition 2
Holding the logits at other prefixes fixed, the log probability of a complete numeral has derivative
Differentiating the log sum over gives (12). Taking the negative posterior expectation of the displayed derivative yields
If , conditioning on imposes no further restriction within , so . If , . For an ordered interval, a subtree can be partially inside the event only if it contains a boundary. This identifies which prefixes can receive nonzero local gradients. The chain rule propagates these derivatives to shared model parameters.
B.3 Observed-distribution consistency
For fixed , let be the matrix that maps a distribution over values to the distribution over reported events, and let be the true grid distribution, so is the observable event distribution. Let be the expected event loss and KL denote Kullback–Leibler divergence.
Proposition 3 (Observed-distribution consistency). The excess expected event loss equals the KL divergence between the true and predicted report distributions:
Population minimizers therefore match the observable event distribution. The report probabilities uniquely determine the grid distribution exactly when every change in the grid distribution changes at least one report probability:
Proof. The expected loss is
Since , the difference from the corresponding risk at cancels every nonzero reporting factor and becomes
Terms with zero true probability contribute zero. Thus minimizers match . Two simplex distributions have the same observable event distribution exactly when their difference is in ker and has zero sum. Condition (19) makes this difference zero. If that condition fails, a nonzero null vector whose entries sum to zero perturbs an interior simplex point in both directions without changing the observable event distribution, so the map is not injective on the whole simplex.
□
B.4 CRPS propriety and unbiased differentiation
Proposition 4 (Proper objective and unbiased optimization). Let be the CDF of the conditional data distribution. The excess expected CRPS is the integrated squared difference between the predicted and true CDFs:
so the score is strictly proper on the finite ordered support. Moreover, (17) is unbiased for (16), and its ordinary backpropagation gradient is unbiased for the gradient of (16).
Proof. At threshold , the random indicator has expectation . Expanding a squared loss gives
The second term does not depend on . Weighted summation proves (20). All weights are positive and all cumulative probabilities determine the grid masses, which establishes strict propriety.
For the sampled objective, each threshold's proposal probability cancels its inverse-probability weight:
The support is finite and is independent of , so differentiation commutes with this finite expectation. Averaging independent draws preserves the identities. The same cancellation applies within each stratum in (26).
B.5 Matched output-sampling comparison
At a fixed threshold K, the CRPS contribution has gradient
Boundary marginalization integrates out the randomness of sampled model outputs in the following matched estimator (Proposition 5).
Fix , sample a threshold , and draw two independent complete model outputs . Set , , , and . The score-function estimator of the CRPS gradient at threshold from two output samples is
The directly differentiated gradient is (21).
Proposition 5 (Conditional-expectation variance reduction). For the matched estimator (22), averaging over model outputs at a fixed threshold gives the direct gradient:
With finite second moments, direct differentiation has no greater gradient variance in any parameter direction:
Proof. Condition on a threshold . The two model outputs are independent, and
because and . Therefore
The law of total covariance gives
which proves (24). Every conditional covariance matrix is positive semidefinite.
C Implementation Details
C.1 Numeral paths and event likelihoods
Digit tokens and alignment. Numerals are constructed from the fixed token IDs representing digits , ordered by digit value, independently of multi-character number tokens. With prompt tokens, the first path digits follow the prompt, and causal logits are read at zero-based positions . Padding offsets are handled before gathering logits. We project the required hidden states onto the ten existing vocabulary rows in FP32 with autocast disabled locally, then apply log-softmax over the digit tokens. The backbone uses bfloat16 (BF16), while verification uses 64-bit floating-point (FP64) precision. Each path repeats the prompt and uses ordinary causal attention. For paths, this layout processes input tokens per observation, compared with for sequence CE.
One coherent decoder distribution. Dropout is disabled in the probability computation while automatic differentiation remains enabled, so paths that share a prefix describe the same decoder distribution. Trainable parameters continue to receive gradients in evaluation mode.
Log-domain operations. Log prefix masses are cumulative sums of digit log probabilities. Grouped sibling masses and interval unions use log-sum-exp. Empty digit ranges are skipped, singleton and full-support events have explicit branches, and no probability floor or imputed target is introduced into the objective. Non-finite loss values trigger a diagnostic that records the support, interval, and boundary logits.
Endpoint conversion. Measurement intervals are converted to grid indices with decimal or rational arithmetic, preserving endpoint conventions and reporting precision. Empty events are rejected.
C.2 CRPS estimator details
Both sequence NLL and CRPS are strictly proper scores of the complete constrained numeral distribution [8]. Sequence NLL sums the autoregressive digit log losses. CRPS weights CDF errors by numerical distance, so adjacent values such as 0999 and 1000 remain close despite differing at every digit. The following details specify stable residual evaluation and the stratified estimator.
Stable residual evaluation. We compute both log and log directly from their prefix decompositions and evaluate the squared residual as
which avoids subtracting a CDF that has rounded to one. All accumulation is performed in at least FP32.
Stratified sampling. A stratified design partitions thresholds into fixed contiguous strata , sets , and samples thresholds with probability inside each stratum. The estimator
is unbiased and samples every stratum. We split thresholds into two contiguous strata of approximately equal total numerical width and draw one threshold from each.
Algorithm 2 Threshold-sampled CRPS update
-
For each exact label, draw thresholds from a fixed sampling distribution that assigns positive probability to every threshold, or use a stratified design.
-
Teacher-force the threshold paths and compute each log CDF and log survival probability.
-
Evaluate (25) and combine terms with the sampling weights in (17) or (26).
-
Backpropagate through the threshold paths and update the same trainable parameters.
D Verification of the Probability Computation
The probability computation is verified in FP64 on a three-digit decimal tree with 1,000 outcomes and 70 parameters shared across prefix logits. Checks compare every CDF and 87 interval log probabilities with exhaustive enumeration, test event and CRPS gradients and finite differences, and enumerate the matched score-function expectation on an eight-leaf tree (Table 4). Integration checks cover decoding from digit token IDs, causal logit alignment, shared-prefix consistency, endpoint conversion across carry and rounding boundaries, full-support zero loss and gradient, empty-event handling, and boundary versus enumerated losses and gradients in small causal models. In an FP32 singleton stress test with log mass , CDF subtraction returns zero while boundary evaluation returns the log mass directly. The minimum eigenvalue of the matched conditional covariance is , consistent with roundoff around a positive-semidefinite matrix.
E Experimental Details
Controlled family. The reference family is a truncated mixture on ,
(27)
The density is conditioned on , exact bin masses are computed, and the grid-valued target is sampled. The allocation is 8,000/1,000/2,000 train/validation/test inputs.
| Verification quantity | Maximum absolute discrepancy |
|---|---|
| CDF versus enumeration | |
| Interval log probability versus enumeration | |
| Event gradient versus enumeration | |
| Event gradient versus finite differences | |
| CRPS objective versus threshold expectation | |
| CRPS gradient versus threshold expectation | |
| Matched score-function mean versus direct gradient |
Table 4: Checks of the probability computation and its derivatives in FP64 on CPU.
Reporting mechanisms. For the controlled experiment, the reporting mode is drawn independently of the sampled outcome. The nominal precise-label fraction is the probability of reporting the precise grid value. Otherwise, a rounding report or a threshold report is chosen with equal probability. Rounding widths are drawn uniformly from with a fixed origin and half-open convention. A threshold is drawn uniformly from and the report retains only or , whichever occurred. These mechanisms satisfy (5). The same latent samples and reporting random numbers are reused across methods and fractions, with nested precise-label masks for . Thus retains rounding and threshold reports throughout training and validation. The mixture and histogram heads are evaluated at . The three decoder objectives are compared at and share one reference fit per seed at .
For KBSS, each synthetic budget is drawn independently from the empirical distribution of training grid indices: with probability 0.9, a sampled index defines a budget at the midpoint above it on the logarithmic grid, and with probability 0.1, no timeout is imposed. This allows uncensored observations throughout the support and gives an approximate censoring rate of 0.45 when ties are rare. One censoring configuration is fixed before comparison, and its realized censoring fraction is reported. A separate evaluation budget is fixed from the training data before test evaluation.
Molecular cohort and provenance. The hERG cohort uses ChEMBL 37 target CHEMBL240, IC50 measurements in nanomolar (nM) units, positive finite standard_value, and standard_relation in [5]. We require direct single-protein assignment (assay confidence score 9), retain records with no validity flag or with Manually validated status, and exclude flagged potential duplicates [4]. The text forms and mathematical-symbol equivalents are normalized. The split manifest records activity, molecule, assay, and document IDs, the release, query, filters, and extraction checksum. The saved manifest records split-specific equality and censoring counts, bound directions, and threshold distributions.
Molecular event conversion. Let be IC50 in nM and . Then becomes , becomes , and the other inequalities reverse analogously. We transform the standardized concentration and relation directly: ChEMBL's pchembl_value is computed for equality records and is not required for inclusion [4]. The declared support is [0, 14] pIC50 with grid values. Equality records use the nearest grid value with half-up ties. Rounding intervals are used only when reporting precision is documented. Out-of-support equalities and empty or full-support bounds are excluded with recorded counts. Independent measurements remain separate. Parent-molecule and nonchiral Murcko-scaffold groups are assigned by a deterministic allocation that does not use activity labels, targeting 80/10/10 train/validation/test proportions. Prompts contain the parent molecule's simplified molecular input line entry system (SMILES) string, structured assay type, the target name, and the numerical mapping.
Code data and common supports. We use the pinned Code-Regression revision and the KBSS latency field in milliseconds. Formatting, name, and literal variants share an abstract syntax tree (AST) template fingerprint of the code. Unparseable inputs use whitespace-normalized text. A seeded group shuffle reserves the largest group for training and targets 80/10/10 row proportions without splitting groups. Code exceeding 2,048 tokenizer tokens is excluded without truncation. A log-spaced grid is fixed from training extrema with a margin of 0.5 in log₁₀(ms). The Qwen3 comparison reuses the saved dataset and prompt strings, tokenized by its own pinned tokenizer. Split counts, support, and timeout assignments are unchanged.
Cohorts and reporting. Table 5 reports the realized report counts by split. Left bounds report that the target lies below a threshold (the upper bounds of Table 1), and right bounds report that it lies above one (the lower bounds).
| Dataset | Split | Exact | Rounded | Left bounds | Right bounds |
|---|---|---|---|---|---|
| Controlled () | Train | 0 | 3,916 | 2,091 | 1,993 |
| Validation | 0 | 514 | 250 | 236 | |
| Test | 0 | 999 | 519 | 482 | |
| Controlled () | Train | 853 | 3,482 | 1,877 | 1,788 |
| Validation | 98 | 470 | 226 | 206 | |
| Test | 183 | 906 | 462 | 449 | |
| Controlled () | Train | 1,654 | 3,095 | 1,667 | 1,584 |
| Validation | 184 | 424 | 208 | 184 | |
| Test | 403 | 796 | 398 | 403 | |
| hERG | Train | 8,345 | 0 | 3,288 | 247 |
| Validation | 966 | 0 | 495 | 24 | |
| Test | 948 | 0 | 518 | 19 | |
| KBSS | Train | 3,263 | 0 | 0 | 2,686 |
| Validation | 397 | 0 | 0 | 347 | |
| Test | 744 | 0 | 0 | 0 |
Table 5: Realized report counts for the fixed controlled-data seed and real-data splits. The precise-label probability is nominal: yields 853 precise training reports out of 8,000. Controlled-test latent outcomes and the true conditional distribution are retained separately for scoring. Every KBSS test outcome remains exact. hERG bounds are expressed after the pIC50 transformation.
The hERG extraction retains 14,850 of 17,099 candidate activities. Exclusions are 1,339 potential duplicates, 587 records below confidence 9, 316 validity flags, five unsupported relations, and two missing structures. The split has 3,860/1,485/1,485 parent/scaffold groups, and every validation and test group contains one report.
KBSS retains 7,437 of 12,615 latency records after the code length limit of 2,048 tokens, excluding 5,178 longer programs without truncation. The training, validation, and test splits contain 2,578/347/349 template groups, respectively. The largest groups contain 1.56%, 2.02%, and 2.02% of the examples in the training, validation, and test splits, respectively. Median full prompt lengths in the training, validation, and test splits are 1,200, 1,209, and 1,326 tokens, respectively, with maxima of 2,140/2,136/2,140. The log-grid support is in , determined from training extrema with margin 0.5. There are no out-of-support outcomes in any split. Timeouts follow the reporting rule described above. The evaluation budget is 0.03351313227795 ms, fixed from the training 75th-percentile grid index. The source dataset revision is 2410c301318408ea80eeacd641d887d039b95dc0. Group splits and timeout assignments are fixed across methods.
| Method | Supervision and role |
|---|---|
| Event likelihood (ours) | Exact probability of each observed interval through the numerical decoder. |
| Complete-case CE | Same decoder trained only on precise observations. |
| Imputed-label CE | Same decoder trained on midpoint representatives for bounded intervals and admissible representatives adjacent to the bounds for censored labels. |
| Event-aware mixture head | Five-component Gaussian mixture on the declared target scale, trained on the same event likelihood using the same backbone. |
| Event-aware histogram head | Fixed 256-bin head using the same backbone and evidence. The cost study also includes a separate dense output with one probability per grid value. |
Table 6: Core incomplete-label comparison. The distributional heads compare the numeral decoder with other output parameterizations trained on the same incomplete evidence.
Baseline configuration. Table 6 summarizes the compared methods. The five-component mixture head predicts means, positive scales, and normalized weights from the final prompt representation. Its input-independent initialization uses equal mixture weights, means evenly spaced across the central 70% of the declared support, and scale max{0.075(U - L), 2Δ}, where Δ is the grid spacing. This preserves the synthetic initializer on [-2, 2] and scales it consistently to pIC50. The histogram uses 256 bins. Imputation uses an admissible endpoint for one-sided bounds and a midpoint index for finite intervals.
Common probability evaluation. The primary metrics are hERG NLL over all reports and over the equality subset, and KBSS CRPS on the prespecified physical and logarithmic scales. For comparable event NLL, continuous heads are integrated over the common grid cells (the interval of values assigned to each grid value) and normalized over the declared support. Histogram mass is allocated by its piecewise-uniform density. Full NLL retains the empirical measurement weights, and separate equality and censoring scores expose the contributions of each report type. For hERG, equality CRPS uses the same grid target across methods, while median MAE uses the transformed reported equality value. For code latency, both CRPS scales and median errors use every original unrounded test value, including any out-of-support outcome, whose CRPS contribution is integrated exactly.
Training configuration. Qwen2.5-1.5B is pinned at revision 8faed761d45a263340a0528343f099c05c9a4323, and Qwen3-4B-Base at 906bfd4b4dc7f14ee4320094d8b41684abff8539. Both use rank-16 LoRA with α = 32 on attention and feed-forward projections. AdamW uses a constant learning rate 10⁻⁴, (β₁, β₂) = (0.9, 0.999), zero weight decay, gradient-norm clipping at 1.0, and effective batch size 32. No search over learning rates or head resolutions is performed. Dropout is disabled while automatic differentiation remains active. Model/tokenizer revisions, digit IDs, source hashes, dataset manifests, support, and conversion rules are saved with each run. Table 7 lists the fit counts, update budgets, and checkpoint selection rules.
The incomplete-label studies run for three epochs, and the exact-label score study runs for nine. Validation includes step zero and epoch/final ends. Synthetic validation occurs every 50 updates, and hERG and both KBSS studies validate every 20 updates. Each checkpoint is selected separately
| Study | Backbone | Fits | Max updates | Validation selection |
|---|---|---|---|---|
| Controlled incomplete labels | Qwen2.5 | 64 | 750 | Event NLL |
| hERG | Qwen2.5 | 15 | 1,116 | Event NLL |
| KBSS | Qwen2.5 | 15 | 558 | Event NLL |
| KBSS transfer | Qwen3 | 9 | 558 | Event NLL |
| Exact-label scores | Qwen2.5 | 9 | 2,250 | CRPS |
Table 7: The 112 distinct learning fits represented in the reported comparisons. The 64 controlled fits include 60 core fits and four additional event likelihood and complete-case CE fits for seeds 3 and 4 at . The core allocation is 12, 15, 15, 15, and 3 fits at , respectively. The shared full-label reference is counted once per seed.
for its method and seed using only observed validation labels. Complete-case CE repeats its precise subset to match the optimizer update budget of the full dataset.
Evaluation budget. Synthetic ISE and CRPS use 64 shared stratified threshold queries per input, each query being a gap between adjacent grid values, with a separate integration check comparing 64 and 256 queries at . hERG equality CRPS uses 64 fixed, physically weighted stratified queries per equality. KBSS uses 64 shared threshold queries for both CRPS scales. The gap widths on each scale and the exact position of each unrounded test value inside its gap give the physical and logarithmic contributions. Out-of-support CRPS contributions are integrated exactly. The same queries are reused across methods and training seeds. Event NLL and budget probabilities use direct event queries. Reported medians use deterministic CDF bisection. The precision study is separate: 30 configurations, three benchmark replicates each, and five warmup plus 20 measured updates per replicate.
E.1 Exact-label score protocol
The completed study compares sequence CE, threshold-sampled CRPS, and CDF-BCE on the existing fully precise controlled data: 8,000/1,000/2,000 training/validation/test inputs, support , and 10,000 grid values. All three methods use Qwen2.5-1.5B, seeds 0, 1, and 2, effective/micro batch sizes 32/8, and the common 2,250-update budget. Checkpoints are selected by validation CRPS on the observed labels at steps 0, 50, ..., 2250, using 64 fixed per-input validation queries. Test evaluation uses a separate fixed set of 64 stratified queries per input.
CRPS and CDF-BCE share two contiguous threshold strata, with one fresh threshold per stratum on every presentation of an observation. Thresholds are drawn for the full effective batch before microbatch slicing. The sampled training scores are divided by the fixed support width . Reported test CRPS and ISE retain their original units. For independent threshold draws, the unnormalized CDF-BCE estimator is
The stratified implementation uses the weights of (26) and direct log tails. Expected excess CDF-BCE is a sum of Bernoulli KL divergences weighted by the positive grid spacings , so it is also strictly proper on the grid. The comparison holds the decoder and, between the two threshold objectives, the query design fixed. Sequence CE remains the log score of the complete numeral.
F Completed Results and Reproducibility
F.1 Controlled recovery and seed replication
Table 8 gives all 20 three-seed configurations (60 fits). Complete-case CE is unavailable at , where every training observation is a rounding interval or a one-sided threshold report. The full-label reference at is one shared decoder fit per seed. Table 9 reports the five-seed extension, and Figure 5 shows the individual fits behind the three-seed results. Figure 6 shows the paired differences between event likelihood and each control at , where event likelihood improves on both CE controls in every seed, together with the five-seed differences at .
| Method | ISE () | Event NLL | CRPS | Point NLL | |
|---|---|---|---|---|---|
| 0 | Event likelihood (ours) | ||||
| 0 | Imputed-label CE | ||||
| 0 | Event-aware mixture | ||||
| 0 | Event-aware histogram | ||||
| 0.1 | Event likelihood (ours) | ||||
| 0.1 | Complete-case CE | ||||
| 0.1 | Imputed-label CE | ||||
| 0.1 | Event-aware mixture | ||||
| 0.1 | Event-aware histogram | ||||
| 0.2 | Event likelihood (ours) | ||||
| 0.2 | Complete-case CE | ||||
| 0.2 | Imputed-label CE | ||||
| 0.2 | Event-aware mixture | ||||
| 0.2 | Event-aware histogram | ||||
| 0.5 | Event likelihood (ours) | ||||
| 0.5 | Complete-case CE | ||||
| 0.5 | Imputed-label CE | ||||
| 0.5 | Event-aware mixture | ||||
| 0.5 | Event-aware histogram | ||||
| 1 | Shared full-label reference |
Table 8: All controlled configurations, mean sample SD over seeds 0, 1, and 2. Event NLL compares methods within the same precise-label fraction, and ISE compares recovery across fractions. CRPS and point NLL score the precise test outcomes. All scores use the fixed 2,000-input test cohort.
| Method () | Seeds | ISE () | Event NLL |
|---|---|---|---|
| Event likelihood (ours) | 5 | ||
| Complete-case CE | 5 |
Table 9: Five-seed follow-up comparing event likelihood with complete-case CE, extending seeds 0, 1, and 2 with seeds 3 and 4. Entries are means sample SD. The mean ISE difference (event likelihood minus complete-case CE) is .
The paired ISE differences (), event likelihood minus complete-case CE, for seeds 0–4 are , and .
Repeated integration checks preserve the direction and magnitude of the gain. On the fixed 256-input subset, the five-seed mean ISE differences are , and
() for the primary 64-query draw, two additional 64-query draws, and two 256-query draws. Their range is in the unscaled difference.

Figure 5: Individual fits behind Figure 2. Each marker is one training run, identified by its fine-tuning seed, and the bar is the seed mean. All 60 core fits are shown, with the shared full-label reference drawn once per seed. The vertical axis is logarithmic and shows ISE multiplied by .
Conditional CDFs. Figure 3 uses test input test_001617, selected by the smallest with ties broken by saved ID. The nine fits use their existing checkpoints selected by validation event NLL. We query 512 common grid indices spanning the support, including both endpoints, and compute the true grid CDF through each cell's upper edge, matching the ISE evaluation. The quoted central CDF levels use the shared threshold between the two rises.



(c) KBSS: physical scale

Negative differences favor event likelihood
Seed 0 Seed 1 Seed 2
Figure 6: Paired differences across training seeds. (a) ISE differences, event likelihood minus each of the four controls, at for seeds 0–2. (b) ISE differences, event likelihood minus complete-case CE, at for all five seeds. (c, d) KBSS CRPS differences, event likelihood minus each of the four controls, for all three Qwen2.5 seeds on physical and logarithmic scales. Negative differences favor event likelihood, and points show individual seed differences.
F.2 Supporting hERG and KBSS metrics
Table 10 reports hERG NLL by bound type, equality CRPS, and the MAE of predicted medians. Table 11 reports the KBSS budget Brier score and median errors on both scales.
| Method | Censored NLL | Left-bound NLL | Right-bound NLL | Equality CRPS | Equality median MAE |
|---|---|---|---|---|---|
| Event likelihood (ours) | |||||
| Complete-case CE | |||||
| Imputed-label CE | |||||
| Event-aware mixture | |||||
| Event-aware histogram |
Table 10: Supporting hERG scores, mean sample SD over three seeds. There are 518 left bounds and 19 right bounds in the test set. Equality CRPS and the mean absolute error of predicted medians use pIC50 units. Full and equality NLL remain visible in Table 2.
| Method | Budget Brier | Median MAE ( ms) | Median MAE ( ms) |
|---|---|---|---|
| Event likelihood (ours) | |||
| Complete-case CE | |||
| Imputed-label CE | |||
| Event-aware mixture | |||
| Event-aware histogram |
Table 11: Supporting KBSS metrics on all 744 exact outcomes, mean ± sample SD over seeds 0, 1, and 2. Brier evaluates strict exceedance of the evaluation budget fixed from the training data, using a direct survival query.
F.3 Cross-backbone supporting scores
Table 12 reports the median errors of the Qwen3-4B-Base study.
| Method | Median MAE ( ms) | Median MAE ( ms) |
|---|---|---|
| Event likelihood (ours) | ||
| Complete-case CE | ||
| Event-aware histogram |
Table 12: Supporting Qwen3-4B-Base median errors on KBSS, mean ± sample SD over seeds 0, 1, and 2. Both scores use the same 744 exact outcomes and CDF bisection procedure as the Qwen2.5 study. CRPS and budget Brier scores appear in Table 3.
F.4 Exact-label score results
Table 13 reports the exact-label test scores. The updates selected by validation CRPS for seeds 0, 1, and 2 are (800, 800, 750) for CE, (2050, 1900, 2050) for CRPS, and (2050, 1900, 1850) for CDF-BCE. Figure 7 summarizes the validation trajectories. The full-label reference in Table 8 uses the separate incomplete-label protocol, with 750 updates and checkpoint selection by validation event NLL.
| Training objective | Test CRPS | ISE () | Point NLL |
|---|---|---|---|
| Sequence CE | |||
| Threshold CRPS | |||
| Threshold CDF-BCE |
Table 13: Exact-label controlled comparison at a common 2,250-update budget. Entries are means ± sample SD over seeds 0, 1, and 2, and lower is better. Every method selects its checkpoint by validation CRPS. Test CRPS and ISE use 64 common stratified queries on 2,000 test inputs. Point NLL scores the complete precise numeral.
F.5 Complete precision measurements
The benchmark uses the first 32 input IDs from the controlled training set and four fixed physical intervals: [-1.73, -0.41], [-0.37, 0.83], [0.19, 1.71], and [-1.41, 1.39]. All remain interior intervals requiring two boundary paths at every depth. Attended neutral context gives exactly 256 or 1,024 prompt tokens. The effective batch is 32 and microbatch is four observations. Every method uses

Figure 7: Validation CRPS during the exact-label score study, shown from update 100 through the common 2,250-update budget. Curves are unsmoothed means over seeds 0, 1, and 2, and shading denotes one sample SD across seeds. Every checkpoint uses the same 64 fixed stratified validation queries per input. Test results use the checkpoint with the lowest validation CRPS, selected separately for each method and seed.
rank-16/alpha-32 LoRA, BF16 backbone computations, and the production probability arithmetic. All three timing replicates use the same random seed. Each fresh process performs five warmup updates followed by 20 synchronized full optimizer updates. The timer includes gradient clearing, input assembly/transfers, all microbatch forwards, likelihood evaluation, backward, clipping, and AdamW. Replicate case order is randomized, and ratios of update times to those of imputed-label CE are paired within the same replicate and physical GPU.
The dense per-value output predicts one probability per grid value, with added output parameters for hidden width . The practical mixture and 256-bin histogram retain fixed parameter counts but store the existing FP64 cell-edge array (about 8 MB at ). Update times are means of medians from three timing replicates, and memory is the maximum observed peak allocation across replicates. Figure 8 shows the update times, and Table 14 lists every timing and memory measurement.


Figure 8: Training update time for the same workloads as Figure 4. The event implementation processes two paths per observation, each with its own copy of the prompt, and imputed-label CE and all heads process one prompt. Curves show means of the medians from the three timing replicates.
| Method | d | 256 prompt tokens | 1,024 prompt tokens | ||||
|---|---|---|---|---|---|---|---|
| Update (s) | GiB | ×CE | Update (s) | GiB | ×CE | ||
| Event likelihood | 2 | 0.888158 | 11.224 | 1.075 | 2.114650 | 27.458 | 1.458 |
| Event likelihood | 4 | 0.873143 | 11.245 | 1.071 | 2.143870 | 27.071 | 1.472 |
| Event likelihood | 6 | 0.872044 | 11.343 | 1.098 | 2.102270 | 27.008 | 1.446 |
| Imputed-label CE | 2 | 0.826942 | 7.235 | 1.000 | 1.450010 | 19.034 | 1.000 |
| Imputed-label CE | 4 | 0.816379 | 7.245 | 1.000 | 1.456340 | 19.064 | 1.000 |
| Imputed-label CE | 6 | 0.795354 | 7.257 | 1.000 | 1.453370 | 19.095 | 1.000 |
| Histogram (256) | 2 | 0.833546 | 7.234 | 1.009 | 1.433360 | 19.023 | 0.989 |
| Histogram (256) | 4 | 0.817460 | 7.234 | 1.002 | 1.436490 | 19.023 | 0.986 |
| Histogram (256) | 6 | 0.811750 | 7.241 | 1.021 | 1.444380 | 19.031 | 0.994 |
| Mixture (5) | 2 | 0.806047 | 7.228 | 0.976 | 1.446600 | 19.017 | 0.998 |
| Mixture (5) | 4 | 0.829752 | 7.228 | 1.017 | 1.442720 | 19.017 | 0.991 |
| Mixture (5) | 6 | 0.813540 | 7.235 | 1.023 | 1.448850 | 19.025 | 0.997 |
| Dense per-value output | 2 | 0.802479 | 7.230 | 0.973 | 1.431710 | 19.019 | 0.987 |
| Dense per-value output | 4 | 0.811784 | 7.472 | 0.996 | 1.435780 | 19.246 | 0.986 |
| Dense per-value output | 6 | 0.840514 | 35.849 | 1.057 | 1.562770 | 47.513 | 1.075 |
Table 14: Complete precision scaling measurements. GiB denotes peak allocated memory, and ratios of update times to those of imputed-label CE are computed within each timing replicate and then averaged.
References
[1] Yash Akhauri, Xingyou Song, Arissa Wongpanich, Bryan Lewandowski, and Mohamed S Abdelfattah. Regression language models for code. arXiv preprint arXiv:2509.26476, 2025.
[2] Davide Baldelli, Sruthi Kuriakose, Maryam Hashemzadeh, Amal Zouaq, and Sarath Chandar. Probabilistic calibration is a trainable capability in language models. arXiv preprint arXiv:2605.11845, 2026.
[3] Pengxiang Cai, Wanchen Lian, Chenyang Liu, Xiaohan Li, Qingyuan Zeng, Jinhong Wang, and Jintai Chen. Path: Next-interval prediction via autoregressive tree hierarchy on tabular data. arXiv preprint arXiv:2608.08078, 2026.
[4] ChEMBL Team. Assay and activity questions. ChEMBL Interface Documentation.
[5] ChEMBL Team. ChEMBL database, release 37. EMBL-EBI, May 2026.
[6] Ming Chen, Sheng Tang, Rong-Xi Tan, Ziniu Li, Jiacheng Chen, Ke Xue, and Chao Qian. Beyond token-level supervision: Unlocking the potential of decoding-based regression via reinforcement learning. arXiv preprint arXiv:2512.06533, 2025.
[7] Xiang Fei, Jinghui Lu, Qi Sun, Hao Feng, Yanjie Wang, Wei Shi, An-Lan Wang, Jingqun Tang, and Can Huang. Advancing sequential numerical prediction in autoregressive models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 562–574, 2025.
[8] Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American statistical Association, 102(477):359–378, 2007.
[9] Nate Gruver, Marc Finzi, Shikai Qiu, and Andrew G Wilson. Large language models are zero-shot time series forecasters. Advances in neural information processing systems, 36:19622–19635, 2023.
[10] Daniel F Heitjan and Donald B Rubin. Ignorability and coarse data. The annals of statistics, pages 2244–2253, 1991.
[11] Rong Jin and Zoubin Ghahramani. Learning with multiple labels. Advances in neural information processing systems, 15, 2002.
[12] Michal Lukasik, Zhao Meng, Harikrishna Narasimhan, Yin-Wen Chang, Aditya Krishna Menon, Felix Yu, and Sanjiv Kumar. Better autoregressive regression with llms via regression-aware fine-tuning. In International Conference on Learning Representations, volume 2025, pages 69871–69901, 2025.
[13] Michal Lukasik, Harikrishna Narasimhan, Aditya Krishna Menon, Felix Yu, and Sanjiv Kumar. Regression aware inference with llms. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 13667–13678, 2024.
[14] Jungsoo Park, Hyungjoo Chae, Ethan Mendes, Jay DeYoung, Varsha Kishore, Wei Xu, and Alan Ritter. Reinforcement learning over predictive distributions for llm regression. arXiv preprint arXiv:2605.20740, 2026.
[15] Julianna Piskorz, Katarzyna Kobalczyk, and Mihaela van der Schaar. Eliciting numerical predictive distributions of llms without autoregression. arXiv preprint arXiv:2603.02913, 2026.
[16] James Requeima, John Bronskill, Dami Choi, Richard E Turner, and David Duvenaud. Llm processes: Numerical predictive distributions conditioned on natural language. Advances in Neural Information Processing Systems, 37:109609–109671, 2024.
[17] Chenze Shao, Fandong Meng, Yijin Liu, and Jie Zhou. Language generation with strictly proper scoring rules. arXiv preprint arXiv:2405.18906, 2024.
[18] Xingyou Song and Dara Bahri. Decoding-based regression. arXiv preprint arXiv:2501.19383, 2025.
[19] Georgios Spithourakis and Sebastian Riedel. Numeracy for language models: Evaluating and improving their ability to predict numbers. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2104–2115, 2018.
[20] Emma Svensson, Hannah Rosa Friesacher, Susanne Winiwarter, Lewis Mervin, Adam Arany, and Ola Engkvist. Enhancing uncertainty quantification in drug discovery with censored regression labels. Artificial Intelligence in the Life Sciences, 7:100128, 2025.
[21] Wesley Tansey, Karl Pichotta, and James G Scott. Deep nonparametric estimation of discrete conditional distributions via smoothed dyadic partitioning. arXiv preprint arXiv:1702.07398, 2017.
[22] Luke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos, and Sumit Sanghai. Arithmetic sampling: parallel diverse decoding for large language models. In International conference on machine learning, pages 35120–35136. PMLR, 2023.
[23] Yishu Wei, Hexin Dong, Yi Lin, Jiahe Qian, Yi Liu, and Yifan Peng. Towards end-to-end llm-based censoring-aware survival analysis. arXiv preprint arXiv:2605.25399, 2026.
[24] Tianqi Xiang, Qixiang Zhang, Xinpeng Ding, Yi Li, and Xiaomeng Li. Cacsurv: Concordance-aligned comparative learning with large language models for cancer survival prediction. arXiv preprint arXiv:2608.16594, 2026.
[25] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
[26] Weiwei Ye, Hangchen Liu, and Renhe Jiang. Numericjev: Jev-like llm numerical decoding with multiway decision trees. arXiv preprint arXiv:2609.28587, 2026.
[27] Jonas Zausinger, Lars Pennig, Anamarija Kozina, Sean Sdahl, Julian Sikora, Adrian Dendorfer, Timofey Kuznetsov, Mohamad Hagog, Nina Wiedemann, Kacper Chlodny, et al. Regress, don't guess-a regression-like loss on number tokens for language models. arXiv preprint arXiv:2411.02083, 2024.
[28] Zhaohui Zheng, Chenhang He, Shihao Wang, Yuxuan Li, Ming-Ming Cheng, and Lei Zhang. Del: Digit entropy loss for numerical learning of large language models. arXiv preprint arXiv:2605.20369, 2026.
[29] Zhuo Zuo, Li Yue, Wenhao Zheng, Chenpeng Wang, and Xianggen Liu. Enhancing numerical prediction in llms via smooth mmd alignment. arXiv preprint arXiv:2606.27731, 2026.