AAAI 2020
Constructing Minimal Perfect Hash Functions Using SAT Technology
Abstract
Minimal perfect hash functions (MPHFs) are used to provide efficient access to values of large dictionaries (sets of keyvalue pairs). Discovering new algorithms for building MPHFs is an area of active research, especially from the perspective of storage efficiency. The information-theoretic limit for MPHFs is 1 ln 2 ≈ 1. 44 bits per key. The current best practical algorithms range between 2 and 4 bits per key. In this article, we propose two SAT-based constructions of MPHFs. Our first construction yields MPHFs near the informationtheoretic limit. For this construction, current state-of-the-art SAT solvers can handle instances where the dictionaries contain up to 40 elements, thereby outperforming the existing (brute-force) methods. Our second construction uses XOR- SAT filters to realize a practical approach with long-term storage of approximately 1. 83 bits per key.
Authors
Keywords
No keywords are indexed for this paper.
Context
- Venue
- AAAI Conference on Artificial Intelligence
- Archive span
- 1980-2026
- Indexed papers
- 28718
- Paper id
- 43360027379021040