# The Benefits of Temporal Correlations: SGD Efficiently Learns k-Juntas from Random Walks

*Elisabetta Cornacchia, Dan Mikulincer, Elchanan Mossel*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153508) · [OpenReview](https://openreview.net/forum?id=KoUxx7CIP5) · [Open on the map](../papers.html#p153508)

Category: [Optimization & Federated Learning](../pcat/13.md) › [Large-Scale Optimization Theory](../pgroup/410.md) · Type: theory · Keywords: temporal correlations, sparse learning, gradient-based methods, sample complexity, random walk data

## Summary
The paper shows that temporal correlations in data generated by a lazy random walk enable a two-layer ReLU network trained with a gradient-based method to learn sparse Boolean functions efficiently, achieving essentially linear sample complexity in the ambient dimension.

## Explained to a 5-year-old
We study how data that changes slowly can help computers learn simple rules. Usually, computers need lots of examples to learn things that depend on only a few things. When the examples are linked one after another, like walking on a ladder, the computer can learn faster. The study shows that with this kind of linked data, the computer only needs as many examples as there are things to look at. It also shows that other computer methods don't get this benefit.

## Explained to a 5-year-old, longer
The paper looks at how information that follows a pattern can make learning easier. Imagine trying to guess a secret rule that only uses a few things out of many. When the examples you see are random, it is hard for a computer to figure it out quickly. But if the examples are connected, like steps on a ladder, the computer can see the pattern. This connection helps the computer learn the secret rule with far fewer examples. The study shows that the number of needed examples grows only with how many things there are, not with how many possible rules exist. It also compares this to other computer learning methods that do not use the pattern. Those other methods do not get the same speed-up and need many more examples. The result means that using patterns in data can make learning more efficient. This could help in situations where data naturally comes in sequences.

## For a technical reader
The work investigates how temporal dependencies in data can be leveraged to learn sparse Boolean functions with gradient-based methods. It uses a simple two-layer neural network trained with a gradient algorithm that compares successive samples, achieving linear sample complexity. The paper also shows that standard large-batch training does not gain this advantage, highlighting the importance of data correlation.

## Problem
Learning sparse Boolean functions efficiently using gradient-based methods is difficult when samples are independent, but may become tractable when samples exhibit temporal dependencies.

## Method
The approach uses a two-layer ReLU network trained with a gradient-based algorithm that exploits temporal dependencies by comparing target and predicted increments across consecutive samples.

## Results
The approach achieves sample complexity essentially linear in the ambient dimension d for any fixed sparsity level, while large-batch gradient methods do not benefit from temporal correlations.

## Contributions
It demonstrates that temporal correlations in data can make sparse learning tractable for gradient-based methods, providing a theoretical analysis of this phenomenon and contrasting it with standard large-batch methods.

## Limitations and assumptions
The analysis assumes data are generated by a lazy random walk on the hypercube and considers fixed sparsity k.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153508)
