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

OLAP-based query recommendation

Carlos Garcia-Alvarado, Zhibo Chen, Carlos Ordońẽz2010

TL;DR

This paper introduces an online OLAP-based algorithm for generating query suggestions without prior knowledge of the data collection. It leverages keyword frequencies and correlations within documents to suggest relevant refinements, demonstrating that OLAP offers a stable and flexible approach, especially when combined with sampling for improved performance on large datasets.

What Problem Does This Paper Address?

Finding relevant information in large digital collections can be challenging, especially for users who are not familiar with the collection's nuances. Query recommendation systems aim to alleviate this by suggesting related queries that can help users refine their searches and discover information more efficiently. Traditional query recommendation methods often rely on analyzing historical query logs, which requires prior knowledge of user behavior. This paper tackles the problem of "unbiased query suggestion" – providing recommendations without relying on pre-existing query logs. The challenge lies in efficiently analyzing vast amounts of data to identify meaningful keyword relationships and generate relevant suggestions in real-time, especially when dealing with large document collections.

Methods

The core of this paper is an online OLAP (On-Line Analytical Processing) algorithm designed for query recommendation. Instead of pre-computing all possible keyword combinations, this algorithm builds data cubes on-the-fly to store keyword frequencies. It then uses these cubes to generate suggestions based on:

  • Keyword Frequency: How often keywords appear together in documents.
  • Keyword Correlation: The statistical relationship between keywords within the collection.

The authors also propose three methods for validating and ranking these recommendations:

  1. Single Match: Ranks combinations based on the minimum frequency of any term in the combination within a document.
  2. Distance Match: Considers the proximity of keywords within a document, ranking combinations that appear closer together higher.
  3. Correlation Method: Leverages the pre-computed correlation between keywords and the initial query to rank suggestions, which the authors found to be the most accurate.

To further enhance performance on large collections, the paper explores sampling. By analyzing a subset of documents (with replacement), they aim to achieve good accuracy with significantly reduced computation time.

The proposed OLAP algorithm is compared against the well-known Apriori algorithm, a standard for association rule mining, to highlight its advantages and disadvantages.

Datasets

The experiments were conducted on four collections:

  • ACM Digital Library: A subset.
  • NYTIMES: Obtained from the UCI Repository.
  • PUBMED: Obtained from the UCI Repository.
  • Texas Water Well Data Set (TWWD): Used specifically for validating the quality of the recommendations.

No new benchmarks were introduced; existing collections were used for evaluation.

Key Insights and Ideas

  • OLAP for Unbiased Suggestions: OLAP's ability to build data cubes dynamically makes it a suitable tool for generating query suggestions without relying on historical query logs.
  • Correlation is Key for Accuracy: The correlation-based ranking method proved to be the most effective in generating accurate and relevant query suggestions, often closely matching the user's initial intent.
  • Sampling as a Performance Booster: Sampling significantly reduces computation time without a substantial loss in the quality or relevance of the suggested queries, making it a practical approach for large datasets.
  • OLAP's Stability: While Apriori can be faster in specific scenarios, OLAP demonstrates more stable performance across different collection sizes and offers greater flexibility for complex aggregation and term combination policies.

Key Results

  • The online OLAP algorithm was found to be faster than Apriori for simple computations on smaller collections.
  • OLAP showed more stable performance across collections of varying sizes.
  • The correlation method for ranking recommendations yielded the most accurate results, providing suggestions that were generally closer to the initial query than single match or distance methods.
  • Sampling significantly improved performance (reduced execution time) without a significant degradation in the accuracy or relevance of the suggested queries.
  • Even with a few iterations of sampling, high accuracy could be achieved, suggesting bootstrapping as a viable alternative for reducing processing time.

Limitations and Future Work

  • Apriori vs. OLAP Trade-offs: The paper notes that Apriori can be faster when data can be quickly extracted and managed in memory, especially for smaller datasets. OLAP is favored for more complex computations.
  • Sampling Accuracy: While sampling improves performance, the paper acknowledges the need to further study its effect on accuracy and explore different sampling techniques.
  • Future Directions: The authors suggest comparing their system against other query recommender systems, exploring policies for finding keyword occurrences, incorporating prior knowledge (like ontologies) into query suggestion, and investigating different sampling techniques.

Summary updated

BibTeX
@misc{garciaalvarado2010olap,
  author = {Carlos Garcia-Alvarado and Zhibo Chen and Carlos Ordońẽz},
  title = {{OLAP-based query recommendation}},
  year = {2010},
  doi = {10.1145/1871437.1871619},
}

Loading related content...

Figure