Solved – How to extract the features making up the hidden layers in Autoencoders

autoencoderskerasneural networkstheano

Apologies if this question has been asked before but I haven't come across any so far.

I have been experimenting with Autoencoders using Keras and Theano as my back end based on the tutorial from this tutorial which has been going on well so far. So I have a high-dimensional (over 15K features) dataset as examples with no labels and I would like to reduce these into some manageable features which I presume are in the hidden layer of an Autoencoder neural network. My question, therefore, is how would one extract the input features that are contributing to each of features in the hidden layers as I would like to use these for further analysis.

Thanks in advance

Best Answer

See this Feature Selection Guided Auto-Encoder.

They proposed a framework to select informative features. In this framework, the discerning hidden units were distinguished from the task-irrelevant units at hidden layer, and the regulariser on the selected features in turn enforces the encoder to focus on compress important patterns into selected units.

Citation

Wang, S., Ding, Z., & Fu, Y. (2017). Feature Selection Guided Auto-Encoder. In AAAI (pp. 2725-2731).