Imagine running a retail store. You stock 10 units of a popular jacket, and by noon, they are completely sold out. How many jackets should you stock tomorrow? Your sales database records exactly 10 transactions. However, it completely hides the true demand: did 12 people want to buy the jacket, or did 50? Because your inventory hit zero, any demand beyond your supply is invisible.
Now imagine you are an advertiser bidding in an automated digital ad auction. You submit a bid of \$1.00 and lose. The ad exchange tells you that you lost, but it does not reveal the winning price. All you know is that the market price was higher than \$1.00. It could have been \$1.01, or it could have been \$10.00.
In both scenarios, the data is right-censored. We do not observe the exact value of our target variable (true consumer demand or true market price); we only observe a lower bound. Standard machine learning algorithms assume fully observed, representative data. When applied to censored market data, they suffer from severe selection bias and fail.
The Selection Bias Trap
If you train a model using only fully observed data—such as historical sales when items remained in stock, or auctions that you successfully won—your model develops a warped view of the market.
In ad auctions, if you only train a market price predictor on won auctions, the model will systematically underestimate the true competitive landscape. It never learns from the high-priced auctions it lost, leading to suboptimal bidding strategies that fail to win high-value impressions (Weinan Zhang et al.; Tengyun Wang et al.). Conversely, in supply chains, ignoring stockout periods causes firms to consistently under-order, creating a vicious cycle of supply shortages (Mengxiao Zhang et al.).
To build an unbiased model, we cannot simply discard the lost auctions or the stockout days. We must learn from what didn't happen.
The Core Mechanism: Learning from Inequalities
How do we train a model when half of our labels are just inequalities (e.g., $\text{Market Price} > \text{Bid}$)? The key insight is to shift from predicting a single point value to modeling a probability distribution and optimizing a censored likelihood function.
In a standard regression task, we minimize the squared error between the prediction and the true value. In censored regression, we split the loss function into two parts based on whether the data point is fully observed or censored:
- For observed data (e.g., a won auction at price $x$): We maximize the probability density function (PDF) $f(x; \theta)$ of our model parameters $\theta$. This forces the model to match the exact price.
- For censored data (e.g., a lost auction with bid $b$): We cannot use the PDF because we don't know the exact price. Instead, we maximize the Survival Function $S(b; \theta) = P(X > b) = 1 - F(b; \theta)$, where $F$ is the Cumulative Distribution Function (CDF). This tells the model: We don't know where the true price is, but make sure the probability of it being higher than $b$ matches reality.
Observed Value (Won Auction / In-Stock Sales)
|-----------------------● (Exact Value Known) -> Optimize PDF f(x)
Censored Value (Lost Auction / Stockout)
|-----------------------|===================> (Value is somewhere in this range) -> Optimize Survival Function 1 - F(b)
Bid/Stock (b)
By combining these two objectives into a single loss function, models can extract valuable gradients even from failures (lost auctions or stockouts).
Evolving Architectures in Real-Time Bidding
The transition from classical survival analysis to deep learning has enabled highly flexible modeling of these market dynamics. Early approaches adapted classical survival models, such as Aalen's Additive Model, to dynamically optimize reserve prices for web publishers by learning from hidden bid values (Chahuara et al.).
However, real-world bid landscapes are often complex and multi-modal. To capture this, Ghosh et al. proposed MCNet (Mixture Density Censored Network), which combines Mixture Density Networks with censored regression to output a mixture of Gaussians while properly accounting for right-censored lost bids. Similarly, Ren et al. developed Deep Landscape Forecasting (DLF), utilizing a recurrent neural network with a customized dual-loss function to forecast the full probability distribution of market prices without rigid parametric assumptions.
This accurate landscape modeling directly impacts downstream bidding strategies, such as "bid shading"—the practice of lowering a bid below one's true valuation in first-price auctions to maximize surplus. When auction platforms hide the final winning price from losers, bid shading models must be trained under strict censorship constraints (Tian Zhou et al.; Xu et al.).
Uncovering Hidden Demand in Supply Chains
The same mathematical principles apply when recovering unobserved consumer demand. When a product goes out of stock, customers don't just disappear; they often substitute it with a similar item or leave without a trace.
To reconstruct this hidden intent, Letham et al. developed a Bayesian hierarchical model that infers true arrival rates and substitution patterns from sales data during stockout periods. Rather than treating stockouts as missing data, the model treats them as censored observations that bound the true arrival rate.
Taking this a step further, the authors of Diffusion-aware Censored Gaussian Processes for Demand Modelling integrated graph-based diffusion with censored Gaussian processes. This allows the model to explicitly track how unsatisfied demand "spills over" to alternative products when capacity is exhausted, mapping the latent consumer intent across an entire product catalog.
Whether optimizing an inventory or bidding for an advertisement, treating missing or losing outcomes as hard walls leads to biased, inefficient systems. By reframing these missing outcomes as censored data points—inequalities that constrain our probability distributions—modern machine learning frameworks can map the entire market landscape, learning just as much from what didn't happen as from what did.
Key Foundational Work
Learning Environmental Parameters for the Design of Optimal English Auctions with Discrete Bid Levels (2005) — contributed 1 concept elements to this direction.
Analysis of Perishable-Inventory Systems with Censored Demand Data (2008) — contributed 1 concept elements to this direction.