TL;DR
State estimation in complex, stochastic environments typically suffers from the curse of dimensionality. This paper introduces the First Order Filtering Algorithm (FOFA), a novel approach that leverages First-Order Logic (FOL) to sample sequences of deterministic actions rather than full world states. By exploiting relational structures, FOFA achieves significantly higher tracking precision with exponentially fewer samples than standard Sequential Monte Carlo (SMC) methods.
What Problem Does This Paper Address?
In AI applications like robotics, tracking, and natural language processing, systems must reason about their current state based on a history of noisy actions and partial observations. Exact reasoning quickly becomes intractable because domain features become highly correlated over time.
To handle this, researchers typically turn to approximate reasoning methods like Sequential Monte Carlo (SMC) sampling (particle filtering). However, standard particle filters sample full propositional states, meaning the number of required samples grows exponentially with the dimensionality of the domain. While recent methods have attempted to sample deterministic action sequences instead of states to mitigate this, they have relied on propositional logic, failing to scale in complex relational worlds where objects and their interactions matter.
Methods
The authors introduce a framework called the Probabilistic Relational Action Model (PRAM), which combines the situation calculus with a first-order probabilistic prior (represented via a Markov Logic Network). In a PRAM, a probabilistic action is modeled as a probability distribution over a set of possible deterministic executions.
To perform inference, the authors propose FOFA (First Order Filtering Algorithm). Instead of tracking traditional state particles, FOFA tracks First-Order (FO) particles, which are sequences of deterministic actions.
The paper details two sampling variants:
- S/R-Actions (Sampling/Resampling): Uses sequential importance sampling to select deterministic actions, assigning weights based on observations and resampling when weight variance is high.
- S-Actions (Direct Sampling): A optimized variant that maintains a compact FOL formula representing the current state (
curF). By doing so, it directly samples only executable deterministic actions, ensuring all samples remain valid and uniformly weighted.
Once the action sequences are sampled, FOFA uses logical regression to project the target query back to the initial time step ($t=0$), evaluating its probability against the prior distribution using a Markov Logic Network.
Datasets
The algorithm was evaluated on standard planning benchmarks from the International Planning Competition (IPC):
- Depots Domain (from AIPS-02)
- Briefcase Domain (from AIPS-98)
To compare against propositional baselines (which cannot handle first-order representations directly), the authors grounded these domains into flat, propositional state spaces.
Key Insights and Ideas
- Lifting to First-Order Logic: The core "aha" moment is that a single first-order action particle implicitly represents exponentially many propositional state sequences. By sampling in the space of relational actions rather than states, the algorithm drastically compresses the search space.
- State-Aware Action Selection: The
S-Actionsvariant highlights the benefit of tracking the current state as a logical formula. By knowing what is physically possible at the current step, the sampler avoids wasting computational budget on non-executable action trajectories (a major pitfall of the unconstrainedS/R-Actionsapproach).
Key Results
The performance was measured using the expected KL-divergence (error) relative to the exact posterior distribution across varying sample sizes (from 50 to 1000 samples).
- Superior Sample Efficiency: In both the Depots and Briefcase domains, the
FOFA(S-Actions)variant consistently achieved the lowest error rate compared to standard SMC and the propositional action-sampling baseline (SCAI). - Scalability: As shown in the evaluation plots,
FOFA(S-Actions)maintains low error even with very few samples (e.g., 50 samples), where standard SMC exhibits high error.
Limitations and Future Work
- Progression Compactness: The efficiency of FOFA relies heavily on the assumption that the logical progression of the state formula (
curF) remains compact and polynomial. While this holds under specific conditions, it is not guaranteed for all arbitrary domains. - Small Domain Constraints for Evaluation: The empirical evaluation was restricted to domains with a small number of constants (e.g., 5 objects) so that the exact posterior could be computed as a ground-truth baseline.
For future work, the authors propose extending this sampling methodology to First-Order Markov Decision Processes (FOMDPs), learning the transition models automatically, and generalizing the framework to continuous domains by combining it with Rao-Blackwellised Particle Filtering.
Summary updated