Discovering Similarity Inclusion Dependencies
Youri Kaminsky, Eduardo H. M. Pena, Felix Naumann
Abstract
Inclusion dependencies (INDs) are a well-known type of data dependency, specifying that the values of one column are contained in those of another column. INDs can be used for various purposes, such as foreign-key candidate selection or join partner discovery. The traditional notion of INDs is based on clean data, where the dependencies hold without exceptions. Unfortunately, data often contain errors, preventing otherwise valid INDs from being discovered. A typical response to this problem is to relax the dependency definition using a similarity measure to account for minor data errors, such as typos or different formatting. While this relaxation is known for functional dependencies, for inclusion dependencies no such relaxation has been defined. We formally introduce similarity inclusion dependencies, which relax the inclusion by demanding the existence only of sufficiently similar values. Similarity inclusion dependencies can fulfill traditional IND use cases, such as foreign-key candidate discovery, even in the presence of dirty data. We present Sawfish, the first algorithm to discover all similarity inclusion dependencies in a given dataset efficiently. Our algorithm combines approaches for the discovery of traditional INDs and string similarity joins with a novel sliding-window approach and lazy candidate validation. Our experimental evaluation shows that Sawfish can outperform a baseline by a factor of up to 6.5.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Efficient Differential Dependency DiscoveryShulei Kuang, Honghui Yang, Zijing Tan, Shuai MaVLDB 2024 · 4 citations
- Determining the Largest Overlap between TablesLuca Zecchini, Tobias Bleifuß, Giovanni Simonini, Sonia Bergamaschi et al.SIGMOD 2024 · 3 citations
- Meaningful Data Erasure in the Presence of DependenciesVishal Chakraborty, Youri Kaminsky, Sharad Mehrotra, Felix Naumann et al.VLDB 2025
- Discovering Approximate Inclusion DependenciesQingdong Su, Zhikang Wang, Zijing Tan, Shuai MaVLDB 2025
Builds on1
Related papers
- Efficient Discovery of Relaxed Functional DependenciesMengran Li, Zijing Tan, Honghui Yang, Shuai MaVLDB 2025
- Approximate Order Dependency DiscoveryYifeng Jin, Zijing Tan, Weijun Zeng, Shuai MaICDE 2021 · 7 citations
- DAFDiscover: Robust Mining Algorithm for Dynamic Approximate Functional Dependencies on Dirty DataXiaoou Ding, Yixing Lu, Hongzhi Wang, Chen Wang et al.VLDB 2024 · 4 citations
- IndiBits: Incremental Discovery of Relaxed Functional Dependencies using Bitwise SimilarityBernardo Breve, Loredana Caruccio, Stefano Cirillo, Vincenzo Deufemia et al.ICDE 2023 · 7 citations
- Improving Data Imputation Through a Tuned Strategy for Dependency DiscoveryBernardo Breve, Loredana Caruccio, Tullio Pizzuti, Giuseppe PoleseICDE 2026
