﻿# TabPFN regression outputs: means, medians, quantiles and full distributions need explicit consumers

Integrate TabPFN regression by preserving the selected distribution summary, per-quantile output layout and target transformation instead of treating every result as one prediction vector.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-tabpfn-regression-distribution-summary-quantile-output-layout/
Language: en

## Choose the output statistic deliberately

TabPFN regression can return a mean, median, mode, requested quantiles or a more detailed output object. The [regressor implementation](https://raw.githubusercontent.com/PriorLabs/TabPFN/main/src/tabpfn/regressor.py) defines these choices. They answer different numerical questions. A consumer expecting one scalar per row should specify its intended statistic rather than accept whichever default happens to be configured, particularly when comparing a new adapter with an existing system on asymmetric target distributions.

## Preserve the distribution representation

The regressor transforms model logits from its numerical binning representation into target-space summaries. Raw logits are not themselves values in the application's target unit, and their positions need the corresponding distribution criterion and borders. The [project guide](https://raw.githubusercontent.com/PriorLabs/TabPFN/main/README.md) distinguishes ordinary prediction from detailed outputs. If exporting a full distribution, carry its defining metadata rather than storing an unlabeled array whose channels a later process cannot interpret.

## Keep target transformations in the release contract

The [inference configuration](https://raw.githubusercontent.com/PriorLabs/TabPFN/main/src/tabpfn/inference_config.py) includes regression-target preparation settings, while the regressor handles their compatibility and reconstruction. A nonlinear target transform cannot be treated as an arbitrary display operation around every possible summary. Use the supported target-space output path and preserve fitted state. The correct unit and chosen statistical summary must both match before a model comparison interprets a changed point estimate as improved regression quality.

## Label quantile outputs by level and row

The documented quantile output can be a list of prediction arrays, with each array corresponding to a requested quantile and preserving input-row order. It is not automatically the same layout as a forecasting tensor containing horizon and quantile axes. The [Chronos output-contract guide](/journal/fg2-chronos-samples-quantile-axis-point-forecast-contract/) provides a useful contrast. Keep requested levels and row identities together so a transpose or concatenation cannot silently attach an interval boundary to the wrong example.

## Validate summaries separately from calibration

Check a known output fixture for return type, row alignment, requested quantile order and the intended point statistic. Then measure error and interval coverage on independent targets. The [TabPFN fit-state guide](/journal/fg2-tabpfn-standard-fit-context-state-versus-weight-training/) supplies preparation context. A correctly integrated quantile interface does not establish calibrated uncertainty on a new domain. A reliable report separates statistical meaning, numerical interface fidelity and the task evidence supporting the chosen regression summary or uncertainty interval.
