Skip to content

Suggestions regarding default parameters in the LeHDC model implemented by TorchHD #184

@yby0313

Description

@yby0313

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions