potentialpaper

What Comes Next and Why: Interpretable Next-Event Prediction with Neuro-Symbolic Rules

Tim Nico Bauerschmidt, Isabel Valera, Jilles Vreeken

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a neuro-symbolic model that learns sequential rules for interpretable next-event prediction.

Abstract. In real-world applications, being able to explain why a prediction is made is often as important—if not more so—than achieving high accuracy. However, existing methods for sequential event prediction typically prioritize accuracy at the expense of interpretability. Neuro-symbolic approaches offer a promising direction to improve interpretability by learning symbolic rules, but extending them to next-event prediction is challenging due to the presence of temporal dependencies. We introduce RULES, a neuro-symbolic model that learns sequential rules directly from data, and combine it with a residual network to form RUNES (Rule Network for Event Sequences). RULES accurately recovers ground-truth rules from synthetic data and discovers compact, interpretable rule sets on real data. RUNES combines these rules additively with a residual network, achieving competitive accuracy while providing transparent access to active rules and how residuals adjust predictions.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
28 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary of claims/findings

The paper introduces RULES (a NeSy rule learner) and RUNES (its integration with a residual net) for sequential event prediction, tackling chiefly interpretability while retaining prediction accuracy. One reviewer is very supportive of acceptance, the remaining two are not as committed. I warmly encourage the authors to address/respond to the main weaknesses listed below.

Main Strengths

  • Well written and organized
  • Well motivated: interpretability can be critical in applications
  • Overall, technically sound; the proposed approach seems to at least partially align with the motivation (in that RULES is purely rule-based; RUNES augments it to improve performance while trading off some interpretability). however, W2 and W3 will require backing up this point.
  • The technology used for combining the rule-based and neural models was especially appreciated by one reviewer
  • The experiments are reasonably convincing; they include both synthetic (controlled) and real-world data and the results are promising

Main Weaknesses, best addressed first

  • W1: The most negative review pointed out a gap in prior work coverage (namely, on inductive logic programming and on integration of linear temporal logic and neural nets, both of which are at least in principle relevant). Addressing this critique seems to be essential.
  • W2: One reviewer asked to clarify the extend by which the contribution of the residual network affects interpretability. For instance, assessing its total impact (e.g., in terms of number of affected test examples, or in overall magnitude of the contribution) would help support interpretability claims.
  • W3: Moreover, more support should be provided re the interpretability of the rules themselves: are they always interpretable or useful to practitioners?
  • W4: One reviewer recommends comparing against a stronger modern sequence-modeling baseline. This should be done (if time allows!); alternatively, the authors should clarify why additional baselines are unsuitable.
  • W5: Finally, the authors should prove more details on baseline tuning and selection to clarify how sensitive the conclusions are to choices of Transformer size, lookback window, etc.

Minor weaknesses

  • Please see reviewer's 87cD questions.
Final justification

The rebuttal did manage to clarify most outstanding issues. One reviewer is still quite negative about the paper, although the reviewers have (in my opinion, rather successfully) resolved the issues they pointed out. The main issue appears to be that the problem tackled by the authors admits an encoding in first-order logic; but I agree with the authors that having an encoding does not imply the existence of a learning algorithm.

All in all, this seems to be a solid contribution; and the proposed changes are all meaningful and will improve the manuscript.

Area Chair XMRk · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Summary of claims/findings

The paper introduces RULES (a NeSy rule learner) and RUNES (its integration with a residual net) for sequential event prediction, tackling chiefly interpretability while retaining prediction accuracy. One reviewer is very supportive of acceptance, the remaining two are not as committed. I warmly encourage the authors to address/respond to the main weaknesses listed below.

Main Strengths

  • Well written and organized
  • Well motivated: interpretability can be critical in applications
  • Overall, technically sound; the proposed approach seems to at least partially align with the motivation (in that RULES is purely rule-based; RUNES augments it to improve performance while trading off some interpretability). however, W2 and W3 will require backing up this point.
  • The technology used for combining the rule-based and neural models was especially appreciated by one reviewer
  • The experiments are reasonably convincing; they include both synthetic (controlled) and real-world data and the results are promising

Main Weaknesses, best addressed first

  • W1: The most negative review pointed out a gap in prior work coverage (namely, on inductive logic programming and on integration of linear temporal logic and neural nets, both of which are at least in principle relevant). Addressing this critique seems to be essential.
  • W2: One reviewer asked to clarify the extend by which the contribution of the residual network affects interpretability. For instance, assessing its total impact (e.g., in terms of number of affected test examples, or in overall magnitude of the contribution) would help support interpretability claims.
  • W3: Moreover, more support should be provided re the interpretability of the rules themselves: are they always interpretable or useful to practitioners?
  • W4: One reviewer recommends comparing against a stronger modern sequence-modeling baseline. This should be done (if time allows!); alternatively, the authors should clarify why additional baselines are unsuitable.
  • W5: Finally, the authors should prove more details on baseline tuning and selection to clarify how sensitive the conclusions are to choices of Transformer size, lookback window, etc.

Minor weaknesses

  • Please see reviewer's 87cD questions.
Final justification

The rebuttal did manage to clarify most outstanding issues. One reviewer is still quite negative about the paper, although the reviewers have (in my opinion, rather successfully) resolved the issues they pointed out. The main issue appears to be that the problem tackled by the authors admits an encoding in first-order logic; but I agree with the authors that having an encoding does not imply the existence of a learning algorithm.

All in all, this seems to be a solid contribution; and the proposed changes are all meaningful and will improve the manuscript.

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary

We thank the Area Chair for the balanced and constructive summary. Below, we summarize our rebuttal responses to the main weaknesses.


W1: Related Work. We clarify the relationship between RULES and prior work on sequential ILP and on combining LTL with neural methods, incorporating the works [1–5] cited by Reviewer q51v. While ILP approaches share the goal of learning logical rules from data, they target different problems than next-event prediction on timestamped sequences: e.g., [1] induces an explanatory theory over sequences without timestamps, and [2] learns temporal rules over relational hypergraphs. Methods combining LTL with neural networks typically take temporal-logic formulas as input (e.g., as prior knowledge or specifications) [3,4,5], whereas RULES addresses the reverse direction of discovering temporal rules from data. Finally, we connect our rule language to a fragment of Metric Temporal Logic (MTL). We will incorporate these clarifications into the related-work section, leaving our technical contributions and empirical findings unchanged.

W2: Impact of the Residual on Interpretability. RUNES is a hybrid model offering an accuracy–interpretability trade-off. Although the residual network is a black box, its impact on a prediction is fully transparent: rule and residual contributions are additive in the logit space of the predicted event and therefore individually traceable. This reveals whether the residual network agrees with the prediction of RULES and how much it shifts each event's logits, which also shows exactly which rule contributions are overridden and by how much.

The paper quantifies both the overall impact of the residual and its role in individual predictions. Table 2 (App. J.2) shows that, averaged across the test sets of real datasets, the residual overturns correct predictions of RULES in 3% of cases when a rule is active, corrects wrong predictions in 17% of these cases, and preserves correct rule-based predictions in 40%. Fig. 3 and App. J.3 show that the uncertainty of RULES (entropy) and the magnitude of the residual shift (symmetric KL divergence) correlate with a correct override, letting users decide when to prioritize interpretability (RULES only) or predictive accuracy (adding residual logits).

W3: Interpretability of Rules. We show that RULES produces compact, fully inspectable temporal rule sets (Sec. 4.2, App. J.1 and J.8) that make its prediction mechanism transparent. Because rules are predictive, they capture statistical structure present in the data. We do not claim that every individual rule is universally useful, as this naturally depends on the application domain and user. Rather, their explicit symbolic structure makes them directly analyzable. To support this, we expand the paper's qualitative results (App. J.8) in our response to Reviewer VUXp, analyzing learned rules per dataset, and we will include these results in the revision. Evaluating the practical utility of rules through user studies is an important direction for future work.

W4+W5: Baseline Selection and Stronger Baselines. We select baselines to evaluate our two contributions: (i) RULES, a compact and fully interpretable model, and (ii) RUNES, a hybrid architecture that transparently combines RULES with a residual network:

  1. For RULES, we are not aware of other interpretable methods designed for next-event prediction on timestamped sequences. We therefore adapt PPM, CatBoost, and XGBoost as widely used predictive baselines that admit a symbolic representation.

  2. For RUNES, the choice of predictive model is orthogonal to our contribution: stronger sequence models can replace the residual without changing the RULES component or the rule–residual decomposition. The transformer used in our experiments already provides a strong neural reference, outperforming all other models on the real-world datasets.

Incorporating stronger predictive baselines would therefore mainly raise accuracy (of both the neural reference and RUNES), leaving our central conclusions regarding the accuracy–interpretability trade-off unchanged.

W5: Baseline Tuning. App. H details the hyperparameter selection. In summary, the lookback window is selected once per dataset and fixed across all methods, ensuring that every method uses the same input (history). PPM, CatBoost, and XGBoost are tuned via per-dataset grid search, while the transformer (and thus the RUNES residual) uses a fixed architecture and hyperparameters throughout.

In our response to Reviewer VUXp, we further ablate the lookback window size on Commits, where RULES outperforms all competing methods with symbolic representations. This advantage is preserved even when the window is tuned independently for each baseline.

Reviewer 87cDOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces a new inductive architecture for learning interpretable rules for predicting multi-event sequences; the first component (RULES) induces a relatively small (tens not thousands) set of rules on categorical sequences ordered temporally, which seem a lot like the kinds of association rules that data mining research has identified for some time. The heuristic identification of rules by RULES provides a basis for evaluation by measuring their accuracy on large event sequences. Then second architectural component, RUNES, uses a transformer based method to augment the "frozen" RULES sets of rules, to correct some predictions and detect errors.

The overall idea for the two component architecture is argued to provide an instance of a neurosymbolic system that achieves good predictive performance as well as preserving human interpretability by the form in which RULES rules are written. Overall, the idea is relatively well describe in the limited length paper, and the big idea is worth conveying at NeurIPS.

The description of the rule syntax and how it is related to relatively general specification of categorical sequences is pretty well described, and the experiments that learn RULES and then subsequently learn to improve them (RUNES) is demonstrated with diver data sets, and the correction analysis results provide a relatively easy to interpret sense of RUNES value.

As in all such new ideas, one could always suggest more experiments to more deeply validate the idea; but perhaps the idea is general enough so that a better future development would be to identify the source of errors corrected by RUNES more deeply, to better inform a human about what to watch for in the design of an improved RULES component? In addition, the general questions about the heuristic choices of methods (in this case "tempurature" heuristic use), for example on "edge" cases, e.g., suppose in a finite sequence of N events, the only rule is N-1 events predicting the Nth event? How do the tradeoffs emerge when one adjusts the heuristic properties of choosing event length? Can RUNES expose any principles regarding the impact of even length choices? And further such questions.

Overall, relatively simple idea, well-described and sufficiently tested to demonstrate enduring value if further developed.

Strengths and weaknesses

As noted in the summary, the paper is relatively clear, the two component architecture is well-motivated, and the initial demonstrations of value are sufficient to demonstrate the value of the high level idea.

Questions

It would be nice to see a deeper analysis of the limitations and of the kind of different heuristic measures that might be tested with respect to the size and coverage of the rule antecedents and consequences (e.g., length of intervals between events).

Limitations

Already noted above. More analysis of edge cases to provide a more intuitive sense of scope of possible rule "shapes" and the impact on interpretability.

Formatting concerns

None.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their positive and thoughtful assessment. Their questions point to genuinely interesting directions, which we address below.


Using RUNES Diagnostically. The corrections of RUNES are indeed a signal about where the learned RULES network is under-expressive, i.e., the events on which the residual network overrides RULES localize the patterns the current rules cannot capture. We currently report how often the residual network changes predictions and how strongly it changes the distribution of RULES; extending it to characterize those cases (e.g., whether corrections cluster on longer-range dependencies or particular interval regimes) is, as the reviewer suggests, a natural way to feed back into RULES design.

Model Behavior and Edge Cases. Our synthetic experiments evaluate RULES across a broad range of controlled settings designed to assess key aspects of the learning problem. We agree that studying additional data distributions and edge cases would further characterize the boundaries of our approach, for example: How large can the antecedent–consequent distance stretch? What is the maximum antecedent size that remains learnable? As one example, the reviewer considers a setting where the only rule predicts the Nth event from all preceding N−1 events. While we have not analyzed this specific scenario, our existing synthetic experiments show that when a ground-truth antecedent is overly specific (many elements), RULES tends to learn smaller, more general antecedents that remain predictive (see e.g., Sec. 4.1). Analyzing how this behavior scales with increasingly complex dependencies is an interesting direction for future work.

Regarding delay intervals (event lengths): predictive training naturally discourages overly wide windows, since rules that activate on many events become less discriminative. Nevertheless, explicitly regularizing interval width or antecedent size, for example through differentiable losses or alternative temperature annealing schedules, could further improve robustness and warrants further investigation.

Measures for Rule Assessment and Rule Shape. Support (coverage) and confidence (certainty) are the standard measures for assessing symbolic rules; our code computes both, although we omit formal definitions and discussions due to space constraints. Tables 1 and 2 indicate that the learned rules achieve meaningful support and confidence, since they are both sufficiently frequent and sufficiently specific to contribute to accurate predictions. Regarding rule shape, App. J.4 reports the average antecedent size, delay-interval width, and number of rule activations per predicted event across the real-world datasets, while App. J.8 lists the complete rule set learned on Amazon. As with many heuristic optimization methods, some end-to-end learned rules contain redundant antecedent events or overly broad delay intervals. We mitigate these effects through symbolic post-processing (App. B2–B4, J.4). We agree that further analysis of rule shape and quality is a promising direction for improving rule learning.

Reviewer 87cD · CommentOpenReview ↗

As with other respondents, I maintain my positive rating.

Authors · CommentOpenReview ↗

We thank the reviewer for the continued positive rating; we appreciate it.

Reviewer VUXpOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents RULES and RUNES for interpretable next-event prediction over temporally ordered event sequences. While much prior work on sequential prediction emphasizes accuracy, this paper focuses on learning human-readable temporal rules that capture event dependencies and relative time intervals. RULES implements a differentiable neuro-symbolic architecture for learning temporal conjunctive prediction rules, and RUNES augments the frozen rule-based model with a residual Transformer to improve predictive accuracy while exposing a trade-off between rule-based interpretability and neural correction.

Strengths and weaknesses

Strengths:

S1. The motivation is important and well aligned with the method design. The paper tackles the accuracy-interpretability tension in sequential event prediction, and RULES is a thoughtful attempt to make temporal symbolic rules learnable end-to-end.

S2. The residual design in RUNES is clever. Adding residual logits on top of a frozen rule model is a natural way to preserve access to rule-based predictions while improving accuracy when the rule model is insufficient.

S3. The paper includes experiments across synthetic and real-world datasets, together with ablations and analyses of the residual network. The synthetic setting is especially useful because it allows evaluation of whether the learned rules recover known generative structure.

Weaknesses:

W1. Limited interpretability after residual correction: The interpretability of RUNES after residual correction is not fully clear. The final prediction combines rule logits with a high-capacity Transformer residual, and the residual component remains largely black-box. More importantly, it is unclear how the final RUNES prediction should be represented as an interpretable rule-based explanation once the residual component intervenes. RULES can export symbolic rules, but RUNES appears to export only the rule component plus an opaque residual adjustment, rather than a complete symbolic explanation of the final prediction.

W2. The paper’s interpretability evidence is underdeveloped. Since interpretability is central to the motivation, I expected more qualitative and systematic analysis of the discovered rules. The appendix provides some examples, but there is limited discussion of whether the rules are meaningful, spurious, surprising, or useful to domain experts. Some extracted rules appear intuitive, while others look potentially accidental or overfit.

W3. The baseline and reporting choices leave some uncertainty. The main tables report the best model selected from multiple seeds, while mean and standard deviation are moved to the appendix. The Transformer baseline is modest in scale, and the baselines may not include the strongest modern sequential recommendation or event-sequence models. PPM does not use temporal intervals, and tree models rely on flattened lookback features, so some comparisons may favor the proposed temporal rule structure.

Questions

Q1. Regarding W1, how should users interpret or export explanations for a RUNES prediction when the residual Transformer substantially changes the rule-based logits? Can the final prediction still be represented as a rule, or should it be presented as “activated rules plus residual correction”? If the latter, what information about the residual correction should be shown to make the explanation meaningful rather than merely reporting that a black-box component changed the logits?

Q2. Regarding W2, could the authors provide a deeper qualitative analysis of the discovered rules? For example, for each real-world dataset, which rules match domain intuition, which rules reveal non-obvious insights, and which rules may be spurious or low-support artifacts?

Q3. Regarding W3, could the authors provide more details on baseline tuning and selection? In particular, how sensitive are the conclusions to the Transformer size, the lookback window selected via RULES, and inclusion of stronger modern sequence-modeling baselines?

Limitations

The authors discuss several limitations, including scalability, hyperparameter sensitivity, and the fact that the chosen rule class may not capture all dependencies in real-world sequences. However, I think the limitation discussion should more explicitly address the interpretability boundary introduced by the residual Transformer, the possibility of spurious but compact learned rules, and the limited qualitative evidence that the extracted rules produce actionable insight.

Final justification

I keep my original rating of borderline accept. The authors resolved my questions on the rule–residual decomposition, the qualitative analysis of the learned rules, and baseline tuning. What remains is the low rule-activation rate on the largest dataset, where most predictions fall back on the residual alone, which is why I do not go higher.

Formatting concerns

N/A

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful reading and constructive review, and for identifying our model design and synthetic evaluation as strengths. We address the raised questions below.


Interpretability after residual correction (W1 + Q1, Meta Review W2)

A RUNES prediction does decompose into "active rules + residual correction". While the residual network is itself a black box, its contribution on a prediction is fully explicit: all rule and residual contributions are additive in the logit space of the predicted event and therefore individually traceable. Beyond reporting whether the residual overturns the prediction of RULES, a RUNES explanation can expose: (i) the logits of which events shifted most (distributional change), (ii) which rule contributions were overridden and by how much, and (iii) active rules that supported the RUNES prediction but were outweighed by other rules. The magnitude of the shift is itself informative: as shown in Fig. 3 and App. J.3, larger residual shifts correlate with whether an override in the predicted event is correct. This allows users to choose between a purely rule-based prediction (maximal interpretability) and the hybrid RUNES prediction, which trades some interpretability for higher accuracy while retaining a fully traceable additive decomposition.

Regarding Meta Review W2 (which we cannot respond to separately): we quantify the residual's impact on rule-based predictions in Table 2, App. J.2 and J.3.

Qualitative Analysis of Discovered Rules (W2 + Q2, Meta Review W3)

Before discussing the learned rules, we clarify what we claim. RULES produces compact, fully inspectable temporal rule sets (Sec. 4.2, App. J.1 and J.8) that make its prediction mechanism transparent. Because rules are predictive, they capture statistical structure present in the data, expressed in a clear logical form. Whether a particular rule is semantically insightful or directly useful to a domain practitioner depends on the rule, the domain, and the user. Our goal is therefore not to claim that every discovered rule is universally insightful, but rather that the learned rule set is transparent, compact enough for inspection, and can be checked against domain knowledge when available.

Below, we summarize our findings per dataset, omitting Rolling Mill since it is derived from proprietary data and only contains uninformative integer events. Recall that antecedents are conjunctions, while the discretized consequents reflect disjunctions.

Amazon. We present all rules discovered by RULES on Amazon in App. J.8. Expanding the discussion there, “intuitive” rules such as

  • {(pants, [ε, ε])} ⇒ {pants, sweater}
  • {(electronic gift card, [ε, 48])} ⇒ {electronic gift card}
  • {(fruit, [ε, ε])} ⇒ {meat, poultry, salad dressing, fruit, vegetable, legume, milk substitute},

which reflect that people tend to buy items from similar categories, are generally those with high support and confidence. The main non-obvious signal is in the learned delays: pants are often purchased on the same day, whereas gift cards tend to be bought up to 48 days after a previous gift-card purchase. This is a temporal distinction our windows capture and order-only rules cannot.

Holidays. Holidays has known ground-truth temporal structure, letting us verify rule correctness directly: some holidays occur on a fixed date (e.g., New Year's Day), others at a fixed offset from Easter Sunday. Most extracted rules are exact with perfect confidence, e.g.,

  • {(Good Friday, [3, 3])} ⇒ {Easter Monday}
  • {(Ascension Day, [11, 11])} ⇒ {Whit Monday}.

The remaining rules such as {(New Year's Day, [80, 112])} ⇒ {Good Friday}, are also correct but below 100% confidence (here Easter Monday can fall in the activation window). Each of the 14 holidays is covered by at least one rule, with some redundancy where multiple rules predict the same event.

Commits. Rules capture common author-succession patterns of Git commits, e.g.,

  • {(tridge, [1, 1])} ⇒ {vlendec, derrell, vl} (support: 539, confidence: 34%)
  • {(sahlberg, [3, 16])} ⇒ {sahlberg} (support: 110, confidence: 10%)
  • {(jra, [2, 8]), (kseeger, [1, 3]), (martin, [1, 7])} ⇒ {sahlberg, obnox, martin} (support: 27, confidence: 59%),

where the parentheses report training-set statistics. These rules exhibit non-trivial temporal relations, although we lack domain expertise to confirm whether they match true workflows. Nonetheless, the rules are interpretable to an outsider and form the basis for the predictions of RULES.

Chorales (16th-note offsets). The two rules with the highest training support

  • {(A4, [1, 4])} ⇒ {G4, B4, G#/Ab4, A#/Bb4} (support: 308, confidence: 68%)
  • {(C#/Db5, [2, 8])} ⇒ {D5, B4, C#/Db5} (support: 254, confidence: 71%),

capture expected melodic tendencies: the first predicts movement to a note's immediate whole-tone and semitone neighbours; the second similarly captures whole-tone (C#5 → B4) and semitone (C#5 → D5) motion, with the remaining consequent (note repetition) reflecting another common continuation consistent with its ~71% confidence. The rule

  • {(C5, [6, 18]), (A4, [1, 8])} ⇒ {G4, F4} (support: 92, confidence: 43%)

captures a descending line, which requires two distinct delay intervals to express.

Artifacts. As the reviewer anticipated, we observe some high-confidence, low-support rules that overfit individual occurrences, as well as some rules with low confidence. For example, on Amazon

  • {(body deodorant, [62, 62]), (pajamas, [87, 87])} ⇒ {ce accessory}

has support 2 and confidence 100% on the train set. Such rules can be trivially flagged by their low support or confidence and filtered out if desired.

We will include these analyses in the revision. Overall, the learned rules often align with known domain structure when such knowledge is available (e.g., Holidays). In domains where no ground truth exists, the rules remain transparent hypotheses that practitioners can inspect, validate, or reject. Evaluating their practical utility through user studies is an interesting direction for future work.

Baseline Selection and Tuning (W3 + Q3, Meta Review W4 + W5)

Baseline Selection. Our goal is not to propose a new state-of-the-art next-event predictor, but (i) a compact, fully interpretable model (RULES) and (ii) a hybrid architecture (RUNES) that explicitly exposes the trade-off between interpretability and predictive accuracy. Accordingly, we select baselines to evaluate these two contributions.

For RULES, we are not aware of symbolic methods specifically designed for next-event prediction on timestamped sequences. We therefore compare against flexible and widely used predictive models that can be represented symbolically—PPM through variable-order contexts and CatBoost/XGBoost through decision trees—and adapt them as faithfully as possible to our setting (App. D).

For RUNES, the choice of predictive backbone is orthogonal to our contribution. The residual network is a modular component whose purpose is to model what the interpretable rule set cannot explain. We therefore use a transformer as a strong and widely adopted neural sequence model, which on its own already outperforms all methods on the real-world datasets. More powerful sequence models could be substituted directly as the residual network, improving absolute predictive performance without changing the interpretable rule component or the rule–residual decomposition. Consequently, the question of maximizing predictive accuracy is orthogonal to the contribution of RUNES, whose objective is to expose and control the accuracy–interpretability trade-off.

Baseline Tuning. We describe the hyperparameter selection in detail in App. H. Briefly, the lookback window is selected once per dataset and then fixed across all methods, so every method uses the same input history. For PPM, CatBoost, and XGBoost, we perform a grid search on every dataset. For RULES, we use fixed hyperparameters on the synthetic datasets and manually tune them on the real-world datasets. For the transformer—and thus the RUNES residual—we use the same architecture and hyperparameters throughout. The transformer has sufficient capacity to fit all datasets, exhibiting clear overfitting (mitigated by early stopping) on every dataset except Amazon, which is substantially larger. As discussed above, stronger transformers with higher performance can also be incorporated directly as the RUNES residual network.

Reporting (mean/std). The main tables report the best model per method by validation performance, which keeps reporting consistent across the three-stage RUNES pipeline (end-to-end training of RULES → training RULES with symbolically refined rules → training the residual network), where each stage selects the best model from the previous on. Mean and standard deviation across this pipeline are in App. J.5.

Lookback Window. On Holidays and Chorales we use a window with natural meaning (one year; three 4/4 bars or four 3/4 bars). For the other datasets, we tune the loockback window for RULES, then apply it to all other methods, so they operate on the same data. To show sensitivity, we ablate window size on Commits (where RULES leads the symbolic baselines), following the Table 1 protocol (reporting test accuracy):

Window Size RULES CatBoost XGBoost Transformer
12 18.32 17.81 16.68 19.71
24 19.60 15.55 17.03 20.10
36 13.65 15.46 16.26 20.23
48 12.68 17.34 16.24 20.14

The performance of RULES drops for larger window sizes, likely because the hyperparameters (tuned for window 24) transfer poorly to wider windows, where good event delay intervals are harder to learn. Nonetheless, at both its selected window (24) and the shorter window (12), RULES outperforms every symbolic-baseline configuration in the table.


We hope these clarifications address the raised concerns, and we are happy to discuss further.

Authors · CommentOpenReview ↗

Dear Reviewer,

Thank you again for your thoughtful review and feedback. In our rebuttal, we addressed all of your comments with clarifications and new results.

As the discussion period comes to a close, we would appreciate it if you could let us know whether your questions have been addressed or if any points remain to be discussed. If you find the rebuttal satisfactory, we would be grateful if you would consider reflecting this in your final evaluation.

Thank you for your time!

Reviewer VUXp · CommentOpenReview ↗

Thank you for the detailed rebuttal and for the additional experiments. The per-dataset qualitative analysis of the learned rules addresses my main concern, and the clarifications on the rule–residual decomposition and on baseline tuning (including the lookback ablation on Commits) are helpful. I will maintain my positive rating.

One small suggestion for the revision: it would be useful to report how often at least one rule is active on each dataset, since this determines when the symbolic part of a RUNES explanation is available. Stating this alongside Table 2 would make the interpretability claim easier to read.

Reviewer q51vOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work studies neuro-symbolic learning of sequential rules for next event prediction. The authors propose a type of sequential rules, named Temporal Conjunctive Prediction Rules, which are relaxed into RULES, a differentiable and interpretable model. To further enhance the prediction accuracy, the authors add a residual network alongside RULES, resulting in RUNES, which can also be learned in a differentiable way, while still keeping the interpretability to some extent. Experimental results reveal that RULES is able to recover ground-truth rules on synthetic data and learns meaningful rules on real data, and that RUNES can achieve competitive performance with neural baselines.

Strengths and weaknesses

Strengths

  1. The manuscript is well organized and easy to follow.
  2. The proposed models are technically sound and original.
  3. This work contributes a path towards neuro-symbolic learning. Not only learning temporal logic rules in a differentiable way, but also enhance rule inference with neural predictions.

Weaknesses

  1. A relevant field is ignored in this manuscript. Inductive logic programming also learns rules from data, and several works also target at learning rules for sequential data. A none-exhaustive list of works includes [1][2]. This work should explicitly discuss, compare with, or experiment with them.
  2. Another ignored but relevant field is combining linear temporal logic and neural networks. Linear temporal logic is studied in other fields of AI, which is a very natural formal system that seems relevant to your work. A none-exhaustive list of works includes [3][4][5]. Perhaps all of them are not applicable to next event prediction, a discussion is necessary.
    • Besides, any work on logical rules learning requires a formal logic system, and linear temporal logic seems to be a natural formal system to next event prediction. In this work, the authors proposes Temporal Conjunctive Prediction Rules, which makes sense but seems heuristic. A comparison between Temporal Conjunctive Prediction Rules and existing temporal logic system is helpful.

[1] Richard Evans, Jos´e Hern´andez-Orallo, Johannes Welbl, Pushmeet Kohli, and Marek Sergot. Making sense of sensory input. Artificial Intelligence, 293:103438, 2021. ISSN 0004-3702. doi: https://doi.org/10.1016/j.artint.2020.103438.

[2] Yang, Y., Xiong, S., Payani, A., Kerce, J. C., & Fekri, F. (2022). Temporal inductive logic reasoning over hypergraphs. arXiv preprint arXiv:2206.05051.

[3] Vaezipoor, P., Li, A. C., Icarte, R. A. T., & Mcilraith, S. A. (2021, July). Ltl2action: Generalizing ltl instructions for multi-task rl. In International Conference on Machine Learning (pp. 10497-10508). PMLR.

[4] C. Paxton, V. Raman, G. D. Hager and M. Kobilarov, "Combining neural networks and tree search for task and motion planning in challenging environments," 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Vancouver, BC, Canada, 2017, pp. 6059-6066, doi: 10.1109/IROS.2017.8206505.

[5] Hahn, C., Schmitt, F., Kreber, J. U., Rabe, M. N., & Finkbeiner, B. Teaching Temporal Logics to Neural Networks. In International Conference on Learning Representations.

Questions

Can you discuss, compare with, or experiment with the works mentioned in Weaknesses?

Limitations

yes

Final justification

I will maintain my negative evaluation for the following reasons.

  1. Several fundamental properties of the proposed temporal logic are not clear, such as soundness and completeness.
    • Although the authors claim that they do not target developing a new formal system, they indeed propose new temporal logic rules. Without a formal system, we cannot understand whether the rules are meaningful. For example, do the rules preserve validity? (This is a very fundamental question in logic)
  2. The comparison with existing works is not sufficient. In the rebuttal, the authors mainly compare their method with the extra literature I listed, which I have claimed is non-exhaustive.
    • Again, since the authors propose a new set of temporal logic rules, a comprehensive comparison to prior temporal logic is indispensable.

Other reasons:

  • Several temporal ILP methods are applicable with minor reformulation of the task, and I expect experimental comparison, although the performance may be bad.
Formatting concerns

\

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment of our paper's clarity, soundness, and originality. We are grateful for the pointers to inductive logic programming (ILP) and linear temporal logic (LTL). These connections help us clarify how our work relates to existing rule-learning and neuro-symbolic approaches, and how our rule language connects to temporal logics.


Related Work: ILP and LTL with Neural Networks (Meta Review W1)

1. Inductive Logic Programming. RULES is indeed related to ILP, and we address the two works cited by the reviewer first, then the broader field.

The ILP approaches for sequential (temporal) data cited by the reviewer [1,2], while related, target different problems from ours. [1] performs unsupervised induction of an explanatory symbolic theory over sequences, without timestamps, via discrete answer-set search; we instead address next-event prediction over metric time from noisy timestamped sequences. [2] learns predictive rules from temporal data, but operates on relational hypergraphs and reasons based on relations between entities. Our setting consists of timestamped event sequences with no underlying relational graph, so applying [2] would require substantially reformulating both the data representation and the learning problem, making such a comparison indirect rather than a faithful baseline. The same holds for the closely related temporal ILP methods [6,7], which operate on temporal knowledge graphs.

The broader field. More generally, RULES shares ILP's objective of learning interpretable logical rules, and like differentiable ILP it learns rules by gradient-based optimization rather than discrete symbolic search. A key difference is that such methods typically assume a fixed symbolic candidate vocabulary (e.g., predefined relations in a knowledge graph [2,6,7]), whereas RULES learns parameterized temporal event predicates, which combine an event condition with a continuous temporal interval, directly from timestamped event sequences.

We will expand the related-work discussion to better position these approaches alongside the symbolic pattern-mining methods already covered in the paper.

[6] Liu, Y., Ma, Y., Hildebrandt, M., Joblin, M., and Tresp, V. TLogic: Temporal logical rules for explainable link forecasting on temporal knowledge graphs. AAAI 2022.

[7] Xiong, S., Yang, Y., Fekri, F., and Kerce, J. C. TILP: Differentiable learning of temporal logical rules on knowledge graphs. ICLR 2023.

2. Linear Temporal Logic. Our work is complementary to approaches combining LTL with neural networks, as, to our knowledge, they use LTL as input in the form of prior knowledge, specification, constraint, or supervision rather than learning temporal rules from data. The works cited by the reviewer reflect this: [3] conditions an RL policy on LTL instructions; [4] uses LTL constraints for state augmentation, reward shaping, and search pruning; and [5] trains networks to generate satisfying traces for given LTL formulas. In contrast, our goal is to infer temporal rules directly from timestamped event sequences and use them for next-event prediction. As such, these lines of work address different stages of the neuro-symbolic pipeline: the LTL approaches leverage existing temporal knowledge to guide learning, whereas we focus on automatically discovering such temporal knowledge from data.

3. Temporal Logic and Temporal Conjunctive Prediction Rules (TCP rules). While standard LTL reasons only over event order, not physical time, its extension Metric Temporal Logic (MTL) connects directly to our TCP rules. Each antecedent element (v,[δmin,δmax])(v, [\delta^{\mathrm{min}}, \delta^{\mathrm{max}}]) is a bounded past-time operator—a metric ONCE over window [δmin,δmax][\delta^{\mathrm{min}}, \delta^{\mathrm{max}}] for symbol vv—and the antecedent is their conjunction. In this sense, TCP-rule antecedents are a fragment of MTL; the only departure is that our consequents are weighted, and (unless discretized) not hard implications. We choose the structure of TCP rules (past, bounded operators) deliberately: they can be efficiently evaluated over a finite history window, which makes the differentiable relaxation tractable.


We will incorporate these clarifications into the related-work and methodology discussion. We believe they improve the paper's positioning and make the relationship to existing ILP and temporal-logic approaches clearer, while leaving the technical contributions and empirical findings unchanged.

Authors · CommentOpenReview ↗

Dear Reviewer,

Thank you again for your thoughtful feedback and your pointers to related work. In our rebuttal, we clarified our connections to ILP and temporal logics.

As the discussion period comes to a close, we would appreciate it if you could let us know whether your questions have been addressed or if any points remain to be discussed. If you find the rebuttal satisfactory, we would also be grateful if you could reflect this in your final evaluation.

Thank you for your time!

Reviewer q51v · CommentOpenReview ↗
  1. Inductive Logic Programming

Yes, Inductive Logic Programming deals with first-order logic. But your task is very straightforward to formulate in first-order logic.

For example, define a binary predicates PP, where P(xl,d)P(x_l, d) indicates whether xl=dx_l = d, where d∈Vd \in \mathcal{V}. By adding timestamps, isn't this a temporal knowledge graph?

Theoretically, in my opinion, your task is essentially a propositional (temporal) logic, and temporal inductive logic programming deals with a first-order (temporal) logic. Since propositional logic is a simplification of first-order logic, your task should be easily reformulated in temporal inductive logic programming.

  1. Temporal Logic and Temporal Conjunctive Prediction Rules (TCP rules).

Such a textual comparison is insufficient. Rigorous mathematical comparison is needed.

Authors · CommentOpenReview ↗

We thank the reviewer for the continued engagement, which lets us sharpen two points.

Relation to ILP. It is correct that our task can be expressed in temporal (first-order) logic; however, an encoding alone does not provide an algorithm for learning suitable temporal rule sets from event sequences, which is precisely what RULES contributes through differentiable relaxation and gradient-based optimization. The reviewer points to a possible logical encoding of our task, but this appears underspecified to us: it neither explains how the resulting rule-learning problem would be solved nor cites a method that does so. The relevant difference is not that our task is propositional rather than first-order: the referenced methods derive their power from relational structure among entities, which our setting lacks. We are not aware of an existing ILP method designed for our setting, and the cited temporal methods are not directly applicable.

Concretely, regarding the example, the temporal knowledge graph methods [2,6,7] are not general temporal-FOL learners. They assume multiple typed relations (predicates) between shared entities and learn rules by random walks on the relational graph that chain these relations through common entities. Our data has no such structure: it consists only of timestamped event sequences. A direct encoding would need to introduce a temporal relation (e.g., happens-before) between events, which is a single relation connecting essentially every pair of events in a sequence. This removes the relational structure these graph-based methods rely on, and their search loses the inductive bias that distinguishes it from exhaustive enumeration. Such an encoding is therefore possible, but does not yield a practical temporal-ILP solution for learning predictive rules from event sequences.

Formal Comparison of TCP rules and MTL. We first clarify scope. Our contributions are RULES, an interpretable model that learns temporal rule sets directly from event sequences, and RUNES, a framework that transparently combines these rules with a neural network. We do not propose a new formal logic; instead, we introduce TCP rules as a symbolic representation of predictive rules that can be learned efficiently in neural layers. A full logic-theoretic comparison with existing temporal logics is therefore beyond the paper's scope. We nonetheless formalize the connection from our rebuttal.

For an event-time predicate (antecedent element) (v,Δ)(v, \Delta) with Δ=[δmin,δmax]\Delta = [\delta^{\mathrm{min}}, \delta^{\mathrm{max}}] , evaluated at time tt on history S<tS_{<t}, the activation

⋁(xl,tl)∈S<t(xl=v)∧(t−tl∈Δ)\bigvee_{(x_l, t_l) \in S_{<t}} (x_l = v) \wedge (t - t_l \in \Delta)

is exactly the satisfaction condition of the past-time metric operator "ONCE vv within Δ\Delta", expressible via the metric SINCE operator S\mathcal{S} as true SΔ v\mathrm{true}\ \mathcal{S}_{\Delta}\ v, i.e., “vv occurred at some point in Δ\Delta (and SINCE then true\mathrm{true} holds)” [9]. A TCP-rule antecedent is the conjunction of such operators, hence a formula in the bounded past-time fragment of MTL. The only departure is the consequent: we use additive logits rather than a hard implication, which is what enables rules to be combined for prediction (a fully symbolic interpretation is recovered under discretization). We will add this characterization to the paper.

[9] Koymans, R. Specifying real-time properties with metric temporal logic. Real-Time Syst 2, 255–299 (1990). https://doi.org/10.1007/BF01995674

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…