# Active Corpus Selection for Training Subgraph Retrievers Using OOD Queries

*Pritish Chakraborty, Aditya Singh, Indradyumna Roy, Lokesh N, Himanshu Dutta, Arun Iyer, Yashoteja Prabhu, Gaurav Sinha, Manik Varma, Soumen Chakrabarti, Abir De*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153257) · [Open on the map](../papers.html#p153257)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Hyperbolic Graph Representation Learning](../pgroup/469.md) · Type: new method · Keywords: subgraph retrieval, out-of-distribution queries, active corpus selection, molecular graphs, distribution shift, positive retrieval

## Summary
ACROSS is an active corpus selection framework that selects a small subset of molecular graphs per out-distribution query under a fixed solver budget, proves optimal budget allocation to positives, and builds a reusable corpus index that improves subgraph retriever training across distributions.

## Explained to a 5-year-old
Sometimes computers need to find parts of a molecule that match a new picture, but they get confused when the pictures change. Getting the right answers for each new picture is hard because it takes a lot of time to label many examples. The paper suggests picking only a few important examples from a big collection so that the computer can learn without too much work. It also shows that focusing only on the most useful examples works best when there are many more negative than positive cases. By using some clever math tricks, the computer can reuse the same set of examples for many different kinds of questions.

## Explained to a 5-year-old, longer
Imagine you have a big box of puzzle pieces that look like tiny molecules. You want to quickly find the pieces that match a new picture you see, but the pictures can be very different each time. Usually, you would need to label every piece in the box for each new picture, which takes a lot of time and effort. The paper comes up with a smarter way to avoid labeling everything. It selects only a small group of pieces that are most helpful for learning to match new pictures. This small group is chosen because it gives the best chance to learn while using limited time. The authors also prove that when there are many more pieces that do not match than those that do, it is best to spend all the time looking for the matching pieces. To make the selected pieces work well for many different kinds of pictures, they use some math tricks to simplify how the pieces are represented. They also add a special training step that makes the system robust when the pictures change a lot. The final result is a single index of pieces that can be reused for any new type of picture. In experiments, this method beats several other simple methods at finding the right pieces. This approach saves time and resources while still giving good results for molecular matching tasks.

## For a technical reader
The approach tackles the problem of neural subgraph retrieval models losing accuracy when the queries come from a different distribution. Instead of retraining the model and labeling a huge corpus for each new distribution, it selects a small, informative subset of the corpus that can be used to train the model effectively. The method proves that, under extreme class imbalance, the best use of the limited labeling budget is to focus entirely on retrieving positive examples. To make the selected subset work for any distribution, the authors linearize embeddings, remove nonlinearities with random projections, and train representations that are tolerant to distribution shifts using adversarial parameter perturbations. Experiments on four molecular graph datasets show that the approach consistently outperforms six baseline methods in downstream retrieval accuracy.

## Problem
Neural subgraph retrieval models degrade when query distributions shift, and obtaining fresh ground-truth labels for each new distribution is computationally prohibitive due to NP-hard subgraph matching across large corpora.

## Method
The approach selects a small corpus subset per out-distribution query under a fixed solver budget, proves that allocating the entire budget to retrieving positives is optimal under extreme class imbalance, linearizes corpus embeddings around a base model, applies randomized projections to eliminate hinge nonlinearities, and trains distribution-shift-tolerant representations via adversarial parameter perturbation, building a reusable corpus index.

## Results
The approach consistently outperforms six baselines in downstream retrieval accuracy across four molecular graph datasets.

## Contributions
It provides a framework for active corpus selection that reduces label collection cost, proves optimal budget allocation for positive retrieval, introduces linearization and adversarial training for shift-tolerant representations, and demonstrates superior retrieval performance on molecular graphs.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153257)
