Lune

ICML2025Top-tier venue

Inverse Reinforcement Learning with Switching Rewards and History Dependency for Characterizing Animal Behaviors

Jingyang Ke, Feiyang Wu, Jiyi Wang, Jeffrey Markowitz, Anqi Wu

Abstract

Traditional approaches to studying decisionmaking in neuroscience focus on simplified behavioral tasks where animals perform repetitive, stereotyped actions to receive explicit rewards. While informative, these methods constrain our understanding of decision-making to short timescale behaviors driven by explicit goals. In natural environments, animals exhibit more complex, long-term behaviors driven by intrinsic motivations that are often unobservable. Recent works in time-varying inverse reinforcement learning (IRL) aim to capture shifting motivations in long-term, freely moving behaviors. However, a crucial challenge remains: animals make decisions based on their history, not just their current state. To address this, we introduce SWIRL (SWitching IRL), a novel framework that extends traditional IRL by incorporating time-varying, history-dependent reward functions. SWIRL models long behavioral sequences as transitions between short-term decision-making processes, each governed by a unique reward function. SWIRL incorporates biologically plausible history dependency to capture how past decisions and environmental contexts shape behavior, offering a more accurate description of animal decision-making. We apply SWIRL to simulated and real-world animal behavior datasets and show that it outperforms models lacking history dependency, both quantitatively and qualitatively. This work presents the first IRL model to incorporate history-dependent policies and rewards to advance our understanding of complex, naturalistic decision-making in animals.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Maximum-Likelihood Inverse Reinforcement Learning with Finite-Time Guarantees cites IQ-Learn: Inverse soft-Q Learning for Imitation
  • Imitating Language via Scalable Inverse Reinforcement Learning cites IQ-Learn: Inverse soft-Q Learning for Imitation
  • Improving Zero-Shot Offline RL via Behavioral Task Sampling cites IQ-Learn: Inverse soft-Q Learning for Imitation
  • Inverse Reinforcement Learning with the Average Reward Criterion cites Maximum-Likelihood Inverse Reinforcement Learning with Finite-Time Guarantees
  • Inverse Reinforcement Learning with the Average Reward Criterion cites IQ-Learn: Inverse soft-Q Learning for Imitation
  • Dynamic Inverse Reinforcement Learning for Characterizing Animal Behavior cites IQ-Learn: Inverse soft-Q Learning for Imitation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Improving Zero-Shot Offline RL via Behavioral Task SamplingNazim Bendib, Nicolas Perrin-Gilbert, Olivier SigaudICML 2026

Builds on5

  1. IQ-Learn: Inverse soft-Q Learning for ImitationDivyansh Garg, Shuvam Chakraborty, Chris Cundy, Jiaming Song et al.NeurIPS 2021 · 271 citations
  2. Maximum-Likelihood Inverse Reinforcement Learning with Finite-Time GuaranteesSiliang Zeng, Chenliang Li, Alfredo García, Mingyi HongNeurIPS 2022 · 60 citations
  3. Dynamic Inverse Reinforcement Learning for Characterizing Animal BehaviorZoe Ashwood, Aditi Jha, Jonathan W. PillowNeurIPS 2022 · 50 citations
  4. Imitating Language via Scalable Inverse Reinforcement LearningMarkus Wulfmeier, Michael Bloesch, Nino Vieillard, Arun Ahuja et al.NeurIPS 2024 · 26 citations
  5. Inverse Reinforcement Learning with the Average Reward CriterionFeiyang Wu, Jingyang Ke, Anqi WuNeurIPS 2023 · 16 citations

Related papers

  1. Flexible inference for animal learning rules using neural networksYuhan Helena Liu, Victor Geadah, Jonathan W. PillowNeurIPS 2025
  2. Inferring learning rules from animal decision-makingZoe Ashwood, Nicholas A. Roy, Ji Hyun Bak, Jonathan W. PillowNeurIPS 2020 · 33 citations
  3. Inverse Rational Control with Partially Observable Continuous Nonlinear DynamicsMinhae Kwon, Saurabh Daptardar, Paul R. Schrater, Xaq PitkowNeurIPS 2020 · 46 citations
  4. Diffusion-based Curriculum Reinforcement LearningErdi Sayar, Giovanni Iacca, Ozgur S. Oguz, Alois KnollNeurIPS 2024 · 12 citations
  5. Learning What Matters Now: Dynamic Preference Inference under Contextual ShiftsXianwei Cao, Dou Quan, Zhenliang Zhang, Shuang WangICLR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines