arrow_backBack to research feed
llmPublished: August 5, 2026

Toward Skill-Native LLMs: Skill Entropy for Benchmarking and Training Long-Horizon Reasoning

By Yinghui He, Ling Yang, Jiarui Liu, Yongjin Yang, Lechen Zhang, Yingcheng Wu, Zhenfei Yin, Mengdi Wang, Sanjeev Arora

Research TL;DR

"Introduces Skill Entropy to quantify cross-skill switching difficulty, proposes Skill^2-Bench with 558 skills, and Skill-Entropy RL using skill-sequence alignment rewards—boosting Qwen3-4B from 34.4% to 68.4%."

Abstract

Long-horizon reasoning in recent LLMs demands that the model switch between distinct skills inside a reasoning chain, such as first doing a math derivation, then using the result to plan a schedule. We call such problems cross-skill long-horizon tasks: multi-step tasks whose steps require different reasoning skills and depend on earlier outputs. Existing benchmarks often evaluate individual skills, lacking a principled way to measure how well a model switches between skills. We address this gap from both the evaluation and training sides. We introduce Skill Entropy, a measure of the difficulty of switching from one skill to another. We then propose Skill^2-Bench, a benchmark of cross-skill long-horizon tasks built over 558 skills across 9 verifiable and open-ended domains. Each task is assigned a task-level skill-entropy score and grouped into three difficulty levels. Evaluating 8 frontier and 4 open-source models on Skill^2-Bench reveals a skill-switching gap: accuracy decreases on higher-entropy tasks. We then turn skill entropy from a benchmark scale into a training signal. We propose Skill-Entropy RL, an RL framework where the model predicts not only the answer at each step but also the skill used to produce it. The reward combines step-level correctness with a skill-entropy reward that measures the alignment between the model-predicted skill sequence and the gold skill sequence. On Qwen3-4B-Instruct and Qwen3-1.7B, Skill-Entropy RL improves the Skill^2-Bench score from 34.4% to 68.4% and from 14.6% to 40.1%, respectively, outperforming competitive baselines. The same pipeline can be applied to off-the-shelf training data such as OpenR1-Math, indicating that skill entropy is a reusable training signal. Code available at: https://github.com/Gen-Verse/Skill-Entropy-RL

Technical Analysis & Implementation

Technical Summary§

This paper targets cross-skill long-horizon reasoning—multi-step tasks where each step requires a different skill and depends on earlier outputs. The authors propose a principled measure, a benchmark, and a training method to improve skill switching in LLMs.

Skill Entropy§

For a task with a gold skill sequence $s_1, s_2, \dots, s_T$, the task-level skill entropy is defined over transition probabilities estimated from a large corpus of reasoning chains:

$$H(s_{1:T}) = -\frac{1}{T-1} \sum_{t=1}^{T-1} \log P(s_{t+1} \mid s_t).$$

Higher entropy indicates harder skill transitions. The Skill^2-Bench benchmark contains tasks over 558 skills across 9 verifiable domains, each annotated with gold skill sequences and grouped into low, medium, and high entropy difficulty levels. Evaluation of 8 frontier and 4 open-source models reveals a skill-switching gap: accuracy drops monotonically as task entropy increases.

Skill-Entropy RL§

The training framework augments the base LLM with an additional skill-prediction head. At each reasoning step $t$, the policy outputs both the next answer token $a_t$ and a skill label $\hat{s}_t$. The reward combines step-level correctness with a skill-entropy alignment reward:

$$R = \sum_{t=1}^T \left[ r_{\text{correct}}(a_t) + \lambda \cdot r_{\text{skill}}(\hat{s}_t, s_t) \right],$$

where $r_{\text{skill}}$ is the negative cross-entropy between the predicted skill distribution and the gold skill label, explicitly rewarding the model for planning its cognitive moves. The gradient is computed with a policy-gradient objective:

$$\nabla_\theta J = \mathbb{E}_\pi \left[ \nabla_\theta \log \pi_\theta(a_t, \hat{s}_t \mid x_{<t}) \cdot R \right].$$

Implementation Sketch§

A simplified PyTorch training loop:

import torch.nn.functional as F

for input_ids, gold_answer, gold_skill in data_loader:
    # policy with two heads: answer and skill
    answer_logits, skill_logits = policy(input_ids)
    
    # sample action and predict skill
    answer_sample = answer_logits.argmax(-1)
    skill_pred = skill_logits.argmax(-1)
    
    # step-level rewards
    r_correct = (answer_sample == gold_answer).float()
    r_skill = -F.cross_entropy(skill_logits, gold_skill, reduction='none')
    reward = r_correct + lambda_skill * r_skill
    
    # policy gradient loss
    log_prob = policy.log_prob(answer_sample, skill_pred, input_ids)
    loss = -(log_prob * reward).mean()
    loss.backward()

Results§

On Qwen3-4B-Instruct, Skill-Entropy RL improves Skill^2-Bench accuracy from 34.4% to 68.4%; on Qwen3-1.7B, from 14.6% to 40.1%, outperforming competitive RL baselines. The same pipeline transfers to off-the-shelf datasets like OpenR1-Math, demonstrating that skill entropy is a reusable training signal. Code is available at the project repository.

Interactive SEO Tool

Embedding Vector Similarity Visualizer

Embeddings represent text in high-dimensional vector spaces. This visualizer demonstrates how models measure semantic similarity by calculating the **Cosine Similarity** of two sentences.

Cosine Similarity:0.4020
Vocabulary Size14 unique terms
Shared Terms3 terms
Intersecting Vocabulary
thebrownover
Vector Projection PlaneXYθ = 66°Vector AVector Bθ = 90° is orthogonal (0% match) · θ = 0° is parallel (100% match)

Mathematical Formulation

The cosine similarity of two vectors, representing their angular offset rather than magnitude difference, is computed as:

\[\text{Cosine Similarity} = \cos(\theta) = \frac{\mathbf{A} \cdot \mathbf{B}}{\|\mathbf{A}\| \|\mathbf{B}\|} = \frac{\sum_{i=1}^{n} A_i B_i}{\sqrt{\sum_{i=1}^{n} A_i^2} \sqrt{\sum_{i=1}^{n} B_i^2}}\]

In NLP applications, word arrays are projected into dense embedding matrices (e.g. 1536 dimensions). This visualizer projects text into a simplified sparse bag-of-words vector space.

SHARE RESEARCH:
INTEGRATED RECOMMENDATION

Accelerate your workflow with Araho

Need help choosing the right model for your product? We build AI-native MVPs.

Get your MVP built in weeks with top-tier AI developers.