atlas

Research map / Learning theory and algorithms / Kernels and regression theory

Algorithm Development in Neural Networks: Insights from the Streaming Parity Task

ICML 2025 · Learning theory and algorithms › Kernels and regression theory · approach: Empirical generalization measures · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies how RNNs trained on the streaming parity task develop finite automata that generalize infinitely, using an interaction-based effective theory of representational merging in hidden states.

Problem

Explaining why neural networks sometimes learn algorithms that extrapolate infinitely in sequence length from finite training data, rather than merely interpolating, using the streaming parity task.

Approach

Models pairwise interactions between nearby hidden representations under gradient descent with an expressive smooth-map abstraction, showing representations that always agree on future outputs merge, which collapses the extracted automaton into a finite one and produces a sudden phase transition to full length generalization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use a smaller initial weight scale and a larger training setRNN on streaming parity · Streaming parity, validation sequences of length 100accuracy: 0.5 -> 1.0Helped
train on sequences up to length 10RNN on streaming parity · Streaming parity, sequences up to length 10000mean squared lossHelped
replace ReLU activation with tanh (ablation)RNN on streaming parity · Streaming parityinfinite generalizationNo clear effect
add step-continuity to the output map (ablation)RNN on streaming parity · Streaming paritystate-merger dynamicsNo clear effect
use a transformer instead of an RNNsequence models on parity computation · Parity computation, arbitrary-length sequencesinfinite generalizationHurt
use recurrent networks rather than transformerssequence models · Parity computation, arbitrary-length sequencesinfinite generalizationHelped
increase the training-set size or decrease the initial weight scaleRNN on streaming parity · Streaming parityvalidation accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: streaming parity task sequences up to length 10 random regular automata tasks modular subtraction

Benchmarks: streaming parity validation sequences up to length 10000

Metrics: validation accuracy validation loss number of automaton states fraction of merged pairs

Baselines: transformer

Builds on: deterministic finite automata extraction from RNNs Hopcroft's algorithm

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy