TL;DR
This paper introduces SkSES, a framework that enables secure and private collaborative genomic data analysis, specifically Genome-Wide Association Studies (GWAS), using Intel SGX secure enclaves. SkSES leverages novel sketching data structures to overcome the memory limitations of these enclaves, allowing for efficient querying of significant SNPs even with massive datasets.
What Problem Does This Paper Address?
Collaborative genomic analysis is crucial for advancing our understanding of diseases, but it's severely hampered by privacy concerns. Sharing raw genomic data is often infeasible due to its sensitive nature. Existing privacy-preserving methods, like homomorphic encryption or garbled circuits, are computationally too expensive for the scale of genomic data. While Intel SGX offers a hardware-based solution for secure computation, its limited enclave memory presents a significant bottleneck for processing large genomic datasets. This paper addresses the challenge of performing efficient and privacy-preserving genomic analysis and querying within these memory-constrained secure enclaves.
Methods
SkSES tackles the memory limitation of Intel SGX enclaves through a two-pronged approach:
- Data Filtering and Compression: Before entering the enclave, individual VCF files (Variant Call Format) are filtered to retain only essential information for GWAS (like SNP IDs and zygosity status). This is followed by a novel compression scheme that uses delta encoding and minimal binary representation to significantly reduce data size.
- Sketching Data Structures: To handle the massive number of SNPs that cannot fit into the enclave's memory, SkSES employs sketching algorithms. These algorithms create compact summaries (sketches) of the data that capture key characteristics. Specifically, they adapt count-min sketch and count sketch algorithms to estimate SNP significance (using the chi-squared statistic) with high probability. This allows for efficient identification of top SNPs and supports flexible online querying for subsets of SNPs.
Datasets
The primary dataset used for evaluation was the iDASH-2017 competition dataset. This dataset consisted of:
- 1000 "case" and 1000 "control" VCF files, totaling 2000 individuals.
- The full dataset comprised approximately 6.93 x 10^7 unique SNPs across the whole genome.
- A subset focusing on chromosome 1 was also used, containing 5.51 x 10^6 unique SNPs.
The paper notes that this dataset is representative of real-world scenarios where data might originate from multiple institutions.
Key Insights and Ideas
- Sketching for Genomics is Feasible: The paper demonstrates that sketching algorithms, previously successful in other domains, can be effectively adapted for genomic data analysis within the constraints of secure enclaves.
- SGX Memory is a Key Constraint: The limited memory of Intel SGX enclaves is the primary challenge, necessitating innovative data handling techniques beyond traditional methods.
- F as a Proxy for Chi-Squared Statistic: The research shows that a derived metric, 'F' (related to allele frequency differences between cases and controls), can serve as a reliable proxy for the chi-squared statistic, enabling efficient ranking of SNPs.
- Flexible Online Querying: SkSES's sketching approach allows users to perform online queries for top SNPs within specified subsets, a capability not easily achievable with standard data storage methods in memory-constrained environments.
Key Results
- Significant Compression: The filtering and compression methods achieved approximately a 50-fold improvement in data size compared to plaintext VCF files.
- Performance Advantage: SkSES's sketching algorithms outperformed standard hash table-based methods for SNP analysis on chromosome 1, achieving near 100% accuracy for the top SNPs.
- Scalability: For the whole genome dataset, where standard hash tables are infeasible due to memory limitations, SkSES's sketching data structures handled the increased data size effectively, maintaining good performance for both data structure construction and querying.
- High Accuracy: The sketches demonstrated high accuracy in identifying true top SNPs, with 100% accuracy for the top 100 SNPs in the iDASH-2017 dataset. Accuracy degraded gracefully for larger values of k.
Limitations and Future Work
- SGX Threading Limitations: The paper notes that multi-threading within SGX enclaves is limited by the number of logical processors, which can impact performance scaling.
- Approximation Trade-offs: While sketching provides efficiency, it involves an approximation. The paper discusses the trade-off between sketch size (width and depth) and accuracy, and the potential for "false negatives" (true top SNPs not being returned).
- Future Work: The authors suggest that the framework can be extended to accommodate other statistical methods beyond the chi-squared statistic. They also imply that further optimization of sketching parameters and SGX utilization could lead to even better performance.
Summary updated