Skip to content

SLoSa: A Small, Low-Power, and Safe Foundation Model for Robot Task PlanningSLoSa: Small, Low-Power, and Safe Foundation Models for Robotic Task Planning

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.28955· Weizhe Xu, Jialiang Fan, Essien Taylor, Zijun Wang, Russell Joseph, Fanxin KongUniversity of Notre Dame; Northwestern UniversityIndexed by this site · 2026-10-22· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose the SLoSa post-training framework, which uses a formal verifier to supervise fine-tuning of 4B–14B compact LLM planners, raising PDDL task success rates to 70.5–76.0%.

Questions
Safety-constrained robot task planning requires satisfying trajectory-level safety constraints while achieving goals. Classical planners are verifiable but scale poorly and have rigid input formats; general LLMs are flexible but large, power-hungry, and lack robot safety knowledge, making local deployment difficult.
Methods
SLoSa has three stages: construct behavior-changing safety data with a classical planner, a teacher model and a formal verifier; perform SFT on a quantized compact LLM; then perform GRPO reinforcement fine-tuning using the verifier's five-class results and the planner's progress signal.
Experiments and results
On the 200-instance PDDL test set, SFT raises the success rate from 0% to 59.0–67%, and GRPO further raises it to 70.5–76.0%; directly prompted GPT-5.6 Sol and Claude Sonnet 5 reach 26.5% and 31.0%, respectively. On VirtualHome-Safe and ALFWorld-FO-Safe, GRPO reaches 80.5% and 85.0%, respectively.
Limitations and future work
The authors note: evaluation covers only compliance with high-level symbolic constraints, and does not include perception error, motion-layer failures, or unmodeled physical risks; long horizons such as Blocksworld remain difficult; the robotic arm experiments use only a single work cell and fixed low-level skills.
Experimental setupQwen3-4B、Llama-8B et al. · Blocksworld、Ferry et al. · Success rate、Goal fail et al.
Evaluated models
Qwen3-4BLlama-8BQwen3-14B
Benchmarks
BlocksworldFerryGrippersSpannerVirtualHome-SafeALFWorld-FO-Safe
Metrics
Success rateGoal failSafety violationPrecondition violationFormat errorConditional safety violation
AI summaryThe researchers propose SLoSa, a neuro-symbolic compression and fine-tuning framework for training small, low-power, safety-aware foundation-model robot task planners. The framework first builds a safety-aware dataset using a classical planner, an advanced teacher large language model, and a formal verifier, then performs supervised fine-tuning and reinforcement learning fine-tuning guided by a verification-based reward machine to enforce safety alignment. In evaluations across four PDDL domains, verifier-guided post-training raises the success rate of 4B-14B compact planners to 70.5-76.0%, and INT4 deployment on Jetson Orin has average power consumption of 17.85-26.41 W. Results in two household simulation environments, on a local edge platform, and on a desktop robotic arm further demonstrate the framework's applicability across diverse robot task scenarios.

The researchers propose SLoSa, a neuro-symbolic compression and fine-tuning framework for training small, low-power, safety-aware foundation-model robot task planners. The framework first builds a safety-aware dataset using a classical planner, an advanced teacher large language model, and a formal verifier, then performs supervised fine-tuning and reinforcement learning fine-tuning guided by a verification-based reward machine to enforce safety alignment. In evaluations across four PDDL domains, verifier-guided post-training raises the success rate of 4B-14B compact planners to 70.5-76.0%, and INT4 deployment on Jetson Orin has average power consumption of 17.85-26.41 W. Results in two household simulation environments, on a local edge platform, and on a desktop robotic arm further demonstrate the framework's applicability across diverse robot task scenarios.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to train small, low-power, safety-aware LLM robot task planners.

    Core question: how to train a compact LLM robot task planner that can be deployed locally while satisfying explicit trajectory-level safety constraints.

    • Problem setting: In safety-critical scenarios, planning must not only achieve the goal but also have every intermediate state satisfy ordering, mutual exclusion, resource, and other constraints; the authors give the example that a plan that finally places the object correctly is still unacceptable if it enters a forbidden region or has the wrong order.
    • Shortcomings of existing methods (per the authors): Classical planners (Fast Downward, OPTIC) can provide formal guarantees for encoded constraints, but the search space grows with the number of objects and the horizon, and they require rigid symbolic input; imitation/reinforcement learning policies are tied to a specific task distribution and have no formal guarantees; general-purpose LLMs are flexible but large, power-hungry, and lack robot safety data, making them hard to deploy on resource-constrained robots.
    • Core observation: Placing the verifier only in the inference loop (e.g., ISR-LLM) does not change the base planner itself, and repeated failures increase tokens, latency, and compute consumption; the authors instead use formal feedback during training to change the compact planner.
    • Paper proposes: SLoSa (Small size, Low power demand, Safety awareness), a neuro-symbolic compression and fine-tuning framework with three stages—safety data construction, compression-aware SFT, and verifier-guided GRPO—evaluated on four PDDL domains, two household simulators, an edge platform, and a desktop robotic arm.
    • Safety definition: In the paper, safety awareness refers to compliance with formal task specifications (PDDL3 trajectory constraints); low power is an empirical deployment goal rather than an assumed property.
  2. What related research exists?

    Related work falls into three groups: classical/learning-based planning, LLM formal grounding and runtime assurance, and safety post-training and compact deployment.

    Classical, Learning-Based, and Neuro-Symbolic Task Planning

    • Fast Downward [4], OPTIC [5], VAL [6][7]: classical planning and verification tools that can formally check goals and constraints; the paper notes that constructing their specifications is laborious and the search space can grow exponentially with scale [8].
    • Imitation learning and reinforcement learning planning [9][10][11][12]: learning policies from demonstrations and interaction; the paper notes that these typically optimize only for a specific training distribution. SLoSa follows this direction but uses symbolic planners and verifiers mainly as sources of training supervision.

    LLM Planning, Formal Grounding, and Runtime Assurance

    • LLMs directly generating actions or translating task specifications [13][14]; LIMP [15] grounds open-ended instructions into verifiable symbolic representations, and [16][17] translate language into temporal logic.
    • ISR-LLM [18] translates natural language tasks into PDDL and iteratively refines long-horizon plans; Safety Chip [19] enforces LTL constraints around an LLM agent. The paper notes that such methods keep the verifier in the inference loop, and when the base planner is weak, repeated generation and verification are still required; SLoSa instead uses formal verification during post-training.

    Safety Post-Training and Compact Deployment

    • Quantization and parameter-efficient fine-tuning [20][21][22][23]: reduce LLM memory and adaptation costs; the paper notes that compression alone does not optimize satisfaction of task-level safety constraints.
    • SafeGen-LLM [24]: uses verified PDDL supervision to improve safety generalization across properties, domains, and formats. The paper states that SLoSa studies a complementary problem: whether verifier knowledge can be transferred into small, low-power planners.

    Baselines and Benchmarks: the comparison baselines are directly prompted GPT-5.6 Sol and Claude Sonnet 5 (Table II); the evaluation benchmarks are four PDDL domains—Blocksworld, Ferry, Grippers, Spanner—and two modified household simulation benchmarks, VirtualHome-Safe and ALFWorld-FO-Safe.

    The authors position SLoSa as: unlike inference-time verification (ISR-LLM, Safety Chip) and unlike safety generalization alone (SafeGen-LLM), it uses formal feedback to change the compact planner itself while retaining a flexible task interface.

  3. How does the paper address this problem?

    SLoSa uses a verifier to construct behavior-changing data, then trains a compact planner via compression-aware SFT and verifier-guided GRPO.

    Overall approach: SLoSa moves the classical planner and formal verifier from the inference loop to the training loop, using verification feedback to change the compact quantized LLM planner itself, in three stages: safety data construction, SFT, and GRPO (Figure 1).

    Problem formalization and verification process

    • A planning problem is defined as P = (S, A, s0, G, C), where C is a set of PDDL3 trajectory constraints; a plan τ is executable, denoted Exec(τ), goal achievement is Goal(τ) ⇔ sT ⊨ G, and safety is Safe(τ) ⇔ ρ(τ) ⊨ C.
    • The verifier checks in a fixed order and assigns each output exactly one category: format error, precondition violation, safety violation, goal failure, success; this classification is used for data filtering, reward design, and evaluation.

    Safety-aware data construction

    • Four PDDL domains: Blocksworld, Ferry, Grippers, Spanner. For each base problem P0, a baseline plan τ0 is generated, then PDDL3 constraints are inserted according to the four modes in Table I (ordering safety, stage safety, resource limits, mandatory checks) to obtain Pc.
    • Only "behavior-changing" instances are kept: V(P0, τ0) = V(Pc, τc) = success and V(Pc, τ0) = safety violation, i.e., the constraints invalidate the baseline plan but a verified alternative plan exists; the authors state that this definition is relative to the chosen baseline plan and does not mean the formal specification covers all real-world risks.
    • Difficulty is divided into Easy/Medium/Hard solely by verified plan length; each problem generates one PDDL prompt and one structured or narrative natural-language prompt; for 20% of problems, the teacher model GPT-5.4-mini generates additional candidate plans, and only those passing the same verifier are kept.

    Compression-aware SFT

    • The objective is to minimize LSFT(θ) = −1/N∑i log pθ(τi ∣ xi), i.e., only verifier-accepted plans are used as positive examples; the target output is a grounded action sequence with one action per line.
    • The base model is loaded with 4-bit quantization, and LoRA (rank 32, scaling 64, dropout 0.05) trains only adapter parameters; learning rate 2×10⁻⁴, effective batch size 8.

    Verifier-guided GRPO

    • K = 4 candidates are sampled per prompt group (temperature 0.9, KL coefficient 0.02); format errors get a fixed reward of −1, success a fixed 1; precondition violation, safety violation, and goal failure fall in the intervals Ipre = [−0.9, −0.7], Isafe = [−0.6, −0.4], and Igoal = [−0.3, −0.1], respectively, ordered by the verification process and severity.
    • Within-category ordering uses a planner progress signal: for a failed state, a residual planning problem is constructed, and the shortest-plan search finds dres, defining φdist = (dinit − dres)/(dinit + dres + ϵ), which measures the goal progress of the failed state relative to the initial state; the reward interpolates between the interval endpoints by (ϕdist+1)/2.
    • Groups with identical rewards are marked inactive and skipped for updates; a three-stage curriculum with Easy/Medium/Hard sampling ratios of 6/3/1, 1/6/3, and 1/3/6 is used, totaling 125+250+125 steps, and the checkpoint with the highest verification success rate is selected.

    Inference and deployment

    • Evaluation uses greedy decoding, no intermediate chain of thought, and Qwen3 thinking mode is disabled; at inference time, a SafePilot-style verifier repair loop can be added, up to three rounds, and only plans passing all verification are executed.
  4. What experiments did the paper conduct?

    The three compact models' success rates on PDDL rise to 70.5–76.0%, and are validated on household simulators, edge deployment, and a robotic arm.

    Experimental Setup

    • Models under test: Qwen3-4B, Llama-8B, Qwen3-14B (all 4-bit quantized + LoRA), each reporting three stages PT (pretraining), SFT, GRPO; baselines are directly prompted GPT-5.6 Sol and Claude Sonnet 5.
    • Datasets: four PDDL domains each generate 250 constrained problems and 500 prompts per domain; the SFT and GRPO sets each have 1,000 entries, with underlying problems not overlapping; the test set is 200 instances.
    • Metrics: the verifier-defined success rate is the primary metric; mutually exclusive goal failure, safety violation, precondition violation, and format error are also reported.
    • Determination method: the formal verifier classifies in a fixed order, with no LLM judging; evaluation uses greedy decoding.
    • Household benchmarks: VirtualHome-Safe and ALFWorld-FO-Safe (fully observable, non-interactive modified versions, not the standard ALFWorld protocol), with Qwen3-4B trained separately per benchmark, and data scale and difficulty distribution consistent with the PDDL setting.
    • Deployment evaluation: RTX 4080 and Jetson AGX Orin, batch size 1, 100 PDDL prompts run 3 times (20 warm-up); robotic arm experiments with 30 trials per planner.

    Main Results

    According to Table II (200-instance PDDL test set, values are percentages):

    Swipe horizontally to read the table

    ModelStageSuccessGoal failSafety viol.Precond. viol.Format err.
    GPT-5.6 SolDirect26.50.00.573.00.0
    Claude Sonnet 5Direct31.03.50.055.510.0
    Qwen3-4BPT/SFT/GRPO0.0/59.0/70.51.5/1.5/1.50.0/0.5/0.50.0/36.5/25.098.5/2.5/2.5
    Llama-8BPT/SFT/GRPO0.0/62.0/74.05.0/5.5/7.50.0/1.0/0.070.0/30.5/18.025.0/1.0/0.5
    Qwen3-14BPT/SFT/GRPO0.0/67.0/76.00.5/2.5/1.50.0/0.0/0.00.0/30.5/22.099.5/0.0/0.5
    • The authors state that SFT brings the largest change (success rate rising from 0% to 59.0–67%), and GRPO further improves it to 70.5–76.0%, consistent across model scales and families.
    • The authors state that directly prompted large models achieve success rates of only 26.5% and 31.0%, indicating that model scale alone cannot substitute for safety-aware post-training; their failures are mainly precondition violations.
    • Figure 2 shows that Qwen3-4B performs similarly on PDDL, structured, and narrative natural language inputs; the authors state that Blocksworld remains the most difficult domain.

    Safety Data Ablation (Table III, Qwen3-4B, SFT only)

    • What was tested: under equal-sized pure-positive datasets, three data compositions: unconstrained positives (U-SFT), a 50% behavior-changing mix (OC-SFT), and all behavior-changing instances (BC-SFT).
    • Results: success rates were U-SFT 3.5% (95% CI [1.7, 7.0]), OC-SFT 53.0% [46.1, 59.8], BC-SFT 59.0% [52.1, 65.6]; conditional safety violation rates (the proportion of cases achieving the goal but violating constraints) were 80.0%, 5.4%, and 0.8%, respectively.
    • Authors' interpretation: filtering for behavior-changing instances lets the model learn to change planning behavior in response to safety constraints, rather than merely imitating goal-achieving solutions.

    Cross-Benchmark Applicability (Table IV)

    • What was tested: the same post-training pipeline applied separately to VirtualHome-Safe and ALFWorld-FO-Safe, with Qwen3-4B trained separately per benchmark, outputting the complete plan in one pass.
    • Results: on VirtualHome-Safe, PT/SFT/GRPO were 0.0%/74.5%/80.5%; on ALFWorld-FO-Safe, 0.0%/76.0%/85.0%.
    • Authors' interpretation: the post-training pipeline remains effective on benchmarks with different task representations and execution environments.

    Edge Deployment and Repair Cost

    • Deployment (Table V): all three models can run local INT4 inference on both devices; on Jetson Orin, peak memory is 3.89–11.50 GB, throughput 3.55–5.01 tokens/s, and average power 17.85–26.41 W; Llama-8B has the lowest latency and highest throughput, while Qwen3-4B has the lowest memory, power, and energy consumption.
    • Runtime scalability (Figure 4): on 41 Blocksworld instances of 10–50 blocks, Fast Downward averages 84.6s, OPTIC averages 162.4s with many large instances hitting the 300s timeout, and GPT-5.6 Sol averages 19.7s with relatively stable generation time.
    • SafePilot integration (Table VI, Llama-8B, up to three rounds of repair): final success rates for PT/SFT/GRPO were 0.5%/68.0%/77.5%, average iterations 2.995/1.735/1.500, average tokens 5185.81/2179.52/1782.87; the authors state that stronger post-training reduces repair iterations and token usage.

    Desktop Robotic Arm Demonstration (Table VII)

    • What was tested: a 6-DoF robotic arm + third-person camera, where a vision-language model grounds initial/goal images and constraint descriptions into a PDDL3 problem, Qwen3-4B SFT or GRPO generates a plan, and execution occurs only after verification passes, with 30 trials each.
    • Results: verifier-accepted plans were SFT 17/30 and GRPO 19/30; successful executions were 13/30 and 14/30; low-level failures (verification passed but execution precision insufficient or out of workspace) were 4/30 and 5/30.
    • Authors' interpretation: this demonstrates the practical feasibility of the complete high-level planning + verification pipeline; Figure 5 indicates that physical failures stem from manipulation precision rather than symbolic constraint violations.

    Other Ablations and Analyses

    • The paper reports no independent ablation tables other than Table III; GRPO hyperparameters (K=4, temperature 0.9, KL coefficient 0.02, reward interval values) are given in Section V-A, with no parameter sweep.
    • Exceptions and negative results: after GRPO, Llama-8B's goal failure rate rises from 5.5% under SFT to 7.5% (Table II), which the paper does not explain; Blocksworld is described by the authors as the most challenging domain (Figure 2).
  5. What are some points that can be further explored?

    The authors note that the evaluation is limited to high-level symbolic constraints and does not include perception or motion-layer risks, and that the robotic arm demonstration is small in scale.

    Limitations and Future Directions Noted by the Authors

    • Safety supervision comes from symbolic action models and formal verifier results; the reported safety performance measures compliance with high-level constraints; the evaluation does not cover perception errors, motion-layer failures, or unmodeled physical risks (Section VI).
    • Long-horizon domains such as Blocksworld remain difficult (Section VI).
    • The desktop robotic arm evaluation uses only one work cell and fixed low-level skills (Section VI).
    • Future work will study richer robot tasks and tighter integration with perception, motion planning, and runtime safety mechanisms (Section VI).
    • The definition of behavior-changing instances is relative to the chosen baseline plan and does not imply that the formal specification covers all real-world risks (Section IV-A).

    Scope of Experimental Coverage

    • The models under test are three compact models, Qwen3-4B, Llama-8B, and Qwen3-14B, with directly prompted GPT-5.6 Sol and Claude Sonnet 5 as baselines (Table II).
    • The PDDL evaluation covers four domains with a 200-instance test set; the household benchmarks are fully observable, non-interactive modified versions of VirtualHome-Safe and ALFWorld-FO-Safe, and the paper explicitly states that the latter is not the standard partially observable interactive ALFWorld protocol (Section V-A).
    • The safety data ablation uses only Qwen3-4B and only SFT, without GRPO (Table III); the SafePilot integration experiment inserts only three Llama-8B checkpoints (Table VI).
    • The robotic arm experiment has 30 trials per planner and implements only Blocksworld (Table VII); deployment power is measured over 100 prompts and 3 runs (Section V-E).
    • The paper does not report SFT/GRPO training duration, training compute cost, or variance across multiple training runs (Table III gives only bootstrap 95% confidence intervals for success rates).
  6. Summarize the main content of the paper

    SLoSa uses formal verification for post-training supervision, making 4B–14B compact planners safe and compliant and locally deployable.

    SLoSa is a neuro-symbolic post-training framework for safety-constrained robot task planning, with the goal of transferring knowledge from a formal verifier into small, low-power LLM planners.

    • Problem: Classical planners are verifiable but scale poorly and require rigid inputs; general-purpose LLMs are flexible but too large, power-hungry, and lack safety knowledge; inference-time verification does not change the base planner, and repeated repair is costly.
    • Method: Three stages—constructing "behavior-changing" safety data (constraints invalidate the baseline plan but a verified alternative plan exists); LoRA SFT on a 4-bit quantized model; GRPO using the verifier's five-way classification results plus a planner progress signal, with reward intervals ordered by failure severity.
    • Main results: On a 200-instance PDDL test set, Qwen3-4B/Llama-8B/Qwen3-14B with SFT+GRPO reach success rates of 70.5%, 74.0%, and 76.0%, respectively, while directly prompted GPT-5.6 Sol and Claude Sonnet 5 reach only 26.5% and 31.0% (Table II).
    • Data ablation: BC-SFT using only behavior-changing instances reaches 59.0% success rate and 0.8% conditional safety violation rate, while U-SFT with unconstrained positive examples reaches only 3.5% and 80.0% (Table III).
    • Generalization and deployment: On VirtualHome-Safe and ALFWorld-FO-Safe, GRPO reaches 80.5% and 85.0%, respectively (Table IV); on Jetson Orin, INT4 inference averages 17.85–26.41 W power consumption (Table V); after connecting to SafePilot, Llama-8B GRPO averages 1.500 iterations and 1782.87 tokens (Table VI).
    • Authors' conclusion: SLoSa improves executable, goal-satisfying, and safety-compliant plan generation across model scales, task domains, and input formats, and provides a practical path combining flexible LLM planning with symbolic planning and formal verification; the authors also note that evaluation is limited to high-level symbolic constraints and does not cover perception- and motion-layer risks.
Read originalarxiv.org