Investigation of multilevel data memory using filament and polarization control