Abstract
We present an algorithm to generate synthetic datasets of tunable difficulty on classification of Morse code symbols for supervised machine learning problems, in particular, neural networks. The datasets are spatially one-dimensional and have a small number of input features, leading to high density of input information content. This makes them particularly challenging when implementing network complexity reduction methods. We explore how network performance is affected by deliberately adding various forms of noise and expanding the feature set and dataset size. Finally, we establish several metrics to indicate the difficulty of a dataset, and evaluate their merits. The algorithm and datasets are open-source.
Introduction
Deep learning models typically require vast amounts of labeled data, which can be costly to acquire. While synthetic data generation is a common alternative, existing benchmarks like MNIST or CIFAR-10 are often high-dimensional with significant spatial redundancy. This redundancy allows sparse neural networks to maintain high accuracy even after significant weight pruning.
There is a distinct lack of spatially 1-dimensional datasets with low feature counts and high information density. Such datasets are essential for testing the limits of network complexity reduction. This paper introduces a novel family of synthetic Morse code datasets designed to provide a low-redundancy environment where every input feature is critical, thereby challenging the robustness of sparse networks.
Methodology
The core of this work is a data generator that simulates Morse code characters (letters, numbers, and symbols) within a fixed-size 1D frame of 64 values. The generation process follows a three-step pipeline:
- Frame Partitioning: Lengths are assigned to dots, dashes, and spaces within the 64-wide input frame.
- Intensity Assignment: Signal intensities are assigned using normal distributions to simulate variations in signal strength or human input pressure.
- Noising: Additive Gaussian noise is injected into the signal.
To further modulate difficulty, the generator can introduce random leading spaces (shifting codeword positions) and vary dash lengths to overlap with dot or space distributions.
Dataset Variants
The authors open-sourced several dataset tiers to test different aspects of model robustness:
- Baseline: 64 inputs, no noise, fixed starting position.
- Morse 1.\sigma: Baseline with additive Gaussian noise (\sigma from 1 to 4).
- Morse 2.\sigma: Introduces random leading spaces to test translation invariance.
- Morse 3.\sigma: Adds variable dash lengths, creating mathematical overlap between classes.
- Morse 4.\sigma: A "dilated" version with 256 inputs to reintroduce spatial redundancy and ease classification.
- Morse Size x: Scaled datasets with up to 3 million samples to study generalization.
Results and Analysis
The performance of a standard Multi-Layer Perceptron (MLP) was evaluated across these datasets. While the baseline achieved near 100% accuracy, performance degraded significantly as noise and structural complexity increased.
Key findings include:
- Information Density: Pruning weights in these 1D datasets leads to a much steeper accuracy drop compared to image datasets. In the Morse 3.2 dataset, 75% sparsity caused accuracy to fall from ~60% to ~20%.
- Generalization: Increasing the dataset size to 3 million samples effectively eliminated the gap between training and test accuracy, forcing the model to generalize rather than memorize.
- Dilation Effect: Expanding the input frame (Morse 4.4) improved accuracy from 26% to 63% by providing redundant features for the network to exploit.
Conclusion
This paper demonstrates that synthetic 1D datasets with high information density are effective tools for stress-testing neural network architectures and pruning techniques. Furthermore, the authors proposed mathematical metrics that correlate strongly with model accuracy (\rho ≈ -0.64), allowing for the estimation of dataset difficulty without training. Future work will focus on refining these metrics using full covariance matrices and testing the datasets on CNN and RNN architectures.
Summary updated