Downloads · 30 days
33
18% of all-time downloads
THU-KEG/DeepPrune-Judge-4B
DeepPrune-Judge-4B is a text classification model from THU-KEG. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" 🖥️ <a href="https://github.com/THU-KEG/DeepPrune" target="blank"Code</a • 📃 <a href="https://arxiv.org/abs/2510.08483" target="blank"Paper</a • ✈️ <a href="https://deepprune.github.io/" target="bla…
Downloads · 30 days
33
18% of all-time downloads
All-time downloads
187
Public
Repo size
8.1 GB
Likes
2
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
Parallel scaling has emerged as a powerful paradigm to enhance reasoning capabilities in large language models (LLMs) by generating multiple Chain-of-Thought (CoT) traces simultaneously. However, this approach introduces significant computational inefficiency due to inter-trace redundancy -- our analysis reveals that over 80% of parallel reasoning traces yield identical final answers, representing substantial wasted computation. To address this critical efficiency bottleneck, we propose DeepPrune, a novel framework that enables efficient parallel scaling through dynamic pruning. Our method features a specialized judge model trained with focal loss and oversampling techniques to accurately predict answer equivalence from partial reasoning traces which realizes 0.87 AUROC on equivalence prediction, combined with an online greedy clustering algorithm that dynamically prunes redundant paths while preserving answer diversity. Comprehensive evaluations across three challenging benchmarks (AIME 2024, AIME 2025, and GPQA) and multiple reasoning models demonstrate that DeepPrune achieves remarkable token reduction by over 80% compared to conventional consensus sampling on most cases, while maintaining competitive accuracy within 3 percentage points. Our work establishes a new standard for efficient parallel reasoning, making high-performance reasoning more efficient. Our code and data are here: this https URL
This model is a fine-tuned version of Qwen3-4B-Instruct-2507 on the my_custom_dataset dataset. It achieves the following results on the evaluation set:
To address the inter-trace redundancy problem in parallel scaling, we propose DeepPrune, a two-stage framework that includes offline training of a specialized judge model and online inference-time pruning. The core idea is that by accurately predicting whether two incomplete reasoning traces will yield identical final answers, we can efficiently prune redundant paths while preserving answer diversity.
The training data is in this format:
{
"instruction": "It's like a system prompt or task description",
"input": "Two truncated traces to be checked whether their answers are identical",
"output": "The expected model response: identical/ not identical"
}
We fine-tune Qwen/Qwen3-4B-Instruct-2507 to become a judge model: DeepPrune-Judge-4B that can predict whether two unfinished traces would yield the same answer.
Our training data is collected exclusively from DeepSeek-R1-Distill-Llama-8B outputs, while traces from other models are reserved for testing cross-model generalization.
The model is trained on DeepPrune's fine-tuing dataset
The following hyperparameters were used during training:
You can check results here.
We report the evaluation results in our paper's Offline Experiment Results section (section 5.2), too.