SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.22139 · 2026

Reasoning While Asking: Transforming Reasoning Large Language Models from Passive Solvers to Proactive Inquirers

Xin Chen, Shujian Huang, Feng Jiang, Min Yang, Hardy Chen, Wenya Xie, Shuo Yan, Yiqian Zhang

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.22139.json · badge: /api/ran/2601.22139.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
SUAT-AIRI/Proactive-Interactive-R1 canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
construct_context Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/retrieval_question_answering/run_retriaqa_interactive_generation.py
code served (permissive licence) · get_code("02755726312368bd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'data': {
        'entity_pages': {
            'title': ['Entity One', 'Entity Two'],
            'wiki_context': ['This is the context for entity one with some details.', 'This is the context for entity two with more information.']
        }
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_again Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/factual_knowledge/run_mmlu_interactive_generation.py
code served (permissive licence) · get_code("628ba40cfdad9e0a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_final(text):
    pattern = '\\b[A-J]\\b(?!.*\\b[A-J]\\b)'
    match = re.search(pattern, text, re.DOTALL)
    if match:
        return match.group(0)
    else:
        return None

def extract_again(text):
    match = re.search('.*[aA]nswer:\\s*([A-J])', text)
    if match:
        return match.group(1)
    else:
        return extract_final(text)

# Test case 1: text with "Answer:" followed by a letter
text1 = "Some question here\nAnswer: C"

# Test case 2: text with "answer:" followed by a letter
text2 = "Some question\nanswer: F\nMore text"

# Test case 3: text with multiple letters but no Answer field - should extract final
text3 = "Question with letters A B C D E"

# Test case 4: text with Answer field containing lowercase answer
text4 = "Question\nAnswer: G"

ARGS = {
    "text": text1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_answer Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/factual_knowledge/run_mmlu_interactive_generation.py
code served (permissive licence) · get_code("adf4a17f6030f2ef")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_again(text):
    match = re.search('.*[aA]nswer:\\s*([A-J])', text)
    if match:
        return match.group(1)
    else:
        return extract_final(text)

def extract_final(text):
    pattern = '\\b[A-J]\\b(?!.*\\b[A-J]\\b)'
    match = re.search(pattern, text, re.DOTALL)
    if match:
        return match.group(0)
    else:
        return None

def extract_answer(text):
    pattern = 'answer is \\(?([A-J])\\)?'
    match = re.search(pattern, text)
    if match:
        return match.group(1)
    else:
        return extract_again(text)

# Setup code to construct valid arguments
test_text_1 = "The answer is (C) because it matches the pattern."
test_text_2 = "Some text with answer: B at the end."
test_text_3 = "Just some random text with letter D inside."
test_text_4 = "Multiple answers: A and then answer: E"

ARGS = {
    "text": test_text_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_final Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/factual_knowledge/run_mmlu_interactive_generation.py
code served (permissive licence) · get_code("bfcfbf7614a49849")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def extract_final(text):
    pattern = '\\b[A-J]\\b(?!.*\\b[A-J]\\b)'
    match = re.search(pattern, text, re.DOTALL)
    if match:
        return match.group(0)
    else:
        return None

# The function takes a single parameter 'text' which is a string
# It searches for the last occurrence of a word boundary followed by a single letter A-J followed by a word boundary
# Let's create a simple test case with multiple letters and ensure the last one is captured

text_input = "This is a test A with B multiple C letters D and E more F text G H I J"

ARGS = {
    'text': text_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_history Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/data_construction/utils.py
code served (permissive licence) · get_code("f0838bc794ef059f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Optional, Sequence

torch.manual_seed(0)

# The function format_history takes an Optional[Sequence[str]]
# It checks if history is falsy, returns 'null' if so
# Otherwise it joins the sequence with newlines and strips

# Test case 1: None/empty sequence
history_none = None

# Test case 2: Non-empty sequence of strings
history_with_items = ["line 1", "line 2", "line 3"]

# Using the non-empty case as the primary test
ARGS = {
    "history": history_with_items
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_question_think_template Ran
ran, honoured the contract we drafted
SUAT-AIRI/Proactive-Interactive-R1/data_construction/utils.py
code served (permissive licence) · get_code("3517afb83a982f26")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import Any, Dict, List

torch.manual_seed(0)

class MockTokenizer:
    def apply_chat_template(self, messages: List[Dict[str, str]], tokenize: bool = False, continue_final_message: bool = False) -> List[int]:
        # Simple mock that returns a list of token ids
        # In reality, this would tokenize the messages
        token_ids = []
        for msg in messages:
            content = msg['content']
            # Simple mock: convert characters to token ids
            token_ids.extend([ord(c) % 100 for c in content])
        return token_ids

tokenizer = MockTokenizer()
question = "What is the capital of France?"
reasoning_content = "I need to think about this. France is a European country, and its capital is Paris."

ARGS = {
    "tokenizer": tokenizer,
    "question": question,
    "reasoning_content": reasoning_content,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_user_prompt Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/data_construction/utils.py
code served (permissive licence) · get_code("6275174328ddcda4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct arguments for get_user_prompt
ARGS = {
    'question': 'What is the capital of France?',
    'answer': 'The capital of France is Paris.',
    'history': ['What is the largest country in Europe?', 'Russia is the largest country in Europe.', 'What is the capital of Russia?', 'The capital of Russia is Moscow.'],
    'language': 'en'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_coqa_dataset Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/abg_coqa/run_coqa_interactive_generation.py
code served (permissive licence) · get_code("d63b85061479dfbb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with CoQA-like structure
temp_dir = tempfile.mkdtemp()
data_file = os.path.join(temp_dir, 'coqa_dataset.json')

# Create sample dataset in CoQA format
sample_dataset = {
    "data": [
        {
            "source": "wikipedia",
            "story_id": "0",
            "story": "This is a sample story for testing.",
            "questions": [
                {
                    "turn_id": 1,
                    "question": "What is this about?",
                    "answer": "A sample story"
                }
            ]
        }
    ]
}

with open(data_file, 'w', encoding='utf-8') as f:
    json.dump(sample_dataset, f, ensure_ascii=False)

# Create a simple args object
class Args:
    def __init__(self, data_dir):
        self.data_dir = data_dir

ARGS = {
    "args": Args(data_dir=data_file)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_api_url Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/data_construction/dialogue_construction.py
code served (permissive licence) · get_code("6968fb7e3a3eb934")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

CHAT_COMPLETIONS_PATH = 'chat/completions'

def normalize_api_url(api_url: str) -> str:
    return api_url.rstrip('/') + '/' + CHAT_COMPLETIONS_PATH

ARGS = {
    'api_url': 'https://api.openai.com/v1'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
output_file_path Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/data_construction/dialogue_construction.py
code served (permissive licence) · get_code("260d26b856ead32c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned PosixPath. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path

ARGS = {
    'input_file': '/tmp/sample_data.csv',
    'output_path': tempfile.mkdtemp(),
    'uncertainty_threshold': 0.75
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
preprocess Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/generalization_eval/factual_knowledge/run_mmlu_pro_interactive_generation.py
code served (permissive licence) · get_code("c48a904c128bab0a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Construct test_df - a list of dictionaries with 'options' and 'category' keys
test_df = [
    {
        'options': ['option1', 'N/A', 'option2'],
        'category': 'category_A',
        'id': 1
    },
    {
        'options': ['N/A', 'option3'],
        'category': 'category_B',
        'id': 2
    },
    {
        'options': ['option4', 'option5', 'N/A'],
        'category': 'category_A',
        'id': 3
    }
]

ARGS = {
    'test_df': test_df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_dataset Ran
ran; our contract draft was wrong, not the code
SUAT-AIRI/Proactive-Interactive-R1/data_construction/dialogue_construction.py
code served (permissive licence) · get_code("36f2772c2188a4d8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
from pathlib import Path

# Create a temporary JSONL file for testing
with tempfile.NamedTemporaryFile(mode='w', suffix='.jsonl', delete=False, encoding='utf-8') as f:
    jsonl_file = f.name
    f.write('{"key1": "value1", "key2": 42}\n')
    f.write('{"key1": "value2", "key2": 43}\n')

ARGS = {
    'input_file': jsonl_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
extract_again 2 other papers
1 dated earlier, 1 the same month
2406.01574 (2024-06)
MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark
2601.11866 (2026-01)
Advances in LLM Reasoning Enable Flexibility in Clinical Problem-Solving
extract_final 2 other papers
1 dated earlier, 1 the same month
2406.01574 (2024-06)
MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark
2601.11866 (2026-01)
Advances in LLM Reasoning Enable Flexibility in Clinical Problem-Solving
preprocess 1 other paper
1 dated earlier
2406.01574 (2024-06)
MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Reasoning-oriented Large Language Models (LLMs) have achieved remarkable progress with Chain-of-Thought (CoT) prompting, yet they remain fundamentally limited by a blind self-thinking paradigm: performing extensive internal reasoning even when critical information is missing or ambiguous. We propose Proactive Interactive Reasoning (PIR), a new reasoning paradigm that transforms LLMs from passive solvers into proactive inquirers that interleave reasoning with clarification. Unlike existing search-or tool-based frameworks that primarily address knowledge uncertainty by querying external environments, PIR targets premise-and intent-level uncertainty through direct interaction with the user. PIR is implemented via two core components: (1) an uncertainty-aware supervised fine-tuning procedure that equips models with interactive reasoning capability, and (2) a user-simulatorbased policy optimization framework driven by a composite reward that aligns model behavior with user intent. Extensive experiments on mathematical reasoning, code generation, and document editing demonstrate that PIR consistently outperforms strong baselines, achieving up to 32.70% higher accuracy, 22.90% higher pass rate, and 41.36 BLEU improvement, while reducing nearly half of the reasoning computation and unnecessary interaction turns. Further reliability evaluations on factual knowledge, question answering, and missing-premise scenarios confirm the strong generalization and robustness of PIR. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.22139")
get_code_for_paper("2601.22139")
have("2601.22139")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.22139.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.22139.svg)](https://syntology.ai/paper/2601.22139)

Connect an agent — have() is free.