Methods and apparatus for improving cognitive function within a human. The invention utilizes a neurostimulation device, such as a signal generator, to affect tissue elements at a lateral temporal lobe of the human brain. The implanted device delivers treatment therapy to thereby improve cognitive function by the human. A sensor may be used to detect various characteristics of cognition. A microprocessor algorithm may then analyze the output from the sensor to regulate delivery of the stimulation therapy.