Elastic net regression: the statistics behind epigenetic clocks

Prepared by: Research Desk

Prepared by: Research Desk. Sources are linked for verification.

An epigenetic age looks like a measurement, but it is a prediction from a statistical model. Many well-known clocks share one modelling approach: elastic net regression, a form of penalized linear regression. Understanding the method explains why two clocks built on the same methylation data can disagree, why the training target matters more than the brand name, and why a lower error score does not automatically make a better aging biomarker. For the wider picture, see our biological age test guide.

The core problem: many more CpG sites than samples

A methylation dataset is wide and short. A 2022 methods paper notes that DNA methylation data typically contain hundreds of thousands of features but far fewer biological samples, which leads to overfitting and poor generalization if models are fitted naively [1]. Sequencing can make the imbalance more extreme: one 2025 animal study profiled 53 million CpG sites by enzymatic methyl-seq in 96 dairy cows [2].

When features outnumber samples, ordinary least-squares regression has no unique solution and can fit the training data perfectly while learning noise. Clock builders need a method that picks a small set of informative CpG sites and keeps their weights stable. The basics of methylation are covered in how epigenetic clocks work.

What elastic net actually does

Elastic net fits a linear model but adds a penalty on the size of the coefficients. The penalty blends two components:

  • The L1 (lasso) penalty pushes many coefficients to exactly zero, acting as automatic CpG selection.

  • The L2 (ridge) penalty shrinks coefficients smoothly, spreading weight across groups of correlated sites instead of picking one arbitrarily.

Two tuning settings, the overall penalty strength and the L1/L2 mix, are usually chosen by cross-validation inside the training data. The finished clock is an intercept plus a weighted sum of methylation values at the selected CpGs, sometimes followed by a transformation onto an age scale. It is fast to compute, transparent about which sites it uses, and easy to apply to new samples on the same platform; the methylation arrays page covers those platforms.

The training target defines the clock

The same algorithm produces very different clocks depending on what it is trained to predict:

Clock or score

Training target

Model reported

Source

Horvath multi-tissue clock

Chronological age across tissues

Linear methylation formula

[3], [1]

Japanese sex-specific clocks

Chronological age (first-generation)

Elastic net

[4]

PhenoAge (epigenetic)

Biomarker of aging linked to lifespan and healthspan

Methylation biomarker

[5]

GrimAge

Lifespan and healthspan prediction

Methylation biomarker

[6]

DunedinPoAm

Pace of decline in 18 biomarkers

Elastic net

[7]

DNAmEMRAge / OMICmAge

Mortality-risk measure from medical-record labs

Elastic net

[9]

ProteinScores

Incident disease and mortality

Penalized Cox regression

[10]

For DunedinPoAm, researchers modelled change over 12 years in 18 organ-system biomarkers in 954 members of the Dunedin Study born in 1972-1973, turning rates of change between ages 26 and 38 into a "Pace-of-Aging" score. Elastic net was then used to predict that score from blood methylation [7]. The same group later published DunedinPACE [8]; see DunedinPACE explained.

OMICmAge took a different route. Its developers built EMRAge from routine clinical laboratory data on about 31,000 Mass General Brigham Biobank participants, then modelled it with elastic net from methylation and multi-omics data, using a discovery cohort of 3,451 and validation cohorts of 14,213 (TruDiagnostic) and 18,672 (Generation Scotland) [9]. The same penalized logic extends beyond methylation: a UK Biobank study of 47,600 people used penalized Cox regression on Olink protein levels to build disease scores [10].

"Elastic net clock" describes the fitting method, not what the number means. Meaning comes from the target, which is why GrimAge and a chronological-age clock can rank the same person differently.

Training, validation and test splits

Published accuracy is only as good as the data it was checked on. Studies generally report three layers:

  1. Cross-validation inside the training set, used to tune the penalty.

  2. A held-out test set the model never saw. In the UK Biobank work, scores were applied to test sets before performance was reported [10].

  3. External cohorts from different populations or labs. DunedinPoAm was validated in other cohort studies and the CALERIE trial [7]; OMICmAge reported separate discovery and validation cohorts [9].

Error is usually summarized as mean absolute error (MAE) or correlation with the target. The cow study, a cross-sectional animal study of 96 animals aged 2 to 9 years, reported an MAE of 111 days and r = 0.97 with chronological age [2]. Such figures depend on the age range sampled and on whether they come from held-out data, so they cannot be set side by side across species or studies.

What the penalty does not fix

  • Selected sites are not unique. Correlated CpGs can substitute for one another, so a different training sample can yield a different site list with similar accuracy.

  • Optimization can trade away interpretability. A 2025 paper argues that machine-learning clocks favour transformations that make prediction linear even if they erase natural biological patterns, describes "incoherence" where features that rise and fall with aging both receive positive weights, and notes that clocks struggle to detect inflammaging [11].

  • Single-site noise propagates. Small technical errors at individual CpGs add up across the weighted sum, a theme in epigenetic clock reliability and the motivation for principal-component clocks.

Neural networks and nonlinear clocks

A 2022 study proposed a Correlation Pre-Filtered Neural Network (CPFNN), which uses Spearman correlation to narrow CpG inputs before they reach the network. Against Horvath's and Hannum's linear formulas, neural networks with lasso and elastic net regularization, and dropout networks, CPFNN reported an MAE of 2.7 years, at least 1 year lower than the other models. The study also tested associations of the resulting epigenetic age with schizophrenia (p = 0.024) and Down syndrome [1].

Two cautions apply. The pre-filtering step shows that neural networks still need feature reduction when samples are scarce [1]. And lower error against chronological age is not the same as a better measure of biological aging: a model can predict age well and still capture little meaningful biology [11].

How consumer clock reports are regulated

Most consumer epigenetic age reports are laboratory-developed tests (LDTs), meaning tests designed, manufactured and used within a single laboratory [12]. FDA's rule extending device oversight to LDTs was vacated, and FDA published a notice implementing that vacatur on 19 September 2025 [13]. Laboratories running such tests fall under CLIA, the federal program for laboratory quality standards administered by CMS [14]. CLIA concerns how a lab performs testing; it does not establish what a clock score means biologically. More detail is on are biological age tests FDA approved?

Statistical questions to ask of an epigenetic age test

The statistics above translate into concrete questions when evaluating commercial epigenetic age tests:

  • Named clocks and targets: does the report state which clocks it computes and what each was trained to predict (chronological age, mortality risk, pace of change)?

  • Published validation: are the underlying models described in peer-reviewed papers with held-out and external cohorts? OMICmAge, for example, lists a TruDiagnostic validation cohort of 14,213 [9].

  • Version and platform: does the report name the clock version and methylation platform used?

  • Retest data: does the lab publish technical replicate or repeat-sample results?

  • Price transparency: is the full price stated up front, including subscriptions and repeat kits?

  • Data privacy: can raw methylation data be downloaded or deleted, and is research reuse opt-in?

Further reading: choosing a biostatistics book

A solid statistics text makes clock papers far easier to read critically. Useful features: chapters on lasso, ridge and elastic net, cross-validation, and high-dimensional data; coverage of penalized Cox regression, which underlies mortality-trained scores; reproducible R or Python examples on public datasets; and a recent edition with a clear list price.

Frequently asked questions

Is elastic net the same as an epigenetic clock?

No. Elastic net is the fitting method. The clock is the resulting set of CpG sites and weights, trained against a chosen target such as chronological age or a pace-of-aging score [7].

Why not use all CpG sites?

With far more features than samples, an unpenalized model overfits and generalizes poorly [1]. The penalty keeps a limited, weighted subset of sites.

Are neural-network clocks more accurate?

One study reported a lower MAE for a pre-filtered neural network than for linear formulas [1]. Accuracy against chronological age, however, does not establish biological meaning [11].

Does a low MAE mean a clock is reliable over repeat tests?

Not necessarily. MAE describes agreement with the training target across a cohort, while retest stability is a separate property that has to be measured directly. Our sourcing approach is described on the about page.

Related on this site

Last updated: 13 November 2026.

Not medical advice. This page reports published research and regulatory records for information only.

Research-only notice: Content on this site is provided for research and educational purposes only and is not intended for human use. It is not medical advice.

Translation notice: Some content on this site may have been machine-translated using Google Translate and may contain errors.

Sources

  1. Li L et al. Age Prediction by DNA Methylation in Neural Networks. IEEE/ACM Trans Comput Biol Bioinform. 2022. PMID 34048347

  2. Bouzeraa L et al. Changes in nuclear and mitochondrial DNA methylation in cow blood associated with age and disease. Epigenetics. 2025. PMID 41355493

  3. Horvath S. DNA methylation age of human tissues and cell types. Genome Biol. 2013. PMID 24138928

  4. Komaki S et al. Epigenetic profile of Japanese supercentenarians: a cross-sectional study. Lancet Healthy Longev. 2023. PMID 36738748

  5. Levine ME, et al. An epigenetic biomarker of aging for lifespan and healthspan. Aging (Albany NY). 2018. PMID 29676998

  6. Lu AT, et al. DNA methylation GrimAge strongly predicts lifespan and healthspan. Aging (Albany NY). 2019. PMID 30669119

  7. Belsky DW et al. Quantification of the pace of biological aging in humans through a blood test, the DunedinPoAm DNA methylation algorithm. Elife. 2020. PMID 32367804

  8. Belsky DW, et al. DunedinPACE, a DNA methylation biomarker of the pace of aging. Elife. 2022. PMID 35029144

  9. Chen Q et al. OMICmAge quantifies biological age by integrating multi-omics with electronic medical records. Nat Aging. 2026. PMID 41741793

  10. Gadd DA et al. Blood protein assessment of leading incident diseases and mortality in the UK Biobank. Nat Aging. 2024. PMID 38987645

  11. Mei X et al. Misalignment of age clocks. Geroscience. 2025. PMID 40560445

  12. U.S. FDA. Laboratory Developed Tests

  13. Federal Register. Medical Devices; Laboratory Developed Tests: Implementation of Vacatur (19 Sept 2025)

  14. Centers for Medicare & Medicaid Services. Clinical Laboratory Improvement Amendments (CLIA)

Research-only notice: Content on this site is provided for research and educational purposes only and is not intended for human use. It is not medical advice.

Translation notice: Some content on this site may have been machine-translated using Google Translate and may contain errors.