ELVIA analysis of: Inverse Reinforcement Learning with Switching Rewards and History Dependency for Characterizing Animal Behaviors — Problem 2: The M-step descends a positive expected log joint
Original paper: Jingyang Ke; Feiyang Wu; Jiyi Wang; Jeffrey Markowitz; Anqi Wu. Inverse Reinforcement Learning with Switching Rewards and History Dependency for Characterizing Animal Behaviors. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/ke25b.html
Source version: {'label': 'PMLR 267 / ICML 2025 published proceedings version', 'publisher_publication_date': '2025/10/06', 'pages': '29608-29625', 'landing_url': 'https://proceedings.mlr.press/v267/ke25b.html', 'pdf_url': 'https://raw.githubusercontent.com/mlresearch/v267/main/assets/ke25b/ke25b.pdf', 'accessed_utc': '2026-10-24T14:10:19.850554+00:00'}
Source location: Retained report, Problem 2: Problem 2 (Algorithm 1 descends the auxiliary function it must maximize).
Question: What does the recorded analysis establish about “The M-step descends a positive expected log joint”?
Bounded finding:
The error is in the operative EM learning derivation, not an unrelated remark. It supports Major under the core-contribution standard without requiring an empirically observed failure or a difficult correction.
The source again provides important counterevidence. In `gw5/swirl/swirl_func.py`, lines 257–275, the transition objective returns negative expected log joint divided by trajectory length to a minimizer. The emission loss in lines 334–365 uses the same sign, and lines 401–403 update the initial prior from posterior counts. These paths were inspected statically, with additional checks of corresponding negative objectives in the labyrinth and spontaneous-behavior routes. These observations prevent attributing the printed sign error to the actual published fitted models.
The correction is gradient ascent on \(G\), or gradient descent on a clearly defined loss \(-G\). The finite calculation verifies the corrected direction at the displayed step sizes. It does not prove global convergence, fitted reward recovery, or restoration of an empirical result.
At \(\eta=1\) Gfallsfrom-.693147 to -.763439; corrected ascent reaches-.638439. Small \(\eta=0.005\) also strictlylowersG. Major invalid core learning direction; easy sign repair and valid release do not remove printed derivation error.
Recorded check:
Assessment: Major. Appendix A.1, p. 12, defines \(G\) with positive expected log-policy, log-prior and log-transition terms. Both prose and Algorithm 1 then prescribe gradient descent: \[\theta^{k+1}=\theta^k-\eta_k\nabla_\theta G(\theta,\theta^k).\] Appendix A.2, p. 13, correctly specifies the M-step target as \(\arg\max_\theta G(\theta,\theta^k)\). These directions conflict.
For \(g=\nabla_\theta G(\theta^k,\theta^k)\ne0\) and sufficiently small positive \(\eta\), \[G(\theta^k-\eta g,\theta^k)
=G(\theta^k,\theta^k)-\eta\|g\|^{2}+O(\eta^{2}).\] The printed step therefore decreases the maximization target. Even generalized EM seeks an increase rather than necessarily an exact maximizer; the sign does not implement that weaker requirement either.
Use the exact posterior in Problem Problem 1 (#prob:forward), so this finding is independent of its erroneous E-step. The paper includes \(p(z_1)\) among the learned parameters. Holding the remaining model components fixed, parameterize \(p(z_1=A)=\sigma(\theta)\), where \(\sigma\) is logistic. For posterior \(q_A=3/4\), the varying part of \(G\) is \[G(\theta)=\tfrac34\log\sigma(\theta)
+\tfrac14\log(1-\sigma(\theta)).\] At \(\theta=0\), \(G(0)=-\log2\) and \(G'(0)=1/4\). The exact maximizer is \(\theta=\log3\). Parent independent arithmetic gives:
\(\eta | G(-\eta/4)\), printed descent | \(G(+\eta/4)\), ascent
0.005 | \(-0.6934598759 | -0.6928348759\)
0.1 | \(-0.6994753035 | -0.6869753035\)
1 | \(-0.7634394199 | -0.6384394199\)
Every descent value is below \(-0.6931471806\), while ascent increases it. The small-step example avoids dependence on an excessive learning rate. The block calculation is one valid optimization subproblem, and the preceding differential argument supplies the general sign conclusion. Actual values and source bindings are in .
Case-wide limitations:
- P1 — The forward boundary omits the first action likelihood — Counterevidence: Correct generative joint includes the factor.
- P1 — The forward boundary omits the first action likelihood — Counterevidence: Pinned release alpha0=log(pi0)+log_likes[0] includes it and uses next emissions backward.
- P1 — The forward boundary omits the first action likelihood — Counterevidence: The example uses betaT=1, avoiding the ambiguous separate backward boundary.
- P1 — The forward boundary omits the first action likelihood — Counterevidence: No historical empirical result is shown wrong.
- P2 — The M-step descends a positive expected log joint — Counterevidence: p13argmax states intended maximization.
- P2 — The M-step descends a positive expected log joint — Counterevidence: Released transition/emission losses minimize -expectedlogjoint/T; prior uses posteriorcounts.
- P2 — The M-step descends a positive expected log joint — Counterevidence: No loss reduction in actual historical runs is alleged.
- Limitations: No trained-model inference, author code execution, raw-data reproduction or historical code-to-result matching.
- Limitations: Animal preprocessing, neural traces, causal biology and complete statistical selection effects not independently verified.
- Limitations: External cited sources and later errata not comprehensively audited; IQ-Learn extension not independently rederived.
- Limitations: Extra OpenReview-only attachments unavailable; serialized datasets/weights not staged.
- Unresolved claim: Effect, if any, on reported empirical runs.
- Unresolved claim: Complete historical algorithm version and raw-data/model correspondence.
- Unresolved claim: General convergence and empirical validity of proposed repairs.
- Not performed: No trained-model inference, author code execution, raw-data reproduction or historical code-to-result matching.
- Not performed: Animal preprocessing, neural traces, causal biology and complete statistical selection effects not independently verified.
- Not performed: External cited sources and later errata not comprehensively audited; IQ-Learn extension not independently rederived.
- Not performed: Extra OpenReview-only attachments unavailable; serialized datasets/weights not staged.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2
Original source excerpts (verbatim):
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.
Source: {'label': 'PMLR 267 / ICML 2025 published proceedings version', 'publisher_publication_date': '2025/10/06', 'pages': '29608-29625', 'landing_url': 'https://proceedings.mlr.press/v267/ke25b.html', 'pdf_url': 'https://raw.githubusercontent.com/mlresearch/v267/main/assets/ke25b/ke25b.pdf', 'accessed_utc': '2026-10-24T14:10:19.850554+00:00'}
Locator: Abstract, PDF p. 1
Source PDF SHA-256: 06c8d215071059ebab2b73c8c396d0f3f6683b48ff8ba74ba9cfd5cdce1270be
Review status: Independent review pending
Case: icml2025-0159-inverse-reinforcement-learning-with-switching-rewards-and-history
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0159-inverse-reinforcement-learning-with-switching-rewards-and-history.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0159-inverse-reinforcement-learning-with-switching-rewards-and-history/records/icml2025-0159-inverse-reinforcement-learning-with-switching-rewards-and-history.r1.json
Canonical record SHA-256: b9fd430a8611650a486a9120054e54b5c2f97f9333de5d1b0d0b66cd0997accd
The page follows the latest revision; the versioned record identifies this snapshot.