[Paper Review] Diet Networks: Thin Parameters for Fat Genomics
This paper introduces Diet Networks, a novel neural network parametrization that drastically reduces the number of free parameters in deep learning models for high-dimensional genomic data—specifically single nucleotide polymorphisms (SNPs). By learning feature-specific parameter embeddings via a parameter prediction network, the method achieves state-of-the-art performance on ancestry prediction with 15.8k parameters and a misclassification error of 7.44%, outperforming standard deep networks and PCA-based approaches.
Learning tasks such as those involving genomic data often poses a serious challenge: the number of input features can be orders of magnitude larger than the number of training examples, making it difficult to avoid overfitting, even when using the known regularization techniques. We focus here on tasks in which the input is a description of the genetic variation specific to a patient, the single nucleotide polymorphisms (SNPs), yielding millions of ternary inputs. Improving the ability of deep learning to handle such datasets could have an important impact in precision medicine, where high-dimensional data regarding a particular patient is used to make predictions of interest. Even though the amount of data for such tasks is increasing, this mismatch between the number of examples and the number of inputs remains a concern. Naive implementations of classifier neural networks involve a huge number of free parameters in their first layer: each input feature is associated with as many parameters as there are hidden units. We propose a novel neural network parametrization which considerably reduces the number of free parameters. It is based on the idea that we can first learn or provide a distributed representation for each input feature (e.g. for each position in the genome where variations are observed), and then learn (with another neural network called the parameter prediction network) how to map a feature's distributed representation to the vector of parameters specific to that feature in the classifier neural network (the weights which link the value of the feature to each of the hidden units). We show experimentally on a population stratification task of interest to medical studies that the proposed approach can significantly reduce both the number of parameters and the error rate of the classifier.
Motivation & Objective
- Address the challenge of overfitting in deep learning when training examples are vastly outnumbered by high-dimensional genomic inputs, such as millions of SNPs.
- Reduce the number of free parameters in neural network classifiers, especially in the first dense layer, which scales with input feature count.
- Improve generalization and predictive performance on population stratification tasks using SNP data, a key challenge in genetic association studies.
- Develop a parameter-efficient architecture suitable for precision medicine applications where data is high-dimensional but sample sizes remain limited.
Proposed method
- Propose a reparametrization of fully connected layers using a parameter prediction network that generates weights for each input feature based on its embedded representation.
- Use a shared embedding layer to encode each SNP (feature) into a distributed vector, independent of its value (e.g., AA, AG, GG), reducing parameter explosion.
- Train the parameter prediction network to map each SNP’s embedding to the corresponding weight vector connecting that feature to all hidden units in the classifier.
- Introduce a multi-task learning formulation where each feature’s parameter generation is a separate but shared prediction task.
- Apply the method to a population ancestry prediction task using the 1000 Genomes dataset, comparing performance across various embedding strategies and baselines.
- Use reconstruction loss and end-to-end training to improve embedding quality and generalization, especially when combined with feature embeddings.
Experimental results
Research questions
- RQ1Can a parameter-efficient neural network architecture reduce overfitting in deep learning models trained on high-dimensional genomic data with limited samples?
- RQ2How does the proposed Diet Network parametrization compare to standard deep networks and PCA-based dimensionality reduction in ancestry prediction accuracy?
- RQ3To what extent can pre-trained or learned feature embeddings (e.g., SNP2Vec, per-class histograms) reduce the number of free parameters while maintaining or improving performance?
- RQ4Does the use of a parameter prediction network that generates feature-specific weights from embeddings lead to better generalization than standard fully connected layers?
- RQ5Can this method be effectively applied to real-world precision medicine tasks such as population stratification and genetic association studies?
Key findings
- The Diet Network with per-class histogram embeddings achieved the lowest mean misclassification error of 7.44% ± 0.45, outperforming all other models and PCA baselines.
- The method reduced the number of free parameters to just 15.8k, a 99.95% reduction compared to the standard 31.5M-parameter model.
- The best-performing model (per-class histograms) achieved nearly 100% accuracy when predicting ancestry at the 5-geographic-region level, indicating strong generalization.
- PCA-based methods required 200 principal components to match the performance of the Diet Network with 15.8k parameters, highlighting the inefficiency of linear dimensionality reduction.
- Adding hidden layers to the classifier did not improve performance, suggesting that the parameter-efficient architecture captures sufficient representational capacity.
- The model with reconstruction loss and per-class histogram embeddings achieved 7.44% error, demonstrating that joint optimization of embeddings and parameter prediction improves robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.