TLDR: RLIE is a novel framework that combines Large Language Models (LLMs) with probabilistic modeling to learn robust and interpretable rule sets. It addresses the limitations of LLMs in effectively combining rules and the constraints of traditional rule learning methods. The framework involves four stages: rule generation by an LLM, probabilistic weighting via logistic regression, iterative refinement based on prediction errors, and comprehensive evaluation. A key finding is that direct inference using the weighted logistic regression model (Linear-only) consistently outperforms LLM-augmented inference strategies, suggesting that LLMs are better suited for semantic generation and local judgments, while classical probabilistic models excel at global aggregation and uncertainty management.
Large Language Models (LLMs) have revolutionized many areas, including their ability to propose rules in natural language. This advancement helps overcome the limitations of traditional rule learning methods, which often rely on a predefined set of predicates. However, current approaches using LLMs frequently miss the combined effects of rules and haven’t fully explored how LLMs can be coupled with probabilistic rule learning for more reliable predictions.
To bridge this gap, researchers have introduced RLIE, a unified framework that integrates LLMs with probabilistic modeling to learn a set of probabilistic rules. RLIE aims to create a system that leverages the expressive power of LLMs for rule generation while ensuring robust inference through classical probabilistic methods.
The RLIE Framework: A Four-Stage Approach
The RLIE framework operates in four distinct stages:
1. Rule Generation: In this initial stage, an LLM is prompted with a small set of examples to propose a pool of candidate rules. These rules, expressed in natural language, are then filtered based on their coverage to form an initial rule set.
2. Logistic Regression: Once the rules are generated, a regularized logistic regression model is employed. This model learns the probabilistic weights for each rule, allowing for global selection and calibration. This step is crucial for understanding how different rules contribute to a final prediction and for creating a compact, interpretable rule set.
3. Iterative Refinement: RLIE continuously optimizes the rule set. It identifies ‘hard examples’ – instances where the current rule set makes prediction errors. These challenging examples, along with the existing rules, are fed back to the LLM. The LLM then reflects on these errors and generates improved or new rules, refining the rule set until performance converges on a validation set.
4. Evaluation: The final stage involves a comprehensive evaluation of the learned rules and their weights using different inference strategies. This includes directly using the weighted rule set as a classifier and various methods of injecting the rules into an LLM.
Surprising Findings on Rule Utilization
One of the most counterintuitive findings from the RLIE research is how best to utilize the learned rules. The study systematically compared four inference strategies:
- Linear-only: Direct prediction using the logistic regression model with the learned weights.
- LLM + Rules: The LLM is given only the rule texts and the input to make a prediction.
- LLM + Rules + Weights: The LLM receives rule texts along with their learned probabilistic weights.
- LLM + Rules + Weights + Linear Prediction: The LLM is provided with rules, weights, and the prediction from the linear-only model as a reference.
Surprisingly, the simplest strategy, ‘Linear-only,’ consistently achieved the best performance across nearly all datasets, particularly in terms of F1 score. This indicates the high quality of the rules curated by RLIE and the effectiveness of the probabilistic combiner.
The research found that injecting more information, such as rule weights or even the linear model’s prediction, into the LLM did not lead to consistent performance gains. In fact, providing the LLM with the linear model’s prediction often degraded performance. This suggests that while LLMs excel at semantic generation and interpretation, they are less reliable at fine-grained, controlled probabilistic integration and can be led astray when asked to synthesize complex probabilistic signals.
Also Read:
- Auto-Rubric: Enhancing LLM Alignment with Interpretable and Data-Efficient Evaluation Criteria
- Optimizing with Human Insight: How LILO Combines Language Models and Bayesian Search
A Neuro-Symbolic Division of Labor
The RLIE framework advocates for a clear division of labor between LLMs and classical probabilistic models. LLMs are best utilized for local, semantic tasks like generating individual rules and judging their applicability. Meanwhile, a transparent and calibratable probabilistic combiner, such as a logistic regression model, should handle the global tasks of weighting and selection. This hybrid approach allows for the flexible semantics of natural language rules while ensuring the overall inference process remains robust and interpretable.
This work paves the way for more reliable neuro-symbolic reasoning systems by integrating LLMs with classic probabilistic rule combination methods. For more in-depth technical details, you can refer to the full research paper available at arXiv:2510.19698.


