# Kernel Affine Hull Machines as Compute-Efficient Encoders for Frozen Semantic Spaces

Source: [Kernel Affine Hull Machines as Compute-Efficient Encoders for Frozen Semantic Spaces](<https://www.sota2.com/research/paper/69facae7c0f56ed84308a223>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-10T05:00:46.690Z

Authors: Mohit Kumar, Somayeh Kargaran, Bernhard A. Moser, Manuela Gei{\\ss}

Published: 2026-05-01T17:46:26.000Z

## Abstract

Transformer-based semantic encoders are effective for retrieval, but in many deployments the recurring bottleneck is online query encoding rather than offline corpus indexing. This paper studies whether, once a strong teacher representation space and corpus index are fixed, repeated neural query encoding can be replaced by a substantially lighter and analytically explicit estimator. We formulate fixed-teacher lexical-to-semantic encoding as a conditional-mean estimation problem in which the target semantic vector is represented as a noisy mixture of semantic prototypes weighted by posterior cluster probabilities. Kernel Affine Hull Machine (KAHM) geometry is used to estimate these posterior weights from inexpensive lexical features in an explicitly identified RKHS hypothesis space, and the semantic prototypes are refined by normalized least-mean-squares updates from noisy teacher embeddings. This yields a backpropagation-free query-side encoder together with an end-to-end error decomposition into posterior-approximation, finite-sample/generalization, and teacher-noise terms. We instantiate the approach on a controlled Austrian-law retrieval benchmark with 5,000 test queries, 84 candidate laws, and 10,762 aligned retrieval units, using law-specific encoders into a frozen Mixedbread embedding space. Among evaluation-matched learned adapters, KAHM achieves the strongest teacher-space reconstruction and the best rank-sensitive retrieval performance at all evaluated cutoffs. At k=20, it obtains MRR@20 = 0.504, Hit@20 = 0.694, and Top-1 Accuracy = 0.411, while reducing online per-query time by 8.53 relative to direct transformer query encoding in the reported CPU setting. The results support KAHMs as compute-efficient encoders for supervised fixed-representation deployment regimes.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Law Retrieval on Austrian-law 5,000-query (test)](<https://www.sota2.com/research/sota/law-retrieval-on-austrian-law-5-000-query-test.md>): Law Retrieval; Austrian-law 5,000-query (test); Top-1 Accuracy: 0.411.

- [Law-level retrieval on Austrian-law](<https://www.sota2.com/research/sota/law-level-retrieval-on-austrian-law.md>): Law-level retrieval; Austrian-law; Mean Consensus Fraction: 37.8.

- [Law-level Retrieval on Austrian-law (test)](<https://www.sota2.com/research/sota/law-level-retrieval-on-austrian-law-test.md>): Law-level retrieval; Austrian-law (test); Majority Accuracy: 43.6.

- [Law-level retrieval on Austrian-law benchmark (test)](<https://www.sota2.com/research/sota/law-level-retrieval-on-austrian-law-benchmark-test.md>): Law-level retrieval; Austrian-law benchmark (test); Mean Lift (Prior): 67.163.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2605.02950>)

[PDF](<https://arxiv.org/pdf/2605.02950.pdf>)
