TL;DR
DeepXiv-SDK is a new "agentic data interface" designed to help LLM agents navigate the massive world of scientific literature without drowning in tokens or brittle PDF parsing. By transforming millions of papers into structured, section-addressable JSON objects with built-in "budget hints," it allows agents to perform deep research and complex searches with significantly higher accuracy and lower costs than traditional methods.
What Problem Does This Paper Address?
While LLM agents are increasingly used to automate scientific research, they face a massive "data access" bottleneck. Most scientific knowledge is locked in human-centric formats like PDFs and HTML.
Current workflows are messy: an agent searches the web, downloads a PDF, uses a heuristic tool to scrape the text, and then shoves massive chunks of that text into its context window. This process is inefficient (wasting thousands of tokens on boilerplate), brittle (parsing often fails on complex layouts), and expensive. Essentially, we are asking agents to "read" like humans when they should be "querying" like databases. The authors argue that for agents to be effective, scientific literature needs to be treated as a structured data interface rather than a collection of unstructured documents.
Methods
The authors introduce DeepXiv-SDK, which is built on a three-layer architecture:
- Data Layer: This layer ingests the entire arXiv corpus. It uses MinerU to convert PDFs into clean Markdown and then organizes them into a canonical JSON schema. Crucially, it enriches this data with "budget hints" (token counts per section), scholarly context (citations), and even "social attention" (mentions on X/Twitter).
- Service Layer: This provides the "plumbing" for agents. It offers a REST API and a Python SDK that support progressive access. An agent can first request a "header" (metadata and section outlines), then decide to read specific "sections," and only request the "full text" or "evidence" when absolutely necessary. It also uses hybrid retrieval (combining keyword search with vector embeddings).
- Application Layer: This contains pre-configured agents for two main workflows: Deep Search (finding specific papers based on complex constraints) and Deep Research (extracting evidence and comparing results across multiple papers).
Datasets
- The arXiv Corpus: The system indexes over 2.9 million papers, with daily synchronizations to include new releases.
- Evaluation Sets: The authors created two new practical benchmarks:
- A search-focused set of 50 multi-condition queries (e.g., "Find a paper that proposes X and outperforms Y").
- A research-focused set of 47 complex QA queries requiring evidence extraction from multiple document sections.
Key Insights and Ideas
- Progressive Disclosure: The "aha moment" here is that agents shouldn't read the whole paper at once. By providing "coarse-to-fine" views, the SDK lets the agent "triage" a paper based on its abstract and section titles before committing to the "token cost" of reading the full text.
- Budget-Awareness: By including token counts and "reading cost proxies" in the metadata, agents can plan their research strategy to stay within context limits or API budgets.
- Section-Level Addressing: Because the data is structured by section, agents can jump directly to the "Experiments" or "Methods" section across thousands of papers, ensuring consistent evidence look-up.
- Social Signals as Filters: Integrating real-time social media mentions allows agents to rank papers not just by citations (which take years to accumulate) but by current community interest.
Key Results
- Search Efficiency: In agentic search tasks, DeepXiv-SDK achieved significantly higher Recall@1/10 with a latency of just 1.9 seconds, compared to 43.9s – 269s for existing academic search platforms.
- Research Quality: In the "Deep Research" benchmark, the SDK reduced token overhead and time costs while improving answer quality. It effectively replaced brittle "Search & Read" pipelines with structured, evidence-linked reporting.
- Speedup: The system provides a 54.6x speedup for local JSON access compared to a standard "fetch and parse" baseline.
- Scale: The infrastructure is stress-tested to handle multi-million requests per day, making it viable for production-level agent frameworks.
Limitations and Future Work
- Corpus Coverage: While it covers the complete arXiv corpus, coverage for other major repositories like PubMed Central (PMC) and bioRxiv is currently "in progress" or limited to basic metadata.
- Parsing Failures: About 8% of the arXiv corpus (roughly 236,000 papers) could not be successfully parsed into structured sections, often due to non-standard formatting, a lack of section markers, or documents dominated by figures.
- Dependency on External Metadata: Some features, like citation counts, rely on third-party services (Semantic Scholar), which may introduce latency or data gaps.
- Future Directions: The authors plan to extend the "agentic interface" to include more open-access corpora and improve the extraction of tables and mathematical formulas.
Summary updated