Related Experiment Video
Updated: Nov 20, 2025

08:00
Decoding Natural Behavior from Neuroethological Embedding
Published on: October 3, 2025
290
An Entropy Metric for Regular Grammar Classification and Learning with Recurrent Neural Networks
Kaixuan Zhang1, Qinglong Wang2, C Lee Giles1
1Information Sciences and Technology, Pennsylvania State University, University Park, PA 16802, USA.
Entropy (Basel, Switzerland)
|January 22, 2021
Summary
This study categorizes regular grammars using an entropy metric, identifying polynomial, exponential, and proportional classes. More complex grammars, as expected, proved more challenging for recurrent neural networks to learn.
Area of Science:
- Computer Science
- Artificial Intelligence
- Formal Language Theory
Background:
- Deep learning research has seen a resurgence in formal language theory.
- Most research focuses on representing symbolic knowledge with machine learning, with limited exploration of the fundamental connection between formal languages and deep learning.
- Understanding the internal structures and complexity of regular grammars is crucial for advancing this connection.
Purpose of the Study:
- To categorize regular grammars based on their inherent complexity.
- To establish a theoretical framework for understanding the relationship between grammar structure and learnability.
- To provide a foundation for future research at the intersection of formal language theory and deep learning.
Main Methods:
- Theoretical analysis of regular grammars.
- Introduction of an entropy metric to quantify grammar complexity, relaxing original order information.
- Categorization of regular grammars into polynomial, exponential, and proportional classes based on the entropy metric.
- Empirical validation using recurrent neural networks to learn grammars.
Main Results:
- Regular grammars were successfully categorized into three distinct complexity classes: polynomial, exponential, and proportional.
- Classification theorems were developed for various representations of regular grammars.
- Empirical results confirmed that more complex grammars (higher entropy) are generally more difficult for recurrent neural networks to learn.
Conclusions:
- The proposed entropy metric effectively captures the complexity of regular grammars.
- The categorization provides a novel framework for understanding grammar complexity in the context of machine learning.
- This research bridges formal language theory and deep learning, suggesting complexity as a key factor in learnability.
Related Concept Videos
Classification of Neurotransmitters
4.5K
Neurotransmitters play a crucial role in the communication between neurons in the autonomic nervous system. Neurons in the autonomic nervous system can be cholinergic or adrenergic depending on the neurotransmitters synthesized. Cholinergic neurons use acetylcholine as their primary neurotransmitter. This includes all the preganglionic fibers of the sympathetic and pre- and postganglionic fibers of the parasympathetic nervous systems. In addition, neurons of the somatic nervous system also use...
4.5K
Classification of Systems-I
444
Linearity is a system property characterized by a direct input-output relationship, combining homogeneity and additivity.
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
444
Classification of Signals
1.1K
In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
1.1K
Classification of Systems-II
373
Continuous-time systems have continuous input and output signals, with time measured continuously. These systems are generally defined by differential or algebraic equations. For instance, in an RC circuit, the relationship between input and output voltage is expressed through a differential equation derived from Ohm's law and the capacitor relation,
373
Sequence Networks of Rotating Machines
376
A Y-connected synchronous generator, grounded through a neutral impedance, is designed to produce balanced internal phase voltages with only positive-sequence components. The generator's sequence networks include a source voltage that is exclusively in the positive-sequence network. The sequence components of line-to-ground voltages at the generator terminals illustrate this configuration.
Zero-sequence current induces a voltage drop across the generator's neutral impedance and other...
Zero-sequence current induces a voltage drop across the generator's neutral impedance and other...
376
Aggregates Classification
560
Aggregate classification is generally based on its size, petrographic characteristics, weight, and source. Size classification ranges from coarse to fine aggregates, defined by the size of the particles. Coarse aggregates are particles that do not pass through ASTM sieve No. 4, and aggregates that pass through the sieve are fine aggregates.
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
560