EQL-EquationLearner
A feed-forward network whose sine, cosine, product and division units read back as an equation.
41 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 2.4K
- Operations
- 41
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2016
- Cited by
- 279 (as of 29 November 2026)
- Authors
- Georg Martius, Christoph H. Lampert
- Source
- GitHub: martius-lab/EQL
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m855
- Graph hash
- 93674c6567195dfaf4a65d27ce3432c7f096118beb9999bc2b156615150ef5a1
- Skeleton hash
- c0d6f9bc348e37e5a24cb85bf81f27d7d45e0694ca49c7d870a7b8fe0c5069c0
- Architecture hash
- c18933d7c189014a81b242915e4fdbb3db8da8acf76c96161f36f73f2b1856d4
- Diagram SHA-256
- 5b10b7e649a8fb9f5ed44384dc0a065d0d60e01f2d5c49ed01cea36168a8fd50
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
The Equation Learner, EQL, is a feed-forward network built so that what it learns can be read back as an analytical formula, aimed at the natural scientist who wants a mechanism rather than a black box. Each layer mixes unary units, which may apply identity, sine, cosine or sigmoid, with binary multiplication units. The multiplication units simply compute the product of their two inputs. Sparsity regularisation is what makes the recovered expressions concise and interpretable.
The original EQL could not represent divisions, which are common in physical laws, so EQL÷ adds division units that compute a/b. Divisions appear only in the output layer. Because a division has a pole as the denominator approaches zero, training follows a curriculum from a strongly regularised division to the unregularised one. A cost term also penalises forbidden inputs to each division. On a cart-pendulum system the method learned the forward dynamics from only two random rollouts and achieved the swing-up task.
The traced member is a port of the EQL÷ model from the authors' Theano code, the EQL-DIV-ICML subdirectory of martius-lab/EQL. There is also an official TensorFlow implementation, which its authors label a prototype that may contain bugs.
Key idea. A differentiable network of identity, sine, cosine, multiplication and (in EQL÷) division units, trained with sparsity so it yields interpretable equations that extrapolate.
- eql
- equation learner
- eql-div
- eql÷
- symbolic regression
- learning equations
- extrapolation
- martius
- lampert
- sahoo
- cart-pendulum
- interpretable regression
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{martius2016extrapolationlearningequations,
title={Extrapolation and learning equations},
author={Georg Martius and Christoph H. Lampert},
year={2016},
eprint={1610.02995},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1610.02995},
}