The gastrointestinal stimulation devices comprise a random stimulation delivery mechanism (s) configured to provide stimulation to the body tissue adjacent to the stimulation capsule, wherein the stimulation provided is characterized by a stimulation parameter and is adapted to communicate with the physical stimulation delivery mechanism And control circuitry configured to alter the characteristics of the stimulation provided to the body tissue by non-systematically setting and changing the stimulation parameter. The algorithm may be patient-specific and may have a learning mechanism that responds to data received from the patient.위장 자극 디바이스들은 자극 캡슐 부근 신체 조직에 자극을 제공하도록 구성되는, 랜덤한 자극 전달 메커니즘(들)을 포함하며, 제공되는 자극은 자극 파라미터에 의해 특징지어지고, 물리적 상기 자극 전달 메커니즘과 통신하도록 그리고 자극 파라미터를 체계적이지 않게 설정 및 변경함으로써, 신체 조직에 제공되는 자극의 특징을 변경하도록 구성되는 제어 회로를 포함한다. 알고리즘은 환자 맞춤일 수 있고, 환자로부터 수신되는 데이터에 반응하는 학습 기구를 가질 수 있다.