Maximum entropy models and subjective interestingness: an application to tiles in binary databases

Tijl De Bie

Introduction

In the field of data mining, algorithms are often victims of their own success. Traditional frequent pattern mining is designed to identify associations that appear often within a dataset. However, in practice, the most frequent patterns are often the least useful because they represent facts already known to the user—such as the classic retail observation that customers who buy bread also buy milk. This creates a gap between "objective" statistical significance and "subjective" interestingness.

This paper addresses this gap by formalizing a framework for subjective interestingness. By using the Maximum Entropy (MaxEnt) principle to model a user’s prior knowledge, the author provides a mathematically rigorous way to identify patterns that are truly informative and surprising, rather than merely frequent.

The Challenge of Prior Knowledge

Most data mining tools lack a mechanism to account for what a user already knows. Previous attempts to solve this problem relied on "swap randomizations," a process of shuffling data while keeping certain marginal totals (row and column sums) constant. By comparing the original data to these randomized versions, researchers could determine if a pattern was a fluke of the data's basic structure.

While conceptually sound, swap randomization is computationally expensive, slow to converge, and lacks a closed-form mathematical expression for interestingness. This research seeks to replace these simulations with an explicit, efficient probabilistic model that can be solved analytically.

The Maximum Entropy Framework

The core of the proposed method is the Maximum Entropy Principle. A MaxEnt distribution is defined as the most random (least biased) probability model that satisfies a specific set of constraints. In the context of a binary database, if we know the average number of items in a transaction (row sums) and the overall popularity of each item (column sums), the MaxEnt model provides the most neutral version of the database that still respects those averages.

Technical Contributions

  1. Analytical Modeling: The paper demonstrates that when constrained by row and column sums, the MaxEnt model factorizes into independent Bernoulli distributions for every cell in the database. This is a significant finding: independence is not an assumption made by the researcher, but rather the natural mathematical result of maximizing entropy under these specific constraints.
  2. Efficient Optimization: The mathematical complexity of optimizing Lagrange multipliers is mitigated by grouping rows and columns with identical sums, allowing the model to scale to large datasets.

Quantifying Interestingness: The Compression Ratio

To rank patterns, the paper introduces a new measure of interestingness based on information theory. It defines a pattern's value through a "Compression Ratio," calculated as:

Interestingness = Self-Information / Description Length

  • Self-Information (Surprise): This measures how unlikely or surprising a pattern is given the MaxEnt model (the user's prior knowledge).
  • Description Length (Complexity): This measures how much information is required to describe the pattern (e.g., the size of the "tile" or cluster).

This ratio identifies patterns that provide the "most bang for your buck"—offering significant new information while remaining simple enough to be interpretable.

Experimental Evaluation

The framework was tested against ten diverse datasets, ranging from standard retail benchmarks (Retail, Pumsb) to textual databases derived from research abstracts (ICDM, KDD, and Pubmed).

Key Results

  • Computational Efficiency: The MaxEnt approach proved to be significantly faster than traditional swap randomization, showing a 5 to 15-fold increase in efficiency for generating single samples and up to a 30-fold increase for multiple samples.
  • Pattern Quality: In textual datasets, the MaxEnt method successfully filtered out "obvious" but uninformative patterns. In a database of research abstracts, long documents naturally contain more words, and common words (like "data") appear frequently. By incorporating these as prior constraints, the model ignored these trivialities and instead identified meaningful topical clusters such as "support vector machine" or "gene expression."
  • Sensitivity: In tests involving "planted" patterns (artificially embedded data structures), the MaxEnt-based compression ratio consistently ranked these hidden tiles at the top of the results, outperforming baseline frequency-based methods.

Limitations and Future Directions

A primary distinction of this model is that it preserves row and column sums in expectation (on average), whereas swap randomization preserves them exactly. While the author provides methods to bridge this gap, it remains a theoretical trade-off for the sake of computational speed.

Future research directions include:

  • Incorporating more complex prior knowledge, such as variance within rows or existing cluster structures.
  • Extending the framework to relational databases and categorical data.
  • Applying the model to real-valued data using Gaussian distributions.

Conclusion

By shifting the focus from objective frequency to subjective surprise, this research provides a robust tool for data scientists to find the "signal" in the "noise." The MaxEnt framework allows us to mathematically define what makes a pattern interesting, ensuring that data mining results are not just statistically valid, but genuinely informative to the end user.

Summary updated

BibTeX
@inproceedings{bie2011maximum,
  author = {Tijl De Bie},
  title = {{Maximum entropy models and subjective interestingness: an application to tiles in binary databases}},
  booktitle = {Data Min. Knowl. Discov},
  year = {2011},
  url = {https://openreview.net/forum?id=rtODwsWenZ},
}
Figure