百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

WebThinker

> 编程语言
开源

[NeurIPS 2025] WebThinker: 利用深度研究能力增强大型推理模型

1.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

[NeurIPS 2025] WebThinker: 利用深度研究能力增强大型推理模型

WebThinker: Empowering Large Reasoning Models with Deep Research Capability

WebThinker-QwQ-32B | WebThinker-R1-7B | WebThinker-R1-14B | WebThinker-R1-32B

If you like our project, please give us a star ⭐ on GitHub for the latest update. ## Latest News - **[Sep 18, 2025]**: Our paper **[WebThinker: Empowering Large Reasoning Models with Deep Research Capability](https://arxiv.org/abs/2504.21776)** has been accepted at NeurIPS 2025! - **[May 30, 2025]**: WebThinker now supports **[Google Serper API](https://serper.dev/)** for web search! Important: **[Bing Search API](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api)** will be retired in August 2025. - **[May 9, 2025]**: The brief introduction of WebThinker can be found on platforms like **[X](https://x.com/kakakbibibi/status/1917768235069628823)**, **[Zhihu](https://zhuanlan.zhihu.com/p/1903981050780192911)**, and **[WeChat](https://mp.weixin.qq.com/s/lVrTZQLmrJkkG5QYcEZTFA)**. - **[May 1, 2025]**: **[WebThinker Model Collection](https://huggingface.co/collections/lixiaoxi45/webthinker-6812d5fd1287ee53d68f0557)** is now available on Hugging Face. You can deploy our optimized models for your deep research tasks. - **[May 1, 2025]**: Our paper is now available on **[arXiv](https://arxiv.org/abs/2504.21776)** and **[Hugging Face](https://huggingface.co/papers/2504.21776)**. - **[March 31, 2025]**: **[WebThinker Notion Page](https://foremost-beechnut-8ed.notion.site/WebThinker-Empowering-Large-Reasoning-Models-with-Deep-Research-Capability-d13158a27d924a4b9df7f9ab94066b64)** launched with comprehensive project details. - **[March 31, 2025]**: Full codebase released. WebThinker now supports deep research with open-source reasoning models like QwQ-32B. ## Deep Research Agent Family Welcome to try our deep research agent series:

> [**DeepAgent: A General Reasoning Agent with Scalable Toolsets (New!)**](https://arxiv.org/abs/2510.21618)
> **Authors:** Xiaoxi Li, Wenxiang Jiao, Jiarui Jin, Guanting Dong, Jiajie Jin, Yinuo Wang, Hao Wang, Yutao Zhu, Ji-Rong Wen, Yuan Lu, Zhicheng Dou
> **TLDR:** An end-to-end deep reasoning agent that performs autonomous thinking, tool discovery, and action execution with brain-inspired memory folding mechanism.
[](https://github.com/RUC-NLPIR/DeepAgent) [](https://arxiv.org/abs/2510.21618) [](https://huggingface.co/papers/2510.21618) > [**WebThinker: Empowering Large Reasoning Models with Deep Research Capability (NeurIPS 2025)**](https://arxiv.org/abs/2504.21776)
> **Authors:** Xiaoxi Li*, Jiajie Jin*, Guanting Dong*, Hongjin Qian, Yutao Zhu, Yongkang Wu, Ji-Rong Wen, Zhicheng Dou
> **TLDR:** A deep research agent that empowers large reasoning models with autonomous search, web browsing, and research report drafting capabilities.
[](https://github.com/RUC-NLPIR/WebThinker) [](https://arxiv.org/abs/2504.21776) [](https://huggingface.co/papers/2504.21776) > [**Search-o1: Agentic Search-Enhanced Large Reasoning Models (EMNLP 2025)**](https://arxiv.org/abs/2501.05366)
> **Authors:** Xiaoxi Li, Guanting Dong, Jiajie Jin, Yuyao Zhang, Yujia Zhou, Yutao Zhu, Peitian Zhang, Zhicheng Dou
> **TLDR:** An agentic search-enhanced framework that integrates autonomous knowledge retrieval with large reasoning models through Agentic RAG and reasoning-in-documents modules.
[](https://github.com/RUC-NLPIR/Search-o1) [](https://arxiv.org/abs/2501.05366) [](https://huggingface.co/papers/2501.05366) [](https://search-o1.github.io/)

## Demo ## Overview **WebThinker** is a deep research framework fully powered by large reasoning models (LRMs). WebThinker enables LRMs to **autonomously search**, **deeply explore web pages**, and **draft research reports**, all within their thinking process. Unlike existing open-source deep search agents that typically employ retrieval-augmented generation (RAG) with predefined workflows, WebThinker allows the reasoning model itself to perform actions during thinking, achieving **end-to-end task execution** in a single generation. ### Overall Performance

As shown above, WebThinker consistently outperforms competing approaches on both knowledge-intensive complex reasoning benchmarks (GPQA, GAIA, WebWalkerQA, HLE) and open-ended reasoning tasks for report generation. Our WebThinker-32B with QwQ-32B as backbone reasoning model achieves superior performance across all tasks. ### ✨ The WebThinker Framework **WebThinker** enables reasoning models to autonomously conduct web searches and web page navigations to acquire external knowledge during their reasoning process. This approach significantly reduces the time and costs associated with information gathering for researchers in knowledge-intensive fields. Furthermore, WebThinker allows LRMs to draft section content while thinking and searching, producing comprehensive, customized reports that directly address users' research questions. **Key Features:** - We introduce a **Deep Web Explorer** that empowers LRMs to search, navigate pages by clicking interactive elements (like links or buttons), and extract relevant information. Based on initial search results, the LRM can initiate follow-up searches and traverse deeper links until it collects all relevant information. - For scientific reporting, our **Autonomous Think-Search-and-Draft** strategy integrates real-time knowledge seeking with report creation. We equip LRMs with three specialized tools: (1) drafting content for specific chapters, (2) checking the current report, and (3) editing the report—ensuring reports remain comprehensive, coherent, and adaptive to new insights. - We're developing **RL-based training strategies** to optimize end-to-end task performance by leveraging large-scale reasoning trajectories from complex tasks. Using accuracy of reasoning, tool usage, and final outputs, we construct preference pairs for online DPO training, enabling the model to progressively improve its research capabilities. ## Installation ### Environment Setup ```bash # Create conda environment conda create -n webthinker python=3.9 conda activate webthinker # Install requirements cd WebThinker-main pip install -r requirements.txt ``` ## Quick Start ### Pre-preparation #### Model Serving Before running WebThinker, ensure your reasoning model and auxiliary model are served using vLLM. In our experiments, we use QwQ-32B as the reasoning model and Qwen-32B-Instruct as the auxiliary model. You can also explore other instruction-tuned models as your auxiliary model, which will be used in webpage reading, report writting/editting, evaluation, etc. For detailed instructions on model serving, see [here](https://docs.vllm.ai/en/stable/serving/distributed_serving.html). #### Web Parser Client For better web crawling performance, we recommend setting up a web parser client in `scripts/search/bing_search.py` using [Crawl4AI](https://github.com/unclecode/crawl4ai). This will help handle JavaScript-rendered content and provide more reliable webpage extraction. Now you can run different inference modes using the provided scripts. Below are examples of how to execute each mode: ### Problem Solving Mode 1. If you would like to ask a single question, run the following command: ```bash python scripts/run_web_thinker.py \ --single_question "What is OpenAI Deep Research?" \ --search_engine "serper" \ --serper_api_key "YOUR_GOOGLE_SERPER_API" \ --api_base_url "YOUR_API_BASE_URL" \ --model_name "QwQ-32B" \ --aux_api_base_url "YOUR_AUX_API_BASE_URL" \ --aux_model_name "Qwen2.5-32B-Instruct" \ --tokenizer_path "PATH_TO_YOUR_TOKENIZER" \ --aux_tokenizer_path "PATH_TO_YOUR_AUX_TOKENIZER" ``` 2. If you would like to run results on benchmarks, run the following command: ```bash python scripts/run_web_thinker.py \ --dataset_name gaia \ --split dev \ --concurrent_limit 32 \ --max_search_limit 15 \ --search_engine "serper" \ --serper_api_key "YOUR_GOOGLE_SERPER_API" \ --api_base_url "YOUR_API_BASE_URL" \ --model_name "QwQ-32B" \ --aux_api_base_url "YOUR_AUX_API_BASE_URL" \ --aux_model_name "Qwen2.5-32B-Instruct" \ --tokenizer_path "PATH_TO_YOUR_TOKENIZER" \ --aux_tokenizer_path "PATH_TO_YOUR_AUX_TOKENIZER" ``` ### Report Generation Mode 1. If you would like to ask a single question, run the following command: ```bash python scripts/run_web_thinker_report.py \ --single_question "What are the models of OpenAI and what are the differences?" \ --search_engine "serper" \ --serper_api_key "YOUR_GOOGLE_SERPER_API" \ --api_base_url "YOUR_API_BASE_URL" \ --model_name "QwQ-32B" \ --aux_api_base_url "YOUR_AUX_API_BASE_URL" \ --aux_model_name "Qwen2.5-32B-Instruct" \ --tokenizer_path "PATH_TO_YOUR_TOKENIZER" \ --aux_tokenizer_path "PATH_TO_YOUR_AUX_TOKENIZER" ``` 2. If you would like to run results on benchmarks, run the following command: ```bash python scripts/run_web_thinker_report.py \ --dataset_name glaive \ --split test \ --concurrent_limit 32 \ --search_engine "serper" \ --serper_api_key "YOUR_GOOGLE_SERPER_API" \ --api_base_url "YOUR_API_BASE_URL" \ --model_name "QwQ-32B" \ --aux_api_base_url "YOUR_AUX_API_BASE_URL" \ --aux_model_name "Qwen2.5-32B-Instruct" \ --tokenizer_path "PATH_TO_YOUR_TOKENIZER" \ --aux_tokenizer_path "PATH_TO_YOUR_AUX_TOKENIZER" ``` **Parameters Explanation:** - `--dataset_name`: Name of the dataset to use (glaive). - `--split`: Data split to run (test). - `--single_question`: The question you want to ask when running in single question mode. - `--concurrent_limit`: Maximum number of concurrent requests. - `--max_search_limit`: Maximum number of search queries per reasoning session. - `--search_engine`: Search engine to use (bing or serper). Default: bing. - `--serper_api_key`: Your Google Serper API key (not required when using Bing). - `--bing_subscription_key`: Your Bing Search API subscription key (not required when using Serper). - `--api_base_url`: Base URL for the main model API. - `--model_name`: Name of the main model to use. - `--aux_api_base_url`: Base URL for the auxiliary model API. - `--aux_model_name`: Name of the auxiliary model to use. ### Run Demo You can run the demo we have created with the following command, and we will conduct in-depth exploration and thinking based on the questions you input. ```bash cd demo streamlit run_demo.py ``` **Note:** Before running, it is necessary to configure the relevant parameters in `demo/settings.py`. ### Benchmarks The benchmarks we utilize are categorized into two types: - **Complex Reasoning Benchmarks:** - **PhD-level Science QA:** [GPQA](https://arxiv.org/abs/2311.12022) (198 questions) - **General AI Assistant:** [GAIA](https://arxiv.org/abs/2311.12983) (103 questions) - **Web Exploration:** [WebWalkerQA](https://arxiv.org/abs/2501.07572) (680 questions) - **Extremely Difficult Reasoning Problems:** [Humanity's Last Exam (HLE)](https://arxiv.org/abs/2501.14249) (500 questions) - **Scientific Report Evaluation:** - **General Open-ended Reasoning Problem:** [Reasoning-v1-20m](https://huggingface.co/datasets/glaiveai/reasoning-v1-20m) (30 questions) All the pre-processed data is available in the `./data/` directory. For GAIA, HLE and Reasoning-v1-20m, we sampled a text-only subset of questions to efficiently conduct our evaluation. ### Evaluation

GitHub Issues· 11 开放

在 GitHub 查看全部
  • #37

    Feature Request: Add TalorData SERP API as a search engine option

    更新于 2026年7月14日
  • #36

    请问训练后的模型是端到端的么?

    更新于 2026年2月3日
  • #35

    Results based on alternative (non-Bing) search tools

    更新于 2025年10月27日
  • #33

    What max_tokens to use for Qwq evaluation?

    更新于 2025年10月27日
  • #34

    Release WebThinker artifacts (datasets, models) on Hugging Face

    更新于 2025年10月14日
  • #31

    Failed to invoke WebExplorer

    更新于 2025年10月13日
  • #32

    Remove or Encrypt Evaluation Data

    更新于 2025年9月22日
  • #30

    traning data

    更新于 2025年7月15日
  • #28

    About scientific report generation

    更新于 2025年6月19日

核心特点

  • •[Sep 18, 2025]: Our paper WebThinker: Empowering Large Reasoning Models with Deep Research Capability has been accepted at NeurIPS 2025!
  • •[May 30, 2025]: WebThinker now supports Google Serper API for web search! Important: Bing Search API will be retired in August 2025.
  • •[May 9, 2025]: The brief introduction of WebThinker can be found on platforms like X, Zhihu, and WeChat.
  • •[May 1, 2025]: WebThinker Model Collection is now available on Hugging Face. You can deploy our optimized models for your deep research tasks.
  • •[May 1, 2025]: Our paper is now available on arXiv and Hugging Face.
  • •[March 31, 2025]: WebThinker Notion Page launched with comprehensive project details.
  • •[March 31, 2025]: Full codebase released. WebThinker now supports deep research with open-source reasoning models like QwQ-32B.
  • •--dataset_name: Name of the dataset to use (glaive).
  • •--split: Data split to run (test).
  • •--single_question: The question you want to ask when running in single question mode.

> 标签

Pythondeepresearchdeepsearchdeepseek-r1gaia

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言