PaSa: An LLM Agent for Comprehensive Academic Paper Search
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.
Key idea
Section titled “Key idea”Crawler actions.
- [Search] generates a query, calls Google via serper with
site:arxiv.organdbefore: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 that adds papers to queue :
Here is the gold set. Defaults: , for [Search] and [Expand], and 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 (query only) or (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 and , both accepted by the Selector. Its immediate reward is . Each paper will start a child session; suppose the value model estimates (its citations look rich) and . With the cross-session discount , the children add . The next action is [Stop], with reward 0 and no new papers. So the return for the [Search] action, before the KL term, is . 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 in session is
with (within a session), (across sessions) and . 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 . Policy and value losses are clipped as in standard PPO ().
Training recipe.
- Imitation. 12,989 examples from 5,000 queries, with sessions constructed using GPT-4o-generated search queries.
- 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.
- Selector. Trained by imitation on 19,812 GPT-4o-labelled query-paper pairs.
- 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).
Key results
Section titled “Key results”Recall@k applies only to ranked baselines. Crawler recall is the fraction of gold papers that reach the queue.
AutoScholarQuery test (Table 4).
| System | Crawler recall | Precision | Recall | R@20 | R@50 | R@100 |
|---|---|---|---|---|---|---|
| – | – | – | .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).
| System | Crawler recall | Precision | Recall | R@20 | R@50 | R@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 recall | Crawler actions | Precision | Recall |
|---|---|---|---|---|
| 0.5 | .7227 | 175.9 | .1458 | .4602 |
| 1.0 | .7708 | 319.8 | .1451 | .4792 |
| 1.5 | .7931 | 382.4 | .1448 | .4834 |
| 2.0 | .8063 | 785.5 | .1409 | .4869 |
Selector (200 annotated query-paper pairs).
| Selector | Precision | Recall | F1 |
|---|---|---|---|
| PaSa-7b Selector | 0.95 | 0.78 | 0.85 |
| GPT-4o | 0.96 | 0.69 | 0.80 |
| Qwen2.5-7B (untrained) | 1.00 | 0.38 | 0.55 |
Limitations & open questions
Section titled “Limitations & open questions”- 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.orgrestriction 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?
Connections
Section titled “Connections”- PPO and advantage estimation: the base algorithm. PaSa’s change is the session split with cross-session value bootstrapping.
- Search-R1: RL for search agents with outcome rewards on QA. PaSa instead rewards retrieval itself (newly found relevant papers).
- Training-data synthesis: AutoScholarQuery is a Related-Work-to-query synthesis recipe.
- Ai2 Scholar QA and AstaBench: PaperFindingBench evaluates the same paper-finding task with fixed tools and estimated recall.
- Scientific-literature evaluation atlas: where paper-set recall sits relative to report-quality and preference benchmarks.
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.