-
Notifications
You must be signed in to change notification settings - Fork 32
Description
In the paper "LeHDC: Learning-Based Hyperdimensional Computing Classifier," the authors provide the following default parameters for the MNIST image recognition task: lr = 0.01, weight_decay = 0.05, dropout_rate = 0.5. Using these parameters, the authors achieved a 94.74% recognition rate for MNIST at a dimension of 10000.
However, training the LeHDC model provided by TorchHD with the same parameters for the MNIST image recognition task fails to achieve comparable performance.
In my analysis, this difference may be due to the fact that the LeHDC model implemented by TorchHD uses Base-Level encoding, while the encoding model in the aforementioned paper uses RP method.
This difference can be improved by modifying the parameters. Specifically, setting "lr = 0.01, weight_decay = 0.05, dropout_rate = 0.025" can achieve comparable recognition accuracy in the TorchHD-provided LeHDC model.
In conclusion, modifying the default parameters of the LeHDC model provided by TorchHD according to the above content and adding explanations of the differences in the encoding scheme may be helpful for readers to debug.