1. A method for forming a resistive switching memory element comprising: forming a first electrode; forming a metal oxide layer on the first electrode; masking the metal oxide layer to create exposed regions and concealed regions of a surface of the metal oxide layer; and altering the exposed regions of the metal oxide layer and creating localized defect paths beneath the exposed regions.