A method and system for extracting feature utilizing an AHaH module (Anti-Hebbian and Hebbian). A sparse input data stream can be presented to a synaptic matrix of a collection of AHaH nodes associated with the AHaH module. The AHaH module operates an AHaH plasticity rule via an evaluate phase and a feedback phase cycle. A bias input line can be modulated such that a bias weight do not receive a Hebbian portion of the weight update during the feedback phase in order to prevent occupation of a null state. The input space can be bifurcated when the AHaH nodes fall randomly into an attractor state. The output of the AHaH module that forms a stable bit pattern can then be provided as an input to a content-addressable memory for generating a maximally efficient binary label.
Methods and systems for feature extraction