SPEAR: Distilling Domain-Adaptive Reasoning Skeletons via Sequential Symbolic Alignment in Reinforcement Learning

Zhuochun Li, Yuelyu Ji, Yiming Zeng, Daqing HearXiv 2026

TL;DR

SPEAR (Symbolic Process Evaluation and Alignment Reward) is a training-free, lightweight process reward framework designed to distill complex reasoning capabilities from large teacher models to smaller student models. By projecting natural-language reasoning chains into domain-adaptive symbolic milestones and aligning them via Longest Common Subsequence (LCS), SPEAR provides dense, order-aware feedback during reinforcement learning without the massive computational overhead of neural Process Reward Models (PRMs).

What Problem Does This Paper Address?

When distilling complex multi-step reasoning from massive Large Language Models (LLMs) to resource-efficient Small Language Models (SLMs), researchers typically face a frustrating trade-off:

  1. Supervised Fine-Tuning (SFT): Off-policy imitation learning causes models to memorize surface-level linguistic patterns ("style mimicry") rather than internalizing underlying logic. If the student makes an early error during inference, it cannot recover ("exposure bias").
  2. On-Policy Reinforcement Learning (RL) with Outcome Rewards: Allowing the model to explore its own trajectories and rewarding it based only on the final answer avoids style mimicry. However, sparse binary rewards (right/wrong) fail to guide intermediate steps, often causing models to generate thousands of redundant tokens ("overthinking") to maximize rewards without making actual logical progress.
  3. Neural Process Reward Models (PRMs): Step-by-step neural verifiers provide dense supervision but are incredibly resource-intensive, requiring separate training datasets and an additional billion-parameter model running forward passes during RL rollouts. They are also prone to hallucinations and transfer poorly outside their specific training domains.
Figure 1: Comparison between SPEAR and other re- ward methods.

SPEAR bridges this gap by providing a training-free, plug-and-play symbolic proxy that delivers dense, process-level feedback with negligible computational cost.

Methods

SPEAR operates by extracting a "logical skeleton" from reasoning traces and evaluating the student's alignment with the teacher's milestones. The pipeline consists of three core phases:

1. Domain-Adaptive Symbolic Anchors ($\Phi$)

Instead of forcing strict token-level matching, SPEAR projects high-dimensional text into low-dimensional symbolic trajectories tailored to the specific task domain:

  • Formal Logic & Math ($\mathcal{A}_{\text{math}}$): Uses regular expressions to isolate LaTeX equations and variable assignments (e.g., $2x=4$), deliberately stripping out bare numerical constants to focus purely on structural derivation.
  • Causal Dependency for Science ($\mathcal{A}_{\text{sci}}$): Employs a dependency-parsing framework to extract verb-centered relational tuples (verb, subject, object), mapping out the causal progression of facts.
  • Open-Domain State Transitions ($\mathcal{A}_{\text{comm}}$): Tracks the movement of agents or evolution of objects by extracting noun chunks and their governing syntactic heads to form State-Action anchors.

2. Sequential Alignment via LCS-F1

To ensure the student follows a chronologically sound logical path, SPEAR aligns the student's symbolic trajectory ($A_s$) against the teacher's reference trajectory ($A_t$) using the Longest Common Subsequence (LCS). It calculates an F1-score where:

  • Precision penalizes verbose, repetitive, or spurious student steps.
  • Recall penalizes missing critical teacher milestones.

Because LCS is strictly order-aware, it penalizes logical reversals while remaining invariant to redundant linguistic filler.

3. Gated Composite Reward Formulation

The final reward ($R_{\text{spear}}$) uses a format compliance check (verifying <think> and <answer> blocks) as a strict gate. If the format is correct, it combines final-answer accuracy ($R_{\text{acc}}$) with the dense process alignment score ($R_{\text{reason}}$):

$$R_{\text{spear}} = \mathbb{I}_{\text{fmt}} \cdot (R_{\text{acc}} + \lambda \cdot R_{\text{reason}})$$

Figure 2: Overview of SPEAR (Symbolic Process Evaluation and Alignment Reward) method. It supervises the "logical skeleton" of reasoning tasks by aligning symbolic milestones extracted from teacher and student traces. By using an order-aware alignment (LCS) and an outcome-process combined reward, the framework enables small language models to internalize reasoning processes rather than token imitation from teacher’s responses.

Datasets

The authors evaluated SPEAR across several diverse reasoning benchmarks:

  • Mathematics: GSM8K and MATH (using the MATH-500 test split).
  • Scientific Reasoning: GPQA (using gpqa_main and gpqa_extended for training, and gpqa_diamond for testing).
  • Commonsense Reasoning: CommonsenseQA.
  • General Instruction-Following: AlpacaEval 2.0 (used to test cross-benchmark transferability).

Key Insights and Ideas

  • Decoupling Logic from Language: By abstracting text into symbolic milestones, SPEAR grants small models the linguistic freedom to formulate their own responses while strictly enforcing chronological logical consistency.
  • The Pitfalls of Pure SFT: Forcing small models to directly copy a teacher's natural language can actually degrade performance on open-ended tasks like CommonsenseQA. This occurs because the student attempts to memorize implicit, non-transferable linguistic patterns rather than actual logic.
  • The "Just Right" Cold Start: The authors discovered a clear sweet spot when combining SFT and RL. Initializing the model with a moderate amount of SFT data (~30%) provides a stable starting point for basic formatting and reasoning patterns. However, exceeding this threshold harms subsequent RL performance by restricting exploration diversity.
Figure 3: Effect of cold-start SFT ratio on SPEAR- based RL distillation (Qwen3-4B, MATH). A moderate amount of SFT data yields the best result, while exces- sive SFT reduces the subsequent RL performance.
  • Domain-Awareness is Non-Negotiable: Swapping anchor extractors across domains (e.g., applying the math extractor to scientific problems) causes performance to drop below baseline outcome-only RL. Process supervision must match the underlying cognitive structure of the task.

Key Results

Performance Improvements

Across multiple RL optimization frameworks (GRPO, Dr. GRPO, DAPO) and different student architectures (Llama-3-8B-Instruct, Qwen3-4B), SPEAR consistently outperformed outcome-only baselines and rule-based partial rewards (Logic-RL). On average, SPEAR yielded an absolute accuracy improvement of ~2% over base RL methods across all tasks.

Experimental results across different tasks and baselines.

Performance-Efficiency Tradeoff

The authors compared SPEAR against two massive neural PRMs: Qwen2.5-Math-PRM-7B and VersaPRM (8B).

  • Accuracy: SPEAR achieved highly competitive results, occasionally outperforming the multi-domain VersaPRM on both MATH and GPQA benchmarks.
  • Computational Overhead: While neural PRMs caused a 30.04% training slowdown and required an extra 7B-8B parameter model to be held in GPU memory, SPEAR introduced a mere 1.87% slowdown. SPEAR runs its symbolic extraction and LCS matching entirely on CPU using a lightweight ~12MB spaCy model, incurring zero additional GPU memory overhead.
Performance-efficiency tradeoff between neural PRMs and SPEAR.

Limitations and Future Work

  • Rigid Subsequence Matching: Because SPEAR relies on exact subsequence matching of symbolic anchors, it can penalize alternative, equally valid reasoning paths that deviate from the teacher's specific chronological order.
  • Teacher Dependency: The framework assumes that teacher-generated rationales provide optimal, clean reasoning trajectories. If the teacher's chain contains redundant or suboptimal steps, the student is incentivized to replicate them.
  • Sensitivity to Parsing Errors: As a rule-based system relying on regex and dependency parsing, SPEAR can be fragile when encountering formatting anomalies or parsing errors.
  • Future Work: The authors note that this study focuses strictly on sequence-level on-policy distillation and suggest exploring token-level reverse-KL distillation as a promising next step.

Summary updated

Abstract

Reinforcement learning-based knowledge distillation has the potential to transfer complex reasoning from teacher to student models, yet it currently faces a critical dilemma: researchers must choose between sparse outcome-based rewards, which provide insufficient logical guidance, or expensive neural Process Reward Models (PRMs) for dense signals. We resolve this by introducing SPEAR (Symbolic Process Evaluation and Alignment Reward), a training-free and plug-and-play process reward method for sequence-level on-policy distillation. SPEAR projects natural-language reasoning traces into domain-adaptive symbolic milestones, providing an efficient proxy for process-level reasoning alignment. By utilizing the longest common subsequence (LCS) to align student explorations with teacher milestones, SPEAR provides a dense, order-aware reward signal that enforces logical consistency without the need for an external neural verifier. Our experiments across math, science, and commonsense reasoning tasks demonstrate that SPEAR effectively bridges the reasoning gap between student and teacher models via sequence-level distillation with efficient dense process rewards. Our code and data are available at: https://github.com/zhuochunli/SPEAR.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
AlpacaEval 2.0DAPO + SPEARLC Win Rate57.64%+1.74 vs baselineQuestion Answering · 0-shot · params=4B · runs=3-run average · backbone=Qwen3-4B · evaluation=length-controlled
Source quote
L473: DAPO + SPEAR │ 57.64
MATHSPEARTime per step169.74 s/step-46.93 vs baselineMathematical Reasoning · params=4B · backbone=Qwen3-4B · hardware=4 A100-80GB GPUs
Source quote
L486: Time per step (s) │ 216.67 │ 169.74
MATHSPEARSlowdown vs. GRPO1.87%-28.17 vs baselineMathematical Reasoning · params=4B · backbone=Qwen3-4B · hardware=4 A100-80GB GPUs
Source quote
L487: Slowdown vs. GRPO (%) │ 30.04 │ 1.87
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
AlpacaEval 2.0DAPO baselineLC Win Rate55.90%Question Answering · 0-shot · params=4B · runs=3-run average · backbone=Qwen3-4B · evaluation=length-controlled
Source quote
L471: DAPO │ 55.90
MATHNeural PRM (Qwen2.5-Math-PRM-7B) baselineTime per step216.67 s/stepMathematical Reasoning · params=4B · backbone=Qwen3-4B · hardware=4 A100-80GB GPUs · reward-model=Qwen2.5-Math-PRM-7B
Source quote
L486: Time per step (s) │ 216.67 │ 169.74
MATHNeural PRM (Qwen2.5-Math-PRM-7B) baselineSlowdown vs. GRPO30.04%Mathematical Reasoning · params=4B · backbone=Qwen3-4B · hardware=4 A100-80GB GPUs · reward-model=Qwen2.5-Math-PRM-7B
Source quote
L487: Slowdown vs. GRPO (%) │ 30.04 │ 1.87
BibTeX
@misc{li2026spear,
  author = {Zhuochun Li and Yuelyu Ji and Yiming Zeng and Daqing He},
  title = {{SPEAR: Distilling Domain-Adaptive Reasoning Skeletons via Sequential Symbolic Alignment in Reinforcement Learning}},
  year = {2026},
  eprint = {2608.26550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.26550},
}
Figure