NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Estimating probabilities for unbounded categorization problems

James Henderson

Introduction

In traditional classification tasks, models are trained to map inputs to a fixed, predefined set of labels. However, many real-world applications, particularly in natural language processing (NLP), involve "unbounded" categorization. In these scenarios, the number of potential categories is not fixed but varies with the input. A classic example is syntactic parsing, where a model must determine which previous word in a sentence is the "parent" of the current word. As the sentence length increases, the pool of potential parents grows, creating a dynamic and unbounded set of choices.

The Limitation of Sequential Approaches

Historically, unbounded categorization was addressed by decomposing the problem into a sequence of binary decisions using the chain rule. For instance, to select one of $n$ categories, a model would ask: "Is it the first category? If not, is it the second?" and so on.

This sequential approach introduces a significant "smoothing bias." Neural networks often slightly overestimate small probabilities due to regularization and smoothing techniques. In a long sequence of binary decisions, these small overestimations accumulate. By the time the model reaches the end of the list, the remaining probability mass is exhausted, effectively "starving" later categories. This results in a strong positional bias toward earlier choices, regardless of their semantic relevance.

Proposed Methodology: Unbounded Activation Functions

To overcome the biases of sequential modeling, this work proposes estimating probabilities for all potential categories simultaneously. This requires activation functions capable of handling a variable number of outputs.

1. Unbounded Logistic Sigmoid

The author derives an unbounded version of the sigmoid function by accounting for the number of categories $n$. The resulting function is shifted by $\ln(n-1)$, which ensures that the total probability across all categories remains properly scaled as $n$ changes. This shift counteracts the tendency of standard sigmoids to produce inconsistent total probabilities when the output set size varies.

2. Unbounded Softmax

The unbounded softmax generalizes the standard softmax function. It is built on a "weaker" independence assumption: that the hidden patterns within a recurrent network are sufficient to estimate a category's probability and are conditionally independent given the correct category. This allows the model to produce a valid probability distribution over an arbitrary number of choices without a fixed-size output layer.

Experimental Setup

The proposed methods were evaluated on a probabilistic parsing task using a corpus of 26,480 words. The models were implemented using Simple Synchrony Networks (SSNs), a specialized recurrent architecture designed for relational structures. The performance of the Unbounded Sigmoid and Unbounded Softmax was compared against a standard "Sequence" baseline (the chain-rule approach) and an unsmoothed probabilistic context-free grammar (PCFG).

Results and Discussion

The experimental results demonstrate that the proposed unbounded functions significantly outperform the traditional sequential method across all primary metrics: Recall (Rec), Precision (Prec), and the F-score ($F_{\beta=1}$).

Comparative performance of sequential and unbounded activation functions across training, cross-validation, and testing sets.

As shown in the table above, the Unbounded Sigmoid achieved the best generalization on the test set, yielding an F-score of 65.8%, which represents a roughly 6.5% absolute improvement over the Sequence baseline (59.3%). While the Unbounded Softmax performed slightly better on the training data (72.3% vs 70.7%), its performance on the test set (64.5%) was comparable to the Unbounded Sigmoid. The substantial gain over the baseline confirms that simultaneous estimation effectively mitigates the positional bias inherent in sequential models.

Conclusion

This paper introduces a robust framework for handling unbounded categorization problems by moving away from biased sequential decision-making. By deriving activation functions that explicitly account for varying category counts, the proposed methods achieve superior performance in complex tasks like language parsing. While the current evaluation relies on specific independence assumptions and a relatively small dataset, the mathematical foundations provide a promising direction for scaling neural models to more dynamic and open-ended classification environments. Future work should explore the application of these functions to modern architectures like LSTMs and Transformers on larger-scale corpora.

Summary updated

BibTeX
@inproceedings{henderson2002estimating,
  author = {James Henderson},
  title = {{Estimating probabilities for unbounded categorization problems}},
  booktitle = {Esann},
  year = {2002},
}
Figure