Skip to content

PaSa: An LLM Agent for Comprehensive Academic Paper Search

optionalcorefrontierpaperrubric 12/122025 · ~40 min

Yichen He, Guanhua Huang, Peiyuan Feng, Yuan Lin, Yuchen Zhang, Hang Li, Weinan E

Status

TL;DR. PaSa (ByteDance) splits paper search into two 7B agents built on Qwen2.5-7B:

  • a Crawler that searches Google (restricted to arXiv and to papers before the query date), expands citation lists from chosen subsections, and fills a paper queue;
  • a Selector that reads each queued paper’s title and abstract and outputs True or False with a rationale.

The Crawler is trained with session-level PPO on synthetic queries generated from Related Work sections. Its reward comes partly from the Selector. On 50 expert-annotated real queries, PaSa-7b reaches about 0.61 recall at about 0.51 precision, far above Google-based baselines.

Why it matters now. Most deep-research agents are judged on the report. PaSa is judged on the paper set: does it find the papers a researcher needs? That is ordinary IR recall, but over an agent that decides when to search again and when to follow citations. It is also a compact case study in three recurring problems for search agents trained with RL:

  • sparse, incomplete gold sets, mitigated with an LLM reward model;
  • long trajectories, made tractable by splitting them into sessions with value bootstrapping;
  • synthetic-to-real transfer.

Crawler actions.

  • [Search] generates a query, calls Google via serper with site:arxiv.org and before:query_date, and appends all results to the queue.
  • [Expand] names a subsection of the current paper and appends every paper cited in it.
  • [Stop] resets the context to the query plus the next queued paper (title, abstract, section outline).

Crawl depth is limited to 3.

Reward. For action ata_t that adds papers p1,…,pntp_1, \dots, p_{n_t} to queue Qt\mathcal{Q}_t:

r(st,at)=α∑i=1ntI(q,pi,t)−c(at),r(s_t, a_t) = \alpha \sum_{i=1}^{n_t} \mathbb{I}(q, p_i, t) - c(a_t), I(q,pi,t)=1   if   (Selector(q,pi)=1  ∨  pi∈P)  ∧  pi∉Qt.\mathbb{I}(q,p_i,t) = 1 \;\text{ if }\; \big(\text{Selector}(q,p_i)=1 \;\lor\; p_i \in \mathcal{P}\big) \;\land\; p_i \notin \mathcal{Q}_t .

Here P\mathcal{P} is the gold set. Defaults: α=1.5\alpha = 1.5, c=0.1c = 0.1 for [Search] and [Expand], and 00 for [Stop]. Using the Selector as an auxiliary reward model matters, because citation-derived gold sets list only some of the relevant papers. The Selector emits its decision token before the rationale, so the reward is a single token. Putting the decision first did not hurt the Selector’s accuracy.

Session-level PPO. A session runs from a start state SqS_q (query only) or Sq+pS_{q+p} (query plus one paper) up to [Stop]. Each paper an action adds to the queue later starts its own expand session, so an action’s value includes what those child sessions will find.

A two-child example (hypothetical values). In a search session, the first action is [Search], which adds two new papers p1p_1 and p2p_2, both accepted by the Selector. Its immediate reward is 1.5×2−0.1=2.91.5 \times 2 - 0.1 = 2.9. Each paper will start a child session; suppose the value model estimates V^(Sq+p1)=4.0\hat V(S_{q+p_1}) = 4.0 (its citations look rich) and V^(Sq+p2)=1.0\hat V(S_{q+p_2}) = 1.0. With the cross-session discount γ1=0.1\gamma_1 = 0.1, the children add 0.1×(4.0+1.0)=0.50.1 \times (4.0 + 1.0) = 0.5. The next action is [Stop], with reward 0 and no new papers. So the return for the [Search] action, before the KL term, is 2.9+0.5+0=3.42.9 + 0.5 + 0 = 3.4. The search action is credited partly for the papers it found and partly, through bootstrapping, for the papers its children are expected to find, without rolling those children out. The full equation generalises this to many steps and children.

The return from step tt in session ii is

R^t=∑k=tti+1−1γ0 k−t[r(sk,ak)+γ1∑j=1nkV^ϕ(Sq+pj)]−βlog⁡πθ(at∣st)πsft(at∣st),\hat R_t = \sum_{k=t}^{t_{i+1}-1} \gamma_0^{\,k-t}\Big[ r(s_k,a_k) + \gamma_1 \sum_{j=1}^{n_k} \hat V_\phi(S_{q+p_j}) \Big] - \beta \log\frac{\pi_\theta(a_t\mid s_t)}{\pi_{\text{sft}}(a_t\mid s_t)},

with γ0=1.0\gamma_0 = 1.0 (within a session), γ1=0.1\gamma_1 = 0.1 (across sessions) and β=0.1\beta = 0.1. The value of each newly queued paper’s future expand session is bootstrapped by the value model instead of being rolled out. The advantage is R^t−V^ϕ(st)\hat R_t - \hat V_\phi(s_t). Policy and value losses are clipped as in standard PPO (ϵ=0.2\epsilon = 0.2).

Training recipe.

  1. Imitation. 12,989 examples from 5,000 queries, with sessions constructed using GPT-4o-generated search queries.
  2. PPO over 16,000 queries. Each step samples a search session per query plus expand sessions from its results. Returns converge after about 200 steps.
  3. Selector. Trained by imitation on 19,812 GPT-4o-labelled query-paper pairs.
PaSa: a Crawler agent fills a paper queue, a Selector agent filters it, and the Selector also supplies the Crawler's training reward A user query enters the Crawler, a 7B model with three actions. Search sends a generated query to Google restricted to arXiv and to papers before the query date, and appends results to the paper queue. Expand picks a subsection of the current paper and appends every paper cited in it. Stop resets the context to the query plus the next paper in the queue, which starts a new session. The paper queue feeds the Selector, another 7B model that outputs a True or False decision token followed by a rationale; papers marked True form the final result. During training, a dashed path shows that each newly queued paper earns reward if the Selector approves it or it is in the gold set, minus a small cost per action, and that each session's return also includes the estimated value of the expand sessions it creates. user query Crawler (7B): maximise recall [Search] Google · arXiv · before date [Expand] add refs of one subsection [Stop] reset: query + next paper paper queue p1: title, abstract, outline p2 … p3 … next paper, new session Selector (7B): precision "True" / "False" token first, then a rationale True papers = final result Training only (session-level PPO) reward per action = α × new papers that are (Selector-approved or gold) − action cost return also adds γ1 × value of each new expand session it queues (not rolled out)
Original sketch. The Crawler fills a paper queue through search and citation expansion; each queued paper later starts its own session. The Selector filters the queue for the final answer and, during training, also supplies the Crawler's reward.
  • AutoScholarQuery (synthetic, for training and testing).
    • GPT-4o reads the Related Work sections of ICLR 2023, ICML 2023, NeurIPS 2023, ACL 2024 and CVPR 2024 papers and writes queries whose answers are the cited papers found on arXiv.
    • The query date is the source paper’s publication date.
    • Splits are 33,551 / 1,000 / 1,000. The introduction says 33,511 and the abstract “35k”.
    • There are about 2.2–2.9 answers per query, depending on the venue.
    • Quality check on 100 pairs: 94.0% of queries qualified, and 93.7% of their answer papers qualified.
  • RealScholarQuery (real, for testing).
    • 50 queries from AI researchers using the PaSa demo, with query date 2024-10-01.
    • Candidates were pooled from manual search plus PaSa, Google, Google Scholar, ChatGPT and Google with GPT-4o.
    • Computer-science professors judged on average 76 candidates per query, at 4 USD per pair (about 304 USD per query).
    • There are on average 15.82 relevant papers per query (median 9, 90th percentile 37).

Recall@k applies only to ranked baselines. Crawler recall is the fraction of gold papers that reach the queue.

AutoScholarQuery test (Table 4).

SystemCrawler recallPrecisionRecallR@20R@50R@100
Google–––.1568.1891.2015
Google with GPT-4o–––.1921.2450.2683
PaSa-GPT-4o.7565.1457.3873–––
PaSa-7b.7931.1448.4834.5301.6334.6947
PaSa-7b ensemble.8265.1410.4985–––

ChatGPT (search-enabled GPT-4o) was run on a 100-query subset only (precision .0507, recall .3046).

RealScholarQuery (Table 5).

SystemCrawler recallPrecisionRecallR@20R@50R@100
Google with GPT-4o–––.2020.2573.2946
ChatGPT–.2280.2007–––
PaSa-GPT-4o.5494.4721.3075–––
PaSa-7b.7071.5146.6111.5798.6563.6929

The ensemble reaches a recall of .6488. The “+37.78 R@20, +39.90 R@50” headline is PaSa-7b minus Google with GPT-4o, in absolute points.

Ablations (Table 7), recall on AutoScholarQuery / RealScholarQuery.

  • Without [Expand]: .2536 / .2890. Precision on real queries rises to .6738.
  • Without RL: .4210 / .4115.
  • Without the Selector as reward model: .4458 / .5148.

Reward coefficient (Table 8, AutoScholarQuery).

αCrawler recallCrawler actionsPrecisionRecall
0.5.7227175.9.1458.4602
1.0.7708319.8.1451.4792
1.5.7931382.4.1448.4834
2.0.8063785.5.1409.4869

Selector (200 annotated query-paper pairs).

SelectorPrecisionRecallF1
PaSa-7b Selector0.950.780.85
GPT-4o0.960.690.80
Qwen2.5-7B (untrained)1.000.380.55
  • Gold-set construction. AutoScholarQuery’s gold is “what the authors cited”, which is not the same as “what is relevant”. This depresses measured precision (about 0.14) and may also penalise a strict Selector.
  • Pooling bias. RealScholarQuery’s pool includes PaSa itself, with only 50 queries.
  • Live web, arXiv only. Google results drift over time, and the site:arxiv.org restriction means journal-only literature is invisible. Compare with fixed-corpus setups such as AstaBench’s PaperFindingBench.
  • Scope. Machine learning only, 7B models only (the authors’ stated limitations), and depth-3 crawls.
  • Reporting. Percentages are absolute points. Training-set size and some gains are stated inconsistently across sections.
  • Open question. Does an RL-trained search policy beat a strong prompted agent once both use the same fixed, citation-aware corpus tools?

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    PaSa's per-action reward is r = α × (number of newly queued papers that are gold or Selector-approved) − c(a), with α = 1.5, c = 0.1 for [Search] and [Expand], and 0 for [Stop]. A [Search] returns 10 papers: 3 are already in the queue, and of the 7 new ones, 2 are gold and 3 others are approved by the Selector. Compute the reward with and without the Selector as reward model. Then use Table 8 to compute marginal crawler recall per extra action for α 0.5 → 1.0 and 1.5 → 2.0, and justify α = 1.5.

    What a strong answer covers
    • With the Selector: 5 papers count, so r = 1.5 × 5 − 0.1 = 7.4. Gold only: r = 1.5 × 2 − 0.1 = 2.9. The 3 duplicates earn nothing.
    • α 0.5 → 1.0: crawler recall rises 0.0481 for 143.9 more actions, about 3.3 × 10⁻⁴ per action.
    • α 1.5 → 2.0: recall rises 0.0132 for 403.1 more actions, about 3.3 × 10⁻⁵ per action, roughly ten times less efficient.
    • Final recall barely changes (0.4834 → 0.4869) while precision falls slightly (0.1448 → 0.1409), so α = 1.5 sits near the knee of the recall-vs-cost curve.
  2. Derive / compute

    Final recall can be no higher than crawler recall, because the Selector only filters the queue. Using Tables 4 and 5, compute the fraction of crawled gold papers the Selector keeps for PaSa-7b on AutoScholarQuery and on RealScholarQuery. Compare with the Selector's recall of 0.78 on its own 200-pair test set and explain the difference.

    What a strong answer covers
    • AutoScholarQuery: 0.4834 / 0.7931 ≈ 0.61. RealScholarQuery: 0.6111 / 0.7071 ≈ 0.86.
    • The 200-pair test (0.78) sits between the two, so neither number is a Selector defect by itself.
    • AutoScholarQuery gold comes from citations in Related Work sections. Some cited papers only loosely match the generated query (the quality check found 93.7% of answer papers qualified), so a strict Selector rejects them.
    • RealScholarQuery gold was judged by experts against the query itself, which is what the Selector is trained to decide. Its agreement there is much higher.
    • The gap shows how much a synthetic gold set's construction rule (citation, not relevance) shapes measured recall.
  3. Mechanism

    Explain session-level PPO in PaSa. Why can't the authors roll out a full trajectory per query? What is a session, what are its two start states, and how does the return estimate account for papers the session adds to the queue without rolling them out? Name the role of each coefficient.

    What a strong answer covers
    • Each [Search] or [Expand] can add many papers, and every queued paper later gets its own expand session, so a full trajectory can involve hundreds or thousands of papers.
    • A session is a sub-trajectory ending at [Stop]. It starts from S_q (query only) or S_q+p (query plus one queued paper), so sessions can be sampled independently.
    • The return sums in-session rewards discounted by γ0 = 1.0, plus γ1 = 0.1 times the value model's estimate of each new S_q+p state, so future expand sessions are bootstrapped, not simulated.
    • A per-token KL penalty (β = 0.1) to the imitation-learned policy limits drift. The advantage is return minus V(s), and clipped policy and value losses (ε = 0.2) follow standard PPO.
    • Each training step samples a search session per query and then several expand sessions from its results, so one step mixes both start states.
  4. What if…

    Table 7 removes three components: the [Expand] action, RL training (imitation only), and the Selector as auxiliary reward model. Report the recall change for each on AutoScholarQuery and RealScholarQuery, rank them, and explain why each effect is larger on the real queries.

    What a strong answer covers
    • Without [Expand]: recall drops 22.98 points (synthetic) and 32.21 points (real). Citation-graph expansion is the biggest single contributor.
    • Without RL: drops 6.24 and 19.96 points. RL mainly teaches when to expand and keep searching.
    • Without the Selector as reward model: drops 3.76 and 9.63 points. The sparse citation-based gold set alone under-rewards exploration.
    • Real queries have more answers (15.82 per query on average) than synthetic ones (about 2–3), so recall-oriented behaviour pays off more.
    • Removing [Expand] raises precision on real queries (0.6738 vs 0.5146) because the queue is smaller. It is a recall-precision trade, not a pure loss.
  5. Critique

    PaSa's abstract headlines gains of 37.78% in Recall@20 and 39.90% in Recall@50 over Google with GPT-4o on RealScholarQuery. Critique how much these numbers support "comprehensive academic paper search". Cover units, the construction of both benchmarks, dataset-size inconsistencies, and domain.

    What a strong answer covers
    • The gains are absolute percentage points (0.5798 − 0.2020 = 0.3778), not relative improvements. The relative improvement is closer to 2.9×.
    • The RealScholarQuery candidate pool was built partly from PaSa's own outputs plus the baselines. Unpooled relevant papers count as non-relevant, which can favour pool contributors.
    • RealScholarQuery has only 50 queries, because expert annotation cost 4 USD per query-paper pair (about 304 USD per query).
    • AutoScholarQuery's gold = papers cited in a Related Work section and found on arXiv. Results limited to arXiv (Google with site:arxiv.org) cannot find non-arXiv work, and precision is underestimated when relevant uncited papers are found.
    • The paper reports 33,551 training instances in §3.1, 33,511 in the introduction and "35k" in the abstract, and its AutoScholarQuery gains differ slightly between sections. Both datasets are machine learning only.
  6. Research idea

    Propose an experiment that tests whether PaSa's crawler policy transfers to a fixed corpus and a dense retriever, for example AstaBench's PaperFindingBench tools or a frozen arXiv snapshot. What would you change, and what would you measure?

    What a strong answer covers
    • Replace Google [Search] with a date-cut corpus search tool and [Expand] with the corpus citation graph, so runs are reproducible and comparable to other agents.
    • Compare the released PaSa-7b crawler zero-shot against a crawler re-trained with PPO on the new tool, holding the Selector fixed.
    • Measure crawler recall and final recall separately, plus number of actions and cost. Report recall at fixed action budgets to compare search policies fairly.
    • Use a relevance-judged gold set rather than citation-derived gold, or report both, to separate retrieval gains from citation-label artefacts.
    • Test a non-ML domain (for example biomedicine) to check the paper's stated limitation that all data and experiments are in machine learning.

Done with this page?

Status