Skip to content

Fix symbolic getindex under Zygote for array symbols and DAE solutions - #1623

Merged
ChrisRackauckas merged 5 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-1594-symbolic-getindex-zygote
Oct 31, 2026
Merged

ChrisRackauckas merged 5 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-1594-symbolic-getindex-zygote

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Fixes #1594: Zygote gradients through symbolic getindex on solutions, including array symbols (sol[x] for @variables x(t)[1:2]) on ODESolution and scalar and array symbols on DAESolution.

Please ignore this draft until it has been reviewed by @ChrisRackauckas.

What changed and why

The design rule is that only symbolic indices take new code paths. Every non-symbolic index (Integer, CartesianIndex, ranges, Vector{Int}, Bool masks, Colon, multi-dimensional forms) reaches exactly the rule it used on master.

  • ODESolution under Zygote (ext/SciMLBaseZygoteExt.jl): the rule signatures are master's. A 1-D Symbolics.Arr is an AbstractVector, so sol[x] goes to the existing Union{Tuple,AbstractVector} adjoint. odesolution_getindex_cotangent now expands an ArraySymbolic index into its scalar components. Before this, it called findall over the Arr, which caused the non-boolean (Num) error. Non-symbolic vectors still go through the code unchanged.
  • ODESolution under ChainRules (ext/SciMLBaseChainRulesCoreExt.jl): the symbolic pullback now scatters array-symbol cotangents per component. Before, it compared a vector index to an Int, which gave a silent zero gradient. Its body moved into solution_getindex_pullback so the next rule can reuse it.
  • DAE, RODE and other AbstractODESolutions: master has no SciML rule for these, so Zygote falls back to ChainRules' generic rrule(getindex, ::AbstractArray, inds...). The new rrule(getindex, ::AbstractODESolution, sym) handles symbolic sym. For NotSymbolic() it invokes the rrule for Tuple{typeof(getindex), AbstractTimeseriesSolution, typeof(sym)}, which is the method dispatch picks without this one. The result or error is therefore identical to master by construction. Zygote reaches the new rule through its ChainRules bridge, and no Zygote @adjoint is added for these types.

Earlier rounds of this PR differentiated Array(sol) for non-symbolic indices. That gave silently wrong gradients for RODESolution s[1:2] (a timestep sub-solution, not Array(s)[1:2]) and made DAE s[1:2] succeed under AD even though the primal throws. This version removes that path.

Verification

All runs used Julia 1.12.7 and the test/downstream Manifest (MTK 11.45.1, SciMLSensitivity, Zygote 0.7.13). The master and b7c4187 baselines used the same Manifest with SciMLBase dev'd at those commits.

A/B probe over every index class. ODE, DAE and RODE solutions were each tested with 17 index forms: 3, 10, CartesianIndex(2,3), 1:2, [1,3], 2:2:4, Int[], trues(10), falses(2,5), :, (:,2), (1,2), (1:2,3), (1,:), (2,2:3), ([1,2],:) and CartesianIndices. Each form went through three checks: Zygote.gradient(loss, sol), Zygote.pullback, and a direct ChainRulesCore.rrule. That is 153 outcome lines, each a gradient value or an error type and message.

$ diff ab2-master.txt ab2-new.txt && echo MASTER_EQ_NEW
MASTER_EQ_NEW
$ diff ab2-master.txt ab2-b7c.txt | grep -c '^>'      # previous head of this PR
69

For example, b7c4187 gave RODE (1:2,) grad => Array [2.0, 4.0, 0.0, ...], which is silently wrong. Master and this PR both give ERR DimensionMismatch.

Test file test/downstream/symbolic_getindex_zygote.jl:

  • The symbolic testset checks Zygote against ForwardDiff for ODE sol[x], ODE sol[x[1]], DAE sol[x], DAE sol[x[2]] and DAE [sol[x[1]], sol[x[2]]].
  • The non-symbolic testset covers DAE and RODE with 12 index forms. It requires that ChainRulesCore.rrule(getindex, sol, idx...) equals the generic AbstractArray rrule in primal value and cotangent, or throws the same error type. It also requires that Zygote.gradient either throws or matches central differences of the true primal s -> sum(abs2, Array(s[idx...])), computed by perturbing sol.u, so it does not rely on Array(sol) as an oracle. When the primal throws, the gradient must also throw.
master 08f6f743:  Symbolic ... (#1594) | Pass 1  Error 4      (TypeError non-boolean (Num); MethodError Bool→Vector{Float64}; 2× ArgumentError invalid index (x(t))[2])
                  Non-symbolic ...      | Pass 88
b7c41878:         Symbolic ... (#1594) | Pass 5
                  Non-symbolic ...      | Pass 54  Fail 26  Error 11   (3 of the fails are wrong gradients vs finite differences, 7 are gradients where the primal throws)
this PR:          file                  | Pass 93  Total 93

Groups.

  • test/downstream/adjoints.jl, the Adjoints set of SII_Downstream, which includes the new file: Adjoints | Pass 93 Broken 5 Total 98. The 5 @test_broken are pre-existing in adjoints.jl.
  • GROUP=Core: Testing SciMLBase tests passed.
  • GROUP=QA (Aqua, including the ambiguity bound, and ExplicitImports): QA | Pass 123 Total 123.
  • Test.detect_ambiguities(SciMLBase, SciMLBaseZygoteExt, SciMLBaseChainRulesCoreExt; recursive=true): 10 on master and the same 10 here. None involve getindex.
  • Runic --check and typos are clean on the changed files.

Not verified

  • I did not run the full GROUP=SII_Downstream. An earlier round reported an unrelated comprehensive_indexing.jl failure (SCCNonlinearProblem has no field u0).
  • Not covered on DAE and RODE: observed variables, vectors or tuples of symbols (sol[[x[1], x[2]]], whose symbolic_type is NotSymbolic), and the 3-argument forms sol[sym, j] and sol[sym, :]. All of these behave as on master. None is part of Symbolic getindex under Zygote: array symbols fail on ODESolution, no rule for DAESolution #1594.
  • Matrix-valued array symbols were not exercised.
  • I did not run Mooncake, Enzyme or ReverseDiff on these losses.
  • I did not test on Julia LTS.

Pre-existing, not touched

ODESolution sol[1:2, 3] gives a wrong gradient under Zygote. It does so identically on master and in this PR, and it is outside the scope of this PR.

Risk assessment

  • Risk: low-medium.
  • Blast radius: AD of getindex on timeseries solutions. Non-symbolic indices are unchanged by construction (invoke of the master method) and by the 153-line A/B. The new behaviour applies only to symbolic indices, which errored or gave zero gradients on master. No public API change.
  • Evidence: fail-before/pass-after on master and on b7c4187, the A/B probe, the Adjoints set, Core and QA (above).
  • Independent review: pending.
  • Merge: needs review. A smart-model review should confirm the invoke decline design.

🤖 Generated with Claude Code (model: claude-opus-5-5), round 4 author. Earlier rounds: Cursor Agent CLI (model: auto).

https://claude.ai/code/session_01NdFVhANTF4nepTbqYxjfRP

Risk assessment

  • Risk: medium

  • Blast radius: Reverse-mode AD (Zygote and ChainRules) of getindex on timeseries solutions. The change has three parts. (1) ODESolution symbolic indexing: array-symbol cotangents are now scattered per component. (2) A new rrule(getindex, ::AbstractODESolution, sym) that catches every single-index getindex on DAESolution, RODESolution and other non-ODESolution subtypes. For non-symbolic indices it hands back to the rule that dispatch would otherwise pick. (3) A refactor that moves the pullback into a shared solution_getindex_pullback. Main users affected: SciMLSensitivity, DiffEqFlux, and MTK users who differentiate through sol[x]. The behaviour change is a bug fix on paths that used to error or silently return zero gradients, so a patch release is fine and no public API changes. No non-public dependency internals are used: invoke is in Base and ArraySymbolic is public in SymbolicIndexingInterface. I found no other getindex rrule that could cause ambiguity:

    • RecursiveArrayTools' Zygote extension defines no getindex rules.
    • A code search across the SciML org found no other rrule(::typeof(getindex).
  • Evidence: I checked head f7dbef77 against base 08f6f743, current master 432e9856, and master runs 70133024/140337ab. All 6 failing checks are pre-existing, so there are no regressions:

    • tests / SymbolicIndexingInterface (julia 1) and (julia lts): same error on master, FieldError: SCCNonlinearProblem has no field u0 in comprehensive_indexing.jl.
    • SciMLSensitivity.jl/Core1: same Mooncake error at concrete_solve_derivatives.jl:451 as master.
    • SciMLSensitivity.jl/Core6: 236 passed, 1 errored, 4 broken, the same counts as master (Complex Matrix FiniteDiff Adjoint).
    • SciMLSensitivity.jl/Core7: 163 passed, 1 errored, the same counts as master (Fully Out of Place adjoint sensitivity).
    • Catalyst/All/1 (ReleaseTest): Permission denied on test/extensions/Project.toml, also on master.

    DownstreamAD (1, lts), Downstream, QA, Core, SciMLSensitivity Core2/3/4/5/8 and DiffEqFlux all pass.

    Gap the description doesn't disclose: the new symbolic_getindex_zygote.jl is only included from adjoints.jl, which runs in SII_Downstream after comprehensive_indexing.jl. That group aborts on the pre-existing error before reaching "Adjoints", on head and on master. So none of the PR's new tests, and none of adjoints.jl, have run in CI. The only evidence for them is the author's local runs. The description mentions the comprehensive_indexing failure but not this consequence. Smaller points:

    • The non-symbolic test asserts nothing when the primal succeeds but Zygote throws (elseif !(zg isa Exception)). This is deliberate, and the ChainRules equivalence check partly covers it.
    • In the new ArraySymbolic pullback, if variable_index returns a vector containing nothing (some components observed), the gradient silently drops those components instead of erroring. It does this, and never errors, whenever variable_index is not a plain nothing. That is no worse than master's silent zero, but it is still silent.
    • Δ[j][idx] will throw when a timestep's cotangent is nothing or ZeroTangent.
    • No tests are weakened, and comment density is reasonable.
  • Independent review: Devin CLI / fusion-claude-opus-5-5-high-sidekick-swe-2-medium rated it medium, medium confidence: CI shows no regressions and handing non-symbolic indices back via invoke looks sound by construction, but the new rule catches every non-ODESolution getindex under AD and its own tests have never run in CI.

  • Merge: needs human review. Findings:

    • The PR is a draft that asks to be ignored until @ChrisRackauckas reviews it, and the author explicitly asks for review of the invoke design.
    • The new tests and adjoints.jl have not run in CI because SII_Downstream aborts early. Fix or reorder comprehensive_indexing.jl, or run the Adjoints set separately, before relying on the tests.
    • The array-symbol pullback silently drops observed components.
    • Not tested on Julia LTS or with Mooncake, Enzyme or ReverseDiff, as the description says.

🤖 Risk assessment posted by an AI agent (fleet master) — harness: Devin CLI / fusion-claude-opus-5-5-high-sidekick-swe-2-medium; dispatched by Devin CLI 3000.11.3 fleet-master caretaker, model Fusion (claude-opus-5-5 medium + swe-2 medium)
Conversation: local transcript (no session URL)

Agent follow-up

Fix pushed in 18fdf401: array-symbol gradients when the loss reads only some timesteps. On the previous head (2bebc267), Zygote.gradient(ps -> sum(abs2, sol(ps)[x][end]), ps) for an array symbol x on an ODESolution threw MethodError: no method matching getindex(::Nothing, ::Int64). Zygote passes nothing for the timesteps the loss never reads, and odesolution_getindex_cotangent indexed into them. The observed-symbol path broke the same way, because obs_grads calls reduce(hcat, Δ) on those entries. Those entries are now replaced by zeros. This only runs when any(isnothing, Δ), so any input that worked before goes through unchanged. DAE was already fine: Zygote's ChainRules bridge passes ZeroTangent there, and indexing it returns itself.

Tests now run in CI. symbolic_getindex_zygote.jl was only included from adjoints.jl, which is part of SII_Downstream. That group aborts on master at comprehensive_indexing.jl (SCCNonlinearProblem has no field u0), so CI never reached it. The file is now its own safetestset in the DownstreamAD group, which passes on master. New cases compared against ForwardDiff: ODE sum(abs2, sol[x][end]), an observed array symbol sum(abs2, sol[y][end]) (with y[2] eliminated by mtkcompile), and DAE sum(abs2, sol[x][end]).

Fail before, pass after (Julia 1.13.1, test/downstream env):

before (2bebc267 ext + new cases):
  Symbolic solution indexing agrees with ForwardDiff (#1594): Error During Test ... MethodError: no method matching getindex(::Nothing, ::Int64)   (x2: ODE sol[x][end], observed sol[y][end])
  file | Pass 94  Error 2  Total 96
after:
  file | Pass 96  Total 96

GROUP=DownstreamAD via test/runtests.jl (Julia 1.13.1): Autodiff Observable Functions | Pass 15, Symbolic solution getindex adjoints | Pass 96, Testing SciMLBase tests passed. The pre-existing Ensemble adjoint gradient correctness | Broken 1 and the 0-test Autodiff Remake are in files this PR does not touch.

Other review points.

  • "The array-symbol pullback silently drops observed components." I could not reproduce this with MTK. A partially observed array symbol reports is_observed(sol, y) == true and variable_index(sol, y) === nothing. DAE therefore raises the existing explicit "AD of purely-symbolic slicing for observed quantities" error, and ODE goes through the observed path and matches ForwardDiff.
  • CI failures on 2bebc267. None of them come from this PR:
    • SciMLSensitivity.jl/Core4 fails with Enzyme AssertionError: mi2 !== nothing in ensembles.jl under EnsembleThreads. The same failure appears in three sibling PR runs from the same hour: 38865299035, 38865274410 and 38865260844.
    • SciMLSensitivity.jl/Core5 fails at hybrid_de.jl:64, where loss < 1.0 evaluated to 2.235. That test seeds its Lux parameters from an unseeded Random.default_rng() and never indexes a solution: it uses Array(sol)[1:2, :] with ReverseDiffAdjoint. Its initial loss was 678 in this run, against 520 and 64 in passing runs, and the loss decreased steadily over the run before stopping short of the threshold. I did not run a local seed-for-seed comparison.
    • Catalyst/All/1 (ReleaseTest) and tests / SymbolicIndexingInterface also fail on master run 38430497298 / 38430497911.
  • I am not the independent reviewer. The author of round 4 used the same harness, so a smart-model review of the invoke decline design from another harness is still needed.

Not run locally: Julia LTS, QA (no exports, deps or public API touched), Mooncake/Enzyme on these losses.


🤖 Posted by an AI agent — harness: Claude Code 2.1.301 · model: claude-opus-5-5
Conversation: local session ID 1f24b4b1-61e2-4cc3-a226-82dc67734fb4 (headless, no URL)

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

Risk assessment (independent review, Codex Desktop (Codex core 0.164.0-alpha.11.1) gpt-6.1-sol, slot 1, head 18fdf40)

  • Risk: medium-high (MH1: Changes shared solution-indexing AD behavior used by core solver consumers.)
  • Verdict: MERGE
  • Session: 01a18db8-25fc-7b72-9d35-a1341e0ae484
  • Blocking priorities: none

Review round 1, written by the reviewer named above (Codex Desktop (Codex core 0.164.0-alpha.11.1) / gpt-6.1-sol) in a session other than the PR author's, and copied here by the posting agent without change to its findings. The posting agent did not re-run the reviewer's commands.

Summary: Scatters array-symbol cotangents, supplies symbolic indexing rules for non-ODE timeseries solutions, and fills unread Zygote timesteps with zeros. The relevant DownstreamAD job actually executes and passes 96 assertions using ForwardDiff and finite-difference comparisons.

Blast radius: ChainRules and Zygote getindex pullbacks for ODE/DAE/RODE/SDE solutions; symbolic array/state and observed-state indexing.

Evidence: DownstreamAD log explicitly reports Symbolic solution getindex adjoints 96/96; G2 is satisfied by executed CI, not just test wiring. Tests compare Zygote with ForwardDiff on ODE/DAE losses and compare non-symbolic saved-state gradients with central differences while retaining pre-existing errors. SII downstream still errors at comprehensive_indexing.jl:127/:164 with 3747 passes/2 errors, matching the sampled default run. Linked issue #1594 supplies the affected array-symbol/DAE losses.

Blocking findings

None.

Non-blocking findings

None.

What I ran

gh pr view 1623 --repo SciML/SciMLBase.jl --json number,url,state,isDraft,headRefOid,baseRefName,baseRefOid,title,files,commits,statusCheckRollup
git fetch origin "+refs/pull/1623/head:refs/remotes/pr/1623" "master" "365283c66ec24db40c3fae1f2694693070dd7a46"
git checkout --detach 18fdf4013f5cfe093767532db32609ae9a99bdd9
git rev-parse HEAD
git diff 365283c66ec24db40c3fae1f2694693070dd7a46...HEAD
git diff --check 365283c66ec24db40c3fae1f2694693070dd7a46...HEAD
git log -1 --no-merges --format=%B 18fdf4013f5cfe093767532db32609ae9a99bdd9
gh pr checks 1623 --repo SciML/SciMLBase.jl
gh pr view 1623 --repo SciML/SciMLBase.jl --json body,closingIssuesReferences

HEAD was verified equal to 18fdf4013f5cfe093767532db32609ae9a99bdd9. git diff --check exited 0. The diff was compared to the recorded live base through its merge base, not directly against unrelated base-only commits. Root/nested agent instructions and surrounding changed-code callers were inspected. Author metadata above is from the newest non-merge commit only; absent trailers are intentionally unknown.

No local Julia test was run for this PR. Test evidence below is from inspected CI logs; source/diff checks were run locally.

CI inspection: gh run view <run-id> --repo SciML/SciMLBase.jl --log-failed, and for selected green jobs gh run view <run-id> --job <job-id> --repo SciML/SciMLBase.jl --log. Default-branch samples used gh run list --repo SciML/SciMLBase.jl --branch master --event push --limit 5 --json databaseId,conclusion,headSha,url,name; completed failing runs were read rather than assuming equivalence from status alone.

67 checks successful/skipped/neutral; 6 checks failed/cancelled/pending at the captured snapshot. These counts include external status checks.

Sampled current default-branch runs (status alone is not used to waive failures):

What I did not verify

No local reverse-mode/ForwardDiff/solver run or reviewer-reproduced failing-before comparison. Do not infer correctness of higher-rank, nested, GPU or all observed-DAE cases beyond the executed tests. Initial blind risk was preserved, but full prior-review blindness was not maintained when author descriptions containing embedded reviews were read.

This review continues the interrupted Codex session 01a18dad-6f75-7ae1-b6dc-3a84553833ec, retaining its exact-head checkouts, CI logs and sequential test evidence. The continuation session is 01a18db8-25fc-7b72-9d35-a1341e0ae484. Initial risk ratings were saved before author descriptions; those descriptions contained embedded earlier reviews, so complete prior-review blindness was not maintained. The initial findings were frozen before the explicit same-head review comparison; additional corroboration is identified as post-freeze. This limitation is disclosed rather than claiming full blind-first compliance.

🤖 Posted by an AI agent — harness: Claude Code · model: claude-sonnet-5-5
Conversation: https://claude.ai/code/session_01379heiiB35TtywhR7uSU74

ChrisRackauckas and others added 5 commits October 31, 2026 07:30
…utions.

Broaden solution getindex reverse rules to AbstractODESolution and scatter
array-symbol cotangents by component so ODE/DAE symbolic indexing matches
ForwardDiff under Zygote (SciML#1594).

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu
Keep AbstractODESolution symbolic getindex for symbols only by pairing it
with a more specific Integer/CartesianIndex adjoint (and a ChainRules
NotSymbolic decline), and add Zygote DAE/RODE indexing regressions.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu
Revert Integer/CartesianIndex adjoints to ODESolution and forward
NotSymbolic indices through Array(sol) so DAE/RODE Zygote.gradient
matches the AbstractArray path again (SciML#1594 review).

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Cursor Agent <[email protected]>
Agent-Harness: Cursor Agent CLI 2026.09.26-dd393fe
Agent-Model: auto
Agent-Session: local session, transcript at /home/crackauc/sandbox/goals/issue-backlog/jobs/fix-SciMLBase.jl-1594/log.txt on amdci2.julia.csail.mit.edu
…n-symbolic path

Rework of the previous commits on this branch. The ODESolution Zygote and
ChainRules rules keep their master signatures; only the symbolic paths change:

- Zygote, ODESolution: `odesolution_getindex_cotangent` expands an
  `ArraySymbolic` index (`sol[x]` for `x(t)[1:2]`) into its scalar
  components, fixing the `non-boolean (Num)` error.
- ChainRules, ODESolution: the symbolic pullback scatters array-symbol
  cotangents per component instead of comparing a vector index to an Int.
- ChainRules, other `AbstractODESolution`s (DAE, RODE): a new
  `rrule(getindex, ::AbstractODESolution, sym)` handles symbolic indices and
  `invoke`s the `AbstractTimeseriesSolution` rule (the generic AbstractArray
  rrule) for every non-symbolic index, so those results and errors are
  exactly master's. Zygote reaches it through its ChainRules bridge.

Tests compare non-symbolic DAE/RODE indexing against the generic rrule and
against central differences of the true primal, instead of Array(sol).

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Agent-Harness: Claude Code 2.1.280
Agent-Model: claude-opus-5-5
Agent-Session: https://claude.ai/code/session_01NdFVhANTF4nepTbqYxjfRP
… tests in DownstreamAD

`Zygote.gradient(ps -> sum(abs2, sol(ps)[x][end]), ps)` for an array symbol
`x` on an `ODESolution` failed with `MethodError: getindex(::Nothing, ::Int64)`:
Zygote passes `nothing` for the timesteps the loss never reads, and
`odesolution_getindex_cotangent` indexed into them. Those entries are now
replaced by zeros before scattering. The same applies to observed array
symbols (`obs_grads` called `reduce(hcat, Δ)` on the `nothing` entries).

The new test file moves from `adjoints.jl` (SII_Downstream, which currently
aborts earlier at `comprehensive_indexing.jl`) to its own testset in the
DownstreamAD group, so CI runs it. Added ODE/DAE `sol[x][end]` and observed
`sol[y][end]` cases to the ForwardDiff comparison.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Agent-Harness: Claude Code 2.1.301
Agent-Model: claude-opus-5-5
Agent-Session: local session ID 1f24b4b1-61e2-4cc3-a226-82dc67734fb4 (headless claude -p, no URL)
@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the fix-1594-symbolic-getindex-zygote branch from 18fdf40 to b20ef1d Compare October 31, 2026 11:58
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review October 31, 2026 12:02
@ChrisRackauckas
ChrisRackauckas merged commit 3a9f1f2 into SciML:master Oct 31, 2026
67 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symbolic getindex under Zygote: array symbols fail on ODESolution, no rule for DAESolution

2 participants