MatchTIR: Fine-Grained Supervision for Tool-Integrated Reasoning via Bipartite Matching

This repository contains the model presented in the paper MatchTIR: Fine-Grained Supervision for Tool-Integrated Reasoning via Bipartite Matching.

Abstract

Tool-Integrated Reasoning (TIR) empowers large language models (LLMs) to tackle complex tasks by interleaving reasoning steps with external tool interactions. However, existing reinforcement learning methods typically rely on outcome- or trajectory-level rewards, assigning uniform advantages to all steps within a trajectory. This coarse-grained credit assignment fails to distinguish effective tool calls from redundant or erroneous ones, particularly in long-horizon multi-turn scenarios. To address this, we propose MatchTIR, a framework that introduces fine-grained supervision via bipartite matching-based turn-level reward assignment and dual-level advantage estimation. Specifically, we formulate credit assignment as a bipartite matching problem between predicted and ground-truth traces, utilizing two assignment strategies to derive dense turn-level rewards. Furthermore, to balance local step precision with global task success, we introduce a dual-level advantage estimation scheme that integrates turn-level and trajectory-level signals, assigning distinct advantage values to individual interaction turns. Extensive experiments on three benchmarks demonstrate the superiority of MatchTIR. Notably, our 4B model surpasses the majority of 8B competitors, particularly in long-horizon and multi-turn tasks.

Code

Our codes are available at https://github.com/quchangle1/MatchTIR

Downloads last month
16
Safetensors
Model size
4B params
Tensor type
BF16
·
Video Preview
loading

Model tree for ChangleQu/Qwen3-4B-MatchTIR-OT

Base model

Qwen/Qwen3-4B-Base
Finetuned
Qwen/Qwen3-4B
Finetuned
(407)
this model

Collection including ChangleQu/Qwen3-4B-MatchTIR-OT

Paper for ChangleQu/Qwen3-4B-MatchTIR-OT