{
  "id": 3125917,
  "title": "Reinforcement Learning via Brain Feedback for real-time fMRI-based adaptive stimulus generation",
  "url": "https://urgent.news/2026/08/17/reinforcement-learning-via-brain-feedback-for-real-time-fmri-based",
  "topic": "science",
  "section": "Science",
  "published": "2026-08-17T00:00:00.000Z",
  "source": {
    "name": "bioRxiv",
    "slug": "biorxiv",
    "url": "https://www.biorxiv.org/content/10.64898/2026.08.08.743648v1?rss=1"
  },
  "original_language": "en",
  "account": "Conventional fMRI experiments utilize pre-set task conditions, restricting the ability to investigate brain-stimulus connections freely. To address this limitation, we present Reinforcement Learning via Brain Feedback (RLBF), an innovative framework accompanied by open-source software for adaptive stimulus optimization through real-time functional magnetic resonance imaging (fMRI). RLBF challenges the usual direction of inference by leveraging neural responses to guide the exploration of stimulus spaces using reinforcement learning, allowing for the optimization of predetermined brain targets, such as regional activity or multivariate neural patterns.\n\nThe accompanying Python-based software offers a flexible, modular framework that integrates real-time fMRI data processing, reinforcement learning agents, adaptive stimulus generation, simulation-based testing, and experiment monitoring. Researchers can tailor preprocessing pipelines, reward functions, stimulus spaces, and reinforcement learning strategies to suit various closed-loop neuroimaging applications due to the software's adaptable architecture.\n\nWe tested the framework in a proof-of-concept study involving ten participants. Our results showed real-time optimization of a simple visual stimulus space by adjusting checkerboard contrast and frequency to maximize primary visual cortex (V1) activity within a single 10-minute fMRI session. RLBF serves as an extensible foundation for brain-guided stimulus optimization, paving the way for novel approaches to study neural specificity, individualized brain-stimulus relationships, and adaptive experimental design.",
  "summary": "Traditional fMRI studies rely on predefined task paradigms, where fixed stimulus designs limit the flexibility with which brain-stimulus relationships can be explored. Here, we introduce Reinforcement Learning via Brain Feedback (RLBF), a framework and open-source software package for adaptive stimulus optimization using real-time fMRI. RLBF reverses the conventional direction of inference by…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Ajel English",
        "title": "Learning four languages may keep the brain young, study finds",
        "url": "https://urgent.news/2026/08/24/learning-four-languages-may-keep-the-brain-young-study-finds",
        "published": "2026-08-24T10:18:03.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}