Automated discovery of symbolic laws governing skill acquisition from naturally occurring data

Sannyuya Liu, Qing Li, Xiaoxuan Shen, Jianwen Sun, Zongkai Yang

This paper presents a novel framework for bridging the gap between high-performance "black-box" deep learning and interpretable psychological theory. By combining neural networks with symbolic regression, the authors successfully automated the discovery of mathematical laws governing how humans acquire skills from massive, real-world datasets.

TL;DR

Researchers developed a two-stage "symbolic distillation" algorithm that first uses deep learning to model unobservable cognitive states and then extracts interpretable algebraic equations using symbolic regression. When applied to Lumosity training data, the method discovered new skill acquisition laws that outperform traditional psychological models in both accuracy and simplicity.

What Problem Does This Paper Address?

For decades, cognitive psychologists have sought "laws of practice"—mathematical formulas that describe how performance improves with experience. While the "Power Law of Practice" is a classic example, these rules are often derived from small-scale, highly controlled laboratory experiments.

When applied to Naturally Occurring Data Sets (NODS)—like logs from millions of people playing brain-training games—traditional models struggle. Real-world data is messy, involves numerous uncontrolled variables, and hides the learner's internal "cognitive state." Conversely, while deep learning models can fit this data accurately, they are "black boxes" that offer no theoretical insight. This paper aims to get the best of both worlds: the predictive power of deep learning and the interpretability of symbolic equations.

Methods

The authors proposed a two-stage architecture to tackle the "algorithmic explosion" that typically plagues symbolic regression in high-dimensional spaces.

  1. Stage 1: Deep Learning Regressor. A Transformer-like model is trained to predict a user's future performance based on their history. It consists of:
  2. Feature Encoding: Evaluates the importance of different behaviors (e.g., practice frequency, time intervals).
  3. Mastery Inference: A neural network that estimates the user's latent skill mastery.
  4. Prediction: A three-parameter Item Response Theory (IRT) model that maps mastery to an expected score.
  5. Stage 2: Symbolic Distillation. Once the neural network is trained, the authors use it as a "teacher." They employ Symbolic Regression (specifically the PySR library) to find the simplest algebraic equations that mimic the neural network's internal mapping. To keep the search space manageable, they use gradient-based feature importance to select only the most critical variables before searching for equations.
The two-stage framework: (b) shows the deep regressor architecture, and (c) details the symbolic distillation process.

Datasets

  • Simulated Data: Used to validate the framework. The authors generated synthetic training logs based on known laws (Linear, Exponential, and Power laws) to see if the algorithm could "rediscover" them under various noise levels.
  • Lumosity Dataset: A massive real-world dataset containing logs from 6,143 users, each with 2,000 practice records across six skill categories: Attention, Flexibility, Language, Math, Memory, and Reasoning.

Key Insights and Ideas

  • The Neural Network as a Bridge: Symbolic regression is notoriously sensitive to noise and high dimensionality. By training a neural network first, the authors created a "smooth" version of the data that the symbolic regressor could more easily parse.
  • Discovery of "Inverse Power Laws": For skills like Attention and Language, the model discovered inverse forms of the power law (e.g., $0.544 - \#AT^{-0.0804}$), suggesting that performance gains in these areas follow a specific, previously uncharacterized decay pattern.
  • Quantifying Mutualism: The model confirmed that practicing one skill (like Reasoning) can improve mastery in another (like Language), a concept known as mutualism. The framework was able to represent this interaction algebraically.
  • Simplicity vs. Accuracy: The study found that increasing the complexity of the discovered equations rarely led to significant gains in accuracy, suggesting that skill acquisition is governed by relatively simple "core" patterns.

Key Results

The "Auto-Discovered Model" (ADM) was compared against several established benchmarks, including the Additive Factor Model (AFM) and the Learning Growth Model (LGM).

  • Superior Fitness: The ADM achieved significantly higher $R^2$ values (goodness of fit) and lower BIC (Bayesian Information Criterion) scores across almost all skills. For example, in the Memory skill, the ADM achieved an $R^2$ of 0.643 compared to the next best model's 0.313.
  • Robustness to Noise: In simulated tests, the algorithm perfectly restored the preset laws (Feature, Structure, and Value) as long as the noise level ($\delta$) remained below 0.1.
Validation results showing the algorithm's ability to correctly restore the features, structure, and parameter values of known laws across different noise levels.

Limitations and Future Work

  • Continuous vs. Discrete Feedback: The current methodology is optimized for continuous feedback (like scores) and may struggle with discrete "pass/fail" data, which introduces more noise.
  • Heuristic Selection: The choice of which symbolic equation is "best" still relies on a heuristic balance between complexity and accuracy determined by the researcher.
  • Generalizability: While the results on Lumosity are promising, the authors acknowledge that these specific laws might be influenced by the gamified nature of the platform and require validation on other types of educational data.

Summary updated

BibTeX
@inproceedings{liu2024automated,
  author = {Sannyuya Liu and Qing Li and Xiaoxuan Shen and Jianwen Sun and Zongkai Yang},
  title = {{Automated discovery of symbolic laws governing skill acquisition from naturally occurring data}},
  booktitle = {Nat. Comput. Sci},
  year = {2024},
  url = {https://openreview.net/forum?id=58xbFIESDB},
}
Figure