Hypencoder: Hypernetworks for Information Retrieval

Existing information retrieval systems are largely constrained by their reliance on vector inner products to assess query-document relevance, which naturally limits the expressiveness of the relevance score they can produce.We propose a new paradigm; instead of representing a query as a vector, we use a small neural network that acts as a learned query-specific relevance function.This small neural network takes a document representation as input (in this work we use a single vector) and produces a scalar relevance score.To produce the small neural network we use a hypernetwork, a network that produces the weights of other networks, as our query encoder.We name this category of encoder models Hypencoders.Experiments on in-domain search tasks show that Hypencoders significantly outperform strong dense retrieval models and even surpass reranking models and retrieval models with an order of magnitude more parameters.To assess the extent of Hypencoders' capabilities, we evaluate on a set of hard retrieval tasks including tipof-the-tongue and instruction-following retrieval tasks.On harder tasks, we find that the performance gap widens substantially compared to standard retrieval tasks.Furthermore, to demonstrate the practicality of our method, we implement an approximate search algorithm and show that our model is able to retrieve from a corpus of 8.8M documents in under 60 milliseconds.

Authors

Institutions

Publication Details

Published
2025-07-13
DOI
https://doi.org/10.1145/3726302.3729983
Citations
3
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hypencoder: Hypernetworks for Information Retrieval

Hansi Zeng, Julian Killingback, Hamed Zamani
3 citations
Topic Modeling
7.44
article

Hypencoder: Hypernetworks for Information Retrieval

Hansi Zeng, Julian Killingback, Hamed Zamani
article en
3 citations

Abstract

Existing information retrieval systems are largely constrained by their reliance on vector inner products to assess query-document relevance, which naturally limits the expressiveness of the relevance score they can produce.We propose a new paradigm; instead of representing a query as a vector, we use a small neural network that acts as a learned query-specific relevance function.This small neural network takes a document representation as input (in this work we use a single vector) and produces a scalar relevance score.To produce the small neural network we use a hypernetwork, a network that produces the weights of other networks, as our query encoder.We name this category of encoder models Hypencoders.Experiments on in-domain search tasks show that Hypencoders significantly outperform strong dense retrieval models and even surpass reranking models and retrieval models with an order of magnitude more parameters.To assess the extent of Hypencoders' capabilities, we evaluate on a set of hard retrieval tasks including tipof-the-tongue and instruction-following retrieval tasks.On harder tasks, we find that the performance gap widens substantially compared to standard retrieval tasks.Furthermore, to demonstrate the practicality of our method, we implement an approximate search algorithm and show that our model is able to retrieve from a corpus of 8.8M documents in under 60 milliseconds.

University of Massachusetts Amherst (US)
National Science Foundation, Office of Naval Research
Openalex Percentile: Top 3%
Topic Modeling
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Hypencoder: Hypernetworks for Information Retrieval — Hansi Zeng, Julian Killingback, et al. · (2025) | TGRS Research Map | TGRS